/* VELM design system — editorial assay office.
   Warm paper ledger, hairline rules, Fraunces display voice, mono specimen labels.
   Palette tokens are Medvi's; do not change the hex values. */
:root {
  --bg: #faf9f7;
  --paper: #ffffff;
  --ink: #242220;
  --ink-2: #4a4646;
  --muted: #a58979;
  --taupe-deep: #6b5c4f; /* derived: taupe darkened for small-text contrast */
  --line: #dddddd;
  --field: #f4f1ec;
  --accent: #eb8771;
  --accent-deep: #d96a52;
  --accent-wash: #fbe9e4;
  --req: #c0392b;
  --green: #242220;
  --green-line: #3a3334;
  --cream: #c6a673;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --tight: "Inter Tight", "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --serif: "Fraunces", Georgia, serif;

  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-6: 24px; --sp-8: 32px; --sp-12: 48px; --sp-16: 64px;
  --sp-24: 96px; --sp-32: 128px;
  --radius: 4px;
  --ease-out: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; }
strong { font-weight: 600; color: var(--ink); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.center { text-align: center; }

/* ---------- Type voices ---------- */
.v-display {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
.v-display-sm { font-size: clamp(40px, 6vw, 80px); }
.v-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0 0 var(--sp-6);
  text-wrap: balance;
}
.v-title-center { text-align: center; }
.v-title-light { color: var(--bg); }
.v-sub {
  max-width: 62ch;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 var(--sp-12);
}
.v-sub-light { color: #d8d2cc; }
.v-sub-light strong { color: #fff; }

/* Mono specimen labels */
.k-label, .k-tag {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--taupe-deep);
  margin: 0 0 var(--sp-6);
  display: flex;
  align-items: center;
  gap: 10px;
}
.k-label i, .k-tag i {
  width: 8px; height: 8px; flex: none;
  background: var(--accent);
}
.k-label-center { justify-content: center; text-align: center; }
.k-label-light { color: #b9b2ac; }
.k-tag { margin: 0 0 var(--sp-4); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  border: 0; border-radius: 0; cursor: pointer;
  font: 500 18px/1 var(--sans); text-decoration: none;
  transition: background .18s var(--ease-out), transform .18s var(--ease-out), border-color .18s;
}
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #38322f; }
.btn-dark:active { transform: translateY(1px); }
.btn-dark:disabled { background: #4a4442; cursor: default; transform: none; }
.btn-nav { padding: 12px 20px; font-size: 15px; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-left { display: flex; align-items: center; gap: 28px; min-width: 0; }
.btn-line {
  padding: 16px 26px; font-size: 16px;
  background: transparent; color: var(--ink); border: 1px solid var(--ink);
}
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-lg { padding: 24px 40px; font-size: 20px; }
.btn-block { width: 100%; padding: 20px; font-size: 18px; }
.btn-hero { padding: 18px 30px; font-size: 17px; }
.arrow { font-size: .9em; }

/* ---------- Promo banner ---------- */
.promo {
  position: relative;
  background: var(--ink);
  padding: 11px 56px 11px;
  text-align: center;
  border-bottom: 1px solid #000;
}
.promo[hidden] { display: none; }
.promo-link {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--serif); font-size: clamp(15px, 1.6vw, 19px);
  color: #f4efe8; text-decoration: none;
}
.promo-link:hover { color: var(--accent); }
.promo-arrow { font-family: var(--sans); font-size: 1em; transition: transform .18s var(--ease-out); }
.promo-link:hover .promo-arrow { transform: translateX(4px); }
.promo-close {
  position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; padding: 0; border: 0; background: none; cursor: pointer;
  font: 300 26px/1 var(--sans); color: #f4efe8; opacity: .6;
}
.promo-close:hover { opacity: 1; }
.promo-close:focus-visible, .promo-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 640px) {
  .promo { padding: 10px 48px 10px 16px; }
  .promo-close { right: 8px; }
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 249, 247, .94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1320px; margin: 0 auto; padding: 14px 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo-text {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.06em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logo-text::before {
  content: "";
  width: 11px; height: 11px;
  background: var(--accent);
  flex: none;
}
.logo-sm .logo-text { font-size: 20px; }
.logo-sm .logo-text::before { width: 9px; height: 9px; }

/* ---------- Sections ---------- */
.v-section {
  max-width: 1320px;
  margin: 0 auto;
  padding: var(--sp-32) 32px 0;
}
.v-section:last-of-type { padding-bottom: var(--sp-32); }

/* ---------- Estimator (vest) ---------- */
.estimate { padding: 64px 24px 110px; }
.estimate-top { padding-top: 56px; }
.vest {
  max-width: 720px; margin: var(--sp-12) auto 0;
  background: var(--ink); color: #fff;
  border-radius: 20px; padding: 44px 40px 40px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(36, 34, 32, .18);
}
.vest__heading {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(26px, 3vw, 34px); letter-spacing: -.02em;
  margin: 0 0 26px; color: #fff;
}
.vest__split { display: flex; align-items: baseline; justify-content: center; gap: 18px; }
.vest__value { display: flex; flex-direction: column; gap: 8px; }
.vest__value small {
  font: 500 12px/1 var(--mono); text-transform: uppercase;
  letter-spacing: .14em; color: #b9b2ac;
}
.vest__value b {
  font-family: var(--tight); font-weight: 700;
  font-size: clamp(40px, 5vw, 56px); line-height: 1; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums; color: #fff;
}
.vest__to {
  font: 500 12px/1 var(--mono); text-transform: uppercase;
  letter-spacing: .14em; color: #b9b2ac;
}
.vmeter {
  height: 8px; border-radius: 99px; background: rgba(255,255,255,.16);
  margin: 26px 0 0; overflow: hidden;
}
.vmeter i {
  display: block; height: 100%; width: var(--p, 40%);
  background: #fff; border-radius: 99px;
  transition: width .25s var(--ease-out);
}
.vest__hl {
  display: flex; justify-content: space-between;
  font: 500 11px/1 var(--mono); text-transform: uppercase;
  letter-spacing: .14em; color: #8f8880; margin-top: 8px;
}
.vest__emp {
  font-family: var(--serif); font-size: 20px; color: #fff;
  margin: 26px 0 14px;
}
.vslide {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; border-radius: 99px; background: transparent;
  cursor: pointer; margin: 0;
}
.vslide::-webkit-slider-runnable-track {
  height: 6px; border-radius: 99px;
  background: linear-gradient(to right, var(--accent) var(--p, 25%), rgba(255,255,255,.22) var(--p, 25%));
}
.vslide::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 26px; height: 26px; border-radius: 50%;
  background: #fff; border: 6px solid var(--accent);
  margin-top: -10px; box-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.vslide::-moz-range-track {
  height: 6px; border-radius: 99px; background: rgba(255,255,255,.22);
}
.vslide::-moz-range-progress { height: 6px; border-radius: 99px; background: var(--accent); }
.vslide::-moz-range-thumb {
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 6px solid var(--accent);
  box-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.vlbl {
  display: flex; justify-content: space-between;
  font-size: 13px; color: #b9b2ac; font-variant-numeric: tabular-nums;
  margin-top: 10px; padding: 0 2px;
}
.vyears { margin-top: 28px; }
.vyears > span { display: block; font-size: 15px; color: #cfc9c2; margin-bottom: 14px; }
.vyears button {
  font: inherit; font-size: 15px; color: #fff;
  background: transparent; border: 1px solid rgba(255,255,255,.28);
  border-radius: 99px; padding: 10px 20px; margin: 4px;
  cursor: pointer; transition: background .15s, border-color .15s;
}
.vyears button:hover { border-color: #fff; }
.vyears button.on { background: #fff; border-color: #fff; color: var(--ink); font-weight: 600; }
.vest-disclaimer {
  max-width: 640px; margin: 22px auto 0; text-align: center;
  font-size: 14px; color: var(--taupe-deep); line-height: 1.6;
}
.vhero-actions {
  display: flex; gap: 26px; justify-content: center; align-items: center;
  margin-top: 26px; flex-wrap: wrap;
}
.vcta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff; text-decoration: none; font-weight: 600;
  padding: 16px 30px; border-radius: 99px; font-size: 17px;
  transition: transform .15s var(--ease-out), box-shadow .15s;
}
.vcta:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(36,34,32,.22); }
.vhero-secondary { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; font-size: 17px; }

/* ---------- Booking (book-a-call) ---------- */
.vbusiness__booking {
  padding: 90px 24px 110px; text-align: center;
  scroll-margin-top: 110px;
}
.vbusiness__booking h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(30px, 4vw, 44px); letter-spacing: -.02em;
  margin: 0 0 16px;
}
.vbusiness__booking h2 em { font-style: italic; color: var(--accent-deep); }
.vbusiness__booking .vsub { margin: 0 auto 34px; text-align: center; }
.vbusiness__booking .iclosed-widget { max-width: 880px; margin: 0 auto; min-height: 620px; }
.vbusiness__booking .iclosed-widget iframe { width: 100%; min-height: 620px; border: 0; }
.booking-refer { text-align: center; font-size: 15px; color: var(--ink-2); margin: 26px 0 0; }
.booking-refer button {
  font: inherit; color: var(--accent-deep); font-weight: 600;
  background: none; border: 0; padding: 0; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
@media (max-width: 640px) {
  .vest { padding: 34px 22px 30px; }
  .vest__split { gap: 12px; }
}

/* ---------- maryah-style sections ---------- */
.v-sub { font-size: 17px; color: var(--ink-2); line-height: 1.6; max-width: 640px; margin: 0 0 8px; }
.v-sub-center { text-align: center; margin-left: auto; margin-right: auto; }
.v-title em, .v-display em { font-style: italic; color: inherit; }
.v-estimate-actions { display: flex; gap: 22px; justify-content: center; align-items: center; margin-top: 26px; flex-wrap: wrap; }
.v-assess { font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.v-book { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.v-cta-alt { margin-top: 18px; }
.v-cta-alt a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.v-cta .v-sub { margin-bottom: 26px; }

/* Example cards */
.x-hint { color: var(--muted); font-size: 15px; margin: 0 0 22px; }
.x-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .x-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .x-grid { grid-template-columns: 1fr; } }
.x-card {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  padding: 22px; transition: box-shadow .2s;
}
.x-card[open] { box-shadow: 0 12px 32px rgba(36,34,32,.08); }
.x-card summary { list-style: none; cursor: pointer; }
.x-card summary::-webkit-details-marker { display: none; }
.x-brands { display: flex; gap: 8px; margin-bottom: 12px; }
.x-brands img { width: 26px; height: 26px; }
.x-tools { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.x-card h3 { font-family: var(--serif); font-size: 21px; margin: 10px 0 8px; }
.x-card summary > p { font-size: 15px; color: var(--ink-2); line-height: 1.55; margin: 0 0 10px; }
.x-fields { display: block; font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.x-toggle { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; color: var(--accent-deep); }
.x-card .x-hide, .x-card[open] .x-show { display: none; }
.x-card[open] .x-hide { display: inline; }
.x-plus { margin-left: auto; font-size: 20px; font-weight: 400; transition: transform .2s; }
.x-card[open] .x-plus { transform: rotate(45deg); }
.x-record { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 16px; }
.x-record-label { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 12px; }
.x-record dl { margin: 0; display: grid; gap: 10px; }
.x-record dt { font-weight: 600; font-size: 14px; }
.x-record dd { margin: 2px 0 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
.x-madeup { font-size: 12.5px; color: var(--muted); font-style: italic; margin: 14px 0 0; }

/* Privacy before/after */
.x-privacy { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 26px 0; }
@media (max-width: 700px) { .x-privacy { grid-template-columns: 1fr; } }
.x-pane { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; }
.x-pane-after { background: var(--ink); color: #fff; border-color: var(--ink); }
.x-pane-label { font-weight: 600; font-size: 15px; margin: 0 0 4px; }
.x-pane-label span { display: block; font-weight: 400; font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.x-pane-after .x-pane-label span { color: rgba(255,255,255,.65); }
.x-pane-text { font-size: 15px; line-height: 1.7; margin: 12px 0 0; color: var(--ink-2); }
.x-pane-after .x-pane-text { color: rgba(255,255,255,.9); }
.x-pane mark { background: rgba(235,135,113,.28); color: inherit; padding: 1px 5px; border-radius: 4px; }
.x-pane mark.clean { background: rgba(139,176,178,.35); }
.x-priv3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 8px 0 18px; }
@media (max-width: 700px) { .x-priv3 { grid-template-columns: 1fr; } }
.x-priv3 article { border-top: 2px solid var(--accent); padding-top: 14px; }
.x-priv3 h3 { font-size: 16.5px; margin: 0 0 8px; }
.x-priv3 p { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; margin: 0; }
.x-caveat { font-size: 13.5px; color: var(--muted); font-style: italic; max-width: 720px; }

/* Buyers */
.x-buyers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 26px 0; }
@media (max-width: 700px) { .x-buyers { grid-template-columns: 1fr; } }
.x-buyers article { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; }
.x-buyers h3 { font-family: var(--serif); font-size: 21px; margin: 0 0 10px; }
.x-buyers p { font-size: 15px; color: var(--ink-2); line-height: 1.6; margin: 0 0 12px; }
.x-for { font-size: 14px !important; background: var(--bg); border-radius: 8px; padding: 12px 14px; margin: 0 !important; }
.x-license-note { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; background: #fff; max-width: 860px; }
.x-license-note h3 { font-size: 16.5px; margin: 0 0 8px; }
.x-license-note p { font-size: 14.5px; color: var(--ink-2); line-height: 1.65; margin: 0; }

/* Process workload */
.x-workload { font-size: 16px; color: var(--ink-2); margin: 0 0 26px; }
.x-workload strong { color: var(--ink); }

/* Control grid */
.x-control { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
@media (max-width: 700px) { .x-control { grid-template-columns: 1fr; } }
.x-control article { border-top: 2px solid var(--ink); padding-top: 14px; }
.x-control h3 { font-size: 16.5px; margin: 0 0 8px; }
.x-control p { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; margin: 0; }

/* Intake page */
.intake .quote-card { max-width: 860px; margin: 30px auto 0; }
.intake-card .form-block { padding: 34px 34px 30px; }
.q { margin-bottom: 16px; }
.q-label { display: block; font-size: 15px; font-weight: 500; margin-bottom: 8px; }
.q-label em { color: var(--req); font-style: normal; }
.q-hint { font-weight: 400; color: var(--muted); font-size: 13.5px; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 600px) { .check-grid { grid-template-columns: 1fr; } }
.check-grid label {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 14px; font-size: 14.5px; cursor: pointer; background: var(--field);
}
.check-grid input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--ink); }
.intake-book { padding: 34px; text-align: center; }
.intake-book h3 { font-family: var(--serif); font-size: 26px; margin: 0 0 10px; }
.intake-book > p { color: var(--ink-2); margin: 0 0 24px; }
.intake-book .booking-slot { text-align: left; }

/* ---------- Referral modal ---------- */
.refer-kicker { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--taupe-deep); margin: 0 0 18px; }
.refer-card { max-width: 680px; text-align: left; }
.refer-card .form-block { padding: 30px 30px 26px; }
.refer-q .select-wrap { margin-bottom: 0; }
.refer-form[hidden], .refer-done[hidden] { display: none; }
.refer-done { padding: 10px 0 6px; }
.refer-done h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.15; margin: 0 0 12px; }
.refer-done p:not(.payout-label) { color: var(--ink-2); margin: 0 0 24px; }
.refer-done .payout-label { color: var(--taupe-deep); }

.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto; }
.modal[hidden] { display: none; }
.modal-backdrop { position: fixed; inset: 0; background: rgba(36, 34, 32, .55); }
.modal-panel {
  position: relative; width: 100%; max-width: 640px; margin: auto;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 32px 80px rgba(36, 34, 32, .28);
  animation: modal-in .25s var(--ease-out);
}
@keyframes modal-in { from { opacity: 0; transform: translateY(14px); } }
.modal-head { padding: 28px 32px 24px; border-bottom: 1px solid var(--line); }
.modal-head .refer-kicker { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.modal-head .refer-kicker::before { content: ""; width: 8px; height: 8px; background: var(--accent); }
.modal-head h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.1; margin: 0 0 8px; padding-right: 30px; }
.modal-head p:not(.refer-kicker) { margin: 0; color: var(--ink-2); }
.modal-panel .form-block { padding: 28px 32px 26px; }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px;
  border: 0; background: transparent; cursor: pointer;
  font: 300 30px/1 var(--sans); color: var(--ink); opacity: .55;
  transition: opacity .15s;
}
.modal-close:hover { opacity: 1; }
.modal-panel:focus { outline: none; }
body.modal-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .modal-panel { animation: none; } }

/* ---------- Business page sections ---------- */
.v-context { padding: var(--sp-32) 0 var(--sp-24); text-align: center; overflow: hidden; }
.v-marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; padding: 34px 0; margin: var(--sp-12) 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.v-marquee-track {
  display: flex; align-items: center; gap: 64px; width: max-content;
  animation: vscroll 42s linear infinite;
  font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 3vw, 36px);
  color: var(--ink-2); white-space: nowrap;
}
.v-marquee:hover .v-marquee-track { animation-play-state: paused; }
.v-marquee-track i { width: 8px; height: 8px; background: var(--accent); flex: none; transform: rotate(45deg); }
@keyframes vscroll { to { transform: translateX(-50%); } }
.v-context-copy {
  max-width: 62ch; margin: 0 auto; padding: 0 24px;
  font-size: clamp(18px, 1.9vw, 23px); line-height: 1.5; color: var(--ink-2);
}

/* Stack (how it works) — editorial ledger rows */
.stack {
  list-style: none; margin: var(--sp-12) 0 0; padding: 0;
  border-top: 1px solid var(--ink);
  max-width: 1080px;
}
.stack-card {
  display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: var(--sp-8);
  padding: var(--sp-12) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  background: transparent;
  will-change: transform;
}
.stack-num {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(56px, 7vw, 96px); line-height: .9; letter-spacing: -.02em;
  color: var(--accent-deep);
}
.stack-body .k-tag { margin-bottom: var(--sp-3); }
.stack-card h3 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -.015em;
  margin: 0 0 var(--sp-4);
}
.stack-card .stack-body > p:last-child {
  margin: 0; font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 56ch;
}

/* Security */
.v-security { padding: 0 32px; }
.v-security-inner {
  max-width: 1256px; margin: 0 auto;
  background: var(--ink); color: #f4efe8;
  padding: clamp(48px, 6vw, 88px) clamp(24px, 6vw, 88px);
}
.v-security-inner .v-title { margin-bottom: var(--sp-4); }
.v-sec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--green-line); border: 1px solid var(--green-line); margin-top: var(--sp-12); }
.sec-card { background: var(--ink); padding: var(--sp-12) var(--sp-8); }
.sec-mark {
  display: block; width: 44px; height: 44px; margin-bottom: var(--sp-8);
  border: 1px solid var(--accent); border-radius: 50%;
  position: relative;
}
.sec-mark::after {
  content: ""; position: absolute; inset: 14px;
  background: var(--accent); border-radius: 50%;
}
.sec-card h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(22px, 2.2vw, 28px); line-height: 1.25;
  margin: 0 0 var(--sp-6); max-width: 22ch; color: #fff;
}
.sec-card ul { margin: 0; padding: 0; list-style: none; }
.sec-card li {
  position: relative; padding-left: 28px;
  color: #cfc9c2; font-size: 16px; line-height: 1.6; margin-bottom: 14px;
}
.sec-card li::before {
  content: ""; position: absolute; left: 2px; top: .62em;
  width: 8px; height: 8px; background: var(--accent); transform: rotate(45deg);
}

/* FAQ */
.v-faq { max-width: 900px; margin: 0 auto; padding: var(--sp-32) 32px var(--sp-24); }
.faq-list { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 48px 24px 0; position: relative;
  font: 500 19px/1.35 var(--sans);
  transition: color .15s;
}
.faq summary:hover { color: var(--accent-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 20px;
  font: 400 26px/1 var(--mono); color: var(--accent-deep);
  transition: transform .2s var(--ease-out);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 26px; color: var(--ink-2); max-width: 64ch; line-height: 1.6; }

/* CTA */
.v-cta { text-align: center; padding: var(--sp-24) 24px var(--sp-32); }
.v-cta .v-display { margin-bottom: var(--sp-12); }

/* ---------- Footer ---------- */
.v-footer { border-top: 1px solid var(--ink); background: var(--bg); }
.v-footer-inner {
  max-width: 1320px; margin: 0 auto; padding: var(--sp-16) 32px var(--sp-12);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  color: var(--muted); font-size: 15px;
}
.v-footer nav { display: flex; gap: 30px; }
.v-footer nav a { text-decoration: none; color: var(--ink-2); font-weight: 500; }
.v-footer nav a:hover { color: var(--ink); }
.v-footer p { margin: 0; color: var(--taupe-deep); }
.v-footer .logo-text { font-size: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
}
@media (max-width: 900px) {
  .quote-grid { grid-template-columns: 1fr; }
  .quote-form { border-right: 0; border-bottom: 1px solid var(--line); }
  .quote-side .payout { display: none; }
  .payout-mobile { display: block; }
  .booking { min-height: 560px; }
  .v-sec-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-inner { padding: 10px 16px; }
  .btn-nav { padding: 10px 14px; font-size: 13px; }
  .hide-sm { display: none; }
  .v-section { padding: var(--sp-24) 20px 0; }
  .row-2 { grid-template-columns: 1fr; gap: 0; }
  .est-row { grid-template-columns: 1fr; row-gap: 6px; }
  .form-block { padding: 26px 18px 10px; }
  .steps { gap: 24px; font-size: 12px; }
  .quote-card { border-left: 0; border-right: 0; }
  .estimate { padding: 40px 0 70px; }
  .estimate-top { padding-top: 28px; }
  .stack-card { grid-template-columns: 1fr; gap: var(--sp-4); padding: var(--sp-8) 0; }
  .v-security { padding: 0; }
  .sec-card { padding: var(--sp-8) var(--sp-6); }
  .v-faq { padding: var(--sp-24) 20px var(--sp-16); }
  .v-footer-inner { padding: var(--sp-12) 20px var(--sp-8); flex-direction: column; align-items: flex-start; }
  .modal { padding: 16px 10px; }
  .modal-head { padding: 24px 20px 20px; }
  .modal-panel .form-block { padding: 24px 20px; }
  .btn-lg { padding: 20px 28px; font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .v-marquee-track { animation: none; }
  .stack-card { transform: none !important; filter: none !important; }
  .modal-panel { animation: none; }
}
