/* ─── Design Tokens ─────────────────────────────────────────── */
:root {
  --font-body: 'Figtree', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', var(--font-body);
  --font-cta: 'Syne', var(--font-body);

  --color-dark: #1a1a1a;
  --color-bg: #f5f3f0;
  --color-bg-alt: #eceae6;
  --color-white: #ffffff;
  --color-accent: #8eba3f;
  --color-accent-hover: #7aa832;
  --color-accent-light: rgba(142, 186, 63, 0.1);
  --color-accent-ring: rgba(142, 186, 63, 0.25);
  --color-text: #1a1a1a;
  --color-text-secondary: #545554;
  --color-text-muted: #847667;
  --color-border: #d4d0cc;
  --color-border-light: #e8e5e1;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 100px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.1), 0 4px 10px rgba(0,0,0,0.05);
  --shadow-accent: 0 4px 14px rgba(142, 186, 63, 0.3);

  --transition: 0.2s ease;
  --max-width: 1200px;
}

/* ─── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input { font-family: inherit; }

.hidden { display: none !important; }

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

/* ─── Header ────────────────────────────────────────────────── */
.site-header {
  background: var(--color-dark);
  padding: 12px 0;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header-logo { height: 36px; width: auto; }

.header-link {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.header-link:hover { color: var(--color-white); }

/* ─── Hero ──────────────────────────────────────────────────── */
.hero {
  background: var(--color-dark);
  padding: 48px 24px 56px;
  text-align: center;
}

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

.hero h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.2;
  color: var(--color-white);
  margin-bottom: 16px;
}

.year-badge {
  display: inline-block;
  font-family: var(--font-cta);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  border: 1.5px solid var(--color-accent);
  border-radius: var(--radius-pill);
  padding: 2px 12px;
  vertical-align: middle;
  margin-left: 4px;
  letter-spacing: 0.5px;
}

.hero-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
}

@media (min-width: 768px) {
  .hero { padding: 64px 40px 72px; }
  .hero h1 { font-size: 44px; }
  .hero-subtitle { font-size: 18px; }
}

/* ─── Calculator Section ────────────────────────────────────── */
.calculator { padding: 32px 16px 48px; }

.calculator-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 32px;
}

@media (min-width: 1024px) {
  .calculator { padding: 48px 40px 64px; }
  .calculator-inner {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
  }
}

/* ─── Accordion ─────────────────────────────────────────────── */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.accordion-section {
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  background: var(--color-white);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.accordion-section.active {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-sm);
}
.accordion-section.completed {
  border-color: var(--color-border);
}

.accordion-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: background var(--transition);
}
.accordion-header:hover { background: var(--color-bg); }
.accordion-section.active .accordion-header { background: transparent; }

.accordion-header__number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-cta);
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
  transition: all var(--transition);
}
.accordion-section.active .accordion-header__number {
  background: var(--color-accent);
  color: var(--color-white);
}
.accordion-section.completed .accordion-header__number {
  background: var(--color-accent);
  color: transparent;
  position: relative;
}
.accordion-section.completed .accordion-header__number::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 5px;
  border-left: 2px solid var(--color-white);
  border-bottom: 2px solid var(--color-white);
  transform: translate(-50%, -65%) rotate(-45deg);
}

.accordion-header__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--color-text);
  flex-shrink: 0;
}

.accordion-header__summary {
  flex: 1;
  font-size: 13px;
  color: var(--color-text-muted);
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 1;
  transition: opacity var(--transition);
}
.accordion-section.active .accordion-header__summary { opacity: 0; }

.accordion-header__chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  position: relative;
}
.accordion-header__chevron::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--color-text-muted);
  border-bottom: 2px solid var(--color-text-muted);
  transform: translate(-50%, -70%) rotate(45deg);
  transition: transform 0.3s ease;
}
.accordion-section.active .accordion-header__chevron::before {
  transform: translate(-50%, -30%) rotate(-135deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion-content__inner {
  padding: 4px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ─── Form Controls (shared) ────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 10px; }

.form-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--color-text);
  letter-spacing: 0.2px;
}

.form-sublabel {
  font-size: 13px;
  color: var(--color-text-muted);
  font-weight: 400;
  margin-top: -4px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: var(--color-text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-ring);
}
.form-input::placeholder { color: var(--color-text-muted); }
.form-input--zip { max-width: 180px; letter-spacing: 2px; font-weight: 500; }

.form-hint {
  font-size: 13px;
  color: var(--color-text-muted);
  min-height: 22px;
  display: inline-flex;
  align-items: center;
}
.form-hint--active { color: var(--color-accent); font-weight: 500; }
.form-hint--chip { padding: 0; }

.metro-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 8px;
  background: var(--color-accent-light);
  border: 1px solid var(--color-accent-ring);
  border-radius: var(--radius-pill);
  color: var(--color-accent-hover);
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
  white-space: nowrap;
}
.metro-chip strong {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-accent-hover);
}
.metro-chip__sep { color: var(--color-accent); opacity: 0.6; }
.metro-chip__check {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
  position: relative;
}
.metro-chip__check::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 3px;
  border-left: 1.5px solid var(--color-white);
  border-bottom: 1.5px solid var(--color-white);
  transform: translate(-50%, -70%) rotate(-45deg);
}

/* ─── Size Toggle & Presets ─────────────────────────────────── */
.size-toggle {
  display: flex;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: 3px;
}

.size-toggle__btn {
  flex: 1;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  color: var(--color-text-muted);
  transition: all var(--transition);
}
.size-toggle__btn.active {
  background: var(--color-white);
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
}

.size-presets {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}

.size-preset {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border-light);
  background: var(--color-white);
  color: var(--color-text-secondary);
  transition: all var(--transition);
  line-height: 1.3;
}
.size-preset:hover { border-color: var(--color-accent); color: var(--color-accent); }
.size-preset.active {
  border-color: var(--color-accent);
  background: var(--color-accent-light);
  color: var(--color-accent-hover);
  font-weight: 600;
}
.size-preset__sqft {
  display: block;
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: 2px;
}
.size-preset.active .size-preset__sqft { color: var(--color-accent); }

/* ─── Layout Selector ───────────────────────────────────────── */
.layout-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
}

.layout-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px 12px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border-light);
  background: var(--color-white);
  transition: all var(--transition);
  text-align: center;
}
.layout-card:hover { border-color: var(--color-accent); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.layout-card.active {
  border-color: var(--color-accent);
  background: var(--color-accent-light);
  box-shadow: var(--shadow-md);
}

.layout-card__icon {
  width: 84px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.layout-card__icon svg.layout-3d {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.layout-3d polygon {
  stroke: #6b5e4f;
  stroke-width: 1;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  transition: fill var(--transition), stroke var(--transition);
}
.layout-3d__run.layout-3d__top    { fill: #efe8d8; }
.layout-3d__run.layout-3d__front  { fill: #c9b896; }
.layout-3d__run.layout-3d__right  { fill: #a8936f; }
.layout-3d__island.layout-3d__top   { fill: #f4eedc; }
.layout-3d__island.layout-3d__front { fill: #b6a47f; }
.layout-3d__island.layout-3d__right { fill: #8f7a57; }

.layout-card.active .layout-3d polygon { stroke: var(--color-accent-hover); }
.layout-card.active .layout-3d__run.layout-3d__top    { fill: #d9e6b8; }
.layout-card.active .layout-3d__run.layout-3d__front  { fill: #a7c766; }
.layout-card.active .layout-3d__run.layout-3d__right  { fill: #7aa832; }
.layout-card.active .layout-3d__island.layout-3d__top   { fill: #e2edc3; }
.layout-card.active .layout-3d__island.layout-3d__front { fill: #98bc57; }
.layout-card.active .layout-3d__island.layout-3d__right { fill: #6a9a2a; }

.layout-card__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text);
}
.layout-card.active .layout-card__label { color: var(--color-accent-hover); }
.layout-card__hint {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--color-text-muted);
  line-height: 1.3;
  margin-top: 2px;
}
.layout-card.active .layout-card__hint { color: var(--color-accent-hover); opacity: 0.8; }

/* ─── Replacing / Keeping Toggle ────────────────────────────── */
.replacing-toggle {
  display: flex;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: 3px;
}

.replacing-toggle__btn {
  flex: 1;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  color: var(--color-text-muted);
  transition: all var(--transition);
  text-align: center;
}
.replacing-toggle__btn.active {
  background: var(--color-white);
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
}
.replacing-toggle__btn--replacing.active { color: var(--color-accent); }

.replacing-toggle.locked {
  opacity: 0.6;
  pointer-events: none;
}

.forced-note {
  font-size: 12px;
  color: var(--color-accent);
  font-weight: 500;
  font-style: italic;
}

/* ─── Option Cards (Tier / Material Selection) ──────────────── */
.option-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (min-width: 480px) {
  .option-cards--3 { grid-template-columns: repeat(3, 1fr); }
  .option-cards--4 { grid-template-columns: repeat(4, 1fr); }
  .option-cards--5 { grid-template-columns: repeat(5, 1fr); }
}

.option-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 8px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border-light);
  background: var(--color-white);
  transition: all var(--transition);
  text-align: center;
}
.option-card:hover { border-color: var(--color-accent); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.option-card.active {
  border-color: var(--color-accent);
  background: var(--color-accent-light);
  box-shadow: var(--shadow-md);
}
.option-card.disabled {
  opacity: 0.4;
  pointer-events: none;
}

.option-card__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  color: var(--color-text);
  line-height: 1.3;
}

.option-card__price {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-accent);
}

.option-card__desc {
  font-size: 11px;
  color: var(--color-text-muted);
  line-height: 1.3;
}

.option-card__brands {
  font-size: 10px;
  color: var(--color-text-muted);
  font-style: italic;
  line-height: 1.3;
}

/* Section options collapse when "Keeping Current" */
.section-options {
  max-height: 500px;
  overflow: hidden;
  opacity: 1;
  transition: max-height 0.35s ease, opacity 0.2s ease;
}
.section-options.collapsed {
  max-height: 0;
  opacity: 0;
}

/* ─── Scope Toggle Rows (Appliance installs, Lighting, Finishing) */
.scope-toggles {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.scope-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  cursor: pointer;
  transition: all var(--transition);
  user-select: none;
}
.scope-toggle:hover { border-color: var(--color-border); }
.scope-toggle.active { border-color: var(--color-accent); background: var(--color-accent-light); }

.scope-toggle__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.scope-toggle__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
}

.scope-toggle__desc {
  font-size: 11px;
  color: var(--color-text-muted);
}

.scope-toggle__cost {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-muted);
  flex-shrink: 0;
  margin-right: 12px;
}
.scope-toggle.active .scope-toggle__cost { color: var(--color-accent); }

.scope-toggle__switch {
  position: relative;
  width: 44px;
  height: 24px;
  background: var(--color-border);
  border-radius: 12px;
  flex-shrink: 0;
  transition: background var(--transition);
}
.scope-toggle__switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: var(--color-white);
  border-radius: 50%;
  transition: transform var(--transition);
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.scope-toggle.active .scope-toggle__switch { background: var(--color-accent); }
.scope-toggle.active .scope-toggle__switch::after { transform: translateX(20px); }

/* ─── Finishing Auto-Calc Items ─────────────────────────────── */
.auto-calc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  background: var(--color-bg);
  font-size: 13px;
}

.auto-calc-row__label { color: var(--color-text-secondary); }
.auto-calc-row__value { font-weight: 600; color: var(--color-text); }
.auto-calc-row__value--na { color: var(--color-text-muted); font-weight: 400; }

/* ─── Results Panel ─────────────────────────────────────────── */
.calculator__results {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

@media (min-width: 1024px) {
  .calculator__results {
    position: sticky;
    top: 24px;
  }
}

.results-placeholder {
  padding: 28px 24px 36px;
  color: var(--color-text-muted);
}
.results-placeholder__text {
  font-size: 14px;
  text-align: center;
  margin-top: 20px;
}

.results-skeleton { opacity: 0.6; }
.results-skeleton__label {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-border);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.results-skeleton__total {
  height: 36px;
  width: 70%;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--color-bg-alt) 0%, var(--color-border-light) 50%, var(--color-bg-alt) 100%);
  background-size: 200% 100%;
  animation: skel-shimmer 1.8s ease-in-out infinite;
  margin-bottom: 10px;
}
.results-skeleton__regional {
  height: 12px;
  width: 55%;
  border-radius: 4px;
  background: var(--color-bg-alt);
  margin-bottom: 20px;
}
.results-skeleton__rows { display: flex; flex-direction: column; gap: 14px; }
.results-skeleton__row { display: flex; flex-direction: column; gap: 6px; }
.results-skeleton__row-label {
  height: 10px;
  width: 40%;
  border-radius: 3px;
  background: var(--color-bg-alt);
}
.results-skeleton__row-bar {
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--color-bg-alt) 0%, var(--color-border-light) 50%, var(--color-bg-alt) 100%);
  background-size: 200% 100%;
  animation: skel-shimmer 1.8s ease-in-out infinite;
}
@keyframes skel-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .results-skeleton__total,
  .results-skeleton__row-bar { animation: none; }
}

.results-content { padding: 0; }

.results-header {
  padding: 28px 24px 20px;
  border-bottom: 1px solid var(--color-border-light);
}

.results-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.results-total {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 32px;
  color: var(--color-text);
  line-height: 1.2;
}
.results-total__separator {
  font-weight: 400;
  color: var(--color-text-muted);
  margin: 0 6px;
}

.results-regional {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 6px;
}
.results-regional strong { color: var(--color-accent); font-weight: 600; }

/* ─── Breakdown Rows ────────────────────────────────────────── */
.results-breakdown { padding: 20px 24px; }

.breakdown-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border-light);
}
.breakdown-row:last-child { border-bottom: none; }

.breakdown-row__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.breakdown-row__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
}

.breakdown-row__value {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
}

.breakdown-row__bar {
  height: 6px;
  background: var(--color-bg-alt);
  border-radius: 3px;
  overflow: hidden;
}

.breakdown-row__bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.5s ease;
}

/* Expandable finishing sub-items */
.breakdown-row--expandable { cursor: pointer; }
.breakdown-row--expandable .breakdown-row__label::after {
  content: ' \25BE';
  font-size: 11px;
  color: var(--color-text-muted);
}
.breakdown-row--expandable.expanded .breakdown-row__label::after { content: ' \25B4'; }

.breakdown-subitems {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.breakdown-subitems.expanded { max-height: 300px; }

.breakdown-subitem {
  display: flex;
  justify-content: space-between;
  padding: 4px 0 4px 16px;
  font-size: 12px;
  color: var(--color-text-muted);
}
.breakdown-subitem__value { font-weight: 500; }

/* ─── Chart ─────────────────────────────────────────────────── */
.results-chart {
  padding: 16px 24px 24px;
  max-height: 280px;
  display: flex;
  justify-content: center;
}

.results-chart canvas {
  max-width: 240px;
  max-height: 240px;
}

/* ─── Disclaimer ────────────────────────────────────────────── */
.results-disclaimer {
  padding: 12px 24px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--color-text-muted);
  background: var(--color-bg);
  border-top: 1px solid var(--color-border-light);
}

/* ─── CTA ───────────────────────────────────────────────────── */
.results-cta {
  padding: 24px;
  text-align: center;
  border-top: 1px solid var(--color-border-light);
}
.results-cta p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

.btn-cta {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-cta);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--color-white);
  background: var(--color-accent);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  text-decoration: none;
}
.btn-cta:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.results-cta__phone {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--color-text-muted);
}
.results-cta__phone a { color: var(--color-accent); font-weight: 500; }
.results-cta__phone a:hover { text-decoration: underline; }

/* ─── FAQ Section ───────────────────────────────────────────── */
.faq {
  padding: 48px 16px;
  background: var(--color-white);
  border-top: 1px solid var(--color-border-light);
}

.faq-inner { max-width: 800px; margin: 0 auto; }

.faq h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 32px;
  text-align: center;
}

.faq-list { display: flex; flex-direction: column; gap: 8px; }

.faq-item {
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item[open] { border-color: var(--color-border); }

.faq-item summary {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
}
.faq-item summary:hover { background: var(--color-bg); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ''; }
.faq-item summary::after {
  content: '';
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-left: 16px;
  border-radius: 50%;
  background-color: var(--color-accent-light);
  background-image:
    linear-gradient(var(--color-accent-hover), var(--color-accent-hover)),
    linear-gradient(var(--color-accent-hover), var(--color-accent-hover));
  background-size: 10px 2px, 2px 10px;
  background-position: center center, center center;
  background-repeat: no-repeat;
  border: 1px solid var(--color-accent-ring);
  transition: background-size 0.25s ease, background-color var(--transition), transform 0.25s ease;
}
.faq-item[open] summary::after {
  background-color: var(--color-accent);
  background-image:
    linear-gradient(var(--color-white), var(--color-white)),
    linear-gradient(var(--color-white), var(--color-white));
  background-size: 10px 2px, 0 0;
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-secondary);
}
.faq-answer p { margin-bottom: 8px; }
.faq-answer p:last-child { margin-bottom: 0; }

@media (min-width: 768px) {
  .faq { padding: 64px 40px; }
}

/* ─── Content Section ───────────────────────────────────────── */
.content-section {
  padding: 48px 16px;
  border-top: 1px solid var(--color-border-light);
}

.content-inner { max-width: 800px; margin: 0 auto; }

.content-section h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 26px;
  margin-bottom: 16px;
}

.content-section h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 20px;
  margin: 32px 0 12px;
}

.content-section p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.content-section ul { padding-left: 20px; margin-bottom: 16px; }

.content-section li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}

.content-section strong { color: var(--color-text); }

.content-section a,
.faq-answer a,
.results-roi__source a {
  color: var(--color-accent-hover);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color var(--transition);
}
.content-section a:hover,
.faq-answer a:hover,
.results-roi__source a:hover { color: var(--color-accent); }

@media (min-width: 768px) {
  .content-section { padding: 64px 40px; }
}

/* ─── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: var(--color-dark);
  padding: 40px 24px;
  text-align: center;
}

.footer-inner { max-width: var(--max-width); margin: 0 auto; }

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.footer-logo { height: 32px; width: auto; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-bottom: 20px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--color-white); }

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}
.footer-copy a { color: rgba(255,255,255,0.5); }
.footer-copy a:hover { color: var(--color-white); }

/* ─── Shared Inputs ────────────────────────────────────────── */
.shared-inputs {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 12px;
}

/* ─── Results: Timeline ────────────────────────────────────── */
.results-timeline {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-top: 6px;
}

.results-timeline strong {
  font-weight: 600;
  color: var(--color-text);
}

/* ─── Results: Quote Hint ──────────────────────────────────── */
.results-quote-hint {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--color-border-light);
  font-style: italic;
}

/* ─── Results: Tips ────────────────────────────────────────── */
.results-tips {
  padding: 0 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tip {
  padding: 10px 14px;
  background: var(--color-accent-light);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--color-text);
  line-height: 1.4;
  display: flex;
  gap: 8px;
}

.tip::before {
  content: '\2713';
  color: var(--color-accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* ─── Results: ROI ─────────────────────────────────────────── */
.results-roi {
  margin: 0 20px 16px;
  padding: 16px;
  background: rgba(142, 186, 63, 0.06);
  border: 1px solid rgba(142, 186, 63, 0.15);
  border-radius: var(--radius-md);
}

.results-roi__header {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text-secondary);
  margin-bottom: 10px;
}

.results-roi__bar {
  height: 8px;
  background: var(--color-bg-alt);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.results-roi__bar-fill {
  height: 100%;
  background: var(--color-accent);
  border-radius: 4px;
  transition: width 0.6s ease;
  width: 0%;
}

.results-roi__detail {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.results-roi__pct {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  color: var(--color-accent);
}

.results-roi__label {
  font-size: 13px;
  color: var(--color-text-secondary);
}

.results-roi__source {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: 6px;
}

/* ─── Results Header Top Row + Share Button ─────────────────── */
.results-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-white);
  color: var(--color-text-secondary);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
}
.share-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-hover);
  background: var(--color-accent-light);
}
.share-btn--copied {
  border-color: var(--color-accent);
  background: var(--color-accent-light);
  color: var(--color-accent-hover);
}
.share-btn__icon {
  width: 12px;
  height: 12px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  position: relative;
  flex-shrink: 0;
}
.share-btn__icon::after {
  content: '';
  position: absolute;
  top: -4px;
  left: 2px;
  width: 10px;
  height: 10px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  background: var(--color-white);
}
.share-btn--copied .share-btn__icon {
  border-color: var(--color-accent);
  background: var(--color-accent);
}
.share-btn--copied .share-btn__icon::after {
  border-color: var(--color-accent);
  background: var(--color-white);
}

/* ─── Trust Row ─────────────────────────────────────────────── */
.results-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  margin: 12px 20px 0;
  background: var(--color-bg);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
}
.results-trust__stars {
  color: #f5b400;
  font-size: 14px;
  letter-spacing: 1px;
  flex-shrink: 0;
}
.results-trust__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--color-text-secondary);
}
.results-trust__text strong {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  color: var(--color-text);
}

/* ─── Sticky Mobile Total ───────────────────────────────────── */
.sticky-total {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px));
  background: var(--color-dark);
  color: var(--color-white);
  box-shadow: 0 -6px 16px rgba(0, 0, 0, 0.18);
  transform: translateY(110%);
  transition: transform 0.3s ease;
}
.sticky-total.visible { transform: translateY(0); }
.sticky-total__label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
}
.sticky-total__value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
@media (max-width: 960px) {
  .sticky-total { display: flex; }
}

/* ─── Toast ─────────────────────────────────────────────────── */
.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translate(-50%, 40px);
  z-index: 100;
  padding: 10px 18px;
  background: var(--color-dark);
  color: var(--color-white);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (max-width: 960px) {
  .toast { bottom: 80px; }
}

/* ─── Print Styles ──────────────────────────────────────────── */
@media print {
  .site-header, .site-footer, .results-cta, .results-chart, .hero, .sticky-total, .toast, .share-btn { display: none; }
  .calculator__results { box-shadow: none; border: 1px solid #ccc; }
  .calculator-inner { display: block; }
  body { background: white; }
}
