:root {
  --navy: #1e3a8a;
  --navy-deep: #172554;
  --blue: #dbeafe;
  --blue-mid: #93c5fd;
  --bg: #f8fafc;
  --card: #ffffff;
  --ink: #1f2937;
  --muted: #4b5563;
  --line: #e5e7eb;
  --green: #059669;
  --amber: #d97706;
  --red: #dc2626;
  --shadow: 0 18px 50px rgba(30, 58, 138, 0.08);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--card);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
img, svg { max-width: 100%; }
a { color: var(--navy); }
a:hover { text-decoration: none; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 4vw, 3.5rem); margin: 0 0 0.6rem; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0 0 0.7rem; }
h3 { font-size: 1.15rem; margin: 0 0 0.35rem; }
p { margin: 0 0 0.8rem; }
.wrap { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }
.skip {
  position: absolute; left: 1rem; top: -4rem; background: var(--navy); color: #fff;
  padding: 0.5rem 0.8rem; z-index: 10;
}
.skip:focus { top: 0.5rem; }

.site-header {
  position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(10px);
}
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 72px; }
.logo { font-weight: 800; font-size: 1.25rem; text-decoration: none; color: var(--navy); }
.nav-check { position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle { display: none; margin-left: auto; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 0.4rem 0.7rem; }
.nav { display: flex; gap: 1.1rem; align-items: center; margin-left: 1.5rem; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.nav a[aria-current="page"] { color: var(--navy); }
.header-cta { margin-left: auto; display: flex; gap: 0.7rem; align-items: center; }
.button, .button-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  text-decoration: none; font-weight: 700; border-radius: 999px; padding: 0.7rem 1.1rem;
}
.button { background: var(--navy); color: #fff; }
.button:hover { background: var(--navy-deep); }
.button-ghost { background: transparent; color: var(--navy); border: 1px solid #bfdbfe; }
.button-light { background: #fff; color: var(--navy); }
.quiet { color: var(--muted); text-decoration: none; font-weight: 700; }

.hero { background: linear-gradient(180deg, #eff6ff 0%, #fff 70%); padding: 4.5rem 0 3rem; }
.hero-grid, .split, .chart-grid, .plan-grid, .card-grid, .steps { display: grid; gap: 1.2rem; }
.hero-grid { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
.kicker {
  display: inline-block; background: var(--blue); color: var(--navy); font-weight: 700;
  border-radius: 999px; padding: 0.25rem 0.7rem; font-size: 0.85rem; margin-bottom: 0.8rem;
}
.lede { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.2rem 0; }
.fine { color: var(--muted); font-size: 0.92rem; }

.panel {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow); padding: 1rem;
}
.panel-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.8rem; }
.dots { display: flex; gap: 0.3rem; }
.dots span { width: 9px; height: 9px; border-radius: 50%; background: #cbd5e1; }
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin-bottom: 0.8rem; }
.metric { background: var(--bg); border-radius: 12px; padding: 0.7rem; }
.metric b { display: block; font-size: 1.25rem; color: var(--navy); }
.metric span, .caption { color: var(--muted); font-size: 0.8rem; }

.section { padding: 4.2rem 0; }
.section.alt { background: var(--bg); }
.section.navy { background: var(--navy-deep); color: #fff; }
.section.navy a { color: #fff; }
.center { text-align: center; }
.center .lede, .intro { margin-left: auto; margin-right: auto; max-width: 44rem; }

.questions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; margin-top: 1.5rem; }
.questions article, .card, .plan, .step {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.1rem 1.15rem;
}
.card h3, .step h3, .plan h3 { color: var(--navy); }
.card-grid, .steps { grid-template-columns: repeat(3, 1fr); }
.plan-grid { grid-template-columns: repeat(4, 1fr); align-items: stretch; margin-top: 1.6rem; }
.plan { display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--navy); position: relative; }
.price { font-size: 2rem; font-weight: 800; color: var(--ink); margin: 0.35rem 0 0.15rem; line-height: 1.1; }
.plan-note, .plan-year { color: var(--muted); font-size: 0.88rem; margin: 0; }
.plan-year { margin-top: 0.15rem; }
.plan-meta { font-size: 0.92rem; margin: 0.45rem 0 0; }
.checks { list-style: none; padding: 0.75rem 0 0; margin: 0.75rem 0 1rem; border-top: 1px solid var(--line); }
.checks li { position: relative; padding-left: 1.15rem; margin: 0.28rem 0; font-size: 0.82rem; line-height: 1.35; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 700; }
.plan .button, .plan .button-ghost { margin-top: auto; width: 100%; }

.chart-grid { grid-template-columns: 1.2fr 0.8fr; }
.bars { display: grid; gap: 0.55rem; }
.bar-label { display: flex; justify-content: space-between; font-size: 0.88rem; font-weight: 650; }
.track { height: 10px; background: #e5e7eb; border-radius: 99px; overflow: hidden; }
.track span { display: block; height: 100%; border-radius: 99px; }
.legend { display: flex; gap: 1rem; flex-wrap: wrap; font-size: 0.85rem; color: var(--muted); margin-top: 0.6rem; }
.swatch { width: 0.7rem; height: 0.7rem; border-radius: 2px; display: inline-block; margin-right: 0.3rem; }

.split { grid-template-columns: 1fr 1fr; align-items: center; }
.list { padding-left: 1.1rem; }
.list li { margin: 0.35rem 0; }

footer { background: #0f172a; color: #cbd5e1; padding: 2.5rem 0 1.4rem; }
footer a { color: #fff; text-decoration: none; }
.foot { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 1.2rem; }
.foot h2 { font-size: 1rem; color: #fff; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin: 0.3rem 0; }
.legal { border-top: 1px solid #1e293b; margin-top: 1.4rem; padding-top: 0.8rem; font-size: 0.85rem; }

.faq details { border-bottom: 1px solid var(--line); padding: 0.8rem 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.post-list { display: grid; gap: 1rem; }
.post-list a.card { text-decoration: none; color: inherit; display: block; }
.post-list a.card:hover { border-color: var(--navy); }
.meta { color: var(--muted); font-size: 0.9rem; }
.article { max-width: 44rem; }
.article h2 { margin-top: 1.6rem; }
.form { display: grid; gap: 0.85rem; max-width: 40rem; }
.form label { font-weight: 700; display: grid; gap: 0.3rem; }
.form input, .form select, .form textarea {
  font: inherit; color: var(--ink); padding: 0.65rem 0.75rem;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
}
.form textarea { min-height: 150px; resize: vertical; }
.form button { justify-self: start; border: 0; cursor: pointer; }
.hp { position: absolute; left: -10000px; height: 1px; width: 1px; overflow: hidden; }
.table-wrap { overflow-x: auto; margin-top: 2rem; }
.order { max-width: 40rem; }
.order dl { display: grid; grid-template-columns: 11rem 1fr; gap: 0.45rem 1rem; margin: 0.6rem 0 1rem; }
.order dt { color: var(--muted); }
.order dd { margin: 0; font-weight: 700; }
.due { font-size: 2rem; font-weight: 800; color: var(--navy); margin: 0.2rem 0 0.8rem; }
.seat-qty { display: flex; align-items: center; gap: 0.7rem; margin: 0.8rem 0; }
.seat-qty input { width: 5.5rem; font: inherit; padding: 0.45rem 0.6rem; border: 1px solid var(--line); border-radius: 8px; }
.banner { background: #fef3c7; border: 1px solid #fcd34d; border-radius: 12px; padding: 0.8rem 1rem; }
.banner.error { background: #fee2e2; border-color: #fecaca; }
button.button { border: 0; cursor: pointer; font: inherit; }
button.button:disabled { opacity: 0.65; cursor: default; }
.pricing-page .plan-grid { margin-top: 3rem; }
.pricing-page .table-wrap { margin-top: 3.5rem; }
.pricing-page h2 { margin-top: 3.5rem; }
.pricing-page .list + p { margin-top: 1.6rem; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { text-align: left; padding: 0.7rem 0.6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--navy); }

@media (max-width: 980px) {
  .hero-grid, .chart-grid, .split, .plan-grid, .card-grid, .steps, .questions, .foot { grid-template-columns: 1fr 1fr; }
  .plan-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav, .header-cta { display: none; }
  .nav-check:checked ~ .nav, .nav-check:checked ~ .header-cta {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; left: 0; right: 0; top: 72px; background: #fff;
    border-bottom: 1px solid var(--line); padding: 0.8rem 1rem 1rem; margin: 0;
  }
  .hero-grid, .chart-grid, .split, .plan-grid, .card-grid, .steps, .questions, .foot, .metric-row {
    grid-template-columns: 1fr;
  }
}
