/* page.css — the reading pages (privacy, support) in the Bright language.
 *
 * The landing page carries its own CSS because it is one long file of bands.
 * These two are prose, so they share a stylesheet: same tokens, same nav, same
 * ink footer, one narrow column in the middle. */

@font-face{font-family:'Schibsted Grotesk';src:url('fonts/schibsted-grotesk-400.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Schibsted Grotesk';src:url('fonts/schibsted-grotesk-500.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'Schibsted Grotesk';src:url('fonts/schibsted-grotesk-700.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'Schibsted Grotesk';src:url('fonts/schibsted-grotesk-800.woff2') format('woff2');font-weight:800;font-style:normal;font-display:swap}

:root{
  --paper:#FAF6EE; --paper2:#F2ECDF; --chalk:#FFFFFF;
  --ink:#16150F; --inkSoft:#5B574B; --mute:#6F6A5C; --line:#E2DBCB;
  --tomato:#E5482F; --tomatoDeep:#C33A22; --blue:#2540C8; --sky:#A6CBE9;
  --mint:#7FC7A6; --butter:#F3C243; --lilac:#BCA9E6;
  --wrap:1160px; --gut:40px; --col:680px;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0; background:var(--paper); color:var(--ink);
  font-family:'Schibsted Grotesk',-apple-system,BlinkMacSystemFont,system-ui,sans-serif;
  font-weight:500; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
}
a{color:var(--blue);text-decoration:none}
a:hover{color:var(--ink)}

.d{font-weight:800;letter-spacing:-0.038em;line-height:0.94;text-wrap:pretty;margin:0}
.n{font-variant-numeric:tabular-nums;font-feature-settings:'tnum';letter-spacing:-0.04em}

.wrap{position:relative;z-index:1;width:100%;max-width:var(--wrap);margin:0 auto;padding:0 var(--gut)}
.col{width:100%;max-width:var(--col);margin:0 auto;padding:0 var(--gut)}

/* ── Nav ──────────────────────────────────────────────────── */
.nav{position:sticky;top:0;z-index:50;background:rgba(250,246,238,0.86);
  -webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);
  border-bottom:1px solid var(--line)}
.nav-in{height:76px;display:flex;align-items:center;gap:36px}
.nav-mark{font-size:26px;letter-spacing:-0.02em;color:var(--ink)}
.nav-spacer{flex:1}
.btn{display:inline-flex;align-items:center;justify-content:center;
  background:var(--ink);color:var(--paper);border:none;border-radius:999px;
  padding:12px 22px;font-family:inherit;font-size:15.5px;font-weight:800;
  letter-spacing:-0.01em;cursor:pointer;transition:transform .15s ease,opacity .15s ease}
.btn:hover{transform:translateY(-2px);color:var(--paper)}
.btn:active{transform:translateY(0);opacity:.85}

/* ── The title band ───────────────────────────────────────── */
.head{position:relative;overflow:hidden;padding:64px 0 56px}
.head--butter{background:var(--butter)}
.head--sky{background:var(--sky)}
.head h1{font-size:clamp(40px,6vw,64px)}
.head .eyebrow{font-size:14px;font-weight:700;margin:0 0 14px}
.head .sub{font-size:clamp(17px,1.8vw,19.5px);font-weight:500;line-height:1.5;
  margin:18px 0 0;max-width:520px}
.head .stamp{font-size:13.5px;font-weight:700;margin:18px 0 0;opacity:.72}
.deco{position:absolute;pointer-events:none;right:-110px;top:-130px;
  width:340px;height:340px;border-radius:50%;border:26px solid rgba(255,255,255,0.36)}

/* ── Prose ────────────────────────────────────────────────── */
.prose{padding:56px 0 24px}
.prose h2{font-family:inherit;font-weight:800;letter-spacing:-0.028em;line-height:1.05;
  font-size:26px;margin:48px 0 12px}
.prose h2:first-child{margin-top:0}
.prose p{font-size:17px;font-weight:500;line-height:1.6;margin:0 0 16px;color:var(--inkSoft)}
.prose strong{color:var(--ink);font-weight:700}
.prose ul{list-style:none;padding:0;margin:0 0 20px}
/* The bullet is positioned rather than a flex item: a list row here starts
   with a bolded lead-in, and flex would split that off into its own column. */
.prose li{position:relative;padding:13px 0 13px 21px;
  border-top:1px solid var(--line);font-size:17px;font-weight:500;line-height:1.55;
  color:var(--inkSoft)}
.prose li::before{content:"";position:absolute;left:0;top:22px;
  width:8px;height:8px;border-radius:50%;background:var(--ink);opacity:.55}
.prose li strong{font-weight:700}

/* A pulled-out passage — the one line on the page worth stopping at. */
.note{background:var(--paper2);border-radius:22px;padding:22px 24px;margin:0 0 24px}
.note p:last-child{margin-bottom:0}

/* ── Support: the mailbox, and the questions ──────────────── */
.mail{display:block;background:var(--ink);color:var(--paper);border-radius:26px;
  padding:26px 28px;margin:0 0 40px;transition:transform .15s ease}
.mail:hover{transform:translateY(-2px);color:var(--paper)}
.mail .k{font-size:13.5px;font-weight:700;color:rgba(250,246,238,0.6);margin:0}
.mail .v{font-size:clamp(24px,3.4vw,30px);margin:8px 0 0;color:var(--paper)}
.mail .t{font-size:14.5px;font-weight:500;color:rgba(250,246,238,0.72);margin:10px 0 0}
.qa{border-top:1px solid var(--line);padding:22px 0}
.qa:last-of-type{border-bottom:1px solid var(--line)}
.qa h3{font-family:inherit;font-weight:800;letter-spacing:-0.02em;font-size:19px;
  line-height:1.25;margin:0 0 8px}
.qa p{margin:0;font-size:16.5px;font-weight:500;line-height:1.55;color:var(--inkSoft)}
.qa p + p{margin-top:10px}

/* ── Footer ───────────────────────────────────────────────── */
.foot{background:var(--ink);color:var(--paper);padding:56px 0 34px;margin-top:64px}
.foot-top{display:flex;gap:56px}
.foot-cols{display:flex;gap:56px}
.foot-brand{flex:1 1 0;min-width:0}
.foot-brand p{font-size:16px;font-weight:500;line-height:1.45;
  color:rgba(250,246,238,0.72);margin:12px 0 0;max-width:280px}
.foot-col{display:flex;flex-direction:column;gap:10px;min-width:132px}
.foot-col h3{font-size:12.5px;font-weight:700;color:rgba(250,246,238,0.56);margin:0}
.foot-col a{font-size:15px;font-weight:700;color:rgba(250,246,238,0.86)}
.foot-col a:hover{color:var(--paper)}
.foot-fine{display:flex;align-items:center;gap:18px;margin-top:38px;padding-top:20px;
  border-top:1px solid rgba(250,246,238,0.16);font-size:13.5px;font-weight:500;
  color:rgba(250,246,238,0.56)}
.foot-fine span:first-child{flex:1}

@media (max-width:900px){
  :root{--gut:24px}
  .head{padding:48px 0 44px}
  .prose{padding:44px 0 16px}
  .deco{width:220px;height:220px;right:-90px;top:-90px;border-width:20px}
}
/* Footer on a phone: the columns were wrapping raggedly against a 56px gap,
   and the two fine-print lines were colliding on one row. */
@media (max-width:900px){
  .foot{padding:44px 0 30px}
  .foot-top{display:block}
  .foot-brand{margin-bottom:28px}
  .foot-brand p{max-width:34ch;margin-top:10px}
  .foot-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 18px}
  .foot-col{min-width:0;gap:9px}
  .foot-col a{overflow-wrap:break-word}
  .foot-fine{flex-direction:column;align-items:flex-start;gap:6px;margin-top:28px}
  .foot-fine span:first-child{flex:none}
}
@media (max-width:620px){
  .foot-cols{grid-template-columns:repeat(2,minmax(0,1fr))}
  /* Three columns do not divide by two, so the odd one out takes the spare
     row whole rather than sitting in a half-width orphan. */
  .foot-cols .foot-col:nth-child(3):last-child{grid-column:1 / -1}
}
@media (max-width:380px){
  /* Narrower than this and the mailbox no longer fits beside anything. */
  .foot-cols .foot-col:last-child{grid-column:1 / -1}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .btn:hover,.mail:hover{transform:none}
}

/* ── App Store button ─────────────────────────────────────
   Replaced the waiting-list forms when 1518 shipped. On the ink
   band the fill inverts, because an ink button on ink is a rectangle
   nobody can see. */
.btn--store{gap:10px;padding:14px 26px;font-size:16.5px;text-decoration:none}
.btn--store svg{margin-top:-2px}
.band--ink .btn--store{background:var(--paper);color:var(--ink)}
.band--ink .btn--store:hover{color:var(--ink)}
.store-fine{margin-top:14px}
