:root {
  --paper: #f3f0e7;
  --white: #fffdfa;
  --ink: #152b3b;
  --muted: #547083;
  --line: #c8d4d3;
  --coral: #e9795e;
  --yellow: #e3b84d;
  --mint: #dbe9e3;
  --blue: #dbe7ee;
  --deep: #102938;
  --shadow: 0 10px 30px rgba(21, 43, 59, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Manrope, Arial, sans-serif; font-size: 16px; line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.shell { width: min(1180px, calc(100% - 56px)); margin: 0 auto; }
.narrow-section { width: min(1180px, calc(100% - 56px)); }

.site-header { background: var(--white); border-bottom: 1px solid var(--ink); position: sticky; top: 0; z-index: 20; }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.wordmark img { width: 52px; height: 52px; }
.wordmark strong { display: block; line-height: 1.1; letter-spacing: .06em; font-size: 15px; }
.main-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 22px; font-size: 13px; font-weight: 800; }
.main-nav a { text-decoration: none; border-bottom: 2px solid transparent; padding: 6px 0; }
.main-nav a:hover, .main-nav a:focus-visible { border-color: var(--coral); }

.hero { position: relative; overflow: hidden; padding: 62px 0 42px; border-bottom: 1px solid var(--ink); text-align: center; background: var(--paper); }
.hero-inner { max-width: 920px; position: relative; z-index: 1; }
.hero-signal { width: 66px; height: 66px; margin: 0 auto 22px; border: 2px solid var(--ink); border-radius: 50%; position: relative; display: grid; place-items: center; color: var(--coral); font-size: 22px; font-weight: 900; background: var(--white); }
.hero-signal::before { content: ""; position: absolute; width: 34px; height: 2px; background: var(--coral); transform: rotate(-33deg); top: 18px; left: 15px; }
.hero-signal i, .hero-signal b { position: absolute; bottom: 15px; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.hero-signal i { left: 18px; }
.hero-signal b { right: 18px; background: var(--mint); }
.hero h1 { margin: 0 auto; max-width: 850px; font-size: clamp(42px, 6.4vw, 74px); line-height: 1.03; letter-spacing: -.055em; font-weight: 700; }
.hero-lead { max-width: 790px; margin: 24px auto 0; color: var(--muted); font-size: 18px; line-height: 1.75; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 48px; padding: 10px 20px; border: 1px solid var(--ink); text-decoration: none; font-weight: 800; border-radius: 6px; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { background: var(--coral); color: var(--ink); box-shadow: 4px 4px 0 var(--yellow); }
.button-primary:hover, .button-primary:focus-visible { background: #f28b70; }
.button-quiet { background: transparent; color: var(--ink); }
.button-quiet:hover, .button-quiet:focus-visible { background: var(--white); }
.hero-measures { display: flex; justify-content: center; margin: 40px auto 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); max-width: 730px; }
.hero-measures div { flex: 1; display: flex; align-items: baseline; justify-content: center; gap: 8px; min-height: 60px; border-right: 1px solid var(--line); }
.hero-measures div:last-child { border-right: 0; }
.hero-measures strong { color: var(--coral); font-size: 24px; }
.hero-measures span { color: var(--muted); font-size: 13px; }
.hero-rule { display: flex; align-items: center; justify-content: center; gap: 26px; margin-top: 30px; }
.hero-rule::before, .hero-rule::after { content: ""; width: min(170px, 22vw); height: 1px; background: var(--ink); }
.hero-rule span { width: 9px; height: 9px; border: 2px solid var(--ink); border-radius: 50%; background: var(--yellow); }
.hero-rule span:nth-of-type(2), .hero-rule span:nth-of-type(4) { background: var(--white); }

.section { padding: 64px 0; border-bottom: 1px solid var(--line); }
.section-paper { background: var(--paper); }
.section-mint { background: var(--mint); }
.section-blue { background: var(--blue); }
.section-heading { max-width: none; margin-bottom: 28px; }
.section-heading h2 { margin: 0 0 12px; font-size: clamp(30px, 4vw, 48px); line-height: 1.12; letter-spacing: -.04em; font-weight: 650; }
.section-heading p { max-width: none; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.after-note { max-width: none; margin: 24px 0 0; color: var(--muted); font-size: 16px; line-height: 1.75; }

.section-ranking { background: #eaf0ee; }
.ledger { display: grid; gap: 11px; }
.ledger-head { display: none; }
.ledger-row { display: grid; grid-template-columns: 38px 142px minmax(210px, 1fr) minmax(240px, 1.15fr) 126px; align-items: center; gap: 18px; min-height: 104px; padding: 14px 16px; background: var(--white); border: 1px solid #cbd8d4; border-radius: 10px; box-shadow: 0 5px 0 rgba(21, 43, 59, .07); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.ledger-row:nth-of-type(even) { background: var(--white); }
.ledger-row:hover { transform: translateY(-2px); border-color: var(--coral); box-shadow: 0 8px 0 rgba(21, 43, 59, .09); }
.row-number { display: grid; place-items: center; width: 30px; height: 30px; margin: auto; border-radius: 50%; background: var(--ink); color: var(--yellow); font-weight: 900; font-size: 12px; }
.logo-frame { height: 68px; display: grid; place-items: center; background: #e7eee9; border: 1px solid #c7d2cf; border-radius: 8px; padding: 9px; }
.logo-frame img { max-width: 100%; max-height: 48px; object-fit: contain; }
.row-main h3 { margin: 0 0 4px; font-size: 20px; line-height: 1.2; font-weight: 700; }
.row-main strong { font-size: 14px; line-height: 1.45; }
.ledger-row p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.row-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; justify-self: end; width: 126px; min-height: 42px; padding: 8px 10px; text-decoration: none; background: var(--coral); color: var(--ink); border: 1px solid var(--ink); border-radius: 6px; font-size: 12px; font-weight: 900; white-space: nowrap; box-shadow: 3px 3px 0 var(--yellow); }
.row-cta:hover, .row-cta:focus-visible { background: var(--ink); color: var(--white); }
.row-cta span { color: var(--yellow); }

.checklist-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.check-item { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 22px 22px 22px 0; border-bottom: 1px solid var(--line); }
.check-item:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 28px; }
.check-item:nth-child(even) { padding-left: 28px; }
.check-item > span, .route-item > strong { color: var(--coral); font-weight: 900; }
.check-item h3, .route-item h3, .mobile-path h3, .feature-grid h3 { margin: 0 0 4px; font-size: 20px; line-height: 1.25; font-weight: 700; }
.check-item p, .route-item p, .mobile-path p, .feature-grid p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
table { width: 100%; min-width: 860px; border-collapse: collapse; text-align: left; }
th, td { padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--ink); color: var(--white); text-transform: uppercase; letter-spacing: .07em; font-size: 12px; font-weight: 800; }
tbody tr:nth-child(even) { background: #edf3f0; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody th { font-size: 15px; font-weight: 800; }
tbody td { color: var(--muted); font-size: 15px; line-height: 1.55; }

.route-list { border-top: 1px solid var(--ink); }
.route-item { display: grid; grid-template-columns: 42px minmax(0, 1fr) 120px; gap: 20px; padding: 20px 0; border-bottom: 1px solid rgba(21,43,59,.24); align-items: start; }
.route-item em { color: var(--coral); font-size: 12px; font-style: normal; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; text-align: right; }

.boundary-lines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.boundary-lines > div { padding: 22px 24px 24px 0; }
.boundary-lines > div + div { border-left: 1px solid var(--line); padding-left: 24px; }
.boundary-lines span, .feature-grid span, .record-card span { color: var(--coral); font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.boundary-lines strong { display: block; margin-top: 7px; font-size: 22px; line-height: 1.25; }
.boundary-lines p { margin: 8px 0 0; color: var(--muted); }

.mobile-path { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.mobile-path > div { padding: 22px 20px 24px 0; }
.mobile-path > div + div { border-left: 1px solid var(--line); padding-left: 20px; }
.mobile-path span { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; background: var(--yellow); color: var(--ink); font-size: 12px; font-weight: 900; }
.mobile-path h3 { margin-top: 16px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.feature-grid article { padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-grid h3 { margin-top: 8px; }

.record-card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.record-card > div { display: grid; gap: 5px; padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.record-card strong { font-size: 18px; }

.section-faq { background: var(--white); }
.faq-list { border-top: 1px solid var(--ink); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 20px 0; font-size: 18px; font-weight: 550; display: flex; justify-content: space-between; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--coral); font-weight: 800; }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 20px; max-width: 850px; color: var(--muted); }

.site-footer { background: var(--deep); color: #eaf1ed; padding: 58px 0 22px; }
.footer-top { display: grid; grid-template-columns: 1.3fr .75fr .95fr; gap: 56px; }
.wordmark-footer { color: #fffdfa; }
.wordmark-footer small { color: var(--yellow); }
.footer-brand > p { max-width: 390px; color: #bad0d2; margin: 20px 0 0; }
.site-footer h3 { margin: 0 0 14px; font-size: 17px; color: var(--yellow); }
.site-footer a:not(.wordmark) { display: block; color: #eaf1ed; margin: 7px 0; font-size: 14px; }
.site-footer p { color: #bad0d2; font-size: 14px; line-height: 1.7; }
.age-mark { display: grid; place-items: center; width: 48px; height: 48px; margin-top: 12px; border: 1px solid var(--coral); border-radius: 50%; color: var(--coral); font-weight: 900; }
.support-strip { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 46px; padding: 20px 0; border-top: 1px solid rgba(234,241,237,.25); border-bottom: 1px solid rgba(234,241,237,.25); }
.support-strip strong { color: var(--mint); }
.support-strip p { margin: 5px 0 0; max-width: 570px; }
.support-logos { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.support-logos img { width: 88px; height: 38px; object-fit: contain; background: var(--deep); border: 1px solid rgba(234,241,237,.2); border-radius: 4px; padding: 5px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; color: #9cb7bd; font-size: 12px; }

.catfish { position: fixed; z-index: 25; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(760px, calc(100% - 30px)); display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 18px; background: var(--white); border: 1px solid var(--ink); box-shadow: 5px 5px 0 var(--yellow); border-radius: 8px; }
.catfish > div { display: grid; gap: 2px; }
.catfish-label, .modal-label { color: var(--coral); font-size: 10px; letter-spacing: .1em; font-weight: 900; }
.catfish strong { font-size: 16px; line-height: 1.3; }
.catfish small { color: var(--muted); font-size: 12px; }
.catfish .button { min-width: 112px; }
.modal-backdrop { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 20px; background: rgba(15, 28, 39, .72); opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease; }
.modal-backdrop.is-visible { opacity: 1; visibility: visible; }
.offer-modal { position: relative; width: min(560px, 100%); padding: 34px; background: var(--white); border: 1px solid var(--ink); box-shadow: 8px 8px 0 var(--coral); border-radius: 10px; transform: translateY(14px); transition: transform .35s ease; display: grid; gap: 16px; }
.modal-backdrop.is-visible .offer-modal { transform: translateY(0); }
.offer-modal strong { max-width: 420px; font-size: clamp(26px, 4vw, 38px); line-height: 1.1; letter-spacing: -.03em; }
.offer-modal .button { width: fit-content; }
.modal-close { position: absolute; right: 16px; top: 12px; border: 0; background: transparent; color: var(--ink); cursor: pointer; font-size: 28px; line-height: 1; }

@media (max-width: 980px) {
  .ledger-row { grid-template-columns: 34px 118px minmax(0, 1fr) 108px; }
  .ledger-row p { grid-column: 3 / 4; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .shell, .narrow-section { width: min(100% - 32px, 620px); }
  .header-inner { align-items: flex-start; padding: 14px 0; flex-direction: column; }
  .main-nav { justify-content: flex-start; gap: 12px 18px; }
  .hero { padding-top: 44px; }
  .hero h1 { font-size: clamp(38px, 12vw, 58px); }
  .hero-lead { font-size: 16px; }
  .hero-measures { margin-top: 30px; }
  .hero-measures div { display: grid; gap: 0; padding: 8px 4px; }
  .section { padding: 44px 0; }
  .section-heading h2 { font-size: 31px; }
  .section-heading p { font-size: 16px; }
  .ledger-row { grid-template-columns: 28px 1fr 94px; gap: 12px; padding: 15px 12px; }
  .logo-frame { grid-column: 2 / 3; grid-row: 1; height: 58px; }
  .row-main { grid-column: 2 / 3; grid-row: 2; }
  .row-number { grid-column: 1 / 2; grid-row: 1; }
  .ledger-row p { grid-column: 2 / 4; grid-row: 3; }
  .row-cta { grid-column: 3 / 4; grid-row: 2; justify-self: end; width: 94px; }
  .checklist-grid, .boundary-lines, .record-card { grid-template-columns: 1fr; }
  .check-item:nth-child(odd), .check-item:nth-child(even) { border-right: 0; padding: 18px 0; padding-left: 0; }
  .boundary-lines > div, .boundary-lines > div + div { padding: 18px 0; border-left: 0; }
  .boundary-lines > div + div { border-top: 1px solid var(--line); }
  .mobile-path, .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mobile-path > div, .mobile-path > div + div { padding: 18px 12px 18px 0; border-left: 0; }
  .mobile-path > div:nth-child(even) { padding-left: 12px; border-left: 1px solid var(--line); }
  .mobile-path > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .feature-grid article { padding: 16px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-top > :last-child { grid-column: auto; }
  .support-strip, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .support-logos { justify-content: flex-start; }
  .catfish { bottom: 10px; padding: 12px; }
  .catfish strong { font-size: 13px; }
  .catfish small { font-size: 10px; }
  .catfish .button { min-width: 94px; padding: 9px 12px; font-size: 13px; }
  .offer-modal { padding: 28px 24px; }
}
