@import url("https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500&display=swap");

/* Service Growth Agency: shared styles.
   Design read: dark, calm, clinical SaaS. One violet accent (brand colour).
   One radius system: 16 / 10 / 6. Circles only for status dots and slider thumbs. */

:root {
  color-scheme: dark;
  --bg: #0b0c10;
  --bg-2: #101218;
  --bg-3: #08090c;
  --surface: #13151c;
  --surface-2: #1a1d27;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --heading: #f3f4f7;
  --text: #b8bdca;
  --muted: #8a90a0;
  --accent: #a99bff;
  --accent-soft: rgba(169, 155, 255, 0.1);
  --cyan: var(--accent);
  --cyan-soft: var(--accent-soft);
  --btn-a: #6a48f5;
  --btn-b: #6a48f5;
  --good: #4ade9b;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --display: "Geist", "Inter", system-ui, sans-serif;
  --sans: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --maxw: 1160px;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 12px 32px -16px rgba(0, 0, 0, 0.7);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: rgba(169, 155, 255, 0.18); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--heading); font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.25rem); line-height: 1.04; letter-spacing: -0.04em; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.02em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(169, 155, 255, 0.35); color: #fff; }
a, button, summary, label, input, select, textarea { touch-action: manipulation; }
output, .num, .stat b, .year strong, .big, td { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--radius-xs); }

.container { width: min(var(--maxw), 100% - 40px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 40px); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--heading); color: #000; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { left: 12px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; font: 600 0.95rem/1 var(--sans); border-radius: var(--radius-sm); border: 1px solid transparent; text-decoration: none; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, transform .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--btn-a); color: #fff; border-color: rgba(255, 255, 255, 0.14); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 8px 20px -10px rgba(106, 72, 245, 0.8); }
.btn-ghost, .btn-outline-light { background: transparent; color: var(--heading); border-color: var(--line-strong); }
.btn-light { background: var(--heading); color: #0b0c10; }
.btn svg { width: 16px; height: 16px; transition: transform .15s ease; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 0.9rem; }
@media (hover: hover) {
  .btn-primary:hover { background: #7351f8; }
  .btn-ghost:hover, .btn-outline-light:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.32); }
  .btn-light:hover { background: #fff; }
  .btn:hover svg { transform: translateX(2px); }
}

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 12, 16, 0.82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.site-header.scrolled { background: rgba(11, 12, 16, 0.94); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 36px; height: 36px; }
.brand span { font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: var(--heading); letter-spacing: -0.02em; line-height: 1.1; }
.brand small { display: block; font: 400 0.75rem/1.2 var(--sans); color: var(--muted); letter-spacing: 0; margin-top: 2px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a.link { padding: 10px 14px; border-radius: var(--radius-sm); text-decoration: none; font-weight: 500; font-size: 0.94rem; color: var(--text); transition: color .15s ease, background-color .15s ease; }
.nav a.link[aria-current="page"] { color: var(--heading); }
.nav .btn { margin-left: 10px; }
@media (hover: hover) { .nav a.link:hover { color: var(--heading); background: rgba(255, 255, 255, 0.05); } }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; border-radius: var(--radius-sm); cursor: pointer; color: var(--heading); }
.menu-toggle svg { width: 24px; height: 24px; margin: auto; }
@media (max-width: 900px) {
  .menu-toggle { display: grid; place-items: center; }
  .nav { position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; gap: 2px; background: rgba(11, 12, 16, 0.98); border-bottom: 1px solid var(--line); padding: 12px 20px 20px; display: none; }
  .nav.open { display: flex; }
  .nav a.link { padding: 14px 12px; font-size: 1.05rem; }
  .nav .btn { margin: 10px 0 0; }
}

/* ---------- Sections ---------- */
section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.dark { background: var(--bg-3); border-block: 1px solid var(--line); }
.eyebrow { display: inline-block; font: 500 0.875rem/1.2 var(--sans); color: var(--accent); letter-spacing: 0.01em; margin: 0 0 16px; }
.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.lead { font-size: 1.15rem; color: var(--text); }
.grad-text { color: var(--accent); }
.fineprint { font-size: 0.82rem; color: var(--muted); margin: 18px 0 0; max-width: 680px; }

.split-sticky { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 7vw, 96px); align-items: start; }
.split-sticky > .sticky { position: sticky; top: 104px; }
@media (max-width: 900px) { .split-sticky { grid-template-columns: 1fr; } .split-sticky > .sticky { position: static; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 104px); }
.hero h1 { max-width: none; margin-bottom: clamp(32px, 4vw, 56px); }
.hero h1 .line { display: block; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(32px, 6vw, 80px); align-items: start; }
.hero-copy .lead { font-size: 1.2rem; max-width: 34ch; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 18px 0 0; font-size: 0.92rem; color: var(--muted); }
.hero-visual { width: 100%; max-width: 520px; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }

.call-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.call-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.call-live { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--heading); font-size: 0.92rem; }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--good); }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--good); animation: ping 2s ease-out infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.6; } 80%, 100% { transform: scale(3); opacity: 0; } }
.call-time { font: 400 0.75rem var(--mono); color: var(--muted); }
.bubble { max-width: 88%; padding: 11px 14px; border-radius: var(--radius-sm); font-size: 0.94rem; line-height: 1.45; margin-bottom: 10px; }
.bubble small { display: block; font: 500 0.66rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; opacity: 0.7; }
.bubble.caller { background: rgba(255, 255, 255, 0.06); color: #dfe2ea; }
.bubble.ai { background: var(--btn-a); color: #fff; margin-left: auto; }
.booked { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 14px 16px; background: rgba(74, 222, 155, 0.08); border: 1px solid rgba(74, 222, 155, 0.28); border-radius: var(--radius-sm); color: var(--heading); }
.booked svg { width: 24px; height: 24px; color: var(--good); flex: none; }
.booked strong { display: block; font-size: 0.95rem; }
.booked span { font-size: 0.85rem; color: var(--text); }
.card-label { font: 400 0.7rem var(--mono); color: var(--muted); margin: 12px 0 0; letter-spacing: 0.06em; }

/* ---------- Integrations strip ---------- */
.strip { padding: 28px 0; border-block: 1px solid var(--line); background: var(--bg); }
.strip-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.strip-label { font-size: 0.9rem; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 7px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); font-size: 0.88rem; font-weight: 500; color: var(--text); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1040px) { .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .g3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .g2, .g4 { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: border-color .2s ease, transform .2s ease; }
.card p { margin: 0; font-size: 0.97rem; }
.card h3 { margin-bottom: 8px; }
@media (hover: hover) { .card:hover { border-color: var(--line-strong); transform: translateY(-2px); } }
.icon { width: 40px; height: 40px; border-radius: var(--radius-sm); display: grid; place-items: center; margin-bottom: 18px; background: var(--accent-soft); color: var(--accent); border: 1px solid rgba(169, 155, 255, 0.22); }
.icon svg { width: 20px; height: 20px; }

.audience-card { display: flex; flex-direction: column; }
.audience-card .tag { margin-top: auto; padding-top: 18px; font-size: 0.88rem; font-weight: 600; color: var(--accent); text-decoration: none; }
.audience-card.other { background: var(--surface-2); border-color: var(--line-strong); }
.aud-big { padding: 36px; }
.aud-big h3 { font-size: 1.5rem; }
.aud-big .ticks { margin-top: 20px; }
.aud-wide { margin-top: 16px; display: flex; flex-direction: row; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 24px 32px; }
.aud-wide .txt { display: flex; gap: 20px; align-items: center; flex: 1 1 420px; }
.aud-wide .icon { margin: 0; flex: none; }
.aud-wide h3 { margin-bottom: 4px; }

.ticks li { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.ticks li:last-child { margin-bottom: 0; }
.ticks svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 3px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow); }

/* ---------- Problem ---------- */
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .problem-grid { grid-template-columns: 1fr; } }
.loss-stack { display: grid; gap: 16px; }
.loss-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.loss-card .kicker { font: 500 0.8rem var(--mono); color: var(--accent); margin-bottom: 12px; }
.loss-card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.loss-card p { margin: 0; }
.fiveminutes { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; gap: 20px; align-items: baseline; }
.fiveminutes .big { font: 600 2.25rem/1 var(--display); color: var(--heading); white-space: nowrap; letter-spacing: -0.03em; }
.fiveminutes p { margin: 0; }
@media (max-width: 640px) { .fiveminutes { flex-direction: column; gap: 10px; } }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: 1.15fr 0.85fr; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; box-shadow: var(--shadow); }
.calc-inputs { padding: clamp(24px, 4vw, 40px); }
.calc-out { padding: clamp(24px, 4vw, 40px); background: var(--bg-3); border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.field { margin-bottom: 30px; }
.field:last-child { margin-bottom: 0; }
.field-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; gap: 12px; }
.field label { font-weight: 500; color: var(--heading); font-size: 0.95rem; }
.field output { font: 500 1.1rem var(--mono); color: var(--heading); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; padding: 11px 0; background: linear-gradient(to right, var(--accent) var(--fill, 30%), rgba(255, 255, 255, 0.14) var(--fill, 30%)); background-clip: content-box; background-origin: content-box; border-radius: 4px; cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--btn-a); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 4px solid var(--btn-a); }
.calc-out .label { font: 500 0.78rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.calc-out .num { font: 600 clamp(2.6rem, 5vw, 3.75rem)/1 var(--display); color: var(--heading); letter-spacing: -0.04em; margin-bottom: 8px; }
.calc-out .sub { color: var(--text); font-size: 0.95rem; margin-bottom: 24px; }
.calc-out .year { padding-top: 20px; border-top: 1px solid var(--line); margin-bottom: 26px; }
.calc-out .year strong { font: 600 1.6rem var(--display); display: block; color: var(--heading); }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } .calc-out { border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- Capabilities (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.bento .cap { grid-column: span 2; }
.bento .cap.b-lg { grid-column: span 4; padding: clamp(28px, 3vw, 40px); }
.bento .cap.b-lg h3 { font-size: 1.6rem; }
.bento .cap.b-lg p { font-size: 1.05rem; max-width: 52ch; }
.cap { padding: 26px; }
.cap h3 { font-size: 1.08rem; }
.cap p { font-size: 0.93rem; }
@media (max-width: 960px) { .bento .cap { grid-column: span 3; } .bento .cap.b-lg, .bento .cap:last-child { grid-column: span 6; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .bento .cap, .bento .cap.b-lg, .bento .cap:last-child { grid-column: auto; } }

/* ---------- Timeline and rows ---------- */
.timeline { counter-reset: t; }
.timeline li { counter-increment: t; display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 28px 0; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline li::before { content: counter(t, decimal-leading-zero); font: 500 0.9rem var(--mono); color: var(--accent); padding-top: 3px; }
.timeline h3, .rows h3 { margin: 0 0 6px; }
.timeline p, .rows p { margin: 0; }
.rows li { padding: 24px 0; border-top: 1px solid var(--line); }
.rows li:last-child { border-bottom: 1px solid var(--line); }

/* legacy step cards (about page) */
.steps { counter-reset: step; }
.step { position: relative; padding: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.step::before { counter-increment: step; content: "0" counter(step); font: 500 0.9rem var(--mono); color: var(--accent); display: block; margin-bottom: 16px; }
.step p { margin: 0; font-size: 0.97rem; }

/* ---------- Comparison table ---------- */
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.compare-table { width: 100%; border-collapse: collapse; text-align: left; }
.compare-table th, .compare-table td { padding: 20px 24px; vertical-align: top; font-size: 0.95rem; border-top: 1px solid var(--line); }
.compare-table thead th { border-top: 0; background: var(--surface-2); font: 500 0.75rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-block: 14px; }
.compare-table tbody th { font: 600 1rem var(--display); color: var(--heading); width: 14%; }
.compare-table td.with { color: #e3e5ec; background: rgba(169, 155, 255, 0.05); }
.compare-table td.measure { font: 400 0.82rem var(--mono); color: var(--muted); }
@media (max-width: 860px) {
  .compare-table thead { position: absolute; left: -9999px; }
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table th, .compare-table td { display: block; width: auto !important; }
  .compare-table tr { border-top: 1px solid var(--line); padding: 8px 0; }
  .compare-table tr:first-child { border-top: 0; }
  .compare-table th, .compare-table td { border-top: 0; padding: 8px 20px; }
  .compare-table td[data-l]::before { content: attr(data-l); display: block; font: 500 0.68rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
}

/* ---------- Weekly report ---------- */
.report { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.report-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.report-head strong { font: 600 1.05rem var(--display); color: var(--heading); }
.pill { font: 500 0.66rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 8px; border-radius: var(--radius-xs); background: rgba(255, 255, 255, 0.07); color: var(--muted); }
.report-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.stat { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; }
.stat b { display: block; font: 600 1.6rem/1.1 var(--display); color: var(--heading); }
.stat span { font-size: 0.78rem; color: var(--muted); }
.report table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.report th { text-align: left; font: 500 0.66rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 8px 6px; border-bottom: 1px solid var(--line); }
.report td { padding: 11px 6px; border-bottom: 1px solid var(--line); color: #d4d8e3; }
.tag-b { padding: 3px 8px; border-radius: var(--radius-xs); font-size: 0.74rem; font-weight: 600; }
.tag-b.ok { background: rgba(74, 222, 155, 0.14); color: var(--good); }
.tag-b.tr { background: var(--accent-soft); color: var(--accent); }
.tag-b.fu { background: rgba(255, 255, 255, 0.08); color: var(--heading); }

/* ---------- FAQ ---------- */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 20px; margin-bottom: 10px; transition: border-color .2s ease; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; min-height: 56px; padding: 16px 32px 16px 0; display: flex; align-items: center; position: relative; font: 500 1.05rem var(--display); color: var(--heading); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font: 300 1.6rem var(--sans); color: var(--accent); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 0 20px; max-width: 64ch; }
.faq details p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; background: var(--bg-2); border-top: 1px solid var(--line); }
.cta-band h2 { max-width: 760px; margin-inline: auto; }
.cta-band p { max-width: 560px; margin: 0 auto 32px; font-size: 1.1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Inner pages ---------- */
.page-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(32px, 5vw, 56px); }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); max-width: 860px; }
.page-hero .lead { max-width: 640px; }

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.fgroup { margin-bottom: 18px; }
.fgroup label { display: block; font-weight: 500; font-size: 0.88rem; color: var(--heading); margin-bottom: 8px; }
.fgroup .opt { font-weight: 400; color: var(--muted); }
.fgroup input, .fgroup select, .fgroup textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--heading); background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 13px 14px; transition: border-color .15s ease, box-shadow .15s ease; }
.fgroup select option { background: var(--surface); color: var(--heading); }
.fgroup textarea { min-height: 140px; resize: vertical; }
.fgroup input:focus, .fgroup select:focus, .fgroup textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(169, 155, 255, 0.25); }
.hp { position: absolute; left: -9999px; }
.contact-side li { display: flex; gap: 14px; margin-bottom: 24px; align-items: flex-start; }
.contact-side .icon { width: 40px; height: 40px; margin: 0; flex: none; }
.contact-side strong { display: block; color: var(--heading); }
.contact-side a { color: var(--accent); font-weight: 500; }

/* ---------- Booking page ---------- */
.book-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.contact-grid { grid-template-columns: 1.2fr 0.8fr; }
@media (max-width: 960px) { .book-grid, .contact-grid { grid-template-columns: 1fr; } }
.cal-frame { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; min-height: 640px; box-shadow: var(--shadow); }
#cal-inline { width: 100%; min-height: 620px; overflow: auto; }
.cal-fallback { text-align: center; font-size: 0.92rem; color: var(--muted); margin-top: 14px; }
.cal-fallback a, .muted-note a { color: var(--accent); font-weight: 600; }
.muted-note { color: var(--muted); font-size: 0.95rem; }

/* ---------- Legal ---------- */
.legal h2 { font-size: 1.5rem; margin-top: 2em; }
.legal h3 { font-size: 1.15rem; margin-top: 1.6em; }
.legal li { margin: 0 0 0.5em 1.2em; list-style: disc; }
.legal a { color: var(--accent); }
.legal strong { color: var(--heading); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-3); border-top: 1px solid var(--line); color: var(--text); padding: 72px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer p { font-size: 0.95rem; margin-top: 18px; max-width: 320px; }
.site-footer h4 { font: 500 0.8rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.site-footer li { margin-bottom: 11px; font-size: 0.95rem; }
.site-footer a { text-decoration: none; }
@media (hover: hover) { .site-footer a:hover { color: var(--heading); text-decoration: underline; } }
.foot-bottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 0.85rem; color: var(--muted); }
.foot-bottom nav { display: flex; gap: 22px; }

/* ---------- Thanks / 404 ---------- */
.centered { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.check-badge { width: 64px; height: 64px; border-radius: 50%; background: rgba(74, 222, 155, 0.1); border: 1px solid rgba(74, 222, 155, 0.35); color: var(--good); display: grid; place-items: center; margin: 0 auto 24px; }
.check-badge svg { width: 32px; height: 32px; }

/* ---------- Reveal on scroll (driven by main.js IntersectionObserver) ---------- */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .pulse::after { animation: none; display: none; }
  .btn, .card, .btn svg, .faq summary::after { transition: none; }
}