:root {
  --bg: #faf5e8;
  --surface: #ffffff;
  --ink: #0d1f3c;
  --muted: #4b5874;
  --line: #d8cfb9;
  --brand: #0d1f3c;
  --brand-2: #c89b4a;
  --accent: #c89b4a;
  --soft: #f5efe1;
  --shadow: 0 12px 32px -16px rgba(13, 31, 60, 0.14);
  --radius: 12px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}
a { color: var(--brand-2); text-decoration: none; }
a:hover { text-decoration: underline; color: #d4a951; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; padding: 10px; border-radius: 8px; }
.skip-link:focus { left: 8px; z-index: 20; }
.topbar {
  background: rgba(250, 245, 232, 0.9);
  border-bottom: 1px solid rgba(216, 207, 185, 0.5);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
}
.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.03em;
  font-size: 1.35rem;
  font-family: 'Cormorant Garamond', serif;
}
.logo small { font-size: 0.68rem; color: var(--muted); font-weight: 600; letter-spacing: 0; margin-top: 4px; font-family: 'Inter', sans-serif; }
.navlinks { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 0.92rem; }
.navlinks a { color: var(--ink); font-weight: 600; transition: color 0.2s ease; }
.navlinks a:hover { color: var(--brand-2); text-decoration: none; }
.button, button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 2px 8px rgba(13, 31, 60, 0.2);
  transition: all 0.25s ease;
}
.button:hover { text-decoration: none; background: #142849; box-shadow: 0 6px 20px rgba(13, 31, 60, 0.25); transform: translateY(-1px); }
.button.secondary { background: #fff; color: var(--brand); border: 1.5px solid var(--brand); box-shadow: none; }
.button.secondary:hover { background: var(--brand); color: #fff; }
.button.accent { background: var(--brand-2); box-shadow: 0 2px 8px rgba(200, 155, 74, 0.3); }
.button.accent:hover { background: #d4a951; }
.hero {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  padding: 80px 0 44px;
  position: relative;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(200, 155, 74, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.8fr); gap: 36px; align-items: center; }
.eyebrow { color: var(--brand-2); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.72rem; }
h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.2rem, 4.5vw, 3.8rem); line-height: 1.04; letter-spacing: -0.03em; margin: 14px 0 22px; color: var(--brand); font-weight: 500; }
h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.65rem, 3vw, 2.4rem); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 18px; color: var(--brand); font-weight: 500; }
h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; margin: 0 0 10px; color: var(--brand); font-weight: 500; }
.lede { font-size: clamp(1.02rem, 1.7vw, 1.2rem); color: var(--muted); max-width: 780px; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.card {
  background: var(--surface);
  border: 1px solid rgba(216, 207, 185, 0.7);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 64px -20px rgba(13, 31, 60, 0.18);
}
.stat-card { display: grid; gap: 14px; }
.stat { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.stat:last-child { border-bottom: 0; padding-bottom: 0; }
.stat span:first-child { color: var(--muted); }
.stat strong { color: var(--brand); text-align: right; }
.section { padding: 64px 0; }
.section.compact { padding: 36px 0; }
.grid { display: grid; gap: 20px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kicker { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem; }
.list { padding-left: 0; list-style: none; margin: 18px 0 0; }
.list li { padding-left: 30px; position: relative; margin: 11px 0; }
.list li:before { content: "\2192"; position: absolute; left: 0; color: var(--brand-2); font-weight: 700; }
.callout { background: var(--soft); border: 1px solid rgba(216, 207, 185, 0.7); border-radius: var(--radius); padding: 26px; }
.price { font-size: 2.35rem; line-height: 1; letter-spacing: -0.04em; color: var(--brand); font-weight: 500; font-family: 'Cormorant Garamond', serif; }
.price small { font-size: 0.98rem; color: var(--muted); font-weight: 500; letter-spacing: 0; font-family: 'Inter', sans-serif; }
.faq details { background: #fff; border: 1px solid rgba(216, 207, 185, 0.7); border-radius: 10px; padding: 20px 22px; margin: 12px 0; transition: box-shadow 0.2s ease; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; color: var(--brand); font-weight: 700; font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; }
.form-card { background: var(--brand); color: #fff; border-radius: var(--radius); padding: 32px; box-shadow: 0 24px 64px -20px rgba(13, 31, 60, 0.3); position: relative; overflow: hidden; }
.form-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--brand-2), #e9c98a, var(--brand-2)); }
.form-card h2, .form-card h3 { color: #fff; }
.form-card p { color: rgba(255, 255, 255, 0.78); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-field.full { grid-column: 1 / -1; }
label { display: block; font-weight: 650; margin: 0 0 7px; font-size: 0.88rem; }
input, select, textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 14px;
  font: inherit;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--brand-2);
  box-shadow: 0 0 0 3px rgba(200, 155, 74, 0.15);
}
textarea { min-height: 110px; resize: vertical; }
.form-card input, .form-card select, .form-card textarea { border: 0; }
.hidden { display: none !important; }
.disclaimer { color: var(--muted); font-size: 0.92rem; }
.form-card .disclaimer { color: rgba(255,255,255,0.68); }
.calculator { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 0.75fr); gap: 28px; align-items: start; }
.calculator > .card:hover { transform: none; box-shadow: var(--shadow); }
.calculator .form-grid { gap: 18px; }
.input-group { position: relative; display: flex; align-items: center; }
.input-group input { flex: 1; }
.input-group .prefix,
.input-group .suffix { position: absolute; color: var(--muted); font-weight: 500; font-size: 0.92rem; pointer-events: none; user-select: none; }
.input-group .prefix { left: 14px; }
.input-group .suffix { right: 14px; }
.input-group .prefix + input { padding-left: 30px; }
.input-group input.has-suffix { padding-right: 36px; }
.result-box { background: var(--brand); color: #fff; border-radius: var(--radius); padding: 28px; position: sticky; top: 92px; }
.result-box::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--brand-2), #e9c98a); border-radius: var(--radius) var(--radius) 0 0; }
.result-number { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; font-weight: 500; letter-spacing: -0.04em; margin: 12px 0; font-family: 'Cormorant Garamond', serif; color: var(--brand-2); }
.result-box > p { color: rgba(255,255,255,0.78); }
.result-box hr { border: 0; height: 1px; background: rgba(255, 255, 255, 0.12); margin: 20px 0; }
.result-metrics { margin: 0; padding: 0; }
.result-metric { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.result-metric:last-child { border-bottom: 0; padding-bottom: 0; }
.result-metric dt { font-size: 0.88rem; color: rgba(255, 255, 255, 0.6); font-weight: 500; }
.result-metric dd { margin: 0; font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 500; letter-spacing: -0.02em; color: #fff; }
.result-box .button { width: 100%; margin-top: 12px; }
.footer { background: var(--brand); color: rgba(255,255,255,0.78); padding: 44px 0; position: relative; }
.footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--brand-2), #e9c98a, var(--brand-2)); }
.footer a { color: #fff; transition: color 0.2s ease; }
.footer a:hover { color: var(--brand-2); text-decoration: none; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 24px; }
.breadcrumb { font-size: 0.88rem; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand-2); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid rgba(216, 207, 185, 0.7); border-radius: var(--radius); overflow: hidden; }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--soft); color: var(--brand); font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 1.05rem; }
tr:last-child td { border-bottom: 0; }
@media (max-width: 850px) {
  .hero-grid, .grid.two, .grid.three, .calculator, .footer-grid { grid-template-columns: 1fr; }
  .nav { align-items: flex-start; flex-direction: column; padding: 16px 0; }
  .navlinks { gap: 12px; }
  .form-grid { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .hero { padding-top: 48px; }
  .result-box { position: static; }
  .result-metric { padding: 10px 0; }
}