/* ─── Variables ─── */
:root {
  --bg: #0B1628;
  --bg2: #0F1E33;
  --fg: #F5F3EE;
  --accent: #D4A843;
  --accent-dim: rgba(212, 168, 67, 0.15);
  --text-muted: rgba(245, 243, 238, 0.55);
  --text-subtle: rgba(245, 243, 238, 0.35);
  --border: rgba(212, 168, 67, 0.18);
  --card-bg: rgba(15, 30, 51, 0.8);
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── Selection ─── */
::selection { background: var(--accent); color: var(--bg); }

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* ─── Nav ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2.5rem;
  background: rgba(11, 22, 40, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}
.nav-logo svg { flex-shrink: 0; }
.nav-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ─── Hero ─── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 2.5rem 5rem;
  position: relative;
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 168, 67, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 168, 67, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}
.hero-bg-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(212, 168, 67, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-left { display: flex; flex-direction: column; gap: 1.5rem; }
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 600;
}
.hero-label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  display: flex;
  flex-direction: column;
}
.hero-headline-main { color: var(--fg); }
.hero-headline-accent {
  background: linear-gradient(135deg, #D4A843 0%, #F0C96C 50%, #D4A843 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.7;
}
.hero-sub-2 { color: var(--text-muted); }
.hero-stat-row {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 0.5rem;
}
.hero-stat { display: flex; flex-direction: column; gap: 0.2rem; }
.hero-stat-num {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
}
.hero-stat-label { font-size: 0.72rem; color: var(--text-muted); line-height: 1.4; max-width: 90px; }
.hero-stat-divider { width: 1px; background: var(--border); flex-shrink: 0; }

/* ─── Wealth Chart ─── */
.wealth-chart {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  backdrop-filter: blur(8px);
}
.wealth-chart-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-family: var(--font-head);
}
.wealth-chart-visual {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  height: 140px;
}
.wc-bar {
  flex: 1;
  border-radius: 8px 8px 0 0;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 20px;
  transition: all 0.4s ease;
}
.wc-bar-1 { background: linear-gradient(180deg, rgba(212,168,67,0.3), rgba(212,168,67,0.05)); height: 20%; }
.wc-bar-2 { background: linear-gradient(180deg, rgba(212,168,67,0.5), rgba(212,168,67,0.1)); height: 40%; }
.wc-bar-3 { background: linear-gradient(180deg, rgba(212,168,67,0.7), rgba(212,168,67,0.2)); height: 65%; }
.wc-bar-4 { background: linear-gradient(180deg, #D4A843, #b8902e); height: 100%; }
.wc-bar-val {
  position: absolute;
  bottom: calc(100% + 6px);
  font-size: 0.65rem;
  color: var(--text-subtle);
  white-space: nowrap;
  font-family: var(--font-head);
}
.wealth-chart-legend {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.wcl-item { display: flex; align-items: center; gap: 0.4rem; font-size: 0.72rem; color: var(--text-muted); }
.wcl-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.wcl-dot-gold { background: var(--accent); }
.wcl-dot-gray { background: var(--text-subtle); }
.wealth-chart-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.wc-cta-text { font-size: 0.75rem; color: var(--text-muted); font-style: italic; }
.wc-arrow { width: 28px; height: 28px; border: 1px solid var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; }

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ─── Manifesto ─── */
.manifesto {
  padding: 7rem 2.5rem;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.manifesto-inner { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.5rem; }
.manifesto-eyebrow { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--accent); font-family: var(--font-head); font-weight: 600; }
.manifesto-quote {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--fg);
  letter-spacing: -0.02em;
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
  font-style: normal;
}
.manifesto-body { font-size: 1rem; color: var(--text-muted); line-height: 1.8; }

/* ─── Pillars ─── */
.pillars { padding: 7rem 2.5rem; }
.pillars-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 3.5rem; }
.pillars-header { display: flex; flex-direction: column; gap: 0.75rem; }
.pillars-eyebrow { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--accent); font-family: var(--font-head); font-weight: 600; }
.pillars-title { font-family: var(--font-head); font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pillar-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.3s, transform 0.3s;
  backdrop-filter: blur(8px);
}
.pillar-card:hover { border-color: rgba(212,168,67,0.4); transform: translateY(-4px); }
.pillar-card-accent { border-color: var(--accent); background: linear-gradient(135deg, rgba(212,168,67,0.08), var(--card-bg)); }
.pillar-icon { width: 56px; height: 56px; background: var(--accent-dim); border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.pillar-name { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; }
.pillar-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }
.pillar-list { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.5rem; }
.pillar-list li { font-size: 0.82rem; color: var(--text-muted); padding-left: 1rem; position: relative; }
.pillar-list li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }

/* ─── Outcomes ─── */
.outcomes { padding: 7rem 2.5rem; background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.outcomes-inner { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 3.5rem; }
.outcomes-header { display: flex; flex-direction: column; gap: 0.75rem; }
.outcomes-eyebrow { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--accent); font-family: var(--font-head); font-weight: 600; }
.outcomes-title { font-family: var(--font-head); font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.outcomes-timeline { display: flex; flex-direction: column; }
.outcome-item { display: flex; gap: 1.5rem; position: relative; }
.outcome-marker { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; width: 20px; }
.outcome-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--bg2); border: 2px solid var(--accent); flex-shrink: 0; margin-top: 0.2rem; }
.outcome-dot-gold { background: var(--accent); }
.outcome-line { flex: 1; width: 1px; background: var(--border); margin: 0.4rem 0; min-height: 40px; }
.outcome-item-last .outcome-marker .outcome-line { display: none; }
.outcome-content { padding-bottom: 2.5rem; flex: 1; }
.outcome-phase { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); font-family: var(--font-head); font-weight: 600; margin-bottom: 0.4rem; }
.outcome-name { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; margin-bottom: 0.6rem; letter-spacing: -0.02em; }
.outcome-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }
.outcomes-quote-block { display: flex; align-items: center; gap: 1.5rem; padding: 2rem 0 0; }
.oq-line { flex: 1; height: 1px; background: var(--border); }
.oq-text { font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; color: var(--fg); text-align: center; max-width: 420px; line-height: 1.5; }

/* ─── Closing ─── */
.closing { padding: 8rem 2.5rem; text-align: center; position: relative; overflow: hidden; }
.closing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(212,168,67,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.closing-inner { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; display: flex; flex-direction: column; gap: 1.5rem; }
.closing-badge { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--accent); font-family: var(--font-head); font-weight: 600; background: var(--accent-dim); display: inline-block; padding: 0.4rem 1rem; border-radius: 99px; border: 1px solid var(--border); }
.closing-headline { font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; }
.closing-body { font-size: 1rem; color: var(--text-muted); line-height: 1.8; max-width: 540px; margin: 0 auto; }
.closing-vision { background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem 2rem; margin-top: 1rem; }
.closing-vision p { font-size: 0.95rem; color: var(--fg); line-height: 1.7; font-style: italic; }
.closing-membership-cta {
  margin-top: 2rem;
  background: linear-gradient(135deg, rgba(212,168,67,0.1), var(--card-bg));
  border: 1px solid var(--accent);
  border-radius: 18px;
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: center;
}
.closing-membership-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 600;
}
.closing-membership-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 440px;
}
.closing-membership-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 10px;
  transition: opacity 0.2s, transform 0.15s;
  margin-top: 0.25rem;
}
.closing-membership-btn:hover { opacity: 0.9; transform: translateY(-2px); }

/* ─── Footer ─── */
.footer { padding: 4rem 2.5rem 2.5rem; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 3rem; }
.footer-top { display: flex; justify-content: space-between; gap: 3rem; align-items: flex-start; }
.footer-brand { display: flex; flex-direction: column; gap: 0.75rem; max-width: 300px; }
.footer-logo { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-head); font-weight: 700; font-size: 1rem; }
.footer-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
.footer-links { display: flex; gap: 4rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-subtle); font-family: var(--font-head); margin-bottom: 0.3rem; }
.footer-link { font-size: 0.85rem; color: var(--text-muted); transition: color 0.2s; }
.footer-link:hover { color: var(--fg); }
.footer-bottom { padding-top: 2rem; border-top: 1px solid var(--border); font-size: 0.75rem; color: var(--text-subtle); }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 3rem; }
  .hero-right { order: -1; }
  .pillars-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
  .footer-links { gap: 2rem; }
  .hero-stat-row { gap: 1rem; }
  .hero-stat-label { max-width: 70px; font-size: 0.65rem; }
}
@media (max-width: 600px) {
  .hero { padding: 7rem 1.25rem 4rem; }
  .manifesto, .pillars, .outcomes, .closing { padding: 5rem 1.25rem; }
  .footer { padding: 3rem 1.25rem 2rem; }
  .nav { padding: 1rem 1.25rem; }
  .nav-tagline { display: none; }
  .hero-stat-row { flex-direction: column; gap: 0.75rem; }
  .hero-stat-divider { display: none; }
  .hero-stat { flex-direction: row; align-items: center; gap: 0.75rem; }
  .hero-stat-label { max-width: 200px; font-size: 0.78rem; }
  .footer-links { flex-direction: column; gap: 1.5rem; }
}

/* ─── Wealth Trajectory Calculator ─── */
.calc-section {
  padding: 7rem 2.5rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.calc-section-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 3.5rem; }
.calc-header { display: flex; flex-direction: column; gap: 0.75rem; max-width: 600px; }
.calc-eyebrow { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--accent); font-family: var(--font-head); font-weight: 600; }
.calc-title { font-family: var(--font-head); font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.calc-subtitle { font-size: 1rem; color: var(--text-muted); line-height: 1.6; }

.calc-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 2rem;
  align-items: flex-start;
}

/* ── Inputs panel ── */
.calc-inputs-panel {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  backdrop-filter: blur(8px);
  position: sticky;
  top: 6rem;
}
.calc-input-group { display: flex; flex-direction: column; gap: 0.35rem; }
.calc-label {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-family: var(--font-head);
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.calc-label-val { color: var(--accent); font-weight: 700; }
.calc-input-wrap {
  display: flex;
  align-items: stretch;
  background: rgba(245, 243, 238, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.calc-input-wrap:focus-within { border-color: rgba(212, 168, 67, 0.5); }
.calc-input-prefix, .calc-input-unit {
  padding: 0 0.65rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: rgba(212, 168, 67, 0.06);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.calc-input-prefix { border-right: 1px solid var(--border); }
.calc-input-unit { border-left: 1px solid var(--border); }
.calc-input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--fg);
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.6rem 0.7rem;
  width: 100%;
  -moz-appearance: textfield;
}
.calc-input::-webkit-outer-spin-button,
.calc-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Slider */
.calc-slider-wrap { display: flex; align-items: center; gap: 0.6rem; padding: 0.25rem 0; }
.calc-slider-min, .calc-slider-max { font-size: 0.68rem; color: var(--text-subtle); white-space: nowrap; }
.calc-slider {
  -webkit-appearance: none;
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent) var(--pct, 50%), rgba(245,243,238,0.1) var(--pct, 50%), rgba(245,243,238,0.1) 100%);
  outline: none;
  cursor: pointer;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
  box-shadow: 0 0 6px rgba(212, 168, 67, 0.4);
}
.calc-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
  cursor: pointer;
}

/* Run button */
.calc-run-btn {
  margin-top: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.82rem 1.5rem;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 12px;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}
.calc-run-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.calc-run-btn:active { transform: translateY(0); }
.calc-run-btn.loading { opacity: 0.65; pointer-events: none; }

/* ── Chart panel ── */
.calc-chart-panel {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(8px);
  min-height: 420px;
  display: flex;
  flex-direction: column;
}
.calc-chart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 280px;
  margin: 0 auto;
}
.calc-chart-empty-icon {
  width: 72px;
  height: 72px;
  background: var(--accent-dim);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.calc-chart-result { display: flex; flex-direction: column; gap: 1.5rem; }

/* Stats row */
.calc-stats-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.calc-stat-card {
  background: rgba(212, 168, 67, 0.07);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
  min-width: 110px;
}
.calc-stat-card-label { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); font-family: var(--font-head); }
.calc-stat-card-val { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: var(--accent); }
.calc-stat-card-sub { font-size: 0.68rem; color: var(--text-subtle); }

/* Chart canvas */
.calc-chart-canvas-wrap { position: relative; width: 100%; }

/* Legend */
.calc-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.calc-legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  color: var(--text-muted);
}
.calc-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.calc-legend-dashed {
  background: transparent !important;
  border: 2px dashed;
  border-radius: 50%;
}

/* Milestones */
.calc-milestones { display: flex; flex-direction: column; gap: 0.45rem; }
.calc-milestones-title {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-subtle);
  font-family: var(--font-head);
  margin-bottom: 0.2rem;
}
.calc-milestone-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.calc-milestone-flag {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.calc-milestone-label { color: var(--fg); font-weight: 600; font-family: var(--font-head); min-width: 58px; }

/* Email capture */
.calc-capture {
  background: linear-gradient(135deg, rgba(212,168,67,0.08) 0%, var(--card-bg) 100%);
  border: 1px solid var(--accent);
  border-radius: 16px;
  padding: 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.calc-capture-headline {
  font-family: var(--font-head);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.calc-capture-sub { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.2rem; }
.calc-capture-form { display: flex; gap: 0.65rem; }
.calc-capture-email {
  flex: 1;
  background: rgba(245, 243, 238, 0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.88rem;
  padding: 0.65rem 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
.calc-capture-email:focus { border-color: var(--accent); }
.calc-capture-email::placeholder { color: var(--text-subtle); }
.calc-capture-submit {
  padding: 0.65rem 1.3rem;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 10px;
  font-family: var(--font-head);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.calc-capture-submit:hover { opacity: 0.88; }
.calc-capture-submit:disabled { opacity: 0.5; pointer-events: none; }
.calc-capture-success {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 600;
}

/* ─── Calculator Responsive ─── */
@media (max-width: 960px) {
  .calc-layout { grid-template-columns: 1fr; }
  .calc-inputs-panel { position: static; }
}
@media (max-width: 600px) {
  .calc-section { padding: 5rem 1.25rem; }
  .calc-stats-row { gap: 0.65rem; }
  .calc-stat-card { min-width: 80px; padding: 0.65rem 0.8rem; }
  .calc-stat-card-val { font-size: 1rem; }
  .calc-capture-form { flex-direction: column; }
  .calc-capture-submit { width: 100%; }
  .calc-legend { gap: 0.55rem; }
}
/* ─── Confirmed Page ─── */
.confirmed-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 4rem;
  text-align: center;
}
.confirmed-badge {
  display: inline-block;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 2rem;
}
.confirmed-headline {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.confirmed-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 480px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}
.confirmed-sequence {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  max-width: 640px;
  width: 100%;
  margin-bottom: 3.5rem;
}
@media (max-width: 580px) {
  .confirmed-sequence { grid-template-columns: 1fr; }
}
.seq-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  text-align: left;
}
.seq-num {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.seq-title {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--fg);
}
.seq-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.seq-check {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: var(--accent);
  margin-top: 0.75rem;
}
.confirmed-community {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  max-width: 480px;
  width: 100%;
  margin-bottom: 2rem;
}
.community-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.community-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.community-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.community-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: opacity 0.2s;
}
.community-link:hover { opacity: 0.88; }
.confirmed-footer-note {
  font-size: 0.8rem;
  color: var(--text-subtle);
  margin-top: 1.5rem;
}
