/* ============================================================
   FLANSTACK , Shared Stylesheet
   Design language carried from the sales deck:
   - Dark base with copper + gold accents
   - Fraunces serif (italic emphasis) + Outfit body + JetBrains Mono eyebrows
   - Subtle grain + ambient gradient atmosphere
   ============================================================ */

:root {
  /* Surfaces */
  --bg-base: #0B0908;
  --bg-surface: #15110D;
  --bg-elevated: #1E1812;
  --bg-card: #211B14;

  /* Brand accents */
  --copper: #D97757;
  --copper-bright: #F08A5D;
  --copper-deep: #B85A3E;
  --gold: #E8B86D;
  --gold-bright: #F5C87E;

  /* Text */
  --text-primary: #F5EFE5;
  --text-secondary: #A8A097;
  --text-muted: #6B635A;

  /* Borders */
  --border: rgba(245, 239, 229, 0.08);
  --border-strong: rgba(245, 239, 229, 0.18);

  /* States */
  --success: #8FBC8F;
  --danger: #D96666;

  /* Effects */
  --grad-copper: linear-gradient(135deg, #D97757 0%, #E8B86D 100%);
  --grad-dark: linear-gradient(180deg, #15110D 0%, #0B0908 100%);
  --shadow-glow: 0 0 60px rgba(217, 119, 87, 0.25);
  --shadow-card: 0 20px 50px -20px rgba(0, 0, 0, 0.6);

  /* Typography */
  --display: 'Fraunces', 'Times New Roman', serif;
  --body: 'Outfit', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Layout */
  --max-w: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* ============ ATMOSPHERE ============ */
/* Grain overlay , same as the deck */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Ambient warm gradient */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse at 15% 5%, rgba(217, 119, 87, 0.10), transparent 55%),
    radial-gradient(ellipse at 85% 95%, rgba(232, 184, 109, 0.06), transparent 55%);
}

/* ============ TYPOGRAPHY UTILITIES ============ */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--copper);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--copper);
  display: inline-block;
}

.display {
  font-family: var(--display);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.display em {
  font-style: italic;
  color: var(--copper);
  font-weight: 400;
}

.display em.gold {
  color: var(--gold);
}

/* ============ LAYOUT PRIMITIVES ============ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(4rem, 10vh, 7rem) 0;
  position: relative;
}

.section + .section {
  border-top: 1px solid var(--border);
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: rgba(11, 9, 8, 0.7);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--display);
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.brand-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(217, 119, 87, 0.3));
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  list-style: none;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--copper);
}

.nav-cta {
  margin-left: 0.5rem;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  transition: all 0.2s ease;
}

.nav-toggle:hover {
  border-color: var(--copper);
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-primary);
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  border-radius: 50px;
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}

.btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
}

.btn:hover svg {
  transform: translateX(2px);
}

.btn-primary {
  background: var(--copper);
  color: var(--bg-base);
}

.btn-primary:hover {
  background: var(--copper-bright);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--copper);
  background: var(--bg-card);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 0.5rem 0.9rem;
}

.btn-ghost:hover {
  color: var(--copper);
}

.btn-lg {
  padding: 1.1rem 2.2rem;
  font-size: 1rem;
}

/* ============ CARDS ============ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--copper), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover::before {
  opacity: 0.5;
}

/* ============ HERO ============ */
.hero {
  padding: clamp(5rem, 14vh, 9rem) 0 clamp(4rem, 10vh, 6rem);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: end;
}

.hero-eyebrow {
  margin-bottom: 1.8rem;
}

.hero-headline {
  font-family: var(--display);
  font-size: clamp(2.6rem, 6.5vw, 5.2rem);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 1.6rem;
}

.hero-headline em {
  font-style: italic;
  color: var(--copper);
  font-weight: 400;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.hero-stat-num {
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.hero-stat-num em {
  font-style: italic;
  color: var(--copper);
}

.hero-stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Decorative pipe motif */
.hero-decor {
  position: absolute;
  right: -2rem;
  top: 4rem;
  width: 320px;
  height: 420px;
  opacity: 0.45;
  pointer-events: none;
  z-index: -1;
}

/* ============ SECTION HEADERS ============ */
.section-head {
  max-width: 760px;
  margin-bottom: 4rem;
}

.section-head .eyebrow {
  margin-bottom: 1.5rem;
}

.section-title {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
}

.section-title em {
  font-style: italic;
  color: var(--copper);
  font-weight: 400;
}

.section-intro {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 620px;
}

/* ============ PROBLEM SECTION ============ */
.problem-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.pain-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.pain-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1.2rem;
  padding: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.pain-item:hover {
  border-color: var(--copper);
  background: var(--bg-card);
}

.pain-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--copper);
}

.pain-headline {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.pain-detail {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.pain-cost {
  color: var(--copper);
  font-weight: 500;
}

.problem-aside {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.4rem;
  position: relative;
  overflow: hidden;
}

.problem-aside::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--grad-copper);
  opacity: 0.6;
}

.problem-aside-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.problem-aside-num {
  font-family: var(--display);
  font-size: clamp(2.8rem, 4.5vw, 3.8rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--copper);
  line-height: 1;
  margin-bottom: 0.8rem;
}

.problem-aside-num em {
  font-style: italic;
}

.problem-aside-sub {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 2rem;
}

.tick-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.tick-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  padding: 0.8rem 0;
  border-bottom: 1px dashed var(--border);
}

.tick-row:last-child {
  border-bottom: none;
}

.tick-row.total {
  border-top: 1px solid var(--border-strong);
  border-bottom: none;
  margin-top: 0.5rem;
  padding-top: 1rem;
  font-weight: 500;
  color: var(--text-primary);
}

.tick-label {
  color: var(--text-secondary);
}

.tick-value {
  font-family: var(--mono);
  color: var(--text-primary);
  font-size: 0.85rem;
}

.tick-row.total .tick-value {
  color: var(--copper);
  font-size: 0.95rem;
}

/* ============ PILLARS GRID ============ */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pillar-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  background: var(--bg-card);
  border-color: var(--border-strong);
  transform: translateY(-4px);
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--copper), var(--gold));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pillar-card:hover::before {
  opacity: 0.7;
}

.pillar-num {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--copper);
  margin-bottom: 1.6rem;
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--copper);
  margin-bottom: 1.4rem;
}

.pillar-title {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 0.7rem;
}

.pillar-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ============ TIMELINE ============ */
.timeline-section .section-head {
  margin-bottom: 3rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  position: relative;
  margin-top: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, var(--copper) 0%, var(--gold) 50%, var(--success) 100%);
  opacity: 0.4;
  z-index: 0;
}

.timeline-step {
  position: relative;
  z-index: 1;
}

.timeline-marker {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-base);
  border: 2px solid var(--copper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  color: var(--copper);
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  transition: all 0.3s ease;
}

.timeline-step:hover .timeline-marker {
  transform: scale(1.08);
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 20px rgba(232, 184, 109, 0.3);
}

.timeline-step:nth-child(5) .timeline-marker {
  border-color: var(--success);
  color: var(--success);
}

.timeline-day {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.timeline-title {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
}

.timeline-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============ PRICING TEASER ============ */
.pricing-teaser {
  background: var(--bg-surface);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.savings-callout {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.savings-eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.savings-num {
  font-family: var(--display);
  font-size: clamp(4.5rem, 10vw, 7.5rem);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.savings-num em {
  font-style: italic;
  color: var(--copper);
  font-weight: 400;
}

.savings-label {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold);
  line-height: 1.3;
  max-width: 360px;
}

.pricing-feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.pricing-feat {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.pricing-feat svg {
  width: 18px;
  height: 18px;
  color: var(--success);
  flex-shrink: 0;
}

.pricing-stack {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.2rem;
  position: relative;
}

.pricing-stack-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 1.3rem;
}

.stack-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.92rem;
}

.stack-row:last-of-type {
  border-bottom: none;
}

.stack-row-name {
  color: var(--text-secondary);
}

.stack-row-value {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--text-primary);
}

.stack-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.2rem 0 0;
  margin-top: 0.6rem;
  border-top: 1px solid var(--border-strong);
}

.stack-total-label {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.1rem;
}

.stack-total-value {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: -0.02em;
}

/* ============ CTA BAND ============ */
.cta-band {
  background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-surface) 100%);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(217, 119, 87, 0.15), transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}

.cta-headline {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.035em;
}

.cta-headline em {
  font-style: italic;
  color: var(--copper);
}

.cta-aside {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cta-tagline {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.3;
  color: var(--gold);
}

.cta-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--bg-base);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .brand {
  margin-bottom: 1rem;
}

.footer-tagline {
  font-family: var(--display);
  font-style: italic;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.5;
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--copper);
  margin-bottom: 1.2rem;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-list a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-list a:hover {
  color: var(--copper);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-bottom-links a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
  color: var(--text-secondary);
}

/* ============ ANIMATIONS ============ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.fade-up:nth-child(2) { animation-delay: 0.1s; }
.fade-up:nth-child(3) { animation-delay: 0.2s; }
.fade-up:nth-child(4) { animation-delay: 0.3s; }
.fade-up:nth-child(5) { animation-delay: 0.4s; }
.fade-up:nth-child(6) { animation-delay: 0.5s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-decor { display: none; }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline::before { display: none; }

  .problem-grid,
  .pricing-grid,
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  /* Mobile menu: when toggled */
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open li {
    width: 100%;
  }
  .nav-links.open a {
    display: block;
    padding: 0.85rem var(--gutter);
    font-size: 1rem;
  }
  .nav-links.open .btn {
    margin: 0.6rem var(--gutter);
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============ A11Y ============ */
:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   ADDITIONAL COMPONENTS for sub-pages
   ============================================================ */

/* ============ HERO VARIANT (centered, narrow) ============ */
.hero-narrow {
  padding: clamp(5rem, 12vh, 8rem) 0 clamp(3rem, 7vh, 4.5rem);
  text-align: center;
}

.hero-narrow-inner {
  max-width: 880px;
  margin: 0 auto;
}

.hero-narrow .hero-headline {
  font-size: clamp(2.3rem, 5.8vw, 4.5rem);
  margin: 0 auto 1.5rem;
}

.hero-narrow .hero-sub {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero-narrow .eyebrow {
  margin: 0 auto;
}

/* Make eyebrow line decoration centered for the narrow hero */
.hero-narrow .eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--copper);
}

/* ============ ACTIVE NAV CTA (Book page) ============ */
.nav-links a.active-cta {
  box-shadow: 0 0 0 1px var(--copper);
}

/* ============ PILLAR JUMP NAV ============ */
.pillar-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 2.5rem;
}

.pillar-jump a {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.55rem 1rem;
  border-radius: 50px;
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.pillar-jump a:hover {
  border-color: var(--copper);
  color: var(--copper);
  background: var(--bg-card);
}

/* ============ DAY DETAIL (How It Works) ============ */
.day-detail {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 2.5rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.day-detail:first-of-type {
  padding-top: 0;
}

.day-detail:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.day-marker {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-base);
  border: 2px solid var(--copper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  color: var(--copper);
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.day-final .day-marker {
  border-color: var(--success);
  color: var(--success);
}

.day-tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.day-title {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.day-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 760px;
  margin-bottom: 2rem;
}

.day-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--border);
}

.day-subhead {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--copper);
  margin-bottom: 1rem;
}

.day-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.day-list li {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
  padding-left: 1.4rem;
  position: relative;
}

.day-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 1px;
  background: var(--copper);
}

/* ============ SYSTEM FLOW DIAGRAM ============ */
.flow-section {
  background: var(--bg-surface);
}

.flow-diagram {
  display: grid;
  grid-template-columns: 1fr 80px auto 80px 1fr;
  align-items: center;
  gap: 1.2rem;
  margin-top: 3rem;
}

.flow-col {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.flow-col-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.flow-node {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.92rem;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.flow-node:hover {
  border-color: var(--copper);
  transform: translateX(3px);
}

.flow-node svg {
  color: var(--copper);
  flex-shrink: 0;
}

.flow-outcome {
  border-color: rgba(123, 168, 95, 0.3);
}

.flow-outcome:hover {
  border-color: var(--success);
  transform: translateX(-3px);
}

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 24px;
}

.flow-engine {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--copper);
  border-radius: 20px;
  box-shadow: var(--shadow-glow);
  min-width: 180px;
}

.flow-engine-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--copper);
  margin-bottom: 1.2rem;
}

.flow-engine-core {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-base);
  border: 2px solid var(--copper);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--copper);
  margin-bottom: 1.2rem;
}

.flow-engine-sub {
  font-family: var(--display);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--gold);
  line-height: 1.4;
}

/* ============ PILLAR DEEP-DIVE (Services) ============ */
.pillar-deep + .pillar-deep {
  border-top: 1px solid var(--border);
}

.pillar-alt {
  background: var(--bg-surface);
}

.deep-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: start;
}

.pillar-alt .deep-grid {
  grid-template-columns: 1fr 1.4fr;
}

.deep-num {
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--copper);
  margin-bottom: 1.4rem;
}

.deep-title {
  font-family: var(--display);
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin-bottom: 1.4rem;
}

.deep-title em {
  font-style: italic;
  color: var(--copper);
  font-weight: 400;
}

.deep-lead {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.deep-features {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.feat {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1rem;
}

.feat-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-style: italic;
  color: var(--copper);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.feat-title {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.feat-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.deep-impact {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  position: sticky;
  top: 100px;
}

.deep-impact-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}

.impact-stat {
  padding: 1.2rem 0;
  border-bottom: 1px dashed var(--border);
}

.impact-stat:last-child {
  border-bottom: none;
}

.impact-num {
  font-family: var(--display);
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.impact-num em {
  font-style: italic;
  color: var(--copper);
  font-weight: 400;
}

.impact-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ============ FAQ (used on Book + Pricing) ============ */
.faq-section {
  background: var(--bg-surface);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.faq-item[open] {
  border-color: var(--copper);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 1.7rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--copper);
}

.faq-item summary svg {
  width: 20px;
  height: 20px;
  color: var(--copper);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item[open] summary svg {
  transform: rotate(180deg);
}

.faq-item p {
  padding: 0 1.7rem 1.5rem;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.65;
}

/* ============ STORY GRID (About page) ============ */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.story-body {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.story-body p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.story-body strong {
  color: var(--text-primary);
  font-weight: 500;
}

/* ============ FOUNDERS (About page) ============ */
.founders-section {
  background: var(--bg-surface);
}

.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.founder-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.founder-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}

.founder-photo {
  aspect-ratio: 1.4 / 1;
  background: var(--bg-elevated);
  overflow: hidden;
}

.founder-photo svg,
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-body {
  padding: 2rem 2rem 2.2rem;
}

.founder-name {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.015em;
  margin-bottom: 0.3rem;
}

.founder-role {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--copper);
  margin-bottom: 1.2rem;
}

.founder-bio {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============ PRINCIPLES (About page) ============ */
.principles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.principle {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.2rem;
  transition: all 0.3s ease;
}

.principle:hover {
  border-color: var(--border-strong);
  background: var(--bg-elevated);
}

.principle-num {
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--copper);
  margin-bottom: 1.3rem;
}

.principle-title {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 0.9rem;
}

.principle-desc {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============ BOOKING (Book a Call page) ============ */
.booking-section {
  padding: clamp(3rem, 7vh, 5rem) 0;
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
  align-items: start;
}

.booking-info {
  position: sticky;
  top: 100px;
}

.expect-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-bottom: 2.5rem;
}

.expect-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1rem;
}

.expect-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--copper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-style: italic;
  color: var(--copper);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.expect-title {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 0.3rem;
  color: var(--text-primary);
}

.expect-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.booking-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.trust-stat {
  text-align: center;
}

.trust-num {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.trust-num em {
  font-style: italic;
  color: var(--copper);
}

.trust-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.booking-calendar {
  position: relative;
}

.calendar-frame {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

.calendar-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-copper);
  opacity: 0.7;
}

.calendar-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-secondary);
  min-height: 480px;
}

.calendar-placeholder svg {
  width: 80px;
  height: 80px;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  opacity: 0.5;
}

.calendar-placeholder-title {
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.calendar-placeholder-sub {
  font-size: 0.92rem;
  color: var(--text-secondary);
  max-width: 360px;
  line-height: 1.5;
}

.calendar-placeholder a {
  color: var(--copper);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ============ WHAT'S INCLUDED (Pricing page) ============ */
.included-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.included-col {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}

.included-label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px dashed var(--border);
}

.included-label svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.included-yes {
  color: var(--success);
}

.included-yes svg {
  color: var(--success);
}

.included-no {
  color: var(--text-secondary);
}

.included-no svg {
  color: var(--danger);
}

.included-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.included-list li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  padding-left: 1.5rem;
  position: relative;
}

.included-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 1px;
  background: var(--text-muted);
}

/* ============ RESPONSIVE for new components ============ */
@media (max-width: 1024px) {
  .deep-grid,
  .pillar-alt .deep-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .deep-impact {
    position: static;
  }

  .booking-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .booking-info {
    position: static;
  }

  .story-grid,
  .founders-grid,
  .principles-grid,
  .included-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .flow-diagram {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .flow-arrow {
    transform: rotate(90deg);
  }
  .flow-engine {
    margin: 0 auto;
  }
  .flow-node:hover,
  .flow-outcome:hover {
    transform: none;
  }

  .day-cols {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 720px) {
  .day-detail {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .day-marker {
    width: 52px;
    height: 52px;
    font-size: 1.2rem;
  }

  .pillar-jump {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 2rem auto 0;
  }
  .pillar-jump a {
    text-align: center;
  }

  .booking-trust {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  .trust-stat {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    text-align: left;
  }

  .faq-item summary {
    font-size: 1rem;
    padding: 1.1rem 1.4rem;
  }
}

/* ============================================================
   ROI CALCULATOR (Pricing page)
   ============================================================ */

.calculator-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: start;
}

/* INPUTS */
.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.calc-input {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.calc-input-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.calc-input label {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-secondary);
}

.calc-input-value {
  font-family: var(--display);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 400;
  color: var(--copper);
  letter-spacing: -0.02em;
  line-height: 1;
  transition: color 0.2s ease;
}

.calc-input-range {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* Slider styling, needs separate rules for Chrome/Safari vs Firefox */
.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--bg-elevated);
  border-radius: 3px;
  border: 1px solid var(--border);
  outline: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.calc-slider:hover {
  background: var(--bg-base);
}

/* Webkit (Chrome, Safari, Edge) thumb */
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--copper);
  border: 2px solid var(--bg-base);
  cursor: grab;
  box-shadow: 0 2px 8px rgba(217, 119, 87, 0.4);
  transition: all 0.2s ease;
}

.calc-slider::-webkit-slider-thumb:hover {
  background: var(--copper-bright);
  transform: scale(1.1);
}

.calc-slider::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.15);
  box-shadow: 0 0 0 6px rgba(217, 119, 87, 0.2);
}

/* Firefox thumb */
.calc-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--copper);
  border: 2px solid var(--bg-base);
  cursor: grab;
  box-shadow: 0 2px 8px rgba(217, 119, 87, 0.4);
  transition: all 0.2s ease;
}

.calc-slider::-moz-range-thumb:hover {
  background: var(--copper-bright);
  transform: scale(1.1);
}

.calc-slider:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 4px;
}

/* OUTPUTS */
.calc-outputs {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.calc-output {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.8rem 2rem;
  position: relative;
  overflow: hidden;
}

.calc-output::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: var(--grad-copper);
  opacity: 0.4;
}

.calc-output-big {
  padding: 2.2rem 2.4rem;
}

.calc-output-big::before {
  opacity: 0.9;
}

.calc-output-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.calc-output-value {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  font-weight: 300;
  font-style: italic;
  color: var(--copper);
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 0.6rem;
  transition: color 0.25s ease;
}

.calc-output-big .calc-output-value {
  font-size: clamp(3rem, 6vw, 4.5rem);
  color: var(--gold);
}

.calc-output-sub {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.calc-breakdown {
  padding: 1.2rem 1.6rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.calc-breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.6rem 0;
  font-size: 0.92rem;
}

.calc-breakdown-row + .calc-breakdown-row {
  border-top: 1px dashed var(--border);
}

.calc-breakdown-label {
  color: var(--text-secondary);
}

.calc-breakdown-value {
  font-family: var(--mono);
  font-size: 0.88rem;
  color: var(--copper);
}

.calc-cta {
  margin-top: 0.5rem;
  padding: 1.6rem 0 0;
  border-top: 1px solid var(--border);
}

.calc-cta-tagline {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold);
  line-height: 1.5;
  margin-bottom: 1.2rem;
  max-width: 480px;
}

.calc-note {
  margin-top: 2.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

/* Number pulse on update */
@keyframes pulseUpdate {
  0% { color: var(--copper-bright); transform: scale(1.02); }
  100% { color: inherit; transform: scale(1); }
}

.calc-output-value.pulse,
.calc-breakdown-value.pulse,
.calc-input-value.pulse {
  animation: pulseUpdate 0.3s ease-out;
}

/* Responsive */
@media (max-width: 1024px) {
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 720px) {
  .calc-inputs {
    padding: 1.8rem;
    gap: 1.6rem;
  }
  .calc-input-value {
    font-size: 1.3rem;
  }
}
