/* TRYB tool theme: reskins the original white-style TRYB tools in the dark TRYB brand.
   Loaded by each tool with:
   <link rel="stylesheet" href="https://start.trybcoaching.co.uk/assets/tryb-tool-theme.css">
   <script src="https://start.trybcoaching.co.uk/assets/tryb-tool-theme.js"></script>          */
@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:wght@800;900&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@500&display=swap");
:root{--tryb-bg:#050505;--tryb-ink:#fff;--tryb-muted:#8C8C8C;--tryb-hair:rgba(255,255,255,.10)}
html{background:#050505 !important;color-scheme:dark}
html body{background:transparent !important;font-family:Inter,system-ui,sans-serif !important;-webkit-font-smoothing:antialiased}
html.tryb-theming body{opacity:0}
html.tryb-themed body{opacity:1;transition:opacity .3s ease}
html::before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;
  background:radial-gradient(900px 600px at 8% -10%,rgba(255,255,255,.10),transparent 60%),linear-gradient(125deg,transparent 38%,rgba(255,255,255,.035) 46%,transparent 54%)}
#tryb-bg{position:fixed;inset:0;width:100vw;height:100vh;z-index:-1;pointer-events:none;display:block}
.tryb-sweep{position:fixed;inset:-20% -40%;z-index:-1;pointer-events:none;
  background:linear-gradient(125deg,transparent 44%,rgba(255,255,255,.05) 49%,rgba(255,255,255,.08) 50%,rgba(255,255,255,.05) 51%,transparent 56%);animation:tryb-sweep 11s cubic-bezier(.65,0,.35,1) infinite}
@keyframes tryb-sweep{0%{transform:translateX(-55%)}55%,100%{transform:translateX(55%)}}
.tryb-mark{position:fixed;right:-8vw;bottom:-14vh;width:62vw;max-width:900px;z-index:-1;pointer-events:none;opacity:.035}
.tryb-grain{position:fixed;inset:-50%;pointer-events:none;z-index:2147483000;opacity:.05;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");animation:tryb-grain 1.2s steps(6) infinite}
@keyframes tryb-grain{0%,100%{transform:translate(0,0)}25%{transform:translate(-3%,2%)}50%{transform:translate(2%,-3%)}75%{transform:translate(-2%,-1%)}}
html h1{font-family:"Inter Tight",Inter,sans-serif !important;font-weight:900 !important;letter-spacing:-.045em !important}
html h2,html h3{font-family:"Inter Tight",Inter,sans-serif !important;letter-spacing:-.035em !important}
html input,html select,html textarea{background-color:rgba(255,255,255,.04) !important;color:#fff !important;border-color:rgba(255,255,255,.14) !important;color-scheme:dark}
html input:focus,html select:focus,html textarea:focus{border-color:rgba(255,255,255,.7) !important;outline:none !important;box-shadow:none !important}
html option{background:#111 !important;color:#fff !important}
html ::placeholder{color:#666 !important;opacity:1}
html input[type=range],html input[type=checkbox],html input[type=radio]{accent-color:#fff}
html ::selection{background:#fff;color:#050505}
html a{text-underline-offset:3px}
.tryb-logo-img{height:.82em;min-height:16px;max-height:44px;width:auto;display:inline-block;vertical-align:middle}
img.tryb-logo-done{width:auto !important;object-fit:contain}
/* primary actions are solid white with black text, as in the TRYB brand */
html .gate-btn,html .btn-primary,html .primary-btn,html [class*="cta"]:is(button,a),html button[type=submit],html input[type=submit]{background:#fff !important;color:#050505 !important;border-color:#fff !important}
@media (prefers-reduced-motion:reduce){.tryb-sweep,.tryb-grain{animation:none}}
@media print{
  #tryb-bg,.tryb-sweep,.tryb-mark,.tryb-grain,html::before{display:none !important}
  html,html body{background:#fff !important}
  html body *{color:#000 !important;background:transparent !important;border-color:#bbb !important;box-shadow:none !important}
  .tryb-logo-img{filter:invert(1)}
}
