:root {
  --ink: #18312f;
  --muted: #526763;
  --paper: #f8f5ee;
  --surface: #fffdf8;
  --soft: #edf2ed;
  --line: #d5ded8;
  --teal: #126b67;
  --teal-dark: #0c4f4c;
  --teal-pale: #dff1ed;
  --coral: #b7533d;
  --coral-dark: #93402f;
  --amber: #a8681f;
  --amber-pale: #fff2d7;
  --green: #29795a;
  --green-pale: #e5f4e9;
  --red: #a23b3b;
  --shadow: 0 18px 46px rgba(24, 49, 47, .08);
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif; line-height: 1.55; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { outline-color: var(--coral); outline-offset: 3px; }
button { min-height: 44px; border: 0; border-radius: 10px; cursor: pointer; font-weight: 650; }
a { color: var(--teal-dark); }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: #fff; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.topbar { position: sticky; top: 0; z-index: 20; min-height: 74px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; padding: 10px max(20px, calc((100vw - 1280px) / 2)); background: rgba(251,250,246,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; width: fit-content; }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--teal); color: #fff; font-family: Georgia, serif; font-weight: 800; }
.brand strong, .brand small { display: block; line-height: 1.2; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 12px; }
.preview-pill, .badge { display: inline-flex; align-items: center; gap: 8px; width: fit-content; border-radius: 999px; padding: 7px 11px; background: var(--teal-pale); color: var(--teal-dark); font-size: 12px; font-weight: 800; letter-spacing: .01em; }
.preview-pill span { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.top-actions { display: flex; justify-content: flex-end; gap: 8px; }
.role-switch { padding: 10px 15px; background: var(--ink); color: #fff; }
.quiet-button { padding: 10px 13px; background: transparent; border: 1px solid var(--line); color: var(--ink); }
.boundary-bar { padding: 9px 20px; text-align: center; background: #fff4e8; color: #6e4519; border-bottom: 1px solid #efd5b2; font-size: 13px; }
#app { min-height: calc(100vh - 190px); }
#app:focus { outline: none; }
.shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 32px 0 64px; }
.family-shell { width: min(900px, calc(100% - 32px)); }
.hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); align-items: center; gap: 38px; padding: 54px 0 34px; }
.eyebrow { margin: 0 0 12px; color: var(--teal); font-size: 13px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
h1 { max-width: 760px; margin: 0 0 16px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 6vw, 72px); line-height: 1.02; letter-spacing: -.035em; font-weight: 500; }
h2 { margin: 0 0 10px; font-family: Georgia, serif; font-size: clamp(28px, 4vw, 40px); line-height: 1.1; font-weight: 500; }
h3 { margin: 0 0 8px; line-height: 1.25; }
p { margin: 0 0 16px; }
.lede { max-width: 670px; color: var(--muted); font-size: clamp(18px, 2vw, 22px); }
.hero-art { min-height: 330px; position: relative; border-radius: 30px; overflow: hidden; background: linear-gradient(150deg,#c8e2d9,#f7dfc5); box-shadow: var(--shadow); }
.hero-art::before { content: ""; position: absolute; inset: 30px 28px 0; border-radius: 180px 180px 0 0; background: rgba(255,255,255,.72); }
.hero-art::after { content: "✓"; position: absolute; width: 105px; height: 105px; display: grid; place-items: center; left: calc(50% - 52px); top: 86px; border-radius: 50%; background: var(--teal); color: #fff; font-size: 56px; font-weight: 300; box-shadow: 0 18px 35px rgba(18,107,103,.24); }
.art-copy { position: absolute; z-index: 1; left: 34px; right: 34px; bottom: 28px; text-align: center; }
.art-copy strong { display: block; font-family: Georgia, serif; font-size: 25px; font-weight: 500; }
.art-copy span { color: var(--muted); font-size: 13px; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.primary, .secondary, .danger, .text-button { padding: 12px 18px; }
.primary { background: var(--coral); color: #fff; box-shadow: 0 8px 22px rgba(217,109,82,.18); }
.primary:hover { background: var(--coral-dark); }
.secondary { background: var(--teal); color: #fff; }
.secondary:hover { background: var(--teal-dark); }
.text-button { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.danger { background: #f8e4e2; color: var(--red); }
.card { min-width: 0; padding: clamp(20px, 4vw, 36px); margin: 20px 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); overflow-x: auto; }
.soft-card { background: var(--soft); box-shadow: none; }
.stepper { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 8px 0 28px; }
.step { position: relative; min-height: 58px; padding: 8px 6px 8px 22px; color: var(--muted); font-size: 11px; font-weight: 750; }
.step::before { content: ""; position: absolute; top: 13px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: #cbd7d1; }
.step::after { content: ""; position: absolute; top: 18px; left: 12px; right: -4px; height: 2px; background: #dce5df; }
.step:last-child::after { display: none; }
.step.done::before, .step.current::before { background: var(--teal); }
.step.current { color: var(--ink); }
.grid, .two-col, .three-col, .metric-grid, .choice-grid { display: grid; gap: 16px; }
.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three-col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.metric-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.choice-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
label { display: grid; gap: 7px; color: var(--ink); font-size: 14px; font-weight: 750; }
input, select, textarea { width: 100%; min-height: 48px; padding: 11px 12px; border: 1px solid #bccbc4; border-radius: 10px; background: #fff; color: var(--ink); }
textarea { min-height: 110px; resize: vertical; }
.help, .muted { color: var(--muted); }
.help { font-size: 12px; font-weight: 500; }
.field-error { color: var(--red); font-size: 12px; }
.choice { display: flex; flex-direction: column; min-height: 100%; padding: 22px; border: 2px solid var(--line); border-radius: 16px; background: #fff; }
.choice.selected { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(18,107,103,.08); }
.choice .price { margin: 12px 0; font-family: Georgia, serif; font-size: 30px; }
.choice ul { padding-left: 20px; color: var(--muted); flex: 1; }
.choice button { width: 100%; margin-top: 12px; }
.choice.recommended { position: relative; }
.choice.recommended::before { content: "Tony's recommendation"; position: absolute; top: -13px; left: 16px; padding: 4px 9px; border-radius: 999px; background: var(--teal); color: #fff; font-size: 11px; font-weight: 800; }
.callout { padding: 16px 18px; border-left: 4px solid var(--teal); border-radius: 10px; background: var(--teal-pale); }
.callout.warn { border-color: var(--amber); background: var(--amber-pale); }
.callout.success { border-color: var(--green); background: var(--green-pale); }
.callout strong { display: block; margin-bottom: 4px; }
.review-attestation { grid-template-columns: 22px 1fr; align-items: start; gap: 12px; margin-top: 18px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); font-size: 15px; font-weight: 500; }
.review-attestation input { width: 20px; min-height: 20px; margin: 2px 0 0; accent-color: var(--teal); }
.review-attestation strong { display: block; margin-bottom: 3px; }
.section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.photo-zone { min-height: 210px; display: grid; place-items: center; padding: 24px; text-align: center; border: 2px dashed #aebfb7; border-radius: 16px; background: var(--soft); overflow: hidden; }
.photo-zone img { width: 100%; max-height: 360px; object-fit: cover; border-radius: 12px; }
.photo-zone input { max-width: 360px; border: 0; background: transparent; }
.timeline { display: grid; gap: 0; margin: 20px 0; }
.timeline-item { display: grid; grid-template-columns: 38px 1fr; gap: 10px; min-height: 74px; }
.timeline-dot { position: relative; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #dbe5e0; color: #fff; font-size: 12px; }
.timeline-dot::after { content: ""; position: absolute; top: 24px; bottom: -50px; width: 2px; background: var(--line); }
.timeline-item:last-child .timeline-dot::after { display: none; }
.timeline-item.done .timeline-dot { background: var(--green); }
.timeline-item.current .timeline-dot { background: var(--coral); }
.timeline-item p { color: var(--muted); font-size: 13px; }
.kinetic { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 24px 0; }
.kinetic span { min-height: 66px; display: grid; place-items: center; position: relative; padding: 10px; border-radius: 12px; background: var(--soft); text-align: center; color: var(--muted); font-size: 12px; font-weight: 800; }
.kinetic span.active { background: var(--teal); color: #fff; }
.kinetic span:not(:last-child)::after { content: "→"; position: absolute; right: -11px; color: var(--coral); z-index: 2; font-size: 18px; }
.app-layout { display: grid; grid-template-columns: 225px minmax(0, 1fr); gap: 24px; }
.app-layout > section { min-width: 0; }
.sidebar { position: sticky; top: 124px; height: fit-content; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.sidebar strong { display: block; margin: 0 8px 12px; }
.sidebar nav { display: grid; gap: 4px; }
.sidebar a { min-height: 44px; display: flex; align-items: center; padding: 9px 10px; border-radius: 9px; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 700; }
.sidebar a.active, .sidebar a:hover { background: var(--teal-pale); color: var(--teal-dark); }
.metric { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.metric strong { display: block; margin-bottom: 4px; font-family: Georgia, serif; font-size: 32px; font-weight: 500; }
.metric span { color: var(--muted); font-size: 13px; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 14px; }
.table th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.table tr.clickable { cursor: pointer; }
.table tr.clickable:hover { background: var(--soft); }
.status { display: inline-flex; align-items: center; border-radius: 999px; padding: 5px 9px; background: var(--soft); color: var(--muted); font-size: 11px; font-weight: 850; }
.status.review { background: var(--amber-pale); color: #75430c; }
.status.approved, .status.complete { background: var(--green-pale); color: #175b3f; }
.status.blocked { background: #fbe2df; color: var(--red); }
.case-banner { padding: 24px; border-radius: 18px; background: linear-gradient(135deg,var(--ink),#255b57); color: #fff; }
.case-banner .muted { color: #c7d8d5; }
.tabs { display: flex; gap: 5px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.tabs a { min-height: 44px; display: flex; align-items: center; padding: 10px 13px; text-decoration: none; white-space: nowrap; color: var(--muted); font-weight: 700; }
.tabs a.active { color: var(--teal); border-bottom: 3px solid var(--teal); }
.product-row { display: grid; grid-template-columns: 1fr 120px 120px 44px; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.product-row input { min-height: 42px; }
.message-preview { max-width: 500px; padding: 18px; border-radius: 18px 18px 18px 4px; background: #e9efec; }
.digit-row { display: flex; flex-wrap: wrap; gap: 8px; }
.digit-row button { width: 48px; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.digit-row button.selected { background: var(--teal); color: #fff; }
.empty { padding: 36px; text-align: center; border: 1px dashed var(--line); border-radius: 16px; color: var(--muted); }
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 50; max-width: 380px; padding: 14px 18px; border-radius: 12px; background: var(--ink); color: #fff; box-shadow: var(--shadow); }
dialog { width: min(560px, calc(100% - 30px)); border: 0; border-radius: 20px; padding: 30px; color: var(--ink); box-shadow: 0 30px 100px rgba(0,0,0,.28); }
dialog::backdrop { background: rgba(12,36,33,.58); backdrop-filter: blur(3px); }
.dialog-close { position: absolute; right: 12px; top: 10px; width: 44px; background: transparent; color: var(--muted); font-size: 28px; }
footer { min-height: 70px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px max(20px, calc((100vw - 1180px) / 2)); border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
@media (max-width: 900px) {
  .topbar { grid-template-columns: 1fr auto; }
  .preview-pill { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-art { min-height: 280px; }
  .choice-grid, .three-col, .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; overflow-x: auto; padding: 8px; }
  .sidebar strong { display: none; }
  .sidebar nav { display: flex; }
  .sidebar a { white-space: nowrap; }
}
@media (max-width: 620px) {
  .topbar { position: static; grid-template-columns: 1fr; gap: 8px; padding: 12px 16px; }
  .top-actions { justify-content: flex-start; }
  .boundary-bar { text-align: left; }
  .shell, .family-shell { width: min(100% - 22px, 900px); padding-top: 20px; }
  .hero { padding-top: 28px; gap: 22px; }
  h1 { font-size: 44px; }
  .two-col, .three-col, .metric-grid, .choice-grid { grid-template-columns: 1fr; }
  .stepper { overflow-x: auto; grid-template-columns: repeat(5, 130px); }
  .kinetic { overflow-x: auto; grid-template-columns: repeat(5, 150px); padding-bottom: 8px; }
  .section-head { display: grid; }
  .button-row > button, .button-row > a { flex: 1 1 100%; }
  .product-row { grid-template-columns: 1fr 84px; }
  .product-row .product-price { display: none; }
  footer { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* V2 visual-polish layer: editorial warmth + service-workspace clarity. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
button, .sidebar a, .tabs a, .brand, .table tr.clickable {
  transition: color 160ms ease-out, background-color 160ms ease-out, border-color 160ms ease-out, box-shadow 160ms ease-out, transform 160ms ease-out;
}
button:active { transform: translateY(1px); }
button:disabled { cursor: not-allowed; opacity: .48; box-shadow: none; }
input:user-invalid, select:user-invalid, textarea:user-invalid {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(164, 69, 62, .12);
}
.text-button:hover, .quiet-button:hover { background: var(--soft); border-color: #aebdb6; }
.danger:hover { background: #f2d2cf; }

.topbar { min-height: 70px; background: rgba(248,245,238,.96); }
.brand strong { font-weight: 700; letter-spacing: -.015em; }
.preview-pill { padding: 6px 10px; background: transparent; border: 1px solid var(--line); }
.role-switch { background: transparent; color: var(--teal-dark); border: 1px solid #9cb7af; }
.role-switch:hover { background: var(--teal-pale); border-color: var(--teal); }
.boundary-bar { background: #f4e9dc; color: #614222; border-color: #e6d2bc; }

.shell { padding-top: 40px; }
.family-shell { width: min(940px, calc(100% - 32px)); }
.hero { grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr); gap: 64px; padding: 52px 0 48px; }
.hero h1 { max-width: 650px; font-family: Charter, "Iowan Old Style", Georgia, serif; font-size: clamp(48px, 5.4vw, 72px); line-height: 1.01; text-wrap: balance; }
.page-title { max-width: 760px; margin: 0 0 12px; font-family: Charter, "Iowan Old Style", Georgia, serif; font-size: clamp(32px, 4vw, 46px); line-height: 1.06; letter-spacing: -.025em; font-weight: 500; text-wrap: balance; }
h2 { font-family: Charter, "Iowan Old Style", Georgia, serif; }
h3 { font-weight: 680; letter-spacing: -.01em; }
.lede { max-width: 680px; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55; }
.help { font-size: 13px; line-height: 1.45; }
.eyebrow { margin-bottom: 10px; font-size: 12px; letter-spacing: .16em; }
.hero-copy .button-row { margin-top: 26px; }

.hero-case { align-self: stretch; padding: 26px; border: 1px solid #cddad3; border-radius: 22px 22px 8px 22px; background: var(--surface); box-shadow: var(--shadow); }
.hero-case-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.case-id { color: var(--muted); font-size: 12px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; }
.hero-case-concern { margin: 20px 0 18px; font-family: Charter, "Iowan Old Style", Georgia, serif; font-size: 27px; line-height: 1.15; }
.hero-case-path { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.hero-case-path li { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 12px; min-height: 62px; }
.hero-case-path li > span { position: relative; z-index: 1; width: 25px; height: 25px; display: grid; place-items: center; border: 1px solid #bfcdc6; border-radius: 50%; background: var(--surface); color: var(--muted); font-size: 11px; font-weight: 750; }
.hero-case-path li:not(:last-child)::after { content: ""; position: absolute; top: 25px; bottom: 0; left: 12px; width: 1px; background: var(--line); }
.hero-case-path li.done > span { background: var(--teal); border-color: var(--teal); color: #fff; }
.hero-case-path li.current > span { background: var(--coral); border-color: var(--coral); color: #fff; box-shadow: 0 0 0 4px #f4e4de; }
.hero-case-path strong, .hero-case-path small { display: block; }
.hero-case-path strong { font-size: 14px; }
.hero-case-path small { margin-top: 2px; color: var(--muted); font-size: 12px; }
.welcome-process { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: end; padding: 36px 0 10px; border-top: 1px solid var(--line); }
.welcome-process h2 { max-width: 540px; margin: 0; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.08; font-weight: 500; text-wrap: balance; }
.welcome-process > p { max-width: 420px; margin: 0 0 5px; color: var(--muted); font-size: 17px; }

.primary { background: var(--coral); box-shadow: 0 8px 20px rgba(147,64,47,.16); }
.primary:hover { background: var(--coral-dark); box-shadow: 0 10px 24px rgba(147,64,47,.22); }
.secondary { background: var(--teal-dark); }
.card { padding: clamp(22px, 3vw, 32px); border-color: var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: none; }
.soft-card { background: var(--soft); }
.callout { border: 1px solid #bdd9d1; border-radius: 10px; }
.callout.warn { border-color: #e3c88f; }
.callout.success { border-color: #bad9c7; }
.photo-zone { border-width: 1px; border-radius: 12px; }
.choice { border-width: 1px; border-radius: 14px; }
.choice.selected { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(18,107,103,.09); }
.choice.recommended::before { border-radius: 5px; }
.choice.recommended::before { display: none; }
.choice-recommendation { align-self: flex-start; margin: -10px 0 14px; padding: 5px 9px; border-radius: 5px; background: var(--teal); color: #fff; font-size: 12px; font-weight: 700; }
.badge, .status { border-radius: 6px; }
.status { font-size: 12px; }

.stepper { position: relative; margin: 0 0 34px; padding: 0; list-style: none; }
.step { min-height: 52px; padding: 25px 12px 0 0; font-size: 12px; line-height: 1.25; }
.step::before { top: 4px; z-index: 2; width: 13px; height: 13px; border: 3px solid var(--paper); box-shadow: 0 0 0 1px #cbd7d1; }
.step::after { top: 10px; left: 13px; }
.step.done::before, .step.current::before { box-shadow: 0 0 0 1px var(--teal); }
.step.current { font-weight: 750; }

.kinetic { gap: 1px; margin: 22px 0 30px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--line); }
.kinetic span { min-height: 54px; border-radius: 0; background: var(--surface); }
.kinetic span:not(:last-child)::after { display: none; }
.kinetic span.active { background: var(--teal-dark); }

.app-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 36px; }
.sidebar { top: 116px; padding: 14px; border-radius: 12px; background: transparent; }
.sidebar a { font-weight: 600; }
.sidebar a.active, .sidebar a:hover { background: var(--surface); box-shadow: inset 3px 0 0 var(--teal); }
.tabs a { font-weight: 600; }
.tabs a.active { font-weight: 700; }
.metric { padding: 16px 18px; border: 0; border-top: 2px solid var(--line); border-radius: 0; background: transparent; }
.metric strong { font-family: Charter, "Iowan Old Style", Georgia, serif; }
.case-banner { border-radius: 12px 12px 3px 12px; background: var(--teal-dark); }
.timeline { max-width: 680px; }
.table tr.clickable:focus-within { background: var(--soft); }
.table a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }
footer a { min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .hero { gap: 30px; }
  .app-layout { grid-template-columns: 1fr; gap: 20px; }
  .sidebar { background: var(--surface); }
}

@media (max-width: 620px) {
  .topbar { grid-template-columns: 1fr auto; align-items: start; gap: 10px; padding: 11px 12px; }
  .brand-mark { width: 40px; height: 40px; border-radius: 11px; }
  .brand { min-height: 44px; }
  .brand strong { font-size: 15px; }
  .top-actions { display: grid; gap: 5px; }
  .top-actions button { min-height: 44px; padding: 8px 10px; font-size: 12px; }
  .boundary-bar { padding: 9px 12px; font-size: 12px; }
  .shell, .family-shell { width: min(100% - 24px, 940px); padding-top: 24px; }
  .hero { grid-template-columns: 1fr; gap: 30px; padding: 20px 0 36px; }
  .hero h1 { font-size: clamp(42px, 12.5vw, 52px); }
  .hero-case { padding: 20px; border-radius: 18px 18px 5px 18px; }
  .welcome-process { grid-template-columns: 1fr; gap: 16px; padding-top: 28px; }
  .welcome-process > p { font-size: 16px; }
  .page-title { font-size: 36px; }
  .button-row { gap: 8px; }
  .stepper { display: block; margin-bottom: 26px; }
  .step { display: none; min-height: 0; padding: 25px 0 0; font-size: 14px; }
  .step.current { display: block; }
  .step.current::before { content: attr(data-step); position: absolute; top: 0; left: 0; width: auto; height: auto; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--teal); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
  .step.current::after { content: ""; display: block; position: absolute; top: 4px; left: 92px; right: 0; height: 4px; border-radius: 3px; background: linear-gradient(90deg, var(--teal) 0 35%, var(--line) 35% 100%); }
  .kinetic { grid-template-columns: 1fr; }
  .kinetic span { min-height: 38px; justify-items: start; padding: 8px 12px; text-align: left; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sidebar { overflow: visible; padding: 8px; }
  .sidebar nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
  .sidebar a { min-height: 42px; justify-content: center; padding: 7px 5px; text-align: center; white-space: normal; font-size: 12px; }
  .sidebar a.active, .sidebar a:hover { box-shadow: inset 0 -3px 0 var(--teal); }
  .tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; border: 1px solid var(--line); border-radius: 10px; padding: 4px; }
  .tabs a { justify-content: center; min-height: 40px; padding: 7px 5px; text-align: center; white-space: normal; font-size: 12px; }
  .tabs a.active { border: 0; border-radius: 7px; background: var(--teal-pale); }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table thead { display: none; }
  .table tr { padding: 8px 0; border-bottom: 1px solid var(--line); }
  .table td { padding: 7px 0; border: 0; }
  .card { overflow-x: visible; }
  .product-row { grid-template-columns: 1fr auto; }
  .product-row button { min-width: 90px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
