:root {
  --ink: #122238;
  --muted: #596779;
  --paper: #f7f4ee;
  --white: #ffffff;
  --navy: #102b4e;
  --navy-2: #17416f;
  --blue: #245f9b;
  --gold: #d69a2d;
  --gold-soft: #fff3d5;
  --line: #dce2e8;
  --success: #176b52;
  --shadow: 0 20px 54px rgba(16, 43, 78, 0.12);
  --radius: 18px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}
a { color: inherit; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 999;
  background: var(--navy);
  color: white;
  padding: 10px 14px;
}
.skip-link:focus { left: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(220, 226, 232, 0.9);
  backdrop-filter: blur(12px);
}
.nav-wrap {
  width: min(calc(100% - 32px), var(--max));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: white;
  box-shadow: 0 8px 20px rgba(16, 43, 78, 0.18);
  font-family: Georgia, serif;
  font-size: 1.2rem;
}
.brand-copy { display: grid; line-height: 1.1; }
.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.71rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a {
  color: #35465a;
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--blue); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  color: var(--navy);
  cursor: pointer;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 2px solid var(--navy);
  border-radius: 12px;
  background: var(--navy);
  color: white;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.button:hover { transform: translateY(-1px); background: var(--navy-2); box-shadow: 0 9px 22px rgba(16,43,78,.16); }
.button-secondary { background: transparent; color: var(--navy); }
.button-secondary:hover { background: #edf3f8; }
.button-gold { border-color: var(--gold); background: var(--gold); color: #17202d; }
.button-small { min-height: 42px; padding: 9px 16px; font-size: .9rem; }

.container { width: min(calc(100% - 36px), var(--max)); margin: 0 auto; }
.section { padding: 84px 0; }
.section-sm { padding: 56px 0; }
.section-paper { background: var(--paper); }
.section-navy { background: var(--navy); color: white; }
.section-label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.section-navy .section-label { color: #f3c76e; }
h1, h2, h3 { margin: 0 0 16px; line-height: 1.12; letter-spacing: -0.035em; }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.65rem, 7vw, 5.7rem); font-weight: 700; }
h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4.5vw, 3.5rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.02em; }
p { margin: 0 0 18px; }
.lead { max-width: 720px; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.3rem); }
.section-navy .lead, .section-navy p { color: #d7e2ee; }
.narrow { max-width: 780px; }
.center { text-align: center; margin-inline: auto; }

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 10%, rgba(214,154,45,.17), transparent 28%),
    linear-gradient(135deg, #f8fbff 0%, #ffffff 48%, #f7f4ee 100%);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 72px;
  padding: 78px 0;
}
.hero h1 span { color: var(--blue); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 24px; }
.trust-line { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .9rem; font-weight: 650; }
.trust-line span::before { content: "✓"; margin-right: 7px; color: var(--success); font-weight: 900; }

.result-card {
  position: relative;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  box-shadow: var(--shadow);
}
.result-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 34px;
  right: 34px;
  height: 5px;
  border-radius: 0 0 6px 6px;
  background: var(--gold);
}
.result-card .eyebrow { color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.result-card h2 { margin-top: 12px; font-size: 2rem; }
.input-stack { display: grid; gap: 10px; margin: 24px 0; }
.input-item, .output-item { padding: 13px 15px; border-radius: 10px; font-weight: 650; }
.input-item { background: #f2f4f6; color: #516174; }
.output-item { background: var(--gold-soft); color: #493511; border: 1px solid #efd59f; }
.arrow-line { display: flex; align-items: center; gap: 10px; margin: 12px 0; color: var(--blue); font-weight: 800; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card {
  height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}
.card p { color: var(--muted); }
.card .price { margin-top: 22px; color: var(--navy); font-size: 1.45rem; font-weight: 850; }
.card-link { display: inline-flex; margin-top: 8px; color: var(--blue); font-weight: 750; text-decoration: none; }
.card-link:hover { text-decoration: underline; }
.icon-box { width: 46px; height: 46px; margin-bottom: 22px; border-radius: 12px; display: grid; place-items: center; background: #edf3f8; color: var(--navy); font-weight: 900; }

.steps { counter-reset: steps; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.step { position: relative; padding: 24px 18px; border-top: 3px solid var(--line); }
.step::before { counter-increment: steps; content: counter(steps); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 18px; border-radius: 50%; background: var(--navy); color: white; font-weight: 800; }
.step strong { display: block; margin-bottom: 7px; }
.step span { color: var(--muted); font-size: .92rem; }

.comparison { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: var(--shadow); }
.comparison-row { display: grid; grid-template-columns: 1fr 1fr; }
.comparison-cell { padding: 22px 26px; border-bottom: 1px solid var(--line); }
.comparison-cell + .comparison-cell { border-left: 1px solid var(--line); }
.comparison-row:last-child .comparison-cell { border-bottom: 0; }
.comparison-head { background: var(--navy); color: white; font-weight: 800; }
.comparison-cell.good::before { content: "✓"; color: var(--success); margin-right: 9px; font-weight: 900; }
.comparison-cell.work::before { content: "—"; color: #9b6c11; margin-right: 9px; font-weight: 900; }

.page-hero { padding: 82px 0 66px; background: linear-gradient(135deg, #f8fbff, var(--paper)); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 880px; font-size: clamp(2.55rem, 6vw, 4.7rem); }
.breadcrumbs { margin-bottom: 18px; color: var(--muted); font-size: .9rem; }
.breadcrumbs a { color: var(--blue); text-decoration: none; }

.price-table { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: white; }
.price-table th, .price-table td { padding: 18px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.price-table th { background: var(--navy); color: white; font-size: .88rem; letter-spacing: .03em; text-transform: uppercase; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table td:first-child { font-weight: 800; color: var(--navy); }
.price-table .amount { white-space: nowrap; font-weight: 850; color: var(--success); }

.offer {
  position: relative;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
}
.offer.featured { border: 2px solid var(--gold); box-shadow: var(--shadow); }
.badge { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: var(--gold-soft); color: #6b4a0e; font-size: .75rem; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; }
.offer ul, .check-list { margin: 20px 0 0; padding: 0; list-style: none; }
.offer li, .check-list li { position: relative; margin: 10px 0; padding-left: 25px; }
.offer li::before, .check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 900; }

.faq-list { display: grid; gap: 12px; }
.faq-list details { border: 1px solid var(--line); border-radius: 14px; background: white; }
.faq-list summary { padding: 20px 52px 20px 22px; cursor: pointer; font-weight: 780; list-style: none; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 22px; top: 15px; color: var(--blue); font-size: 1.5rem; }
.faq-list details[open] summary::after { content: "–"; }
.faq-answer { padding: 0 22px 20px; color: var(--muted); }

.cta-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; padding: 44px; border-radius: 22px; background: var(--navy); color: white; }
.cta-panel h2 { font-size: clamp(1.85rem, 4vw, 3rem); }
.cta-panel p { color: #d7e2ee; margin-bottom: 0; }

.contact-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 42px; align-items: start; }
.contact-card { padding: 30px; border-radius: 18px; background: var(--navy); color: white; }
.contact-card p { color: #d7e2ee; }
.intake-frame { width: 100%; min-height: 760px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.notice { padding: 16px 18px; border-left: 4px solid var(--gold); background: var(--gold-soft); color: #4c3916; border-radius: 8px; }

.site-footer { padding: 58px 0 28px; background: #0b2039; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(2, .8fr); gap: 40px; }
.footer-grid p, .footer-grid a { color: #c5d2df; }
.footer-grid a { display: block; margin: 8px 0; text-decoration: none; }
.footer-grid a:hover { color: white; }
.footer-bottom { margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16); display: flex; justify-content: space-between; gap: 20px; color: #9fb0c1; font-size: .84rem; }

@media (max-width: 920px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav-links { position: absolute; top: 76px; left: 0; right: 0; display: none; padding: 18px; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 12px 26px rgba(16,43,78,.1); }
  .nav-links.open { display: grid; }
  .nav-links .button { width: 100%; }
  .hero-grid, .contact-layout { grid-template-columns: 1fr; }
  .hero-grid { gap: 38px; min-height: auto; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cta-panel { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 62px 0; }
  .section-sm { padding: 44px 0; }
  .hero-grid { padding: 58px 0; }
  .grid-2, .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
  .result-card, .card, .offer { padding: 22px; }
  .comparison-row { grid-template-columns: 1fr; }
  .comparison-cell + .comparison-cell { border-left: 0; }
  .comparison-cell { border-bottom: 1px solid var(--line) !important; }
  .comparison-row:last-child .comparison-cell:last-child { border-bottom: 0 !important; }
  .price-table, .price-table tbody, .price-table tr, .price-table td { display: block; }
  .price-table thead { display: none; }
  .price-table tr { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .price-table tr:last-child { border-bottom: 0; }
  .price-table td { padding: 7px 18px; border: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { display: grid; }
  .cta-panel { padding: 30px 24px; }
  .hero-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

.form-card { padding: 32px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: var(--shadow); }
.form-card form { display: grid; gap: 18px; margin-top: 24px; }
.form-card label { display: grid; gap: 7px; color: var(--ink); font-weight: 750; }
.form-card input, .form-card select, .form-card textarea { width: 100%; padding: 12px 13px; border: 1px solid #b9c4cf; border-radius: 9px; background: white; color: var(--ink); font-weight: 450; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: 3px solid rgba(36,95,155,.18); border-color: var(--blue); }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.checkbox { grid-template-columns: auto 1fr !important; align-items: start; }
.checkbox input { width: 20px; height: 20px; margin-top: 3px; }
.field-help { color: var(--muted); font-size: .86rem; font-weight: 450; }
.hidden { position: absolute; left: -9999px; }
.feedback-invite { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 44px; }
.feedback-action { min-width: 245px; text-align: center; }
.feedback-action .field-help { margin: 10px 0 0; }
.feedback-form textarea { min-height: 170px; resize: vertical; }
.feedback-form .button { justify-self: start; cursor: pointer; }
.form-status { min-height: 1.5em; margin: 0; color: var(--success); font-weight: 700; }
@media (max-width: 640px) { .form-card { padding: 22px; } .form-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .feedback-invite { grid-template-columns: 1fr; gap: 24px; } .feedback-action { min-width: 0; text-align: left; } }
