:root {
  color-scheme: light dark;
  --page: #f4f5f6;
  --sheet: #fbfbfa;
  --raised: #ffffff;
  --ink: #17212b;
  --secondary: #4e5f70;
  --muted: #708091;
  --line: #cfd5da;
  --line-strong: #aeb8c1;
  --cobalt: #1f5ca8;
  --cobalt-dark: #17477f;
  --success: #187050;
  --warning: #94610b;
  --danger: #b63a2d;
  --shadow: rgba(25, 40, 55, .16);
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #121820;
    --sheet: #171f28;
    --raised: #1c2630;
    --ink: #edf1f4;
    --secondary: #bdc7cf;
    --muted: #93a2ae;
    --line: #35414c;
    --line-strong: #4d5b68;
    --cobalt: #6ea2d7;
    --cobalt-dark: #8db7df;
    --success: #65b996;
    --warning: #ddb66b;
    --danger: #eb8378;
    --shadow: rgba(0, 0, 0, .34);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--page); -webkit-font-smoothing: antialiased; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: "Arial Nova", Aptos, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--cobalt) 35%, transparent); outline-offset: 3px; }

.skip-link { position: fixed; top: 8px; left: 8px; z-index: 20; transform: translateY(-150%); background: var(--ink); color: var(--page); padding: 10px 14px; }
.skip-link:focus { transform: translateY(0); }
.site-header, .hero, .proof-strip, .section, .final-cta, .site-footer-inner { width: min(1240px, calc(100% - 40px)); margin-inline: auto; }

.site-header { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; text-decoration: none; }
.brand > span:last-child { display: grid; line-height: 1.08; }
.brand strong { font-size: 15px; letter-spacing: -.01em; }
.brand small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.brand-mark { display: flex; align-items: end; gap: 3px; width: 36px; height: 36px; padding: 7px; border-radius: 6px; background: var(--ink); }
.brand-mark i { display: block; width: 5px; background: var(--page); }
.brand-mark i:nth-child(1) { height: 9px; }
.brand-mark i:nth-child(2) { height: 15px; }
.brand-mark i:nth-child(3) { height: 21px; }
.site-nav, .footer-links, .hero-actions { display: flex; align-items: center; }
.site-nav { gap: 4px; }
.site-nav > a:not(.button) { min-height: 44px; display: inline-flex; align-items: center; padding: 0 11px; color: var(--secondary); font-size: 13px; font-weight: 650; text-decoration: none; }
.site-nav > a:not(.button):hover { color: var(--ink); }

.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--cobalt); border-radius: 6px; padding: 10px 17px; background: var(--cobalt); color: #fff; font-size: 14px; font-weight: 750; text-decoration: none; white-space: nowrap; transition: background-color 150ms cubic-bezier(.23,1,.32,1), transform 120ms cubic-bezier(.23,1,.32,1); }
.button:hover { background: var(--cobalt-dark); }
.button:active { transform: scale(.98); }
.button-small { min-height: 38px; padding: 7px 12px; font-size: 12px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--cobalt-dark); font-size: 14px; font-weight: 750; text-underline-offset: 4px; }

.hero { min-height: min(710px, calc(100dvh - 72px)); display: grid; grid-template-columns: minmax(360px, .72fr) minmax(560px, 1.28fr); align-items: center; gap: 52px; padding: 48px 0 54px; overflow: hidden; }
.hero-copy { align-self: center; }
.eyebrow { margin: 0 0 16px; color: var(--cobalt-dark); font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 10.8ch; margin-bottom: 22px; font-size: clamp(48px, 5.4vw, 76px); line-height: .98; letter-spacing: -.052em; font-weight: 780; text-wrap: balance; }
.hero-lead { max-width: 515px; margin-bottom: 0; color: var(--secondary); font-size: 19px; line-height: 1.48; text-wrap: pretty; }
.hero-actions { flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.hero-product { position: relative; align-self: stretch; min-height: 520px; margin: 0; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--raised); box-shadow: 0 24px 64px var(--shadow); }
.hero-product img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; }

.proof-strip { display: grid; grid-template-columns: 1fr 1fr 1.35fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-strip > div { display: grid; gap: 3px; min-height: 112px; align-content: center; padding: 20px 28px; }
.proof-strip > div + div { border-left: 1px solid var(--line); }
.proof-strip strong { font-size: 18px; letter-spacing: -.02em; }
.proof-strip span { color: var(--secondary); font-size: 13px; }

.section { padding: 112px 0; }
.section-heading { max-width: 780px; margin-bottom: 46px; }
.section h2, .final-cta h2, .article h1 { margin-bottom: 16px; font-size: clamp(38px, 4.6vw, 62px); line-height: 1.02; letter-spacing: -.045em; font-weight: 760; text-wrap: balance; }
.section-heading > p:last-child, .route-copy p, .safeguard-title p, .log-copy p, .final-cta p { max-width: 62ch; margin-bottom: 0; color: var(--secondary); font-size: 17px; text-wrap: pretty; }

.product-stage { position: relative; padding-right: 110px; }
.product-shot { width: 100%; height: auto; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--raised); box-shadow: 0 24px 64px var(--shadow); }
.product-note { position: absolute; right: 0; bottom: 64px; width: 286px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--raised); padding: 22px; box-shadow: 0 16px 40px var(--shadow); }
.product-note strong { display: block; margin-bottom: 7px; font-size: 17px; }
.product-note p { margin: 0; color: var(--secondary); font-size: 13px; }

.route-section { display: grid; grid-template-columns: minmax(280px, .55fr) minmax(580px, 1.45fr); gap: 84px; border-top: 1px solid var(--line); }
.route-copy h2 { font-size: clamp(40px, 4vw, 58px); }
.route-ledger { margin: 0; padding: 0; list-style: none; }
.route-ledger li { display: grid; grid-template-columns: 105px 190px minmax(0, 1fr); gap: 22px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line); }
.route-ledger li:first-child { border-top: 1px solid var(--line); }
.route-ledger span { color: var(--cobalt-dark); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.route-ledger strong { font-size: 16px; }
.route-ledger p { margin: 0; color: var(--secondary); font-size: 14px; }

.safeguards { display: grid; grid-template-columns: minmax(360px, .82fr) minmax(520px, 1.18fr); gap: 100px; }
.safeguard-title { position: sticky; top: 32px; align-self: start; }
.safeguard-list { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.safeguard-list article { min-height: 220px; display: flex; flex-direction: column; justify-content: end; border: 1px solid var(--line); border-radius: 6px; background: var(--sheet); padding: 26px; }
.safeguard-list article:nth-child(2), .safeguard-list article:nth-child(3) { background: color-mix(in srgb, var(--cobalt) 7%, var(--sheet)); }
.safeguard-list strong { margin-bottom: 8px; font-size: 18px; }
.safeguard-list p { margin: 0; color: var(--secondary); font-size: 14px; }
code { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: .92em; }

.log-section { display: grid; grid-template-columns: minmax(290px, .62fr) minmax(600px, 1.38fr); align-items: center; gap: 70px; border-top: 1px solid var(--line); }
.log-copy .text-link { margin-top: 16px; }

.pricing-section { border-top: 1px solid var(--line); }
.pricing { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.plan { padding: 34px 36px 36px 0; }
.plan + .plan { border-left: 1px solid var(--line-strong); padding-right: 0; padding-left: 36px; }
.plan header { display: flex; align-items: start; justify-content: space-between; gap: 24px; }
.plan h3 { margin-bottom: 4px; font-size: 28px; line-height: 1; }
.plan header p { margin: 0; color: var(--secondary); font-size: 13px; }
.plan-price { display: grid; justify-items: end; }
.plan-price strong { font-size: 30px; line-height: 1; letter-spacing: -.035em; }
.plan-price span { margin-top: 5px; color: var(--muted); font-size: 11px; }
.plan ul { display: grid; gap: 10px; margin: 30px 0 0; padding: 0; list-style: none; }
.plan li { position: relative; padding-left: 22px; color: var(--secondary); font-size: 14px; }
.plan li::before { position: absolute; left: 0; color: var(--success); font-weight: 800; content: "✓"; }
.annual { margin: 27px 0 0; color: var(--ink); font-size: 13px; font-weight: 700; }
.pricing-action { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 28px; }
.pricing-action p { margin: 0; color: var(--secondary); font-size: 14px; }

.faq-section { display: grid; grid-template-columns: .55fr 1.45fr; gap: 84px; border-top: 1px solid var(--line); }
.faq-grid details { border-bottom: 1px solid var(--line); }
.faq-grid details:first-child { border-top: 1px solid var(--line); }
.faq-grid summary { cursor: pointer; padding: 22px 38px 22px 0; font-size: 16px; font-weight: 700; }
.faq-grid p { max-width: 66ch; margin: -4px 0 22px; color: var(--secondary); font-size: 14px; }

.final-cta { display: flex; align-items: center; justify-content: space-between; gap: 44px; margin-bottom: 88px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--sheet); padding: 42px 46px; }
.final-cta h2 { margin-bottom: 8px; font-size: clamp(32px, 3.5vw, 50px); }
.final-cta p { font-size: 15px; }
.site-footer { border-top: 1px solid var(--line); }
.site-footer-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 28px; color: var(--muted); font-size: 12px; }
.footer-links { flex-wrap: wrap; gap: 22px; }
.footer-links a { min-height: 40px; display: inline-flex; align-items: center; }

.article { width: min(850px, calc(100% - 40px)); margin: 0 auto; padding: 82px 0 110px; }
.article > .eyebrow { margin-bottom: 14px; }
.article h1 { max-width: 14ch; }
.article > p:not(.eyebrow) { max-width: 68ch; color: var(--secondary); font-size: 18px; }
.article-section { padding-top: 42px; margin-top: 42px; border-top: 1px solid var(--line); }
.article-section h2 { margin-bottom: 14px; font-size: 30px; line-height: 1.12; letter-spacing: -.025em; }
.article-section h3 { margin: 30px 0 10px; font-size: 19px; }
.article-section p, .article-section li { color: var(--secondary); font-size: 15px; }
.article-section li + li { margin-top: 8px; }
.article-section a { color: var(--cobalt-dark); font-weight: 650; text-underline-offset: 3px; }
.notice { margin: 34px 0 0; border-left: 3px solid var(--cobalt); background: color-mix(in srgb, var(--cobalt) 7%, var(--sheet)); padding: 18px 20px; color: var(--secondary); }
.notice strong { color: var(--ink); }
.notice-warning { border-left-color: var(--warning); background: color-mix(in srgb, var(--warning) 8%, var(--sheet)); }

@media (max-width: 980px) {
  .site-header, .hero, .proof-strip, .section, .final-cta, .site-footer-inner { width: min(100% - 28px, 760px); }
  .site-nav > a:not(.button) { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 34px; padding: 52px 0 40px; }
  .hero-copy { max-width: 680px; }
  .hero-product { min-height: 430px; }
  .proof-strip { grid-template-columns: 1fr; }
  .proof-strip > div { min-height: 88px; padding: 16px 4px; }
  .proof-strip > div + div { border-top: 1px solid var(--line); border-left: 0; }
  .section { padding: 82px 0; }
  .product-stage { padding-right: 0; }
  .product-note { position: static; width: auto; margin-top: 16px; box-shadow: none; }
  .route-section, .safeguards, .log-section, .faq-section { grid-template-columns: 1fr; gap: 42px; }
  .safeguard-title { position: static; }
  .log-section .product-shot { order: -1; }
}

@media (max-width: 680px) {
  .site-header, .hero, .proof-strip, .section, .final-cta, .site-footer-inner { width: calc(100% - 24px); }
  .site-header { min-height: 66px; }
  .brand small { display: none; }
  .site-nav { margin-left: auto; }
  .site-nav .button { min-height: 38px; padding-inline: 10px; font-size: 11px; }
  .hero { padding-top: 42px; }
  h1 { font-size: clamp(43px, 14.5vw, 59px); }
  .hero-lead { font-size: 17px; }
  .hero-actions { align-items: start; flex-direction: column; gap: 8px; }
  .hero-product { min-height: 350px; }
  .hero-product img { width: auto; max-width: none; height: 100%; object-position: top left; }
  .section { padding: 68px 0; }
  .section h2, .article h1 { font-size: 38px; }
  .section-heading { margin-bottom: 30px; }
  .route-ledger li { grid-template-columns: 1fr; gap: 5px; padding: 21px 0; }
  .safeguard-list { grid-template-columns: 1fr; }
  .safeguard-list article { min-height: 165px; }
  .pricing { grid-template-columns: 1fr; }
  .plan { padding: 28px 0; }
  .plan + .plan { border-top: 1px solid var(--line-strong); border-left: 0; padding: 28px 0; }
  .plan header { display: grid; }
  .plan-price { justify-items: start; }
  .pricing-action { align-items: start; flex-direction: column; }
  .final-cta { align-items: start; flex-direction: column; margin-bottom: 56px; padding: 28px 24px; }
  .site-footer-inner { align-items: start; flex-direction: column; justify-content: center; padding: 26px 0; }
  .footer-links { gap: 15px; }
  .article { width: calc(100% - 28px); padding: 58px 0 82px; }
  .article-section { padding-top: 32px; margin-top: 32px; }
}

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