/* Glow Session landing page. Colors come from the salon app's design tokens (apps/web/src/styles/globals.css). */
:root {
  --bg: hsl(25 33% 97%);
  --surface: #ffffff;
  --sunken: hsl(25 28% 94%);
  --fg: hsl(45 67% 8%);
  --muted: hsl(18 16% 38%);
  --border: hsl(25 23% 86%);
  --primary: hsl(18 17% 20%);
  --primary-hover: hsl(18 15% 28%);
  --primary-fg: hsl(25 33% 97%);
  --accent: hsl(9 34% 93%);
  --accent-fg: hsl(9 28% 34%);
  --accent-strong: hsl(9 30% 45%);
  --champagne: hsl(23 36% 86%);
  --success: hsl(148 26% 31%);
  --success-subtle: hsl(140 26% 93%);
  --info: hsl(212 32% 38%);
  --info-subtle: hsl(210 42% 94.5%);
  --danger: hsl(3 56% 45%);
  --danger-subtle: hsl(4 72% 95.5%);
  --ring: hsl(9 28% 46%);
  --hero-from: #000000;
  --hero-to: #666666;
  --glass: rgb(255 255 255 / 0.72);
  --overlay: rgb(255 255 255 / 0.8);
  --shadow: 0 12px 32px -8px rgb(51 36 28 / 0.14), 0 4px 8px -4px rgb(51 36 28 / 0.06);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131209;
    --surface: #1f1f1f;
    --sunken: #181818;
    --fg: hsl(25 30% 91%);
    --muted: hsl(25 12% 66%);
    --border: #313131;
    --primary: hsl(25 30% 91%);
    --primary-hover: hsl(25 24% 82%);
    --primary-fg: #131209;
    --accent: #272727;
    --accent-fg: hsl(9 40% 74%);
    --accent-strong: hsl(9 40% 66%);
    --champagne: #313131;
    --success: hsl(148 30% 62%);
    --success-subtle: hsl(145 20% 15%);
    --info: hsl(210 46% 70%);
    --info-subtle: hsl(212 22% 15%);
    --danger: hsl(3 70% 66%);
    --danger-subtle: #1f1f1f;
    --ring: hsl(9 40% 66%);
    --hero-from: #ffffff;
    --hero-to: #9b9b9b;
    --glass: rgb(31 31 31 / 0.72);
    --overlay: rgb(0 0 0 / 0.8);
    --shadow: 0 12px 32px -8px rgb(0 0 0 / 0.5);
    color-scheme: dark;
  }
  /* The monogram is dark brown; show it as a light silhouette on dark backgrounds. */
  .brand img { filter: brightness(0) invert(0.9); }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5rem;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { text-wrap: balance; margin: 0; font-weight: 700; }
p, li, dd { text-wrap: pretty; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; border-radius: 4px; }

.skip { position: absolute; inset-inline-start: 16px; top: -64px; z-index: 100; background: var(--primary); color: var(--primary-fg); padding: 8px 12px; border-radius: 8px; font-weight: 600; text-decoration: none; transition: top 300ms var(--ease); }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: 1152px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sunken { background: var(--sunken); }
.eyebrow { font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; color: var(--accent-strong); margin-bottom: 12px; }
.h2 { font-size: 2.25rem; line-height: 2.5rem; max-width: 680px; }
.lead { font-size: 1.125rem; line-height: 1.75rem; color: var(--muted); max-width: 680px; margin-top: 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 12px; border-radius: 12px; font: inherit; font-size: 1rem; line-height: 1.5rem; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color 700ms var(--ease), transform 700ms var(--ease), border-color 700ms var(--ease); }
.btn:active { transform: scale(0.98); }
.btn-lg { padding: 12px 24px; }
.btn-primary { background: var(--primary); color: var(--primary-fg); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); }
.btn-primary:active { transform: scale(0.98); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface); }
.btn-sm { font-size: 0.875rem; line-height: 1.25rem; padding: 8px 12px; border-radius: 9999px; }
.btn[disabled] { opacity: 0.7; cursor: progress; }

/* Fluid island nav */
.nav-shell { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; justify-content: center; pointer-events: none; }
.nav { pointer-events: auto; margin-top: 24px; width: max-content; max-width: calc(100% - 32px); display: flex; align-items: center; gap: 24px; padding-block: 8px; padding-inline: 16px 8px; border-radius: 9999px; background: var(--glass); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid var(--border); box-shadow: var(--shadow); }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; }
.brand img { width: 32px; height: 28px; object-fit: contain; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 8px 12px; border-radius: 9999px; font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; color: var(--muted); text-decoration: none; transition: background-color 700ms var(--ease), color 700ms var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="true"] { color: var(--fg); background: var(--accent); }
.burger { display: none; position: relative; width: 40px; height: 40px; border: 0; border-radius: 9999px; background: transparent; color: var(--fg); cursor: pointer; }
.burger span { position: absolute; left: 12px; width: 16px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 700ms var(--ease), top 700ms var(--ease); }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 23px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 19px; transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 40; background: var(--overlay); backdrop-filter: blur(64px); -webkit-backdrop-filter: blur(64px); display: flex; flex-direction: column; justify-content: center; padding: 96px 24px; opacity: 0; visibility: hidden; transition: opacity 700ms var(--ease), visibility 0s linear 700ms; }
.menu.open { opacity: 1; visibility: visible; transition: opacity 700ms var(--ease); }
.menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.menu li { overflow: hidden; }
.menu a { display: block; font-size: 1.875rem; line-height: 2.25rem; font-weight: 700; text-decoration: none; padding: 8px 0; transform: translateY(48px); opacity: 0; transition: transform 700ms var(--ease), opacity 700ms var(--ease); }
.menu.open a { transform: translateY(0); opacity: 1; }
.menu li:nth-child(1) a { transition-delay: 100ms; }
.menu li:nth-child(2) a { transition-delay: 150ms; }
.menu li:nth-child(3) a { transition-delay: 200ms; }
.menu li:nth-child(4) a { transition-delay: 250ms; }
.menu li:nth-child(5) a { transition-delay: 300ms; }

/* Hero */
.hero { padding: 160px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-grid > *, .book-grid > *, .split > * { min-width: 0; }
.hero h1 { font-size: 3rem; line-height: 1; letter-spacing: -0.02em; max-width: 680px; background: linear-gradient(90deg, var(--hero-from), var(--hero-to)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 4px; }
.hero .lead { margin-top: 24px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 32px; }
.proof { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 32px; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted); list-style: none; padding: 0; }
.proof li { display: flex; align-items: center; gap: 8px; }
.proof i { color: var(--success); font-size: 1.125rem; }

/* Hero visual: a small calendar day, drawn in HTML */
.mock { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 16px; box-shadow: var(--shadow); --hour: 56px; }
/* Mirrors the salon app's calendar (apps/web/src/components/calendar/time-grid.tsx). */
.mock-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding: 0 0 16px; }
.mock-day { display: flex; align-items: center; gap: 4px; }
.mock-day strong { margin-inline-start: 8px; font-size: 0.875rem; line-height: 1.25rem; }
.mock-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 28px; padding: 0 8px; border: 1px solid var(--border); border-radius: 8px; font-size: 0.75rem; font-weight: 500; }
.mock-btn:has(i) { padding: 0; }
.mock-seg { display: inline-flex; padding: 2px; border-radius: 8px; background: var(--sunken); font-size: 0.75rem; line-height: 1rem; color: var(--muted); }
.mock-seg span { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 6px; }
.mock-seg .on { background: var(--surface); color: var(--fg); font-weight: 600; box-shadow: 0 1px 2px rgb(0 0 0 / 0.08); }
.mock-cols { display: grid; grid-template-columns: 40px repeat(3, minmax(0, 1fr)); }
.mock-staffrow { border: 1px solid var(--border); border-bottom: 0; border-radius: 12px 12px 0 0; }
.mock-staffrow > * + * { border-inline-start: 1px solid var(--border); }
.mock-staff { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 8px; border-bottom: 1px solid var(--border); }
.mock-staffrow > div:first-child { border-bottom: 1px solid var(--border); }
.mock-staff > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.mock-staff b { font-size: 0.8125rem; line-height: 1.125rem; font-weight: 600; }
.mock-staff small { font-size: 0.6875rem; line-height: 0.875rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.av { position: relative; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 0.6875rem; font-weight: 600; }
.av::after { content: ""; position: absolute; inset-inline-end: -1px; bottom: -1px; width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 2px var(--surface); }
.av.t1 { background: var(--accent); color: var(--accent-fg); }
.av.t2 { background: var(--champagne); color: var(--fg); }
.av.t3 { background: var(--info-subtle); color: var(--info); }
.mock-body { position: relative; height: calc(6 * var(--hour)); border: 1px solid var(--border); border-top: 0; border-radius: 0 0 12px 12px; overflow: hidden; }
.mock-times { position: relative; border-inline-end: 1px solid var(--border); }
.mock-times span { position: absolute; inset-inline-end: 6px; font-size: 0.625rem; line-height: 0.75rem; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; transform: translateY(-50%); }
.mock-times span:nth-child(1) { top: 0; transform: none; }
.mock-times span:nth-child(2) { top: calc(1 * var(--hour)); }
.mock-times span:nth-child(3) { top: calc(2 * var(--hour)); }
.mock-times span:nth-child(4) { top: calc(3 * var(--hour)); }
.mock-times span:nth-child(5) { top: calc(4 * var(--hour)); }
.mock-times span:nth-child(6) { top: calc(5 * var(--hour)); }
/* Solid hour lines, dashed half hours. */
.mock-lane { position: relative; border-inline-end: 1px solid var(--border);
  background:
    repeating-linear-gradient(to bottom, var(--border) 0 1px, transparent 1px var(--hour)),
    repeating-linear-gradient(to bottom, transparent 0 calc(var(--hour) / 2), color-mix(in srgb, var(--border) 50%, transparent) calc(var(--hour) / 2) calc(var(--hour) / 2 + 1px), transparent calc(var(--hour) / 2 + 1px) var(--hour)); }
.mock-lane:last-child { border-inline-end: 0; }
.appt { position: absolute; left: 3px; right: 3px; top: calc(var(--s) * var(--hour) / 60 + 1px); height: calc(var(--d) * var(--hour) / 60 - 2px); display: flex; flex-direction: column; padding: 3px 6px; border-radius: 6px; border-inline-start: 4px solid var(--c); font-size: 0.6875rem; line-height: 0.9375rem; overflow: hidden; box-shadow: 0 1px 2px rgb(0 0 0 / 0.05); }
.appt b { display: flex; align-items: center; gap: 4px; font-weight: 600; color: var(--fg); white-space: nowrap; }
.appt b i { flex: none; font-size: 0.75rem; }
.appt span { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.appt.done { background: var(--success-subtle); }
.appt.prog { background: var(--accent); }
.appt.conf { background: var(--info-subtle); }
.mock-now { position: absolute; inset-inline: 40px 0; top: calc(160 * var(--hour) / 60); height: 2px; background: var(--danger); z-index: 2; pointer-events: none; }
.mock-now::before { content: ""; position: absolute; inset-inline-start: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--danger); }
.mock-now span { position: absolute; inset-inline-end: calc(100% + 6px); top: -7px; padding: 0 3px; border-radius: 4px; background: var(--danger); color: #fff; font-size: 0.625rem; line-height: 0.875rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.mock-toast { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px; border-radius: 8px; background: var(--sunken); border: 1px solid var(--border); font-size: 0.875rem; line-height: 1.25rem; }
.mock-toast i { font-size: 1.25rem; color: var(--success); }

/* Problem → solution */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 32px; }
.panel h3 { font-size: 1.25rem; line-height: 1.75rem; margin-bottom: 16px; }
.panel ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.panel li { display: flex; gap: 12px; color: var(--muted); }
.panel li i { flex: none; font-size: 1.25rem; margin-top: 2px; }
.panel.before li i { color: var(--danger); }
.panel.after li i { color: var(--success); }

/* Benefits */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.benefit { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 32px; transition: transform 700ms var(--ease), box-shadow 700ms var(--ease); }
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.benefit .icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: var(--accent-fg); font-size: 1.5rem; margin-bottom: 24px; }
.benefit h3 { font-size: 1.25rem; line-height: 1.75rem; }
.benefit p { margin-top: 8px; color: var(--muted); }

/* Tagline reveal */
.tagline { padding: 96px 0; }
.tagline p { font-size: 3rem; line-height: 1; font-weight: 700; letter-spacing: -0.02em; max-width: 680px; }
.tagline .w { color: var(--fg); opacity: 0.3; transition: opacity 700ms var(--ease); }
.tagline .w.on { opacity: 1; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; counter-reset: step; list-style: none; padding: 0; }
.step { border: 1px solid var(--border); border-radius: 16px; padding: 32px; background: var(--surface); }
.step-num { width: 40px; height: 40px; border-radius: 9999px; background: var(--primary); color: var(--primary-fg); display: grid; place-items: center; font-weight: 700; margin-bottom: 24px; }
.step h3 { font-size: 1.25rem; line-height: 1.75rem; }
.step p { color: var(--muted); margin-top: 8px; }

/* Pricing */
.billing { display: inline-flex; margin-top: 32px; padding: 4px; border-radius: 9999px; background: var(--surface); border: 1px solid var(--border); }
.billing button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 0; border-radius: 9999px; background: none; color: var(--muted); font: inherit; font-size: 0.875rem; font-weight: 600; cursor: pointer; transition: background-color 200ms var(--ease), color 200ms var(--ease); }
.billing button[aria-pressed="true"] { background: var(--primary); color: var(--primary-fg); }
.billing button:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
.billing .save { padding: 2px 8px; border-radius: 9999px; background: var(--success-subtle); color: var(--success); font-size: 0.75rem; line-height: 1rem; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 32px; max-width: 840px; }
.billed { margin-top: 4px; min-height: 1.25rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--success); font-weight: 500; }
.plan { border: 1px solid var(--border); border-radius: 16px; padding: 32px; background: var(--surface); display: flex; flex-direction: column; }
.plan.featured { border-color: var(--accent-strong); box-shadow: var(--shadow); }
.plan-tag { align-self: flex-start; font-size: 0.75rem; line-height: 1rem; font-weight: 600; padding: 4px 8px; border-radius: 9999px; background: var(--accent); color: var(--accent-fg); margin-bottom: 16px; }
.plan h3 { font-size: 1.25rem; line-height: 1.75rem; }
.price { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; }
.price strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
.price strong { font-size: 2.25rem; line-height: 2.5rem; }
.price span { color: var(--muted); font-size: 0.875rem; line-height: 1.25rem; }
.plan ul { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; color: var(--muted); }
.plan li { display: flex; gap: 8px; }
.plan li i { color: var(--success); margin-top: 4px; }
.note { margin-top: 24px; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted); max-width: 680px; }

/* Facts strip (proof without invented testimonials) */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.fact { border: 1px solid var(--border); border-radius: 16px; padding: 24px; background: var(--surface); }
.fact strong { display: block; font-size: 1.5rem; line-height: 2rem; }
.fact span { display: block; margin-top: 4px; color: var(--muted); font-size: 0.875rem; line-height: 1.25rem; }

/* FAQ */
.faq { margin-top: 48px; display: grid; gap: 12px; max-width: 768px; }
.faq details { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.faq summary { list-style: none; cursor: pointer; padding: 24px; display: flex; justify-content: space-between; gap: 16px; font-weight: 600; font-size: 1.125rem; line-height: 1.75rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; transition: transform 700ms var(--ease); margin-top: 4px; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { padding: 0 24px 24px; color: var(--muted); }

/* Booking form */
.book-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.book-points { margin: 32px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.book-points li { display: flex; gap: 12px; }
.book-points i { color: var(--accent-strong); font-size: 1.25rem; margin-top: 2px; }
.form { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 32px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; line-height: 1.5rem; color: var(--fg); background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 8px 12px; transition: border-color 700ms var(--ease), box-shadow 700ms var(--ease); }
.field textarea { min-height: 96px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ring); box-shadow: 0 0 0 4px var(--accent); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.err { font-size: 0.875rem; line-height: 1.25rem; color: var(--danger); min-height: 0; }
.err:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.chips legend { margin-bottom: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; }
.chip span { display: inline-block; padding: 8px 12px; border-radius: 9999px; border: 1px solid var(--border); font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; cursor: pointer; transition: background-color 700ms var(--ease), border-color 700ms var(--ease); }
.chip input:checked + span { background: var(--primary); color: var(--primary-fg); border-color: var(--primary); }
.chip input:focus-visible + span { outline: 2px solid var(--ring); outline-offset: 2px; }
.hp { position: absolute; inset-inline-start: -9999px; }
.form-foot { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-foot small { color: var(--muted); font-size: 0.75rem; line-height: 1rem; flex: 1 1 200px; }
.status { margin-top: 16px; padding: 12px 16px; border-radius: 12px; font-size: 0.875rem; line-height: 1.25rem; display: none; }
.status.ok { display: block; background: var(--success-subtle); color: var(--success); border: 1px solid var(--border); }
.status.bad { display: block; background: var(--danger-subtle); color: var(--danger); border: 1px solid var(--border); }
.spinner-bar { display: none; width: 16px; height: 16px; border-radius: 4px; background: currentColor; opacity: 0.5; animation: pulse 1s var(--ease) infinite alternate; }
.btn[disabled] .spinner-bar { display: inline-block; }
@keyframes pulse { to { opacity: 1; transform: scale(0.8); } }

/* Final CTA + footer */
.final { text-align: center; }
.final .h2, .final .lead { margin-inline: auto; }
.final .hero-cta { justify-content: center; }
.footer { border-top: 1px solid var(--border); padding: 32px 0; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted); }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.footer nav { display: flex; gap: 24px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--fg); text-decoration: underline; }

/* Simple pages (privacy, terms, 404) */
.page { padding: 160px 0 96px; }
.page .wrap { max-width: 768px; }
.page h1 { font-size: 2.25rem; line-height: 2.5rem; }
.page h2 { font-size: 1.25rem; line-height: 1.75rem; margin-top: 32px; }
.page p, .page li { color: var(--muted); margin-top: 12px; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(64px); filter: blur(12px); transition: opacity 900ms var(--ease), transform 900ms var(--ease), filter 900ms var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.no-js .reveal { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .tagline .w, .menu, .menu a { transition: none !important; opacity: 1; transform: none; filter: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .book-grid, .split { grid-template-columns: 1fr; }
  .benefits, .steps, .plans { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav .btn-sm { display: none; }
  .burger { display: block; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .section, .tagline { padding: 64px 0; }
  .hero { padding: 128px 0 64px; }
  .hero h1 { font-size: 2.25rem; line-height: 2.5rem; }
  .h2 { font-size: 1.875rem; line-height: 2.25rem; }
  .tagline p { font-size: 2.25rem; line-height: 2.5rem; }
  .form { padding: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .mock { --hour: 60px; padding: 12px; }
  .mock-cols { grid-template-columns: 34px repeat(3, minmax(0, 1fr)); }
  .mock-now { inset-inline-start: 34px; }
  .mock-now span { display: none; }
  .mock-staff { padding: 6px; gap: 6px; }
  .av { width: 24px; height: 24px; }
  .mock-staff small { display: none; }
}

/* Language switch in the nav */
.lang { font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; color: var(--muted); text-decoration: none; padding: 8px 4px; }
.lang:hover { color: var(--fg); }

/* Arabic (right to left). Same font as the app's Arabic interface. */
[dir="rtl"] body { font-family: "IBM Plex Sans Arabic", "Manrope", system-ui, sans-serif; line-height: 1.75rem; }
[dir="rtl"] .hero h1 { letter-spacing: 0; line-height: 1.25; background-image: linear-gradient(270deg, var(--hero-from), var(--hero-to)); }
[dir="rtl"] .h2 { line-height: 3rem; }
[dir="rtl"] .lang { font-family: "Manrope", system-ui, sans-serif; }
[lang="en"] .lang { font-family: "IBM Plex Sans Arabic", system-ui, sans-serif; }
