/* Demo page. Two layers that must never be confused:
   - Littlehorn (dark, lime, Space Grotesk): the page around the demo and the
     guide cards that say what to try.
   - The made-up salon (light, berry, Instrument Serif): everything a client
     or the owner would really see, inside the phones.
   Fonts are self-hosted from /fonts and all SIL OFL. */

@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 400 500; font-display: swap; src: url('/fonts/space-grotesk-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 400 500; font-display: swap; src: url('/fonts/space-grotesk-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 500; font-display: swap; src: url('/fonts/inter-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 500; font-display: swap; src: url('/fonts/inter-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/instrument-serif-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/instrument-serif-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url('/fonts/instrument-serif-italic-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url('/fonts/instrument-serif-italic-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* Littlehorn */
  --lh-bg: #060a07;
  --lh-panel: #0d140f;
  --lh-line: #1f2a33;
  --lh-line-2: #485346;
  --lh-text: #ddffdc;
  --lh-moss: #aed2a4;
  --lh-sage: #8cab87;
  --lh-lime: #7fee64;
  --lh-on-lime: #0b130b;

  /* The salon */
  --s-bg: #f6f1ea;
  --s-app: #f3efe9;
  --s-surface: #ffffff;
  --s-ink: #221c19;
  --s-ink-2: #4a413b;
  --s-muted: #6b625b;
  --s-faint: #8f857d;
  --s-line: #e6ddd2;
  --s-line-2: #d8ccbe;
  --s-accent: #8c2f4b;
  --s-accent-2: #a23b5a;
  --s-accent-soft: #f4e4e8;
  --s-error: #b3261e;
  --tone-ivana: #8c2f4b;
  --tone-petra: #2f5f5a;
  --tone-maja: #9a6224;

  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Space Grotesk', Inter, system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* Height of the bottom bar on phones; 0 where there is none. */
  --dock-h: calc(66px + env(safe-area-inset-bottom));
  /* Where a notification lands inside a screen. */
  --push-top: calc(10px + env(safe-area-inset-top));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--lh-bg);
  color: var(--lh-sage);
  font: 400 16px/1.5 var(--sans);
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--dock-h);
}
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--lh-lime); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.ico { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: -0.125em; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 14px; border-radius: 10px; background: var(--lh-lime); color: var(--lh-on-lime);
  font-weight: 500; text-decoration: none;
}
.skip:focus { top: 12px; }

/* Littlehorn bar ---------------------------------------------------------------- */

.top {
  display: flex; align-items: center; gap: 10px;
  height: 60px; padding: 0 16px;
  border-bottom: 1px solid var(--lh-line);
  background: rgba(13, 20, 15, 0.9);
}
.top__brand {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--lh-text); text-decoration: none;
  font: 500 20px/1 var(--display); letter-spacing: -0.02em;
}
.top__mark { width: 14px; height: 19px; color: var(--lh-lime); }
.top__pill {
  padding: 4px 9px; border: 1px solid rgba(127, 238, 100, 0.45); border-radius: 999px;
  color: var(--lh-lime); font: 500 11px/1 var(--display); letter-spacing: 0.1em; text-transform: uppercase;
}
.top__nav { display: none; margin-left: auto; align-items: center; gap: 22px; }
.top__link { color: var(--lh-moss); font-size: 14px; font-weight: 500; text-decoration: none; transition: color 0.3s; }
.top__link:hover { color: var(--lh-lime); }
.top__cta {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px;
  border-radius: 999px; background: var(--lh-lime); color: var(--lh-on-lime);
  font-size: 14px; font-weight: 500; text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.top__cta:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -12px rgba(127, 238, 100, 0.7); }
.top__cta .ico { width: 18px; height: 18px; }

/* Intro and guide ---------------------------------------------------------------- */

.intro { padding: 26px 16px 22px; }
.intro__eyebrow {
  margin: 0; color: var(--lh-moss);
  font: 500 12px/1.3 var(--display); letter-spacing: 0.08em; text-transform: uppercase;
}
.intro__title {
  margin: 10px 0 0; color: var(--lh-text);
  font: 500 clamp(34px, 9vw, 56px)/1.02 var(--display); letter-spacing: -0.03em;
  text-wrap: balance;
}
.intro__title span { color: var(--lh-lime); }
.intro__lede { margin: 14px 0 0; max-width: 34em; font-size: 16px; line-height: 1.55; }

.steps { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.steps li {
  display: grid; justify-items: start; gap: 7px; padding: 10px 10px 11px;
  border: 1px solid var(--lh-line); border-radius: 14px; background: rgba(13, 20, 15, 0.7);
  transition: border-color 0.3s, background-color 0.3s;
}
.steps p { margin: 0; }
.steps strong { display: block; color: var(--lh-text); font-weight: 500; font-size: 13px; line-height: 1.3; }
.steps p span { display: none; }
.steps__n {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--lh-line-2); color: var(--lh-moss); font: 500 13px/1 var(--display);
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.steps__n .ico { width: 14px; height: 14px; }
.steps li.is-current { border-color: rgba(127, 238, 100, 0.5); background: rgba(127, 238, 100, 0.07); }
.steps li.is-current .steps__n { border-color: var(--lh-lime); color: var(--lh-lime); box-shadow: 0 0 0 4px rgba(127, 238, 100, 0.12); }
.steps li.is-done .steps__n { border-color: var(--lh-lime); background: var(--lh-lime); color: var(--lh-on-lime); }

.intro__done {
  margin-top: 14px; padding: 16px; border-radius: 16px;
  border: 1px solid rgba(127, 238, 100, 0.4); background: rgba(127, 238, 100, 0.08); color: var(--lh-moss);
  animation: rise 0.6s var(--ease);
}
.intro__done p { margin: 0 0 12px; font-size: 15px; }
.intro__done strong { color: var(--lh-text); font-weight: 500; }
.intro__reset {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; padding: 6px 0;
  border: 0; background: none; color: var(--lh-sage); font-size: 13.5px; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(140, 171, 135, 0.4);
}
.intro__reset:hover { color: var(--lh-lime); }

/* Stage: one view at a time on phones -------------------------------------------- */

.stage[data-view="client"] .device--owner,
.stage[data-view="owner"] .device--client { display: none; }

.device__label {
  display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 16px;
  border-top: 1px solid var(--lh-line); border-bottom: 1px solid var(--lh-line);
  background: var(--lh-panel); color: var(--lh-moss); font: 500 12.5px/1.2 var(--display); letter-spacing: 0.02em;
}
.device__label .ico { color: var(--lh-lime); width: 15px; height: 15px; }
.screen__status, .wire { display: none; }
.client-root, .owner-root { min-height: calc(100vh - var(--dock-h) - 40px); background: var(--s-bg); }
.owner-root { background: var(--s-app); }
.noscript { padding: 20px 16px; color: var(--lh-moss); }
.noscript a { color: var(--lh-lime); }

/* Bottom bar on phones: which side you are on, and WhatsApp. */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; gap: 8px; padding: 9px 10px calc(9px + env(safe-area-inset-bottom));
  background: rgba(13, 20, 15, 0.96); border-top: 1px solid var(--lh-line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.dock__btn {
  position: relative; flex: 1; min-width: 0; height: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: 1px solid var(--lh-line-2); border-radius: 999px; background: transparent; color: var(--lh-text);
  font-size: 14px; font-weight: 500; white-space: nowrap; cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.dock__btn .ico { width: 18px; height: 18px; }
.dock__btn[aria-pressed="true"] { background: var(--lh-text); border-color: var(--lh-text); color: var(--lh-on-lime); }
.dock__badge {
  position: absolute; top: -5px; right: 8px; min-width: 20px; height: 20px; padding: 0 6px;
  display: grid; place-items: center; border-radius: 10px; background: #ff6a55; color: #fff;
  font-size: 11.5px; font-weight: 500; animation: pop 0.5s var(--ease);
}
.dock__wa {
  flex: none; width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 50%; background: var(--lh-lime); color: var(--lh-on-lime);
}
.dock__wa .ico { width: 23px; height: 23px; }

/* What the salon gets, and the ask ------------------------------------------------ */

.gets { max-width: 1160px; margin: 0 auto; padding: 56px 16px 8px; }
.gets__title, .cta__title {
  margin: 0; color: var(--lh-text);
  font: 500 clamp(26px, 6vw, 38px)/1.08 var(--display); letter-spacing: -0.025em; text-wrap: balance;
}
.gets__list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 20px; }
.gets__list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
.gets__ico {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid rgba(127, 238, 100, 0.25); background: rgba(127, 238, 100, 0.08); color: var(--lh-lime);
}
.gets__ico .ico { width: 22px; height: 22px; }
.gets__list p { margin: 0; font-size: 14.5px; line-height: 1.5; }
.gets__list strong { display: block; margin-bottom: 3px; color: var(--lh-text); font-size: 16px; font-weight: 500; }

.cta { max-width: 1160px; margin: 0 auto; padding: 48px 16px 16px; }
.cta__panel {
  display: grid; gap: 24px; padding: 24px; border-radius: 24px;
  border: 1px solid rgba(127, 238, 100, 0.3); background: rgba(127, 238, 100, 0.07);
}
.cta__text { margin: 12px 0 0; max-width: 36em; color: var(--lh-moss); font-size: 16px; }
.cta__trust { margin: 14px 0 0; font-size: 13.5px; }
.cta__buttons { display: grid; gap: 10px; align-content: center; }
.btn-lime, .btn-line {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 52px; padding: 0 22px;
  font-size: 16px; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s;
}
.btn-lime { border-radius: 999px; background: var(--lh-lime); color: var(--lh-on-lime); }
.btn-lime:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(127, 238, 100, 0.6); }
.btn-line { border-radius: 14px; border: 1px solid var(--lh-text); color: var(--lh-text); }
.btn-line:hover { background: rgba(221, 255, 220, 0.08); }
.btn-lime .ico, .btn-line .ico { width: 20px; height: 20px; }
.cta__more {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 6px;
  color: var(--lh-moss); font-size: 14px; text-decoration: none; transition: color 0.3s;
}
.cta__more:hover { color: var(--lh-lime); }

.foot { max-width: 1160px; margin: 0 auto; padding: 28px 16px 40px; font-size: 13px; }
.foot p { margin: 0 0 6px; }
.foot a { color: var(--lh-moss); }

/* ===================================================================================
   The salon's public page (client side)
   =================================================================================== */

.salon {
  min-height: 100%; background: var(--s-bg); color: var(--s-ink);
  font: 400 15px/1.45 var(--sans); letter-spacing: -0.01em;
}
.salon :focus-visible, .app :focus-visible, .sheet :focus-visible, .push :focus-visible { outline-color: var(--s-accent); }
.salon__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 18px; border-bottom: 1px solid var(--s-line); background: var(--s-bg);
}
.salon__logo { margin: 0; font: 400 27px/1 var(--serif); letter-spacing: -0.01em; color: var(--s-ink); overflow-wrap: anywhere; }
.salon__logo em { font-style: italic; color: var(--s-accent); }
.salon__lang { display: inline-flex; flex: none; padding: 2px; border: 1px solid var(--s-line-2); border-radius: 999px; }
.salon__langbtn {
  min-height: 30px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent;
  color: var(--s-muted); font-size: 12px; font-weight: 500; cursor: pointer;
}
.salon__langbtn.is-on { background: var(--s-ink); color: var(--s-bg); }

.salon__hero { padding: 30px 18px 4px; }
.salon__eyebrow { margin: 0; color: var(--s-muted); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; }
.salon__title { margin: 10px 0 0; font: 400 46px/0.98 var(--serif); letter-spacing: -0.02em; }
.salon__lede { margin: 12px 0 0; color: var(--s-ink-2); font-size: 15px; max-width: 30em; }
.salon__hours { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; color: var(--s-muted); font-size: 13px; }
.salon__hours .ico { width: 15px; height: 15px; }

.booker { padding: 20px 18px 36px; }
.booker__flow { display: grid; gap: 34px; }
.booker__step { margin: 0; padding: 0; border: 0; min-width: 0; }
.booker__legend { padding: 0; margin: 0 0 14px; font: 400 30px/1.1 var(--serif); color: var(--s-ink); }
.booker__group + .booker__group { margin-top: 18px; }
.booker__grouplabel, .slots__group {
  margin: 0 0 8px; color: var(--s-muted); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
}
.booker__services { display: grid; gap: 8px; }

/* Option buttons, shared by the booking page and the calendar app. */
.salon .opt, .app .opt {
  appearance: none; display: grid; align-items: center; margin: 0;
  border: 1px solid var(--s-line-2); border-radius: 14px; background: var(--s-surface); color: var(--s-ink);
  text-align: left; cursor: pointer;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.15s var(--ease);
}
@media (hover: hover) {
  .salon .opt:hover, .app .opt:hover { border-color: var(--s-ink-2); }
}
.salon .opt:active, .app .opt:active { transform: translateY(1px); }
.salon .opt.is-on, .app .opt.is-on { background: var(--s-accent); border-color: var(--s-accent); color: #fff; }
.salon .opt[disabled] { cursor: not-allowed; opacity: 0.35; }
.opt__title { font-size: 15px; font-weight: 500; }
.opt__meta { font-size: 12.5px; color: var(--s-muted); }
.opt__price { font-weight: 500; color: var(--s-ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.opt.is-on .opt__meta, .opt.is-on .opt__price { color: rgba(255, 255, 255, 0.85); }

.opt--service {
  grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title price" "meta price";
  column-gap: 14px; row-gap: 1px; min-height: 58px; padding: 10px 16px;
}
.opt--service .opt__title { grid-area: title; }
.opt--service .opt__meta { grid-area: meta; }
.opt--service .opt__price { grid-area: price; }

.booker__staff { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.opt--staff { justify-items: center; gap: 1px; padding: 12px 6px; text-align: center; }
.opt__face {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 7px; border-radius: 50%;
  background: var(--s-ink-2); color: #fff; font: 400 24px/1 var(--serif);
}
.opt__face--any { background: var(--s-accent-soft); color: var(--s-accent); }
.opt__face--any .ico { width: 22px; height: 22px; }
.opt.is-on .opt__face { box-shadow: 0 0 0 2px #fff; }
.opt.is-on .opt__face--any { background: #fff; }
.opt--staff .opt__meta { font-size: 11.5px; line-height: 1.25; }
.tone-ivana { background: var(--tone-ivana); }
.tone-petra { background: var(--tone-petra); }
.tone-maja { background: var(--tone-maja); }

/* Days strip, shared */
.salon .dates, .app .dates {
  display: grid; grid-auto-flow: column; grid-auto-columns: 60px; gap: 6px;
  overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 6px; scrollbar-width: none;
}
.salon .dates::-webkit-scrollbar, .app .dates::-webkit-scrollbar { display: none; }
.dates__item { position: relative; justify-items: center; gap: 1px; padding: 8px 0 9px; text-align: center; scroll-snap-align: start; }
.dates__wd, .dates__mon { color: var(--s-muted); font-size: 11.5px; text-transform: lowercase; }
.dates__day { font: 400 26px/1.05 var(--serif); }
.opt.is-on .dates__wd, .opt.is-on .dates__mon { color: rgba(255, 255, 255, 0.85); }
.dates__pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 2px; }
.salon .link {
  appearance: none; min-height: 40px; padding: 0; border: 0; background: none;
  color: var(--s-ink-2); font-size: 13.5px; cursor: pointer;
}
.salon .link[disabled] { opacity: 0.35; cursor: default; }

.slots__label { margin: 18px 0 4px; color: var(--s-ink-2); font-size: 14px; }
.slots__label::first-letter { text-transform: uppercase; }
.slots__group { margin: 14px 0 8px; }
.slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.slots__item { justify-content: center; min-height: 44px; border-radius: 12px; font-size: 14.5px; font-variant-numeric: tabular-nums; text-align: center; }
.salon .slots__item.is-gone {
  display: grid; place-items: center; cursor: default;
  border: 1.5px dashed var(--s-accent); background: var(--s-accent-soft); color: var(--s-accent);
  text-decoration: line-through; text-decoration-thickness: 1.5px;
  animation: gone 1.4s var(--ease) 2;
}
.booker__notice {
  display: flex; align-items: flex-start; gap: 10px; margin: 0 0 14px; padding: 12px 14px;
  border-radius: 14px; background: var(--s-accent-soft); color: var(--s-accent); font-size: 14px; line-height: 1.4;
}
.booker__notice .ico { width: 16px; height: 16px; margin-top: 2px; }
.booker__full { margin: 10px 0 0; color: var(--s-muted); font-size: 14px; }
.booker__empty {
  display: grid; justify-items: start; gap: 12px; margin-top: 14px; padding: 18px;
  border: 1px dashed var(--s-line-2); border-radius: 14px; color: var(--s-ink-2);
}
.booker__empty p { margin: 0; }

.salon .btn {
  appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 22px; border: 1px solid var(--s-accent); border-radius: 14px;
  background: var(--s-accent); color: #fff; font-size: 15.5px; font-weight: 500; cursor: pointer;
  transition: background-color 0.2s, transform 0.15s var(--ease);
}
.salon .btn:hover { background: var(--s-accent-2); border-color: var(--s-accent-2); }
.salon .btn:active { transform: translateY(1px); }
.salon .btn[disabled] { opacity: 0.65; cursor: progress; }
.salon .btn--block { width: 100%; }
.salon .btn--ghost { background: transparent; border-color: var(--s-line-2); color: var(--s-ink); }
.salon .btn--ghost:hover { background: var(--s-surface); border-color: var(--s-ink-2); }
.salon .btn--sm { min-height: 40px; padding: 0 14px; font-size: 14px; }

.booker__form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { color: var(--s-ink-2); font-size: 13.5px; font-weight: 500; }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--s-line-2); border-radius: 12px;
  background: var(--s-surface); color: var(--s-ink); font-size: 16px; transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 76px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--s-faint); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--s-accent); box-shadow: 0 0 0 3px rgba(140, 47, 75, 0.15); }
.field__help { margin: 0; color: var(--s-muted); font-size: 12.5px; }
.field--error input, .field--error textarea { border-color: var(--s-error); }
.field__error { margin: 0; color: var(--s-error); font-size: 13px; }
.booker__error {
  margin: 0; padding: 12px 14px; border: 1px solid #e9b4ae; border-radius: 12px;
  background: #fbeceb; color: #8f1f17; font-size: 14px;
}
.booker__privacy { margin: 0; color: var(--s-muted); font-size: 12.5px; text-align: center; }

.summary { margin: 0; display: grid; gap: 8px; padding: 14px 0; border-top: 1px solid var(--s-line); border-bottom: 1px solid var(--s-line); }
.summary > div { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; }
.summary dt { color: var(--s-muted); font-size: 13.5px; }
.summary dd { margin: 0; font-size: 14.5px; }
.summary dd::first-letter { text-transform: uppercase; }

.done { display: grid; gap: 16px; padding-top: 4px; animation: rise 0.5s var(--ease); }
.done__badge {
  justify-self: start; display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 6px 12px;
  border-radius: 999px; background: var(--s-accent-soft); color: var(--s-accent); font-size: 13px; font-weight: 500;
}
.done__badge .ico { width: 14px; height: 14px; }
.done__title { margin: 0; font: 400 38px/1.04 var(--serif); letter-spacing: -0.015em; }
.done__title:focus { outline: none; }
.done__lede { margin: 0; color: var(--s-ink-2); }
.done__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.skeleton { display: grid; gap: 18px; }
.skeleton__row { display: grid; grid-auto-flow: column; grid-auto-columns: 60px; gap: 6px; overflow: hidden; }
.skeleton__row--slots { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.skeleton__date, .skeleton__slot {
  background: #ece4da linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent) 0 0 / 200% 100%;
  animation: shimmer 1.3s linear infinite;
}
.skeleton__date { height: 72px; border-radius: 14px; }
.skeleton__slot { height: 44px; border-radius: 12px; }

.salon__foot { padding: 18px; border-top: 1px solid var(--s-line); color: var(--s-muted); font-size: 12px; text-align: center; }

/* Guide cards: Littlehorn's voice inside the salon's screens. */
.guide-card {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; align-items: start;
  padding: 13px 14px 14px 16px; border: 1px solid rgba(127, 238, 100, 0.4); border-radius: 16px;
  background: #0d140f; color: #c9e6c2; font: 400 14px/1.45 var(--sans);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.7);
  animation: rise 0.5s var(--ease);
}
.guide-card::before {
  content: 'Demo'; grid-column: 1 / -1; color: var(--lh-lime);
  font: 500 10.5px/1 var(--display); letter-spacing: 0.14em; text-transform: uppercase;
}
.guide-card p { margin: 0; grid-column: 1; }
.guide-card strong { color: var(--lh-text); font-weight: 500; }
.guide-card__btn {
  grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--lh-lime); color: var(--lh-on-lime);
  font-size: 14px; font-weight: 500; cursor: pointer; transition: transform 0.25s var(--ease);
}
.guide-card__btn:hover { transform: translateX(2px); }
.guide-card__btn .ico { width: 16px; height: 16px; }
.guide-card__x {
  grid-column: 2; grid-row: 2; display: grid; place-items: center; width: 30px; height: 30px; margin: -4px -4px 0 0;
  border: 0; border-radius: 50%; background: rgba(221, 255, 220, 0.08); color: var(--lh-text); cursor: pointer;
}
.guide-card__x .ico { width: 14px; height: 14px; }
.guide-card :focus-visible { outline-color: var(--lh-lime); }
.guide-card--app { margin: 2px 10px 12px; }

/* ===================================================================================
   The salon calendar (owner side)
   =================================================================================== */

.app { position: relative; min-height: 100%; padding-bottom: 104px; background: var(--s-app); color: var(--s-ink); font: 400 14px/1.4 var(--sans); letter-spacing: -0.01em; }
.app__bar { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--s-ink); color: #f6f1ea; }
.app__mark {
  display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px;
  background: var(--s-accent); color: #fff; font: 400 22px/1 var(--serif);
}
.app__who { min-width: 0; }
.app__who p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app__name { font-size: 15px; font-weight: 500; }
.app__sub { color: rgba(246, 241, 234, 0.65); font-size: 12px; }
.app__today {
  flex: none; margin-left: auto; height: 34px; padding: 0 14px; border: 1px solid rgba(246, 241, 234, 0.3); border-radius: 999px;
  background: transparent; color: #f6f1ea; font-size: 13px; font-weight: 500; cursor: pointer;
}
.app__today[disabled] { opacity: 0.4; cursor: default; }
.app .dates--app { grid-auto-columns: 52px; padding: 12px 10px 4px; }
.app .dates--app .dates__item { padding: 6px 0 7px; border-radius: 12px; }
.app .dates--app .dates__day { font-size: 22px; }
.app .dates--app .dates__mon { font-variant-numeric: tabular-nums; }
.dates__item.has-new::after {
  content: ''; position: absolute; top: 6px; right: 7px; width: 7px; height: 7px; border-radius: 50%;
  background: #e0533f; box-shadow: 0 0 0 2px var(--s-surface);
}
.app__dayhead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 8px 14px 6px; }
.app__day { margin: 0; font: 400 27px/1.1 var(--serif); }
.app__day::first-letter { text-transform: uppercase; }
.app__count { margin: 0; color: var(--s-muted); font-size: 12.5px; white-space: nowrap; }
.app__legend { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; padding: 0 14px 10px; color: var(--s-muted); font-size: 12px; }
.app__legend span { display: inline-flex; align-items: center; gap: 6px; }
.key { display: inline-block; width: 12px; height: 12px; border-radius: 4px; }
.key--web { background: var(--s-accent); }
.key--phone { background: #fff; box-shadow: inset 0 0 0 1.5px var(--s-accent); }
.key--block { background: repeating-linear-gradient(135deg, #e3dbd1 0 3px, #f7f3ee 3px 6px); box-shadow: inset 0 0 0 1px #e3dbd1; }
.app__closed { margin: 6px 12px; padding: 30px 18px; border: 1px dashed var(--s-line-2); border-radius: 16px; color: var(--s-muted); text-align: center; }
.app__closed .ico { width: 28px; height: 28px; }
.app__closed p { margin: 8px 0 0; }

/* Day view: one column per person. */
.tl { margin: 0 10px; border: 1px solid var(--s-line); border-radius: 16px; background: var(--s-surface); overflow: clip; }
.tl__head {
  position: sticky; top: 0; z-index: 6; display: grid; grid-template-columns: 40px repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--s-line); background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.tl__who { display: flex; flex-direction: column; align-items: center; gap: 3px; margin: 0; padding: 8px 2px 7px; font-size: 12px; font-weight: 500; }
.tl__face { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #fff; font: 400 15px/1 var(--serif); }
.tl__body {
  position: relative; display: grid; grid-template-columns: 40px repeat(3, minmax(0, 1fr)); height: var(--tl-h);
  background:
    repeating-linear-gradient(to bottom, var(--s-line) 0 1px, transparent 1px var(--hour)),
    repeating-linear-gradient(to bottom, transparent 0 calc(var(--hour) / 2), #f2ece4 calc(var(--hour) / 2) calc(var(--hour) / 2 + 1px), transparent calc(var(--hour) / 2 + 1px) var(--hour));
}
.tl__hours { position: relative; }
.tl__hours span { position: absolute; left: 0; width: 40px; margin-top: 3px; color: var(--s-muted); font-size: 10.5px; text-align: center; font-variant-numeric: tabular-nums; }
.tl__col { position: relative; border-left: 1px solid var(--s-line); cursor: pointer; }
.tl__past { position: absolute; left: 0; right: 0; top: 0; z-index: 3; pointer-events: none; background: rgba(243, 239, 233, 0.6); }
.tl__ghost {
  position: absolute; left: 3px; right: 3px; z-index: 2; height: 21px; padding: 2px 6px; border-radius: 6px;
  background: var(--s-accent-soft); color: var(--s-accent); font-size: 10.5px; font-weight: 500;
  opacity: 0; pointer-events: none; transition: opacity 0.15s;
}
.tl__ghost.is-on { opacity: 1; }
.tl__now { position: absolute; left: 36px; right: 0; z-index: 4; height: 2px; background: var(--s-ink); pointer-events: none; }
.tl__now span {
  position: absolute; left: -36px; top: -8px; padding: 1px 4px; border-radius: 5px;
  background: var(--s-ink); color: #fff; font-size: 10px; font-variant-numeric: tabular-nums;
}

.ev {
  position: absolute; left: 3px; right: 3px; z-index: 1; display: flex; flex-direction: column; align-items: flex-start;
  padding: 4px 6px; border: 0; border-radius: 8px; overflow: hidden; text-align: left;
  font-size: 11px; line-height: 1.25; cursor: pointer; transition: box-shadow 0.2s, transform 0.15s var(--ease);
}
@media (hover: hover) { .ev:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -10px rgba(34, 28, 25, 0.6); } }
.ev--web { background: var(--s-accent); color: #fff; }
.ev--phone { padding: 2.5px 4.5px; border: 1.5px solid var(--s-accent); background: #fff; color: var(--s-accent); }
.ev--block { background: repeating-linear-gradient(135deg, #ece5dc 0 6px, #f8f5f0 6px 12px); color: var(--s-muted); }
.ev__time { font-size: 10px; opacity: 0.85; font-variant-numeric: tabular-nums; }
.ev__name { display: flex; align-items: center; gap: 3px; max-width: 100%; font-size: 11.5px; font-weight: 500; white-space: nowrap; }
.ev__name span { overflow: hidden; text-overflow: ellipsis; }
.ev__ico { width: 10px; height: 10px; }
.ev__svc { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: 0.85; }
.ev--short { flex-direction: row; align-items: center; gap: 4px; padding-top: 0; padding-bottom: 0; }
.ev--short .ev__time, .ev--short .ev__svc, .ev--mid .ev__svc { display: none; }
.ev.is-new { box-shadow: 0 0 0 2px #f5c451; }
.ev__new {
  position: absolute; top: 3px; right: 3px; padding: 1px 5px; border-radius: 999px;
  background: #f5c451; color: #3d2c00; font-size: 9px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
}
/* The item just added or opened: an outline that breathes a few times, then stays. */
.ev.is-hl { z-index: 2; outline: 2px solid var(--s-ink); outline-offset: 2px; animation: hl 1.3s ease-in-out 3; }

.fab {
  position: fixed; right: 14px; bottom: calc(var(--dock-h) + 14px); z-index: 30;
  display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 20px 0 16px;
  border: 0; border-radius: 999px; background: var(--s-accent); color: #fff; font-size: 15px; font-weight: 500;
  box-shadow: 0 14px 30px -10px rgba(140, 47, 75, 0.65); cursor: pointer; transition: transform 0.2s var(--ease), background-color 0.2s;
}
.fab:hover { background: var(--s-accent-2); transform: translateY(-2px); }
.fab .ico { width: 20px; height: 20px; }

/* Bottom sheet */
.sheet__backdrop { position: fixed; inset: 0; z-index: 70; background: rgba(24, 18, 15, 0.45); }
.sheet__backdrop--in { animation: fade 0.25s ease; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 71; display: grid; gap: 14px;
  max-height: 90%; overflow-y: auto; overscroll-behavior: contain;
  padding: 10px 18px calc(20px + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0;
  background: var(--s-surface); color: var(--s-ink); font: 400 14.5px/1.45 var(--sans); letter-spacing: -0.01em;
  box-shadow: 0 -24px 60px -20px rgba(0, 0, 0, 0.45);
}
.sheet::before { content: ''; justify-self: center; width: 40px; height: 4px; border-radius: 2px; background: #ddd4c9; }
.sheet--in { animation: sheet-in 0.38s var(--ease); }
.sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sheet__title { margin: 0; font: 400 29px/1.08 var(--serif); }
.sheet__title:focus { outline: none; }
.sheet__x {
  display: grid; place-items: center; flex: none; width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: var(--s-app); color: var(--s-ink); cursor: pointer;
}
.sheet__x .ico { width: 16px; height: 16px; }
.sheet__lede { margin: -4px 0 0; color: var(--s-muted); font-size: 13.5px; }
.sheet__field { display: grid; gap: 7px; min-width: 0; }
.sheet__label { margin: 0; color: var(--s-ink-2); font-size: 12.5px; font-weight: 500; }
.sheet__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 13px;
  border: 1px solid var(--s-line-2); border-radius: 999px; background: var(--s-surface); color: var(--s-ink);
  font-size: 13.5px; font-weight: 500; cursor: pointer; transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
@media (hover: hover) { .chip:hover { border-color: var(--s-ink-2); } }
.chip.is-on { background: var(--s-accent); border-color: var(--s-accent); color: #fff; }
.chip__face { display: grid; place-items: center; width: 24px; height: 24px; margin-left: -7px; border-radius: 50%; color: #fff; font: 400 14px/1 var(--serif); }
.chip.is-on .chip__face { box-shadow: 0 0 0 2px #fff; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: var(--s-app); }
.seg .chip { justify-content: center; min-height: 38px; border: 0; background: transparent; color: var(--s-muted); }
.seg .chip.is-on { background: var(--s-surface); color: var(--s-ink); box-shadow: 0 2px 8px -4px rgba(0, 0, 0, 0.35); }
.sheet input, .sheet__select {
  width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--s-line-2); border-radius: 12px;
  background: var(--s-surface); color: var(--s-ink); font-size: 16px;
}
.sheet__select {
  appearance: none; padding-right: 34px; cursor: pointer;
  background: var(--s-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%236b625b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center / 12px 8px;
}
.sheet input:focus, .sheet__select:focus { outline: none; border-color: var(--s-accent); box-shadow: 0 0 0 3px rgba(140, 47, 75, 0.15); }
.sheet input[aria-invalid="true"] { border-color: var(--s-error); }
.sheet input::placeholder { color: var(--s-faint); }
.sheet__note { margin: 0; padding: 10px 12px; border-radius: 12px; background: #fbf2e1; color: #6a4a10; font-size: 13px; }
.sheet__error { margin: 0; color: var(--s-error); font-size: 13.5px; }
/* Stays in reach at the bottom of the sheet, however long the form gets. */
.sheet__save {
  position: sticky; bottom: 0; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 54px; padding: 0 16px;
  border: 0; border-radius: 14px; background: var(--s-accent); color: #fff; font-size: 15.5px; font-weight: 500; cursor: pointer;
  box-shadow: 0 -16px 18px -4px var(--s-surface), 0 12px 0 0 var(--s-surface);
  transition: background-color 0.2s;
}
.sheet__save:hover { background: var(--s-accent-2); }
.sheet__save[disabled] { opacity: 0.45; cursor: not-allowed; }
.sheet__save .ico { width: 19px; height: 19px; }
.sheet__source {
  justify-self: start; display: inline-flex; align-items: center; gap: 7px; margin: -6px 0 0; padding: 6px 12px;
  border-radius: 999px; font-size: 13px; font-weight: 500;
}
.sheet__source .ico { width: 14px; height: 14px; }
.sheet__source--web { background: var(--s-accent-soft); color: var(--s-accent); }
.sheet__source--phone { background: var(--s-app); color: var(--s-ink-2); }
.sheet__dl { margin: 0; display: grid; gap: 10px; }
.sheet__dl > div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; }
.sheet__dl dt { color: var(--s-muted); font-size: 13px; }
.sheet__dl dd { margin: 0; font-size: 14.5px; }
.sheet__dl dd::first-letter { text-transform: uppercase; }
.sheet__links { display: inline-flex; flex-wrap: wrap; gap: 14px; }
.sheet__links a { color: var(--s-accent); }
.sheet__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sheet__ghost, .sheet__danger { min-height: 46px; padding: 0 18px; border-radius: 12px; font-size: 14.5px; font-weight: 500; cursor: pointer; }
.sheet__ghost { border: 1px solid var(--s-line-2); background: var(--s-surface); color: var(--s-ink); }
.sheet__ghost:hover { border-color: var(--s-ink-2); }
.sheet__danger { border: 0; background: var(--s-error); color: #fff; }
.sheet__confirm { display: grid; gap: 10px; padding: 12px; border-radius: 14px; background: #fbeceb; }
.sheet__confirm p { margin: 0; color: #8f1f17; font-size: 14px; }

/* Notification as it lands on the owner's phone */
.push {
  position: fixed; top: var(--push-top); left: 10px; right: 10px; z-index: 60; display: flex; align-items: stretch;
  border-radius: 20px; background: rgba(255, 255, 255, 0.94); color: var(--s-ink);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.05);
  animation: push-in 0.6s var(--ease);
}
.push__open {
  flex: 1; min-width: 0; display: flex; align-items: flex-start; gap: 10px; padding: 12px 4px 12px 12px;
  border: 0; background: none; color: inherit; text-align: left; cursor: pointer;
}
.push__icon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--s-accent); color: #fff; font: 400 22px/1 var(--serif); }
.push__text { display: grid; gap: 1px; min-width: 0; }
.push__app { display: flex; justify-content: space-between; gap: 8px; color: var(--s-muted); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }
.push__title { font-size: 14px; font-weight: 500; }
.push__body { overflow: hidden; color: var(--s-ink-2); font-size: 13.5px; text-overflow: ellipsis; white-space: nowrap; }
.push__x { display: grid; place-items: center; flex: none; width: 42px; border: 0; background: none; color: var(--s-muted); cursor: pointer; }
.push__x .ico { width: 15px; height: 15px; }

.toast {
  position: fixed; left: 14px; right: 14px; bottom: calc(var(--dock-h) + 78px); z-index: 65;
  display: flex; align-items: center; gap: 9px; width: fit-content; max-width: calc(100% - 28px); margin: 0 auto; padding: 11px 16px;
  border-radius: 14px; background: var(--s-ink); color: #f6f1ea; font: 400 14px/1.35 var(--sans);
  box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.55); animation: rise 0.4s var(--ease);
}
.toast { flex-wrap: wrap; row-gap: 8px; }
.toast > .ico { width: 17px; height: 17px; color: #b8f0a6; }
.toast__btn {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; margin-left: auto; padding: 0 12px;
  border: 0; border-radius: 999px; background: #f6f1ea; color: var(--s-ink); font-size: 13.5px; font-weight: 500; cursor: pointer;
}
.toast__btn .ico { width: 14px; height: 14px; }

/* The closing question, once all three steps have worked. */
.finish {
  position: fixed; left: 12px; right: 12px; bottom: calc(var(--dock-h) + 12px); z-index: 45;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center;
  max-width: 560px; margin: 0 auto; padding: 16px 16px 16px 18px; border-radius: 20px;
  border: 1px solid rgba(127, 238, 100, 0.5); background: #0d140f; color: var(--lh-moss);
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.85), 0 0 0 6px rgba(127, 238, 100, 0.06);
  animation: rise 0.5s var(--ease);
}
.finish__text { margin: 0; font-size: 15px; line-height: 1.4; }
.finish__text strong { color: var(--lh-text); font-weight: 500; }
.finish__btn { grid-column: 1; justify-self: start; height: 46px; }
.finish__x {
  grid-column: 2; grid-row: 1; align-self: start; display: grid; place-items: center; width: 32px; height: 32px;
  border: 0; border-radius: 50%; background: rgba(221, 255, 220, 0.08); color: var(--lh-text); cursor: pointer;
}
.finish__x .ico { width: 15px; height: 15px; }

/* ===================================================================================
   Wider screens
   =================================================================================== */

@media (min-width: 640px) {
  .intro { padding: 36px 24px 26px; }
  .steps { grid-template-columns: 1fr; gap: 10px; max-width: 520px; }
  .steps li { grid-template-columns: 30px minmax(0, 1fr); align-items: start; gap: 12px; padding: 13px 15px; }
  .steps strong { font-size: 15px; }
  .steps p span { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.45; }
  .gets__list { grid-template-columns: 1fr 1fr; gap: 26px 32px; }
  .gets, .cta, .foot { padding-left: 24px; padding-right: 24px; }
  .booker__staff { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
}

@media (min-width: 768px) {
  .top { padding: 0 24px; }
  .top__nav { display: flex; }
}

@media (min-width: 900px) {
  .cta__panel { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; padding: 40px; }
  .cta__buttons { min-width: 280px; }
}

/* Side by side: both phones live, a line between them. */
@media (min-width: 1024px) {
  :root { --dock-h: 0px; --push-top: 40px; }
  .dock { display: none; }
  .intro { max-width: 860px; margin: 0 auto; padding: 44px 32px 36px; text-align: center; }
  .intro__lede { margin-left: auto; margin-right: auto; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; text-align: left; }
  .intro__done { max-width: 620px; margin-left: auto; margin-right: auto; }

  .stage {
    display: grid; grid-template-columns: minmax(0, 384px) 104px minmax(0, 384px);
    justify-content: center; align-items: center; padding: 0 24px 24px;
  }
  .stage[data-view] .device { display: block; }
  .device__label { justify-content: center; padding: 0 0 12px; border: 0; background: none; }
  .device__frame {
    padding: 10px; border: 1px solid #2b3529; border-radius: 50px; background: #0d0f0d;
    box-shadow: 0 50px 110px -45px rgba(127, 238, 100, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  }
  .screen {
    position: relative; display: flex; flex-direction: column; overflow: hidden;
    height: clamp(560px, calc(100vh - 180px), 800px); border-radius: 40px; background: var(--s-bg);
    /* Makes the screen the box that position: fixed children (sheet, notification,
       button) are placed in, as on a real phone. */
    transform: translateZ(0);
  }
  .device--owner .screen { background: var(--s-ink); }
  .screen__status {
    display: flex; flex: none; align-items: center; justify-content: space-between; height: 36px; padding: 2px 26px 0 32px;
    background: var(--s-bg); color: var(--s-ink); font: 500 13.5px/1 var(--sans); font-variant-numeric: tabular-nums;
  }
  .screen__status--dark { background: var(--s-ink); color: #f6f1ea; }
  .screen__icons { width: 54px; height: 12px; }
  .screen__scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #d8ccbe transparent; }
  .client-root, .owner-root { min-height: 100%; }
  .owner-root { background: var(--s-app); }
  .app { min-height: 100%; }
  .toast { bottom: 84px; }

  .wire { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 36px; }
  .wire__track {
    position: relative; width: 78px; height: 12px;
    background: repeating-linear-gradient(90deg, rgba(127, 238, 100, 0.5) 0 6px, transparent 6px 12px) center / 100% 2px no-repeat;
  }
  .wire__pulse {
    position: absolute; top: 1px; left: 0; width: 10px; height: 10px; border-radius: 50%;
    background: var(--lh-lime); box-shadow: 0 0 16px rgba(127, 238, 100, 0.9); opacity: 0;
  }
  .wire.is-firing[data-dir="right"] .wire__pulse { animation: wire-right 1s var(--ease) both; }
  .wire.is-firing[data-dir="left"] .wire__pulse { animation: wire-left 1s var(--ease) both; }
  .wire__label { color: var(--lh-sage); font: 500 11px/1.3 var(--display); letter-spacing: 0.14em; text-align: center; text-transform: uppercase; }

  .gets__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gets { padding-top: 72px; }
}

/* Wide screens: the guide on the left, both phones on the right, all in one view. */
@media (min-width: 1240px) {
  .layout {
    display: grid; grid-template-columns: minmax(280px, 380px) auto; justify-content: center; align-items: start;
    gap: 36px; max-width: 1440px; margin: 0 auto; padding: 0 28px;
  }
  .intro { position: sticky; top: 0; max-width: none; margin: 0; padding: 64px 0 24px; text-align: left; }
  .intro__title { font-size: clamp(40px, 3.6vw, 56px); }
  .intro__lede { margin-left: 0; }
  .steps { grid-template-columns: 1fr; }
  .intro__done { margin-left: 0; }
  .stage { grid-template-columns: minmax(0, 372px) 92px minmax(0, 372px); padding: 24px 0 24px; }
  /* The guide column already carries the closing question here. */
  .finish { display: none !important; }
}
@media (min-width: 1400px) {
  .stage { grid-template-columns: minmax(0, 384px) 104px minmax(0, 384px); }
}

/* Animations -------------------------------------------------------------------- */

@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { 0% { transform: scale(0.4); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@keyframes sheet-in { from { opacity: 0.6; transform: translateY(48px); } to { opacity: 1; transform: none; } }
@keyframes push-in { from { opacity: 0; transform: translateY(-110%); } to { opacity: 1; transform: none; } }
@keyframes hl {
  0%, 100% { outline-offset: 2px; outline-color: rgba(34, 28, 25, 1); }
  50% { outline-offset: 7px; outline-color: rgba(34, 28, 25, 0.15); }
}
@keyframes gone { 0%, 100% { transform: none; } 30% { transform: scale(1.06); } }
@keyframes wire-right {
  0% { opacity: 0; transform: translateX(0); }
  15%, 85% { opacity: 1; }
  100% { opacity: 0; transform: translateX(68px); }
}
@keyframes wire-left {
  0% { opacity: 0; transform: translateX(68px); }
  15%, 85% { opacity: 1; }
  100% { opacity: 0; transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
