@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;--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}
@media (prefers-color-scheme:dark){:root{color-scheme:dark;--primary:#ffc86b;--on-primary:#13201c;--background:#0d1c24;--card:#132a31;--foreground:#f2ead8;--muted:#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;--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. */
*, *::before, *::after { box-sizing: border-box; }
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;
}
.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; }
.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; gap: 40px; 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); }

.hero-art { position: relative; margin-bottom: 64px; }
/* the pictures' own sky colour while they load, so text set on the sky stays readable in both schemes */
.illo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 0; border-radius: 22px; background: #dcebe4; }
.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 rgba(31, 43, 39, .16); }
.dial line { stroke-width: 9; stroke-linecap: round; transition: stroke .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); }
.dial .ahead { stroke: var(--muted); }
.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 rgba(31, 43, 39, .12); }
.phone { position: absolute; left: 5%; bottom: -64px; width: 48%; padding: 7px; border-radius: 34px; background: #0e1614; box-shadow: 0 24px 48px rgba(31, 43, 39, .28); }
.phone img { border-radius: 28px; width: 100%; }
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 56px; padding-block: 40px 96px; }
  .phone { left: -8%; 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: 20px 20px 0; border-radius: 22px; background: var(--muted); overflow: hidden; }
.crop img { width: 100%; aspect-ratio: 390 / 470; object-fit: cover; object-position: 50% 0; border-radius: 10px 10px 0 0; }
/* from "Spánek" to the third priority */
.crop-dnes img { object-position: 50% 76%; }
@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; }
.quote { position: relative; margin: 0; align-self: start; }
.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 colour scheme */
.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 { margin-top: 16px; color: var(--muted-foreground); max-width: 46ch; }
.quote .by { display: block; color: var(--foreground); font-weight: 800; }
@media (min-width: 900px) { .journey { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; } .quote { position: sticky; top: 24px; } }

/* ---------- 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); }
.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)); } }

/* ---------- 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); }
.close-mark { width: 72px; height: 72px; margin-bottom: 24px; }
.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: 10px; color: var(--foreground); }
.foot p { max-width: 80ch; }

/* ---------- privacy policy page ---------- */
.policy { max-width: 46rem; padding-block: 24px 96px; }
.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); }

/* the daylight pictures sit a little lower in the night */
@media (prefers-color-scheme: dark) {
  .illo img { filter: brightness(.9) saturate(.92); }
  .sun .dial, .dial-now { box-shadow: 0 10px 28px rgba(0, 0, 0, .35); }
}
