/* Q's public site (23 November 2026): the landing page, the privacy policy, the terms, support and the 404 page.
   The idea is the Q mark he picked on 5 November: a power button, because Q switches the house on and off. On the
   landing page the mark draws itself on the midnight ground and the indigo light rises from the foot, as the house
   comes on; the day then runs down one continuous line, and the page ends on the night again. The hub's own look:
   Poppins, royal indigo, midnight and the gold of the mark. No borders, outlines or hairlines anywhere: depth comes
   from tonal fills, soft dark shadows and space. Plain CSS, no script. */

@font-face{font-family:Poppins;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/poppins-400.woff2) format('woff2')}
@font-face{font-family:Poppins;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/poppins-500.woff2) format('woff2')}
@font-face{font-family:Poppins;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/poppins-600.woff2) format('woff2')}

:root{
  --bg:#f3f5fb; --surface:#ffffff; --tint:#e9edf7;
  --ink:#0e1330; --text:#2b3150; --muted:#5d6486;
  --accent:#4f46e5; --accent-hi:#4338ca; --accent-ink:#3f37c9; --accent-soft:rgba(79,70,229,.10); --accent-line:rgba(79,70,229,.22);
  --night:#11163a; --night-2:#1a2152; --on-night:#eef0fb; --on-night-2:rgba(238,240,251,.74); --night-tint:rgba(238,240,251,.08);
  --gold:#e6c36a;
  --shadow:0 1px 2px rgba(14,19,48,.04),0 14px 34px -18px rgba(14,19,48,.18);
  --shadow-hi:0 2px 6px rgba(14,19,48,.05),0 24px 52px -22px rgba(14,19,48,.26);
  --lift:0 10px 24px -12px rgba(30,24,140,.55); --lift-hi:0 14px 30px -12px rgba(30,24,140,.65);
  --lux:cubic-bezier(.19,.91,.38,.98); --ease:cubic-bezier(.22,.8,.24,1);
  --gut:20px; --wide:1160px;
  color-scheme:light}
@media (prefers-color-scheme:dark){
  :root{
    --bg:#0b0f1d; --surface:#151b2f; --tint:#1b2238;
    --ink:#eef0fa; --text:#c7cce0; --muted:#9aa1bd;
    --accent:#5f57e8; --accent-hi:#6d66f2; --accent-ink:#aaa5ff; --accent-soft:rgba(124,116,255,.16); --accent-line:rgba(139,133,255,.30);
    --night:#11163a; --night-2:#1a2152;
    --shadow:0 1px 2px rgba(2,4,16,.5),0 14px 34px -18px rgba(2,4,16,.8);
    --shadow-hi:0 2px 6px rgba(2,4,16,.55),0 24px 52px -22px rgba(2,4,16,.9);
    /* In the dark a button's lift is dark too, never a blue glow (his rule of 5 November 2026: no light shadow in dark mode). */
    --lift:0 10px 24px -12px rgba(2,4,16,.7); --lift-hi:0 14px 30px -12px rgba(2,4,16,.8);
    color-scheme:dark}
}
@media (min-width:700px){ :root{--gut:32px} }
@media (min-width:1100px){ :root{--gut:48px} }

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-top:24px;-webkit-tap-highlight-color:transparent}
@media (prefers-reduced-motion:no-preference){ html{scroll-behavior:smooth} }
body{margin:0;background:var(--bg);color:var(--text);font-family:Poppins,system-ui,-apple-system,'Segoe UI',sans-serif;font-size:17px;line-height:1.65;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overflow-x:hidden}
h1,h2,h3{color:var(--ink);font-weight:600;margin:0;line-height:1.4;text-wrap:balance}
p,ol,ul{margin:0}
p{text-wrap:pretty}
a{color:inherit;text-decoration:none}
::selection{background:var(--accent-soft);color:var(--ink)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.wrap{max-width:var(--wide);margin:0 auto;padding:0 var(--gut)}

/* Focus is a tinted fill, never a ring or an outline (his rule since 5 November 2026: no line round anything). */
a:focus-visible{outline:none;background:var(--accent-soft);border-radius:8px}
.skip{position:absolute;left:var(--gut);top:-120px;z-index:9;padding:12px 18px;border-radius:12px;background:var(--surface);color:var(--ink);font-weight:500;transition:top .25s var(--ease)}
.skip:focus-visible{top:12px;background:var(--surface);box-shadow:var(--shadow-hi)}

/* The mark: the ring and the line of the power button, in the colour of the text around it. */
.mark{display:block;flex:none}
.mark g{fill:none;stroke:currentColor;stroke-width:104;stroke-linecap:round}

/* The top: the mark and the name at the left, the three other pages at the right. */
.top{display:flex;align-items:center;justify-content:space-between;gap:16px;height:72px}
.brand{display:flex;align-items:center;gap:10px;margin-left:-8px;padding:6px 8px;border-radius:12px;color:var(--ink);font-size:20px;font-weight:600;line-height:1.4;letter-spacing:-.01em;transition:background-color .2s var(--ease)}
.brand .mark{width:26px;height:26px;color:var(--gold)}
.nav{display:flex;align-items:center;gap:2px;margin-right:-8px}
.nav a{padding:8px;border-radius:10px;color:var(--muted);font-size:14.5px;font-weight:500;line-height:1.4;transition:color .2s var(--ease),background-color .2s var(--ease)}
.nav a:hover{color:var(--ink);background:var(--accent-soft)}
.nav a[aria-current=page]{color:var(--ink)}
@media (min-width:700px){ .nav{gap:6px;margin-right:-14px} .nav a{padding:8px 14px;font-size:15px} }
/* The narrowest phones keep the mark and drop the written name beside it, so Home and the three pages still fit. */
@media (max-width:379px){ .brand span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)} .nav a{padding:8px 6px} }

/* Buttons: one primary action in indigo with a dark lift; a quiet one as a tinted fill. Concentric with nothing: they stand alone. */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 26px;border-radius:16px;font-size:16px;font-weight:500;line-height:1.4;
  transition:background-color .2s var(--ease),transform .25s var(--ease),box-shadow .25s var(--ease),color .2s var(--ease)}
.btn.pri{background:var(--accent);color:#fff;box-shadow:var(--lift)}
.btn.pri:hover{background:var(--accent-hi);box-shadow:var(--lift-hi)}
.btn.sec{background:var(--accent-soft);color:var(--accent-ink)}
.btn.sec:hover{background:var(--accent-line)}
.btn:active{transform:scale(.98)}
.btn:focus-visible{border-radius:16px;box-shadow:inset 0 0 0 100vmax rgba(255,255,255,.14),var(--lift)}
.btn.sec:focus-visible{background:var(--accent-line);box-shadow:none}
@media (hover:hover) and (pointer:fine){ .btn:hover{transform:translateY(-1px)} .btn:active{transform:scale(.98)} }

/* ---------- The landing page ----------
   Redone on 23 November 2026 at his word on the first version: "looks too plain and fake and it doesn't sell. please, sell like
   apple, sell the fucking outcome!!". Apple is the reference, so the page works as Apple's product pages do: each part of the day is
   one full moment, a short outcome headline, one line that says what Q did, and one big picture of Q's real screen in a clean device
   shape. The hero keeps his Q mark, drawn on as a power button, with the light rising as the house comes on. */

/* The landing page's top sits over the hero, so the hero can start at the top of the window. */
.over{position:absolute;inset:0 0 auto 0;z-index:2}
.over .brand{color:var(--on-night)}
.over .nav a{color:var(--on-night-2)}
.over .nav a[aria-current=page]{color:var(--on-night)}
.over a:hover,.over a:focus-visible{color:var(--on-night);background:var(--night-tint)}
.acts{display:flex;flex-wrap:wrap;align-items:center;gap:12px 14px;margin-top:36px}
.nb{white-space:nowrap}
.prose-l a,.doc a.in,.qa a,.fine-print a{color:var(--accent-ink);font-weight:500;background:var(--accent-soft);border-radius:6px;padding:1px 5px;margin:0 -1px;
  -webkit-box-decoration-break:clone;box-decoration-break:clone;transition:background-color .2s var(--ease)}
.prose-l a:hover,.doc a.in:hover,.qa a:hover,.fine-print a:hover{background:var(--accent-line)}

/* Ground: each moment is light or night. Night is midnight in both themes, as the hub's own power panel is. */
.night{background:var(--night);color:var(--on-night);--ink:#fff;--muted:var(--on-night-2);--accent-ink:#aaa5ff;--eyebrow:var(--gold);
  --lift:0 10px 24px -12px rgba(2,4,16,.7);--lift-hi:0 14px 30px -12px rgba(2,4,16,.8)}
.light{background:var(--bg);--eyebrow:var(--accent-ink)}

/* The hero. */
.hero{position:relative;isolation:isolate;overflow:hidden;text-align:center;padding:120px 0 104px}
/* The light that rises from the foot when the house comes on (his Dawn, 8 November 2026): a wash across the whole width, never a halo. */
.hero::before{content:"";position:absolute;inset:auto 0 0 0;height:70%;z-index:-1;pointer-events:none;
  background:linear-gradient(to top,rgba(95,87,232,.5) 0%,rgba(95,87,232,.18) 45%,rgba(95,87,232,0) 100%)}
.hero-q{width:84px;height:84px;margin:0 auto;color:var(--gold)}
.kicker{margin-top:28px;color:var(--on-night-2);font-size:clamp(19px,2.2vw,24px);font-weight:500;line-height:1.4}
.hero h1{margin:10px auto 0;max-width:13em;color:#fff;font-size:clamp(40px,7vw,84px);line-height:1.08;letter-spacing:-.035em}
.hero .say{margin:24px auto 0;max-width:30em;color:var(--on-night-2);font-size:clamp(18px,1.8vw,22px);line-height:1.55}
.hero .acts{justify-content:center}
.hero .btn.sec{background:var(--night-tint);color:var(--on-night)}
.hero .btn.sec:hover{background:rgba(238,240,251,.14)}

/* A moment: the outcome first, Q's part second, then the picture. */
.moment{padding:112px 0 120px;text-align:center;overflow:hidden}
.moment .eyebrow{color:var(--eyebrow);font-size:clamp(17px,1.6vw,20px);font-weight:600;line-height:1.4}
.moment h2{margin:12px auto 0;max-width:14em;font-size:clamp(36px,6vw,72px);line-height:1.08;letter-spacing:-.035em}
.moment .say{margin:24px auto 0;max-width:30em;color:var(--muted);font-size:clamp(18px,1.8vw,22px);line-height:1.55}
.moment .small{margin:20px auto 0;max-width:34em;color:var(--muted);font-size:15px;line-height:1.6}
.stage{margin:64px auto 0;position:relative}
.moment .acts{justify-content:center}
@media (min-width:900px){ .moment{padding:160px 0 168px} .stage{margin-top:80px} }

/* Device shapes, drawn in CSS: a Mac window and a phone. Fills and dark shadows only, no outline. */
.mac{--bar:#e6e8ef;width:min(100%,1040px);margin:0 auto;border-radius:16px;overflow:hidden;background:var(--bar);
  box-shadow:0 2px 6px rgba(14,19,48,.06),0 50px 100px -40px rgba(14,19,48,.45)}
.mac::before{content:"";display:block;height:34px;
  background:radial-gradient(circle at 20px 17px,#ff5f57 6px,transparent 6.5px),radial-gradient(circle at 40px 17px,#febc2e 6px,transparent 6.5px),
    radial-gradient(circle at 60px 17px,#28c840 6px,transparent 6.5px),var(--bar)}
.mac img{display:block;width:100%;height:auto}
@media (prefers-color-scheme:dark){ .mac{--bar:#232a40} }
.night .mac,.hero .mac{box-shadow:0 2px 6px rgba(2,4,16,.4),0 50px 100px -40px rgba(2,4,16,.9)}
/* Concentric: the phone is 54 px round and its screen sits 12 px in, so the screen is 42 px round. */
.phone{width:min(76vw,300px);margin:0 auto;padding:12px;border-radius:54px;background:#0a0c13;
  box-shadow:0 2px 6px rgba(2,4,16,.3),0 44px 90px -36px rgba(2,4,16,.7)}
.phone img{display:block;width:100%;height:auto;border-radius:42px}
@media (min-width:900px){ .phone{width:330px} }
/* The hero's picture: Q's Home on a Mac, as large as the page allows. */
.pair{position:relative;width:min(100%,1040px);margin:64px auto 0}
@media (max-width:640px){ .pair{margin-top:48px} }

/* At night: the mark, the house switching off. */
.off-q{width:min(52vw,300px);height:auto;margin:0 auto;color:var(--gold);display:block}

/* Privacy, in four short promises. */
.promises{display:grid;grid-template-columns:minmax(0,1fr);gap:40px 64px;max-width:900px;margin:64px auto 0;text-align:left}
@media (min-width:760px){ .promises{grid-template-columns:repeat(2,minmax(0,1fr))} }
.promises h3{font-size:clamp(21px,2vw,24px);line-height:1.3;letter-spacing:-.01em}
.promises p{margin-top:10px;color:var(--muted);font-size:17px;line-height:1.6}

/* The ask. */
.ask .btn{margin-top:40px;min-height:58px;padding:0 34px;font-size:18px;border-radius:18px}
.ask .proud{margin:28px auto 0;max-width:30em;color:var(--muted);font-size:17px;line-height:1.6}

/* The details the reviewers read: the same voice, set as reading text. */
.details{padding:120px 0 40px;text-align:left}
.details h2{font-size:clamp(30px,4vw,44px);line-height:1.15;letter-spacing:-.025em;max-width:16em}
.details .cols{display:grid;grid-template-columns:minmax(0,1fr);gap:56px;margin-top:56px}
@media (min-width:980px){ .details .cols{grid-template-columns:repeat(2,minmax(0,1fr));gap:72px} }
.details h3{font-size:22px;line-height:1.35}
.details h3.sub{margin-top:40px}
.prose-l{margin-top:16px;max-width:38em;display:grid;gap:14px;font-size:17px;line-height:1.7}
.steps{list-style:none;counter-reset:s;padding:0;display:grid;gap:14px;margin-top:16px}
/* The number hangs in its own 32 px column, so words of a step (a name kept on one line among them) flow as one paragraph. */
.steps li{counter-increment:s;position:relative;padding-left:32px;font-size:17px;line-height:1.65}
.steps li::before{content:counter(s) ".";position:absolute;left:0;top:0;color:var(--muted);font-weight:500}
.scopes{list-style:none;padding:0;margin-top:16px;display:grid;gap:10px}
.scopes li{font-size:16.5px;line-height:1.6}
.scopes b{color:var(--ink);font-weight:600}
.fine-print{margin-top:56px;max-width:46em;padding:24px 26px;border-radius:24px;background:var(--tint);color:var(--ink);font-size:17px;line-height:1.65}
.links{margin-top:32px}

/* The close: the footer on the night. */
.close{background:var(--night);color:var(--on-night);padding:8px 0 0}
.close .foot,.close .foot a{color:var(--on-night-2)}
.close .foot a:hover{color:var(--on-night);background:var(--night-tint)}

/* Motion. The mark draws itself on, its line slides in, then the light rises: the house switching on. Motion that draws a stroke on
   is not a dashed line (his rule of 8 November 2026 allows it). Each animation holds its first frame only while it waits (backwards),
   then lets go, so the finished mark is one still picture with no seam. Every moment rises into place as it scrolls in, and the night
   mark dims as it scrolls away, in browsers that tie motion to scrolling; elsewhere, and for anyone who asks for less motion, the
   page simply stands still, finished. */
@media (prefers-reduced-motion:no-preference){
  .hero-q .ring{animation:draw 1.5s var(--lux) .2s backwards}
  .hero-q .bar{animation:bar .8s var(--lux) 1.15s backwards}
  .hero::before{animation:rise 2.6s var(--lux) 1.2s backwards}
  .hero .copy > *{animation:up 1s var(--lux) backwards}
  .hero .copy > :nth-child(2){animation-delay:.1s}
  .hero .copy > :nth-child(3){animation-delay:.2s}
  .hero .copy > :nth-child(4){animation-delay:.3s}
  .hero .pair{animation:up 1.4s var(--lux) .45s backwards}
  @supports (animation-timeline:view()){
    .moment .stage,.moment .copy,.promises{animation:inview linear both;animation-timeline:view();animation-range:entry 0% cover 28%}
    .off-q{animation:dim linear both;animation-timeline:view();animation-range:cover 40% exit 90%}
  }
}
@keyframes draw{from{stroke-dasharray:1;stroke-dashoffset:1;opacity:0}6%{opacity:1}to{stroke-dasharray:1;stroke-dashoffset:0;opacity:1}}
@keyframes bar{from{opacity:0;transform:translate(-90px,-90px)}to{opacity:1;transform:none}}
@keyframes rise{from{opacity:0;transform:translateY(18%)}to{opacity:1;transform:none}}
@keyframes up{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes inview{from{opacity:0;transform:translateY(56px) scale(.985)}to{opacity:1;transform:none}}
@keyframes dim{from{opacity:1}to{opacity:.28}}

/* The quiet footer on every page. */
.foot{display:flex;flex-wrap:wrap;align-items:center;gap:12px 28px;padding-top:40px;padding-bottom:48px;color:var(--muted);font-size:14.5px;line-height:1.6}
.foot nav{display:flex;flex-wrap:wrap;gap:4px 8px;margin-left:-10px}
.foot nav a{padding:6px 10px;border-radius:10px;transition:color .2s var(--ease),background-color .2s var(--ease)}
.foot nav a:hover{color:var(--ink);background:var(--accent-soft)}
.foot .mark{width:20px;height:20px;color:var(--gold)}
.foot .fine{flex-basis:100%;margin:0}
@media (min-width:900px){ .foot .fine{flex-basis:auto;margin-left:auto} }

/* ---------- The reading pages: privacy, terms, support ---------- */
.doc{padding-top:40px;padding-bottom:64px}
.doc-head{max-width:38em}
.doc h1{font-size:clamp(34px,5.4vw,48px);letter-spacing:-.025em}
.eff{margin-top:8px;color:var(--muted);font-size:16px}
.intro{margin-top:24px;font-size:19px;line-height:1.7;color:var(--ink)}
.doc-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:40px;margin-top:40px}
@media (min-width:1100px){ .doc-grid{grid-template-columns:232px minmax(0,1fr);gap:72px;align-items:start} }
.toc{background:var(--tint);border-radius:24px;padding:22px 24px}
@media (min-width:1100px){ .toc{position:sticky;top:24px;background:none;padding:6px 0 0} }
.toc p{color:var(--ink);font-size:15px;font-weight:600}
.toc ol{list-style:none;padding:0;margin-top:10px;display:grid;gap:2px}
.toc a{display:block;margin:0 -10px;padding:5px 10px;border-radius:10px;color:var(--muted);font-size:15px;line-height:1.5;transition:color .2s var(--ease),background-color .2s var(--ease)}
.toc a:hover{color:var(--ink);background:var(--accent-soft)}
/* The measure: 34em of Poppins at 17 px holds 60 to 72 characters a line (measured by site/tests/shots.mjs). */
.prose{max-width:34em;font-size:17px;line-height:1.75}
.prose section + section{margin-top:56px}
.prose h2{font-size:24px;letter-spacing:-.015em;scroll-margin-top:24px}
.prose h3{margin-top:28px;font-size:18px}
.prose p,.prose ol,.prose ul{margin-top:16px}
.prose ol,.prose ul{padding-left:1.5em;display:grid;gap:10px}
.prose ol li::marker{color:var(--muted);font-weight:500}
.prose ul li::marker{color:var(--accent)}
.prose b{color:var(--ink);font-weight:600}
.prose .quote{margin-top:20px;padding:20px 22px;border-radius:20px;background:var(--tint);color:var(--ink);font-weight:500}

/* Support: the promise first, then short answers. */
.help{display:grid;grid-template-columns:minmax(0,1fr);gap:64px;margin-top:32px}
@media (min-width:1100px){ .help{grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:72px;align-items:start} .promise{position:sticky;top:24px} }
/* Concentric: the card is 32 px round and its button sits 16 px in at the foot, so the button is 16 px round. */
.promise{max-width:40em;background:var(--surface);border-radius:32px;padding:28px 28px 16px;box-shadow:var(--shadow)}
.promise p{font-size:19px;line-height:1.65;color:var(--ink)}
.promise p + p{margin-top:8px;font-size:16px;color:var(--muted)}
.promise .btn{display:flex;margin:24px -12px 0}
.qa{max-width:38em;display:grid;gap:48px}
.qa h2{font-size:22px;letter-spacing:-.01em}
.qa p,.qa ol{margin-top:12px;font-size:17px;line-height:1.75}
.qa ol{padding-left:1.5em;display:grid;gap:8px}
.qa ol li::marker{color:var(--muted);font-weight:500}

/* 404: the mark, one sentence and the way back. */
.lost{min-height:calc(100vh - 72px - 140px);display:grid;align-content:center;padding:48px 0 80px;max-width:34em}
.lost .mark{width:72px;height:72px;color:var(--gold);background:var(--night);border-radius:22px;padding:14px;box-shadow:var(--shadow)}
.lost h1{margin-top:32px;font-size:clamp(32px,5vw,44px);letter-spacing:-.025em}
.lost p{margin-top:12px;font-size:18px;color:var(--muted)}
.lost .acts{margin-top:32px}
