/* ==========================================================================
   HoldKit — myholdkit.com
   Modular booking software for anything people need to reserve.
   Design system: light surfaces, slate text, single blue accent,
   rounded cards, generous spacing. No external assets.
   ========================================================================== */

:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --panel: #f1f5f9;
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-soft: #eff6ff;
  --accent-line: #bfdbfe;
  --green: #059669;
  --green-soft: #ecfdf5;
  --amber: #b45309;
  --amber-soft: #fffbeb;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 6px 24px -8px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 24px 60px -24px rgba(15, 23, 42, 0.22);
  --max: 1120px;
  /* Strong custom curves — built-in CSS easings are too weak */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Accessible focus — visible ring for keyboard users only */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

a, button, summary, input, select, textarea { touch-action: manipulation; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 10px 10px;
  font-weight: 600;
  font-size: 14px;
  transition: top 150ms var(--ease-out);
}
.skip-link:focus { top: 0; text-decoration: none; }

img, svg { display: block; max-width: 100%; }

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

h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section { padding: 104px 0; }
.section--tight { padding: 60px 0; }
.section--alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 18px; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease,
    transform 160ms var(--ease-out);
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
/* Press feedback: the interface confirms it heard the tap */
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--lg { padding: 15px 30px; font-size: 16px; }
.btn--block { width: 100%; }

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
  position: relative;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.brand:hover { text-decoration: none; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; flex: none; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin-left: 12px;
}
.nav-links a { color: var(--ink-soft); font-size: 14.5px; font-weight: 500; }
.nav-links a:hover { color: var(--accent); text-decoration: none; }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-cta .login-link { color: var(--ink-soft); font-size: 14.5px; font-weight: 600; }
.nav-cta .login-link:hover { color: var(--accent); text-decoration: none; }
.nav-cta .btn { padding: 10px 18px; font-size: 14px; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  cursor: pointer;
  color: var(--ink);
  line-height: 1;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
/* Redlined 2026-07: 24px top gap, 45/55 copy/demo split, 3-line headline,
   CTAs on one row, proof points on one line, demo scaled up ~25%. */
.hero { padding: 24px 0 48px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 9fr) minmax(0, 11fr); /* 45% / 55% */
  gap: 44px;
  align-items: center;
}
.hero h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; }
.hero .sub { margin-top: 18px; font-size: 18px; color: var(--muted); max-width: 30em; }
.hero-ctas { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-ctas .btn--lg { padding: 14px 22px; font-size: 15px; white-space: nowrap; }
.hero-meta {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta .check {
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero-meta .check svg { width: 9px; height: 9px; }
/* Demo bleeds right of its column (~25% visual scale-up) on wide screens */
@media (min-width: 1001px) {
  .hero-media { width: calc(100% + 72px); }
}

/* --------------------------------------------------------------------------
   Product demo videos (rendered with HyperFrames from holdkit-video/)
   -------------------------------------------------------------------------- */
.hero-media,
.modules-media {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--panel);
  line-height: 0;
}
.hero-video,
.modules-video {
  display: block;
  width: 100%;
  height: auto;
}
.modules-media { margin-bottom: 40px; }
/* The CSS mockup stays in the DOM as the fallback for the hero video —
   shown when the video errors or the visitor prefers reduced motion. */
.mockup--fallback { display: none; }
.hero-video-off .hero-media { display: none; }
.hero-video-off .mockup--fallback { display: block; }
.modules-video-off .modules-media { display: none; }

/* --------------------------------------------------------------------------
   Dashboard mockup (pure CSS)
   -------------------------------------------------------------------------- */
.mockup {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-size: 12px;
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.mockup-bar .dots { display: flex; gap: 5px; }
.mockup-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.mockup-bar .title { font-weight: 600; color: var(--muted); font-size: 11.5px; }
.mockup-body {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 14px;
  padding: 16px;
  background: var(--panel);
}
.mock-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  box-shadow: var(--shadow-sm);
}
.mock-card h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 10px;
}
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-grid .dow { text-align: center; color: var(--muted); font-size: 9.5px; font-weight: 600; padding-bottom: 2px; }
.cal-grid .day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: var(--ink-soft);
  font-size: 10.5px;
  background: var(--panel);
}
.cal-grid .day.booked { background: var(--accent-soft); color: var(--accent); font-weight: 700; border: 1px solid var(--accent-line); }
.cal-grid .day.selected { background: var(--accent); color: #fff; font-weight: 700; }
.cal-grid .day.off { background: transparent; color: var(--line-strong); }
.mock-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line); }
.mock-row:last-child { border-bottom: 0; }
.mock-row .k { color: var(--muted); }
.mock-row .v { font-weight: 600; color: var(--ink); }
.pill {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}
.pill--green { background: var(--green-soft); color: var(--green); }
.pill--blue { background: var(--accent-soft); color: var(--accent); }
.pill--amber { background: var(--amber-soft); color: var(--amber); }
.mock-modules { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mock-module {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}
.mock-module .name { font-weight: 600; font-size: 11px; color: var(--ink-soft); }
.toggle { width: 26px; height: 15px; border-radius: 999px; background: var(--line-strong); position: relative; flex: none; }
.toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 11px; height: 11px; border-radius: 50%; background: #fff; }
.toggle.on { background: var(--accent); }
.toggle.on::after { left: auto; right: 2px; }

/* --------------------------------------------------------------------------
   Cards & grids
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 200ms var(--ease-out), border-color 200ms var(--ease-out),
    transform 200ms var(--ease-out);
}
/* Hover lift is gated to real pointers — touch devices fire false hovers on tap */
@media (hover: hover) and (pointer: fine) {
  .card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--line-strong);
    transform: translateY(-2px);
  }
}
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15.5px; }

/* Bento grids — mixed card sizes with dense packing so nothing leaves holes */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-flow: dense;
  gap: 20px;
}
.bento .b2 { grid-column: span 2; }
.bento .b3 { grid-column: span 3; }
.bento .tall { grid-row: span 2; }
.card--lg { padding: 32px; display: flex; flex-direction: column; }
.card--lg h3 { font-size: 21px; }
.card--lg p { font-size: 16px; }
.card--lg .icon-tile { width: 48px; height: 48px; }
.card .mini-ui { margin-top: auto; padding-top: 22px; }

/* Mini product-UI elements inside large cards */
.mini-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.mini-cal span {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  background: var(--panel); border-radius: 8px;
  font-size: 12.5px; font-weight: 600; color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.mini-cal span.on { background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent); font-weight: 700; }
.mini-cal span.sel { background: var(--accent); color: #fff; font-weight: 700; }
.mini-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; font-size: 13.5px;
}
.mini-row + .mini-row { margin-top: 8px; }
.mini-row .k { color: var(--muted); }
.mini-row .v { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.mini-pill {
  font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px;
  background: var(--green-soft); color: var(--green);
}
.mini-pill--blue { background: var(--accent-soft); color: var(--accent); }
.mini-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mini-chips span {
  font-size: 12.5px; font-weight: 600; color: var(--ink-soft);
  background: var(--panel); border: 1px solid var(--line-strong);
  padding: 6px 12px; border-radius: 999px;
}
.mini-chips span.hot { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent); }

.icon-tile {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.icon-tile svg { width: 21px; height: 21px; }

/* Module cards (image spec: icon + pill header, copy, explore link, note bar) */
.card--module { display: flex; flex-direction: column; }
.card--module .card-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px; margin-bottom: 4px;
}
.card--module .card-top .icon-tile { margin-bottom: 0; }
.module-pill {
  flex: none;
  font-size: 12px; font-weight: 600;
  color: var(--accent); background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  padding: 4px 12px; border-radius: 999px;
  margin-top: 4px;
}
.card--module h3 { margin-top: 14px; }
.card--module p { margin-bottom: 20px; }
.card-link {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14.5px; font-weight: 600; color: var(--accent);
}
.card-link svg { width: 16px; height: 16px; transition: transform 200ms var(--ease-out); }
.card-link:hover { text-decoration: none; color: var(--accent-hover); }
@media (hover: hover) and (pointer: fine) {
  .card-link:hover svg { transform: translateX(3px); }
}
.modules-note {
  margin: 28px auto 0; max-width: 760px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  border-radius: 14px; padding: 16px 26px;
  font-size: 15px; color: var(--ink-soft);
  text-align: center; flex-wrap: wrap;
}
.modules-note .note-check {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.modules-note .note-check svg { width: 14px; height: 14px; }
.modules-note strong { color: var(--ink); }

.module-tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  padding: 4px 10px;
  border-radius: 999px;
}

/* Booking-type proof pills (trust section) */
.type-pills {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.type-pills span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 9px 16px;
}
.type-pills span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

/* Steps — larger cards with a visible 1→2→3 flow */
.steps-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; position: relative; }
.step-card { padding: 34px 30px; position: relative; }
.step-card .step-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.step-card .step-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.step-card h3 { font-size: 20px; }
.step-card p { font-size: 15.5px; }
.step-num {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), #1e40af);
  color: #fff;
  font-weight: 800;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  box-shadow: 0 8px 20px -8px rgba(37, 99, 235, 0.5);
}
@media (min-width: 761px) {
  .step-card:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -16px;
    width: 12px;
    height: 12px;
    border-top: 3px solid var(--line-strong);
    border-right: 3px solid var(--line-strong);
    transform: translateY(-50%) rotate(45deg);
    z-index: 1;
  }
}

/* Feature checklist — two audience columns */
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 920px; }
.check-group {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.check-group h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  padding-bottom: 14px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.check-group h3 .icon-tile { width: 34px; height: 34px; border-radius: 9px; margin: 0; flex: none; }
.check-group h3 .icon-tile svg { width: 17px; height: 17px; }
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 16px;
  color: var(--ink-soft);
  padding: 10px 0;
}
.check-item svg { width: 20px; height: 20px; color: var(--green); flex: none; margin-top: 2px; }

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.price-card--featured {
  border: 2px solid var(--accent);
  box-shadow: 0 24px 60px -20px rgba(37, 99, 235, 0.35);
  background: linear-gradient(180deg, var(--accent-soft), var(--surface) 30%);
}
@media (min-width: 1001px) {
  .price-card--featured { transform: scale(1.045); z-index: 1; }
}
.price-card .audience {
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.price-flag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.price-card .plan { font-size: 15px; font-weight: 700; color: var(--ink-soft); }
.price-card .amount { margin-top: 10px; font-size: 40px; font-weight: 800; letter-spacing: -0.03em; }
.price-card .amount small { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-card .blurb { margin-top: 12px; color: var(--muted); font-size: 15.5px; }
.price-card ul { list-style: none; margin: 20px 0 26px; display: grid; gap: 10px; }
.price-card li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-soft); }
.price-card li svg { width: 17px; height: 17px; color: var(--green); flex: none; margin-top: 3px; }
.price-card .btn { margin-top: auto; }
.price-note { margin-top: 26px; text-align: center; color: var(--muted); font-size: 14px; }

/* --------------------------------------------------------------------------
   Comparison
   -------------------------------------------------------------------------- */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.compare-col { border-radius: var(--radius); padding: 30px 28px; border: 1px solid var(--line); background: var(--surface); }
.compare-col--hk {
  border-color: #0f172a;
  background: linear-gradient(160deg, #0f172a, #1e3a8a);
  box-shadow: var(--shadow-md);
}
.compare-col h3 { font-size: 18px; font-weight: 700; margin-bottom: 18px; }
.compare-col--hk h3 { color: #fff; }
.compare-col--old h3 { color: var(--muted); }
.compare-col ul { list-style: none; display: grid; gap: 13px; }
.compare-col li { display: flex; gap: 11px; font-size: 15.5px; color: var(--ink-soft); }
.compare-col--hk li { color: #e2e8f0; font-weight: 500; }
.compare-col li svg { width: 19px; height: 19px; flex: none; margin-top: 2px; }
.compare-col--old li { color: var(--muted); }
.compare-col--old li svg { color: var(--line-strong); }
.compare-col--hk li svg { color: #34d399; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-list {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  /* Column flow: questions 1-5 run down the LEFT column in priority order,
     6-10 fill the right — the scan path stays vertical. */
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(5, auto);
  grid-auto-flow: column;
  gap: 12px;
  align-items: start;
}
@media (max-width: 800px) {
  .faq-list {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
    max-width: 780px;
  }
}
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 22px;
}
.faq-list details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 15.5px;
  min-height: 44px;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 20px; color: var(--muted); font-weight: 400; flex: none; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list .answer { padding: 0 0 20px; color: var(--muted); font-size: 15.5px; max-width: 62em; }

/* --------------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------------- */
.cta-panel {
  background: linear-gradient(135deg, #1e3a8a, var(--accent));
  border-radius: 20px;
  padding: 64px 32px;
  text-align: center;
  color: #fff;
}
.cta-panel h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; }
.cta-panel p { margin: 14px auto 0; max-width: 38em; color: #dbeafe; font-size: 17px; }
.cta-panel .btn { margin-top: 30px; background: #fff; color: var(--accent); }
.cta-panel .btn:hover { background: var(--accent-soft); }
.cta-assure {
  margin-top: 18px;
  font-size: 14px;
  color: #bfdbfe;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
}
.cta-assure span { display: inline-flex; align-items: center; gap: 7px; }
.cta-assure svg { width: 15px; height: 15px; color: #86efac; flex: none; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 56px 0 32px; margin-top: 88px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-grid .about p { margin-top: 14px; color: var(--muted); font-size: 14.5px; max-width: 30em; }
.footer-grid h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 14px; }
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-grid ul a { color: var(--ink-soft); font-size: 14.5px; }
.footer-grid ul a:hover { color: var(--accent); text-decoration: none; }
.footer-bottom {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13.5px;
}
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--accent); }

/* --------------------------------------------------------------------------
   Simple inner pages (login, get started, contact, legal, errors)
   -------------------------------------------------------------------------- */
.page-narrow { max-width: 560px; margin: 0 auto; padding: 72px 24px 96px; }
.page-prose { max-width: 760px; margin: 0 auto; padding: 64px 24px 96px; }
.page-prose h1 { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.page-prose .updated { color: var(--muted); font-size: 14px; margin-bottom: 32px; }
.page-prose h2 { font-size: 20px; font-weight: 700; margin: 34px 0 10px; }
.page-prose p, .page-prose li { color: var(--ink-soft); font-size: 15.5px; }
.page-prose ul { padding-left: 22px; margin: 10px 0; }

/* Signup / login layout (two-column: form card + benefits rail) */
.auth-layout {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 28px;
  align-items: start;
}
.step-pill {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  padding: 5px 14px;
  border-radius: 8px;
  margin-bottom: 18px;
}
.ifield { display: flex; gap: 12px; align-items: stretch; }
.ifield .fi-icon {
  flex: none;
  width: 50px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ifield .fi-icon svg { width: 22px; height: 22px; }
.ifield > input, .ifield > select { flex: 1; min-width: 0; }

.plan-box {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 2px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 6px 8px 6px 16px;
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.plan-box .radio-dot {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.plan-box .radio-dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
}
.plan-box select {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  padding: 12px 6px;
}
.plan-box select:focus { outline: none; }
.plan-hint { margin-top: 7px; font-size: 13px; color: var(--muted); }

.btn--arrow svg { width: 18px; height: 18px; }
.secure-note {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--muted);
}
.secure-note svg { width: 15px; height: 15px; flex: none; }
.help-line {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* Benefits rail */
.side-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.side-card + .side-card { margin-top: 24px; }
.side-card h2 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.benefit {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.benefit:last-child { border-bottom: 0; padding-bottom: 2px; }
.benefit .icon-tile { width: 44px; height: 44px; margin: 0; flex: none; }
.benefit h3 { font-size: 15.5px; font-weight: 700; }
.benefit p { font-size: 13.5px; color: var(--muted); margin-top: 2px; }

/* "Start simple. Scale anytime." visual */
.scale-visual {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px;
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}
.mini-week { flex: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.mini-week .mw-title { font-size: 12px; font-weight: 700; margin-bottom: 8px; }
.mini-week .mw-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.mini-week .mw-grid i {
  height: 16px;
  border-radius: 4px;
  background: var(--panel);
}
.mini-week .mw-grid i.b1 { background: var(--accent); opacity: 0.85; }
.mini-week .mw-grid i.b2 { background: var(--accent-line); }
.mini-phone {
  flex: none;
  width: 108px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 12px 10px;
}
.mini-phone .mp-name { font-size: 10.5px; font-weight: 700; }
.mini-phone .mp-cta {
  margin-top: 6px;
  font-size: 9.5px;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  border-radius: 6px;
  text-align: center;
  padding: 5px 0;
}
.mini-phone .mp-days { margin-top: 8px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.mini-phone .mp-days i { aspect-ratio: 1; border-radius: 4px; background: var(--panel); }
.mini-phone .mp-days i.sel { background: var(--accent); }
.scale-copy { text-align: center; }
.scale-copy h3 { font-size: 17px; font-weight: 800; }
.scale-copy p { font-size: 14px; color: var(--muted); margin-top: 4px; }

.trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 24px 56px;
  color: var(--muted);
  font-size: 14.5px;
  text-align: center;
}
.trust-strip svg { width: 18px; height: 18px; flex: none; color: var(--ink-soft); }

@media (max-width: 900px) {
  .auth-layout { grid-template-columns: 1fr; padding-top: 32px; }
}

.auth-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.auth-card h1 { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.auth-card .lede { color: var(--muted); font-size: 15px; margin-bottom: 26px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--surface);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--accent-line);
  border-color: var(--accent);
}
.auth-foot { margin-top: 20px; text-align: center; color: var(--muted); font-size: 14px; }

.error-page { min-height: 60vh; display: flex; align-items: center; }
.error-page .inner { text-align: center; max-width: 520px; margin: 0 auto; padding: 60px 24px; }
.error-page .code { font-size: 64px; font-weight: 800; color: var(--accent); letter-spacing: -0.04em; }
.error-page h1 { font-size: 26px; margin: 8px 0 12px; }
.error-page p { color: var(--muted); margin-bottom: 28px; }

/* --------------------------------------------------------------------------
   Scroll reveals — subtle fade-up on section entry, staggered per card.
   Elements are only hidden when JS has confirmed it will reveal them
   (html.js-reveal), so content is never lost without JavaScript.
   -------------------------------------------------------------------------- */
html.js-reveal .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
html.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html.js-reveal .reveal { opacity: 1; transform: none; transition: opacity 200ms ease; }
  .btn:active { transform: none; }
  html { scroll-behavior: auto; }
  @media (hover: hover) and (pointer: fine) {
    .card:hover { transform: none; }
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento .b3 { grid-column: span 2; }
  .bento .b2 { grid-column: span 1; }
  .bento .tall { grid-row: auto; }
  .check-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .nav-links, .nav-cta .login-link { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links {
    display: grid;
    position: absolute;
    top: 68px;
    left: -24px;
    right: -24px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 18px 24px 24px;
    gap: 16px;
    margin: 0;
    box-shadow: var(--shadow-md);
  }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento .b3, .bento .b2 { grid-column: span 1; }
  .steps-grid { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .mock-modules { grid-template-columns: repeat(2, 1fr); }
  .mockup-body { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 56px 0 48px; }
}
