/* =========================================================
   Endloop – landing page
   Barvy a písma podle design systému Endloop (Noc → Úsvit)
   ========================================================= */

/* ---------- Písma (self-hosted, kvůli GDPR a rychlosti) ---------- */
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/space-grotesk-latin-500-normal.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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/space-grotesk-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,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: "Space Grotesk"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/space-grotesk-latin-600-normal.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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/space-grotesk-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,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: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/inter-latin-400-normal.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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/inter-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,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: "Inter"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/inter-latin-500-normal.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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/inter-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,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: "Inter"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/inter-latin-600-normal.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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/inter-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,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: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-latin-500-italic.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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-latin-ext-500-italic.woff2") format("woff2");
  unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* ---------- Tokeny ---------- */
:root {
  --bg: #0F1115;
  --surface: #141820;
  --surface-raised: #1A1E26;
  --border: #2A303B;
  --border-strong: #626B7A;
  --ink: #EDEAE4;
  --ink-soft: #D6D2CB;
  --ink-body: #B9BEC5;
  --ink-muted: #9AA0A8;
  --accent: #E8A54B;
  --accent-hover: #F2BE73;
  --on-accent: #0F1115;
  --success: #7FA393;

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --p: 0; /* průběh scrollu 0–1, nastavuje main.js */
}

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
section[id], .success { scroll-margin-top: 88px; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(232, 165, 75, .35); color: var(--ink); }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 760px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: var(--radius-md);
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ---------- Obloha: noc → úsvit ---------- */
.sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.sky__night, .sky__dawn { position: absolute; inset: 0; }
.sky__night {
  background:
    radial-gradient(ellipse 80% 60% at 70% 0%, rgba(60, 72, 110, .18), transparent 70%),
    linear-gradient(180deg, #0A0C11 0%, #0F1115 60%, #11141B 100%);
}
.sky__dawn {
  opacity: var(--p);
  background:
    radial-gradient(ellipse 90% 55% at 50% 115%, rgba(232, 165, 75, .42), rgba(160, 96, 40, .16) 45%, transparent 75%),
    linear-gradient(180deg, #11141B 0%, #17171C 55%, #241D17 100%);
}
.sky__stars { position: absolute; inset: 0; width: 100%; height: 100%; opacity: calc(1 - var(--p) * 1.25); }
.sky__stars circle { fill: #EDEAE4; }
.sky__stars .tw { animation: twinkle 4s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: .25; } 50% { opacity: .9; } }
.sky__grain {
  position: absolute; inset: -50%;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Typografie ---------- */
.eyebrow {
  margin: 0; font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-muted);
}
.eyebrow--accent { color: var(--accent); }
.section__title {
  margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em;
  font-size: clamp(30px, 4.2vw, 48px); line-height: 1.08;
}
.section__title--sm { font-size: clamp(24px, 2.8vw, 32px); }
.section__lead { margin: 0; max-width: 620px; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.65; color: var(--ink-body); }
.section__head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 44px; }

/* ---------- Tlačítka a ikonky ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 0 26px; border-radius: var(--radius-md);
  font: 600 16px/1 var(--font-sans); text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .2s var(--ease), background-color .2s, border-color .2s, color .2s, box-shadow .3s;
}
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn--primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 30px -10px rgba(232, 165, 75, .55); }
.btn--primary:hover { background: var(--accent-hover); color: var(--on-accent); transform: translateY(-1px); box-shadow: 0 12px 36px -10px rgba(232, 165, 75, .7); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { background: rgba(15, 17, 21, .4); color: var(--ink); border-color: var(--border-strong); font-weight: 500; }
.btn--ghost:hover { color: var(--ink); border-color: var(--ink-muted); background: rgba(26, 30, 38, .7); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

.icon-btn {
  width: 44px; height: 44px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md); border: 1px solid var(--border); color: var(--ink);
  background: rgba(15, 17, 21, .4); transition: color .2s, border-color .2s;
}
.icon-btn:hover { color: var(--accent); border-color: var(--accent); }
.icon-btn svg, .social-card__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
svg .fill { fill: currentColor; }

.card { background: rgba(26, 30, 38, .78); border: 1px solid var(--border); border-radius: var(--radius-lg); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

/* ---------- Hlavička ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 17, 21, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(42, 48, 59, .6);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.site-header__logo img { height: 30px; width: auto; }
.site-header__nav { display: flex; align-items: center; gap: 10px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: calc(100svh - 72px); display: flex; align-items: center; padding: 56px 0 96px; }
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero__text { display: flex; flex-direction: column; gap: 24px; }
.hero__title { margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: -.025em; font-size: clamp(38px, 5.6vw, 68px); line-height: 1.04; text-wrap: balance; }
.hero__lead { margin: 0; max-width: 560px; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.65; color: var(--ink-body); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero__visual { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.hero__quote { margin: 0; max-width: 320px; text-align: center; font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: 23px; line-height: 1.35; color: var(--ink-soft); }

.loop {
  width: min(380px, 78vw); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle, rgba(34, 39, 50, .9) 0%, rgba(20, 24, 32, .7) 52%, rgba(15, 17, 21, 0) 72%);
}
.loop svg { width: 66%; height: auto; overflow: visible; }
.loop__scribble { fill: none; stroke: #7C8492; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.loop__ring { fill: none; stroke: var(--ink); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 190; stroke-dashoffset: 190; }
.loop__dot { fill: var(--accent); opacity: 0; transform-box: fill-box; transform-origin: center; }
.loop.is-drawing .loop__scribble { transition: stroke-dashoffset 2.6s cubic-bezier(.45, 0, .2, 1); stroke-dashoffset: 0 !important; }
.loop.is-opening .loop__scribble { transition: opacity .9s ease; opacity: 0; }
.loop.is-opening .loop__ring { transition: stroke-dashoffset 1.2s cubic-bezier(.6, 0, .2, 1); stroke-dashoffset: 0; }
.loop.is-done .loop__dot { animation: dot-out .9s cubic-bezier(.2, 1.4, .4, 1) forwards; }
.loop.is-done svg { animation: breathe 6s ease-in-out 1s infinite; }
@keyframes dot-out { from { opacity: 0; transform: translate(-14px, 14px) scale(.4); } to { opacity: 1; transform: none; } }
@keyframes breathe { 0%, 100% { filter: drop-shadow(0 0 0 rgba(232, 165, 75, 0)); } 50% { filter: drop-shadow(0 0 18px rgba(232, 165, 75, .22)); } }

.scroll-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid var(--border-strong); border-radius: 14px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--ink-muted); animation: scroll-hint 2s ease-in-out infinite; }
@keyframes scroll-hint { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Sekce ---------- */
.section { padding: 112px 0; position: relative; }

/* Jak to funguje */
.how__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.how__phone-wrap { position: sticky; top: 112px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.phone__caption { margin: 0; font-size: 13px; color: var(--ink-muted); }

.phone {
  position: relative; width: 300px; height: 610px; border-radius: 46px; padding: 12px;
  background: linear-gradient(160deg, #2A303B, #161A22 40%, #20252F);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .06) inset, 0 30px 90px -40px rgba(232, 165, 75, .25);
}
.phone__notch { position: absolute; top: 22px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 14px; background: #07080B; z-index: 2; }
.phone__screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: var(--bg); padding: 58px 18px 18px; }
.phone__bar { display: flex; justify-content: space-between; align-items: center; font: 600 15px/1 var(--font-display); margin-bottom: 18px; }
.phone__time { font: 500 12px/1 var(--font-sans); color: var(--ink-muted); }

.screen { position: absolute; left: 18px; right: 18px; top: 92px; display: flex; flex-direction: column; gap: 12px;
  opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none; }
.phone[data-step="1"] [data-screen="1"], .phone[data-step="2"] [data-screen="2"], .phone[data-step="3"] [data-screen="3"] { opacity: 1; transform: none; }
.screen__label { margin: 4px 0 0; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
.screen__note { padding: 14px; border-radius: 14px; background: var(--surface-raised); border: 1px solid var(--border); font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); }
.screen__btn { margin-top: 10px; text-align: center; padding: 12px; border-radius: 12px; background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: 14px; }
.screen__done { margin-top: 8px; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--success); color: var(--success); font-weight: 600; font-size: 13px; }
.screen__done svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.meter { height: 8px; border-radius: 4px; background: var(--border); overflow: hidden; }
.meter__fill { height: 100%; border-radius: 4px; }
.meter__fill--high { width: 80%; background: var(--ink-muted); }
.meter__fill--drop { width: 80%; background: var(--success); transition: width 1.6s var(--ease) .4s; }
.phone[data-step="3"] .meter__fill--drop { width: 30%; }
.meter__scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-muted); }
.meter__scale strong { color: var(--ink); font-weight: 600; }
.meter__scale .ok { color: var(--success); }

.bubble { align-self: flex-start; max-width: 92%; padding: 11px 13px; border-radius: 14px 14px 14px 4px; background: #2A2116; border: 1px solid rgba(232, 165, 75, .35); color: #F2D6AE; font-size: 13.5px; line-height: 1.45; }
.bubble--soft { margin-top: 4px; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 6px 10px; border-radius: 999px; font-size: 12.5px; line-height: 1.3; }
.tag--fact { border: 1px solid var(--border-strong); color: var(--ink); background: var(--surface-raised); }
.tag--guess { border: 1px dashed var(--border-strong); color: var(--ink-muted); text-decoration: line-through; text-decoration-color: rgba(154, 160, 168, .6); }

.circle { position: relative; display: grid; place-items: center; margin: 4px 0; }
.circle__outer { width: 230px; height: 230px; border-radius: 50%; border: 1px dashed var(--border-strong); display: flex; align-items: flex-start; justify-content: center; padding-top: 18px; font-size: 11.5px; color: var(--ink-muted); }
.circle__inner { position: absolute; width: 140px; height: 140px; top: 50%; left: 50%; margin: -58px 0 0 -70px; border-radius: 50%; background: #2A2116; border: 1px solid rgba(232, 165, 75, .5); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 14px; text-align: center; font-size: 11.5px; line-height: 1.3; color: #F2D6AE; }

.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.step { min-height: 46vh; display: flex; align-items: center; }
.step__btn {
  all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: grid; grid-template-columns: auto 1fr; column-gap: 20px; row-gap: 8px;
  padding: 30px; border-radius: var(--radius-lg); border: 1px solid transparent; transition: background-color .4s, border-color .4s, opacity .4s;
  opacity: .5;
}
.step__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.step.is-active .step__btn { opacity: 1; background: rgba(26, 30, 38, .78); border-color: var(--border); }
.step__num { grid-row: span 2; font: 600 15px/1.9 var(--font-display); color: var(--accent); }
.step__title { font: 600 clamp(22px, 2.2vw, 28px)/1.2 var(--font-display); letter-spacing: -.01em; }
.step__text { font-size: 16.5px; line-height: 1.6; color: var(--ink-body); }

/* Test */
.quiz { padding: 0; overflow: hidden; }
.quiz__progress { height: 4px; background: var(--border); }
.quiz__progress-fill { height: 100%; width: 0; background: var(--accent); transition: width .5s var(--ease); }
.quiz__body { padding: 36px; min-height: 340px; display: flex; flex-direction: column; justify-content: center; }
.quiz__count { margin: 0 0 12px; font-size: 13px; color: var(--ink-muted); }
.quiz__q { margin: 0 0 26px; font: 600 clamp(21px, 2.4vw, 27px)/1.3 var(--font-display); letter-spacing: -.01em; }
.quiz__options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.quiz__opt {
  min-height: 56px; padding: 12px 18px; border-radius: var(--radius-md); border: 1px solid #3A414D; background: rgba(15, 17, 21, .6);
  color: var(--ink-soft); font: 500 16px/1.3 var(--font-sans); cursor: pointer; text-align: left; transition: border-color .2s, background-color .2s, transform .15s;
}
.quiz__opt:hover { border-color: var(--accent); background: rgba(42, 33, 22, .7); }
.quiz__opt:active { transform: scale(.98); }
.quiz__opt[aria-pressed="true"] { border-color: var(--accent); background: #2A2116; color: var(--accent-hover); font-weight: 600; }
.quiz__nav { margin-top: 22px; display: flex; justify-content: space-between; align-items: center; min-height: 24px; }
.quiz__back { all: unset; cursor: pointer; font-size: 14px; color: var(--ink-muted); }
.quiz__back:hover { color: var(--ink); }
.quiz__back:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.quiz__step-in { animation: step-in .45s var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.quiz__result { display: flex; flex-direction: column; gap: 14px; }
.quiz__score { display: flex; align-items: baseline; gap: 10px; }
.quiz__score strong { font: 600 56px/1 var(--font-display); color: var(--accent); }
.quiz__score span { color: var(--ink-muted); }
.quiz__result h3 { margin: 0; font: 600 28px/1.2 var(--font-display); letter-spacing: -.01em; }
.quiz__result p { margin: 0; color: var(--ink-soft); line-height: 1.6; }
.quiz__result .quiz__note { font-size: 13px; color: var(--ink-muted); }
.quiz__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }

/* Stoicismus */
.stoic__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.stoic__text { display: flex; flex-direction: column; gap: 16px; }
.quote { margin: 0; padding: 44px; display: flex; flex-direction: column; gap: 18px; }
.quote blockquote { margin: 0; font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: clamp(28px, 2.8vw, 38px); line-height: 1.22; }
.quote figcaption { font-size: 14px; color: var(--ink-muted); }

/* Waitlist */
.waitlist__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.waitlist__symbol { width: 64px; height: 64px; margin-bottom: 6px; }
.waitlist .section__lead { margin-bottom: 14px; }
.form { width: 100%; display: flex; flex-direction: column; gap: 14px; text-align: left; }
.form__label { font-size: 14px; color: var(--ink-muted); }
.form__row { display: flex; flex-wrap: wrap; gap: 12px; }
.form__input {
  flex: 1 1 260px; min-width: 0; height: 56px; padding: 0 18px; border-radius: var(--radius-md);
  border: 1px solid var(--border-strong); background: rgba(26, 30, 38, .9); color: var(--ink); font: 400 16px var(--font-sans);
  transition: border-color .2s, box-shadow .2s;
}
.form__input::placeholder { color: #7C8492; }
.form__input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232, 165, 75, .2); }
.form__input[aria-invalid="true"] { border-color: #F2BE73; }
.form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.55; color: var(--ink-muted); cursor: pointer; }
.form__consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: 0 0 auto; accent-color: var(--accent); cursor: pointer; }
.form__msg { margin: 0; min-height: 22px; font-size: 14px; color: var(--accent-hover); }
.success { width: 100%; padding: 32px; display: flex; flex-direction: column; align-items: center; gap: 8px; border-color: var(--success); }
.success svg { width: 40px; height: 40px; fill: none; stroke: var(--success); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.success p { margin: 0; color: var(--ink-muted); }
.success .success__title { font: 600 24px/1.3 var(--font-display); color: var(--ink); }

/* Sítě */
.social { padding-top: 24px; }
.social .section__head { margin-bottom: 28px; }
.social__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.social-card { display: flex; align-items: center; gap: 20px; padding: 26px; color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s var(--ease); }
.social-card:hover { color: var(--ink); border-color: var(--border-strong); transform: translateY(-2px); }
.social-card__icon { width: 56px; height: 56px; flex: 0 0 auto; border-radius: 16px; background: var(--bg); border: 1px solid var(--border); display: grid; place-items: center; color: var(--accent); }
.social-card__icon svg { width: 26px; height: 26px; }
.social-card__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.social-card__text strong { font: 600 19px/1.3 var(--font-display); }
.social-card__text span { font-size: 14px; color: var(--ink-muted); }
.social-card__arrow { width: 22px; height: 22px; fill: none; stroke: var(--ink-muted); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease), stroke .2s; }
.social-card:hover .social-card__arrow { stroke: var(--accent); transform: translate(2px, -2px); }

/* Patička */
.site-footer { border-top: 1px solid rgba(42, 48, 59, .7); background: rgba(11, 13, 17, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.site-footer__inner { padding-top: 48px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 26px; }
.site-footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.site-footer__top img { height: 26px; width: auto; }
.site-footer__social { display: flex; gap: 10px; }
.site-footer__safety { margin: 0; max-width: 720px; font-size: 14px; line-height: 1.6; color: var(--ink-muted); }
.site-footer__meta { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; color: var(--ink-muted); }

/* ---------- Objevování při scrollu (jen se zapnutým JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Mobil ---------- */
@media (max-width: 900px) {
  .hero { min-height: auto; padding: 40px 0 88px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { order: -1; }
  .loop { width: min(300px, 70vw); }
  .hero__quote { font-size: 21px; }
  .section { padding: 88px 0; }
  .how__grid { grid-template-columns: 1fr; gap: 36px; }
  .how__phone-wrap { position: relative; top: 0; }
  .step { min-height: 0; }
  .step__btn { padding: 22px; }
  .stoic__inner { grid-template-columns: 1fr; gap: 36px; }
  .quote { padding: 32px; }
  .social__grid { grid-template-columns: 1fr; }
  .scroll-hint { display: none; }
}
@media (max-width: 520px) {
  .container { padding: 0 20px; }
  .site-header__logo img { height: 26px; }
  .site-header__nav .icon-btn { display: none; }
  .site-header__nav .btn--sm { padding: 0 14px; }
  .hero__cta .btn { width: 100%; }
  .phone { width: 272px; height: 560px; border-radius: 42px; }
  .phone__screen { border-radius: 32px; padding: 54px 14px 14px; }
  .screen { left: 14px; right: 14px; top: 86px; }
  .circle__outer { width: 210px; height: 210px; }
  .quiz__body { padding: 26px 22px; }
  .quiz__options { grid-template-columns: 1fr; }
  .form__row .btn { width: 100%; }
  .quote { padding: 28px; }
  .social-card { padding: 20px; gap: 16px; }
}

/* ---------- Omezený pohyb ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Stránka ochrany osobních údajů ---------- */
.legal { padding: 72px 0 112px; }
.legal h1 { margin: 0 0 8px; font: 600 clamp(30px, 4vw, 44px)/1.1 var(--font-display); letter-spacing: -.02em; }
.legal h2 { margin: 44px 0 12px; font: 600 22px/1.3 var(--font-display); }
.legal p, .legal li { color: var(--ink-body); }
.legal .legal__meta { color: var(--ink-muted); margin-top: 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px; border-bottom: 1px solid var(--border); color: var(--ink-body); }
.legal th { color: var(--ink); font-weight: 600; }
.legal .table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-md); background: rgba(26, 30, 38, .6); }
.legal__back { display: inline-flex; margin-bottom: 32px; font-size: 15px; }
