@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:200 1000;src:url(nunito-latin-ext-wght-normal.2c8d792869.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:200 1000;src:url(nunito-latin-wght-normal.ba344451ea.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{color-scheme:light;--primary:#48796a;--on-primary:#ffffff;--background:#f4f7f2;--card:#ffffff;--foreground:#1f2b27;--muted:#e8efe9;--tint:#d8e6de;--muted-foreground:#56655d;--border:#dfe8e2;--input:#818f88;--ring:#48796a;--inverse:#1f2b27;--on-inverse:#f4f7f2;--sleep:#5f9e8a;--work:#9fc4b0;--personal:#f1bf6e;--good:#16a34a;--mid:#d97706;--bad:#dc2626;--danger-text:#b91c1c;--on-good:#0b0b0c;--on-mid:#0b0b0c;--on-bad:#ffffff}
:root[data-theme=dark]{color-scheme:dark;--primary:#ffc86b;--on-primary:#13201c;--background:#0d1c24;--card:#132a31;--foreground:#f2ead8;--muted:#1b353b;--tint:#1b353b;--muted-foreground:#a9bab4;--border:#1e3a3f;--input:#6e807e;--ring:#ffc86b;--inverse:#f2ead8;--on-inverse:#0d1c24;--sleep:#6ff2d6;--work:#3d8f7a;--personal:#ffc86b;--good:#86d39b;--mid:#f0c46a;--bad:#f09a8a;--danger-text:#f09a8a;--on-good:#0b0b0c;--on-mid:#0b0b0c;--on-bad:#0b0b0c}
.evening{--primary:#f2ebe1;--on-primary:#1c1814;--background:#14110e;--card:#1c1814;--foreground:#f2ebe1;--muted:#29231d;--tint:#29231d;--muted-foreground:#b5aa9b;--border:#2f2821;--input:#776d63;--ring:#f2ebe1;--inverse:#f2ebe1;--on-inverse:#14110e;--sleep:#4f8c79;--work:#86a797;--personal:#d4a85e;--good:#86d39b;--mid:#f0c46a;--bad:#f09a8a;--danger-text:#f09a8a;--on-good:#0b0b0c;--on-mid:#0b0b0c;--on-bad:#0b0b0c}
/* Buduji se landing. Tokens (colours, fonts) are prepended by build.mjs from packages/core; DESIGN.md is the system.
   Light by default; [data-theme=dark] (theme.js, the visitor's choice) switches to Noc. No OS media query on purpose. */
*, *::before, *::after { box-sizing: border-box; }
/* the phone bezel: near-black on daylight, a lifted teal-grey on Noc so the phone does not dissolve into the night */
:root { --bezel: #0e1614; --bezel-edge: transparent; --lift: rgba(31, 43, 39, .16); }
:root[data-theme=dark] { --bezel: #2b4148; --bezel-edge: rgba(242, 234, 216, .14); --lift: rgba(0, 0, 0, .38); }
.only-dark { display: none; }
:root[data-theme=dark] .only-dark { display: block; }
:root[data-theme=dark] .only-light { display: none; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--input) var(--background); }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font: 400 1.0625rem/1.6 Nunito, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-variant-numeric: tabular-nums;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-weight: 800; line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2.5px; }
::selection { background: var(--work); color: var(--foreground); }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

.wrap { width: 100%; max-width: 75rem; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 700px) { .wrap { padding-inline: 32px; } }

.skip { position: absolute; left: 16px; top: -100px; z-index: 10; padding: 10px 16px; border-radius: 8px; background: var(--inverse); color: var(--on-inverse); font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- atoms ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 22px; border-radius: 8px;
  font-size: 1rem; font-weight: 800; text-decoration: none; line-height: 1.2; text-align: center;
  transition: background-color .2s, opacity .2s;
}
/* form buttons: no browser chrome; :where keeps the specificity of .btn so the variants below still win */
.btn:where(button) { font-family: inherit; border: 0; background: none; cursor: pointer; }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { opacity: .9; }
.btn-outline { border: 1px solid var(--input); color: var(--foreground); }
.btn-outline:hover { background: var(--muted); }
.badge {
  display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border-radius: 99px;
  background: var(--muted); color: var(--foreground); font-size: .75rem; font-weight: 800; letter-spacing: .02em;
}
.lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.55; color: var(--muted-foreground); max-width: 60ch; }
section h2 { font-size: clamp(2rem, 1.35rem + 2.5vw, 3.25rem); letter-spacing: -.02em; margin-bottom: 16px; max-width: 22ch; }
h3 { font-size: 1.3125rem; letter-spacing: -.01em; line-height: 1.2; }

/* ---------- header ---------- */
.top { display: flex; align-items: center; gap: 10px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; text-decoration: none; }
.mark { width: 34px; height: 34px; }
.top-nav { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lang { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; justify-content: center; padding: 0 10px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.lang:hover { background: var(--muted); }
.lang-short { display: none; }
.theme-toggle {
  display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 8px; background: none; color: var(--foreground); cursor: pointer;
}
:root[data-theme] .theme-toggle { display: inline-flex; }
.theme-toggle:hover { background: var(--muted); }
.theme-toggle .i-sun, :root[data-theme=dark] .theme-toggle .i-moon { display: none; }
:root[data-theme=dark] .theme-toggle .i-sun { display: block; }
.top-cta { min-height: 44px; padding: 0 14px; font-size: .9375rem; }
@media (max-width: 599px) { .lang-long, .top-cta { display: none; } .lang-short { display: inline; } }

/* ---------- hero: the day dial is the sun over a street being built ---------- */
.hero { display: grid; padding-block: 24px 40px; }
.hero h1 { font-size: clamp(2.75rem, 1.5rem + 5.2vw, 5.25rem); letter-spacing: -.03em; line-height: 1; max-width: 11ch; }
.tagline { margin-top: 18px; font-size: clamp(1.25rem, 1.05rem + .9vw, 1.75rem); font-weight: 800; line-height: 1.25; color: var(--primary); max-width: 24ch; }
.hero .lead { margin-top: 20px; color: var(--foreground); max-width: 46ch; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.note { margin-top: 16px; max-width: 52ch; font-size: .9375rem; color: var(--muted-foreground); }
.note strong { color: var(--foreground); }
/* inline links get a 24px-tall target */
.note a, .qs details a, .ppoints a { display: inline-block; padding-block: 2px; }
@media (max-width: 899px) {
  .hero-text { display: contents; }
  .hero-art { order: 1; margin-top: 32px; }
  .hero .note { order: 2; margin-top: 0; }
}
@media (max-width: 599px) {
  .ctas { align-items: center; gap: 4px 20px; }
  .btn-android { min-height: 44px; padding: 0 2px; border: 0; font-weight: 800; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
  .btn-android:hover { background: none; text-decoration-thickness: 2.5px; }
}

.hero-art { position: relative; margin-bottom: 164px; }
/* the pictures' own sky colour while they load, so text set on the sky stays readable in both themes */
.illo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 0; border-radius: 22px; background: #dcebe4; }
.illo.only-dark img { background: #13303a; }
/* phones: a square picture, so the app shows up in the first screens */
@media (max-width: 899px) { .hero-art .illo img { aspect-ratio: 1; } }
.sun { position: absolute; top: 4%; right: 6%; width: 38%; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.sun .dial { width: 100%; padding: 9%; border-radius: 50%; background: var(--card); box-shadow: 0 10px 28px var(--lift); }
.dial line { stroke-width: 9; stroke-linecap: round; transition: opacity .7s cubic-bezier(.16, 1, .3, 1); }
/* the in-app dial's third tokens (not the paler logo work tick), so hours ahead stay distinct from hours behind */
.dial .t-sleep { stroke: var(--sleep); }
.dial .t-work { stroke: var(--work); }
.dial .t-personal { stroke: var(--personal); }
/* hours ahead keep their third's hue, only quieter: the three thirds stay readable at any time of day */
.dial .ahead { opacity: .3; }
.dial-now { padding: 6px 12px; border-radius: 10px; background: var(--card); color: var(--foreground); font-size: .8125rem; font-weight: 700; line-height: 1.35; text-align: center; max-width: 15rem; box-shadow: 0 4px 12px var(--lift); }
.phone { position: absolute; left: 4%; bottom: -132px; width: 52%; padding: 7px; border-radius: 34px; background: var(--bezel); box-shadow: inset 0 0 0 1px var(--bezel-edge), 0 24px 48px var(--lift); }
.phone img { border-radius: 28px; width: 100%; }
@media (max-width: 899px) { .sun { top: 5%; right: 5%; width: 36%; } }
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; column-gap: 56px; padding-block: 40px 96px; }
  .phone { left: -8%; bottom: -64px; width: 46%; }
  .hero-art { margin-bottom: 0; }
}

/* ---------- how: morning, daytime, evening ---------- */
.how, .why, .faq { padding-block: clamp(72px, 9vw, 128px) 0; }
.parts { display: grid; gap: 48px; margin-top: 48px; }
.part h3 { margin-top: 24px; }
.part p { margin-top: 10px; color: var(--muted-foreground); max-width: 46ch; }
.crop { padding: 28px 28px 0; border-radius: 22px; background: var(--muted); overflow: hidden; }
.device { position: relative; max-width: 300px; margin-inline: auto; padding: 8px 8px 0; border-radius: 38px 38px 0 0; background: var(--bezel); box-shadow: inset 0 0 0 1px var(--bezel-edge), 0 18px 40px var(--lift); }
.device img { width: 100%; aspect-ratio: 390 / 600; object-fit: cover; object-position: 50% 0; border-radius: 30px 30px 0 0; }
@media (min-width: 900px) { .parts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }

/* ---------- journey: eight week-ticks ---------- */
.journey { display: grid; gap: 56px; padding-block: clamp(72px, 9vw, 128px) 0; }
.weeks { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--border); }
.weeks li { display: grid; grid-template-columns: 6px 5.25rem 1fr; align-items: center; column-gap: 16px; min-height: 56px; padding-block: 8px; border-bottom: 1px solid var(--border); }
.wk-tick { width: 6px; height: 16px; border-radius: 3px; background: var(--input); }
.now .wk-tick { height: 26px; background: var(--primary); }
.wk-n { font-size: .875rem; font-weight: 700; color: var(--muted-foreground); }
.wk-t { font-weight: 600; }
.now .wk-t { font-weight: 800; }
.streaks { margin-top: 24px; font-weight: 700; max-width: 46ch; }
.journey-art { align-self: start; }
.journey-art .illo img { aspect-ratio: 9 / 14; }
@media (min-width: 900px) { .journey { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; } .journey-art { position: sticky; top: 24px; } }

.quote { display: grid; gap: 24px; margin-block: clamp(72px, 9vw, 128px) 0; }
.quote-art { position: relative; }
.quote blockquote { position: absolute; top: 6%; left: 8%; right: 8%; margin: 0; }
/* set on the picture's own pale sky, so the ink does not follow the theme */
.quote blockquote p { color: #1f2b27; font-size: clamp(2.25rem, 1.4rem + 3.4vw, 3.75rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.quote figcaption { color: var(--muted-foreground); font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.55; max-width: 40ch; }
.quote .by { display: block; margin-bottom: 8px; color: var(--foreground); font-size: 1.3125rem; font-weight: 800; }
@media (min-width: 900px) {
  .quote { grid-template-columns: minmax(0, 520px) minmax(0, 1fr); align-items: center; column-gap: 64px; }
}

/* ---------- why ---------- */
.points { display: grid; gap: 0 48px; margin-top: 40px; }
.point { padding-block: 24px 32px; border-top: 1px solid var(--border); }
.point p { margin-top: 10px; max-width: 54ch; }
.sources { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 6px; font-size: .875rem; color: var(--muted-foreground); }
.sources a { display: inline-block; padding-block: 4px; }
@media (min-width: 800px) { .points { grid-template-columns: 1fr 1fr; } }

/* ---------- privacy: the evening palette ---------- */
.privacy { margin-top: clamp(72px, 9vw, 128px); padding-block: clamp(72px, 9vw, 120px); background: var(--background); color: var(--foreground); }
.privacy-head { display: grid; gap: 40px; align-items: center; }
.okno { max-width: 360px; }
.okno img { aspect-ratio: 1; }
@media (min-width: 900px) { .privacy-head { grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; } }
.employer { margin-top: 8px; font-size: clamp(1.375rem, 1.05rem + 1.4vw, 2rem); line-height: 1.3; font-weight: 600; color: var(--muted-foreground); max-width: 34ch; }
.employer strong { color: var(--foreground); font-weight: 800; }
.ppoints { display: grid; gap: 0 40px; margin-top: 48px; }
.ppoints article { padding-block: 24px; border-top: 1px solid var(--border); }
.ppoints p { margin-top: 8px; color: var(--muted-foreground); }
.arrow { display: inline-flex; align-items: center; min-height: 44px; margin-top: 24px; font-weight: 800; }
.arrow::after { content: ''; width: 8px; height: 8px; margin-left: 10px; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); }
@media (min-width: 900px) { .ppoints { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- pricing: Free is the open page, Plus the lifted sheet ---------- */
.pricing, .roadmap { padding-block: clamp(72px, 9vw, 128px) 0; }
.tiers { display: grid; gap: 20px; margin-top: 48px; }
.tier { display: flex; flex-direction: column; padding: 28px 24px 24px; border-radius: 22px; }
.tier-free { background: var(--muted); }
.tier-plus { background: var(--card); box-shadow: 0 1px 0 var(--border), 0 22px 48px var(--lift); }
.tier-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.badge-plus { background: var(--primary); color: var(--on-primary); }
.price { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.price strong { font-size: clamp(2.25rem, 1.8rem + 1.8vw, 3.25rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.price span { font-size: 1.125rem; font-weight: 700; color: var(--muted-foreground); }
.tier-sub { margin-top: 8px; color: var(--muted-foreground); }
.trial { margin-top: 16px; font-weight: 700; max-width: 40ch; }
.includes { margin-top: 24px; font-weight: 800; }
.feats { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.includes + .feats { margin-top: 10px; }
.feats li { position: relative; padding-left: 30px; }
/* a drawn check in the action colour, one 2px stroke like the page's other marks */
.feats li::before { content: ''; position: absolute; left: 4px; top: .32em; width: 6px; height: 12px; border: solid var(--primary); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.choose { margin-top: auto; padding-top: 28px; }
.choose .btn { width: 100%; }
.tier-free .btn-outline:hover { background: var(--background); }
.honest { display: grid; gap: 8px; margin-top: 32px; max-width: 62ch; color: var(--muted-foreground); }
.never { color: var(--foreground); font-weight: 800; }
@media (min-width: 900px) {
  .tiers { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 24px; align-items: stretch; }
  .tier { padding: 36px 36px 32px; }
}

/* the optional e-mail: revealed after a pricing button (JS), always shown on the thank-you page */
.notify { margin-top: 40px; max-width: 40rem; }
.notify[hidden] { display: none; }
.notify-form { padding: 24px; border-radius: 22px; background: var(--muted); }
.notify-p { margin-top: 6px; color: var(--muted-foreground); }
.field-label { display: block; margin-top: 20px; font-weight: 700; }
.field-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.field-row input {
  flex: 1 1 14rem; min-width: 0; min-height: 52px; padding: 0 14px; border: 1px solid var(--input); border-radius: 8px;
  background: var(--card); color: var(--foreground); font: inherit; caret-color: var(--primary);
}
.field-row input:focus-visible { outline-offset: 0; }
.field-row .btn { flex: 0 0 auto; }
.field-row .btn:disabled { opacity: .6; cursor: progress; }
.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; font-size: .9375rem; color: var(--muted-foreground); cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--primary); cursor: pointer; }
.check a { display: inline-block; padding-block: 2px; color: var(--foreground); }
.form-msg { margin-top: 12px; font-weight: 700; color: var(--danger-text); }
.form-msg:empty { display: none; }
.notify-done { padding: 20px 24px; border-radius: 22px; background: var(--muted); font-size: 1.125rem; font-weight: 800; }
.notify-done:focus { outline: none; }
/* no JS: the API sends the visitor back to #e-mail, which swaps the form for the confirmation */
.notify-done:target { display: block; }
.notify:has(.notify-done:target) .notify-form { display: none; }
.free-next { padding: 24px; border-radius: 22px; background: var(--muted); }
.free-next[hidden] { display: none; }
.free-next p { font-size: 1.125rem; font-weight: 700; }
.free-next .ctas { margin-top: 16px; }
/* no-JS: the free choice lands on /dekujeme/#zdarma, which shows where to start instead of the Plus e-mail form */
.free-next:target { display: block; }
.notify:has(.free-next:target) .notify-form { display: none; }

/* ---------- roadmap: the journey's week ticks, now as statuses ---------- */
.road { display: grid; gap: 40px; margin-top: 40px; }
.road-next { display: grid; gap: 40px; align-content: start; }
.road-group h3 { display: flex; align-items: center; gap: 12px; font-size: 1.125rem; }
.road-tick { width: 6px; height: 22px; border-radius: 3px; }
.road-beta .road-tick { background: var(--primary); }
.road-soon .road-tick { box-shadow: inset 0 0 0 2px var(--primary); }
.road-later .road-tick { height: 14px; background: var(--input); }
.road-list { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--border); }
.road-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 2px; padding-block: 14px; border-bottom: 1px solid var(--border); }
.road-t { font-weight: 800; }
.road-list .badge { align-self: start; margin-top: 1px; }
.road-p { grid-column: 1 / -1; color: var(--muted-foreground); max-width: 60ch; }
/* "Chci ji na iPhonu": a quiet disclosure under the item; the form is the pricing's e-mail form, one size down */
.road-ask { grid-column: 1 / -1; margin-top: 12px; }
.road-ask summary { min-height: 44px; padding: 0 16px; font-size: .9375rem; cursor: pointer; list-style: none; }
.road-ask summary::-webkit-details-marker { display: none; }
.road-ask summary::after { content: ''; flex: none; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); transition: transform .25s cubic-bezier(.16, 1, .3, 1); }
.road-ask[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.road-ask .notify-form, .road-ask .notify-done { margin-top: 12px; max-width: 40rem; }
.road-ask .notify-form { padding: 20px; }
.notify-form h4 { margin: 0; font-size: 1.125rem; font-weight: 800; line-height: 1.25; text-wrap: balance; }
.badge.tier-plus { background: var(--primary); color: var(--on-primary); }
.badge.tier-b2b, .badge.tier-partner { background: none; box-shadow: inset 0 0 0 1px var(--input); }
@media (min-width: 900px) { .road { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; } }

/* ---------- thank-you page ---------- */
.thanks .rano { display: block; margin-bottom: 8px; }
.thanks .rano img { aspect-ratio: 16 / 9; }
.thanks .lead { margin-top: 12px; }
.thanks .notify { margin-top: 32px; }
.thanks .notify + p { margin-top: 16px; }
/* after an e-mail (#e-mail, #iphone) the lead about clicks does not apply */
.thanks:has(.notify-done:target) .lead { display: none; }

/* ---------- faq ---------- */
.qs { margin-top: 32px; border-top: 1px solid var(--border); max-width: 52rem; }
.qs details { border-bottom: 1px solid var(--border); }
.qs summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding-block: 12px; font-size: 1.125rem; font-weight: 800; cursor: pointer; list-style: none; }
.qs summary::-webkit-details-marker { display: none; }
.qs summary::after { content: ''; flex: none; width: 9px; height: 9px; margin-right: 6px; border: solid var(--muted-foreground); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-2px, -2px); transition: transform .25s cubic-bezier(.16, 1, .3, 1); }
.qs details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.qs details p { padding-bottom: 20px; max-width: 60ch; color: var(--muted-foreground); }
.qs details a { color: var(--foreground); }

/* ---------- close + footer ---------- */
.close { display: flex; flex-direction: column; align-items: center; text-align: center; padding-block: clamp(80px, 10vw, 136px); }
.rano { width: 100%; max-width: 720px; margin-bottom: 48px; }
.rano img { aspect-ratio: 16 / 9; }
.close h2 { margin-inline: auto; }
.close p { color: var(--muted-foreground); max-width: 40ch; }
.close .ctas { justify-content: center; }
.foot { padding-block: 32px 48px; border-top: 1px solid var(--border); font-size: .875rem; color: var(--muted-foreground); display: grid; gap: 10px; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: var(--foreground); font-weight: 800; font-size: 1rem; }
.foot-brand .mark { width: 26px; height: 26px; }
.foot-links { list-style: none; margin: 8px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 24px; }
.foot-links a { display: inline-block; padding-block: 11px; color: var(--foreground); }
.foot p { max-width: 80ch; }

/* ---------- privacy policy page ---------- */
.policy { max-width: 46rem; padding-block: 24px 96px; }
.namesti { display: block; margin-bottom: 8px; }
.namesti img { aspect-ratio: 4 / 3; object-position: 50% 30%; }
.namesti ~ h1 + p { margin-top: 12px; }
.policy h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); letter-spacing: -.02em; margin-top: 16px; }
.policy h2 { font-size: 1.3125rem; margin: 40px 0 8px; }
.policy section p + p { margin-top: 12px; }
.back { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 16px; color: var(--muted-foreground); font-size: .9375rem; }
.badge-draft { background: var(--personal); color: #1f2b27; }
.draft { margin-top: 16px; padding: 16px; border-radius: 10px; background: var(--muted); }
mark { background: var(--muted); color: var(--foreground); border-bottom: 1.5px dashed var(--input); padding-inline: 2px; }
.draft mark { background: var(--card); }

/* daylight pictures without a night twin sit a little lower in the dark theme; the evening band gets a soft edge
   so its brown does not run into the Noc teal */
:root[data-theme=dark] .illo:not(.only-dark):not(.okno) img { filter: brightness(.88) saturate(.9); }
:root[data-theme=dark] .privacy { box-shadow: inset 0 1px 0 var(--border), inset 0 -1px 0 var(--border); }

/* ---------- the method: index + one page per topic (Read: a calm column, the app as evidence) ---------- */
.top-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.top-link:hover { background: var(--muted); }
@media (max-width: 599px) { .top-link { display: none; } }
.weeks a.wk-t { text-decoration-color: var(--border); }
.weeks a.wk-t:hover { text-decoration-color: currentColor; }

.method { padding-block: 8px 96px; }
.method h1 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.25rem); letter-spacing: -.03em; line-height: 1.02; max-width: 14ch; }
.method section { padding-top: clamp(56px, 7vw, 96px); }
.method section h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); margin-bottom: 14px; }
.method section > p { max-width: 62ch; }
.m-what p + p { margin-top: 14px; }
.nw { white-space: nowrap; }

.m-hero { padding-top: 16px; max-width: 46rem; }
.m-week { margin-top: 14px; font-weight: 700; color: var(--muted-foreground); }
/* the week-ticks: eight links, the open topic stands taller in the action colour */
.m-ticks { list-style: none; display: flex; margin: 6px 0 0 -19px; padding: 0; }
.m-ticks a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; }
.m-ticks a:hover { background: var(--muted); }
.m-tick { width: 6px; height: 16px; border-radius: 3px; background: var(--input); transition: height .3s cubic-bezier(.16, 1, .3, 1); }
.m-ticks a:hover .m-tick { height: 22px; }
.m-ticks [aria-current] .m-tick { height: 28px; background: var(--primary); }
.m-promise { margin-top: 18px; font-size: clamp(1.25rem, 1.05rem + .9vw, 1.625rem); font-weight: 700; line-height: 1.35; max-width: 34ch; }
.method .ctas { margin-top: 28px; }
.m-cta-note { margin-top: 12px; max-width: 46ch; font-size: .9375rem; color: var(--muted-foreground); }

/* hero, then what it is, then the phone; on wide screens the phone sits beside both */
.m-top { display: grid; }
.m-shot { margin: 40px 0 0; padding: 32px 24px 28px; border-radius: 22px; background: var(--muted); display: grid; justify-items: center; gap: 18px; }
.m-phone { width: min(300px, 72vw); padding: 7px; border-radius: 34px; background: var(--bezel); box-shadow: inset 0 0 0 1px var(--bezel-edge), 0 22px 44px var(--lift); }
.m-phone img { width: 100%; border-radius: 28px; }
.m-shot figcaption { max-width: 34ch; text-align: center; font-size: .9375rem; color: var(--muted-foreground); }
@media (min-width: 900px) {
  .m-top { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); column-gap: 64px; align-items: start; }
  .m-hero, .m-what { grid-column: 1; }
  .m-shot { grid-column: 2; grid-row: 1 / 3; margin-top: 16px; position: sticky; top: 24px; }
}

.m-why .points { margin-top: 32px; }
.method .m-start { margin-top: clamp(56px, 7vw, 96px); padding: 32px 24px; border-radius: 22px; background: var(--card); box-shadow: 0 1px 0 var(--border), 0 18px 40px var(--lift); max-width: 46rem; }
.m-step { font-size: clamp(1.1875rem, 1.05rem + .6vw, 1.4375rem); font-weight: 700; line-height: 1.4; max-width: 36ch; }
.method .m-start .ctas { margin-top: 24px; }
@media (min-width: 700px) { .method .m-start { padding: 40px; } }
.m-origin p strong { color: var(--primary); }

.m-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(56px, 7vw, 96px); padding-top: 24px; border-top: 1px solid var(--border); }
.m-pager a { display: grid; gap: 2px; min-height: 44px; padding: 8px 0; text-decoration: none; }
.m-pager a span { font-size: .875rem; font-weight: 700; color: var(--muted-foreground); }
.m-pager a strong { font-size: 1.125rem; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: var(--border); }
.m-pager a:hover strong { text-decoration-color: currentColor; }
.m-next { grid-column: 2; text-align: right; }
.m-all { margin-top: 8px; }

/* index: the eight topics as the home page's week list, each with its promise */
.method-index { display: grid; gap: 48px; }
.method-index .lead { margin-top: 16px; }
.mi-list { margin-top: 36px; }
.mi-list li { position: relative; grid-template-rows: auto auto; row-gap: 2px; padding-block: 14px; }
.mi-list .wk-tick, .mi-list .wk-n { grid-row: 1 / 3; align-self: center; }
.mi-list .wk-t { font-size: 1.1875rem; font-weight: 800; }
/* the whole row is the link's target */
.mi-list .wk-t::after { content: ''; position: absolute; inset: 0; }
.mi-list li:hover .wk-tick { height: 26px; background: var(--primary); }
.mi-list li:hover .wk-t { text-decoration-color: currentColor; }
.mi-p { grid-column: 3; color: var(--muted-foreground); max-width: 52ch; }
.mi-quote { margin: 48px 0 0; }
.mi-quote blockquote { margin: 0; }
.mi-quote blockquote p { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.mi-quote figcaption { margin-top: 12px; color: var(--muted-foreground); max-width: 46ch; }
.mi-quote .by { display: block; color: var(--foreground); font-weight: 800; }
.mi-art .illo img { aspect-ratio: 9 / 14; }
@media (max-width: 899px) { .mi-art .illo img { aspect-ratio: 16 / 10; object-position: 50% 30%; } }
@media (min-width: 900px) { .method-index { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; align-items: start; } .mi-art { position: sticky; top: 24px; } }
