/* Daily Thread website, design "Nachtgewebe".
   A dark evening; the logo's threads glow in their colours, everything else steps back.
   Decisions: big logo centred in the hero (weaves once), white outlined buttons, matte pink accent,
   fine straight lines between sections, clear sans type, neutral cards that light up in a thread
   colour on hover, steps as a timeline. */
:root {
  --night: #0B0A0E;
  --night-2: #121016;
  --card: #141118;
  --ink: #F3EEF6;
  --soft: #DCD4E0;
  --muted: #A49CAB;
  --faint: #6E6676;
  --hair: #26222C;
  --hair-2: #3A3542;
  --fill: rgba(243, 238, 246, 0.06);
  /* the logo's thread colours: lilac, violet, magenta, pink, peach, gold */
  --t1: #8F6CF0; --t2: #B562E6; --t3: #E04FD8; --t4: #FF5E9C; --t5: #FF8F72; --t6: #FFC14D;
  --label: #D9809F;              /* the app's pink, a little matte: links and small highlights */
  --label-soft: rgba(217, 128, 159, 0.14);
  --selection: rgba(217, 128, 159, .35);
  --top-bg: rgba(11, 10, 14, .8);
  --glow-1: rgba(224, 79, 216, .13); --glow-2: rgba(123, 82, 224, .05);
  --err: #FF8A80;
  --todo-bg: #3A3000; --todo-ink: #FFE58A;
  /* the app's dark mode, for the phone and the statistics */
  --app-ink: 245, 245, 245; --app-muted: #B8B1BF; --app-label: #FF85BA; --app-fill: rgba(245, 245, 245, .11); --tile: 32%;
  --ph-bg: #000000; --ph-card: #111113; --ph-btn: #FF85BA; --ph-btn-ink: #1A0010; --ph-num: #F5E9FF;
  --radius: 18px;
  --wrap: 1120px;
  color-scheme: dark;
}
/* Light mode: chosen with the switch in the header, or (without a choice) when the device is set to light.
   Without any information the page stays dark. */
:root[data-theme="light"] {
  --night: #FAF8F9;
  --night-2: #FFFFFF;
  --card: #FFFFFF;
  --ink: #0A0A0A;
  --soft: #2F2934;
  --muted: #5F5965;
  --faint: #857E8B;
  --hair: #E6E2E8;
  --hair-2: #D6D2D9;
  --fill: rgba(10, 10, 10, 0.05);
  --label: #D9437F;
  --label-soft: rgba(217, 67, 127, 0.14);
  --selection: rgba(217, 67, 127, .2);
  --top-bg: rgba(250, 248, 249, .85);
  --glow-1: rgba(217, 67, 127, .09); --glow-2: rgba(143, 108, 240, .04);
  --err: #C62828;
  --todo-bg: #FFF1B8; --todo-ink: #6B5200;
  /* the app's light mode, for the phone and the statistics */
  --app-ink: 10, 10, 10; --app-muted: #5F5965; --app-label: #D9437F; --app-fill: rgba(10, 10, 10, .12); --tile: 24%;
  --ph-bg: #FAF8F9; --ph-card: #FFFFFF; --ph-btn: #E1699A; --ph-btn-ink: #FFFFFF; --ph-num: #2A1530;
  color-scheme: light;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
  --night: #FAF8F9;
  --night-2: #FFFFFF;
  --card: #FFFFFF;
  --ink: #0A0A0A;
  --soft: #2F2934;
  --muted: #5F5965;
  --faint: #857E8B;
  --hair: #E6E2E8;
  --hair-2: #D6D2D9;
  --fill: rgba(10, 10, 10, 0.05);
  --label: #D9437F;
  --label-soft: rgba(217, 67, 127, 0.14);
  --selection: rgba(217, 67, 127, .2);
  --top-bg: rgba(250, 248, 249, .85);
  --glow-1: rgba(217, 67, 127, .09); --glow-2: rgba(143, 108, 240, .04);
  --err: #C62828;
  --todo-bg: #FFF1B8; --todo-ink: #6B5200;
  /* the app's light mode, for the phone and the statistics */
  --app-ink: 10, 10, 10; --app-muted: #5F5965; --app-label: #D9437F; --app-fill: rgba(10, 10, 10, .12); --tile: 24%;
  --ph-bg: #FAF8F9; --ph-card: #FFFFFF; --ph-btn: #E1699A; --ph-btn-ink: #FFFFFF; --ph-num: #2A1530;
  color-scheme: light;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--night); color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--label); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--label); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--selection); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); color: var(--ink); padding: 8px 14px; border-radius: 10px; z-index: 30; }
.skip:focus { left: 12px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: var(--top-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--hair); }
.top .wrap { display: flex; align-items: center; gap: 22px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.nav { margin-left: auto; display: flex; gap: 24px; align-items: center; }
.nav a { color: var(--muted); font-size: 15px; }
.nav a:hover { color: var(--ink); text-decoration: none; }
.nav .lang { font-size: 12px; font-weight: 600; letter-spacing: .08em; border: 1px solid var(--hair-2); border-radius: 999px; padding: 3px 10px; }
.nav .pill { color: var(--ink); border: 1px solid var(--ink); border-radius: 999px; padding: 7px 16px; white-space: nowrap; }
.nav .pill:hover { background: var(--fill); }
/* light / dark switch: round, outlined like the language switch; shows the mode it switches to */
.theme { width: 30px; height: 30px; display: grid; place-items: center; padding: 0; border: 1px solid var(--hair-2); border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; transition: color .2s, background .2s; }
.theme:hover { color: var(--ink); background: var(--fill); }
.theme svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.theme .moon { display: none; }
:root[data-theme="light"] .theme .sun { display: none; }
:root[data-theme="light"] .theme .moon { display: block; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .theme .sun { display: none; }
  :root:not([data-theme="dark"]) .theme .moon { display: block; }
}
@media (max-width: 760px) { .nav .hide-s { display: none; } }
@media (max-width: 440px) { .nav { gap: 10px; } .nav a:not(.pill):not(.lang) { display: none; } .nav .theme { width: 28px; height: 28px; }
  .top .wrap { gap: 10px; padding: 0 14px; } .brand { font-size: 16px; gap: 8px; } .brand img { width: 26px; height: 26px; }
  .nav { gap: 7px; } .nav .pill { padding: 5px 11px; font-size: 14px; } .nav .lang { padding: 3px 8px; } }
.brand { white-space: nowrap; }

/* ---------- type ---------- */
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(40px, 6.4vw, 70px); line-height: 1.05; letter-spacing: -0.035em; }
h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.12; }
h3 { font-size: 19px; line-height: 1.3; }
.eyebrow { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); margin: 0 0 16px; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 36em; }

/* ---------- buttons: white outline ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 16px; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; transition: background .2s; }
.btn:hover { text-decoration: none; background: var(--fill); }
.btn-quiet { border-color: var(--hair-2); color: var(--muted); }
.btn-quiet:hover { color: var(--ink); border-color: var(--muted); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- sections, separated by one fine straight line ---------- */
section { padding: 96px 0; border-top: 1px solid var(--hair); }
section.hero { border-top: 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head p { margin: 14px 0 0; }
.center-head { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- hero: the woven logo, large and centred ---------- */
.hero { padding: 40px 0 96px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; left: 50%; top: 10px; width: 760px; height: 760px; transform: translateX(-50%); background: radial-gradient(closest-side, var(--glow-1), var(--glow-2) 55%, transparent); pointer-events: none; }
.hero .wrap { position: relative; }
.hero-logo { width: min(420px, 80vw); aspect-ratio: 1; margin: 0 auto 4px; }   /* drawn exactly like the app, no filters */
.hero h1 { margin: 0 auto; max-width: 13em; }
.hero .lead { margin: 22px auto 34px; }
.hero .cta { justify-content: center; }

/* ---------- steps: a straight line with five glowing points ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; padding-top: 36px; }
.timeline::before { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 1px; background: var(--hair-2); }
.tstep { position: relative; }
.tstep::before { content: ""; position: absolute; top: -32px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--night); border: 1.5px solid var(--c); box-shadow: 0 0 12px var(--c); }
.tstep .n { font-size: 13px; color: var(--c); font-weight: 600; letter-spacing: .06em; }
.tstep h3 { margin: 4px 0 6px; }
.tstep p { margin: 0; color: var(--muted); font-size: 15px; }
.tstep:nth-child(1) { --c: var(--t1); } .tstep:nth-child(2) { --c: var(--t2); } .tstep:nth-child(3) { --c: var(--t3); }
.tstep:nth-child(4) { --c: var(--t4); } .tstep:nth-child(5) { --c: var(--t6); }
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; gap: 28px; padding: 0 0 0 30px; }
  .timeline::before { top: 6px; bottom: 6px; left: 5px; right: auto; width: 1px; height: auto; }
  .tstep::before { top: 6px; left: -30px; }
}

/* ---------- mood: the app's animation with the slider, the phone beside it ---------- */
.mood { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .mood { grid-template-columns: 1fr; } }
.weave-box { position: relative; height: 300px; border: 1px solid var(--hair); border-radius: var(--radius); overflow: hidden; background: var(--night-2); margin-top: 28px; }
.weave { position: absolute; inset: 0; width: 100%; height: 100%; }
.mood-try { margin-top: 22px; max-width: 520px; }
.mood-try label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 10px; }
.mood-row { display: flex; align-items: center; gap: 16px; }
.mood-row output { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; font-weight: 700; border: 1px solid var(--hair-2); font-variant-numeric: tabular-nums; }
.mood-scale { display: flex; justify-content: space-between; margin: 8px 0 0 68px; font-size: 13px; color: var(--faint); }
.mood-scale #mood-word { color: var(--label); font-weight: 600; }
input[type="range"] { --fill: 77.8%; flex: 1; -webkit-appearance: none; appearance: none; height: 28px; background: transparent; cursor: pointer; margin: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(to right, var(--ink) var(--fill), var(--hair-2) var(--fill)); }
input[type="range"]::-moz-range-track { height: 2px; background: var(--hair-2); }
input[type="range"]::-moz-range-progress { height: 2px; background: var(--ink); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); margin-top: -9px; box-shadow: 0 0 0 5px var(--fill); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--ink); border: 0; }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px var(--label-soft); }

/* ---------- phone mock-up (fictional content), the app's dark mode ---------- */
.phone { justify-self: center; width: min(320px, 84vw); border-radius: 44px; background: var(--ph-bg); border: 1px solid var(--hair-2); padding: 22px 18px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 40px 90px -40px rgba(224, 79, 216, .3); }
.ph-top { display: flex; justify-content: space-between; align-items: flex-start; }
.ph-hello { font-weight: 700; font-size: 22px; letter-spacing: -0.02em; line-height: 1.15; }
.ph-date { font-size: 12px; color: var(--muted); }
.ph-sun { display: flex; align-items: center; gap: 6px; background: var(--fill); padding: 6px 11px; border-radius: 999px; font-weight: 700; font-size: 14px; }
.ph-sun svg { width: 15px; height: 15px; }
.ph-weave { height: 92px; margin: 0 -18px; width: calc(100% + 36px); }
.ph-card { border: 1px solid var(--hair-2); border-radius: 18px; padding: 14px; display: grid; gap: 6px; background: var(--ph-card); }
.ph-eyebrow { font-size: 10px; letter-spacing: .14em; color: var(--muted); }
.ph-title { font-weight: 700; font-size: 16px; line-height: 1.25; }
.ph-sub { font-size: 12px; color: var(--muted); line-height: 1.35; }
.ph-btn { margin-top: 6px; background: var(--ph-btn); color: var(--ph-btn-ink); border-radius: 999px; padding: 9px 14px; font-weight: 700; font-size: 13px; display: flex; justify-content: space-between; }
.ph-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; text-align: center; font-size: 10px; color: var(--muted); }
.ph-week b { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; font-size: 12px; color: var(--ph-num); margin-bottom: 3px; }
.ph-recent { display: grid; gap: 10px; margin-top: 4px; }
.ph-h { font-weight: 700; font-size: 14px; }
.ph-row { display: grid; grid-template-columns: 38px 1fr; gap: 10px; align-items: center; }
.ph-row b { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; font-size: 15px; color: var(--ph-num); }
.ph-row strong { display: block; font-size: 13px; }
.ph-row span { display: block; font-size: 11px; color: var(--muted); }
.m4 { background: rgba(123, 82, 224, .35); } .m5 { background: rgba(200, 80, 220, .32); } .m6 { background: rgba(224, 79, 216, .32); }
.m7 { background: rgba(240, 85, 180, .32); } .m8 { background: rgba(255, 94, 156, .32); } .m9 { background: rgba(255, 135, 125, .34); }
.m0 { background: var(--fill); box-shadow: inset 0 0 0 2px var(--app-label); }

/* ---------- features: single neutral cards, the border lights up in a thread colour on hover ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--hair); border-radius: var(--radius); padding: 28px 26px 30px; transition: border-color .3s, box-shadow .3s; }
.card svg { width: 26px; height: 26px; stroke: var(--soft); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 20px; transition: stroke .3s; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card:hover { border-color: var(--c); box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 35%, transparent), 0 0 28px -6px color-mix(in srgb, var(--c) 55%, transparent); }
.card:hover svg { stroke: var(--c); }
.card:nth-child(1) { --c: var(--t1); } .card:nth-child(2) { --c: var(--t2); } .card:nth-child(3) { --c: var(--t3); }
.card:nth-child(4) { --c: var(--t6); } .card:nth-child(5) { --c: var(--t5); } .card:nth-child(6) { --c: var(--t4); }

/* ---------- statistics showcase: looks like the app's Statistik screen (dark mode) ---------- */
.showcase { border: 1px solid var(--hair); border-radius: var(--radius); padding: clamp(18px, 3vw, 32px); max-width: 640px; margin: 0 auto; background: var(--night-2); }
/* switch: grey pill track, the chosen part slightly lighter (like the app) */
.seg { display: flex; background: var(--app-fill); border-radius: 999px; padding: 4px; margin-bottom: 26px; }
.seg button { flex: 1; border: 0; background: transparent; color: var(--app-muted); font: inherit; font-size: 15px; padding: 9px 0; border-radius: 999px; cursor: pointer; transition: background .22s, color .22s; }
.seg button[aria-selected="true"] { background: rgba(var(--app-ink), .12); color: rgb(var(--app-ink)); font-weight: 500; }
.big { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; font-variant-numeric: tabular-nums; }
#trend-sub { color: var(--app-muted); margin-top: 2px; }
.trend { width: 100%; height: auto; margin-top: 4px; touch-action: pan-y; cursor: crosshair; user-select: none; }
.trend .hair { stroke: rgb(var(--app-ink)); stroke-opacity: .05; }
.trend .hair.base { stroke-opacity: .12; }
.trend .axis { fill: var(--app-muted); font-size: 11px; }
.trend .axis.edge { fill-opacity: .55; font-size: 10px; }
.trend .axis.mid { text-anchor: middle; fill-opacity: .8; }
.trend .axis.now { fill: var(--app-label); fill-opacity: 1; }
.trend .avg { stroke: rgb(var(--app-ink)); stroke-opacity: .18; stroke-width: 1.2; stroke-dasharray: 2 4; stroke-linecap: round; }
.trend .line { fill: none; stroke: var(--app-label); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.trend .dot { stroke: var(--night-2); stroke-width: 2.5; transition: r .12s; }
.trend .guide { stroke: rgb(var(--app-ink)); stroke-opacity: .2; transition: opacity .15s; }
.hint { font-size: 14px; color: var(--faint); margin: 12px 0 0; }

/* calendar and year header: big title (the month with two arrows), below it the count */
.cal-top { display: flex; align-items: center; gap: 4px; min-height: 40px; }
.cal-top strong { flex: 1; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.arrow { width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: transparent; border-radius: 50%; color: rgb(var(--app-ink)); cursor: pointer; }
.arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.arrow:hover:not(:disabled) { background: var(--app-fill); }
.arrow:disabled { opacity: .3; cursor: default; }
.cal-sub { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 6px 0 18px; }
.cal-sub .muted { color: var(--app-muted); font-size: 15px; }

/* month: flat tiles tinted in the mood colour, number in a lighter shade, check for finished days */
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal[hidden] { display: none; }
.cal .wd { text-align: center; font-size: 12px; color: var(--app-muted); padding-bottom: 4px; }
.cal .day { aspect-ratio: 1; border-radius: 10px; background: var(--app-fill); position: relative; display: grid; place-items: center; }
.cal .day small { position: absolute; left: 6px; top: 3px; font-size: 12px; color: var(--app-muted); }
.cal .day b { font-size: clamp(15px, 3vw, 19px); font-weight: 700; color: var(--s); padding-top: 6px; }
.cal .day.has { background: color-mix(in srgb, var(--c) var(--tile), transparent); }
.cal .day.has small { color: color-mix(in srgb, var(--s) 75%, transparent); }
.cal .day .ok { position: absolute; right: 5px; top: 5px; width: 8px; height: 8px; fill: none; stroke: var(--s); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cal .day.future { opacity: .3; }
.cal .day.today { box-shadow: inset 0 0 0 1.5px var(--app-label); }

/* year: 12 columns × 31 rows of small points of light */
.year { display: block; width: 100%; max-width: 440px; height: auto; margin: 0 auto; }
.year[hidden] { display: none; }
.year text { fill: var(--app-muted); font-size: 11px; }
.year text.day { fill-opacity: .7; }
.year text.now { fill: var(--app-label); }
.year .empty { fill: rgb(var(--app-ink)); fill-opacity: .12; }
.year .later { fill: rgb(var(--app-ink)); fill-opacity: .05; }
.year .ring { fill: none; stroke: var(--app-label); stroke-width: 1.2; }
/* ---------- AI ---------- */
.ai { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .ai { grid-template-columns: 1fr; gap: 28px; } }
.review { border: 1px solid var(--hair); border-radius: var(--radius); padding: 26px; background: var(--card); }
.review-top { display: flex; gap: 12px; align-items: center; margin-bottom: 6px; }
.dot-ai { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--hair-2); background: url("logo.svg") center / 26px no-repeat; flex: none; }
.review h4 { margin: 20px 0 4px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); font-weight: 600; }
.review p { margin: 0; font-size: 16px; color: var(--soft); }
.topics { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(190px, 1fr); gap: 12px; overflow-x: auto; margin-top: 40px; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.topic { scroll-snap-align: start; padding: 20px; display: grid; gap: 6px; align-content: start; border: 1px solid var(--hair); border-radius: var(--radius); background: var(--card); transition: border-color .3s, box-shadow .3s; }
.topic:hover { border-color: var(--a); box-shadow: 0 0 24px -8px var(--a); }
.topic .ti { width: 10px; height: 10px; border-radius: 50%; background: var(--a); box-shadow: 0 0 10px var(--a); margin-bottom: 10px; }
.topic strong { font-size: 16px; line-height: 1.3; }
.topic span:last-child { font-size: 14px; color: var(--muted); line-height: 1.4; }
.topic.t1 { --a: var(--t1); } .topic.t2 { --a: var(--t3); } .topic.t3 { --a: var(--t6); } .topic.t4 { --a: var(--t4); } .topic.t5 { --a: var(--faint); }
.ai-note { margin-top: 18px; }

/* ---------- privacy ---------- */
.privacy { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .privacy { grid-template-columns: 1fr; gap: 28px; } }
.checks { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--hair); }
.checks li { padding: 16px 0 16px 30px; border-bottom: 1px solid var(--hair); position: relative; color: var(--soft); }
.checks li::before { content: ""; position: absolute; left: 4px; top: 25px; width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }
.checks li:nth-child(1) { --c: var(--t1); } .checks li:nth-child(2) { --c: var(--t2); } .checks li:nth-child(3) { --c: var(--t3); }
.checks li:nth-child(4) { --c: var(--t4); } .checks li:nth-child(5) { --c: var(--t6); }

/* ---------- waitlist ---------- */
.signup { text-align: center; max-width: 640px; margin: 0 auto; }
.signup-logo { width: 88px; height: 88px; margin: 0 auto 26px; }
.signup .muted { margin: 14px auto 30px; }
.form { display: flex; gap: 10px; max-width: 540px; margin: 0 auto; }
@media (max-width: 560px) { .form { flex-direction: column; } }
.input { flex: 1; height: 52px; border-radius: 999px; border: 1px solid var(--hair-2); background: transparent; color: var(--ink); padding: 0 22px; font-size: 16px; font-family: inherit; min-width: 0; }
.input::placeholder { color: var(--faint); }
.input:focus { outline: none; border-color: var(--ink); }
.consent { display: flex; gap: 10px; align-items: flex-start; max-width: 540px; margin: 18px auto 0; text-align: left; font-size: 14px; color: var(--muted); }
.consent input { margin-top: 4px; accent-color: var(--label); width: 16px; height: 16px; flex: none; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.status { min-height: 24px; margin-top: 14px; font-size: 15px; }
.status.ok { color: var(--label); font-weight: 600; }
.status.err { color: var(--err); }

/* ---------- text pages (help, legal) ---------- */
.page { padding: 64px 0 96px; border-top: 0; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(34px, 5vw, 50px); margin-bottom: 14px; }
.page h2 { font-size: 24px; margin-top: 44px; margin-bottom: 10px; }
.page h3 { margin-top: 26px; margin-bottom: 6px; }
.page p, .page li { color: var(--soft); }
.page .muted { color: var(--muted); }
.note { border: 1px solid var(--hair-2); border-radius: 12px; padding: 14px 18px; margin: 22px 0; font-size: 15px; color: var(--soft); }
.todo { background: var(--todo-bg); color: var(--todo-ink); border-radius: 6px; padding: 0 6px; font-weight: 600; }
details { border-bottom: 1px solid var(--hair); padding: 4px 0; }
h2 + details { border-top: 1px solid var(--hair); }
details summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; font-weight: 600; font-size: 18px; position: relative; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: ""; position: absolute; right: 6px; top: 26px; width: 9px; height: 9px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
details[open] summary::after { transform: rotate(-135deg); top: 30px; }
details > div { padding: 0 0 20px; }
details > div p { color: var(--muted); margin: 0 0 10px; }
ol.how { padding-left: 22px; }
ol.how li { margin-bottom: 8px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--hair); padding: 36px 0 52px; font-size: 14px; color: var(--faint); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-left: auto; }
footer a { color: var(--muted); }
footer a:hover { color: var(--ink); }
@media (max-width: 640px) { footer nav { margin-left: 0; } }
