/* Everpeak Estimating front page, redesign v3 (29 Sept 2026).
   Mobile first; the desktop layout starts at 900px.
   Brand: green #00bf63 bands with near-black ink, teal #365b6d details.
   Green is too light for text on light backgrounds: use --green-dark for green text.
   The rate library sample (.rl) uses the product's own palette (blue accent, grey ground)
   because it is a picture of the product, not part of the site's chrome. */

:root {
  --bg: #f2f2f3;
  --white: #ffffff;
  --ink: #0f2419;
  --ink-2: #242a27;
  --text-2: #424244;
  --muted: #5d5d60;
  --disabled: #98989b;
  --line: rgba(15, 36, 25, 0.12);
  --line-soft: rgba(15, 36, 25, 0.08);

  --green: #00bf63;
  --green-dark: #007a43;
  --teal: #365b6d;
  --teal-dark: #264350;
  --teal-50: #eef4f6;
  --teal-100: #dde9ed;
  --teal-200: #bcd3db;
  --teal-300: #8fb3c0;
  --grey-row: #e7e7ea;
  --grey-row-2: #f4f4f5;

  /* Product palette, for the rate library sample only */
  --p-text: #1d1f20;
  --p-line: rgba(29, 31, 32, 0.16);
  --p-line-soft: rgba(29, 31, 32, 0.08);
  --p-accent: #5980a6;
  --p-accent-100: #eef6ff;
  --p-accent-300: #b5d9fd;
  --p-accent-600: #597ea3;
  --p-accent-700: #416180;
  --p-accent-800: #2c455d;

  --font-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;

  --gutter: 16px;
  --section-pad: 64px;
  --radius: 16px;
  --radius-sm: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { text-wrap: balance; }
a { color: var(--teal-dark); }
a:hover { color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.band-teal :focus-visible { outline-color: var(--white); }
[hidden] { display: none !important; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 20; padding: 10px 16px; border-radius: var(--radius-sm); background: var(--ink); color: var(--white); font-weight: 600; }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.hide-mobile { display: none; }
.small { font-size: 13.5px; line-height: 1.45; }
.muted { color: var(--muted); }

h2 { font-family: var(--font-display); font-weight: 700; font-size: 42px; line-height: 1; letter-spacing: -0.01em; }
h3 { font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.08; }
.lede { font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.eyebrow { font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-dark); }
.intro { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 900px; margin-bottom: 36px; }
.intro--row { max-width: none; }

/* ---------- Bands ---------- */
.section { padding: var(--section-pad) 0; }
.band-green { background: var(--green); }
.band-white { background: var(--white); }
.band-tint { background: var(--teal-100); }
.band-pale { background: var(--teal-50); }
.band-teal { background: var(--teal); color: var(--white); }

.pill-dark, .pill-green {
  display: inline-block; align-self: flex-start; padding: 7px 14px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 13px; line-height: 1.35;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.pill-dark { background: var(--ink); color: var(--white); }
.pill-green { background: var(--green); color: var(--ink); }
.pill-dark--small { padding: 4px 10px; font-family: var(--font-body); font-size: 11px; }
.tag-dark, .tag-grey { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.tag-dark { background: var(--ink); color: var(--white); }
.tag-grey { background: var(--grey-row); color: var(--text-2); }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 18px; border: 2px solid transparent; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
  transition: filter 0.15s, background-color 0.15s;
}
.button--large { min-height: 54px; padding: 0 30px; font-size: 17px; }
.button--dark { background: var(--ink); color: var(--white); }
.button--dark:hover { color: var(--white); filter: brightness(1.35); }
.button--outline-dark { border-color: var(--ink); color: var(--ink); background: transparent; }
.button--outline-dark:hover { background: rgba(15, 36, 25, 0.08); color: var(--ink); }
.button--ghost { background: var(--white); border: 1px solid rgba(15, 36, 25, 0.3); color: var(--ink); font-weight: 500; }
.button--ghost:hover { background: var(--grey-row-2); color: var(--ink); }
.button[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header__inner { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wordmark { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--teal); }
.wordmark img { height: 24px; width: auto; }
.wordmark span { font-family: var(--font-display); font-weight: 600; font-size: 20px; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav__link { font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; }
.site-nav__link:hover { color: var(--teal); }

/* Resources menu: a native details/summary, styled as a dropdown. Keyboard: Enter or Space
   on the summary opens it, Tab moves through the links, Escape closes it (main.js). */
.menu { position: relative; }
.menu__summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.menu__summary::-webkit-details-marker { display: none; }
.menu__summary::after { content: ""; width: 7px; height: 7px; margin-top: -3px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.menu[open] .menu__summary { color: var(--teal); }
.menu[open] .menu__summary::after { transform: rotate(225deg); margin-top: 3px; }
.menu__panel { position: absolute; left: 50%; top: calc(100% + 14px); transform: translateX(-50%); min-width: 180px; padding: 8px; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(15, 36, 25, 0.16); z-index: 30; }
.menu__panel a { padding: 10px 14px; border-radius: 8px; color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.menu__panel a:hover, .menu__panel a:focus-visible { background: var(--teal-50); color: var(--ink); }
.menu__panel a[aria-current="page"] { color: var(--green-dark); font-weight: 600; }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 48px; }
.hero__inner { display: flex; flex-direction: column; gap: 20px; }
.hero__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(52px, 7.6vw, 92px); line-height: 0.95; letter-spacing: -0.015em; }
.hero__lede { font-size: 18px; line-height: 1.45; max-width: 820px; }
.hero__actions { display: flex; flex-direction: column; gap: 10px; }
.hero__grid { display: flex; flex-direction: column; gap: 24px; width: 100%; }
.hero__copy { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }

/* Compact rate library beside the headline: no rail, no inspector, the question card under the list */
.rl--compact .rl__rail, .rl--compact .rl__search { display: none; }
.rl--compact .rl__body { display: block; }
.rl--compact .rl__asks { margin: 12px 0 2px; }

/* Trace card (onboarding section): the inspector's arithmetic, on its own */
.trace__panel { background: var(--bg); color: var(--p-text); font-size: 13px; }
.trace__panel h3, .trace__panel > p:not(.small):not(.rl__kicker) { color: var(--ink); }
.trace__panel .rl__lines { display: flex; }

.pillars { display: grid; grid-template-columns: 1fr; width: 100%; border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; background: var(--white); text-align: left; }
.pillars > div { padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; border-bottom: 2px solid var(--ink); }
.pillars > div:last-child { border-bottom: 0; }
.pillars__kicker { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.pillars strong { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.05; }
.pillars__dark { background: var(--ink); color: var(--white); }
.pillars__dark .pillars__kicker { color: var(--teal-200); }

/* ---------- Rate library sample (hero product) ---------- */
.rl {
  width: 100%; display: flex; flex-direction: column; overflow: hidden; text-align: left;
  background: var(--bg); color: var(--p-text); border: 2px solid var(--ink); border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15, 36, 25, 0.25); font-size: 13px;
}
.rl__nav { display: flex; align-items: center; gap: 16px; padding: 10px 14px; border-bottom: 1px solid var(--p-line); font-size: 13px; color: var(--muted); }
.rl__brand { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--p-text); margin-right: 4px; }
.rl__nav > span:not(.rl__brand):not(.rl__tag) { display: none; }
.rl__nav-on { color: var(--p-accent-700); font-weight: 500; box-shadow: inset 0 -2px 0 var(--p-accent); padding: 4px 0; }
.rl__tag { margin-left: auto; padding: 2px 10px; border-radius: 999px; background: var(--grey-row); font-size: 12px; color: var(--text-2); }
.rl__head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; padding: 14px 14px 12px; border-bottom: 1px solid var(--p-line); }
.rl__title { margin-right: auto; display: flex; flex-direction: column; }
.rl__kicker { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.rl__h1 { font-family: var(--font-display); font-weight: 600; font-size: 26px; line-height: 1.1; }
.rl__sub { font-size: 12px; color: var(--muted); }
.rl__search { width: 250px; padding: 7px 14px; border: 1px solid rgba(29, 31, 32, 0.2); border-radius: 999px; background: var(--white); font-size: 13px; color: var(--disabled); }
.segmented { display: inline-flex; border: 1px solid rgba(29, 31, 32, 0.2); border-radius: 6px; overflow: hidden; }
.segmented button { min-height: 34px; padding: 0 12px; border: 0; background: var(--white); color: var(--p-text); font-size: 13px; cursor: default; }
.segmented button[aria-pressed="true"] { background: var(--p-accent); color: var(--white); }

.rl__body { display: flex; flex-direction: column; }
.rl__rail { display: none; }
.rl__list { padding: 12px 12px 14px; min-width: 0; }
.rl__table { border: 1px solid var(--p-line); border-radius: 12px; overflow: hidden; background: var(--white); }
.rl__thead { display: none; }
.rl__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; row-gap: 4px; align-items: center; padding: 9px 12px; border-top: 1px solid var(--p-line-soft); }
.rl__row:first-child { border-top: 0; }
.rl__row--on { background: var(--p-accent-100); box-shadow: inset 3px 0 0 var(--p-accent); }
.rl__code { display: flex; flex-direction: column; min-width: 0; }
.rl__code small { font-size: 11px; color: var(--muted); }
.rl__unit, .rl__dots, .rl__range { display: none; }
.rl__median { font-weight: 500; text-align: right; }
.rl__right { text-align: right; }
.rl__dots { gap: 4px; }
.rl__dots i { width: 11px; height: 11px; border-radius: 3px; border: 1px solid var(--p-accent-600); }
.rl__dots i.on { background: var(--p-accent-600); }
.rl__range { position: relative; height: 16px; }
.rl__range::before { content: ""; position: absolute; left: 0; right: 0; top: 7.5px; height: 1px; background: #b7b7ba; }
.rl__range i { position: absolute; border-radius: 50%; }
.rl__range i.hollow { top: 3px; width: 10px; height: 10px; margin-left: -5px; border: 1.5px solid var(--p-accent-600); background: var(--bg); }
.rl__range i.solid { top: 4px; width: 8px; height: 8px; margin-left: -4px; background: var(--p-accent-800); }
.conf { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; border: 1px solid; white-space: nowrap; }
.conf--3 { background: var(--p-accent-100); border-color: var(--p-accent-300); color: var(--p-accent-800); }
.conf--2 { background: var(--grey-row); border-color: var(--p-line); color: var(--p-text); }
.conf--1 { background: #fff4d6; border-color: #e4c56b; color: #6b4e00; }
.rl__legend { margin-top: 8px; font-size: 11px; color: var(--muted); }

.rl__inspector { display: flex; flex-direction: column; gap: 14px; padding: 14px 12px 16px; border-top: 1px solid var(--p-line); }
.rl__sel { display: flex; flex-direction: column; gap: 2px; }
.rl__sel-name { font-family: var(--font-display); font-weight: 600; font-size: 21px; line-height: 1.15; }
.rl__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--p-line); }
.rl__stats > div { padding: 8px 10px; display: flex; flex-direction: column; border-left: 1px solid var(--p-line); }
.rl__stats > div:first-child { border-left: 0; }
.rl__stats dt { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.rl__stats dd { font-family: var(--font-display); font-weight: 600; font-size: 22px; }
.rl__stats dd.rl__stats-small { font-size: 15px; line-height: 1.5; }
.rl__lines { display: none; flex-direction: column; gap: 6px; } /* shown from 900px */
.rl__lines-head { font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.rl__lines-table { border: 1px solid var(--p-line); border-radius: 10px; overflow: hidden; background: var(--white); font-size: 12px; }
.rl__lines-thead, .rl__line { display: grid; grid-template-columns: 1.1fr 0.8fr 1fr 1fr 0.9fr; gap: 0 6px; padding: 6px 10px; }
.rl__lines-thead { background: var(--grey-row); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.rl__lines-thead span:not(:first-child), .rl__line > span:not(:first-child) { text-align: right; }
.rl__line { border-top: 1px solid var(--p-line-soft); align-items: baseline; }
.rl__line > span:first-child { display: flex; flex-direction: column; line-height: 1.3; }
.rl__line b { font-weight: 500; }
.rl__line small { display: block; font-size: 10.5px; color: var(--muted); }
.rl__esc { font-weight: 500; }
.rl__na { grid-column: 2 / -1; color: var(--muted); font-style: italic; }
.rl__note { font-size: 11px; line-height: 1.45; color: var(--muted); }
.rl__foot { display: flex; flex-direction: column; gap: 2px; padding: 8px 14px; border-top: 1px solid var(--p-line); background: var(--grey-row); font-size: 11.5px; color: var(--muted); }

.asks { padding: 14px 12px; display: flex; flex-direction: column; gap: 12px; background: var(--teal-50); border-radius: 10px; }
.rl__asks { border-top: 1px solid var(--p-line); border-radius: 0; background: transparent; padding: 12px 0 0; color: var(--ink); }
[data-question-open] { display: flex; flex-direction: column; gap: 12px; }
.asks__prompt { font-size: 15px; line-height: 1.4; font-weight: 600; }
.asks__buttons { display: flex; flex-direction: column; gap: 8px; }
.asks__done { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.recorded { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--green-dark); }

/* ---------- Problem ---------- */
.problem__grid { display: flex; flex-direction: column; gap: 24px; }
.problem__copy { display: flex; flex-direction: column; gap: 24px; }
.dots { display: flex; flex-direction: column; gap: 10px; font-size: 17px; line-height: 1.4; color: var(--ink-2); }
.dots li { display: flex; gap: 12px; }
.dots li::before { content: ""; margin-top: 8px; width: 8px; height: 8px; flex-shrink: 0; border-radius: 999px; background: var(--green); }
.dots--grey li::before { background: var(--disabled); }
.punchline { padding: 24px 22px; border-radius: var(--radius); background: var(--green); display: flex; flex-direction: column; gap: 8px; }
.punchline__big { font-family: var(--font-display); font-weight: 700; font-size: 30px; line-height: 1.05; }
.punchline__small { font-size: 16px; font-style: italic; }

/* ---------- Benefits (platform, corporate) ---------- */
.benefits { display: flex; flex-direction: column; gap: 24px; }
.benefits > div { padding-left: 18px; border-left: 4px solid var(--green); display: flex; flex-direction: column; gap: 10px; }
.benefits h3 { font-size: 27px; }
.benefits p { font-size: 16px; line-height: 1.55; color: var(--ink-2); }
/* On the teal band (corporate section): white type, green rules, tinted body copy */
.band-teal .eyebrow { color: var(--teal-200); }
.band-teal .lede, .band-teal .benefits p { color: var(--teal-100); }
.band-teal .benefits > div { border-left-color: var(--green); }

/* ---------- Onboarding ---------- */
.onb { display: flex; flex-direction: column; gap: 28px; }
.onb__copy { display: flex; flex-direction: column; gap: 16px; }
.card.onb__card { gap: 18px; background: var(--teal-50); } /* .card sets white later in the file; this must win */
.onb__card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.onb__bar { position: relative; display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: var(--teal-100); }
.onb__bar i { display: block; height: 10px; }
.onb__bar-1 { width: 36%; background: var(--teal); }
.onb__bar-2 { width: 36%; background: var(--teal-300); }
.onb__bar-3 { width: 28%; background: var(--green); }
.onb__phases { display: grid; gap: 16px; }
.onb__phases > div { display: flex; flex-direction: column; gap: 4px; }
.onb__phases h3 { font-size: 20px; }
.onb__phases p { font-size: 14px; line-height: 1.45; color: var(--ink-2); }

/* ---------- Onboarding detail: mapping and trace cards ---------- */
.onb__detail { display: grid; gap: 16px; margin-top: 28px; }
.onb__detail .card { gap: 10px; }
.onb__detail h3 { font-size: 24px; }
.onb__detail .card > p:not(.small):not(.rl__kicker) { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.mapping__panel { background: var(--teal-50); }
.mapping__row { display: grid; grid-template-columns: 1fr 28px 1fr; align-items: center; gap: 10px; padding: 12px 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.mapping__row > span { display: flex; flex-direction: column; min-width: 0; }
.mapping__row small { font-size: 11px; color: var(--muted); }
.mapping__row b { font-family: var(--font-display); font-weight: 600; font-size: 16px; line-height: 1.2; }
.mapping__arrow { position: relative; display: block; width: 22px; height: 2px; background: var(--green-dark); }
.mapping__arrow::after { content: ""; position: absolute; right: -1px; top: -5px; width: 8px; height: 8px; border-top: 2px solid var(--green-dark); border-right: 2px solid var(--green-dark); transform: rotate(45deg); }

/* ---------- Comparison ---------- */
.compare { display: grid; gap: 16px; }
.compare > div { padding: 24px 22px; border-radius: var(--radius); display: flex; flex-direction: column; gap: 14px; }
.compare__them { background: var(--white); border: 1px solid var(--line); }
.compare__them h3 { color: var(--muted); }
.compare__us { background: var(--white); border: 2px solid var(--ink); }
.compare h3 { font-size: 24px; }
.compare .dots { font-size: 16px; line-height: 1.45; }
.compare .dots li::before { margin-top: 8px; }

/* ---------- Steps ---------- */
.steps { position: relative; display: flex; flex-direction: column; gap: 28px; }
.steps li { position: relative; display: flex; flex-direction: column; gap: 10px; }
.steps__num { width: 44px; height: 44px; border-radius: 999px; background: var(--green); border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.steps h3 { font-size: 27px; }
.steps p { font-size: 16px; line-height: 1.55; color: var(--ink-2); }

/* ---------- Questions both ways ---------- */
.questions__title { margin: 16px 0 24px; max-width: 860px; }
.questions .card { background: var(--teal-50); } /* the questions band is white; its cards carry the tint */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; display: flex; flex-direction: column; gap: 14px; }
.card > p { font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.two-col { display: grid; gap: 16px; }
.examples { display: flex; flex-direction: column; gap: 8px; }
.examples li { padding: 12px 14px; border-radius: var(--radius-sm); background: #f4f7f8; border: 1px solid var(--line); font-size: 15px; line-height: 1.4; }
.examples--prompts li { background: var(--teal-50); border-color: var(--teal-300); }
.examples strong { font-weight: 600; }

/* ---------- Resources ---------- */
.resources { display: grid; gap: 14px; }
.resources li { padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); display: flex; flex-direction: column; gap: 6px; }
.resources h3 { font-size: 21px; line-height: 1.1; }
.resources p { font-size: 14px; line-height: 1.45; color: var(--muted); }

/* ---------- Your data ---------- */
.data__title { margin-bottom: 24px; }
.promises { display: grid; gap: 14px; }
.promise { padding: 18px; border-radius: 14px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.22); display: flex; flex-direction: column; gap: 6px; }
.promise h3 { font-size: 21px; }
.promise p { font-size: 14px; line-height: 1.45; color: var(--teal-100); }


/* ---------- Split sections (contact) ---------- */
.split { display: flex; flex-direction: column; gap: 28px; }
.split__intro { display: flex; flex-direction: column; gap: 14px; }

/* ---------- Contact ---------- */
.contact__panel { padding: 14px 14px 22px; gap: 20px; }
.tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 12px; background: var(--teal-50); }
.tabs__tab { min-height: 46px; padding: 0 16px; border: 0; border-radius: 9px; background: transparent; color: var(--ink-2); font-size: 15px; font-weight: 500; cursor: pointer; }
.tabs__tab[aria-selected="true"] { background: var(--ink); color: var(--white); font-weight: 600; }

.form-grid { display: grid; gap: 16px; }
.form-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.optional { font-weight: 400; color: var(--muted); }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; min-height: 48px; padding: 0 12px; background: var(--white); border: 1px solid rgba(15, 36, 25, 0.3); border-radius: 8px; }
.form-grid textarea { padding: 10px 12px; resize: vertical; min-height: 120px; }
.form-grid input[aria-invalid="true"], .form-grid textarea[aria-invalid="true"] { border-color: #b3261e; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin-top: 14px; padding: 10px 12px; border-radius: 8px; background: #fbeae9; color: #8c1d18; font-size: 14px; }
.form-actions { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.form-actions .button { width: 100%; }
.done { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px 0; }
.done h3 { font-size: 30px; }
.done h3:focus { outline: none; }
.done p { color: var(--ink-2); }

.panel-head { display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; }
.embed iframe { display: block; width: 100%; border: 0; border-radius: 8px; background: var(--white); }
.embed--bookings iframe { height: 760px; }
.embed-link { margin-top: 10px; }
.pending { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px; border-radius: 8px; background: var(--teal-50); color: var(--ink-2); }

/* ---------- Footer ---------- */
.site-footer { padding: 40px 0; background: var(--white); border-top: 1px solid var(--line); color: var(--text-2); }
.site-footer__top { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.site-footer__top img { height: 46px; width: auto; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 20px; font-weight: 600; font-size: 15px; }
.site-footer__bottom { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; }

/* ---------- FAQ template page ---------- */
.page-title { padding: 48px 0; }
.page-title__inner { display: flex; flex-direction: column; gap: 12px; }
.page-title h1 { font-family: var(--font-display); font-weight: 700; font-size: 48px; line-height: 0.98; letter-spacing: -0.015em; }
.faq { display: flex; flex-direction: column; gap: 40px; }
.faq__group { display: flex; flex-direction: column; gap: 22px; }
.faq__group > h2 { font-size: 30px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.faq__item { display: flex; flex-direction: column; gap: 6px; }
.faq__item h3 { font-size: 22px; }
.faq__item p { font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.template-note { padding: 14px 16px; border-radius: var(--radius-sm); background: #fff4d6; border: 1px solid #e4c56b; color: #6b4e00; font-size: 14px; }

/* ---------- Desktop ---------- */
@media (min-width: 900px) {
  :root { --gutter: 40px; --section-pad: 96px; }
  .hide-mobile { display: initial; }

  h2 { font-size: 58px; }
  h3 { font-size: 30px; }
  .lede { font-size: 19px; }
  .intro { margin-bottom: 44px; }
  .intro--row { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 40px; }
  .intro--row > div { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }

  .site-header__inner { height: 80px; }
  .wordmark img { height: 30px; }
  .wordmark span { font-size: 25px; }
  .site-nav__link.hide-mobile { display: inline; }
  .menu.hide-mobile { display: block; }

  .hero { padding: 64px 0 72px; }
  .hero__inner { gap: 32px; }
  .hero__grid { display: grid; grid-template-columns: 540px minmax(0, 1fr); column-gap: 48px; align-items: center; }
  .hero__copy { gap: 22px; }
  .hero__copy .pill-dark { font-size: 12.5px; letter-spacing: 0.08em; border-radius: 14px; }
  .hero__title { font-size: 72px; }
  .hero__lede { font-size: 20px; }
  .hero__actions { flex-direction: row; gap: 14px; padding-top: 4px; }
  .hero__actions .button--large { min-height: 58px; padding: 0 32px; font-size: 18px; }

  .rl--compact .rl__thead, .rl--compact .rl__row { grid-template-columns: minmax(0, 1fr) 34px 54px 96px 70px 92px; gap: 0 8px; }
  .rl--compact .rl__list { padding: 12px 14px 12px; }
  .rl--compact .rl__head { padding: 14px 18px 10px; }
  .rl--compact .rl__nav { padding: 9px 18px; gap: 18px; }


  .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1200px; margin-top: 0; }
  .pillars > div { padding: 20px 26px; border-bottom: 0; border-right: 2px solid var(--ink); }
  .pillars > div:last-child { border-right: 0; }
  .pillars strong { font-size: 26px; }

  .rl { max-width: 1200px; margin-top: 0; box-shadow: 0 24px 60px rgba(15, 36, 25, 0.25); }
  .rl__nav { gap: 24px; padding: 10px 24px; }
  .rl__nav > span:not(.rl__brand):not(.rl__tag) { display: inline; }
  .rl__head { padding: 16px 24px 12px; gap: 20px; }
  .rl__h1 { font-size: 30px; }
  .rl__body { display: grid; grid-template-columns: 168px minmax(0, 1fr) 372px; }
  .rl__rail { display: flex; flex-direction: column; gap: 2px; padding: 14px 10px; border-right: 1px solid var(--p-line); }
  .rl__rail-head { font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 0 10px 6px; }
  .rl__cat { display: flex; justify-content: space-between; padding: 5px 10px; border-radius: 999px; }
  .rl__cat span:last-child { color: var(--muted); }
  .rl__cat--on { background: var(--p-accent); color: var(--white); }
  .rl__cat--on span:last-child { color: var(--white); }
  .rl__list { padding: 14px 16px 18px; }
  .rl__thead, .rl__row { display: grid; grid-template-columns: minmax(0, 1fr) 36px 58px 120px 76px 96px; gap: 0 10px; align-items: center; }
  .rl__thead { padding: 8px 12px; background: var(--grey-row); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
  .rl__row { padding: 8px 12px; row-gap: 0; }
  .rl__row:first-child { border-top: 0; }
  .rl__table > .rl__row:nth-child(2) { border-top: 1px solid var(--p-line-soft); }
  .rl__unit { display: block; font-size: 12px; color: var(--muted); }
  .rl__dots { display: flex; }
  .rl__range { display: block; }
  .rl__inspector { border-top: 0; border-left: 1px solid var(--p-line); padding: 16px 18px 18px; }
  .rl__lines { display: flex; }
  .rl__foot { flex-direction: row; justify-content: space-between; padding: 8px 24px; }
  .asks__buttons { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .asks__buttons .button { min-height: 38px; padding: 0 12px; font-size: 13.5px; }

  .problem__grid { display: grid; grid-template-columns: 560px minmax(0, 1fr); column-gap: 80px; align-items: center; }
  .problem__copy { gap: 28px; }
  .dots { font-size: 19px; gap: 12px; }
  .dots li::before { margin-top: 9px; }
  .punchline { padding: 30px 32px; }
  .punchline__big { font-size: 38px; }
  .punchline__small { font-size: 17px; }

  .pill-green, .pill-dark { font-size: 14px; }
  .benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  .benefits > div { padding-left: 28px; gap: 12px; }
  .benefits h3 { font-size: 32px; }
  .benefits p { font-size: 17px; }

  .onb { display: grid; grid-template-columns: 520px minmax(0, 1fr); column-gap: 80px; align-items: center; }
  .onb__card { padding: 26px 28px; }
  .onb__phases { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .onb__detail { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 40px; align-items: start; }
  .onb__detail .card { padding: 24px 26px; }

  .compare { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .compare > div { padding: 26px 30px; }

  .steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .steps::before { content: ""; position: absolute; left: 22px; right: 22px; top: 21px; height: 2px; background: rgba(15, 36, 25, 0.18); }
  .steps li { gap: 14px; }
  .steps h3 { font-size: 30px; }
  .steps p { font-size: 16.5px; }

  .questions__title { margin: 16px 0 48px; }
  .two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .card { padding: 36px; gap: 18px; }
  .card > p { font-size: 17px; }
  .two-col h3 { font-size: 32px; }
  .examples li { font-size: 15.5px; }
      
  .resources { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

  .data__title { font-size: 50px; margin-bottom: 28px; }
  .promises--row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .promises--row > .promise:not([hidden]):first-child ~ .promise { grid-column: auto; }


  .split { display: grid; grid-template-columns: 420px minmax(0, 1fr); column-gap: 72px; align-items: start; }
  .split__intro { gap: 20px; }

  .contact__panel { padding: 32px 40px 40px; gap: 24px; }
  .tabs { display: inline-grid; grid-template-columns: auto auto; justify-self: start; align-self: flex-start; }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .form-grid .span-2 { grid-column: span 2; }
  .form-actions { flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; }
  .form-actions .button { width: auto; flex-shrink: 0; }
  .panel-head h3 { font-size: 30px; }

  .site-footer { padding: 56px 0; }
  .site-footer__top { flex-direction: row; align-items: center; justify-content: space-between; }
  .site-footer__top img { height: 52px; }
  .site-footer__links { gap: 24px; }
  .site-footer__bottom { flex-direction: row; flex-wrap: wrap; column-gap: 32px; }
  .site-footer__bottom > span:last-child { margin-left: auto; }

  .page-title { padding: 64px 0; }
  .page-title h1 { font-size: 64px; }
  .faq { display: grid; grid-template-columns: 280px minmax(0, 1fr); column-gap: 80px; align-items: start; }
  .faq__nav { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 8px; }
  .faq__groups { display: flex; flex-direction: column; gap: 40px; }
  .faq__group > h2 { font-size: 34px; }
  .faq__item h3 { font-size: 24px; }
}
