/* Sections: header, hero, platform rows, proof, steps, FAQ, footer, legal page. The hero panel, trust strip and stage line are in today.css. */

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); border-bottom: 1px solid transparent; transition: border-color 180ms ease; }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.3) blur(14px); } }
.site-header.scrolled { border-bottom-color: var(--line-row); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
/* Brand lockup: leaf mark plus wordmark, both SVG. Heights match the nav text optically. */
.brand img { height: auto; }
.brand-mark { width: 40px; }
.brand-word { width: 104px; }
.site-footer .brand-mark { width: 34px; }
.site-footer .brand-word { width: 92px; }
nav { display: flex; align-items: center; gap: 32px; }
.nav-links { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-2); text-decoration: none; font-size: .9375rem; font-weight: 400; line-height: 1; }
.nav-links a:hover { color: var(--text); }
/* Header CTA uses the plain-button look so it stays quiet beside the nav. */
.site-header .btn-primary { background: var(--surface); color: var(--link); border: 1px solid var(--plain-edge); }
@media (hover: hover) { .site-header .btn-primary:hover { background: var(--surface-sunk); color: var(--link); } }
.site-header .btn-primary:active { background: var(--surface-track); }

/* Hero */
.hero { padding: clamp(40px, 7vw, 96px) 0 calc(var(--section) * .6); background: radial-gradient(ellipse 55% 50% at 80% 45%, rgba(69, 185, 165, .13) 0, rgba(233, 247, 244, .55) 40%, rgba(243, 246, 247, .15) 65%, rgba(255, 255, 255, 0) 85%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(40px, 6vw, 112px); align-items: center; }
.lead { font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); font-weight: 350; line-height: 1.6; color: var(--text-2); margin-top: 22px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.hero-copy .fine { margin-top: 14px; }
.after-steps { margin-top: 32px; }

.tag { display: inline-block; vertical-align: 1px; margin-left: 8px; font: 500 .75rem/1 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); white-space: nowrap; }

/* Section rhythm and continuous fields: mist meets mist at the seams, so no edge shows. */
.section { padding: var(--section) 0; }
.band-in { background: linear-gradient(to bottom, var(--page) 0, var(--surface-frame) var(--fade), var(--surface-frame) 100%); padding: calc(var(--fade) * .5 + var(--section) * .1) 0 calc(var(--section) * .5); }
.band-out { background: linear-gradient(to bottom, var(--page) 0, var(--surface-frame) var(--fade), var(--surface-frame) calc(100% - var(--fade)), var(--page) 100%); padding: calc(var(--fade) * .5 + var(--section) * .1) 0 calc(var(--fade) * .6 + var(--section) * .2); }
.section:has(+ .band-in), .section:has(+ .band-out) { padding-bottom: calc(var(--section) * .35); }
.band-out + .section, .book + .section { padding-top: calc(var(--section) * .4); }

/* Platform and security: sticky head beside hairline rows. */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split-head { position: sticky; top: 112px; }
.split-head p { margin-top: 16px; color: var(--text-2); max-width: 28em; }
.rows { margin: 0; border-top: 1px solid var(--line-row); }
.row { display: grid; grid-template-columns: minmax(0, 12em) minmax(0, 1fr); gap: 6px 28px; padding: 20px 0; border-bottom: 1px solid var(--line-row); }
.row dt { font: 500 1rem/1.45 var(--display); color: var(--text); }
.row dd { margin: 0; font-size: 1rem; line-height: 1.65; color: var(--text-2); }
/* "Soon" rows read quieter than live ones: secondary title, small-print body (4.7:1 on white). */
.row.soon dt { color: var(--text-2); }
.row.soon dd { color: var(--text-3); }

.center-head { text-align: left; max-width: 20em; margin: 0; }

/* Proof: heading and lead left-aligned like other heads, then three hairline-topped facts. */
.proof-head { max-width: 20em; }
.facts { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.facts > div { border-top: 1px solid var(--line); padding-top: 22px; }
.facts dt { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.125rem); font-weight: 300; line-height: 1.15; letter-spacing: -.015em; color: var(--text); font-variant-numeric: lining-nums tabular-nums; }
.facts dd { margin: 10px 0 0; font-size: 1rem; line-height: 1.65; font-weight: 400; color: var(--text-2); }

/* Steps: numbered because the order carries meaning. */
.steps { list-style: none; counter-reset: step; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); }
.steps li { counter-increment: step; position: relative; padding-top: 40px; }
/* Numbers are plain light-weight figures; the hairline and markers under them are in flow.css. */
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; border: 0; background: none; width: auto; height: auto; font: 300 1.75rem/1 var(--display); color: var(--text); font-variant-numeric: tabular-nums; }
.steps li::after { display: none; }
.steps p { margin-top: 8px; color: var(--text-2); }

/* Booking copy column (the form itself is in form.css). */
.book { background: linear-gradient(to bottom, var(--surface-frame) 0, var(--picked-bg) var(--fade), var(--picked-bg) calc(100% - var(--fade)), var(--page) 100%); padding: calc(var(--fade) * .5 + var(--section) * .1) 0 calc(var(--fade) * .25 + var(--section) * .05); }
.book-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.book-copy p { margin-top: 16px; color: var(--text-2); max-width: 26em; }

/* FAQ: a split like Platform and Security. */
.faq { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq h2 { grid-column: 1; grid-row: 1 / span 5; margin: 0; position: sticky; top: 96px; }
.faq details { grid-column: 2; }
details { border-top: 1px solid var(--line-row); }
details:last-of-type { border-bottom: 1px solid var(--line-row); }
summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative; font: 400 1.125rem/1.45 var(--display); letter-spacing: -.005em; color: var(--text); }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 1.25px solid var(--text-2); border-bottom: 1.25px solid var(--text-2); transform: rotate(45deg); transition: transform .3s var(--ease-out); }
details[open] summary::after { transform: rotate(-135deg); margin-top: -1px; }
@supports (interpolate-size: allow-keywords) {
  details::details-content { block-size: 0; overflow: hidden; transition: block-size .4s var(--ease-out), content-visibility .4s allow-discrete; }
  details[open]::details-content { block-size: auto; }
}
details p { padding: 0 0 22px; color: var(--text-2); max-width: 44em; }

/* Footer */
.site-footer { border-top: 1px solid var(--line-row); padding: 48px 0 56px; }
.footer-row { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.footer-row .fine { margin-top: 14px; max-width: 30em; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: .9375rem; color: var(--text-2); }
.footer-links a { color: var(--text-2); text-decoration: none; }
.footer-links a:hover { color: var(--text); text-decoration: underline; text-decoration-thickness: 1px; }

/* Legal page */
.legal { max-width: 46rem; padding: 64px var(--gutter) 96px; margin: 0 auto; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.625rem); font-weight: 300; }
.legal h2 { font-size: 1.3rem; font-weight: 450; letter-spacing: -.005em; margin-top: 40px; }
.legal p, .legal li { font-size: 1.0625rem; line-height: 1.7; color: var(--text-2); margin-top: 14px; }
.legal .fine { font-size: .84375rem; color: var(--text-3); }

/* Tablet and phone */
@media (max-width: 960px) {
  .hero-grid, .split, .book-grid { grid-template-columns: minmax(0, 1fr); }
  .split-head { position: static; }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .faq h2 { grid-column: 1; grid-row: auto; position: static; margin-bottom: 24px; }
  .faq details { grid-column: 1; }
}
@media (max-width: 720px) {
  :root { --section: 56px; }
  body { font-size: 1rem; }
  h1, h2 { font-weight: 350; }
  .nav-links { display: none; }
  .steps, .facts { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .facts dt { font-weight: 350; }
  .row { grid-template-columns: minmax(0, 1fr); gap: 4px; padding-top: 18px; padding-bottom: 18px; }
  .hero { padding-top: 24px; }
  .hero-actions { margin-top: 24px; gap: 14px 20px; }
  .hero-actions .btn-primary { flex: 1 1 auto; }
  .hero-actions .btn-quiet { flex: 0 0 auto; border: 0; background: none; padding: 15px 0; margin: -15px 0; min-height: 0; text-decoration: underline; text-underline-offset: .22em; }
}

/* Legal sub-headings (terms page) and unresolved CONFIRM markers: amber note colors, notes only. The check-words guard (local and on every PR) fails while any remain. */
.legal h3 { font-size: 1.0625rem; font-weight: 500; margin-top: 28px; color: var(--ink); }
.legal ul { padding-left: 1.25rem; margin: 0; }
.legal mark.confirm { background: #fdf3e1; color: #8a5a00; padding: 1px 6px; border-radius: 4px; font-size: .9em; }

/* Phone numbers never break across lines. */
a[href^="tel:"] { white-space: nowrap; }
