/* SOVRA styles
   Layout: a 12-column grid. The hero shows its thirds as hairlines, and every later section
   aligns to the same columns. Three surfaces carry the page: paper, white and ink. The logo
   only ever sits on ink, as supplied. One accent, a deep workwear green, marks actions and
   the few details that matter. */

:root {
  /* Colour */
  --paper: #F1F1EE;          /* neutral ground, barely warm */
  --white: #FFFFFF;
  --ink: #101211;            /* header, footer and dark bands; the logo sits here */
  --ink-panel: #181B19;
  --text: #141614;
  --muted: #5B605C;
  --accent: #2C6A4E;         /* actions and key details */
  --accent-deep: #1F4D3A;    /* accent text on light surfaces, hover */
  --accent-light: #8FC7A8;   /* accent text on ink */
  --accent-tint: #E5EEE8;
  --err: #B42318;
  --warn: #8A5A06;

  /* Fictional client brand used inside website previews */
  --client: #13233A;

  /* Type: one family, two widths */
  --font: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;

  /* Layout */
  --gutter: clamp(20px, 4vw, 48px);
  --maxw: 1280px;
  --col-gap: 24px;
  --radius: 6px;
  --section: clamp(64px, 9vw, 128px);

  color-scheme: light;
}

/* Surfaces. Components read these tokens, so they work on any of the three. */
.s-paper { --bg: var(--paper); --fg: var(--text); --muted: #5B605C; --rule: rgba(20, 22, 20, .13); --rule-strong: rgba(20, 22, 20, .26); --panel: var(--white); --accent-fg: var(--accent-deep); color-scheme: light; }
.s-white { --bg: var(--white); --fg: var(--text); --muted: #5B605C; --rule: rgba(20, 22, 20, .12); --rule-strong: rgba(20, 22, 20, .24); --panel: var(--paper); --accent-fg: var(--accent-deep); color-scheme: light; }
.s-ink { --bg: var(--ink); --fg: #ECEDEA; --muted: #A0A5A1; --rule: rgba(255, 255, 255, .12); --rule-strong: rgba(255, 255, 255, .24); --panel: var(--ink-panel); --accent-fg: var(--accent-light); color-scheme: dark; }
.s-paper, .s-white, .s-ink { background: var(--bg); color: var(--fg); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  font-feature-settings: "ss01" on;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
p, dl, dd { margin: 0; }
p { text-wrap: pretty; }
ul, ol { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 7vw, 6.1rem); line-height: .94; letter-spacing: -.045em; font-stretch: 82%; }
h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); line-height: 1.02; letter-spacing: -.035em; font-stretch: 88%; }
h3 { font-size: 1.3rem; line-height: 1.2; letter-spacing: -.015em; }
:focus-visible { outline: 2px solid var(--accent-fg, var(--accent)); outline-offset: 2px; border-radius: 2px; }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
main section, .svc { scroll-margin-top: 64px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 14px; border-radius: var(--radius); background: var(--white); color: var(--text); font-weight: 600; }
.skip:focus { left: 16px; }
.ic { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.muted { color: var(--muted); }
.small { font-size: .8125rem; }

/* Labels: sentence case, small, with a short leading rule */
.label { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: .8125rem; font-weight: 500; color: var(--muted); }
.label::before { content: ""; flex: none; width: 16px; height: 1px; background: currentColor; }
.head-copy { max-width: 46ch; font-size: 1.0625rem; color: var(--muted); }
.num { display: inline-grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--white); font-size: .75rem; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1; }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 20px; border: 1px solid transparent; border-radius: var(--radius); font-size: .9375rem; font-weight: 600; letter-spacing: -.005em; white-space: nowrap; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-deep); }
.s-ink .btn-primary:hover { background: #357D5C; }
.btn-quiet { border-color: var(--rule-strong); background: transparent; color: var(--fg); }
.btn-quiet:hover { border-color: var(--fg); }
.btn-sm { height: 38px; padding: 0 14px; font-size: .875rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; text-decoration-color: var(--rule-strong); transition: text-decoration-color .15s; }
.link-arrow:hover { text-decoration-color: currentColor; }
.link-arrow .ic { transition: transform .15s; }
.link-arrow:hover .ic { transform: translateX(2px); }
.inline-link { font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; border-bottom: 1px solid var(--rule); }
.bar { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 12px; width: max-content; line-height: 0; }
.wordmark { font-size: 1.0625rem; font-weight: 600; line-height: 1; letter-spacing: .18em; color: var(--fg); }
.footer .wordmark { font-size: 1.375rem; }
.contact-email { margin-top: 24px; color: var(--muted); }
.contact-email a, .footer-email a { color: var(--fg); font-weight: 600; text-decoration: underline; text-underline-offset: .25em; text-decoration-color: var(--rule-strong); }
.contact-email a:hover, .footer-email a:hover { text-decoration-color: currentColor; }
.footer-brand .footer-email { margin-top: 12px; }
.form { position: relative; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bar .brand { margin-right: auto; }
.logo { display: block; height: 28px; width: auto; aspect-ratio: 617 / 316; mix-blend-mode: screen; }
.logo-lg { height: 44px; }
.nav { display: none; }
.nav ul { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav a { display: block; padding: 8px 12px; font-size: .875rem; font-weight: 500; color: var(--muted); transition: color .15s; }
.nav a:hover, .nav a[aria-current="true"] { color: var(--fg); }
.header-cta { display: none; margin-left: 12px; }
.menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--rule-strong); border-radius: var(--radius); background: none; cursor: pointer; }
.menu-lines { position: relative; display: block; width: 18px; height: 12px; }
.menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--fg); transition: transform .2s, top .2s, bottom .2s; }
.menu-lines::before { top: 2px; }
.menu-lines::after { bottom: 2px; }
.menu-btn[aria-expanded="true"] .menu-lines::before { top: 5.25px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-lines::after { bottom: 5.25px; transform: rotate(-45deg); }
.mobile-menu { position: absolute; left: 0; right: 0; top: 100%; padding-block: 8px 24px; background: var(--bg); border-bottom: 1px solid var(--rule); }
.mobile-menu ul { margin: 0 0 20px; padding: 0; list-style: none; }
.mobile-menu li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 1.25rem; font-weight: 500; letter-spacing: -.01em; }
@media (min-width: 960px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-btn, .mobile-menu { display: none !important; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(40px, 6vw, 80px); }
.hero-lines { display: none; position: absolute; top: 0; bottom: 0; left: 0; right: 0; margin-inline: auto; pointer-events: none; }
.hero-lines > div { display: grid; grid-template-columns: repeat(3, 1fr); height: 100%; }
.hero-lines i { border-left: 1px solid var(--rule); }
.hero-lines i:last-child { border-right: 1px solid var(--rule); }
.hero > .wrap:not(.hero-lines) { position: relative; }
.hero-layout { display: grid; gap: 24px; }
.hero-label { margin-bottom: 0; }
.hero-lede { max-width: 34ch; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); line-height: 1.55; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.tagline { flex-basis: 100%; padding-top: 16px; border-top: 1px solid var(--rule); font-size: .8125rem; color: var(--muted); }
.hero-figure { margin: 16px 0 0; display: grid; justify-items: center; gap: 14px; }
.hero-figure figcaption { font-size: .75rem; color: var(--muted); text-align: center; }
.hero-index { display: grid; margin: clamp(40px, 6vw, 72px) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.hero-index li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.hi-name { margin-bottom: 2px; font-weight: 600; }
.hero-index p:not(.hi-name) { max-width: 36ch; font-size: .9375rem; color: var(--muted); }
@media (min-width: 1024px) {
  .hero-lines { display: block; }
  .hero-layout { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .hero-label { grid-column: 1 / 3; grid-row: 1; padding-right: 32px; }
  .hero-layout h1 { grid-column: 1 / 3; grid-row: 2; padding-right: 32px; margin-top: 24px; }
  .hero-lede { grid-column: 1; grid-row: 3; padding-right: 32px; margin-top: 40px; }
  .hero-actions { grid-column: 2; grid-row: 3; align-self: start; margin-top: 40px; padding-inline: 32px; }
  .hero-figure { grid-column: 3; grid-row: 1 / 4; margin: 0; padding-left: 32px; align-self: start; }
  .hero-index { grid-template-columns: repeat(3, 1fr); border-bottom: 0; }
  .hero-index li { padding: 24px 32px 32px; border-bottom: 0; }
  .hero-index li:first-child { padding-left: 0; }
}

/* Phone preview (shared by hero and Revenue Websites). Sized in em so it scales with its width. */
.phone { container-type: inline-size; width: min(100%, 280px); aspect-ratio: 9 / 18.6; padding: 8px; border-radius: 38px; background: #121413; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 28px 50px -30px rgba(16, 18, 17, .5); }
.phone-screen { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 30px; background: var(--white); color: var(--text); font-size: 4.4cqi; line-height: 1.35; }
.phone-screen p { text-wrap: balance; }
.ps-status { display: flex; justify-content: space-between; align-items: center; padding: 1em 1.8em .35em; font-size: .8em; font-weight: 600; }
.ps-batt { width: 1.9em; height: .9em; border: 1px solid currentColor; border-radius: .25em; }
.ps-nav { display: flex; justify-content: space-between; align-items: center; padding: .55em 1.3em .8em; border-bottom: 1px solid #E7E7E3; }
.ps-nav b { font-size: 1.15em; letter-spacing: -.02em; }
.ps-call { padding: .25em .75em; border: 1px solid #CFD0CB; border-radius: .4em; font-size: .85em; font-weight: 600; }
.ps-hero { padding: 1.3em 1.3em 1.4em; background: var(--client); color: var(--white); }
.ps-kicker { margin-bottom: .5em; font-size: .78em; opacity: .75; }
.ps-h { margin-bottom: .5em; font-size: 1.5em; line-height: 1.1; font-weight: 700; letter-spacing: -.025em; }
.ps-p { margin-bottom: 1em; font-size: .85em; opacity: .8; }
.ps-btn { display: flex; align-items: center; justify-content: center; height: 3.2em; border-radius: .45em; background: var(--white); color: var(--client); font-size: .95em; font-weight: 700; }
.ps-link { display: block; margin-top: .7em; font-size: .8em; text-align: center; text-decoration: underline; opacity: .8; }
.ps-reviews { padding: 1.1em 1.3em; }
.ps-sec { display: flex; justify-content: space-between; margin-bottom: .7em; font-size: .9em; }
.ps-sec span { color: var(--muted); }
.ps-review { display: grid; gap: .35em; margin-bottom: .5em; padding: .8em; border: 1px solid #E5E5E1; border-radius: .5em; }
.ln { display: block; height: .45em; border-radius: .25em; background: #E3E4E0; }
.ln.short { width: 55%; }
.ln.mid { width: 75%; }
.ps-reply { margin-top: .15em; font-size: .72em; font-weight: 600; color: var(--accent-deep); }
.ps-chat { position: absolute; right: 1em; bottom: 1em; display: flex; align-items: center; gap: .5em; }
.ps-bubble { padding: .5em .75em; border: 1px solid #DCDDD8; border-radius: .7em; background: var(--white); font-size: .78em; box-shadow: 0 .4em 1em rgba(0, 0, 0, .08); }
.ps-fab { position: relative; width: 2.8em; height: 2.8em; border-radius: 50%; background: var(--client); }
.ps-fab::after { content: ""; position: absolute; inset: .85em .75em 1em; border: .14em solid var(--white); border-radius: .3em; }
.ps-list { display: grid; padding: .4em 1.3em; }
.ps-list span { padding: .8em 0; border-bottom: 1px solid #E7E7E3; font-size: .9em; font-weight: 600; }
.ps-sticky { display: grid; grid-template-columns: 1fr 1.4fr; gap: .5em; margin-top: auto; padding: .8em; border-top: 1px solid #E7E7E3; background: var(--white); }
.ps-sticky span { display: flex; align-items: center; justify-content: center; height: 2.9em; border: 1px solid var(--client); border-radius: .45em; color: var(--client); font-size: .85em; font-weight: 700; }
.ps-sticky .on { background: var(--client); color: var(--white); }
.mk-host { position: relative; }
.ps-chat.mk-host { position: absolute; }
.hero .ps-list { padding-top: 0; }
.hero .ps-list span { font-weight: 500; }
.marker { position: absolute; z-index: 2; display: grid; place-items: center; width: 1.75em; height: 1.75em; border-radius: 50%; background: var(--accent); color: var(--white); font-size: .8em; font-style: normal; font-weight: 700; box-shadow: 0 0 0 .22em var(--white); }
.ps-btn .marker { left: -.5em; top: -.6em; }
.ps-reviews .marker { right: .7em; top: .55em; }
.ps-reviews .ps-sec { padding-right: 2.2em; }
.ps-chat .marker { left: -.9em; top: -.9em; }

/* ---------- Problem ---------- */
.margin-grid { display: grid; }
.margin-body h2 { max-width: 17ch; margin-bottom: clamp(32px, 4vw, 48px); }
.rows { border-top: 1px solid var(--rule-strong); }
.row { display: grid; gap: 6px; padding: 24px 0 26px; border-bottom: 1px solid var(--rule); }
.row-meta { padding-top: 3px; font-size: .875rem; color: var(--muted); }
.row h3 { margin-bottom: 8px; }
.row p:not(.row-meta) { max-width: 58ch; color: var(--muted); }
.bridge { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 24px; margin-top: 36px; font-size: clamp(1.2rem, 1.9vw, 1.45rem); font-weight: 500; line-height: 1.35; letter-spacing: -.015em; }
.bridge .link-arrow { font-size: 1rem; }
@media (min-width: 720px) { .row { grid-template-columns: 200px 1fr; gap: 32px; } }
@media (min-width: 960px) {
  .margin-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
  .margin-note { grid-column: 1 / span 3; align-self: start; margin-top: .9rem; }
  .margin-body { grid-column: 4 / span 8; }
}

/* ---------- Services ---------- */
.services-intro { padding-block: var(--section) clamp(28px, 4vw, 48px); }
.services-head { display: grid; gap: 28px; }
.services-head h2 { max-width: 15ch; }
.services-aside > p { max-width: 44ch; font-size: 1.0625rem; color: var(--muted); }
.toc { margin: 24px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rule-strong); }
.toc a { display: flex; align-items: baseline; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-weight: 600; transition: color .15s; }
.toc a span { font-size: .8125rem; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.toc a:hover { color: var(--accent-fg); }
@media (min-width: 960px) { .services-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: end; } }

.svc { padding-block: clamp(40px, 6vw, 72px) clamp(64px, 9vw, 120px); }
.svc-head { display: grid; gap: 10px; margin-bottom: clamp(32px, 5vw, 56px); padding-top: 20px; border-top: 1px solid var(--fg); }
.svc-num { font-size: .9375rem; font-weight: 600; color: var(--accent-fg); font-variant-numeric: tabular-nums; }
.svc-name { font-size: clamp(2.2rem, 4.2vw, 3.6rem); line-height: .98; letter-spacing: -.045em; font-stretch: 80%; }
.svc-line { max-width: 26ch; font-size: clamp(1.125rem, 1.7vw, 1.375rem); line-height: 1.3; font-weight: 500; letter-spacing: -.01em; color: var(--muted); }
.svc-body { display: grid; gap: 40px; }
.svc-text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; min-width: 0; }
.svc-desc { max-width: 44ch; font-size: 1.0625rem; }
.mini-h { margin-bottom: -8px; font-size: .8125rem; font-weight: 600; letter-spacing: 0; }
.incl { width: 100%; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.incl li { padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: .9375rem; line-height: 1.45; }
.svc-value p { max-width: 44ch; margin-top: 8px; color: var(--muted); }
.svc-note { max-width: 44ch; font-size: .8125rem; color: var(--muted); }
.svc-demo { min-width: 0; }
.demo-cap { margin-top: 12px; font-size: .8125rem; color: var(--muted); }
@media (min-width: 960px) {
  .svc-head { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: baseline; }
  .svc-num { grid-column: 1; }
  .svc-name { grid-column: 2 / span 6; }
  .svc-line { grid-column: 8 / span 5; }
  .svc-body { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: start; }
  .svc-text { grid-column: 2 / span 4; }
  .svc-demo { grid-column: 7 / span 6; position: sticky; top: 96px; }
  .svc-flip .svc-text { grid-column: 9 / span 4; }
  .svc-flip .svc-demo { grid-column: 1 / span 7; grid-row: 1; }
}

/* 01 Review ledger */
.panel { overflow: hidden; background: var(--panel); border: 1px solid var(--rule-strong); border-radius: 8px; box-shadow: 0 20px 40px -34px rgba(16, 18, 17, .4); }
.panel-bar { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--rule); font-size: .875rem; }
.ledger { width: 100%; border-collapse: collapse; font-size: .875rem; }
.ledger th { padding: 10px 20px; border-bottom: 1px solid var(--rule); font-size: .75rem; font-weight: 500; text-align: left; color: var(--muted); }
.ledger td { padding: 12px 20px; border-bottom: 1px solid var(--rule); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ledger tr.is-active td { background: var(--accent-tint); }
.st { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.st::before { content: ""; flex: none; width: 7px; height: 7px; border: 1px solid var(--rule-strong); border-radius: 50%; }
.st-attn { color: var(--fg); font-weight: 600; }
.st-attn::before { background: var(--accent); border-color: var(--accent); }
.st-ok::before { background: var(--muted); border-color: var(--muted); }
.reply { display: grid; gap: 14px; padding: 18px 20px 20px; }
.reply-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-size: .875rem; }
.reply-status { font-weight: 600; color: var(--accent-fg); }
.reply-body { padding: 14px 16px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--bg); font-size: .9375rem; line-height: 1.55; }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 0; padding: 0; list-style: none; }
.flow li { padding-top: 8px; border-top: 2px solid var(--rule); font-size: .75rem; color: var(--muted); transition: border-color .2s, color .2s; }
.flow li.done { border-color: var(--fg); color: var(--fg); }
.flow li.current { border-color: var(--accent); color: var(--fg); font-weight: 600; }
.reply-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
@media (max-width: 560px) {
  .hide-sm { display: none; }
  .ledger th, .ledger td { padding-inline: 12px; white-space: normal; }
  .ledger td:first-child { min-width: 7.5em; }
  .panel-bar, .reply { padding-inline: 14px; }
}

/* 02 Website preview */
.site-stage { position: relative; padding: 0 112px 72px 0; }
.browser { container: site / inline-size; overflow: hidden; background: var(--white); color: var(--text); border: 1px solid var(--rule-strong); border-radius: 8px; box-shadow: 0 24px 48px -36px rgba(16, 18, 17, .45); }
.browser-bar { display: flex; align-items: center; gap: 12px; height: 32px; padding: 0 12px; background: #F2F2EF; border-bottom: 1px solid #E4E4E0; }
.dots { display: flex; gap: 5px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: #D3D4CF; }
.url { flex: 1; max-width: 260px; height: 20px; padding: 0 10px; overflow: hidden; border: 1px solid #E4E4E0; border-radius: 4px; background: var(--white); font-size: 11px; line-height: 18px; color: #6A6E6A; white-space: nowrap; text-overflow: ellipsis; }
.site { font-size: 12px; line-height: 1.45; }
.site-util { display: flex; justify-content: space-between; gap: 12px; padding: 6px 18px; background: var(--client); color: #DCE3EC; font-size: 10.5px; }
.site-util-call { font-weight: 600; color: var(--white); }
.site-nav { display: flex; align-items: center; gap: 18px; padding: 12px 18px; border-bottom: 1px solid #EAEAE6; }
.site-logo { font-size: 15px; letter-spacing: -.02em; }
.site-links { display: flex; gap: 16px; margin-left: auto; font-size: 11.5px; color: #4D514D; }
.site-btn { display: inline-flex; align-items: center; justify-content: center; height: 34px; padding: 0 14px; border-radius: 4px; background: var(--client); color: var(--white); font-size: 12px; font-weight: 600; white-space: nowrap; }
.site-btn-sm { height: 28px; padding: 0 11px; font-size: 11px; }
.site-btn-block { width: 100%; margin-top: 2px; }
.site-ghost { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border: 1px solid var(--client); border-radius: 4px; color: var(--client); font-size: 12px; font-weight: 600; }
.site-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; padding: 26px 18px 24px; background: #F5F5F2; }
.site-h { max-width: 12ch; margin-bottom: 10px; font-size: 27px; line-height: 1.05; font-weight: 700; letter-spacing: -.035em; }
.site-p { max-width: 34ch; margin-bottom: 16px; color: #4D514D; }
.site-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.site-form { display: grid; align-content: start; gap: 7px; padding: 14px; background: var(--white); border: 1px solid #E1E1DD; border-radius: 6px; }
.sf-h { margin-bottom: 2px; font-size: 13px; font-weight: 700; }
.sf-field { display: block; height: 28px; padding: 0 9px; border: 1px solid #D9DAD5; border-radius: 4px; font-size: 11px; line-height: 26px; color: #7A7E7A; }
.sf-select { position: relative; }
.sf-select::after { content: ""; position: absolute; right: 10px; top: 9px; width: 5px; height: 5px; border-right: 1px solid #7A7E7A; border-bottom: 1px solid #7A7E7A; transform: rotate(45deg); }
.site-services { display: grid; grid-template-columns: repeat(4, 1fr); }
.site-services span { padding: 12px 18px; border-right: 1px solid #EAEAE6; font-size: 11.5px; font-weight: 600; }
.site-services span:last-child { border-right: 0; }
@container site (max-width: 520px) {
  .site-links, .site-util span:first-child { display: none; }
  .site-hero { grid-template-columns: 1fr; }
  .site-services { grid-template-columns: 1fr 1fr; }
}
.site-stage .phone-sm { position: absolute; right: 0; bottom: 0; width: 150px; }
@media (max-width: 640px) {
  .site-stage { padding: 0; }
  .site-stage .browser { display: none; }
  .site-stage .phone-sm { position: static; width: min(100%, 250px); margin-inline: auto; }
}

/* 03 Conversation */
.convo { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--rule-strong); border-radius: 8px; }
.convo-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--rule); }
.convo-title { font-size: .9375rem; font-weight: 600; }
.convo-sub { max-width: 40ch; font-size: .8125rem; color: var(--muted); }
.convo-log { display: flex; flex-direction: column; gap: 16px; min-height: 300px; max-height: 440px; padding: 20px; overflow-y: auto; }
.msg { max-width: 84%; font-size: .9375rem; line-height: 1.5; }
.msg.in { align-self: flex-end; padding: 10px 14px; border-radius: 10px 10px 2px 10px; background: #E9EAE6; color: var(--text); }
.msg.out { align-self: flex-start; padding-left: 14px; border-left: 2px solid var(--accent-fg); }
.msg-who { margin-bottom: 2px; font-size: .75rem; font-weight: 600; color: var(--muted); }
.msg-src { margin-top: 6px; font-size: .75rem; color: var(--accent-fg); }
.convo-status { align-self: stretch; display: grid; gap: 4px; padding: 12px 14px; border: 1px solid var(--rule-strong); border-radius: var(--radius); font-size: .875rem; }
.convo-status p:first-child { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.convo-status p:first-child::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-fg); }
.convo-status p + p { color: var(--muted); font-size: .8125rem; }
.convo-suggest { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 20px; border-top: 1px solid var(--rule); }
.convo-suggest button { height: 36px; padding: 0 14px; border: 1px solid var(--rule-strong); border-radius: var(--radius); background: transparent; color: var(--fg); font-size: .875rem; font-weight: 500; cursor: pointer; transition: border-color .15s, background-color .15s; }
.convo-suggest button:hover { border-color: var(--fg); }
.convo-suggest button.primary { background: var(--accent); border-color: var(--accent); color: var(--white); font-weight: 600; }
.convo-suggest button.primary:hover { background: #357D5C; }
.typing { display: inline-flex; gap: 4px; padding: 6px 0; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
@media (max-width: 560px) { .convo-log, .convo-head, .convo-suggest { padding-inline: 14px; } .msg { max-width: 92%; } }

/* ---------- Journey ---------- */
.head-split { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); }
.head-split h2 { max-width: 16ch; }
.flowline { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--fg); }
.flowline li { position: relative; padding: 24px 0 28px; border-bottom: 1px solid var(--rule); }
.flowline li::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--fg); }
.fl-step { margin-bottom: 10px; font-size: .8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.flowline h3 { margin-bottom: 10px; }
.flowline p:not(.fl-step):not(.fl-svc) { max-width: 34ch; color: var(--muted); }
.fl-svc { margin-top: 16px; font-size: .875rem; font-weight: 600; color: var(--accent-fg); }
.fl-plain { color: var(--muted); font-weight: 500; }
.journey-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: clamp(36px, 5vw, 56px); }
.journey-foot p { max-width: 40ch; color: var(--muted); }
@media (min-width: 900px) {
  .flowline { grid-template-columns: repeat(4, 1fr); }
  .flowline li { padding: 24px 28px 0; border-bottom: 0; border-left: 1px solid var(--rule); }
  .flowline li:first-child { padding-left: 0; border-left: 0; }
  .flowline li + li::before { left: -4px; }
}
@media (min-width: 960px) { .head-split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: end; } }

/* ---------- Split layout (Why, FAQ) ---------- */
.split { display: grid; gap: 40px; }
.split-head { display: grid; justify-items: start; align-content: start; gap: 0; }
.split-head h2 { max-width: 14ch; }
.split-head .head-copy { margin-top: 20px; }
.split-head .link-arrow { margin-top: 20px; }
@media (min-width: 960px) {
  .split { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
  .split-head { grid-column: 1 / span 4; position: sticky; top: 104px; align-self: start; }
  .split > :last-child { grid-column: 6 / span 7; }
}
.why-grid { display: grid; }
.why-grid > div { padding: 22px 0 30px; border-top: 1px solid var(--rule-strong); }
.why-grid dt { margin-bottom: 10px; font-size: 1.25rem; font-weight: 600; line-height: 1.25; letter-spacing: -.015em; }
.why-grid dd { max-width: 38ch; color: var(--muted); }
@media (min-width: 700px) { .why-grid { grid-template-columns: 1fr 1fr; column-gap: 40px; } }

/* ---------- Process ---------- */
.process-head { margin-bottom: clamp(36px, 5vw, 64px); }
.process-head h2 { max-width: 16ch; }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule-strong); }
.process-list li { display: grid; gap: 8px 24px; padding: 26px 0 30px; border-bottom: 1px solid var(--rule); }
.pl-n { font-size: clamp(2.4rem, 5vw, 4rem); line-height: .9; font-weight: 500; letter-spacing: -.04em; font-stretch: 80%; color: var(--accent-fg); font-variant-numeric: tabular-nums; }
.process-list h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.process-list p { max-width: 52ch; color: var(--muted); }
.process-note { margin-top: 28px; font-size: .875rem; color: var(--muted); }
@media (min-width: 800px) {
  .process-list li { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: baseline; }
  .pl-n { grid-column: 1 / span 2; }
  .process-list h3 { grid-column: 3 / span 3; }
  .process-list p { grid-column: 6 / span 6; }
}

/* ---------- Example ---------- */
.example-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.example-head h2 { max-width: 16ch; }
.flag { max-width: 60ch; margin-top: 20px; color: var(--muted); }
.flag strong { color: var(--fg); font-weight: 600; }
.compare { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 20px 28px 22px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.compare thead th { padding-bottom: 12px; border-bottom: 1px solid var(--fg); font-size: .875rem; font-weight: 600; }
.compare thead .c-after { color: var(--accent-fg); }
.compare tbody th { width: 16%; font-weight: 600; }
.compare td { width: 42%; line-height: 1.5; }
.compare td .ic { margin: .2em 10px 0 0; vertical-align: -.2em; }
.compare td.c-before { color: var(--muted); }
.compare td.c-before .ic { color: var(--muted); }
.compare td.c-after .ic { color: var(--accent); }
@media (max-width: 719px) {
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare tr { padding: 18px 0 8px; border-bottom: 1px solid var(--rule-strong); }
  .compare tbody th { padding: 0 0 8px; border: 0; }
  .compare td { padding: 8px 0; border: 0; }
  .compare td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: .75rem; font-weight: 600; color: var(--muted); }
  .compare td.c-after::before { color: var(--accent-fg); }
}

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--rule-strong); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item h3 { margin: 0; font: inherit; letter-spacing: 0; }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; padding: 20px 0; border: 0; background: none; color: var(--fg); font-size: 1.0625rem; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; text-align: left; cursor: pointer; }
.faq-q:hover { color: var(--accent-fg); }
.faq-icon { position: relative; flex: none; width: 14px; height: 14px; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: currentColor; transition: transform .2s; }
.faq-icon::before { left: 0; right: 0; top: 50%; height: 1.5px; transform: translateY(-50%); }
.faq-icon::after { top: 0; bottom: 0; left: 50%; width: 1.5px; transform: translateX(-50%); }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: translateX(-50%) scaleY(0); }
.faq-a { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .25s ease, visibility 0s .25s; }
.faq-a > div { min-height: 0; overflow: hidden; }
.faq-a p { max-width: 62ch; padding: 0 40px 22px 0; color: var(--muted); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .25s ease, visibility 0s; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 48px; }
.contact-copy h2 { max-width: 13ch; }
.contact-copy .head-copy { margin-top: 20px; }
.next-steps { margin: 32px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.next-steps li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.next-steps p { max-width: 40ch; }
.form-card { padding: clamp(22px, 3.4vw, 40px); border-radius: 8px; }
.form { display: grid; gap: 20px; }
.form-help { font-size: .8125rem; color: var(--muted); }
.field { display: grid; gap: 8px; min-width: 0; }
.field-row { display: grid; gap: 20px; }
label { font-size: .875rem; font-weight: 600; }
.req { color: var(--accent-fg); }
.opt { margin-left: 4px; font-size: .8125rem; font-weight: 400; color: var(--muted); }
input, select, textarea { width: 100%; padding: 0 14px; border: 1px solid var(--rule-strong); border-radius: var(--radius); background: var(--white); color: var(--fg); font: inherit; font-size: 1rem; transition: border-color .15s, box-shadow .15s; }
input, select { height: 48px; }
textarea { min-height: 112px; padding-block: 12px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #8A8F8B; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
[aria-invalid="true"] { border-color: var(--err); }
.err { font-size: .8125rem; line-height: 1.4; color: var(--err); }
.select-wrap { position: relative; }
select { padding-right: 44px; appearance: none; -webkit-appearance: none; cursor: pointer; }
.select-wrap::after { content: ""; position: absolute; right: 18px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid var(--fg); border-bottom: 1.5px solid var(--fg); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.spinner { display: none; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn[aria-busy="true"] { pointer-events: none; opacity: .85; }
.btn[aria-busy="true"] .spinner { display: inline-block; }
.form-status { padding: 14px 16px; border: 1px solid var(--rule-strong); border-radius: var(--radius); font-size: .875rem; line-height: 1.5; }
.form-status strong { display: block; margin-bottom: 2px; }
.form-status[data-state="warn"] { border-color: var(--warn); background: #FBF4E6; }
.form-status[data-state="error"] { border-color: var(--err); background: #FCEFEE; }
.form-status code { font-size: .9em; }
.form-success { display: grid; justify-items: start; gap: 12px; padding: 8px 0; }
.form-success h3 { font-size: 1.5rem; }
.form-success p { max-width: 44ch; color: var(--muted); }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) {
  .contact-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
  .contact-copy { grid-column: 1 / span 5; position: sticky; top: 104px; align-self: start; }
  .form-card { grid-column: 7 / span 6; }
}

/* ---------- Footer ---------- */
.footer { padding-block: clamp(48px, 7vw, 80px) 28px; border-top: 1px solid var(--rule); }
.footer-top { display: grid; gap: 36px; }
.footer-brand p { max-width: 40ch; margin-top: 18px; color: var(--muted); }
.footer-h { margin-bottom: 14px; font-size: .8125rem; color: var(--muted); }
.footer-col ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: .25em; }
.footer-line { margin-top: clamp(40px, 6vw, 72px); font-size: clamp(1.5rem, 3.4vw, 2.6rem); font-weight: 600; line-height: 1.1; letter-spacing: -.035em; font-stretch: 85%; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 16px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: .8125rem; color: var(--muted); }
.privacy-btn { padding: 0; border: 0; background: none; color: var(--muted); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.privacy-btn:hover { color: var(--fg); }
.privacy-note { margin-top: 16px; padding: 14px 16px; border: 1px dashed var(--rule-strong); border-radius: var(--radius); font-size: .8125rem; color: var(--muted); }
.privacy-note code { color: var(--fg); }
@media (min-width: 800px) { .footer-top { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); } .footer-brand { grid-column: 1 / span 5; } .footer-col:nth-of-type(1) { grid-column: 7 / span 3; } .footer-col:nth-of-type(2) { grid-column: 10 / span 3; } }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
