:root {
  --navy: #1f3a4d;
  --navy-deep: #162b39;
  --gold: #e9b44c;
  --gold-deep: #c8912a;
  --paper: #fbf7f0;
  --sand: #f3ece0;
  --ink: #1d2a33;
  --ink-soft: #55636d;
  --line: #d9cfbf;
  --white: #ffffff;
  --error: #b3261e;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(22, 43, 57, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--navy); }
h1, h2, h3 { font-family: Fraunces, Georgia, serif; font-weight: 650; line-height: 1.15; color: var(--navy-deep); margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3.3rem); letter-spacing: -0.01em; }
h1 em { font-style: italic; font-weight: 500; color: var(--navy); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1120px, 100% - 32px); margin: 0 auto; }
.narrow { width: min(760px, 100% - 32px); }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 10; background: rgba(251, 247, 240, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy-deep); font-family: Fraunces, Georgia, serif; font-weight: 650; font-size: 1.25rem; }
.brand-mark { width: 34px; height: 34px; color: var(--navy); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 0.95rem; }
.nav a:hover { color: var(--navy); }
@media (max-width: 760px) {
  .nav a:not(.btn) { display: none; }
}

/* Buttons */
.btn {
  display: inline-block; background: var(--navy); color: var(--white) !important; text-decoration: none;
  font-weight: 600; padding: 14px 24px; border-radius: 999px; border: 2px solid var(--navy);
  transition: background .15s, transform .15s; cursor: pointer; font-size: 1rem; font-family: inherit;
}
.btn:hover { background: var(--navy-deep); transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.btn-ghost { background: transparent; color: var(--navy) !important; }
.btn-ghost:hover { background: var(--sand); }
.btn-small { padding: 8px 16px; font-size: 0.9rem; }

/* Hero */
.hero { padding: 64px 0 72px; background: radial-gradient(900px 400px at 85% 10%, var(--sand), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 600; color: var(--gold-deep); margin-bottom: 12px; }
.eyebrow-light { color: var(--gold); }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.hero-note { font-size: 0.92rem; color: var(--ink-soft); border-left: 3px solid var(--gold); padding-left: 12px; max-width: 34em; }
.hero-card { background: var(--white); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.compass { display: block; width: 100%; max-width: 260px; margin: 0 auto 18px; }
.needle { transform-origin: 120px 120px; animation: settle 2.4s ease-out both; }
@keyframes settle { 0% { transform: rotate(-70deg); } 55% { transform: rotate(18deg); } 80% { transform: rotate(-6deg); } 100% { transform: rotate(0); } }
@media (prefers-reduced-motion: reduce) { .needle { animation: none; } }
.hero-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.hero-points li { padding-left: 28px; position: relative; font-weight: 500; }
.hero-points li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); box-shadow: inset 0 0 0 4px var(--white), 0 0 0 1px var(--gold); }
@media (max-width: 860px) {
  .hero { padding: 40px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Sections */
.section { padding: 76px 0; }
.section-tint { background: var(--sand); }
.section-navy { background: var(--navy); color: #e8eef2; }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-lead { color: var(--ink-soft); max-width: 40em; }
@media (max-width: 640px) { .section { padding: 52px 0; } }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { color: var(--ink-soft); margin: 0; font-size: 0.97rem; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* Prices */
.price-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 32px 0; }
.price-card { background: var(--white); border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); position: relative; }
.price-card p:last-child { color: var(--ink-soft); font-size: 0.93rem; margin: 0; }
.price-card.featured { border: 2px solid var(--gold); box-shadow: var(--shadow); }
.price { font-family: Fraunces, Georgia, serif; font-size: 2rem; font-weight: 650; color: var(--navy); margin: 4px 0 10px; }
.price span { font-family: Inter, sans-serif; font-size: 0.9rem; font-weight: 500; color: var(--ink-soft); }
.tag { position: absolute; top: -12px; left: 18px; background: var(--gold); color: var(--navy-deep); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 3px 10px; border-radius: 999px; margin: 0; }
@media (max-width: 1080px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .price-grid { grid-template-columns: 1fr; } }
.table-wrap { background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table caption { text-align: left; font-family: Fraunces, Georgia, serif; font-weight: 650; font-size: 1.15rem; color: var(--navy-deep); padding: 18px 20px 6px; }
.price-table th, .price-table td { padding: 12px 20px; border-top: 1px solid var(--sand); text-align: left; vertical-align: top; }
.price-table th { font-weight: 500; }
.price-table td { white-space: nowrap; font-weight: 600; color: var(--navy); text-align: right; }
@media (max-width: 560px) {
  .price-table th, .price-table td { display: block; text-align: left; white-space: normal; }
  .price-table td { border-top: 0; padding-top: 0; }
}
.small-print { font-size: 0.85rem; color: var(--ink-soft); margin-top: 14px; }
.small-print.light { color: #b7c6d0; }
.small-print.light a { color: #ffffff; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { display: flex; gap: 14px; }
.steps p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }
.step-n { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-family: Fraunces, Georgia, serif; font-weight: 650; font-size: 1.1rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* About */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.about-grid p { color: #dbe4ea; }
.about-box { background: var(--navy-deep); border-radius: var(--radius); padding: 26px; border: 1px solid rgba(255,255,255,0.08); }
.ticks, .crosses { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.ticks li, .crosses li { padding-left: 28px; position: relative; color: #e8eef2; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.crosses li::before { content: "✕"; position: absolute; left: 2px; color: #f19a8e; font-weight: 700; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 28px; } }

/* FAQ */
details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; padding: 0 20px; }
summary { cursor: pointer; font-weight: 600; padding: 18px 0; list-style: none; position: relative; padding-right: 28px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.4rem; color: var(--gold-deep); font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { color: var(--ink-soft); padding-bottom: 6px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.help-box { background: var(--white); border-left: 4px solid var(--gold); border-radius: 10px; padding: 18px 20px; margin-top: 24px; }
.help-box h3 { font-size: 1.05rem; }
.help-box p { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }
.form-card { background: var(--white); border-radius: 20px; padding: 30px; box-shadow: var(--shadow); border: 1px solid var(--line); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 28px; } .form-card { padding: 22px; } }

.field { margin-bottom: 18px; }
.field label, .field .label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.95rem; }
.req { color: var(--gold-deep); margin-left: 2px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="url"],
.field input[type="date"], .field input[type="number"], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--line);
  border-radius: 10px; background: var(--paper); color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(31, 58, 77, 0.15); background: var(--white); }
.field [aria-invalid="true"] { border-color: var(--error); }
.help { font-size: 0.85rem; color: var(--ink-soft); margin: 6px 0 0; }
.err { font-size: 0.88rem; color: var(--error); margin: 6px 0 0; min-height: 0; }
.err:empty { display: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--navy); flex: none; }
.form-error { background: #fdecea; color: var(--error); padding: 12px 14px; border-radius: 10px; font-size: 0.95rem; margin-bottom: 14px; }
.form-error:empty { display: none; }
.thanks { text-align: center; padding: 20px 4px; }
.thanks h3 { font-size: 1.5rem; }
.thanks p { color: var(--ink-soft); }
.thanks-icon { width: 64px; height: 64px; margin: 0 auto 12px; display: block; }

.skeleton { display: grid; gap: 14px; }
.skeleton span { display: block; height: 46px; border-radius: 10px; background: linear-gradient(90deg, var(--sand), #faf5ec, var(--sand)); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
.skeleton span.tall { height: 120px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Footer */
.footer { background: var(--navy-deep); color: #dbe4ea; padding: 36px 0; }
.footer p { margin: 0 0 8px; }
.footer-inner { display: grid; gap: 4px; }

/* Privacy page */
.doc { padding: 56px 0 72px; }
.doc h2 { font-size: 1.4rem; margin-top: 1.6em; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; background: var(--white); border-radius: 10px; overflow: hidden; }
.doc th, .doc td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; font-size: 0.95rem; }
.doc th { background: var(--sand); }

/* Guides */
.doc h3 { font-size: 1.12rem; margin-top: 1.4em; }
.doc ul, .doc ol { padding-left: 1.3em; margin: 0 0 1em; }
.doc li { margin-bottom: 0.4em; }
.crumbs { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 18px; }
.crumbs a { color: var(--ink-soft); }
.guide-meta { color: var(--ink-soft); font-size: 0.92rem; margin-top: -4px; }
.summary-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin: 22px 0 8px; }
.summary-box h2 { font-size: 1.1rem; margin: 0 0 8px; }
.summary-box ul { margin: 0; }
.note { background: var(--sand); border-left: 4px solid var(--gold); border-radius: 10px; padding: 14px 18px; margin: 18px 0; font-size: 0.97rem; }
.note p:last-child { margin: 0; }
.template { background: var(--white); border: 1px dashed var(--navy); border-radius: 10px; padding: 18px 20px; margin: 14px 0 20px; font-size: 0.95rem; }
.template p { margin: 0 0 0.6em; }
.guide-cta { background: var(--navy); color: #e8eef2; border-radius: var(--radius); padding: 26px; margin: 36px 0 10px; }
.guide-cta h2 { color: var(--white); font-size: 1.35rem; margin: 0 0 8px; }
.guide-cta p { color: #dbe4ea; }
.guide-cta .btn { background: var(--gold); border-color: var(--gold); color: var(--navy-deep) !important; }
.guide-cta .btn:hover { background: #f0c46b; }
.disclaimer { font-size: 0.85rem; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 28px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.guide-card { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.guide-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.guide-card h3 { margin: 0 0 6px; }
.guide-card p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }
@media (max-width: 900px) { .guide-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .guide-grid { grid-template-columns: 1fr; } }
.glossary dt { font-weight: 700; color: var(--navy-deep); margin-top: 16px; }
.glossary dd { margin: 4px 0 0; color: var(--ink); }
.az { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0; }
.az a { display: inline-grid; place-items: center; min-width: 36px; height: 36px; border-radius: 8px; background: var(--white); border: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.guides-band { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
