/* ==========================================================================
   yoursalon.uk — salon booking app
   Palette : porcelain / aubergine plum / logo rose / blush / champagne
   Type    : Prata (didone display) + Jost (geometric sans)
   ========================================================================== */

:root {
  /* colour */
  --porcelain: #f7f2f3;
  --ivory: #fffcfc;
  --plum: #221019;
  --plum-2: #2e1723;
  --plum-3: #3b2130;
  --ink: #2b1a22;
  --muted: #6b5560;
  --muted-dark: #b79fa8;
  --rose: #c4626f;
  --rose-deep: #a6485a;
  --blush: #f2dddf;
  --blush-2: #fae9ea;
  --champagne: #c3a063;
  --line: rgba(34, 16, 25, 0.12);
  --line-soft: rgba(34, 16, 25, 0.07);
  --line-dark: rgba(255, 246, 248, 0.14);

  /* type */
  --display: "Prata", "Bodoni Moda", Georgia, serif;
  --sans: "Jost", "Futura", "Century Gothic", system-ui, -apple-system, sans-serif;

  /* metrics */
  --shell: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 7.5rem);
  --r-card: 14px;
  --hour-h: 58px;
}

/* --------------------------------------------------------------- reset -- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg { display: block; max-width: 100%; }

a { color: inherit; }

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--rose-deep);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection {
  background: var(--blush);
  color: var(--plum);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.7rem 1.1rem;
  background: var(--plum);
  color: var(--porcelain);
  border-radius: 0 0 10px 10px;
  text-decoration: none;
  transition: top 0.18s ease;
}
.skip-link:focus { top: 0; }

/* ---------------------------------------------------------- typography -- */

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 400;
  color: var(--plum);
}

h1, h2 {
  font-family: var(--display);
  line-height: 1.02;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.4rem, 4.7vw, 3.9rem); }
h2 { font-size: clamp(1.85rem, 3.1vw, 2.55rem); }

h3 {
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.005em;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

/* Section eyebrow — set like a time label in the diary column */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose-deep);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  flex: none;
}

.lede {
  font-size: clamp(1.02rem, 1.15vw, 1.14rem);
  line-height: 1.62;
  color: var(--muted);
}

.num { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------- layout -- */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.section-head { max-width: 46rem; }
.section-head p { color: var(--muted); }
.section-head h2 + .lede,
.section-head h2 + p { margin-top: 1rem; }

.section--dark {
  background: var(--plum);
  color: var(--blush);
}
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--porcelain); }
.section--dark .eyebrow { color: var(--rose); }
.section--dark .lede { color: var(--muted-dark); }

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: var(--line);
}

/* ------------------------------------------------------------ buttons -- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease, transform 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--rose-deep);
  color: #fff;
}
.btn--primary:hover { background: var(--plum); }

.btn--ghost {
  border: 1px solid var(--line);
  color: var(--plum);
}
.btn--ghost:hover {
  border-color: var(--plum);
  background: rgba(34, 16, 25, 0.04);
}

.section--dark .btn--ghost {
  border-color: var(--line-dark);
  color: var(--porcelain);
}
.section--dark .btn--ghost:hover {
  border-color: var(--blush);
  background: rgba(255, 255, 255, 0.07);
}

/* store badges — Apple's and Google's official artwork, used unmodified.
   Apple's SVG is edge-to-edge; Google's PNG carries 41px of transparent
   clear space inside a 646x250 canvas. Both are sized from --badge-h, which
   is the height of the VISIBLE badge, so the two line up exactly. Google's
   negative margin pulls its built-in padding back out of the layout. */
.stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  --badge-h: 46px;
}

.store {
  display: inline-flex;
  border-radius: 8px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.store:hover {
  opacity: 0.82;
  transform: translateY(-1px);
}
.store:active { transform: translateY(0); }

.store img {
  display: block;
  max-width: none;
}

/* Apple's SVG is 119.66x40 with no padding. */
.store--apple img {
  height: var(--badge-h);
  width: calc(var(--badge-h) * 119.66407 / 40);
}

/* Google's PNG is a 646x250 canvas holding a 564x168 badge, i.e. 41px of
   clear space all round. Scale from the visible 168 and pull the padding
   back out so both badges present the same height. */
.store--google img {
  height: calc(var(--badge-h) * 250 / 168);
  width: calc(var(--badge-h) * 646 / 168);
  margin: calc(var(--badge-h) * -41 / 168);
}

/* ---------------------------------------------------------------- nav -- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 242, 243, 0.86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.masthead .shell {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  text-decoration: none;
}
.brand img { height: 36px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 1.9rem;
  margin-left: auto;
}

.nav a {
  font-size: 0.94rem;
  color: var(--ink);
  text-decoration: none;
  padding-block: 0.35rem;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.nav a:hover {
  color: var(--rose-deep);
  border-bottom-color: var(--rose);
}
.nav a[aria-current="page"] {
  color: var(--rose-deep);
  border-bottom-color: var(--rose);
}

.nav .btn {
  border-bottom: 0;
  color: #fff;
  padding-block: 0.7rem;
}
.nav .btn:hover { border-bottom: 0; color: #fff; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.nav-toggle span {
  position: relative;
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--plum);
  transition: background-color 0.2s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 1.5px;
  background: var(--plum);
  transition: transform 0.24s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0.5rem var(--gutter) 1.5rem;
    background: var(--porcelain);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav[data-open="true"] { display: flex; }
  .nav a {
    padding-block: 0.85rem;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav a:hover { border-bottom-color: var(--line-soft); }
  .nav .btn {
    margin-top: 1rem;
    align-self: flex-start;
    border-bottom: 0;
  }
}

/* --------------------------------------------------------------- hero -- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(1.75rem, 3vw, 2.75rem) clamp(3.5rem, 6vw, 5rem);
}

/* soft blush wash behind the column */
.hero::after {
  content: "";
  position: absolute;
  top: -14%;
  right: -10%;
  width: 46rem;
  height: 46rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 221, 223, 0.9) 0%, rgba(247, 242, 243, 0) 68%);
  pointer-events: none;
  z-index: 0;
}

.hero .shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.hero-copy { padding-top: clamp(0.5rem, 2vw, 1.75rem); }

.hero h1 { margin-bottom: 1.4rem; }
.hero h1 em {
  font-style: normal;
  color: var(--rose-deep);
}

.hero .lede { max-width: 33rem; }

.hero-cta {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  align-items: flex-start;
}

.hero-note {
  font-size: 0.88rem;
  color: var(--muted);
  letter-spacing: 0.005em;
}
.hero-note strong {
  color: var(--plum);
  font-weight: 500;
}

/* ============================================================ SIGNATURE ==
   The booking journey: a client books on her phone (left) and the
   appointment lands in the salon's day column (right), takings and hours
   moving with it. Plays once on scroll, then holds on the full book.
   ========================================================================= */

.stage {
  display: grid;
  grid-template-columns: 206px minmax(0, 1fr);
  gap: 1.15rem;
  align-items: center;
}

/* ------------------------------------------------------- the phone -- */

.phone {
  position: relative;
  width: 206px;
  aspect-ratio: 206 / 416;
  border-radius: 30px;
  padding: 8px;
  background: linear-gradient(160deg, #3b2130 0%, #221019 55%, #170a10 100%);
  box-shadow: 0 26px 55px -24px rgba(34, 16, 25, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone::before { /* speaker pill */
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.16);
  z-index: 3;
}

.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 23px;
  background: var(--ivory);
  overflow: hidden;
}

.phone-head {
  padding: 1.55rem 0.9rem 0.6rem;
  border-bottom: 1px solid var(--line-soft);
}
.phone-head b {
  display: block;
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--plum);
  line-height: 1.2;
}
.phone-head span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.views {
  position: relative;
  height: calc(100% - 4.5rem);
}

.view {
  position: absolute;
  inset: 0;
  padding: 0.75rem 0.75rem 0.9rem;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: opacity 0.32s ease, transform 0.32s ease, visibility 0.32s;
}
.view.is-on {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.view-label {
  margin: 0 0 0.5rem;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* service rows */
.svc {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  padding: 0.5rem 0.55rem;
  margin-bottom: 0.3rem;
  border-radius: 8px;
  border: 1px solid var(--line-soft);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.svc b {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--plum);
  line-height: 1.25;
}
.svc i {
  font-style: normal;
  font-size: 0.62rem;
  color: var(--muted);
}
.svc u {
  margin-left: auto;
  text-decoration: none;
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.svc.is-picked {
  background: var(--blush-2);
  border-color: var(--rose);
}
.svc.is-picked u { color: var(--rose-deep); }

/* time slots */
.slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
}
.slot {
  padding: 0.42rem 0.2rem;
  border-radius: 7px;
  border: 1px solid var(--line-soft);
  text-align: center;
  font-size: 0.7rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--plum);
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.slot.is-taken {
  color: rgba(107, 85, 96, 0.45);
  background: rgba(34, 16, 25, 0.03);
  text-decoration: line-through;
}
.slot.is-picked {
  background: var(--rose-deep);
  border-color: var(--rose-deep);
  color: #fff;
}

/* confirm view */
.confirm-line {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.7rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}
.confirm-line b {
  font-weight: 500;
  color: var(--plum);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.pay-btn {
  margin-top: 0.85rem;
  padding: 0.6rem;
  border-radius: 999px;
  background: var(--rose-deep);
  color: #fff;
  text-align: center;
  font-size: 0.76rem;
  font-weight: 500;
  transition: transform 0.16s ease, background-color 0.16s ease;
}
.pay-btn.is-pressed {
  transform: scale(0.955);
  background: var(--plum);
}

/* done view */
.view--done {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.55rem;
  padding-bottom: 2rem;
}
.tick {
  width: 46px;
  height: 46px;
  color: var(--rose-deep);
}
.tick circle,
.tick path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.view--done b {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--plum);
}
.view--done span {
  font-size: 0.68rem;
  line-height: 1.5;
  color: var(--muted);
}

.is-on .tick circle {
  stroke-dasharray: 126;
  stroke-dashoffset: 126;
  animation: draw 0.55s 0.1s ease forwards;
}
.is-on .tick path {
  stroke-dasharray: 26;
  stroke-dashoffset: 26;
  animation: draw 0.3s 0.5s ease forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

/* --------------------------------------------------- the day column -- */

.day {
  --hour-h: 40px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.35rem 1.35rem 1.15rem;
  box-shadow: 0 24px 60px -30px rgba(34, 16, 25, 0.35);
}

.day-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}

.day-date {
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--plum);
}

.day-chair {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* the ruled column */
.day-grid {
  position: relative;
  margin-top: 0.65rem;
  padding-left: 3.1rem;
  height: calc(9 * var(--hour-h));
}

.day-hour {
  position: absolute;
  left: 0;
  right: 0;
  height: var(--hour-h);
  border-top: 1px solid var(--line-soft);
}
.day-hour::before {
  content: attr(data-time);
  position: absolute;
  left: 0;
  top: -0.62em;
  font-size: 0.72rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* appointment blocks — --s = minutes after 09:00, --d = duration in minutes */
.appt {
  position: absolute;
  left: 3.1rem;
  right: 0;
  top: calc(var(--s) / 60 * var(--hour-h));
  height: calc(var(--d) / 60 * var(--hour-h) - 4px);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0 0.75rem 0 0.85rem;
  border-radius: 8px;
  background: var(--blush-2);
  border-left: 3px solid var(--rose);
  overflow: hidden;
}

.appt-body { min-width: 0; }

.appt-service {
  display: block;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--plum);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.appt-client {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.appt-price {
  margin-left: auto;
  flex: none;
  font-size: 0.82rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--rose-deep);
}

/* short appointments: single line only */
.appt--short { padding-block: 0; }
.appt--short .appt-client { display: none; }

/* long appointments have room for the service name to wrap */
.appt--roomy { align-items: flex-start; padding-top: 0.4rem; }
.appt--roomy .appt-service { white-space: normal; }
.appt--roomy .appt-price { margin-top: 0.05rem; }

.day-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.1rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--line);
}

.day-total {
  font-family: var(--display);
  font-size: 1.6rem;
  font-variant-numeric: tabular-nums;
  color: var(--champagne);
  line-height: 1;
}

.day-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.day-booked {
  text-align: right;
  font-size: 0.8rem;
  color: var(--muted);
}
.day-booked b {
  display: block;
  font-size: 1.05rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--plum);
}

/* The appointment being booked. JS adds .is-armed only when it can animate,
   so with no JS (or reduced motion) the day is simply shown complete. */
.appt--new { position: absolute; }

.stage.is-armed .appt--new {
  opacity: 0;
  transform: translateY(6px) scaleY(0.9);
  transform-origin: top;
}
.stage.is-armed .appt--new .appt-flag { opacity: 0; }

/* The booked state is declared statically and the animation only plays over
   the top of it, so a throttled or non-rendering tab still ends up correct. */
.stage.is-armed .day.is-booked .appt--new {
  opacity: 1;
  transform: none;
  animation: appt-in 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.stage.is-armed .day.is-booked .appt--new .appt-flag {
  opacity: 1;
  animation: fade-in 0.4s 0.55s ease backwards;
}

@keyframes appt-in {
  0%   { opacity: 0; transform: translateY(6px) scaleY(0.9); }
  60%  { opacity: 1; transform: none; box-shadow: 0 0 0 4px rgba(196, 98, 111, 0.22); }
  100% { opacity: 1; transform: none; box-shadow: 0 0 0 0 rgba(196, 98, 111, 0); }
}
@keyframes fade-in { to { opacity: 1; } }

.appt-flag {
  display: block;
  font-size: 0.68rem;
  color: var(--rose-deep);
}

/* ----------------------------------------------- caption + controls -- */

.stage-caption {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.1rem;
  min-height: 2.6rem;
}

.caps {
  position: relative;
  flex: 1 1 auto;
  min-height: 2.6rem;
}

.cap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--muted);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.cap.is-on { opacity: 1; transform: none; }
.cap b {
  font-weight: 500;
  color: var(--plum);
}

.dots {
  display: flex;
  gap: 0.35rem;
  flex: none;
}
.dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line);
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.dots i.is-on {
  background: var(--rose);
  transform: scale(1.35);
}

.replay {
  flex: none;
  display: none;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--rose-deep);
  padding: 0.3rem 0.1rem;
  border-bottom: 1px solid transparent;
}
.replay:hover { border-bottom-color: var(--rose); }
.replay svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}
.stage.is-done .replay { display: inline-flex; }
.stage.is-done .dots { display: none; }

/* ------------------------------------------------------------- proof -- */

.proof {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ivory);
}

.proof .shell {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-block: clamp(2.25rem, 4vw, 3rem);
}

.proof-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.proof-item b {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--plum);
  line-height: 1;
}
.proof-item span {
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 19rem;
}

/* ---------------------------------------------------------- features -- */

.cards {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
}

.card {
  background: var(--ivory);
  padding: clamp(1.6rem, 2.6vw, 2.1rem);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: background-color 0.25s ease;
}
.card:hover { background: #fff; }

.card-mark {
  width: 30px;
  height: 30px;
  margin-bottom: 0.35rem;
  color: var(--rose-deep);
}
.card-mark svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.25;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card p {
  margin: 0;
  font-size: 0.96rem;
  color: var(--muted);
}

/* extras strip */
.extras {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.extras li {
  list-style: none;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.86rem;
  color: var(--muted);
  background: var(--ivory);
}
.extras {
  padding: 0;
  margin-inline: 0;
}

/* ------------------------------------------------------------- steps -- */

.steps {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(1.75rem, 3.5vw, 3rem);
  padding: 0;
  list-style: none;
}

.step {
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-dark);
}

.step-n {
  display: block;
  margin-bottom: 0.9rem;
  font-family: var(--display);
  font-size: 0.95rem;
  color: var(--rose);
  font-variant-numeric: tabular-nums;
}

.step h3 { margin-bottom: 0.5rem; }

.step p {
  margin: 0;
  font-size: 0.96rem;
  color: var(--muted-dark);
}

/* ----------------------------------------------------------- pricing -- */

.price-wrap {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.price-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(1.75rem, 3vw, 2.4rem);
  box-shadow: 0 24px 60px -34px rgba(34, 16, 25, 0.3);
}

.price-plan {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose-deep);
}

.price-fig {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin: 0.9rem 0 0.35rem;
}
.price-fig b {
  font-family: var(--display);
  font-size: clamp(2.7rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 0.9;
  color: var(--plum);
  font-variant-numeric: tabular-nums;
}
.price-fig span {
  font-size: 1rem;
  color: var(--muted);
}

.price-sub {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.price-card .btn { width: 100%; }

.price-terms {
  margin: 1.1rem 0 0;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--muted);
}

.included {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 0.55rem 2rem;
}

.included li {
  position: relative;
  padding-left: 1.7rem;
  font-size: 0.98rem;
  line-height: 1.5;
  padding-block: 0.35rem;
}
.included li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 11px;
  height: 6px;
  border-left: 1.5px solid var(--rose);
  border-bottom: 1.5px solid var(--rose);
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------- faq -- */

.faq {
  margin-top: clamp(2.25rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  cursor: pointer;
  list-style: none;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--plum);
  transition: color 0.18s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--rose-deep); }

.faq summary::after {
  content: "";
  margin-left: auto;
  flex: none;
  width: 11px;
  height: 11px;
  border-right: 1.5px solid var(--rose);
  border-bottom: 1.5px solid var(--rose);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 0.25s ease;
}
.faq details[open] summary::after {
  transform: rotate(225deg) translate(-2px, -2px);
}

.faq .answer {
  padding: 0 0 1.4rem;
  max-width: 46rem;
  color: var(--muted);
}

/* --------------------------------------------------------------- cta -- */

.cta { text-align: center; }

.cta .shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
}

.cta-logo {
  width: clamp(190px, 26vw, 250px);
  height: auto;
}

.cta h2 { max-width: 18ch; }

.cta .lede { max-width: 40rem; }

.cta .stores { justify-content: center; }

/* ------------------------------------------------------------ footer -- */

.footer {
  background: var(--plum-2);
  color: var(--muted-dark);
  padding-block: clamp(3rem, 5vw, 4rem) 2rem;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3rem);
}

.footer-brand img {
  width: 176px;
  height: auto;
  margin-bottom: 1.1rem;
}
.footer-brand p {
  max-width: 26rem;
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer h4 {
  margin-bottom: 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--porcelain);
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer a {
  color: var(--muted-dark);
  text-decoration: none;
  transition: color 0.18s ease;
}
.footer a:hover {
  color: var(--porcelain);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-base {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  justify-content: space-between;
  font-size: 0.84rem;
}

.footer-tm {
  margin: 1.1rem 0 0;
  max-width: 62rem;
  font-size: 0.74rem;
  line-height: 1.5;
  color: rgba(183, 159, 168, 0.72);
}

/* ------------------------------------------------------ legal / prose -- */

.page-head {
  padding-block: clamp(3rem, 6vw, 4.5rem) clamp(1.5rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--line);
}
.page-head h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
.page-head .lede { max-width: 42rem; margin-top: 1.1rem; }
.page-head .meta {
  margin-top: 1.4rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.doc {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  padding-block: clamp(2.5rem, 5vw, 4rem) clamp(4rem, 7vw, 6rem);
}

.toc {
  position: sticky;
  top: 96px;
  font-size: 0.88rem;
}
.toc h2 {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  counter-reset: toc;
}
.toc li { counter-increment: toc; }
.toc a {
  display: flex;
  gap: 0.6rem;
  color: var(--muted);
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.18s ease;
}
.toc a::before {
  content: counter(toc, decimal-leading-zero);
  color: var(--rose);
  font-variant-numeric: tabular-nums;
  flex: none;
}
.toc a:hover { color: var(--plum); }

.prose { max-width: 44rem; }

.prose h2 {
  font-family: var(--sans);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.3;
  margin: 3rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.prose > h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.prose h3 {
  font-size: 1.02rem;
  font-weight: 600;
  margin: 1.9rem 0 0.6rem;
}

.prose p,
.prose li { color: var(--ink); }

.prose ul,
.prose ol {
  margin: 0 0 1.2em;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.prose li { padding-left: 0.25rem; }
.prose li::marker { color: var(--rose); }

.prose a {
  color: var(--rose-deep);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.prose a:hover { color: var(--plum); }

.prose strong { font-weight: 600; }

.callout {
  margin: 1.6rem 0;
  padding: 1.25rem 1.4rem;
  background: var(--blush-2);
  border-left: 3px solid var(--rose);
  border-radius: 0 10px 10px 0;
}
.callout p { margin-bottom: 0.7rem; }
.callout p:last-child { margin-bottom: 0; }

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4rem 0;
  font-size: 0.94rem;
}
.prose th,
.prose td {
  text-align: left;
  padding: 0.75rem 1rem 0.75rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.prose th {
  font-weight: 600;
  color: var(--plum);
  white-space: nowrap;
}
.table-scroll { overflow-x: auto; }

/* support page */
.support-grid {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 1.5rem;
}
.support-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: clamp(1.5rem, 2.5vw, 2rem);
}
.support-card h3 { margin-bottom: 0.55rem; }
.support-card p {
  font-size: 0.96rem;
  color: var(--muted);
}
.support-card a {
  display: inline-block;
  margin-top: 0.3rem;
  font-weight: 500;
  color: var(--rose-deep);
  text-underline-offset: 3px;
}

/* 404 */
.oops {
  min-height: 58vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.25rem;
}

/* -------------------------------------------------------- responsive -- */

@media (max-width: 960px) {
  .hero .shell { grid-template-columns: minmax(0, 1fr); }
  .hero-cta { align-items: flex-start; }
  .stage { max-width: 38rem; }
  .hero-copy { padding-top: 0; }
  .price-wrap { grid-template-columns: minmax(0, 1fr); }
  .doc { grid-template-columns: minmax(0, 1fr); }
  .toc {
    position: static;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid var(--line);
  }
  .toc ol {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .brand img { height: 31px; }
  .stage {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 1.5rem;
  }
  .phone { width: 200px; }
  .day { width: 100%; --hour-h: 46px; padding: 1.1rem; }
  .stage-caption { width: 100%; }
  .proof .shell { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .stores { --badge-h: 42px; }
  .day-grid { padding-left: 2.6rem; }
  .appt { left: 2.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .stage.is-armed .appt--new { opacity: 1; transform: none; }
  .stage.is-armed .appt--new .appt-flag { opacity: 1; }
  .btn:hover,
  .store:hover { transform: none; }
}

@media print {
  .masthead,
  .footer,
  .toc,
  .skip-link { display: none; }
  body { background: #fff; }
  .doc { grid-template-columns: 1fr; }
}
