/* ════════════════════════════════════════════════════════════
   compoundfor.me — "Dark Wealth" edition
   Applied via frontend-design skill:
     Display: Fraunces (variable serif, optical-size axis)
     Body:    Plus Jakarta Sans
     Palette: warm near-black · gold accent · electric mint
   ════════════════════════════════════════════════════════════ */


/* ── 0. TOKENS ──────────────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg-primary:    #0D0D0B;
  --bg-secondary:  #141412;
  --bg-tertiary:   #1C1C19;
  --bg-card:       #181816;
  --bg-hover:      #232320;

  /* Text */
  --text-primary:   #F5F3EE;
  --text-secondary: #9A9690;
  --text-tertiary:  #58564F;

  /* Gold accent */
  --accent:        #E8C547;
  --accent-hover:  #F0D060;
  --accent-light:  rgba(232, 197, 71, 0.10);
  --accent-dim:    rgba(232, 197, 71, 0.05);

  /* Semantic */
  --success:        #3EE8B5;       /* electric mint — growth */
  --success-light:  rgba(62, 232, 181, 0.10);
  --info:           #60A5FA;
  --info-light:     rgba(96, 165, 250, 0.10);
  --warning:        #FB923C;

  /* Borders */
  --border:          rgba(255, 255, 255, 0.07);
  --border-hover:    rgba(255, 255, 255, 0.14);
  --border-selected: #3EE8B5;

  /* Chart (passed as hardcoded colors to Chart.js) */
  --chart-invested:  #3EE8B5;
  --chart-saved:     #60A5FA;
  --chart-fancy:     #FB923C;

  /* Shadows */
  --shadow-card:   0 1px 3px rgba(0,0,0,0.40), 0 1px 2px rgba(0,0,0,0.25);
  --shadow-glow:   0 0 24px rgba(232, 197, 71, 0.14);
  --shadow-modal:  0 32px 80px rgba(0,0,0,0.65);
  --shadow-mint:   0 0 20px rgba(62, 232, 181, 0.12);

  /* Radius */
  --radius-sm:   6px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   18px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 220ms ease;
  --transition-slow: 350ms ease;
}


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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Grain texture overlay — adds warmth/depth to the dark bg */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.028;
  pointer-events: none;
  z-index: 9000;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; font-size: inherit; }
input, select { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }

/* Headings use the display serif */
h1, h2, h3, h4, .display {
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto;
  line-height: 1.1;
  letter-spacing: -0.02em;
}


/* ── 2. LAYOUT ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}


/* ── 3. BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-full);
  padding: 14px 32px;
  letter-spacing: 0.01em;
  transition:
    background     var(--transition-fast),
    transform      var(--transition-fast),
    box-shadow     var(--transition-fast),
    opacity        var(--transition-fast);
  white-space: nowrap;
  line-height: 1;
}

.btn--primary {
  background: var(--accent);
  color: #0D0D0B;
  box-shadow: 0 2px 12px rgba(232, 197, 71, 0.25);
}

.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(232, 197, 71, 0.35);
}

.btn--primary:active {
  transform: translateY(0);
  opacity: 0.92;
}

.btn--outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid rgba(232, 197, 71, 0.4);
}

.btn--outline:hover {
  background: var(--accent-light);
  border-color: var(--accent);
}


/* ── 4. NAVBAR ───────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 56px;
  background: rgba(13, 13, 11, 0.80);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.navbar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto;
  font-style: italic;
  font-weight: 600;
  font-size: 20px;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  transition: color var(--transition-fast);
}

.navbar__logo:hover { color: var(--accent); }

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 3px;
}

.lang-toggle__btn {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  transition:
    color      var(--transition-fast),
    background var(--transition-fast),
    box-shadow var(--transition-fast);
}

.lang-toggle__btn--active {
  color: var(--bg-primary);
  background: var(--accent);
  box-shadow: 0 1px 6px rgba(232, 197, 71, 0.3);
}

.lang-toggle__btn:not(.lang-toggle__btn--active):hover {
  color: var(--text-secondary);
}


/* ── 5. HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 72px 0 64px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

/* Large decorative multiplier in background — the "unforgettable" element */
.hero::after {
  content: '10×';
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: clamp(120px, 18vw, 260px);
  color: var(--accent);
  opacity: 0.05;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.06em;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;  /* left-aligned */
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

/* Gold pip before the eyebrow */
.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  flex-shrink: 0;
}

.hero__headline {
  font-size: clamp(44px, 7vw, 76px);
  font-weight: 600;
  line-height: 1.05;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  white-space: pre-line;
  max-width: 740px;
}

/* Italic accent on the last part of the headline (via CSS) */
.hero__headline em {
  font-style: italic;
  color: var(--accent);
}

.hero__subheadline {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: 40px;
}

@media (min-width: 1024px) {
  .hero { padding: 108px 0 96px; }
}


/* ── 6. SECTION SHARED ───────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-sub {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}


/* ── 7. FEATURES ─────────────────────────────────────────────── */
.features {
  padding: 96px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features__header {
  text-align: center;
  margin-bottom: 56px;
}

.features__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.025em;
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .features__grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  transition:
    border-color var(--transition-fast),
    transform    var(--transition-fast),
    box-shadow   var(--transition-fast);
}

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

.feature-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--accent-dim);
  border: 1px solid rgba(232, 197, 71, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 20px;
  transition: background var(--transition-fast), box-shadow var(--transition-fast);
}

.feature-card:hover .feature-card__icon {
  background: var(--accent-light);
  box-shadow: var(--shadow-glow);
}

.feature-card__title {
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto;
  font-size: 19px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.feature-card__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}


/* ── 8. CALCULATOR SECTION ───────────────────────────────────── */
.calculator-section {
  padding: 96px 0;
  background: var(--bg-primary);
}

/* ── Placeholder */
.calc-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 320px;
  padding: 64px 32px;
  background: var(--bg-secondary);
  border: 1px dashed var(--border-hover);
  border-radius: var(--radius-xl);
  text-align: center;
}

.calc-placeholder__icon {
  font-size: 44px;
  color: var(--text-tertiary);
  line-height: 1;
}

.calc-placeholder__label {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-secondary);
}

.calc-placeholder__sublabel {
  font-size: 14px;
  color: var(--text-tertiary);
  max-width: 380px;
  line-height: 1.65;
}

/* ── Presets grid */
.presets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
  gap: 10px;
  margin-bottom: 32px;
}

/* ── Preset card */
.preset-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  position: relative;
  transition:
    border-color var(--transition-fast),
    background   var(--transition-fast),
    transform    var(--transition-fast),
    box-shadow   var(--transition-fast);
}

.preset-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-hover);
  transform: translateY(-1px);
  z-index: 10;
}

.preset-card:has(.preset-card__top.is-open) {
  z-index: 10;
}

.preset-card--selected {
  border-color: var(--success);
  background: linear-gradient(
    160deg,
    rgba(62, 232, 181, 0.06) 0%,
    transparent 100%
  );
  box-shadow: 0 0 0 1px var(--success), var(--shadow-mint);
}

.preset-card--selected .preset-card__icon { color: var(--success); }

.preset-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.preset-card__top {
  flex: 1;
  padding: 16px 14px 12px;
  position: relative;
}

/* Check badge */
.preset-card__check-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--success);
  color: var(--bg-primary);
  font-size: 11px;
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.preset-card--selected .preset-card__check-badge {
  display: flex;
  animation: badgePop 150ms ease both;
}

@keyframes badgePop {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.preset-card__icon {
  font-size: 20px;
  color: var(--text-tertiary);
  margin-bottom: 10px;
  transition: color var(--transition-fast);
}

.preset-card__name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 4px;
  padding-right: 26px; /* avoid info btn / check badge overlap */
}

.preset-card__sub {
  font-size: 11px;
  color: var(--text-tertiary);
  line-height: 1.45;
}

/* Info button — hidden when card is selected (check badge takes its spot) */
.preset-card__info-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  border: none;
  background: transparent;
  color: var(--text-tertiary);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  border-radius: 50%;
  transition: color var(--transition-fast);
  z-index: 2;
}

.preset-card__info-btn:hover { color: var(--accent); }
.preset-card--selected .preset-card__info-btn { display: none; }

/* Tooltip */
.preset-card__tooltip {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 210px;
  background: var(--warning);
  border: none;
  border-radius: var(--radius-md);
  padding: 10px 12px;
  font-size: 11.5px;
  color: #0D0D0B;
  line-height: 1.55;
  font-weight: 500;
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

/* Show on desktop hover of the info button */
.preset-card__info-btn:hover ~ .preset-card__tooltip,
/* Show on mobile tap (.is-open toggled via JS) */
.preset-card__top.is-open .preset-card__tooltip {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.preset-card__bottom {
  border-top: 1px solid var(--border);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.preset-card__saving-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
}

.preset-card__saving {
  font-size: 13px;
  font-weight: 700;
  color: var(--success);
  font-variant-numeric: tabular-nums;
  cursor: text;
  border-bottom: 1px dashed transparent;
  transition: border-color var(--transition-fast);
}

.preset-card__saving:hover {
  border-bottom-color: var(--success);
}

.preset-card__saving-input {
  width: 80px;
  font-size: 13px;
  font-weight: 700;
  color: var(--success);
  font-variant-numeric: tabular-nums;
  font-family: inherit;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--success);
  outline: none;
  padding: 0;
  -moz-appearance: textfield;
}

.preset-card__saving-input::-webkit-outer-spin-button,
.preset-card__saving-input::-webkit-inner-spin-button { -webkit-appearance: none; }

.preset-card__reset {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border: none;
  background: transparent;
  color: var(--text-tertiary);
  font-size: 12px;
  cursor: pointer;
  padding: 0;
  border-radius: 50%;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.preset-card__reset:hover {
  color: var(--success);
  transform: rotate(-180deg);
}

.preset-card__freq {
  font-size: 11px;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 3px 7px;
  background: var(--bg-primary);
  cursor: pointer;
  transition: border-color var(--transition-fast), color var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
}

.preset-card__freq:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

/* ── Sliders */
.slider-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.slider-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.slider-label {
  font-size: 13px;
  color: var(--text-secondary);
  width: 130px;
  flex-shrink: 0;
}

.slider-input {
  flex: 1;
  min-width: 120px;
  appearance: none;
  -webkit-appearance: none;
  height: 3px;
  border-radius: var(--radius-full);
  background: var(--bg-tertiary);
  outline: none;
  cursor: pointer;
}

.slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(232, 197, 71, 0.4);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.slider-input::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 14px rgba(232, 197, 71, 0.6);
}

.slider-input::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: none;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(232, 197, 71, 0.4);
  cursor: pointer;
}

.slider-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  min-width: 60px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* ── Stat cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  transition: border-color var(--transition-fast);
}

.stat-card:hover { border-color: var(--border-hover); }

.stat-card__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 8px;
}

.stat-card__value {
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto;
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.stat-card__value--green { color: var(--success); }
.stat-card__value--blue  { color: var(--info); }


/* ── 9. LIGHTYEAR CALLOUT ────────────────────────────────────── */
.ly-callout {
  padding: 64px 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
}

.ly-callout__box {
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-xl);
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ly-callout__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.ly-callout__title {
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.ly-callout__body {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.btn--ly {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 24px;
  background: var(--success-light);
  color: var(--success);
  border: 1px solid rgba(62, 232, 181, 0.25);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.btn--ly:hover {
  background: rgba(62, 232, 181, 0.18);
  border-color: rgba(62, 232, 181, 0.45);
  transform: translateY(-1px);
}

.ly-callout__disclaimer {
  font-size: 11px;
  color: var(--text-tertiary);
  line-height: 1.5;
  margin-top: -4px;
}

@media (max-width: 480px) {
  .ly-callout__box { padding: 24px 20px; }
  .btn--ly { align-self: stretch; justify-content: center; }
}


/* ── 10. BUY ME A COFFEE ──────────────────────────────────────── */
.bmac {
  padding: 96px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  text-align: center;
}

.bmac__title {
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  line-height: 1.15;
  max-width: 560px;
  margin: 0 auto 16px;
}

.bmac__sub {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 480px;
  margin: 0 auto 48px;
}

/* 3-card row */
.bmac__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  max-width: 720px;
  margin: 0 auto 40px;
}

.bmac__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  text-align: left;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.bmac__card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
}

.bmac__card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--accent-light);
  border: 1px solid rgba(232, 197, 71, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 20px;
  margin-bottom: 16px;
}

.bmac__card-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.bmac__card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* BMAC button */
.btn--bmac {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 32px;
  background: var(--accent);
  color: #0D0D0B;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 0 0 0 rgba(232, 197, 71, 0);
}

.btn--bmac:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(232, 197, 71, 0.28);
}

.btn--bmac:active {
  transform: translateY(0);
}

/* Contact link */
.bmac__contact {
  display: block;
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.bmac__contact:hover {
  color: var(--text-secondary);
}


/* ── 11. GENERIC FORM INPUT ──────────────────────────────────── */
.form-input {
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 197, 71, 0.12);
}

.form-input::placeholder { color: var(--text-tertiary); }


/* ── 12. CUSTOM ITEMS LIST ───────────────────────────────────── */
.custom-items-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.custom-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 13px;
  animation: fadeIn var(--transition-base) ease both;
}

.custom-item-name {
  flex: 1;
  color: var(--text-primary);
  font-weight: 500;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-item-amount {
  color: var(--success);
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.custom-item-remove {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-tertiary);
  flex-shrink: 0;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.custom-item-remove:hover {
  background: rgba(251, 146, 60, 0.12);
  color: var(--warning);
}


/* ── 13. FOOTER ──────────────────────────────────────────────── */
.footer {
  padding: 56px 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.footer__logo {
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto;
  font-style: italic;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  transition: color var(--transition-fast);
}

.footer__logo:hover { color: var(--accent); }

.footer__tagline { font-size: 14px; color: var(--text-secondary); }
.footer__legal   { font-size: 12px; color: var(--text-tertiary); }
.footer__copy    { font-size: 12px; color: var(--text-tertiary); margin-top: 8px; }


/* ── 12. SCROLL-REVEAL ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity   var(--transition-slow),
    transform var(--transition-slow);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ── 13. UTILITIES ───────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
