/* Shared by every page: tokens, header and footer, copied from the dashboard prototype (web/template.html).
   Light by default; dark when the computer is in dark mode. */
:root {
  --lit:linear-gradient(90deg,#14b8a6,#2dd4bf 55%,#5eead4);
  --sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  --mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  --hero-bg:radial-gradient(900px 420px at 88% -12%, rgba(20,184,166,.20), transparent 62%),
            radial-gradient(520px 320px at 4% 118%, rgba(45,212,191,.12), transparent 70%),
            linear-gradient(158deg,#ffffff 0%,#f1f7f9 58%,#e6f4f2 100%);
  --hero-ink:#0f172a; --hero-text:#334155;
  --hero-em:linear-gradient(90deg,#0f766e,#0d9488 60%,#14b8a6);
  --bg:#f8fafc; --card:#ffffff; --ink:#0f172a; --text:#1e293b; --muted:#5a6b86;
  --rule:#e3e9f2; --frame:#dbe3ee; --teal:#0d9488; --teal-ink:#0f766e; --teal-bright:#0f766e; --teal-soft:#d9f3ef;
  --amber-ink:#b45309; --amber-soft:#fef3c7; --panel:#eef2f7;
  --red-ink:#b91c1c; --red-soft:#fee2e2; --on-teal:#ffffff;
  --shadow:0 1px 2px rgba(11,16,32,.05), 0 10px 28px rgba(11,16,32,.07);
  color-scheme:light;
}
@media (prefers-color-scheme: dark) { :root {
  --bg:#0b1020; --card:#182240; --ink:#eef2ff; --text:#dbe4f7; --muted:#93a3c8;
  --rule:#243357; --frame:#2c3e6e; --teal:#14b8a6; --teal-ink:#2dd4bf; --teal-bright:#5eead4; --teal-soft:#123a45;
  --amber-ink:#fbbf24; --amber-soft:#3a2f12; --panel:#101830;
  --red-ink:#fca5a5; --red-soft:#3b1620; --on-teal:#04201d;
  --shadow:0 12px 30px rgba(0,0,0,.28);
  --hero-bg:radial-gradient(900px 420px at 88% -12%, rgba(20,184,166,.42), transparent 62%),
            radial-gradient(520px 320px at 4% 118%, rgba(45,212,191,.16), transparent 70%),
            linear-gradient(158deg,#0b1020 0%,#111b3d 58%,#16264f 100%);
  --hero-ink:#ffffff; --hero-text:#c5d1ec;
  --hero-em:var(--lit);
  color-scheme:dark;
} }
* { box-sizing:border-box; }
html { height:100%; }
body { margin:0; min-height:100%; display:flex; flex-direction:column; background:var(--bg); color:var(--text);
  font-family:var(--sans); font-size:15.5px; line-height:1.6; }
a { color:var(--teal-ink); text-underline-offset:2px; }
a:focus-visible, button:focus-visible { outline:2px solid var(--teal); outline-offset:2px; }
[hidden] { display:none !important; }
.wrap { width:100%; max-width:1080px; margin:0 auto; padding:0 max(18px,env(safe-area-inset-right)) 0 max(18px,env(safe-area-inset-left)); }

.site-hdr { position:sticky; top:0; z-index:20; background:var(--card); border-top:3px solid var(--teal); border-bottom:1px solid var(--frame);
  box-shadow:0 2px 8px rgba(0,0,0,.08); }
.tn-in { max-width:1400px; margin:0 auto; padding:9px 18px; display:flex; flex-wrap:wrap; align-items:center; gap:8px 10px; }
.brand { display:flex; align-items:center; gap:11px; min-width:0; color:var(--ink); text-decoration:none; }
.tn-name { font-weight:800; font-size:1.12rem; letter-spacing:-.02em; line-height:1.2; }
.brandmark { width:32px; height:32px; flex:none; fill:none; stroke:var(--teal); stroke-width:5; stroke-linecap:round; stroke-linejoin:round; }
.hdr-right { margin-left:auto; display:flex; align-items:center; gap:10px; flex:none; }
.signlabel { font-size:.84rem; font-weight:600; color:var(--muted); white-space:nowrap; }
.signbtn { font-weight:800; font-size:.88rem; color:#fff; background:var(--teal); text-decoration:none; border-radius:999px;
  padding:7px 18px; white-space:nowrap; box-shadow:0 4px 12px rgba(13,148,136,.3); }
.signbtn:hover, .bigbtn:hover { filter:brightness(1.08); }

.hero { flex:1; position:relative; display:flex; align-items:center; color:var(--hero-text); padding:64px 0 70px; background:var(--hero-bg); }
.hero::after { content:""; position:absolute; left:0; right:0; bottom:0; height:4px; background:var(--lit); }
.hero h1 { margin:0 0 10px; max-width:24ch; color:var(--hero-ink); font-weight:800; font-size:clamp(1.8rem,1rem + 3.4vw,3.2rem);
  line-height:1.1; letter-spacing:-.03em; text-wrap:balance; }
.hero h1 em { font-style:normal; background:var(--hero-em); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero p { margin:14px 0 0; max-width:58ch; font-size:1.08rem; }
.herocta { margin-top:22px !important; }
.bigbtn { display:inline-block; font-weight:800; font-size:1.05rem; color:#fff; background:var(--teal); text-decoration:none;
  border-radius:999px; padding:13px 28px; box-shadow:0 8px 22px rgba(13,148,136,.35); }

.site-foot { border-top:1px solid var(--rule); padding:16px 0 28px; font-size:.8rem; color:var(--muted); }

@media (max-width:640px) { body { font-size:15px; } .site-hdr .brand { flex:1 1 100%; } .tn-name { font-size:1rem; } .hero { padding:44px 0 46px; } }
@media (max-width:400px) { .signlabel { display:none; } }
