/* With me – produktový web. Bez závislostí, systémové písmo. */

:root {
  --brand: #F29A52;          /* meruňková: značka a pásek */
  --brand-soft: #FCE6D2;
  --bg: #FFF8F0;             /* krémová */
  --surface: #FFFFFF;
  --surface-2: #FCEFE2;
  --text: #2B211C;           /* tmavě hnědá, 14.9:1 na --bg */
  --muted: #6B5A4E;          /* 6.2:1 na --bg */
  --accent-text: #A4501A;    /* tmavá meruňková pro drobné nadpisy, 5.3:1 */
  --cta: #0E4A55;            /* tmavý petrolej, bílé písmo 9.9:1 */
  --cta-hover: #0A3A43;
  --cta-text: #FFFFFF;
  --line: rgba(43, 33, 28, .12);
  --shadow: 0 1px 2px rgba(43, 33, 28, .06), 0 12px 40px -12px rgba(43, 33, 28, .18);
  --sym-adult: #2B211C;
  --sym-child: #FFF8F0;
  --radius: 22px;
  --wrap: 1120px;
  --font: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand-soft: #3A2A1F;
    --bg: #1A1411;
    --surface: #251D18;
    --surface-2: #2A201A;
    --text: #F6ECE1;         /* 15.6:1 */
    --muted: #C2B0A2;        /* 8.7:1 */
    --accent-text: #F5AA6B;  /* 9.4:1 */
    --cta: #8FD1CF;          /* světlý petrolej, tmavé písmo 8.8:1 */
    --cta-hover: #A6DCDA;
    --cta-text: #0B2A2F;
    --line: rgba(246, 236, 225, .12);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 40px -12px rgba(0, 0, 0, .6);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--cta); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 6.4vw, 4.6rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--cta); color: var(--cta-text); padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.skip:focus { top: 16px; }

.eyebrow {
  font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-text); margin-bottom: 1rem;
}
.lead { font-size: clamp(1.15rem, 2vw, 1.35rem); color: var(--muted); max-width: 38em; }

/* Tlačítka */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 1.6em; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 1.05rem; text-decoration: none;
  transition: background-color .2s, transform .2s, box-shadow .2s, border-color .2s;
}
.btn-primary { background: var(--cta); color: var(--cta-text); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--cta-hover); transform: translateY(-1px); }
.btn-ghost { border: 2px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }

/* Navigace */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 12px clamp(16px, 4vw, 40px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; text-decoration: none; letter-spacing: -.01em; }
.brand-mark { width: 36px; height: 36px; }
.nav nav { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 28px); font-size: 1rem; }
.nav nav a { text-decoration: none; color: var(--muted); }
.nav nav a:hover { color: var(--text); }
.nav nav a.nav-cta { color: var(--cta-text); background: var(--cta); padding: 8px 18px; border-radius: 999px; font-weight: 700; }
@media (max-width: 640px) {
  .nav nav a:not(.nav-cta) { display: none; }
}

/* Hero */
.hero { padding: clamp(40px, 8vw, 110px) 0 clamp(56px, 9vw, 120px); }
.hero-grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; grid-template-columns: 1.15fr .85fr; }
.hero .hl { color: var(--accent-text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.hero-art { margin: 0; }
.band-visual { max-width: 440px; margin: 0 auto; }
.hero-symbol { width: 100%; height: auto; }
.sym-bg { fill: var(--brand); }
.sym-adult { fill: var(--sym-adult); }
.sym-child { fill: var(--sym-child); }
.sym-band-back { fill: none; stroke: #2B211C; stroke-opacity: .38; stroke-width: 10; stroke-linecap: round; }
.sym-band-gap { fill: none; stroke: var(--brand); stroke-width: 24; stroke-linecap: round; }
.sym-band-front { fill: none; stroke: #2B211C; stroke-width: 11; stroke-linecap: round; }
@media (prefers-reduced-motion: no-preference) {
  .hero-symbol { animation: float 7s ease-in-out infinite; }
  @keyframes float { 50% { transform: translateY(-8px); } }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .band-visual { max-width: 220px; }
}

/* Sekce */
.section { padding: clamp(64px, 10vw, 128px) 0; }
.section h2 { max-width: 20ch; }
.narrow h2 { max-width: none; }

/* Příběh */
.story { background: var(--surface-2); }
.story-body p { font-size: clamp(1.2rem, 2.2vw, 1.45rem); line-height: 1.6; }
.story-body p:first-child::first-letter { color: var(--accent-text); }
.story-sign { font-size: 1rem !important; color: var(--muted); font-weight: 600; margin-top: 2rem; }
.story-sign::before { content: ""; display: inline-block; width: 28px; height: 3px; background: var(--brand); border-radius: 3px; vertical-align: middle; margin-right: 12px; }

/* Jak to funguje */
.how-grid { display: grid; grid-template-columns: 1fr auto; gap: clamp(40px, 6vw, 96px); align-items: center; margin-top: 2.5rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; }
.step p { color: var(--muted); margin: 0; }
.step h3 { margin-bottom: .3em; }
.step-num {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: var(--brand); color: #2B211C; font-weight: 800; font-size: 1.3rem;
}
@media (max-width: 860px) {
  .how-grid { grid-template-columns: 1fr; }
}

/* Mockup telefonu */
.phone-wrap { margin: 0; display: grid; justify-items: center; gap: 16px; }
.phone-wrap figcaption { font-size: .9rem; color: var(--muted); text-align: center; max-width: 300px; }
.phone {
  position: relative; width: min(310px, 100%);
  padding: 14px; border-radius: 46px;
  background: #1E1814; box-shadow: var(--shadow), inset 0 0 0 2px #3a302a;
}
.phone-notch { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; border-radius: 12px; background: #1E1814; z-index: 2; }
.screen {
  background: #FFF8F0; color: #2B211C; border-radius: 34px;
  padding: 54px 18px 22px; display: grid; gap: 10px; font-size: .95rem; line-height: 1.4;
}
.demo-badge {
  justify-self: center; margin: -6px 0 2px; padding: 3px 10px; border-radius: 999px;
  background: #2B211C; color: #FFF8F0; font-size: .72rem; font-weight: 700; letter-spacing: .04em;
}
.screen-head { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.screen-title { font-size: 1.15rem; font-weight: 800; line-height: 1.25; margin: 4px 0 6px; letter-spacing: -.01em; }
.card { background: #FFFFFF; border: 1px solid rgba(43, 33, 28, .1); border-radius: 16px; padding: 10px 14px; display: grid; gap: 2px; }
.card-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: #A4501A; }
.card .muted { color: #6B5A4E; }
.plate {
  justify-self: start; margin-top: 4px; padding: 2px 10px; border: 2px solid #2B211C; border-radius: 6px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-weight: 700; letter-spacing: .06em; font-size: .9rem;
}
.screen-btn { display: block; text-align: center; padding: 12px; border-radius: 999px; font-weight: 800; }
.screen-btn-call { background: #0E4A55; color: #FFFFFF; margin-top: 4px; }
.screen-btn-ghost { border: 2px solid rgba(43, 33, 28, .18); color: #2B211C; }

/* Co přináší */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 2.5rem; }
.benefit { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; }
.benefit p { color: var(--muted); margin: 0; }
.benefit-icon { width: 48px; height: 48px; margin-bottom: 18px; fill: none; stroke: var(--accent-text); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 860px) { .cards-3 { grid-template-columns: 1fr; } }

/* Soukromí */
.privacy { background: var(--surface-2); }
.privacy-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li {
  position: relative; padding: 18px 20px 18px 60px; background: var(--surface);
  border-radius: 18px; border: 1px solid var(--line); color: var(--muted);
}
.checklist li strong { color: var(--text); }
.checklist li::before {
  content: ""; position: absolute; left: 20px; top: 20px; width: 24px; height: 24px; border-radius: 8px;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%232B211C' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
@media (max-width: 860px) { .privacy-grid { grid-template-columns: 1fr; } }

/* Symbol a partneři */
.symbol p { font-size: 1.2rem; }
.partners { margin-top: 2.5rem; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); border: 2px dashed color-mix(in srgb, var(--brand) 70%, transparent); }
.partners p { font-size: 1.05rem; color: var(--muted); }
.tags { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { padding: 8px 16px; border-radius: 999px; background: var(--brand-soft); font-weight: 600; font-size: 1rem; }

/* Pilot */
.pilot-card {
  background: var(--brand); color: #2B211C; border-radius: 32px;
  padding: clamp(32px, 6vw, 72px);
}
.pilot-card .eyebrow { color: #2B211C; opacity: .85; }
.pilot-card h2 { max-width: 18ch; }
.pilot-card p { font-size: 1.15rem; max-width: 40em; }
.pilot-list { margin: 0 0 2rem; padding-left: 1.2em; font-size: 1.1rem; display: grid; gap: 8px; max-width: 40em; }
.pilot-card .btn-primary { background: #0E4A55; color: #FFFFFF; }
.pilot-card .btn-primary:hover { background: #0A3A43; }
.pilot-card :focus-visible { outline-color: #2B211C; }

/* FAQ */
.faq-list { display: grid; gap: 12px; margin-top: 2rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 700; font-size: 1.12rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2.5px solid var(--accent-text); border-bottom: 2.5px solid var(--accent-text);
  transform: rotate(45deg); transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { padding: 0 24px 20px; margin: 0; color: var(--muted); }

/* Patička */
.footer { border-top: 1px solid var(--line); padding: 48px 0 56px; font-size: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.footer p { margin: .3em 0; }
.footer .brand { margin-bottom: 8px; }
.footer-meta { color: var(--muted); }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }

/* Jemné animace při scrollu (jen s JS a bez omezení pohybu) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

/* 404 */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px 16px; }
.notfound img { margin: 0 auto 24px; width: 96px; height: 96px; }
.notfound .lead { margin: 0 auto 2rem; }
