/* =========================================================
   Jez po svém – landing page
   Barvy vychází z maskota: mrkev, nať, tmavá kapusta, hrášek.
   ========================================================= */

:root {
  --mrkev: #F7922A;        /* tělo maskota */
  --mrkev-svetla: #FFF1E2; /* podklady, zvýraznění změn */
  --nat: #C2531B;          /* nať maskota, stíny tlačítek, odkazy */
  --kapusta: #18302A;      /* text a tmavé plochy */
  --kapusta-70: #4A5D55;   /* vedlejší text */
  --hrasek: #E7F1DC;       /* pásy a panely */
  --hrasek-tmavy: #C9DFB4;
  --kapka: #5DB4E8;        /* slzy a noty maskota, informační prvky */
  --kapka-svetla: #EAF5FC;
  --papir: #FFFFFF;
  --zluta: #FFD66B;

  --font-display: 'Gabarito', 'Trebuchet MS', system-ui, sans-serif;
  --font-body: 'Atkinson Hyperlegible Next', 'Atkinson Hyperlegible', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-s: 12px;
  --radius-m: 20px;
  --radius-l: 32px;
  --press: 0 4px 0 var(--nat);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--papir);
  color: var(--kapusta);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-x: clip;
}
@media (min-width: 900px) { body { font-size: 1.125rem; } }

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 900; letter-spacing: -0.015em; }
h3 { font-size: 1.25rem; font-weight: 800; line-height: 1.2; }
p { margin: 0; }
a { color: var(--nat); text-underline-offset: 0.18em; }
a:hover { color: var(--kapusta); }

:focus-visible { outline: 3px solid var(--kapusta); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.lead { font-size: 1.15em; color: var(--kapusta-70); max-width: 38em; margin-top: 18px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--kapusta); color: var(--papir); padding: 10px 16px; border-radius: var(--radius-s);
}
.skip-link:focus { top: 12px; }

/* ---------- tlačítka ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; line-height: 1;
  padding: 18px 26px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn--primary { background: var(--mrkev); color: var(--kapusta); box-shadow: var(--press); }
.btn--primary:hover { color: var(--kapusta); transform: translateY(-1px); box-shadow: 0 5px 0 var(--nat); }
.btn--primary:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--nat); }
.btn--ghost { color: var(--kapusta); border-color: var(--kapusta); background: transparent; }
.btn--ghost:hover { background: var(--kapusta); color: var(--papir); }
.btn--small { padding: 12px 18px; font-size: .95rem; }
.btn--block { width: 100%; }

.link-btn {
  background: none; border: 0; padding: 4px 0; cursor: pointer;
  font: inherit; font-size: .95rem; color: var(--nat); text-decoration: underline; text-underline-offset: .18em;
}

/* ---------- hlavička ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hrasek);
}
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 900; font-size: 1.4rem; letter-spacing: -0.02em;
  color: var(--kapusta); text-decoration: none; margin: 0;
}
.logo img { width: 36px; height: 36px; }
.site-nav { display: flex; gap: 26px; margin-left: auto; }
.site-nav a { color: var(--kapusta); text-decoration: none; font-weight: 600; font-size: 1rem; }
.site-nav a:hover { color: var(--nat); text-decoration: underline; }
@media (max-width: 860px) {
  .site-nav { display: none; }
  .site-header__inner .btn { margin-left: auto; }
}

/* ---------- hero ---------- */

.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(24px, 4vw, 48px); }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero__title {
  font-size: clamp(2.9rem, 6.6vw, 5.4rem);
  font-weight: 900; letter-spacing: -0.03em; line-height: .96;
  max-width: 10.5ch;
}
.hero__lead { font-size: 1.2em; color: var(--kapusta-70); max-width: 31em; margin-top: 26px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__note { margin-top: 16px; font-size: .95rem; color: var(--kapusta-70); }

.hero { overflow-x: clip; }
.hero__stage {
  position: relative;
  display: grid; align-items: center; justify-items: end;
  min-height: 600px;
}
/* talíř za telefonem */
.hero__stage::before {
  content: ''; position: absolute; z-index: 0;
  width: 520px; aspect-ratio: 1; border-radius: 50%;
  right: -112px; top: 50%; transform: translateY(-50%);
  background: radial-gradient(circle at 50% 50%, var(--papir) 0 52%, var(--hrasek) 52.5% 100%);
  box-shadow: inset 0 0 0 14px var(--hrasek-tmavy);
}

.phone {
  position: relative; z-index: 1;
  width: 296px;
  border: 10px solid var(--kapusta); border-radius: 44px;
  background: var(--papir);
  box-shadow: 0 10px 0 rgba(24,48,42,.18);
  transform: rotate(3deg);
  margin-right: 10px;
}
.phone__screen { padding: 18px 18px 22px; min-height: 520px; display: flex; flex-direction: column; }
.phone__top { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-display); font-weight: 800; font-size: .95rem; }
.phone__dots { width: 54px; height: 18px; border-radius: 999px; background: var(--kapusta); }
.phone__label { margin-top: 18px; font-size: .9rem; color: var(--kapusta-70); }

.today { margin-top: 8px; transition: opacity .2s; }
.today.is-closed { opacity: .45; }
.today__plate {
  height: 128px; border-radius: var(--radius-m); background: var(--mrkev-svetla);
  position: relative; overflow: hidden;
}
.today__plate::before { /* talíř */
  content: ''; position: absolute; left: 50%; top: 50%; width: 108px; height: 108px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--papir); box-shadow: 0 0 0 6px #F6E3CF;
}
.today__plate::after { /* jídlo */
  content: ''; position: absolute; left: 50%; top: 50%; width: 76px; height: 64px; transform: translate(-50%, -50%) rotate(-8deg);
  border-radius: 46% 54% 50% 50%;
  background:
    radial-gradient(circle at 30% 35%, #7DB45A 0 5px, transparent 6px),
    radial-gradient(circle at 62% 30%, #7DB45A 0 5px, transparent 6px),
    radial-gradient(circle at 48% 66%, #7DB45A 0 5px, transparent 6px),
    radial-gradient(circle at 70% 60%, var(--mrkev) 0 6px, transparent 7px),
    radial-gradient(circle at 26% 66%, var(--mrkev) 0 5px, transparent 6px),
    #F2E2BF;
}
.today__name { margin-top: 16px; font-size: 1.45rem; font-weight: 900; line-height: 1.08; }
.today__meta { margin-top: 6px; color: var(--kapusta-70); font-size: .95rem; }
.today__ing { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.today__ing li { font-size: .82rem; padding: 4px 10px; border-radius: 999px; background: var(--hrasek); }
.today__ing em { font-style: normal; color: var(--kapusta-70); }
.today__status { margin-top: 16px; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; }

.today__actions { margin-top: auto; padding-top: 18px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.chip-btn {
  font-family: var(--font-display); font-weight: 800; font-size: .82rem; line-height: 1.1;
  padding: 12px 4px; border-radius: 14px; cursor: pointer;
  background: var(--papir); color: var(--kapusta); border: 2px solid var(--hrasek-tmavy);
}
.chip-btn:hover { border-color: var(--kapusta); }
.chip-btn--done { background: var(--kapusta); color: var(--papir); border-color: var(--kapusta); }
.chip-btn--done:hover { background: #24453C; }
.phone__reset {
  margin-top: auto; align-self: center;
  background: none; border: 0; cursor: pointer; padding: 10px;
  font: inherit; font-size: .95rem; color: var(--nat); text-decoration: underline;
}

/* maskot + bublina */
.mascot { margin: 0; }
.mascot__img { transform-origin: 50% 100%; }
.mascot.is-reacting .mascot__img { animation: hop .5s cubic-bezier(.3,1.6,.5,1); }
.mascot.is-reacting .bubble { animation: bubble .35s ease-out; }
@keyframes hop {
  0% { transform: scale(.9, 1.08) translateY(6px); }
  55% { transform: scale(1.04, .97) translateY(-10px); }
  100% { transform: none; }
}
@keyframes bubble { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.bubble {
  position: relative;
  background: var(--papir); border: 2px solid var(--kapusta); border-radius: 18px;
  padding: 12px 16px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1.3;
  box-shadow: 0 4px 0 var(--kapusta);
}
.bubble::after {
  content: ''; position: absolute; width: 16px; height: 16px; background: var(--papir);
  border-right: 2px solid var(--kapusta); border-bottom: 2px solid var(--kapusta);
}

.mascot--hero {
  position: absolute; z-index: 2;
  left: 0; bottom: 28px;
  width: 160px;
  animation: arrive .7s cubic-bezier(.3,1.5,.5,1) .15s both;
}
.mascot--hero .bubble {
  position: absolute; left: -8px; bottom: calc(100% + 16px);
  width: 184px;
}
.mascot--hero .bubble::after { left: 44px; bottom: -9px; transform: rotate(45deg); }
@keyframes arrive { from { opacity: 0; transform: translateY(40px) scale(.9); } to { opacity: 1; transform: none; } }

/* ---------- problém ---------- */

.problem__head { max-width: 46rem; }

.week {
  position: relative;
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px;
  background: var(--hrasek); border-radius: var(--radius-l);
  padding: clamp(16px, 3vw, 32px);
  padding-top: clamp(40px, 5vw, 56px);
}
.week__day {
  background: var(--papir); border-radius: var(--radius-m);
  padding: 16px 14px 18px; min-height: 150px;
  display: flex; flex-direction: column; gap: 8px;
  border: 2px solid transparent;
}
.week__name { font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; }
.week__meal { font-weight: 600; line-height: 1.25; }
.week__day--broken { background: transparent; border: 2px dashed var(--kapusta-70); }
.week__day--broken .week__meal { text-decoration: line-through; color: var(--kapusta-70); }
.week__note {
  align-self: flex-start; margin-top: auto;
  background: var(--zluta); padding: 6px 10px; border-radius: 4px;
  font-size: .9rem; font-weight: 700; transform: rotate(-4deg);
  box-shadow: 0 3px 0 rgba(24,48,42,.15);
}
.week__day--moved { border-color: var(--mrkev); box-shadow: 0 4px 0 var(--mrkev); }
.week__tag { margin-top: auto; font-size: .9rem; color: var(--nat); font-weight: 700; }
.week__mascot {
  position: absolute; width: 96px;
  left: calc(50% - 48px); top: -64px;
}

.situations {
  list-style: none; margin: 56px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px);
}
.situations li { border-top: 3px solid var(--kapusta); padding-top: 20px; }
.situations p { margin-top: 10px; color: var(--kapusta-70); }

/* ---------- ukázka ---------- */

.demo { background: var(--hrasek); }
.demo__head {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end;
}
.mascot--demo { position: relative; display: flex; align-items: flex-end; gap: 18px; }
.mascot--demo .mascot__img { width: 130px; flex: none; }
.mascot--demo .bubble { width: 260px; margin-bottom: 70px; }
.bubble--left::after { right: -9px; bottom: 22px; transform: rotate(-45deg); }

.planner {
  margin-top: 36px;
  display: grid; grid-template-columns: 300px minmax(0, 1fr) 320px; gap: 20px; align-items: start;
}
.planner__controls {
  background: var(--papir); border-radius: var(--radius-l); padding: 26px 24px;
  display: grid; gap: 24px;
}
.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.field legend { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; margin-bottom: 12px; padding: 0; }

.stepper { display: flex; align-items: center; gap: 16px; }
.stepper__btn {
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  border: 2px solid var(--kapusta); background: var(--papir); color: var(--kapusta);
  font-size: 1.5rem; line-height: 1; font-family: var(--font-display); font-weight: 800;
}
.stepper__btn:hover { background: var(--kapusta); color: var(--papir); }
.stepper__value { font-family: var(--font-display); font-weight: 900; font-size: 2.2rem; min-width: 1.2ch; text-align: center; }

/* skryté vstupy, viditelné popisky */
.days input, .segmented input, .pantry input {
  position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none;
}
.days label, .segmented label, .pantry label { position: relative; cursor: pointer; }
.days input:focus-visible + span,
.segmented input:focus-visible + span,
.pantry input:focus-visible + span { outline: 3px solid var(--kapusta); outline-offset: 2px; }

.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.days span {
  display: grid; place-items: center; height: 44px; border-radius: 12px;
  border: 2px solid var(--hrasek-tmavy); font-weight: 700; font-size: .95rem;
  transition: background .12s;
}
.days input:checked + span { background: var(--mrkev); border-color: var(--mrkev); box-shadow: 0 3px 0 var(--nat); }

.segmented { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--hrasek); border-radius: 999px; padding: 4px; }
.segmented span { display: block; text-align: center; padding: 10px 4px; border-radius: 999px; font-weight: 700; font-size: .95rem; }
.segmented input:checked + span { background: var(--kapusta); color: var(--papir); }

.pantry { display: flex; flex-wrap: wrap; gap: 8px; }
.pantry span {
  display: inline-block; padding: 8px 14px; border-radius: 999px;
  border: 2px solid var(--hrasek-tmavy); font-weight: 600; font-size: .95rem;
}
.pantry input:checked + span { background: var(--kapusta); border-color: var(--kapusta); color: var(--papir); }
.pantry input:checked + span::before { content: '✓ '; }

.planner__title { font-size: 1.15rem; font-weight: 900; margin-bottom: 14px; }
.planner__plan { min-width: 0; }

.plan { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plan__item {
  display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 14px; align-items: center;
  background: var(--papir); border-radius: var(--radius-m); padding: 14px 14px 14px 14px;
}
.plan__item.is-changed, .shop__item.is-changed { animation: flash 1.1s ease-out; }
@keyframes flash { 0% { background: var(--mrkev-svetla); box-shadow: inset 0 0 0 2px var(--mrkev); } 100% { box-shadow: inset 0 0 0 2px transparent; } }
.plan__day {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--kapusta); color: var(--papir); font-family: var(--font-display); font-weight: 800;
}
.plan__name { display: block; font-weight: 700; line-height: 1.25; }
.plan__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 4px; font-size: .9rem; color: var(--kapusta-70); }
.plan__note { background: var(--hrasek); color: var(--kapusta); padding: 2px 10px; border-radius: 999px; font-size: .82rem; font-weight: 600; }
.plan__swap {
  font-family: var(--font-display); font-weight: 800; font-size: .9rem;
  background: var(--papir); color: var(--kapusta); cursor: pointer;
  border: 2px solid var(--hrasek-tmavy); border-radius: 999px; padding: 9px 14px;
}
.plan__swap:hover { border-color: var(--kapusta); }
.plan__empty { background: var(--papir); border-radius: var(--radius-m); padding: 24px; color: var(--kapusta-70); }

/* účtenka s nákupem */
.receipt {
  position: relative;
  background: var(--papir); padding: 24px 22px 34px;
  border-radius: var(--radius-m) var(--radius-m) 0 0;
}
.receipt::after { /* zubatý okraj účtenky */
  content: ''; position: absolute; left: 0; right: 0; bottom: -12px; height: 12px;
  background:
    linear-gradient(135deg, var(--papir) 50%, transparent 50%) 0 0 / 16px 12px repeat-x,
    linear-gradient(225deg, var(--papir) 50%, transparent 50%) 0 0 / 16px 12px repeat-x;
}
.receipt__sum { font-size: .95rem; color: var(--kapusta-70); margin: -6px 0 12px; }
.shop { list-style: none; margin: 0; padding: 0; border-top: 2px dashed var(--hrasek-tmavy); }
.shop__item { border-bottom: 2px dashed var(--hrasek-tmavy); }
.shop__btn {
  width: 100%; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  background: none; border: 0; padding: 11px 2px; cursor: pointer; text-align: left;
  font: inherit; font-size: .98rem; color: var(--kapusta);
}
.shop__box { width: 22px; height: 22px; border: 2px solid var(--kapusta); border-radius: 6px; display: grid; place-items: center; }
.shop__amt { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.shop__btn[aria-pressed="true"] .shop__name,
.shop__btn[aria-pressed="true"] .shop__amt { text-decoration: line-through; color: var(--kapusta-70); }
.shop__btn[aria-pressed="true"] .shop__box { background: var(--kapusta); }
.shop__btn[aria-pressed="true"] .shop__box::after { content: '✓'; color: var(--papir); font-size: .8rem; font-weight: 700; }
.receipt__home { margin-top: 14px; font-size: .95rem; font-weight: 600; }
.receipt__foot { margin-top: 12px; font-size: .85rem; color: var(--kapusta-70); }

/* ---------- den s plánem ---------- */

.day {
  list-style: none; margin: 64px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px);
  position: relative;
}
.day::before { /* časová osa */
  content: ''; position: absolute; left: 0; right: 0; top: 30px; height: 3px;
  background: repeating-linear-gradient(90deg, var(--kapusta) 0 10px, transparent 10px 18px);
}
.day__step { position: relative; display: grid; gap: 18px; align-content: start; }
.day__time {
  position: relative; justify-self: start;
  font-family: var(--font-display); font-weight: 900; font-size: 2.1rem; line-height: 1;
  background: var(--papir); padding: 12px 16px 12px 0;
}
.day__step h3 { font-size: 1.4rem; }
.day__step p { margin-top: 8px; color: var(--kapusta-70); max-width: 26em; }
.day__mascot { position: absolute; width: 84px; right: 0; top: -124px; }

/* ---------- hodnoty ---------- */

.values { background: var(--mrkev-svetla); }
.values__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.values__main p { margin-top: 22px; font-size: 1.15em; max-width: 30em; }
.values__mascot { width: 170px; margin-top: 36px; }
.values__side h3 { font-size: 1.35rem; }
.nope { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; }
.nope li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; font-weight: 600; }
.nope li::before {
  content: '×'; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--kapusta); color: var(--papir);
  font-family: var(--font-display); font-weight: 900; font-size: 1.15rem; line-height: 1;
}
.notice {
  margin-top: 40px; background: var(--papir); border-radius: var(--radius-m);
  padding: 22px 24px; border-left: 6px solid var(--kapka);
}
.notice h3 { font-size: 1.1rem; }
.notice p { margin-top: 8px; font-size: .98rem; color: var(--kapusta-70); }

/* ---------- pilot ---------- */

.pilot { background: var(--mrkev); }
.pilot__grid { display: grid; grid-template-columns: 1fr minmax(0, 460px); gap: clamp(32px, 6vw, 80px); align-items: start; }
.pilot__offer > p { margin-top: 20px; font-size: 1.12em; max-width: 32em; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-top: 30px; }
.price__num { font-family: var(--font-display); font-weight: 900; font-size: clamp(3.4rem, 7vw, 5rem); line-height: .9; letter-spacing: -0.03em; }
.price__note { font-weight: 700; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; font-weight: 600; }
.ticks li::before {
  content: '✓'; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--kapusta); color: var(--mrkev); font-weight: 700; font-size: .85rem;
}
.pilot__small { margin-top: 26px; font-size: .98rem; }

.signup, .signup-done {
  background: var(--papir); border-radius: var(--radius-l); padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 8px 0 var(--kapusta);
  border: 2px solid var(--kapusta);
}
.signup h3, .signup-done h3 { font-size: 1.6rem; font-weight: 900; }
.signup__intro { margin-top: 8px; color: var(--kapusta-70); font-size: .98rem; }
.input { display: grid; gap: 6px; margin-top: 18px; }
.input label { font-weight: 700; font-size: .95rem; }
.input input, .input select {
  font: inherit; font-size: 1rem; color: var(--kapusta);
  border: 2px solid var(--hrasek-tmavy); border-radius: var(--radius-s); padding: 13px 14px; background: var(--papir);
  width: 100%; min-width: 0;
}
.input input:hover, .input select:hover { border-color: var(--kapusta-70); }
.input input:focus-visible, .input select:focus-visible { border-color: var(--kapusta); outline-offset: 1px; }
.input input[aria-invalid="true"] { border-color: var(--nat); }
.input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.input__error { color: var(--nat); font-size: .9rem; font-weight: 700; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; margin: 20px 0 6px; font-size: .92rem; line-height: 1.45; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--kapusta); }
.signup .btn--block { margin-top: 18px; }
.signup-done { text-align: center; }
.signup-done img { width: 150px; margin: 0 auto 12px; }
.signup-done p { margin-top: 10px; }

/* ---------- FAQ ---------- */

.faq__aside p { margin-top: 18px; color: var(--kapusta-70); max-width: 22em; }
.faq__mascot { width: 130px; margin-top: 32px; }
.faq__wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq details { border-bottom: 2px solid var(--hrasek-tmavy); }
.faq details:first-child { border-top: 2px solid var(--hrasek-tmavy); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
  padding: 20px 2px; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; flex: none; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--hrasek); font-size: 1.3rem; line-height: 1;
}
.faq details[open] summary::after { content: '−'; background: var(--mrkev); }
.faq details p { padding: 0 2px 22px; color: var(--kapusta-70); max-width: 36em; }

/* ---------- patička ---------- */

.site-footer { background: var(--kapusta); color: var(--papir); padding: 72px 0 40px; }
.site-footer__inner { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(24px, 4vw, 56px); align-items: center; }
.site-footer__mascot { width: 150px; }
.site-footer__claim { font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.02; letter-spacing: -0.02em; max-width: 14ch; margin-bottom: 26px; }
.site-footer__meta { display: grid; gap: 14px; justify-items: start; align-self: end; }
.logo--footer { color: var(--papir); font-size: 1.2rem; }
.logo--footer img { width: 28px; height: 28px; }
.site-footer nav { display: grid; gap: 8px; }
.site-footer nav a { color: var(--papir); font-size: .95rem; }
.site-footer nav a:hover { color: var(--mrkev); }
.site-footer__copy { font-size: .85rem; opacity: .75; }
.site-footer :focus-visible { outline-color: var(--mrkev); }

/* ---------- responzivita ---------- */

@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__stage { justify-items: center; margin-top: 24px; }
  .hero__stage::before { right: auto; left: 50%; transform: translate(-50%, -50%); }
  .phone { margin-right: 0; }
  .mascot--hero { left: max(0px, calc(50% - 330px)); }
}

@media (max-width: 1100px) {
  .planner { grid-template-columns: 280px minmax(0, 1fr); }
  .planner__list { grid-column: 2; }
}

@media (max-width: 900px) {
  .planner { grid-template-columns: 1fr; }
  .planner__list { grid-column: auto; }
  .demo__head { grid-template-columns: 1fr; }
  .mascot--demo { justify-content: flex-end; }
  .values__grid, .pilot__grid, .faq__wrap { grid-template-columns: 1fr; }
  .situations { grid-template-columns: 1fr; gap: 28px; }
  .site-footer__inner { grid-template-columns: 1fr; justify-items: start; }
}

@media (max-width: 720px) {
  .day { grid-template-columns: 1fr; gap: 36px; padding-left: 26px; }
  .day::before { left: 6px; right: auto; top: 0; bottom: 0; width: 3px; height: auto;
    background: repeating-linear-gradient(180deg, var(--kapusta) 0 10px, transparent 10px 18px); }
  .day__time { padding: 6px 12px 6px 0; font-size: 1.8rem; }
  .day__mascot { top: -20px; width: 80px; }

  .week { grid-template-columns: repeat(5, minmax(120px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-top: 24px; }
  .week__day { scroll-snap-align: start; min-height: 140px; }
  .week__mascot { display: none; }
}

@media (max-width: 600px) {
  .hero__stage { display: flex; flex-direction: column; align-items: center; min-height: 0; margin-top: 8px; }
  .hero__stage::before { width: 440px; top: 58%; }
  .mascot--hero {
    position: relative; left: auto; bottom: auto; width: 100%;
    display: flex; align-items: flex-end; gap: 10px; margin-bottom: -26px;
  }
  .mascot--hero .mascot__img { width: 96px; flex: none; }
  .mascot--hero .bubble { position: relative; left: auto; bottom: auto; width: auto; flex: 1; margin-bottom: 52px; font-size: .95rem; }
  .mascot--hero .bubble::after { left: -9px; bottom: 18px; transform: rotate(135deg); }
  .phone { width: 280px; transform: rotate(2deg); }
  .phone__screen { min-height: 500px; }
  .mascot--demo .mascot__img { width: 96px; }
  .mascot--demo .bubble { width: auto; flex: 1; margin-bottom: 40px; font-size: .95rem; }
  .mascot--demo .bubble--left::after { right: auto; left: -9px; transform: rotate(135deg); }
  .mascot--demo { flex-direction: row-reverse; justify-content: flex-start; }
  .input-row { grid-template-columns: 1fr; gap: 0; }
  .hero__actions .btn { width: 100%; }
  .plan__item { grid-template-columns: 42px minmax(0, 1fr); }
  .plan__day { width: 42px; height: 42px; }
  .plan__swap { grid-column: 2; justify-self: start; }
}
