@font-face {
  font-family: Onest;
  src: url(Onest-Regular.woff2) format("woff2");
  font-display: swap;
}
@font-face {
  font-family: Onest;
  src: url(Onest-SemiBold.woff2) format("woff2");
  font-weight: 600 800;
  font-display: swap;
}
:root {
  --ink: #172b3d;
  --muted: #475967;
  --blue: #2146a2;
  --line: #ccd5d4;
  --paper: #fcfcf9;
  --columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  --gutter: clamp(32px, 5vw, 76px);
  --section: clamp(48px, 5.2vw, 80px);
}
* { box-sizing: border-box; }
html { scroll-padding-block-start: 20px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 17px/1.55 Onest, Arial, sans-serif; }
a { color: var(--blue); text-underline-offset: .22em; }
a:hover { color: #0a2b74; }
:focus-visible { outline: 3px solid #a35807; outline-offset: 3px; }
h1, h2, h3, p, figure, ol { margin: 0; }
h1, h2, h3, b, strong { font-weight: 600; }
h1, h2, h3 { text-wrap: balance; }
h1 { font-size: clamp(44px, 4.45vw, 68px); line-height: 1.05; letter-spacing: -.055em; }
h2 { font-size: clamp(30px, 2.85vw, 44px); line-height: 1.12; letter-spacing: -.044em; }
h3 { font-size: clamp(20px, 1.55vw, 25px); line-height: 1.24; letter-spacing: -.025em; }
p { max-width: 65ch; }
button, select, textarea { font: inherit; }
.skip { position: fixed; top: -100px; left: 12px; padding: 10px 14px; z-index: 10; background: white; }
.skip:focus { top: 8px; }
.frame { width: min(1280px, calc(100% - 2 * clamp(20px, 4.6vw, 82px))); margin-inline: auto; }
.hero-grid, .check-grid, .cost-grid, .two-col, .scenarios, .faq {
  display: grid; grid-template-columns: var(--columns); gap: var(--gutter); align-items: start;
}
header, footer { border-block: 1px solid var(--line); }
header { border-top: 0; }
.top, .bottom { display: flex; align-items: center; gap: 20px; padding-block: 18px; }
.brand, .header-phone { text-decoration: none; color: var(--ink); font-weight: 600; white-space: nowrap; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: 24px; letter-spacing: -.055em; }
.brand i { display: inline-block; width: 19px; height: 21px; border-left: 6px solid var(--blue); border-top: 6px solid var(--blue); box-shadow: inset -4px -4px 0 #7b90c7; }
.top > nav { display: flex; gap: clamp(12px, 1.5vw, 24px); margin-inline: auto; }
.top nav a { color: var(--ink); font-size: 14px; text-decoration: none; }
.top nav a:hover { text-decoration: underline; }
.header-phone { font-variant-numeric: tabular-nums; }
.menu { display: none; }
.hero { background: #f1f4ef; border-bottom: 1px solid var(--line); }
.hero-grid { padding-block: clamp(36px, 4.6vw, 70px); }
.hero-copy { align-self: start; }
.hero-copy h1 { max-width: 17ch; }
.hero-copy em { color: var(--blue); font-style: normal; }
.lead { margin-top: 20px; max-width: 49ch; font-size: clamp(17px, 1.35vw, 20px); color: var(--muted); }
.price-line { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; margin: 22px 0 16px; }
.price-line strong { font-size: clamp(27px, 2.6vw, 37px); line-height: 1.1; letter-spacing: -.05em; }
.actions, .resources { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 46px; padding: 12px 18px; border-radius: 6px; background: var(--blue); color: white; font-weight: 600; text-decoration: none; }
.btn:hover { background: #163985; color: white; }
.link { font-weight: 600; }
.fine, figcaption { color: var(--muted); font-size: 14px; line-height: 1.5; }
.fine { margin-top: 14px; }
.workbench { min-width: 0; border: 1px solid #c7d2ce; border-radius: 12px; background: white; overflow: hidden; }
.work-head { padding: 21px 24px 0; }
.kicker { font-size: 14px; color: var(--muted); }
.work-head h2 { max-width: 34ch; font-size: clamp(23px, 1.9vw, 30px); margin-top: 5px; }
.roles { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 24px 18px; }
.roles button { min-height: 42px; padding: 8px 14px; color: var(--ink); background: white; border: 1px solid #a9b8bc; border-radius: 5px; font-size: 15px; cursor: pointer; }
.roles [aria-pressed="true"] { background: #233c4e; color: white; border-color: #233c4e; }
/* Overlapping grid items both contribute to the track size, including the inactive example. */
.example-stack { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; }
.example-stack figure { grid-area: 1 / 1 / 3 / 2; display: grid; grid-template-rows: 1fr auto; min-width: 0; }
@supports (grid-template-rows: subgrid) {
  .example-stack figure { grid-template-rows: subgrid; }
}
.example-stack [aria-hidden="true"] { visibility: hidden; pointer-events: none; }
.proof { display: grid; align-content: start; gap: 15px; background: #f5f5ef; border-block: 1px solid var(--line); padding: 20px 24px; }
.proof h3 { font-size: clamp(20px, 1.6vw, 25px); }
.ledger-table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; text-align: left; }
.ledger-table thead { border-block: 1px solid #8fa09d; }
.ledger-table thead th { color: var(--muted); font-size: 13px; line-height: 1.3; font-weight: 400; padding: 9px 8px; background: #e9ece6; }
.ledger-table tbody th, .ledger-table td { padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ledger-table tbody th { font-weight: 600; }
.ledger-table small { display: block; font-weight: 400; color: var(--muted); }
.ledger-table td:nth-child(2), .ledger-table .found { white-space: nowrap; }
.found { color: #21533f; font-weight: 600; }
.timeline { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); padding: 0; color: var(--blue); font-size: 14px; font-variant-numeric: tabular-nums; }
.timeline li { position: relative; padding-top: 13px; text-align: center; border-top: 3px solid #9cadd5; }
.timeline li::before { content: ''; position: absolute; top: -6px; left: calc(50% - 4px); width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.timeline li:first-child { color: var(--ink); border-color: #526577; }
.timeline li:first-child::before { background: var(--ink); }
.timeline-note { font-size: 15px; color: var(--muted); }
.proof-foot { display: flex; flex-direction: column; justify-content: start; align-items: start; gap: 9px; padding: 14px 24px 17px; background: white; }
.proof-zoom { padding: 0; border: 0; background: transparent; color: var(--blue); text-align: left; text-decoration: underline; text-underline-offset: .22em; cursor: pointer; font-size: 14px; }
dialog { width: min(1000px, 94vw); max-height: 90vh; padding: 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); }
dialog::backdrop { background: #112536a8; }
dialog form { display: flex; justify-content: flex-end; position: sticky; top: 0; padding-bottom: 8px; }
dialog button { padding: 6px 14px; background: white; border: 1px solid #889b9e; border-radius: 4px; cursor: pointer; }
dialog img { display: block; width: 100%; height: auto; }
[hidden] { display: none !important; }
.scenarios, .check, .config, .start, .faq { padding-block: var(--section); }
.scenario-list, .checks, .faq-content { min-width: 0; }
details { padding: 14px 0; border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; }
details p { margin-top: 10px; }
.scenario-list details:first-child, .faq-content details:first-child { border-top: 2px solid #83968f; }
.scenario-list details:last-child, .faq-content details:last-of-type { border-bottom: 1px solid var(--line); }
.scenario-list summary, .faq-content summary { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; list-style: none; }
.scenario-list summary::-webkit-details-marker, .faq-content summary::-webkit-details-marker { display: none; }
.scenario-list summary::after, .faq-content summary::after { content: '+'; font-size: 22px; line-height: 1; font-weight: 400; flex: none; color: var(--blue); }
.scenario-list details[open] > summary::after, .faq-content details[open] > summary::after { content: '−'; }
.scenario-list summary { font-size: clamp(18px, 1.45vw, 22px); line-height: 1.35; }
.scenario-list p, .check p, .config p, .cost p, .faq details p { color: var(--muted); margin-top: 10px; }
.scenario-list a, .cost .link { display: inline-block; margin-top: 12px; }
.memo { background: #203d38; color: white; }
.memo-grid { display: grid; grid-template-columns: 1fr auto; gap: var(--gutter); align-items: start; padding-block: 34px; }
.memo h2 { font-size: clamp(26px, 2.3vw, 34px); }
.memo p { color: #edf4ee; margin-top: 10px; }
.memo details { margin-top: 14px; padding-bottom: 0; border-color: #6d827b; }
.btn.light { background: #e4eee1; color: #193e2f; }
.btn.light small { font-size: 13px; }
.checks article + article { margin-top: 19px; padding-top: 18px; border-top: 1px solid var(--line); }
.cost { background: #eaf0f8; border-block: 1px solid #d0d9e8; padding-block: var(--section); }
.cost .large-price { margin: 18px 0 0; color: #1e4390; font-size: clamp(43px, 4.8vw, 72px); line-height: 1.05; font-weight: 600; letter-spacing: -.06em; }
.cost .large-price + p { margin-top: 3px; }
.cost-grid h3:not(:first-child) { margin-top: 22px; }
.process { margin-top: clamp(32px, 3.7vw, 56px); }
.process-title { font-size: clamp(26px, 2.2vw, 35px); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 0; margin-top: 18px; list-style: none; counter-reset: phase; }
.steps li { counter-increment: phase; border-top: 2px solid #9cabbe; padding-top: 12px; }
.steps b { display: block; line-height: 1.35; }
.steps b::before { content: counter(phase) '. '; color: var(--blue); }
.steps p { font-size: 16px; margin-top: 6px; }
.config, .start { border-bottom: 1px solid var(--line); }
.config-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 21px 0; }
.config-links a { padding-top: 12px; border-top: 1px solid var(--line); font-weight: 600; }
.config-links small { display: block; color: var(--muted); font-size: 15px; font-weight: 400; }
.resources { margin-top: 16px; }
.start .call { display: block; width: fit-content; margin: 18px 0 1px; color: var(--ink); font-size: clamp(26px, 2.8vw, 40px); font-weight: 600; text-decoration: none; letter-spacing: -.035em; }
.letter { min-width: 0; padding: clamp(20px, 2.4vw, 32px); border-radius: 10px; background: #e4eee3; }
.letter label { font-weight: 600; display: block; margin: 14px 0 4px; }
.letter select, textarea { display: block; width: 100%; max-width: 100%; padding: 10px; border: 1px solid #83978e; border-radius: 4px; background: white; color: var(--ink); }
.letter .hint { margin-block: 12px; color: #324b3d; }
.letter button { color: #234e39; border: 0; border-bottom: 1px solid currentColor; padding: 7px 0; background: transparent; cursor: pointer; }
.letter .btn { background: #214d3a; }
.letter details { margin-top: 12px; padding-bottom: 0; }
.letter textarea { margin-top: 8px; min-height: 12em; font-size: 15px; }
.bottom { flex-wrap: wrap; }
.bottom p, .bottom a:not(.brand) { font-size: 14px; }
.bottom p { margin-right: auto; }
@media (max-width: 1000px) {
  .top > nav { display: none; }
  .header-phone { margin-left: auto; }
  .menu { display: block; order: 3; position: relative; padding: 0; border: 0; }
  .menu nav { position: absolute; right: 0; z-index: 2; min-width: 220px; border: 1px solid var(--line); background: white; padding: 12px; box-shadow: 0 6px 22px #14263722; }
  .menu nav a { display: block; padding: 8px; }
}
@media (max-width: 850px) {
  :root { --columns: minmax(0, 1fr); --gutter: 22px; }
  .hero-copy h1 { max-width: 22ch; }
  .hero-grid { gap: 26px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .memo-grid { grid-template-columns: 1fr; justify-items: start; }
}
@media (max-width: 550px) {
  .frame { width: calc(100% - 32px); }
  .top { gap: 9px; padding-block: 14px; }
  .brand { font-size: 19px; }
  .brand i { width: 15px; height: 17px; border-width: 4px; }
  .header-phone, .menu summary { font-size: 14px; }
  .hero-grid { padding-block: 28px; }
  .hero h1 { font-size: clamp(35px, 8.5vw, 45px); }
  .lead { margin-top: 14px; }
  .price-line { margin: 15px 0; }
  .work-head { padding: 16px 15px 0; }
  .roles { padding: 12px 15px; }
  .proof { padding: 16px 12px; gap: 12px; }
  .proof-foot { padding: 12px 15px 15px; }
  .ledger-table { font-size: 13px; }
  .ledger-table thead th { font-size: 12px; }
  .ledger-table td, .ledger-table tbody th { padding: 10px 4px; }
  .ledger-table thead th { padding-inline: 4px; }
  .timeline { font-size: 12px; }
  .config-links, .steps { grid-template-columns: 1fr; gap: 14px; }
  .bottom { gap: 10px 17px; }
  .bottom p { width: 100%; }
}
@media (max-width: 355px) {
  .top { gap: 6px; }
  .header-phone, .menu summary { font-size: 12px; }
  .brand { font-size: 17px; }
  .proof { padding-inline: 8px; }
}

.privacy-dialog { width: min(720px, calc(100% - 32px)); padding: clamp(18px, 3vw, 32px); }
.privacy-dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.privacy-dialog-head h2 { font-size: clamp(23px, 3vw, 30px); }
.privacy-close { min-width: 44px; min-height: 44px; font-size: 24px; }
.privacy-dialog-body p { margin-top: 12px; }
.privacy-dialog-body h3 { margin-top: 22px; }
.privacy-is-open { overflow: hidden; }
