/* extro.site: what every page shares. The tokens (light only: the founder, November 24, 2026), the wordmark, the header, the download pill and the footer. Loaded first; home.css adds the home page, and the .doc rules at the end set the Support, Privacy and Terms pages. */
:root{
  --bg:#ffffff; --band:#f5f5f7; --ink:#1d1d1f; --soft:#6e6e73; --line:#d2d2d7; --card:#ffffff;
  --pub:linear-gradient(90deg,#F26A1A,#A06A92,#4A72E2); /* Extro 2.0's public gradient, on light */
  --sans:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Helvetica Neue",Arial,sans-serif;
  --serif:"Times New Roman",Times,serif;
  --anon:linear-gradient(90deg,#3D5FB8,#D45F8C); /* 2.0's anonymous gradient */ --sf:var(--sans);
  --dim:rgba(29,29,31,.6); --field:#ffffff; --rule:rgba(29,29,31,.1); --dotc:#9a9aa3;
  --cardshadow:0 1px 2px rgba(0,0,0,.06),0 6px 18px rgba(0,0,0,.05); --glowop:0;
  --ease:cubic-bezier(.2,.8,.2,1); --t:380ms; color-scheme:light;
}
body{background:var(--bg);color:var(--ink);font-family:var(--sans);margin:0;-webkit-font-smoothing:antialiased}
.in{max-width:1080px;margin:0 auto;padding-left:max(20px,env(safe-area-inset-left,0px));padding-right:max(20px,env(safe-area-inset-right,0px))}

/* The wordmark: Times New Roman, italic x; the underline is exactly the word's width. */
.wm{display:inline-flex;flex-direction:row;align-items:center;gap:.28em;line-height:1;color:var(--ink);text-decoration:none}
/* The logo before the word (Extro 2.0: the orbits, thin lines at full strength). */
.wm .mk{width:1em;height:1em;flex:none;overflow:visible}
.wm span{font-family:var(--serif);letter-spacing:.015em}
.wm i{font-style:italic}
a.wm:focus-visible{outline:2px solid var(--ink);outline-offset:5px;border-radius:6px}

/* Every page measures its rows the same way (padding inside the width), so the header and footer line up identically on every page. */
*,*::before,*::after{box-sizing:border-box}

/* Header: the wordmark left, the pages centred (the current one marked), the download pill right. */
header{position:sticky;top:env(safe-area-inset-top,0px);z-index:5;background:var(--bg);border-bottom:1px solid var(--line)}
body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);z-index:10;background:var(--bg)}
header>.in{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;height:64px;max-width:1180px}
header .wm{justify-self:start}
header .wm span{font-size:30px}
header .wm .mk{width:30px;height:30px}
header nav{display:flex;gap:36px;font-size:14.5px;letter-spacing:-.005em}
header nav a{color:var(--ink);text-decoration:none;opacity:.72;transition:opacity .2s;border-radius:4px}
header nav a:hover,header nav a:focus-visible{opacity:1}
header nav a:focus-visible{outline:2px solid var(--ink);outline-offset:5px}
header nav a[aria-current="page"]{opacity:1;font-weight:600}
@media (max-width:1100px){header nav{gap:26px}}
/* Phones: the pages behind a menu button beside the download pill, the same on every page. */
.menu{display:none;width:44px;height:44px;margin-left:6px;margin-right:-10px;border:0;background:none;border-radius:10px;cursor:pointer;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:var(--ink)}
.menu i{display:block;width:20px;height:1.75px;border-radius:2px;background:currentColor;transition:transform .25s var(--ease)}
.menu:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
header.open .menu i:first-child{transform:translateY(3.9px) rotate(45deg)}
header.open .menu i:last-child{transform:translateY(-3.9px) rotate(-45deg)}
@media (max-width:820px){
  header>.in{grid-template-columns:1fr auto auto}
  .menu{display:flex}
  header nav{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;gap:0;padding:6px max(20px,env(safe-area-inset-left,0px)) 14px;background:var(--bg);border-bottom:1px solid var(--line);font-size:17px}
  header nav a{padding:13px 0;opacity:.8}
  header.open nav{display:flex}
}

/* The download pill: the public gradient with its glow. */
.gbtn{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:var(--pub);color:#fff;font:600 17px/1.25 var(--sf);letter-spacing:-.01em;padding:15px 28px;text-decoration:none;white-space:nowrap;box-shadow:-10px 6px 26px -8px rgba(242,106,26,.55),10px 6px 26px -8px rgba(74,114,226,.55);transition:box-shadow .3s var(--ease)}
.gbtn:hover{box-shadow:-10px 6px 30px -6px rgba(242,106,26,.7),10px 6px 30px -6px rgba(74,114,226,.7)}
.gbtn:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.gbtn.sm{justify-self:end;font-size:13.5px;padding:8px 16px;box-shadow:-6px 3px 16px -6px rgba(242,106,26,.5),6px 3px 16px -6px rgba(74,114,226,.5)}
.gbtn .sh{display:none}
@media (max-width:900px){.gbtn.sm .lg{display:none}.gbtn.sm .sh{display:inline}}

/* Footer: one compact row, the same width as the header. */
footer{border-top:1px solid var(--line);font-size:13px;color:var(--soft)}
footer>.in{max-width:1180px;min-height:60px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 24px;padding-block:10px}
footer .wm span{font-size:18px}
footer .wm .mk{width:18px;height:18px}
footer nav{display:flex;flex-wrap:wrap;gap:8px 20px}
footer a{color:var(--soft);text-decoration:none;border-radius:3px}
footer a:hover{color:var(--ink)}
footer a:focus-visible{color:var(--ink);outline:2px solid var(--ink);outline-offset:3px}
.sel{user-select:all}
@media (max-width:900px){footer>.in{justify-content:center;text-align:center}}

/* Support, Privacy and Terms: one reading column. On a phone their pages sit in a second row of the header. */
.doc main{max-width:720px;margin:0 auto;padding:32px max(20px,env(safe-area-inset-left,0px)) 72px;font-size:17px;line-height:1.55}
.doc h1{font-size:clamp(30px,5vw,40px);font-weight:600;letter-spacing:-.02em;line-height:1.15;margin:24px 0 8px}
.doc h2{font-size:21px;font-weight:600;letter-spacing:-.012em;line-height:1.3;margin:36px 0 8px}
.doc p,.doc li{color:var(--ink);margin:0 0 14px}
.doc ul{padding-left:22px;margin:0 0 14px}
.doc li{margin-bottom:8px}
.doc .meta{font-size:15px;color:var(--soft)}
.doc main a{color:var(--ink);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.doc main a:hover{text-decoration-thickness:2px}
.doc main a:focus-visible{outline:2px solid var(--ink);outline-offset:3px;border-radius:3px}
}

/* Short pages (Support): the footer sits at the bottom of the screen, not halfway up. */
body.doc{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
body.doc main{flex:1 0 auto;width:100%;box-sizing:border-box;min-height:calc(100vh - 64px);min-height:calc(100dvh - 64px)}  /* the footer starts just below the first screen, never inside it */

/* Crisp, clean white (the founder, November 23, 2026: "not so murky or shadowy"): Extro 2.0's way, crisp before warm,
   no glows; the download pill flat, with only a hairline of shadow. */
/* The download button, the same on every page (the founder, November 23, 2026): Extro's blue (the logo's centre), flat. */
.gbtn,.gbtn.sm,.gbtn:hover{background:#4A62A0;color:#fff;box-shadow:none}
.gbtn:hover{background:#3F5590}
