@import url("assets/css/palette.css");

/* book.dk — Herodesk-inspired marketing + booking flow */
:root {
  --radius: 20px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --display: "Outfit", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --nav-h: 72px;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3, .wordmark {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0;
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: 8px 12px;
  border-radius: 8px;
}
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.accent { color: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--body);
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--radius-pill);
  padding: 11px 20px;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
}
.btn-primary {
  background: var(--orange);
  color: var(--ink);
  border-color: var(--orange);
}
.btn-primary:hover { background: var(--orange-d); border-color: var(--orange-d); }
.btn-ink {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.btn-ink:hover { background: #000; }
.btn-outline {
  background: var(--white);
  color: var(--ink);
  border-color: rgba(23, 23, 23, 0.18);
}
.btn-outline:hover { border-color: var(--ink); }
.btn-lg { padding: 14px 24px; font-size: 1.02rem; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible,
.nav-links a:focus-visible,
.login:focus-visible,
.svc:focus-visible,
.cal-daybtn:focus-visible,
.slot:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

/* ========== Floating pill nav ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 14px 0 0;
  background: transparent;
  pointer-events: none;
}
.site-header.is-scrolled .nav-pill {
  box-shadow: 0 10px 40px rgba(23, 23, 23, 0.1);
}
.nav-pill {
  pointer-events: auto;
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 58px;
  gap: 16px;
  padding: 8px 10px 8px 22px;
  background: var(--white);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 24px rgba(23, 23, 23, 0.06);
  border: 1px solid rgba(23, 23, 23, 0.04);
}
.nav-pill > .wordmark { justify-self: start; }
.wordmark {
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.nav-links {
  display: flex;
  gap: 26px;
  justify-content: center;
}
.nav-links a,
.nav-cta .login {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 6px 0;
}
.nav-links a:hover,
.nav-cta .login:hover { color: var(--ink); }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-self: end;
}
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 0; background: transparent;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ========== Hero with dotted grid ========== */
.hero {
  position: relative;
  padding: 72px 0 48px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(23, 23, 23, 0.09) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.55), transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.55), transparent 85%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.5rem);
  font-weight: 700;
  max-width: 16ch;
  margin-inline: auto;
  text-wrap: balance;
}
.hero .lede {
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 46ch;
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}
.hero .trust {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}
.hero-shot {
  margin: 48px auto 0;
  max-width: 920px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(23, 23, 23, 0.06);
  background: var(--white);
}
.hero-shot img {
  width: 100%;
  height: auto;
  display: block;
}

/* ========== 4-col benefits with dotted dividers ========== */
.benefits {
  padding: 56px 0 40px;
  background: var(--canvas);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.benefit {
  padding: 8px 28px;
  border-right: 1px dotted rgba(23, 23, 23, 0.18);
}
.benefit:last-child { border-right: 0; }
.benefit-icon {
  color: var(--orange);
  margin-bottom: 14px;
}
.benefit h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.benefit p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Trust / industry pills */
.trust-strip {
  padding: 36px 0 56px;
  text-align: center;
}
.trust-strip-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(23, 23, 23, 0.03);
}

/* Feature bands */
.feature-band {
  padding: 72px 0;
}
.feature-band-alt {
  background: var(--canvas-soft);
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.feature-grid-reverse .feature-text { order: 2; }
.feature-grid-reverse .feature-media { order: 1; }
.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.feature-text h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  margin-bottom: 16px;
  text-wrap: balance;
}
.feature-text > p {
  color: var(--muted);
  max-width: 40ch;
  margin-bottom: 20px;
}
.check-list {
  display: grid;
  gap: 10px;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  font-weight: 500;
  font-size: 0.98rem;
}
.check-list li::before {
  content: "";
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--orange-l);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 50%;
  width: 6px;
  height: 3px;
  border-left: 2px solid var(--orange-d);
  border-bottom: 2px solid var(--orange-d);
  transform: translateY(-50%) rotate(-45deg);
}
.feature-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}
.feature-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

/* Dark case study band */
.case {
  padding: 40px 0 72px;
}
.case-card {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 48px;
  background: var(--ink);
  color: var(--white);
  border-radius: 28px;
  padding: 48px 52px;
  box-shadow: var(--shadow-lg);
}
.case-person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.case-person img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
}
.case-tag {
  color: var(--orange);
  font-size: 0.9rem;
  font-weight: 600;
}
.case-role {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  margin-top: 2px;
}
.case-left h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin-bottom: 14px;
  color: var(--white);
  text-wrap: balance;
}
.case-left > p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 42ch;
  margin-bottom: 20px;
}
.case-link {
  color: var(--orange);
  font-weight: 600;
  text-decoration: none;
}
.case-link:hover { text-decoration: underline; }
.case-stats {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 40px;
}
.case-stat {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.case-stat:first-child { padding-top: 0; }
.case-stat-label {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 6px;
}
.case-stat-value {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--orange);
  letter-spacing: -0.04em;
  line-height: 1;
}
.case-foot {
  margin-top: 20px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.45;
}

/* Testimonials */
.quotes {
  padding: 72px 0;
  background: var(--canvas-soft);
}
.section-head {
  text-align: center;
  margin-bottom: 40px;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  margin-bottom: 10px;
}
.section-head p {
  color: var(--muted);
  max-width: 42ch;
  margin-inline: auto;
}
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.quote-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.quote-card .avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}
.quote-card blockquote { margin: 0; flex: 1; }
.quote-card blockquote p {
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--ink);
}
.quote-card footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-style: normal;
}
.quote-card footer strong {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.98rem;
}
.quote-card footer span {
  color: var(--muted);
  font-size: 0.88rem;
}

/* Selling points — shorter ~55vh */
.why { padding: 0; }
.beat {
  display: flex;
  align-items: center;
  min-height: 55vh;
  padding: 64px 0;
}
.beat:nth-child(even) {
  background: var(--white);
}
.beat-n {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.14em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 14px;
}
.beat h2 {
  font-size: clamp(2rem, 4.8vw, 3.4rem);
  font-weight: 700;
  max-width: 16ch;
  text-wrap: balance;
}
.beat-line {
  margin-top: 16px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.5;
  max-width: 34ch;
}

/* Pricing */
.pricing {
  padding: 88px 0;
  background: var(--canvas);
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  gap: 24px;
  justify-content: center;
}
.price-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.price-card-featured {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  padding-top: 48px;
}
.price-card .badge {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: var(--orange);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.85rem;
  text-align: center;
  padding: 8px;
  border-radius: var(--radius) var(--radius) 0 0;
}
.price-card h3 {
  font-size: 1.35rem;
  font-weight: 600;
}
.price-amount {
  font-family: var(--display);
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 8px 0 4px;
}
.price-amount span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}
.price-note {
  color: var(--orange);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 4px;
}
.price-desc {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.price-card ul {
  display: grid;
  gap: 10px;
  margin: 8px 0 24px;
  flex: 1;
}
.price-card li {
  position: relative;
  padding-left: 26px;
  font-size: 0.95rem;
}
.price-card li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.45em;
  width: 7px;
  height: 4px;
  border-left: 2px solid var(--orange-d);
  border-bottom: 2px solid var(--orange-d);
  transform: rotate(-45deg);
}
.price-card .btn { width: 100%; }

/* Final CTA */
.final-cta {
  padding: 80px 0;
  text-align: center;
  background: var(--canvas-soft);
}
.final-cta-inner h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  max-width: 18ch;
  margin: 0 auto 14px;
  text-wrap: balance;
}
.final-cta-inner > p {
  color: var(--muted);
  margin-bottom: 8px;
}

/* Footer */
.site-footer {
  padding: 0 0 40px;
  background: var(--canvas);
}
.foot {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.foot .wordmark { color: var(--ink); }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot .btn { margin-left: auto; }
.foot-meta {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.85rem;
}

section[id] { scroll-margin-top: 96px; }

/* ========== Booking page (book.html) ========== */
.page-book { min-height: 100dvh; display: flex; flex-direction: column; }
.book-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}
.login-pill {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.login-pill:hover { color: var(--ink); }
.login-pill i {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: grid;
  place-items: center;
}
.steps-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 4px 0 28px;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}
.steps-bar .st {
  display: flex;
  align-items: center;
  gap: 8px;
}
.steps-bar .n {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 600;
}
.steps-bar .st.is-on { color: var(--ink); }
.steps-bar .st.is-on .n {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.steps-bar .line {
  width: 40px; height: 1px;
  background: var(--line);
  margin: 0 12px;
}

.book-shell {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.05fr 1.15fr 0.85fr;
  min-height: 520px;
  overflow: hidden;
  margin-bottom: 96px;
  box-shadow: var(--shadow);
}
.book-col { padding: 28px 24px; min-width: 0; }
.book-col + .book-col { border-left: 1px solid var(--line); }
.book-col h2 {
  font-size: 0.72rem;
  font-family: var(--body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 14px;
}
.biz-name {
  font-size: 1.7rem;
  margin-bottom: 6px;
}
.biz-meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 4px; }
.rating {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  margin: 8px 0 22px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.rating .stars { color: var(--ink); letter-spacing: 1px; }

.svc-list { display: grid; gap: 8px; }
.svc {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 14px;
  cursor: pointer;
}
.svc:hover { border-color: rgba(23,23,23,0.22); }
.svc.is-on {
  border-color: var(--ink);
  background: var(--canvas-soft);
}
.radio {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
}
.svc.is-on .radio {
  border-color: var(--ink);
  background: var(--ink);
  box-shadow: inset 0 0 0 3px #fff;
}
.svc b { display: block; font-weight: 600; font-size: 0.98rem; }
.svc small { color: var(--muted); font-size: 0.82rem; }
.svc .plan { font-weight: 600; font-size: 0.95rem; padding: 0; border: 0; background: none; }
.svc-price { justify-self: end; font-weight: 500; }
.more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.86rem;
  text-decoration: none;
}
.more-link:hover { color: var(--ink); }

.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.cal-head h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
}
.month-nav { display: flex; gap: 6px; }
.month-nav button {
  width: 32px; height: 32px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.month-nav button:hover { border-color: var(--ink); }
.dow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
}
.month-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px 0;
}
.cal-daybtn {
  appearance: none;
  border: 0;
  background: transparent;
  height: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 10px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.92rem;
}
.cal-daybtn:hover:not(:disabled) { background: rgba(23,23,23,0.05); }
.cal-daybtn.is-on .num {
  background: var(--ink);
  color: var(--white);
}
.cal-daybtn .num {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.cal-daybtn .dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--ink);
  opacity: 0;
}
.cal-daybtn.has-slots .dot { opacity: 0.45; }
.cal-daybtn.is-on .dot { background: transparent; }
.cal-daybtn.mute { color: var(--muted); opacity: 0.4; }
.cal-daybtn:disabled { opacity: 0.28; cursor: default; }
.cal-daybtn.past { color: var(--muted); }

.slot-list { display: grid; gap: 8px; }
.slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 8px;
  padding: 11px 16px;
  cursor: pointer;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.slot:hover { border-color: rgba(23,23,23,0.28); }
.slot.is-on {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}
.slot .ck { opacity: 0; }
.slot.is-on .ck { opacity: 1; }
.hint {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.book-bar {
  position: sticky;
  bottom: 0;
  z-index: 30;
  background: var(--canvas);
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.book-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}
.summary {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.success {
  display: none;
  text-align: center;
  padding: 72px 32px;
  margin-bottom: 48px;
}
.success.is-on { display: block; }
.success-ico {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
}
.success h1 { font-size: 2.1rem; margin-bottom: 10px; }
.success p { color: var(--muted); max-width: 36ch; margin: 0 auto 8px; }
.success .when {
  font-family: var(--display);
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 18px 0 28px;
}

.hidden { display: none !important; }

/* Responsive */
@media (max-width: 1024px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .benefit { border-right: 0; padding: 12px 16px; border-bottom: 1px dotted rgba(23,23,23,0.12); }
  .benefit:nth-child(odd) { border-right: 1px dotted rgba(23,23,23,0.12); }
  .feature-grid { gap: 36px; }
  .case-card { gap: 32px; padding: 36px; }
  .book-shell { grid-template-columns: 1fr 1fr; }
  .book-col.times { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 820px) {
  .nav-pill {
    display: flex;
    gap: 12px;
    padding: 8px 10px 8px 18px;
    border-radius: 18px;
  }
  .nav-cta { margin-left: auto; }
  .nav-links, .nav-cta .login { display: none; }
  .nav-pill.is-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 8px);
    left: 0; right: 0;
    background: var(--white);
    padding: 12px 22px 18px;
    gap: 4px;
    border-radius: 18px;
    box-shadow: var(--shadow);
    border: 1px solid var(--line-soft);
  }
  .nav-pill.is-open .nav-links a { padding: 10px 0; font-size: 1.05rem; color: var(--ink); }
  .nav-pill.is-open .nav-cta .login { display: inline; }
  .nav-toggle { display: block; }
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  .hero { padding: 48px 0 32px; }
  .hero-shot { margin-top: 32px; border-radius: 16px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit { border-right: 0 !important; border-bottom: 1px dotted rgba(23,23,23,0.12); padding: 16px 0; }
  .feature-grid,
  .feature-grid-reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .feature-grid-reverse .feature-text,
  .feature-grid-reverse .feature-media { order: unset; }
  .case-card {
    grid-template-columns: 1fr;
    padding: 28px 24px;
    border-radius: 22px;
  }
  .case-stats {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
  }
  .quote-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .beat {
    min-height: 48vh;
    padding: 48px 0;
  }
  .beat h2 { max-width: 12ch; }
  .foot .btn { margin-left: 0; }
  .book-shell { grid-template-columns: 1fr; margin-bottom: 140px; }
  .book-col + .book-col { border-left: 0; border-top: 1px solid var(--line); }
  .book-bar-inner {
    width: min(var(--max), calc(100% - 32px));
    flex-wrap: wrap;
  }
  .book-bar-inner .btn { width: 100%; }
  .summary { font-size: 1rem; }
  .steps-bar { font-size: 0.72rem; }
  .steps-bar .line { width: 18px; margin: 0 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}


/* ========== Hero local demo CTAs ========== */
.hero-demo-link {
  margin-top: 14px;
  font-size: 0.95rem;
}
.hero-demo-link a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid var(--orange);
}
.hero-demo-link a:hover { color: var(--orange-d); }
.hero-demo-note {
  margin-left: 8px;
  color: var(--muted);
  font-size: 0.85rem;
}
.hero-shot-link {
  display: block;
  position: relative;
  text-decoration: none;
  color: inherit;
}
.hero-shot-link:hover .hero-shot-cta,
.hero-shot-link:focus-visible .hero-shot-cta {
  opacity: 1;
  transform: translateY(0);
}
.hero-shot-cta {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  opacity: 0.92;
  transform: translateY(2px);
  transition: opacity 0.15s ease, transform 0.15s ease, background 0.15s ease;
  pointer-events: none;
}
.hero-shot-link:hover .hero-shot-cta { background: #000; }

/* ========== Demo modal ========== */
body.demo-open { overflow: hidden; }
.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}
.demo-modal[hidden] { display: none !important; }
.demo-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 23, 23, 0.45);
  backdrop-filter: blur(4px);
}
.demo-dialog {
  position: relative;
  width: min(440px, 100%);
  background: var(--white);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(23, 23, 23, 0.06);
  padding: 32px 28px 28px;
  z-index: 1;
  outline: none;
}
.demo-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
  border-radius: 50%;
}
.demo-close:hover { background: var(--canvas); color: var(--ink); }
.demo-dialog .eyebrow {
  color: var(--orange);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.demo-dialog h2 {
  font-size: 1.55rem;
  margin-bottom: 8px;
}
.demo-lede {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 22px;
}
#demo-form {
  display: grid;
  gap: 14px;
}
#demo-form label {
  display: grid;
  gap: 6px;
}
#demo-form label span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}
#demo-form input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(23, 23, 23, 0.14);
  border-radius: 12px;
  background: var(--canvas-soft);
  transition: border-color 0.15s ease, background 0.15s ease;
}
#demo-form input:focus {
  outline: none;
  border-color: var(--orange);
  background: var(--white);
}
.demo-submit { width: 100%; margin-top: 4px; }
.demo-hint {
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}
.demo-hint a { color: var(--ink); font-weight: 600; }
.demo-success {
  text-align: center;
  padding: 12px 4px 4px;
}
.demo-success[hidden] { display: none !important; }
.demo-success-ico {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  font-weight: 700;
}
.demo-success h2 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  max-width: 22ch;
  margin-inline: auto;
}
.demo-success p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 22px;
}

/* Booking page header CTAs */
.book-head-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.demo-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1.5px solid rgba(23, 23, 23, 0.14);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
}
.demo-pill:hover { border-color: var(--orange); color: var(--orange-d); }
