
:root {
  --bg: #0d0f14;
  --surface: #13161e;
  --card: #181c26;
  --border: rgba(255,255,255,0.07);
  --border2: rgba(255,255,255,0.13);
  --text: #e2e8f0;
  --muted: #5a6478;
  --dim: #8892a4;

  /* Account type colors */
  --own-h: #22c55e;
  --own-m: rgba(34,197,94,0.15);
  --own-s: rgba(34,197,94,0.06);
  --own-b: rgba(34,197,94,0.25);

  --fixed-h: #f59e0b;
  --fixed-m: rgba(245,158,11,0.15);
  --fixed-s: rgba(245,158,11,0.06);
  --fixed-b: rgba(245,158,11,0.25);

  --trail-h: #ef4444;
  --trail-m: rgba(239,68,68,0.15);
  --trail-s: rgba(239,68,68,0.06);
  --trail-b: rgba(239,68,68,0.25);

  --mono: 'JetBrains Mono', monospace;
  --display: 'DM Sans', sans-serif;
  --serif: 'Instrument Serif', serif;
  --bg: #050b14;
  --surface: #080f1c;
  --surface2: #0c1628;
  --accent: #00d4ff;
  --accent2: #00ff88;
  --gold: #C9A84C;
  --gold-light: #F0CC7A;
  --red: #FF3B5C;
  --text: #d8eaf8;
  --muted: #5a7490;
  --border: rgba(0,212,255,0.12);
  --border-gold: rgba(201,168,76,0.2);
  --glow: 0 0 40px rgba(0,212,255,0.18);
  --glow-gold: 0 0 40px rgba(201,168,76,0.2);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--display); overflow-x: hidden; }

/* BG TEXTURE */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 20% 20%, rgba(34,197,94,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 60%, rgba(245,158,11,0.03) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 50% 90%, rgba(239,68,68,0.03) 0%, transparent 60%);
}

/* PROGRESS */
.prog { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 600; background: var(--border); }
.prog-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--own-h), var(--fixed-h), var(--trail-h)); transition: width 0.08s; }

/* HERO */
.hero {
  position: relative; z-index: 1; padding: 120px 56px 72px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  margin: 0 auto;
}
.hero-left {}
.hero-eyebrow {
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--dim); margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
}
.hero-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--dim); }
.hero h1 {
  font-family: var(--serif); font-size: clamp(2.5rem, 4.5vw, 4rem);
  line-height: 1.1; letter-spacing: -0.01em;
  margin-bottom: 18px; font-weight: 400;
}
.hero h1 em { font-style: italic; }
.hero h1 strong { font-style: normal; font-weight: 400; }
.hero-sub { font-size: 0.95rem; color: var(--dim); line-height: 1.75; max-width: 440px; margin-bottom: 36px; }
.hero-types { display: flex; gap: 10px; flex-wrap: wrap; }
.type-pill {
  display: flex; align-items: center; gap: 7px; padding: 6px 14px;
  border-radius: 100px; font-family: var(--mono); font-size: 0.63rem;
  letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid; cursor: pointer; transition: all 0.25s;
}
.type-pill:hover { transform: translateY(-1px); }
.tp-own { color: var(--own-h); border-color: rgba(34,197,94,0.3); background: var(--own-s); }
.tp-own:hover { background: var(--own-m); }
.tp-fixed { color: var(--fixed-h); border-color: rgba(245,158,11,0.3); background: var(--fixed-s); }
.tp-fixed:hover { background: var(--fixed-m); }
.tp-trail { color: var(--trail-h); border-color: rgba(239,68,68,0.3); background: var(--trail-s); }
.tp-trail:hover { background: var(--trail-m); }
.tp-dot { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
.tp-own .tp-dot { background: var(--own-h); }
.tp-fixed .tp-dot { background: var(--fixed-h); }
.tp-trail .tp-dot { background: var(--trail-h); }

/* Hero right — comparison visual */
.hero-right {}
.compare-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
}
.cc-header { padding: 16px 20px; border-bottom: 1px solid var(--border); font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.cc-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 0; border-bottom: 1px solid var(--border); }
.cc-row:last-child { border-bottom: none; }
.cc-cell { padding: 13px 16px; font-size: 0.8rem; }
.cc-cell:first-child { color: var(--dim); font-size: 0.77rem; }
.cc-cell.own { color: var(--own-h); font-family: var(--mono); font-size: 0.77rem; }
.cc-cell.fixed { color: var(--fixed-h); font-family: var(--mono); font-size: 0.77rem; }
.cc-cell.trail { color: var(--trail-h); font-family: var(--mono); font-size: 0.77rem; }
.cc-head-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; border-bottom: 1px solid var(--border2); }
.cc-head-cell { padding: 10px 16px; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; }
.cc-head-cell.own { color: var(--own-h); }
.cc-head-cell.fixed { color: var(--fixed-h); }
.cc-head-cell.trail { color: var(--trail-h); }

/* SECTION WRAPPER */
.page-wrap { position: relative; z-index: 1;  margin: 0 auto; padding: 0 56px; }

/* SECTION LABEL */
.sec-label {
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.sec-label::after { content: ''; flex: 1; height: 1px; max-width: 60px; background: var(--border2); }
.sec-title { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.1; margin-bottom: 8px; font-weight: 400; }
.sec-sub { color: var(--dim); font-size: 0.88rem; line-height: 1.7; max-width: 540px; margin-bottom: 44px; }

/* DIVIDER */
.hr { border: none; border-top: 1px solid var(--border); margin: 0; position: relative; z-index: 1; }

/* ══════════════════════════════════════════════════════════
   ACCOUNT TYPE CARDS — MAIN SECTIONS
══════════════════════════════════════════════════════════ */
.account-section { padding: 72px 0; }

.account-header {
  display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center;
  margin-bottom: 44px; padding: 24px 28px; border-radius: 12px; border: 1px solid;
  position: relative; overflow: hidden;
}
.account-header::before {
  content: ''; position: absolute; inset: 0; opacity: 0.04;
  background: linear-gradient(135deg, currentColor, transparent);
}
.ah-num { font-family: var(--serif); font-size: 4rem; line-height: 1; opacity: 0.12; font-style: italic; }
.ah-info { }
.ah-type { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 6px; }
.ah-name { font-family: var(--serif); font-size: 1.6rem; line-height: 1.1; font-weight: 400; margin-bottom: 6px; }
.ah-desc { font-size: 0.84rem; color: var(--dim); line-height: 1.6; }
.ah-badge { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 14px; border-radius: 100px; border: 1px solid; white-space: nowrap; }

/* OWN ACCOUNT */
.own-section .account-header { border-color: rgba(34,197,94,0.2); color: var(--own-h); background: var(--own-s); }
.own-section .ah-type { color: var(--own-h); }
.own-section .ah-badge { color: var(--own-h); border-color: rgba(34,197,94,0.3); background: var(--own-m); }

/* FIXED DD */
.fixed-section .account-header { border-color: rgba(245,158,11,0.2); color: var(--fixed-h); background: var(--fixed-s); }
.fixed-section .ah-type { color: var(--fixed-h); }
.fixed-section .ah-badge { color: var(--fixed-h); border-color: rgba(245,158,11,0.3); background: var(--fixed-m); }

/* TRAILING DD */
.trail-section .account-header { border-color: rgba(239,68,68,0.2); color: var(--trail-h); background: var(--trail-s); }
.trail-section .ah-type { color: var(--trail-h); }
.trail-section .ah-badge { color: var(--trail-h); border-color: rgba(239,68,68,0.3); background: var(--trail-m); }

/* CONTENT GRID */
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.content-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-bottom: 20px; }

/* RULE CARD */
.rule-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 10px;
  padding: 22px; transition: all 0.25s;
}
.rule-card:hover { border-color: var(--border2); transform: translateY(-2px); }
.rc-num { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px; display: block; }
.rc-title { font-size: 0.9rem; font-weight: 600; margin-bottom: 7px; letter-spacing: -0.01em; }
.rc-body { font-size: 0.81rem; color: var(--dim); line-height: 1.62; }
.rc-body strong { color: var(--text); font-weight: 500; }
.rc-formula { background: var(--surface); border-radius: 6px; padding: 10px 14px; margin-top: 12px; font-family: var(--mono); font-size: 0.72rem; line-height: 1.5; }

/* OWN rule cards */
.own-section .rule-card { border-left: 2px solid rgba(34,197,94,0.3); }
.own-section .rc-num { color: var(--own-h); }
.own-section .rc-formula { color: var(--own-h); border-left: 2px solid rgba(34,197,94,0.2); }

/* FIXED rule cards */
.fixed-section .rule-card { border-left: 2px solid rgba(245,158,11,0.3); }
.fixed-section .rc-num { color: var(--fixed-h); }
.fixed-section .rc-formula { color: var(--fixed-h); border-left: 2px solid rgba(245,158,11,0.2); }

/* TRAIL rule cards */
.trail-section .rule-card { border-left: 2px solid rgba(239,68,68,0.3); }
.trail-section .rc-num { color: var(--trail-h); }
.trail-section .rc-formula { color: var(--trail-h); border-left: 2px solid rgba(239,68,68,0.2); }

/* TECHNIQUE BLOCK */
.technique-block {
  background: var(--card); border: 1px solid var(--border); border-radius: 10px; overflow: hidden;
}
.tb-header { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 10px; }
.tb-icon { font-size: 1.1rem; }
.tb-title { font-weight: 600; font-size: 0.88rem; }
.tb-sub { font-size: 0.75rem; color: var(--dim); }
.tb-body { padding: 16px 20px; }
.tech-item { display: flex; gap: 13px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--border); }
.tech-item:last-child { border-bottom: none; }
.tech-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; margin-top: 5px; }
.own-section .tech-dot { background: var(--own-h); }
.fixed-section .tech-dot { background: var(--fixed-h); }
.trail-section .tech-dot { background: var(--trail-h); }
.tech-content h5 { font-size: 0.82rem; font-weight: 600; margin-bottom: 3px; }
.tech-content p { font-size: 0.77rem; color: var(--dim); line-height: 1.55; }
.tech-content p strong { color: var(--text); }

/* CALCULATOR */
.calc-wrap {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 26px; margin-top: 20px;
}
.calc-title { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.calc-title::before { content: '⟩_'; }
.calc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 20px; }
.calc-field label { display: block; font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.calc-field input {
  width: 100%; background: var(--card); border: 1px solid var(--border); border-radius: 6px;
  padding: 10px 13px; font-family: var(--mono); font-size: 0.82rem; color: var(--text);
  outline: none; transition: border-color 0.2s;
}
.calc-field input:focus { border-color: var(--border2); }
.own-section .calc-field input:focus { border-color: rgba(34,197,94,0.4); }
.fixed-section .calc-field input:focus { border-color: rgba(245,158,11,0.4); }
.trail-section .calc-field input:focus { border-color: rgba(239,68,68,0.4); }

.calc-btn {
  width: 100%; padding: 11px; border: none; border-radius: 6px; cursor: pointer;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 600; transition: all 0.25s;
}
.own-section .calc-btn { background: rgba(34,197,94,0.15); color: var(--own-h); border: 1px solid rgba(34,197,94,0.3); }
.own-section .calc-btn:hover { background: rgba(34,197,94,0.25); }
.fixed-section .calc-btn { background: rgba(245,158,11,0.15); color: var(--fixed-h); border: 1px solid rgba(245,158,11,0.3); }
.fixed-section .calc-btn:hover { background: rgba(245,158,11,0.25); }
.trail-section .calc-btn { background: rgba(239,68,68,0.15); color: var(--trail-h); border: 1px solid rgba(239,68,68,0.3); }
.trail-section .calc-btn:hover { background: rgba(239,68,68,0.25); }

.calc-results { display: none; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }
.calc-results.show { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 12px; }
.cr-item { background: var(--card); border-radius: 8px; padding: 14px; }
.cr-label { font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.cr-value { font-family: var(--mono); font-size: 1.1rem; font-weight: 600; }
.own-section .cr-value { color: var(--own-h); }
.fixed-section .cr-value { color: var(--fixed-h); }
.trail-section .cr-value { color: var(--trail-h); }
.cr-note { font-size: 0.7rem; color: var(--dim); margin-top: 4px; }

/* DANGER ZONE BOX */
.danger-box {
  border-radius: 10px; padding: 20px 22px; display: flex; gap: 16px; align-items: flex-start;
  margin-top: 16px;
}
.own-section .danger-box { background: rgba(34,197,94,0.06); border: 1px solid rgba(34,197,94,0.18); }
.fixed-section .danger-box { background: rgba(245,158,11,0.06); border: 1px solid rgba(245,158,11,0.18); }
.trail-section .danger-box { background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.2); }
.db-icon { font-size: 1.4rem; flex-shrink: 0; }
.db-title { font-size: 0.87rem; font-weight: 600; margin-bottom: 5px; }
.own-section .db-title { color: var(--own-h); }
.fixed-section .db-title { color: var(--fixed-h); }
.trail-section .db-title { color: var(--trail-h); }
.db-text { font-size: 0.8rem; color: var(--dim); line-height: 1.62; }
.db-text strong { color: var(--text); font-weight: 500; }

/* PHASE TRACK — trailing DD visualizer */
.phase-track { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin-bottom: 20px; }
.pt-phase { background: var(--card); padding: 18px 16px; text-align: center; }
.pt-num { font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.pt-icon { font-size: 1.4rem; margin-bottom: 8px; display: block; }
.pt-name { font-size: 0.82rem; font-weight: 600; margin-bottom: 5px; }
.pt-desc { font-size: 0.72rem; color: var(--dim); line-height: 1.5; }
.pt-phase.danger .pt-name { color: var(--trail-h); }
.pt-phase.warn .pt-name { color: var(--fixed-h); }
.pt-phase.safe .pt-name { color: var(--own-h); }

/* TRAILING DD VISUALIZER */
.trail-viz {
  background: var(--card); border: 1px solid var(--border); border-radius: 10px;
  padding: 22px; margin-bottom: 16px;
}
.tv-title { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.tv-bar-wrap { margin-bottom: 16px; }
.tv-bar-label { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.62rem; color: var(--dim); margin-bottom: 6px; }
.tv-bar { height: 10px; background: var(--surface); border-radius: 100px; overflow: hidden; position: relative; }
.tv-bar-fill { height: 100%; border-radius: 100px; transition: width 0.6s ease; }
.tv-bar-fill.green { background: linear-gradient(90deg, var(--own-h), rgba(34,197,94,0.5)); }
.tv-bar-fill.amber { background: linear-gradient(90deg, var(--fixed-h), rgba(245,158,11,0.5)); }
.tv-bar-fill.red { background: linear-gradient(90deg, var(--trail-h), rgba(239,68,68,0.5)); }
.tv-marker { position: absolute; top: -2px; bottom: -2px; width: 2px; background: white; opacity: 0.5; border-radius: 1px; }
.tv-legend { display: flex; gap: 14px; margin-top: 10px; flex-wrap: wrap; }
.tv-leg-item { display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 0.58rem; color: var(--dim); }
.tv-leg-dot { width: 7px; height: 7px; border-radius: 50%; }

/* RULES TABLE */
.rules-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: 10px; overflow: hidden; }
.rules-table thead tr { background: var(--surface); }
.rules-table th { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.rules-table tbody tr { border-bottom: 1px solid var(--border); transition: background 0.2s; }
.rules-table tbody tr:last-child { border-bottom: none; }
.rules-table tbody tr:hover { background: var(--surface); }
.rules-table td { padding: 13px 16px; font-size: 0.81rem; vertical-align: top; line-height: 1.55; }
.rules-table td:first-child { font-family: var(--mono); font-size: 0.65rem; white-space: nowrap; }
.rules-table td:last-child { color: var(--dim); font-size: 0.76rem; font-style: italic; }
.own-section .rules-table td:first-child { color: var(--own-h); }
.fixed-section .rules-table td:first-child { color: var(--fixed-h); }
.trail-section .rules-table td:first-child { color: var(--trail-h); }

/* CHECKLIST */
.checklist { display: flex; flex-direction: column; gap: 0; }
.cl { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 0.81rem; color: var(--dim); line-height: 1.55; }
.cl:last-child { border-bottom: none; }
.cl-box { width: 16px; height: 16px; border: 1px solid var(--border2); border-radius: 3px; flex-shrink: 0; margin-top: 2px; display: flex; align-items: center; justify-content: center; font-size: 0.55rem; }
.own-section .cl-box { color: var(--own-h); border-color: rgba(34,197,94,0.3); }
.fixed-section .cl-box { color: var(--fixed-h); border-color: rgba(245,158,11,0.3); }
.trail-section .cl-box { color: var(--trail-h); border-color: rgba(239,68,68,0.3); }
.cl strong { color: var(--text); font-weight: 500; }

/* COMPARISON SECTION */
.compare-sec { padding: 72px 0; }
.compare-matrix { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 0; background: var(--border); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.cm-header { background: var(--surface); padding: 14px 18px; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; }
.cm-header.own-col { color: var(--own-h); background: rgba(34,197,94,0.06); border-bottom: 2px solid rgba(34,197,94,0.3); }
.cm-header.fixed-col { color: var(--fixed-h); background: rgba(245,158,11,0.06); border-bottom: 2px solid rgba(245,158,11,0.3); }
.cm-header.trail-col { color: var(--trail-h); background: rgba(239,68,68,0.06); border-bottom: 2px solid rgba(239,68,68,0.3); }
.cm-row { display: contents; }
.cm-cell { background: var(--card); padding: 13px 18px; font-size: 0.8rem; line-height: 1.5; }
.cm-cell.label { background: var(--surface); color: var(--dim); font-size: 0.77rem; font-weight: 500; }
.cm-cell.own-col { color: rgba(34,197,94,0.85); font-family: var(--mono); font-size: 0.75rem; }
.cm-cell.fixed-col { color: rgba(245,158,11,0.85); font-family: var(--mono); font-size: 0.75rem; }
.cm-cell.trail-col { color: rgba(239,68,68,0.85); font-family: var(--mono); font-size: 0.75rem; }

/* GOLDEN RULES */
.golden-sec { padding: 72px 0; }
.golden-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.golden-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 10px;
  padding: 24px; position: relative; overflow: hidden; transition: all 0.3s;
}
.golden-card:hover { border-color: var(--border2); transform: translateY(-3px); }
.golden-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; }
.golden-card.g1::before { background: var(--own-h); }
.golden-card.g2::before { background: linear-gradient(90deg, var(--own-h), var(--fixed-h)); }
.golden-card.g3::before { background: linear-gradient(90deg, var(--own-h), var(--fixed-h), var(--trail-h)); }
.golden-card.g4::before { background: var(--fixed-h); }
.golden-card.g5::before { background: linear-gradient(90deg, var(--fixed-h), var(--trail-h)); }
.golden-card.g6::before { background: var(--trail-h); }
.gc-icon { font-size: 1.5rem; margin-bottom: 14px; display: block; }
.gc-title { font-size: 0.92rem; font-weight: 600; margin-bottom: 7px; letter-spacing: -0.01em; }
.gc-body { font-size: 0.79rem; color: var(--dim); line-height: 1.62; }
.gc-body strong { color: var(--text); font-weight: 500; }


/* REVEAL */
.rv { opacity: 0; transform: translateY(20px); transition: opacity 0.65s ease, transform 0.65s ease; }
.rv.show { opacity: 1; transform: translateY(0); }

@media(max-width: 900px){
  .hero { grid-template-columns: 1fr; padding: 100px 18px 52px; }
  .page-wrap { padding: 0 18px; }
  .content-grid, .content-grid-3, .golden-grid { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr 1fr; }
  .compare-matrix { grid-template-columns: 1fr; }
  .phase-track { grid-template-columns: 1fr 1fr; }
  footer { padding: 24px 18px; }
}

/* ═══ MOBILE HAMBURGER ══════════════ */
.ham-btn {
  display: none;
  background: none;
  border: 1px solid var(--border2);
  color: var(--gold);
  width: 38px; height: 38px;
  border-radius: 6px;
  font-size: 18px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}
.ham-btn:hover { background: var(--gold-glow); }

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 49;
  backdrop-filter: blur(2px);
}
.sidebar-overlay.visible { display: block; }

@media (max-width: 900px) {
  .ham-btn { display: flex; }
}


/* ═══ BACK TO DASHBOARD BTN ═══════════ */
.back-dashboard-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--gold, #C8A84B);
  color: #07090F;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(200,168,75,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.back-dashboard-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200,168,75,0.45);
}