*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #1A1A1A;
  --ink-soft: #3a3d42;
  --ink-muted: #7a7e87;
  --surface: #F8F7F4;
  --white: #ffffff;
  --accent: #E8A435;
  --accent-light: #fdf3e0;
  --accent-dark: #c98a1a;
  --navy: #0F2540;
  --border: #e2e3e6;
  --success: #0ea86b;
  --radius: 12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

body {
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  background: var(--surface);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── HEADER BAND ── */
.header-band {
  background: var(--navy);
  padding: 130px 40px 130px;
  text-align: center;
  position: relative; overflow: hidden;
}
.header-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(232,168,56,0.14) 0%, transparent 55%);
}
.header-eyebrow {
  position: relative; display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.header-band h1 {
  position: relative; font-family: 'DM Serif Display', serif;
  font-size: clamp(34px, 5vw, 52px); color: #fff;
  letter-spacing: -0.02em; margin-bottom: 12px;
}
.header-band h1 em { color: var(--accent); }
.header-band p { position: relative; color: rgba(255,255,255,0.62); font-size: 16px; max-width: 500px; margin: 0 auto; }

/* ── CALCULATOR CARD ── */
.wrap { max-width: 860px; margin: -72px auto 0; padding: 0 24px 24px; position: relative; }
.calc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(15, 37, 64, 0.14);
  display: grid; grid-template-columns: 1.25fr 1fr;
  overflow: hidden;
}
.sliders { padding: 36px 34px; }
.slider-row { margin-bottom: 26px; }
.slider-row:last-child { margin-bottom: 0; }
.slider-head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-bottom: 8px; }
.slider-head label { font-weight: 600; font-size: 15px; color: var(--navy); }
.slider-val { font-weight: 700; font-size: 16px; color: var(--accent-dark); white-space: nowrap; }
input[type="range"] { width: 100%; accent-color: var(--accent); height: 28px; cursor: pointer; }
.slider-hint { font-size: 12.5px; color: var(--ink-muted); margin-top: 4px; line-height: 1.5; }

.result {
  background: var(--navy); color: #fff;
  padding: 36px 30px; display: flex; flex-direction: column; justify-content: center;
  text-align: center; position: relative; overflow: hidden;
}
.result::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(232,168,56,0.18) 0%, transparent 60%);
}
.result-label {
  position: relative; font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.result-big {
  position: relative; font-family: 'DM Serif Display', serif;
  font-size: clamp(40px, 6vw, 56px); line-height: 1; color: #fff;
}
.result-big span { font-size: 18px; color: var(--accent); font-family: 'DM Sans', sans-serif; margin-left: 4px; }
.result-year { position: relative; margin-top: 14px; font-size: 14px; color: rgba(255,255,255,0.72); line-height: 1.55; }
.result-year strong { color: #fff; }

.honesty {
  max-width: 620px; margin: 22px auto 0; text-align: center;
  font-size: 13.5px; color: var(--ink-muted); line-height: 1.6;
}

/* ── CONTEXT ── */
.context { padding: 72px 24px 80px; }
.section-inner { max-width: 960px; margin: 0 auto; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent-dark); margin-bottom: 10px;
}
.section-title { font-family: 'DM Serif Display', serif; font-size: clamp(26px, 3.6vw, 36px); color: var(--navy); letter-spacing: -0.01em; margin-bottom: 12px; }
.section-sub { color: var(--ink-soft); font-size: 15.5px; }

.ctx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ctx-cell {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 22px;
}
.ctx-cell h3 { font-size: 16px; color: var(--navy); margin-bottom: 6px; }
.ctx-cell p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; }

/* ── CTA BAND ── */
.cta-band { background: var(--navy); padding: 72px 24px 80px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(232,168,56,0.13) 0%, transparent 55%);
}
.cta-band .section-inner { position: relative; max-width: 640px; }
.cta-band h2 { font-family: 'DM Serif Display', serif; font-size: clamp(28px, 4vw, 40px); color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.68); font-size: 15.5px; margin-bottom: 26px; }
.cta-band p a { color: var(--accent); }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  display: inline-block; background: var(--accent); color: var(--navy);
  font-weight: 700; font-size: 15px; text-decoration: none;
  padding: 14px 28px; border-radius: 10px; transition: background 0.2s;
}
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary {
  display: inline-block; color: #fff; border: 1px solid rgba(255,255,255,0.35);
  font-weight: 600; font-size: 15px; text-decoration: none;
  padding: 14px 28px; border-radius: 10px; transition: border-color 0.2s;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* ── FADE-IN ── */
.fade-in { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
}

/* ── RESPONSIVE ── */
@media (max-width: 760px) {
  .header-band { padding: 110px 24px 110px; }
  .calc-card { grid-template-columns: 1fr; }
  .sliders { padding: 28px 22px; }
  .result { padding: 30px 22px; }
  .ctx-grid { grid-template-columns: 1fr; }
}
