:root {
  --ink: #15213a;
  --muted: #5d6778;
  --paper: #f6f5ef;
  --card: #ffffff;
  --navy: #10233f;
  --teal: #087f78;
  --teal-dark: #05645f;
  --gold: #f0b44d;
  --line: #dfe3e6;
  --shadow: 0 20px 55px rgba(16, 35, 63, .10);
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; }
a { color: var(--teal-dark); text-underline-offset: 3px; }
img { max-width: 100%; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 20; background: #fff; padding: .7rem 1rem; border-radius: 10px; }
.container { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(246,245,239,.93); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(21,33,58,.08); }
.nav { min-height: 72px; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--navy); text-decoration: none; font-weight: 850; letter-spacing: -.03em; white-space: nowrap; }
.brand-mark { width: 35px; height: 35px; border-radius: 11px; background: linear-gradient(135deg, var(--teal), #2ea99d); display: grid; place-items: center; color: #fff; box-shadow: 0 8px 20px rgba(8,127,120,.25); }
.brand-mark::before { content: "↗"; font-size: 1.15rem; font-weight: 800; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 1.1rem; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 650; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--teal); }
.menu-button { display: none; margin-left: auto; border: 1px solid var(--line); background: #fff; padding: .55rem .75rem; border-radius: 10px; font: inherit; }
.hero { padding: clamp(4.5rem, 10vw, 8.5rem) 0 4.5rem; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(240,180,77,.24), transparent 67%); right: -100px; top: -120px; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.eyebrow { color: var(--teal-dark); text-transform: uppercase; letter-spacing: .13em; font-weight: 800; font-size: .76rem; }
h1, h2, h3 { color: var(--navy); line-height: 1.12; letter-spacing: -.035em; }
h1 { font-size: clamp(2.7rem, 7vw, 5.6rem); margin: .5rem 0 1.2rem; max-width: 13ch; }
h2 { font-size: clamp(2rem, 4vw, 3.3rem); margin: 0 0 1rem; }
h3 { font-size: 1.3rem; margin: 0 0 .7rem; }
.lead { font-size: clamp(1.08rem, 2vw, 1.28rem); color: var(--muted); max-width: 62ch; }
.actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: .78rem 1.1rem; border-radius: 12px; text-decoration: none; font-weight: 760; border: 1px solid var(--navy); background: var(--navy); color: #fff; cursor: pointer; font: inherit; }
.button:hover { background: #1c385f; }
.button.secondary { background: transparent; color: var(--navy); }
.atlas-card { background: var(--navy); color: #fff; padding: 2rem; border-radius: 30px; box-shadow: var(--shadow); transform: rotate(1.5deg); }
.atlas-card h2 { color: #fff; font-size: 1.55rem; }
.route { border-left: 2px solid rgba(255,255,255,.24); padding-left: 1.2rem; margin: 1.2rem 0 0 .55rem; }
.route-item { position: relative; margin: 1.2rem 0; color: #dce7f6; }
.route-item::before { content: ""; position: absolute; width: 11px; height: 11px; border-radius: 50%; background: var(--gold); left: -1.62rem; top: .45rem; box-shadow: 0 0 0 5px rgba(240,180,77,.15); }
.section { padding: clamp(3.7rem, 8vw, 7rem) 0; }
.section.white { background: #fff; }
.section-head { max-width: 730px; margin-bottom: 2rem; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.55rem; box-shadow: 0 10px 34px rgba(16,35,63,.05); }
.card p { color: var(--muted); }
.card .number { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #dff3ef; color: var(--teal-dark); font-weight: 850; margin-bottom: 1rem; }
.tag { display: inline-block; font-size: .73rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--teal-dark); background: #e0f3ef; border-radius: 999px; padding: .3rem .58rem; margin-bottom: .8rem; }
.check-list { padding: 0; list-style: none; }
.check-list li { padding: .45rem 0 .45rem 1.8rem; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 900; }
.content { max-width: 820px; }
.content h2 { margin-top: 2.5rem; font-size: 2rem; }
.content h3 { margin-top: 1.8rem; }
.content li { margin: .45rem 0; }
.note { background: #fff7e7; border-left: 4px solid var(--gold); padding: 1rem 1.2rem; border-radius: 0 12px 12px 0; }
.calculator { background: #fff; border-radius: 28px; padding: clamp(1.2rem, 4vw, 2.4rem); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
label { display: block; font-weight: 700; font-size: .9rem; }
input, select, textarea { width: 100%; margin-top: .4rem; border: 1px solid #cbd2d8; border-radius: 10px; padding: .75rem; font: inherit; background: #fff; color: var(--ink); }
textarea { min-height: 150px; resize: vertical; }
.result { margin-top: 1.3rem; background: var(--navy); color: #fff; border-radius: 18px; padding: 1.4rem; }
.result strong { font-size: 1.8rem; color: #fff; display: block; }
.result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.result-label { color: #b9c9dc; font-size: .82rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 15px; overflow: hidden; }
th, td { text-align: left; padding: .9rem 1rem; border-bottom: 1px solid var(--line); }
th { color: var(--navy); background: #edf3f4; }
.cta { background: linear-gradient(135deg, var(--navy), #173b66); color: #fff; border-radius: 30px; padding: clamp(2rem, 6vw, 4rem); display: flex; justify-content: space-between; gap: 2rem; align-items: center; }
.cta h2 { color: #fff; margin-bottom: .5rem; }
.cta p { color: #c9d7e8; margin: 0; }
.site-footer { background: #0d1b30; color: #b9c6d8; padding: 3rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
.site-footer h3 { color: #fff; font-size: 1rem; }
.site-footer a { display: block; color: #cad5e3; text-decoration: none; margin: .4rem 0; }
.fine { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1.2rem; font-size: .84rem; }
.page-hero { padding: 5rem 0 3.5rem; background: linear-gradient(180deg, #ecf4f2, transparent); }
.page-hero h1 { font-size: clamp(2.7rem, 6vw, 4.8rem); }
@media (max-width: 820px) {
  .menu-button { display: block; }
  .nav-links { display: none; position: absolute; left: 1rem; right: 1rem; top: 64px; background: #fff; padding: 1rem; border-radius: 14px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .nav-links.open { display: flex; }
  .hero-grid, .grid, .grid.two, .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .result-grid { grid-template-columns: 1fr; }
  .cta { align-items: flex-start; flex-direction: column; }
  h1 { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
