/* schůzky.online — vlastní brand „pod lípou“.
   Light, warm, clear: pale warm paper, white cards, espresso ink, linden
   green as the accent (green = a free slot) and a drop of honey for small
   marks. The signature is the kroužek — the ring above the ů — echoed in
   the favicon, the round calendar days and the stepper stops. Type is
   Fraunces display and Hanken Grotesk for everything else, tabular
   figures keep times aligned; mono belongs to envrun, not here. */

@font-face {
  font-family: "Fraunces Variable";
  src: url("/assets/fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, 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: "Fraunces Variable";
  src: url("/assets/fonts/fraunces-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Hanken Grotesk Variable";
  src: url("/assets/fonts/hanken-grotesk-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, 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: "Hanken Grotesk Variable";
  src: url("/assets/fonts/hanken-grotesk-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
:root {
  /* „Pod lípou“ tokens — light is the brand's home. */
  --paper: #faf7f0;
  --paper-deep: #f2edde;
  --card: #ffffff;
  --ink: #2a241a;
  --muted: #7b7263;
  --line: #e2dbc9;
  --line-soft: #eee9db;
  --accent: #5f7434;        /* lipová zeleň — a free slot is green */
  --accent-soft: #8fa14f;
  --accent-ink: #fdfcf7;
  --honey: #c28f2c;         /* small marks only, never text */
  --warn: #a44b35;          /* destructive actions, errors, cancelled */
  --ok: #4c8a5c;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(42, 36, 26, 0.05), 0 12px 34px rgba(42, 36, 26, 0.09);

  --font-display: "Fraunces Variable", Georgia, serif;
  --font-body: "Hanken Grotesk Variable", system-ui, sans-serif;
  /* Mono is envrun's voice; schůzky speaks Hanken even for times and
     labels. Tabular figures keep slot times aligned without it. */
  --font-mono: "Hanken Grotesk Variable", system-ui, sans-serif;
}

/* The brand is light — booking pages render identically for every guest,
   like Calendly's. (A dark organizer preference can return later.) */

* { box-sizing: border-box; margin: 0; padding: 0; }

[hidden] { display: none !important; }

html { color-scheme: light; }

/* Decorative absolute layers must never grow a horizontal scrollbar.
   (Not overflow-x: clip - pairing clip with default visible computes the
   vertical axis to clip too and the page stops scrolling entirely.) */
html, body { overflow-x: hidden; }

body {
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.shell {
  width: min(1060px, 100% - 2rem);
  margin: clamp(1rem, 4vh, 3.5rem) auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

a { color: var(--accent); text-decoration: none; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 620;
  font-optical-sizing: auto;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Wordmark: serif name · honey dot · mono tld — the kroužek in miniature. */
.eyebrow-wm { font-size: 1.05rem; }
.wm { white-space: nowrap; }
/* The name dominates — it's simply "schůzky"; the tld is a quiet suffix. */
.wm .name { font-family: var(--font-display); font-weight: 620; font-size: 1.1em; letter-spacing: -0.02em; }
.wm .dot { font-family: var(--font-mono); color: var(--honey); font-weight: 700; }
.wm .tld { font-family: var(--font-mono); font-size: 0.52em; letter-spacing: 0.02em; color: var(--accent); }

.time, .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------------- card */

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 300px 1fr;
  overflow: hidden;
}

.side {
  padding: 2rem 1.75rem;
  border-right: 1px solid var(--line-soft);
  background: var(--paper-deep);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.side h1 { font-size: clamp(1.5rem, 2.5vw, 1.9rem); }

.side .desc { color: var(--muted); font-size: 0.95rem; }

.resch-note {
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  background: var(--card);
  padding: 0.7rem 0.9rem;
  font-size: 0.88rem;
}

.facts {
  list-style: none;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.facts li { display: flex; align-items: baseline; gap: 0.55rem; }

.facts .k {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  min-width: 4.6rem;
}

.stage { padding: 2rem 2rem 2.25rem; min-height: 540px; display: flex; flex-direction: column; }

/* ------------------------------------------------------------- stepper */

.stepper {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
  user-select: none;
}

.stop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  width: 5.6rem;
  flex-shrink: 0;
}

.stop .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--card);
  transition: border-color 0.25s, background 0.25s;
}

.stop .lbl {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.stop.reached .dot { border-color: var(--accent); }
.stop.current .dot { border-color: var(--accent); background: var(--accent); }
.stop.current .lbl { color: var(--ink); }

.rail {
  flex: 1;
  height: 2px;
  background: var(--line);
  margin-top: 5px;
  position: relative;
  overflow: hidden;
}

.rail::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.rail.done::after { transform: scaleX(1); }

/* ---------------------------------------------------------- pick step */

.pick {
  display: grid;
  grid-template-columns: 1fr 15rem;
  gap: 2rem;
  flex: 1;
  min-height: 0;
}

.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.cal-title { font-family: var(--font-display); font-weight: 620; font-size: 1.1rem; letter-spacing: -0.01em; }

.cal-nav { display: flex; gap: 0.3rem; }

.cal-nav button {
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: border-color 0.15s, color 0.15s;
}

.cal-nav button:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.cal-nav button:disabled { opacity: 0.35; cursor: default; }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.3rem;
}

.cal-grid .dow {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-block: 0.35rem;
}

/* Days are rings — the kroužek. Free days sit in a soft linden circle,
   the chosen day fills solid, today wears a thin ring. */
.day {
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.92rem;
  color: var(--muted);
  position: relative;
  max-width: 2.9rem;
  margin: 0 auto;
  width: 100%;
}

.day.free {
  color: var(--ink);
  font-weight: 650;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  transition: background 0.15s, color 0.15s;
}

.day.free:hover { background: color-mix(in srgb, var(--accent) 24%, transparent); }

.day.free::after {
  content: "";
  position: absolute;
  bottom: 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--honey);
}

.day.sel { background: var(--accent); color: var(--accent-ink); }
.day.sel::after { background: var(--accent-ink); }
.day.today:not(.sel) { box-shadow: inset 0 0 0 1.5px var(--accent-soft); }

.slots { display: flex; flex-direction: column; min-height: 0; }

.slots h3 {
  font-size: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 2px solid var(--accent);
  margin-bottom: 0.7rem;
}

.slot-list {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-right: 2px;
  scrollbar-width: thin;
  max-height: 420px;
}

.slot {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--card);
  padding: 0.6rem 0.9rem;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.slot:hover { border-color: var(--accent); color: var(--accent); }

.slots .empty {
  color: var(--muted);
  font-size: 0.9rem;
  padding-top: 2rem;
  text-align: center;
}

/* ---------------------------------------------------------- form step */

.summary {
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 9px;
  padding: 0.85rem 1.1rem;
  margin-bottom: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.4rem;
  align-items: baseline;
}

.summary .when { font-weight: 700; font-size: 1rem; }
.summary .len { color: var(--muted); font-size: 0.88rem; }

.summary .change {
  margin-left: auto;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

form .field { margin-bottom: 1.05rem; }

label {
  display: block;
  font-size: 0.82rem;
  font-weight: 650;
  margin-bottom: 0.35rem;
}

label .opt { color: var(--muted); font-weight: 500; }

input, textarea, select {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0.6rem 0.75rem;
  transition: border-color 0.15s;
}

input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); }

textarea { resize: vertical; min-height: 4.4rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  padding: 0.7rem 1.5rem;
  border-radius: 10px;
  transition: filter 0.15s, transform 0.05s;
}

.btn:hover { filter: brightness(1.07); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.55; cursor: default; }

.btn.ghost {
  background: none;
  color: var(--ink);
  border: 1px solid var(--line);
  font-weight: 600;
}

.btn.ghost:hover { border-color: var(--accent); color: var(--accent); filter: none; }

.btn.small { padding: 0.4rem 0.8rem; font-size: 0.85rem; }

.form-err {
  color: var(--warn);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.9rem;
  min-height: 1.2em;
}

/* Destructive actions never wear the linden green. */
#btn-cancel { background: var(--warn); }

/* ---------------------------------------------------------- done step */

.finish { text-align: center; margin: auto 0; padding: 1rem 0 2rem; }

.finish .mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ok);
  color: #fdfaf3;
  display: grid;
  place-items: center;
  margin: 0 auto 1.1rem;
  font-size: 1.5rem;
}

.finish h2 { font-size: 1.65rem; margin-bottom: 0.5rem; }

.finish .when { font-size: 1rem; font-weight: 650; }

.finish .mail { color: var(--muted); font-size: 0.92rem; margin-top: 0.5rem; }

.finish .actions {
  display: flex;
  gap: 0.7rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

.finish .manage-note { margin-top: 1.6rem; font-size: 0.85rem; color: var(--muted); }
.finish .manage-note a { text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------ profile */

.index-head { margin-bottom: 1.6rem; }
.index-head h1 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin-top: 0.5rem; }
.index-head p { color: var(--muted); margin-top: 0.4rem; }

.event-list { display: grid; gap: 0.8rem; }

.event-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.event-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }

.event-card .dur {
  font-weight: 700;
  font-size: 1.05rem;
  min-width: 4.6rem;
  text-align: center;
  border-right: 1px solid var(--line-soft);
  padding-right: 1.1rem;
  align-self: stretch;
  display: grid;
  place-items: center;
}

.event-card .dur small {
  display: block;
  font-size: 0.6rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.event-card h2 { font-size: 1.15rem; }
.event-card p { color: var(--muted); font-size: 0.9rem; margin-top: 0.2rem; }
.event-card .go { margin-left: auto; color: var(--accent); font-weight: 700; white-space: nowrap; }

/* ------------------------------------------------------------- manage */

.manage-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  max-width: 480px;
  margin: 0 auto;
  padding: 2rem;
}

.manage-card h1 { font-size: 1.45rem; margin-bottom: 1.2rem; }

.kv { display: grid; grid-template-columns: auto 1fr; gap: 0.45rem 1.2rem; font-size: 0.95rem; margin-bottom: 1.5rem; }
.kv dt {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 0.25rem;
}
.kv dd { font-weight: 600; }

.badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 99px;
}

.badge.confirmed { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.badge.cancelled { background: color-mix(in srgb, var(--warn) 14%, transparent); color: var(--warn); }

/* ------------------------------------------------------------ landing */

html { scroll-behavior: smooth; }

/* Slim sticky header: the wordmark finally gets a home, and the primary
   CTA never scrolls away. */
.site-head {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  border-bottom: 1px solid var(--line-soft);
}

.site-head-in {
  width: min(1120px, 100% - 2rem);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding: 0.65rem 0;
}

.wm-head { color: var(--ink); font-size: 1.3rem; }

.site-nav { display: flex; gap: 1.3rem; margin-left: 1.1rem; }
.site-nav a { color: var(--muted); font-weight: 600; font-size: 0.9rem; transition: color 0.15s; }
.site-nav a:hover { color: var(--ink); }

.site-head-cta { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
.head-login { color: var(--ink); font-weight: 600; font-size: 0.9rem; }
.head-login:hover { color: var(--accent); }

@media (max-width: 680px) {
  .site-nav, .head-login { display: none; }
}

.hero { max-width: 660px; margin: 0 auto; text-align: center; padding: 3rem 0 2.5rem; }

/* Landing: the product itself is the hero — copy left, live-looking card right. */
.hero-split {
  max-width: 1120px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 3.5rem;
  align-items: center;
  text-align: left;
  padding: 3.4rem 0;
  min-height: min(600px, calc(100dvh - 14rem));
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.7rem);
}

/* The signature: a hand-drawn kroužek looped around the key word. */
.ringed { position: relative; display: inline-block; white-space: nowrap; }

.ringed svg {
  position: absolute;
  left: -8%;
  top: -20%;
  width: 116%;
  height: 142%;
  overflow: visible;
  pointer-events: none;
  transform: rotate(-2.5deg);
}

.ringed svg path {
  stroke: var(--honey);
  stroke-width: 3;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: ring-draw 0.9s ease-out 0.45s forwards;
}

@keyframes ring-draw { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  .ringed svg path { stroke-dashoffset: 0; }
}

.hero-sub { color: var(--muted); margin-top: 1.2rem; font-size: 1.08rem; max-width: 30rem; }

.hero-copy .claim-note { margin-top: 1.4rem; font-weight: 600; color: var(--ink); }

/* The one dominant action on the page: the demo's finale hands the
   cursor straight to this chip under the card. */
/* No box around the box: the input and button breathe on the paper,
   the finale still lands here (pulse + placeholder daydreams). */
.claim-chip {
  margin-top: 2.1rem;
  animation: chip-in 0.5s ease-out 0.5s backwards;
}

@keyframes chip-in {
  from { opacity: 0; transform: translateY(12px); }
}

.claim-hero { margin-top: 0; }
.claim-hero .url-input { border-width: 1.5px; }
.claim-hero .url-input input { padding-block: 0.85rem; font-size: 1rem; }
.claim-hero .url-input > span { font-size: 0.95rem; }

.btn-hero.pulse { animation: btn-pulse 0.9s ease-in-out 2; }

@keyframes btn-pulse {
  50% {
    transform: scale(1.045);
    box-shadow: 0 10px 28px color-mix(in srgb, var(--accent) 45%, transparent);
  }
}

.btn-hero {
  padding: 0.85rem 1.6rem;
  font-size: 1rem;
  border-radius: 11px;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--accent) 30%, transparent);
}

.claim-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.8rem;
}

.hero-url {
  display: inline-block;
  margin-top: 1.6rem;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.05rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 1.1rem;
  background: var(--card);
}

.hero-url span { color: var(--accent); }

.hero-cta { display: flex; gap: 0.7rem; justify-content: center; margin-top: 1.6rem; flex-wrap: wrap; }

.hero-split .hero-cta { justify-content: flex-start; }

.hero-note { color: var(--muted); font-size: 0.85rem; margin-top: 1rem; }

/* Live-looking booking card in the hero, sitting in a soft linden/honey
   glow with a confirmation toast overlapping the corner — a scene, not a
   thumbnail. */
.hero-demo { position: relative; z-index: 0; }

.hero-demo::before {
  content: "";
  position: absolute;
  inset: -14% -10%;
  z-index: -1;
  background:
    radial-gradient(48% 48% at 70% 26%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 72%),
    radial-gradient(42% 42% at 20% 80%, color-mix(in srgb, var(--honey) 13%, transparent), transparent 72%);
}

.demo-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
  overflow: hidden;
  transform: rotate(1.2deg);
}

.demo-side {
  background: var(--paper-deep);
  border-right: 1px solid var(--line-soft);
  padding: 1.4rem 1.25rem;
}

.demo-org { font-size: 0.78rem; color: var(--muted); }
.demo-title { font-family: var(--font-display); font-weight: 620; font-size: 1.18rem; letter-spacing: -0.01em; margin-top: 0.25rem; }
.demo-meta { font-size: 0.72rem; color: var(--muted); margin-top: 0.55rem; }

.demo-main { padding: 1.25rem 1.35rem; }

.demo-month { font-family: var(--font-display); font-weight: 620; font-size: 0.98rem; margin-bottom: 0.6rem; }

.demo-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.3rem;
  font-size: 0.78rem;
}

.demo-grid span {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--muted);
}

.demo-grid .dow { aspect-ratio: auto; font-size: 0.56rem; text-transform: uppercase; letter-spacing: 0.06em; }
.demo-grid .f { background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--ink); font-weight: 650; }
.demo-grid .s { background: var(--accent); color: var(--accent-ink); font-weight: 650; }

.demo-slots { display: flex; gap: 0.4rem; margin-top: 0.75rem; }

@media (max-width: 900px) {
  .hero-split { grid-template-columns: minmax(0, 1fr); text-align: center; gap: 2.6rem; padding-top: 2.2rem; }
  .hero-split .hero-sub { margin-inline: auto; }
  /* One column, one rhythm: input and button share the same width. */
  .claim { flex-direction: column; align-items: stretch; }
  .btn-hero { width: 100%; }
  .claim-note { text-align: center; }
  .demo-card { max-width: 440px; margin: 0 auto; transform: none; }
  .hero-demo { max-width: 460px; margin: 0 auto; width: 100%; }
}

.feats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  max-width: 880px;
  margin: 0 auto;
}

.landing { justify-content: flex-start; }
.landing-body .shell { margin-top: 0; }

/* Ambient story rails: the booking journey in line art down both page
   edges — one dashed thread each side with the elements strung on it
   (odkaz → sloty → obálka → zvoneček → lípa | hodiny → kalendář → ✓ →
   kroužek → list). A mask keeps them fully visible at the very edge and
   fades them out toward the page centre, so they never fight content. */
.landing-body { position: relative; }

.ambient {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
  display: none;
}

@media (min-width: 980px) {
  .ambient { display: block; }
}

/* Height-driven: the rail stretches over the whole page and the width
   follows the aspect ratio, so the story always spans top to bottom. */
.amb { position: absolute; top: 60px; height: calc(100% - 140px); width: auto; }

.amb-left {
  left: 0;
  -webkit-mask-image: linear-gradient(to right, #000 25%, transparent 96%);
  mask-image: linear-gradient(to right, #000 25%, transparent 96%);
}

.amb-right {
  right: 0;
  -webkit-mask-image: linear-gradient(to left, #000 25%, transparent 96%);
  mask-image: linear-gradient(to left, #000 25%, transparent 96%);
}

/* Ghost objects, not line art: soft white cards with tonal innards and a
   faint shadow, like faded pieces of the product resting on the paper. */
.amb { filter: drop-shadow(0 10px 22px rgba(42, 36, 26, 0.05)); }

.amb .thread { stroke: var(--accent); stroke-opacity: 0.13; stroke-width: 2; stroke-dasharray: 2 9; }
.amb .card, .ghost .card { fill: rgba(255, 255, 255, 0.78); stroke: var(--line); stroke-opacity: 0.6; stroke-width: 1.5; }
.amb .tint, .ghost .tint { fill: var(--paper-deep); }
.amb .edge, .ghost .edge { stroke: var(--line); stroke-opacity: 0.9; stroke-width: 1.5; }
.amb .hands { stroke: var(--muted); stroke-opacity: 0.45; stroke-width: 2.5; }
.amb .pick { fill: color-mix(in srgb, var(--accent) 13%, white); stroke: var(--accent); stroke-opacity: 0.3; stroke-width: 1.5; }
.amb .picktint { fill: color-mix(in srgb, var(--accent) 26%, white); }
.amb .pickfill, .ghost .pickfill { fill: color-mix(in srgb, var(--accent) 55%, white); }
.amb .okfill, .ghost .okfill { fill: color-mix(in srgb, var(--ok) 13%, white); stroke: var(--ok); stroke-opacity: 0.28; stroke-width: 1.5; }
.amb .okstroke, .ghost .okstroke { stroke: var(--ok); stroke-opacity: 0.5; stroke-width: 3.5; stroke-linejoin: round; }
.amb .bellfill { fill: color-mix(in srgb, var(--honey) 13%, white); stroke: var(--honey); stroke-opacity: 0.28; stroke-width: 1.5; }
.amb .honey { stroke: var(--honey); stroke-opacity: 0.22; stroke-width: 3; }
.amb .honey-dot, .ghost .honey-dot { fill: var(--honey); fill-opacity: 0.5; }
.amb .honey-fill { fill: var(--honey); fill-opacity: 0.2; }
.amb .leaf path { fill: color-mix(in srgb, var(--accent) 8%, transparent); stroke: var(--accent); stroke-opacity: 0.15; stroke-width: 2; }
.amb .leaf .vein { fill: none; }

.claim { display: flex; gap: 0.6rem; margin-top: 1.5rem; flex-wrap: wrap; }
.claim .url-input { flex: 1; min-width: 15rem; }
.claim-center { justify-content: center; max-width: 540px; margin: 0 auto 0.4rem; }
.who-band { padding-top: 2.6rem; }
.faq-mini { text-align: left; }

/* A margin note in honey ink: the same hand that drew the kroužek
   points at the card and says "vyzkoušejte si". */
.demo-hint {
  position: absolute;
  top: -2.5rem;
  right: 0.9rem;
  z-index: 2;
  display: inline-flex;
  align-items: flex-start;
  gap: 0.2rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 560;
  font-size: 1.12rem;
  letter-spacing: 0;
  color: var(--honey);
  transform: rotate(-3deg);
}

.hint-arrow { width: 36px; height: 28px; margin-top: 0.55rem; overflow: visible; }
.hint-arrow path {
  stroke: var(--honey);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.demo-grid .f, .demo-grid .s { cursor: pointer; }

.demo-slots button {
  flex: 1;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  color: inherit;
  background: none;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.5rem 0;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.demo-slots button:hover { border-color: var(--accent-soft); }
.demo-slots button.on { border-color: var(--accent); color: var(--accent); font-weight: 700; }

/* The honest step: a booking needs a name and an e-mail before it exists. */
.demo-form { display: grid; gap: 0.4rem; margin-top: 0.75rem; }

.demo-form input {
  font: inherit;
  font-size: 0.78rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  color: var(--ink);
}

.demo-form input:focus { outline: none; border-color: var(--accent); }

.demo-form button {
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--accent);
  color: var(--accent-ink);
  border: 0;
  border-radius: 8px;
  padding: 0.5rem 0;
  cursor: pointer;
  transition: filter 0.15s;
}

.demo-form button:hover { filter: brightness(1.07); }

/* The attract loop's hand: a pointer that books a demo slot by itself,
   then steps aside and asks you to try. */
.demo-cursor {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  pointer-events: none;
  opacity: 0;
  transition: transform 1.1s cubic-bezier(0.35, 0.7, 0.25, 1), opacity 0.35s;
  filter: drop-shadow(0 2px 5px rgba(42, 36, 26, 0.35));
}

.demo-cursor.press { transition-duration: 0.12s; }

/* Booking confirmation drops in as a dark toast over the card corner —
   the moment the demo pays off. */
.demo-scene { position: relative; }

.demo-toast {
  position: absolute;
  left: 1.6rem;
  bottom: -1.2rem;
  z-index: 3;
  background: var(--ink);
  color: var(--paper);
  border-radius: 11px;
  padding: 0.6rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: 0 14px 30px rgba(42, 36, 26, 0.28);
  transform: rotate(-1.5deg);
  animation: toast-in 0.28s ease-out;
}

.demo-toast::before {
  content: "✓ Rezervováno: ";
  color: var(--accent-soft);
}

@keyframes toast-in {
  from { transform: rotate(-1.5deg) translateY(10px); opacity: 0; }
}

/* ------------------------------------------------------ landing sections */

.land-section { max-width: 920px; margin: 0 auto; padding: 3rem 0 0; width: 100%; scroll-margin-top: 4.5rem; }

/* Section divider: the brandmark in miniature, a breath between thoughts. */
.sec-divider {
  display: flex;
  justify-content: center;
  margin: 3.6rem auto 0;
}

.sec-divider svg { width: 150px; height: 30px; overflow: visible; }
.sec-divider .sd-stem { stroke: var(--line); stroke-width: 1.5; stroke-linecap: round; }
.sec-divider .sd-ring { fill: none; stroke: var(--accent); stroke-opacity: 0.45; stroke-width: 2.5; }
.sec-divider .sd-dot { fill: var(--honey); fill-opacity: 0.75; }

.sec-divider + .land-section { padding-top: 1.6rem; }

/* Ghost vignettes above the steps: each stop shows its piece of the product. */
.step-art { display: flex; justify-content: center; margin-bottom: 0.8rem; }
.step-art svg {
  width: 116px;
  height: 72px;
  overflow: visible;
  filter: drop-shadow(0 6px 12px rgba(42, 36, 26, 0.07));
}

.step-art .edge { stroke-width: 1.8; }
.step-art .ringlink { stroke: var(--accent); stroke-opacity: 0.55; stroke-width: 2.4; }
.step-art .planefill {
  fill: color-mix(in srgb, var(--honey) 22%, white);
  stroke: var(--honey);
  stroke-opacity: 0.6;
  stroke-width: 1.8;
}
.step-art .planetail { stroke: var(--honey); stroke-opacity: 0.4; stroke-width: 1.8; stroke-dasharray: 3 4; }

/* The founding price wears the same honey krouzek as the headline. */
.price-ring { position: relative; display: inline-block; }
.price-ring svg {
  position: absolute;
  left: -10%;
  top: -16%;
  width: 120%;
  height: 134%;
  overflow: visible;
  pointer-events: none;
  transform: rotate(-2.5deg);
}
.price-ring svg path { stroke: var(--honey); stroke-width: 3; fill: none; stroke-linecap: round; }

.land-h {
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
  margin-bottom: 1.6rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.step { text-align: center; }

.step-ring {
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.7rem;
  background: var(--card);
  position: relative;
  z-index: 1;
}

.step-ring.fill { background: var(--accent); color: var(--accent-ink); }

/* The three stops sit on a rail — the booking stepper, quoted. */
.steps-flow { position: relative; }

.steps-flow::before {
  content: "";
  position: absolute;
  left: 16.6%;
  right: 16.6%;
  /* Below the vignettes (72px + margin), through the numbered rings. */
  top: calc(72px + 0.8rem + 1.3rem - 1px);
  height: 2px;
  background: var(--line);
}

.step h3 { font-size: 1.05rem; }
.step p { color: var(--muted); font-size: 0.9rem; margin-top: 0.4rem; }
.step em { font-style: normal; font-weight: 650; color: var(--ink); }

/* Why-cards: soft linden / honey tints, left-aligned — Reservio-style
   panels instead of naked columns. */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: start;
}

.why-card {
  background: color-mix(in srgb, var(--accent) 6%, var(--card));
  border-radius: var(--radius);
  padding: 1.35rem 1.35rem 1.45rem;
}

.why-card.honey { background: color-mix(in srgb, var(--honey) 8%, var(--card)); }

.why-mark {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.85rem;
  background: var(--card);
}

.why-card.honey .why-mark { border-color: var(--honey); color: var(--honey); }

.why-card h3 { font-size: 1.08rem; }
.why-card p { color: var(--muted); font-size: 0.9rem; margin-top: 0.45rem; }
.why-card em { font-style: normal; font-weight: 650; color: var(--ink); }

/* Pricing: real cards, the founding tier wears the linden border. */
.price-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem 1.5rem;
}

.price-card.featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow);
}

.price-badge {
  position: absolute;
  top: -0.78rem;
  left: 1.3rem;
  background: var(--honey);
  color: #3b2c0d;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 99px;
  padding: 0.3rem 0.75rem;
}

.price-card h3 { font-size: 1.05rem; }

.price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.55rem;
}

.price .amount {
  font-family: var(--font-display);
  font-weight: 640;
  font-size: 2rem;
  letter-spacing: -0.02em;
}

.price .per { color: var(--muted); font-size: 0.85rem; }

.price-note { color: var(--muted); font-size: 0.88rem; margin-top: 0.5rem; flex: 1; }

.price-feats {
  list-style: none;
  margin-top: 0.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.price-feats li { display: flex; gap: 0.5rem; align-items: baseline; }
.price-feats li::before { content: "○"; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.price-card.featured .price-feats li::before { content: "●"; }
.price-card.featured .price-feats { color: var(--ink); }

.price-foot {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 1.3rem;
}

.price-foot a { text-decoration: underline; text-underline-offset: 3px; }

.price-btn { margin-top: 1.25rem; width: 100%; }

.who-line {
  text-align: center;
  min-height: 3.4rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
}

.who-static {
  font-family: var(--font-display);
  font-weight: 620;
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  letter-spacing: -0.02em;
  white-space: pre;
}

.who-word {
  font-family: var(--font-display);
  font-weight: 620;
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  letter-spacing: -0.02em;
  color: var(--accent);
  white-space: pre;
}

.who-caret {
  display: inline-block;
  width: 3px;
  height: 1.15em;
  margin-left: 0.12em;
  background: var(--honey);
  border-radius: 2px;
  align-self: center;
  animation: caret-blink 1.1s steps(1) infinite;
}

@keyframes caret-blink {
  50% { opacity: 0; }
}

.who-note { text-align: center; color: var(--muted); font-size: 0.92rem; margin-top: 1rem; }

.czech-band .steps { align-items: start; }

.faq { max-width: 640px; margin: 0 auto; }

.faq details {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 0.85rem 1.1rem;
  margin-bottom: 0.5rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 650;
  list-style: none;
  position: relative;
  padding-right: 1.6rem;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "○";
  position: absolute;
  right: 0;
  color: var(--accent);
  font-weight: 700;
  transition: transform 0.2s;
}

.faq details[open] summary::after { content: "●"; }

.faq details p { color: var(--muted); font-size: 0.92rem; margin-top: 0.6rem; }

/* The close: the only saturated block on the page — deep linden, cream
   type, honey action. Under the lípa, in its shade. */
.cta-band {
  text-align: center;
  margin: 4.5rem auto 1.5rem;
  padding: 3rem 2rem 2.6rem;
  max-width: 880px;
  background: linear-gradient(160deg, #56692e, #45562a);
  color: var(--accent-ink);
  border-radius: var(--radius-lg);
  width: 100%;
}

.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1.3rem; }

.cta-band .url-input { border-color: transparent; }

.cta-band .btn-hero {
  background: var(--honey);
  color: #2f2408;
  box-shadow: none;
}

.cta-note {
  color: color-mix(in srgb, var(--accent-ink) 72%, transparent);
  font-size: 0.85rem;
  margin-top: 1.1rem;
}

@media (max-width: 760px) {
  .steps, .why-grid, .price-row { grid-template-columns: 1fr; }
  .land-section { padding-top: 2.2rem; }
  .who-band { padding-top: 2rem; }
  .steps-flow::before { display: none; }
  .price-card.featured { order: -1; }

  .sec-divider { margin-top: 2.4rem; }
  .step-art { display: none; }

  /* Compact rows instead of stacked shrines: ring left, text right. */
  .steps { gap: 1.1rem; }
  .step {
    display: grid;
    grid-template-columns: 2.6rem 1fr;
    column-gap: 1rem;
    text-align: left;
  }
  .step .step-ring { grid-row: 1 / 3; margin-bottom: 0; }
  .step h3 { align-self: center; }
  .step p { margin-top: 0.2rem; }

  .why-card {
    display: grid;
    grid-template-columns: 2.4rem 1fr;
    column-gap: 1rem;
    padding: 1.1rem 1.15rem;
  }
  .why-card .why-mark { grid-row: 1 / 3; margin-bottom: 0; }
  .why-card h3 { align-self: center; font-size: 1.02rem; }
  .why-card p { margin-top: 0.25rem; }

  .cta-band { padding: 2.4rem 1.2rem 2.2rem; }
}

/* --------------------------------------------------------------- auth */

.auth-card { max-width: 440px; }

.tabs { display: flex; gap: 0.3rem; margin: 0.9rem 0 1.3rem; border-bottom: 2px solid var(--line); }

.tab {
  padding: 0.5rem 0.9rem;
  font-weight: 650;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}

.tab.sel { color: var(--ink); border-bottom-color: var(--accent); }

.url-input {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--card);
  overflow: hidden;
}

.url-input span {
  padding: 0.6rem 0 0.6rem 0.75rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  white-space: nowrap;
}

.url-input input { border: 0; border-radius: 0; padding-left: 0.15rem; }
.url-input:focus-within { border-color: var(--accent); }
.url-input input:focus { outline: none; border: 0; }

.hint { color: var(--muted); font-size: 0.82rem; margin-top: 0.4rem; }

.linklike {
  color: var(--accent);
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0;
}

.actions-row { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 0.4rem; }

/* ---------------------------------------------------------- dashboard */

.dash-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.dash-head h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 0.3rem; }

.dash-url {
  font-family: var(--font-mono);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dash-url-row { display: flex; align-items: center; gap: 0.7rem; margin-top: 0.3rem; flex-wrap: wrap; }

.badge.hidden-ev { background: var(--line-soft); color: var(--muted); margin-left: 0.55rem; vertical-align: 0.15em; }

/* The dashboard Tarif section mirrors the landing pricing cards; the
   featured column is wider to hold the checkout comfortably. */
.tarif-row { margin-top: 1.4rem; }

@media (min-width: 761px) {
  .tarif-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 1fr); }
}

.price-card.current { border-color: var(--ok); }

.tarif-now {
  display: block;
  text-align: center;
  margin-top: 1.25rem;
  padding: 0.45rem 0.8rem;
  border-radius: 99px;
  background: color-mix(in srgb, var(--ok) 12%, var(--card));
  color: var(--ok);
  font-weight: 700;
  font-size: 0.85rem;
}

#tarif-checkout .price-btn + .price-btn { margin-top: 0.5rem; }
#tarif-checkout .hint { margin-top: 0.7rem; }

.tarif-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 1rem 0 0.9rem;
  font-size: 0.88rem;
  color: var(--ink);
  white-space: normal;
}

/* .check comes later in the file and would win its nowrap back. */
.check.tarif-consent { white-space: normal; display: flex; align-items: flex-start; color: var(--ink); }

.tarif-consent input { width: auto; margin-top: 0.25rem; }
.tarif-consent a { text-decoration: underline; text-underline-offset: 3px; }

/* Organizer branding: name by default, a logo when they add one. */
.org-logo {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--card);
}

.index-head .org-logo { width: 64px; height: 64px; margin: 0.6rem 0 0.7rem; }
.side .org-logo { margin-bottom: 0.1rem; }

.logo-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.logo-row label.btn { cursor: pointer; }

.feed-details {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 0.8rem 1.1rem;
}

.feed-details summary { cursor: pointer; font-weight: 650; font-size: 0.92rem; }
.feed-details[open] summary { margin-bottom: 0.5rem; }

.empty-note {
  background: color-mix(in srgb, var(--accent) 5%, var(--card));
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.empty-note b { color: var(--ink); }
.empty-note p + p { margin-top: 0.4rem; }

.dash-section { margin-bottom: 2.2rem; }

.dash-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.55rem;
  margin-bottom: 0.9rem;
}

.dash-section-head h2 { font-size: 1.25rem; }

.card-actions { margin-left: auto; display: flex; gap: 0.5rem; flex-wrap: wrap; }

.editor {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.editor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.2rem;
}

.editor-grid .span2 { grid-column: 1 / -1; }

.editor-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0.6rem 0;
}

.window-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.window-row select { width: auto; min-width: 8.5rem; }
.window-row input[type="time"] { width: auto; font-family: var(--font-mono); }

#btn-add-window, #btn-add-override, #btn-add-question { margin: 0.2rem 0 0.9rem; }

.window-row input[type="date"] { width: auto; font-family: var(--font-mono); }

.question-row input:not([type="checkbox"]) { flex: 1; min-width: 12rem; }

.check {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 0;
  white-space: nowrap;
}

.check input { width: auto; }

.feed-row { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }

.onboard {
  background: color-mix(in srgb, var(--accent) 7%, var(--card));
  border-radius: var(--radius);
  padding: 1.6rem;
  text-align: center;
}

.onboard h3 { font-size: 1.25rem; }
.onboard p { color: var(--muted); margin: 0.5rem auto 1rem; max-width: 34rem; }

.share-banner {
  background: color-mix(in srgb, var(--ok) 9%, var(--card));
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  margin-bottom: 1rem;
}

.share-banner h3 { font-size: 1.15rem; }
.share-banner > p { color: var(--muted); margin: 0.3rem 0 0.8rem; }

.feed-row code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0.45rem 0.7rem;
  overflow-wrap: anywhere;
}

.finish .loc { font-size: 0.95rem; margin-top: 0.35rem; }

.booking-row {
  display: grid;
  grid-template-columns: 11rem 1fr 1.4fr auto;
  gap: 0.8rem;
  align-items: baseline;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem 1rem;
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
}

.booking-row .bw { font-weight: 600; font-size: 0.85rem; }
.booking-row .bg { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 720px) {
  .editor-grid { grid-template-columns: 1fr; }
  .booking-row { grid-template-columns: 1fr auto; }
  .booking-row .be, .booking-row .bg { grid-column: 1 / -1; }
}

/* ------------------------------------------------------------- footer */

.foot {
  text-align: center;
  padding: 1.4rem 0 1.8rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.foot b { font-weight: 650; color: var(--ink); }
.foot a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.foot a:hover { color: var(--accent); }
/* Guest-page footers link home — every booking page vouches for the brand. */
.foot a.wm { text-decoration: none; }
.foot a.wm .name { color: var(--ink); }
.foot-sep { margin: 0 0.5rem; }

/* ------------------------------------------------------------ documents */

.doc { max-width: 720px; justify-content: flex-start; }
.doc h1 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-top: 1.5rem; }
.doc .doc-meta { color: var(--muted); font-size: 0.88rem; margin-top: 0.6rem; }
.doc .doc-meta a { text-decoration: underline; text-underline-offset: 3px; }
.doc h2 { font-size: 1.2rem; margin: 2rem 0 0.6rem; }
.doc p { margin-bottom: 0.6rem; }
.doc ul { padding-left: 1.2rem; margin-bottom: 0.6rem; }
.doc li { margin-bottom: 0.45rem; }
.doc a { text-decoration: underline; text-underline-offset: 3px; }

.foot .by {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--muted);
  margin-left: 0.45rem;
}

/* --------------------------------------------------------- responsive */

@media (max-width: 860px) {
  .card { grid-template-columns: 1fr; }
  .side { border-right: 0; border-bottom: 1px solid var(--line-soft); padding: 1.5rem 1.4rem; }
  .facts { margin-top: 0.2rem; }
  .stage { padding: 1.5rem 1.4rem 2rem; min-height: 0; }
  .pick { grid-template-columns: 1fr; gap: 1.4rem; }
  .slot-list { max-height: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
