/* Gloss website. The locked brand (BRAND-1, Oct 3 2026): Cherry, Ink, Cream, Blush, Deep cherry.
   Light is Cream, dark is Ink, following the visitor's system setting. Unbounded Black for the
   wordmark and big headlines only; Instrument Sans for everything else. Both fonts are self hosted
   (site/src/static/fonts), so the site makes no request to any other company.
   Contrast: every text pair passes 4.5:1. Ink on Cherry #E5243B is 4.40:1, so blocks and buttons
   that carry text use --cherryBlock #E92C42 (4.64:1). See DECISIONS-BRAND1.md. */
@font-face{font-family:"Unbounded";font-style:normal;font-weight:900;font-display:swap;src:url(/fonts/unbounded-900.woff2) format("woff2")}
@font-face{font-family:"Instrument Sans";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/instrument-sans-400.woff2) format("woff2")}
@font-face{font-family:"Instrument Sans";font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/instrument-sans-600.woff2) format("woff2")}
@font-face{font-family:"Instrument Sans";font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/instrument-sans-700.woff2) format("woff2")}

:root{
  /* brand constants (same in both themes) */
  --cherry:#E5243B;--cherryBlock:#E92C42;--ink:#12060A;--cream:#FFF1F2;--blush:#FF8FA0;--deep:#8C0F22;
  --inkCard:#231219;--inkCard2:#2E1219;--inkMut:#C9A3AB;
  --creamCard:#FFFFFF;--creamMut:#6E4A52;--creamPill:#FFD6DC;
  /* theme: light (Cream) */
  --bg:var(--cream);--s0:#FFE3E7;--s1:#FFFFFF;--s2:#FFE3E7;
  --text:var(--ink);--text2:#4A2E35;--mut:#6E4A52;
  --line:#F2CDD3;--line2:#E5B3BC;--pill:#FFE3E7;--pillT:#4A2E35;
  --link:var(--deep);--focus:var(--ink);
  --noteBg:#FFE3E7;--noteLine:#E5B3BC;--noteText:#5A1520;
  --errBg:#FFE3E7;--errLine:var(--deep);--errText:var(--deep);
  --ui:"Instrument Sans",-apple-system,system-ui,"Segoe UI",Roboto,sans-serif;
  --display:"Unbounded","Instrument Sans",system-ui,sans-serif;
  color-scheme:light;
}
@media (prefers-color-scheme: dark){:root{
  --bg:var(--ink);--s0:#1A0B10;--s1:var(--inkCard);--s2:var(--inkCard2);
  --text:var(--cream);--text2:#E9C9CF;--mut:var(--inkMut);
  --line:#3A1620;--line2:#55212C;--pill:var(--inkCard2);--pillT:#E9C9CF;
  --link:var(--blush);--focus:var(--blush);
  --noteBg:#2E1219;--noteLine:#55212C;--noteText:#FFD6DC;
  --errBg:#2E1219;--errLine:var(--blush);--errText:#FFD6DC;
  color-scheme:dark;
}}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--text);font:17px/1.55 var(--ui);-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:var(--link);text-underline-offset:3px;text-decoration-thickness:1.5px}
a:hover{text-decoration-thickness:3px}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px;border-radius:6px}
img{max-width:100%;height:auto;display:block}
.skip{position:absolute;left:-9999px;top:8px;background:var(--ink);color:var(--cream);padding:10px 14px;border-radius:10px;font-weight:700;z-index:10}
.skip:focus{left:16px}
.wrap{max-width:1120px;margin:0 auto;padding:0 24px}
.narrow{max-width:780px}

/* wordmark: the mark plus lowercase "gloss" in Unbounded Black */
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--text);min-height:44px}
.brand img{width:36px;height:36px;border-radius:9px}
.brand span{font-family:var(--display);font-weight:900;font-size:26px;letter-spacing:-1px;line-height:1}

/* header */
.top{border-bottom:2px solid var(--text);background:var(--bg)}
.top .wrap{display:flex;align-items:center;gap:16px;min-height:68px;flex-wrap:wrap}
.nav{display:flex;gap:2px;margin-left:auto;flex-wrap:wrap}
.nav a{color:var(--text);text-decoration:none;font-size:16px;font-weight:600;padding:10px 12px;border-radius:999px;min-height:44px;display:flex;align-items:center}
.nav a:hover{background:var(--pill)}
.nav a[aria-current="page"]{background:var(--text);color:var(--bg)}

main{display:block;padding-bottom:64px}

/* draft banner on every legal page */
.draft{margin:24px 0 0;padding:12px 16px;border:2px solid var(--errLine);background:var(--noteBg);color:var(--noteText);border-radius:14px;font-weight:700}

/* type: Unbounded only for h1 and big headlines */
h1{font-family:var(--display);font-weight:900;font-size:40px;line-height:1.08;letter-spacing:-1.2px;margin:36px 0 14px;color:var(--text)}
h2{font-size:26px;line-height:1.25;font-weight:700;margin:40px 0 10px;color:var(--text)}
h3{font-size:20px;line-height:1.3;font-weight:700;margin:28px 0 8px;color:var(--text)}
h4{font-size:17px;font-weight:700;margin:22px 0 6px}
p,li{color:var(--text2)}
p{margin:0 0 14px}
strong{color:var(--text)}
ul,ol{padding-left:22px;margin:0 0 14px}
li{margin:4px 0}
code{font:15px ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;background:var(--pill);color:var(--pillT);padding:1px 6px;border-radius:6px;overflow-wrap:anywhere}
pre{background:var(--s1);border:1px solid var(--line);border-radius:14px;padding:14px 16px;overflow-x:auto}
pre code{background:none;padding:0}
blockquote{margin:0 0 14px;padding:4px 0 4px 16px;border-left:4px solid var(--cherry)}
hr{border:0;border-top:2px solid var(--line);margin:32px 0}
.lede{font-size:20px;color:var(--text2);max-width:660px}
.mut{color:var(--mut)}
.small{font-size:15px}
.sh{font-size:14px;color:var(--mut);text-transform:uppercase;letter-spacing:1.2px;font-weight:700;margin:40px 0 10px}
.table{overflow-x:auto;margin:0 0 16px;border:1px solid var(--line);border-radius:14px}
table{border-collapse:collapse;width:100%;font-size:16px}
th,td{text-align:left;vertical-align:top;padding:10px 12px;border-top:1px solid var(--line)}
thead th{border-top:0;background:var(--s1);color:var(--text);font-weight:700}
td{color:var(--text2)}

/* hairline rows: plans, help topics, contacts */
.rows{background:var(--s1);border-radius:16px;overflow:hidden;margin:0 0 16px;padding:0;list-style:none}
.rows>li,.rows>a{display:flex;gap:14px;align-items:center;padding:14px 18px;min-height:56px;border-top:1px solid var(--line);margin:0;color:var(--text);text-decoration:none}
.rows>li:first-child,.rows>a:first-child{border-top:0}
.rows>a:hover{background:var(--s2)}
.rows .g{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.rows .t{font-size:17px;color:var(--text);font-weight:600}
.rows .s{font-size:15px;color:var(--mut)}
.rows .price{font-size:18px;font-weight:700;color:var(--text);font-variant-numeric:tabular-nums;white-space:nowrap;text-align:right}
.rows .price small{display:block;font-size:14px;font-weight:400;color:var(--mut)}
.rows .chev{color:var(--mut);font-size:22px}

/* buttons: hard color, no gradients */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:56px;padding:0 26px;border-radius:999px;border:0;background:var(--text);color:var(--bg);font:700 18px var(--ui);text-decoration:none;cursor:pointer}
.btn:hover{text-decoration:underline}
.btn.d{background:var(--s1);color:var(--text);border:2px solid var(--text)}
.soon{display:inline-flex;flex-direction:column;justify-content:center;min-height:52px;padding:6px 18px;border-radius:16px;border:2px dashed var(--line2);background:var(--s1);color:var(--text)}
.soon b{font-size:16px}
.soon span{font-size:14px;color:var(--mut)}

/* forms */
form.wl{display:flex;flex-direction:column;gap:12px;max-width:540px}
label{color:var(--text);font-weight:600}
input[type=email]{min-height:56px;border-radius:14px;background:var(--s1);border:2px solid var(--line2);color:var(--text);padding:0 16px;font:18px var(--ui);width:100%}
input[type=email]:focus-visible{border-color:var(--text)}
.check{display:flex;gap:12px;align-items:flex-start;color:var(--text2);font-weight:400;font-size:16px}
.check input{width:24px;height:24px;margin:1px 0 0;flex:none;accent-color:var(--ink)}
.hint{font-size:15px;color:var(--mut);margin:-4px 0 0}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.note{padding:12px 16px;border-radius:14px;background:var(--noteBg);border:2px solid var(--noteLine);color:var(--noteText)}
.note.err{background:var(--errBg);border-color:var(--errLine);color:var(--errText)}
.note.err::before{content:"Not sent: ";font-weight:700}

/* legal and help pages */
.doc h1{margin-top:22px}
.toc{border:2px solid var(--line);border-radius:16px;padding:14px 18px;margin:20px 0 28px;background:var(--s1)}
.toc p{margin:0 0 6px;font-weight:700;color:var(--text)}
.toc ol{margin:0}
.crumb{margin:24px 0 0;font-size:15px}

/* footer: a hard ink block in both themes */
footer{background:var(--ink);color:var(--cream);padding:32px 0 40px;font-size:15px}
footer .cols{display:flex;gap:28px;flex-wrap:wrap;justify-content:space-between}
footer .brand{color:var(--cream)}
footer nav{display:flex;flex-wrap:wrap;gap:4px}
footer nav a{color:var(--cream);padding:10px 8px;min-height:44px;display:inline-flex;align-items:center}
footer p{color:var(--inkMut);margin:6px 0 0}
footer a{color:var(--blush)}
footer .tag{font-family:var(--display);font-weight:900;font-size:20px;letter-spacing:-.5px;color:var(--cream);margin:14px 0 4px;line-height:1.2}

/* ---------- homepage: the approved design (SITE-MOCKUP-desktop.html / -phone.html, Oct 3) ----------
   Fixed colors in both themes, as in the mockup. Contrast changes from the mockup (all recorded in
   DECISIONS-BRAND1.md): hero red #E5243B -> #E92C42 (ink text 4.64:1); nav links #8C0F22 -> ink
   (2.11:1 on red); hero note #3A0A12 -> ink; cream on cherry -> white on #E5243B (4.52:1). */
.home{background:#FFF1F2;color:#12060A;font-family:var(--ui)}
.home .skip{background:#12060A;color:#FFF1F2}
.hp-wrap{max-width:1120px;margin:0 auto}
.home a{color:#8C0F22}
.home a:hover{color:#12060A}
.home :focus-visible{outline:3px solid #12060A;outline-offset:3px}
.hp-hero{background:#E92C42;padding:28px 6% 0;overflow:hidden}
.hp-hero .hp-wrap{display:flex;flex-direction:column;gap:56px}
.hp-top{display:flex;justify-content:space-between;align-items:center;gap:16px}
.hp-brand{display:flex;align-items:center;gap:10px;text-decoration:none;min-height:44px}
.home .hp-brand{color:#12060A}
.hp-brand img{width:40px;height:40px;border-radius:9px}
.hp-brand span{font-family:var(--display);font-weight:900;font-size:26px;letter-spacing:-.04em;line-height:1}
.hp-nav{display:flex;gap:28px;font-size:15px}
.home .hp-nav a{color:#12060A;text-decoration:none;min-height:44px;display:inline-flex;align-items:center}
.home .hp-nav a:hover{text-decoration:underline}
.hp-heroRow{display:flex;flex-wrap:wrap;gap:56px;align-items:flex-end}
.hp-heroText{flex:1 1 480px;display:flex;flex-direction:column;gap:24px;padding-bottom:88px;min-width:0}
.hp-heroText h1{margin:0;font-family:var(--display);font-weight:900;font-size:72px;line-height:.98;letter-spacing:-.045em;color:#12060A}
.hp-lead{margin:0;font-size:20px;line-height:1.5;color:#12060A;max-width:500px}
.hp-note{margin:0;font-size:14px;color:#12060A}
.hp-heroCard{flex:1 1 380px;display:flex;justify-content:center;padding-bottom:72px;min-width:0}
.hc-stack{display:flex;flex-direction:column;gap:14px;width:380px;max-width:100%}
.hc{background:#FFFFFF;border-radius:20px;padding:16px 18px;box-shadow:0 18px 40px rgba(18,6,10,.22);display:flex;flex-direction:column;gap:6px;color:#12060A}
.hc-k{font-size:11px;font-weight:600;letter-spacing:.08em;color:#8C0F22}
.hc-tutor{font-size:15px;line-height:1.45}
.hc-need{font-size:20px;font-weight:600}
.hc-mail{font-size:16px;font-weight:600}
.hc-s{font-size:12px;color:#6E4A52}

/* app screen cards (illustrations, made up classes) */
.scr{width:360px;max-width:100%;box-sizing:border-box;background:#FFF1F2;border:1px solid #F1C9CF;border-radius:28px;padding:22px 18px;display:flex;flex-direction:column;gap:10px;box-shadow:0 24px 60px rgba(18,6,10,.18);color:#12060A}
.scr-k{font-size:12px;color:#6E4A52}
.scr-t{font-family:var(--display);font-weight:900;font-size:26px;letter-spacing:-.03em;color:#12060A;line-height:1.15}
.scr-next{background:#12060A;color:#FFF1F2;border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:3px}
.scr-cap{font-size:11px;font-weight:600;letter-spacing:.08em;color:#F3D9DD}
.scr-big{font-size:17px;font-weight:600}
.scr-sub,.scr-ds{font-size:12px;color:#C9A9AF}
.scr-sec{font-size:11px;font-weight:600;letter-spacing:.08em;color:#6E4A52;margin-top:4px}
.scr-row{background:#FFFFFF;border-radius:14px;padding:12px 14px;display:flex;justify-content:space-between;align-items:center;gap:10px}
.scr-row>div:first-child{display:flex;flex-direction:column;gap:3px;min-width:0}
.scr-rt{font-size:15px;font-weight:600;color:#12060A}
.scr-rs{font-size:12px;color:#6E4A52}
.pl{font-size:12px;font-weight:600;background:#F3D9DD;color:#12060A;border-radius:999px;padding:4px 10px;white-space:nowrap;flex:none}
.pl-red{background:#E5243B;color:#FFFFFF}
.scr-box{background:#FFFFFF;border-radius:14px;padding:14px}
.scr-mail{font-size:13px;line-height:1.55;color:#6E4A52}
.scr-hl{background:#E5243B;color:#FFFFFF;padding:1px 6px;border-radius:5px;font-weight:600;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.scr-dark{background:#12060A;color:#FFF1F2;border-radius:14px;padding:12px 14px;display:flex;justify-content:space-between;align-items:center;gap:10px}
.scr-dt{font-size:14px;font-weight:600}
.scr-stack{display:flex;flex-direction:column;gap:6px}
.scr-was{font-size:13px;color:#6E4A52}
.scr-when{font-size:20px;font-weight:600;color:#12060A}
.scr-when2{font-size:18px;font-weight:600;color:#12060A}
.scr-chg{font-size:12px;color:#8C0F22}
.scr-foot{font-size:12px;color:#6E4A52}
.scr-ask{align-self:flex-end;background:#E5243B;color:#FFFFFF;border-radius:16px 16px 4px 16px;padding:10px 14px;font-size:13px}
.scr-reply{background:#FFFFFF;border-radius:16px 16px 16px 4px;padding:12px 14px;font-size:13px;line-height:1.5;color:#12060A}
.scr-used{font-size:11px;font-weight:600;color:#8C0F22;margin-bottom:6px}
.scr-src{margin-top:8px;font-size:11px;color:#6E4A52}
.scr-file{background:#12060A;color:#FFF1F2;border-radius:14px;padding:12px 14px;font-size:13px}
.scr-flag{background:#F3D9DD;border-radius:14px;padding:12px 14px;display:flex;flex-direction:column;gap:4px}
.scr-flagT{font-size:12px;font-weight:600;color:#8C0F22}
.scr-flagB{font-size:14px;color:#12060A}
.scr-need{background:#12060A;color:#FFF1F2;border-radius:14px;padding:12px 14px}
.scr-need .scr-big{font-size:18px}

/* feature sections */
.hp-f{padding:88px 6%}
.hp-white{background:#FFFFFF}
.hp-cream{background:#FFF1F2}
.hp-fRow{display:flex;flex-wrap:wrap;gap:64px;align-items:center}
.hp-flip .hp-fText{order:2}
.hp-fText{flex:1 1 380px;display:flex;flex-direction:column;gap:16px;min-width:0}
.hp-fCard{flex:1 1 380px;display:flex;justify-content:center;min-width:0}
.hp-eyebrow{margin:0;font-size:13px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:#8C0F22}
.hp-fText h2{margin:0;font-family:var(--display);font-weight:900;font-size:44px;line-height:1.05;letter-spacing:-.035em;color:#12060A}
.hp-fText p:not(.hp-eyebrow){margin:0;font-size:19px;line-height:1.55;color:#5A2A33;max-width:440px}

/* early access form (hero = light field + ink button; dark = the black section) */
.ea{width:100%;max-width:520px}
.ea form{display:flex;flex-direction:column;gap:10px}
.ea-row{display:flex;flex-wrap:wrap;gap:10px}
.ea input[type=email]{flex:1 1 240px;min-height:54px;box-sizing:border-box;border-radius:14px;font:17px var(--ui);padding:0 16px;width:auto}
.ea button{min-height:54px;border-radius:14px;border:none;font:600 17px var(--ui);padding:0 24px;cursor:pointer}
.ea-hero input[type=email]{border:2px solid #12060A;background:#FFFFFF;color:#12060A}
.ea-hero button{background:#12060A;color:#FFF1F2}
.ea-dark input[type=email]{border:2px solid #3A1A22;background:#24101A;color:#FFF1F2}
.ea-dark button{background:#E5243B;color:#FFFFFF}
.ea-consent{display:flex;gap:10px;align-items:flex-start;font-size:14px;line-height:1.4;font-weight:400;min-height:24px}
.ea-consent input{width:22px;height:22px;margin:0;flex:none}
.ea-hero .ea-consent{color:#12060A}
.ea-hero .ea-consent input{accent-color:#12060A}
.ea-dark .ea-consent{color:#D9B3B9;text-align:left}
.ea-dark .ea-consent input{accent-color:#E5243B}
.ea-status{margin:0;padding:10px 14px;border-radius:12px;font-size:15px;font-weight:600}
.ea-status::before{content:"Not sent: "}
.ea-hero .ea-status{background:#FFFFFF;color:#8C0F22;border:2px solid #12060A}
.ea-dark .ea-status{background:#24101A;color:#FFD6DC;border:2px solid #FF8FA0}
.ea-thanks p{margin:0 0 6px}
.ea-thanks-t{font-family:var(--display);font-weight:900;font-size:28px;letter-spacing:-.03em}
.ea-hero .ea-thanks,.ea-hero .ea-thanks p{color:#12060A}
.home .ea-hero .ea-thanks a{color:#12060A;font-weight:600}
.ea-dark .ea-thanks,.ea-dark .ea-thanks p{color:#FFF1F2}
.home .ea-dark .ea-thanks a{color:#FF8FA0;font-weight:600}
.home .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* "Be first in." */
.hp-end{background:#12060A;color:#FFF1F2;padding:96px 6%}
.hp-endIn{display:flex;flex-direction:column;align-items:center;gap:24px;text-align:center}
.hp-endMark{width:72px;height:72px;border-radius:16px}
.hp-end h2{margin:0;font-family:var(--display);font-weight:900;font-size:48px;letter-spacing:-.035em;color:#FFF1F2}
.hp-endSub{margin:0;font-size:18px;color:#D9B3B9}
.hp-end .ea-row{justify-content:center}
.hp-endNav{display:flex;gap:24px;flex-wrap:wrap;justify-content:center;font-size:14px;margin-top:24px}
.home .hp-endNav a{color:#D9B3B9;min-height:44px;display:inline-flex;align-items:center}
.home .hp-end :focus-visible{outline-color:#FF8FA0}

/* phone: one column, exactly like SITE-MOCKUP-phone.html */
@media (max-width: 760px){
  .hp-desk{display:none}
  .hp-hero{padding:20px 20px 40px}
  .hp-hero .hp-wrap{gap:28px}
  .hp-heroRow{flex-direction:column;align-items:stretch;gap:28px}
  .hp-heroText{flex:none;padding-bottom:0;gap:28px}
  .hp-heroText h1{font-size:42px;line-height:1}
  .hp-lead{font-size:17px}
  .hp-brand img{width:34px;height:34px;border-radius:8px}
  .hp-brand span{font-size:22px}
  .hp-heroCard{flex:none;padding-bottom:0;justify-content:flex-start}
  .hc-stack{width:350px}
  .scr{width:350px}
  .hp-f{padding:48px 20px}
  .hp-fRow{flex-direction:column;align-items:stretch;gap:22px}
  .hp-fText{gap:22px}
  .hp-flip .hp-fText{order:0}
  .hp-fText,.hp-fCard{flex:none}
  .hp-fCard{justify-content:flex-start}
  .hp-fText h2{font-size:30px;line-height:1.08;letter-spacing:-.03em}
  .hp-fText p:not(.hp-eyebrow){font-size:17px}
  .hp-end{padding:56px 20px}
  .hp-endIn{align-items:stretch;text-align:left;gap:18px}
  .hp-end h2{font-size:32px;letter-spacing:-.03em}
  .hp-endSub{font-size:16px}
  .ea-dark .ea-row{flex-direction:column}
  .ea-dark input[type=email]{flex:none;width:100%}
}
@media (max-width: 520px){
  .wrap{padding:0 16px}
  h1{font-size:32px}
  .nav{margin-left:0;width:100%}
  .nav a{padding:10px 10px}
  .rows>li{flex-wrap:wrap}
}
@media (prefers-reduced-motion: reduce){*{transition:none!important;animation:none!important}}
.sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
