:root {
  color-scheme: light;
  --paper: #faf7f0;
  --paper-deep: #f1eadf;
  --navy: #0d1333;
  --navy-soft: #17224f;
  --gold: #ffc857;
  --gold-deep: #a85f00;
  --muted: #5b6275;
  --line: #ddd5c8;
  --white: #ffffff;
  --success: #146b55;
  --shadow: 0 24px 60px rgba(13, 19, 51, 0.13);
  font-family: "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--navy); }
a { color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(13, 19, 51, 0.08);
  background: rgba(250, 247, 240, 0.94);
  backdrop-filter: blur(14px);
}
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 850; text-decoration: none; }
.brand img { width: 42px; height: 42px; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 700; }
.nav-links a { text-decoration: none; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--gold-deep); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}
.button.secondary { background: transparent; color: var(--navy); }
.button.gold { border-color: var(--gold); background: var(--gold); color: var(--navy); }

.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 72px;
  padding: 76px 0 86px;
  overflow: hidden;
}
.eyebrow { margin: 0 0 18px; color: var(--gold-deep); font-size: 14px; font-weight: 850; letter-spacing: 0.16em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(46px, 6.4vw, 84px); line-height: 0.98; letter-spacing: -0.055em; }
h2 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.02; letter-spacing: -0.04em; }
h3 { font-size: 21px; line-height: 1.2; }
.lead { max-width: 680px; color: var(--muted); font-size: clamp(19px, 2.1vw, 25px); line-height: 1.48; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0; }
.proof-line { display: flex; flex-wrap: wrap; gap: 10px 18px; color: var(--muted); font-size: 14px; font-weight: 650; }
.proof-line span::before { content: "✓"; margin-right: 7px; color: var(--success); font-weight: 900; }

.orbit-stage { position: relative; min-height: 580px; display: grid; place-items: center; }
.orbit {
  position: absolute;
  width: min(520px, 94%);
  aspect-ratio: 1;
  border: 2px solid rgba(13, 19, 51, 0.18);
  border-radius: 50%;
  animation: orbit-spin 16s linear infinite;
}
.orbit::after {
  content: "";
  position: absolute;
  top: 12%;
  right: 12%;
  width: 26px;
  height: 26px;
  border: 5px solid var(--paper);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 6px 24px rgba(255, 200, 87, 0.55);
}
.phone-card { position: relative; width: min(332px, 70vw); z-index: 2; filter: drop-shadow(var(--shadow)); }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .orbit { animation: none; } }

.section { padding: 92px 0; }
.section.dark { background: var(--navy); color: var(--white); }
.section.gold-wash { background: var(--paper-deep); }
.section-head { max-width: 780px; margin-bottom: 42px; }
.section-head p { color: var(--muted); font-size: 19px; line-height: 1.55; }
.dark .section-head p { color: #cfd5e7; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,0.65); }
.dark .card { border-color: rgba(255,255,255,0.15); background: rgba(255,255,255,0.07); }
.card .number { color: var(--gold-deep); font: 800 14px/1 ui-monospace, "Cascadia Code", monospace; letter-spacing: .1em; }
.card p { margin-bottom: 0; color: var(--muted); line-height: 1.55; }
.dark .card p { color: #cfd5e7; }

.feature-row { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 70px; }
.feature-row img { max-height: 680px; margin: 0 auto; border-radius: 28px; box-shadow: var(--shadow); }
.checklist { display: grid; gap: 16px; margin: 26px 0 0; padding: 0; list-style: none; }
.checklist li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; line-height: 1.5; }
.checklist li::before { content: "✓"; display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 900; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: 26px; background: var(--white); box-shadow: 0 10px 35px rgba(13,19,51,.06); }
.price-card.featured { border: 2px solid var(--gold); }
.badge { align-self: flex-start; margin-bottom: 18px; padding: 7px 11px; border-radius: 999px; background: #fff4d4; color: #755000; font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.price { margin: 10px 0 18px; font: 850 clamp(30px, 4vw, 44px)/1 ui-monospace, "Cascadia Code", monospace; letter-spacing: -.06em; }
.price small { color: var(--muted); font: 650 14px/1.3 "Segoe UI Variable", system-ui, sans-serif; letter-spacing: 0; }
.price-card ul { flex: 1; padding-left: 20px; color: var(--muted); line-height: 1.65; }
.fine-print { color: var(--muted); font-size: 14px; line-height: 1.55; }

.cta { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; padding: 44px; border-radius: 30px; background: var(--gold); }
.cta h2 { margin-bottom: 8px; font-size: clamp(30px, 4vw, 48px); }
.cta p { margin: 0; color: #4d3a13; }

.page-hero { padding: 78px 0 46px; }
.page-hero h1 { font-size: clamp(44px, 7vw, 76px); }
.prose { max-width: 820px; padding-bottom: 90px; }
.prose h2 { margin-top: 44px; font-size: 30px; }
.prose p, .prose li { color: #333b55; font-size: 17px; line-height: 1.7; }
.notice { padding: 20px 22px; border-left: 5px solid var(--gold); background: #fff4d4; color: #4d3a13; }

.calculator-hero { max-width: 1020px; }
.privacy-note { display: inline-flex; margin-top: 12px; padding: 12px 16px; border-radius: 14px; background: #e7f3ee; color: var(--success); font-weight: 750; }
.calculator-layout { display: grid; grid-template-columns: 1fr .82fr; gap: 24px; align-items: start; padding-bottom: 92px; }
.calculator-card, .calculator-result { padding: clamp(24px, 4vw, 42px); border: 1px solid var(--line); border-radius: 28px; background: var(--white); box-shadow: 0 12px 40px rgba(13,19,51,.08); }
.calculator-card h2, .calculator-result h2 { font-size: clamp(28px, 4vw, 42px); }
.calculator-fields { display: grid; grid-template-columns: 1fr; gap: 9px; margin: 30px 0 24px; }
.calculator-fields label { margin-top: 12px; font-weight: 800; }
.calculator-fields small { color: var(--muted); line-height: 1.45; }
.calculator-fields input { width: 100%; min-height: 52px; padding: 0 16px; border: 1px solid #aab0c0; border-radius: 14px; background: #fff; color: var(--navy); font: 700 18px/1 ui-monospace, "Cascadia Code", monospace; }
.calculator-fields input:focus-visible { outline: 3px solid rgba(255,200,87,.55); outline-offset: 2px; border-color: var(--navy); }
.money-field { position: relative; }
.money-field input { padding-right: 48px; }
.money-field span { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 850; }
.calculator-submit { width: 100%; border: 0; cursor: pointer; }
.calculator-error { padding: 12px 14px; border-radius: 12px; background: #fee8e7; color: #8b1d18; font-weight: 750; }
.calculator-result { position: sticky; top: 96px; background: var(--navy); color: var(--white); }
.calculator-result .eyebrow { color: var(--gold); }
.calculator-result p { color: #d8dcec; line-height: 1.6; }
.result-placeholder { min-height: 120px; }
.result-label { margin-bottom: 4px; font-weight: 800; }
.result-amount { margin-bottom: 18px; color: var(--gold) !important; font: 900 clamp(42px, 7vw, 72px)/1 ui-monospace, "Cascadia Code", monospace; letter-spacing: -.07em; }
.result-amount.negative { color: #ffaaa4 !important; }
.result-formula { padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); font: 650 13px/1.55 ui-monospace, "Cascadia Code", monospace; }
.calculator-next-step { margin-top: 26px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); }
.calculator-next-step .button { width: 100%; border-color: var(--gold); background: var(--gold); color: var(--navy); text-align: center; }
.calculator-explanation { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: start; }
.calculator-explanation p { color: var(--muted); font-size: 18px; line-height: 1.6; }

.site-footer { padding: 54px 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 28px; }
.footer-grid h3 { font-size: 15px; }
.footer-grid a { display: block; margin: 10px 0; color: var(--muted); text-decoration: none; }
.footer-grid p { color: var(--muted); line-height: 1.55; }

@media (max-width: 860px) {
  .nav-links a:not(.button) { display: none; }
  .hero, .feature-row, .calculator-layout, .calculator-explanation { grid-template-columns: 1fr; }
  .hero { gap: 20px; padding-top: 56px; }
  .orbit-stage { min-height: 520px; }
  .grid-3, .price-grid { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .calculator-result { position: static; }
}

@media (max-width: 520px) {
  .shell { width: min(100% - 28px, 1160px); }
  .nav { min-height: 64px; }
  .nav-links .button { min-height: 42px; padding: 0 15px; font-size: 13px; }
  .hero { min-height: 0; }
  .orbit-stage { min-height: 450px; }
  .section { padding: 66px 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
