/* ---- tokens (Avarion teal) ---- */
:root {
  --bg: #0f4640;
  --bg-2: #0c3d38;
  --card: #144e46;
  --card-2: #1a5249;
  --card-3: #1f5b51;
  --input-bg: #15423a;
  --input-bg-2: #18493f;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --line-3: rgba(255, 255, 255, 0.22);

  --green: #c8f55a;
  --green-2: #cdf757;
  --green-dim: #aed44a;
  --green-soft: rgba(200, 245, 90, 0.14);
  --green-glow: rgba(200, 245, 90, 0.40);

  --text: #ffffff;
  --text-2: #cfe1da;
  --text-3: #8aa9a0;
  --text-4: #5e8278;
  --text-muted: #7a9990;
  --hint: #6f8c83;

  --radius: 20px;
  --radius-sm: 14px;
  --shadow-card: 0 1px 0 rgba(255,255,255,0.04) inset,
                 0 30px 60px -30px rgba(0,0,0,0.5);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "SF Pro Text", system-ui, -apple-system, sans-serif;
  font-feature-settings: "ss01", "cv11", "tnum";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(900px 600px at 50% -5%, rgba(200, 245, 90, 0.04), transparent 60%),
    var(--bg);
}

button { font-family: inherit; }
input, button { color: inherit; }

/* ---- root layout ---- */
#root { display: block; }

.app {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

/* ---- brand header ---- */
.brand-header {
  display: flex;
  justify-content: center;
  margin-bottom: 26px;
}
.brand-logo {
  height: 28px;
  width: auto;
  display: block;
}

/* ---- badge ---- */
.badge-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(200, 245, 90, 0.10);
  border: 1px solid rgba(200, 245, 90, 0.30);
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
}
.badge-wrap { display: flex; justify-content: center; margin-bottom: 22px; }

/* ---- title ---- */
.h-title {
  font-weight: 700;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.022em;
  text-align: center;
  margin: 0;
  color: #ffffff;
}
.h-title em {
  font-style: normal;
  color: var(--green);
}
.h-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.55;
  margin: 18px auto 0;
  max-width: 560px;
}

/* ---- card ---- */
.card {
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  position: relative;
}
.card-pad { padding: 28px; }

.card-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
  color: var(--text);
}
.card-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

.label-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-dim);
  font-weight: 600;
}

/* ---- form ---- */
.form-wrap {
  margin: 40px auto 0;
}
.form-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.field {
  position: relative;
}
.field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 10px;
  letter-spacing: 0;
}
.field-input {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--input-bg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 0 20px;
  height: 60px;
  transition: border-color 160ms, background 160ms, box-shadow 160ms;
}
.field-input:hover { border-color: rgba(255, 255, 255, 0.12); }
.field-input:focus-within {
  border-color: rgba(200, 245, 90, 0.45);
  box-shadow: 0 0 0 3px rgba(200, 245, 90, 0.10);
  background: var(--input-bg-2);
}
.field--error .field-input {
  border-color: rgba(255, 120, 120, 0.55);
  background: rgba(255, 120, 120, 0.05);
}
.field--error .field-input:focus-within {
  border-color: rgba(255, 120, 120, 0.65);
  box-shadow: 0 0 0 3px rgba(255, 120, 120, 0.08);
}
.field-input input {
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  width: 100%;
  padding: 0;
  letter-spacing: -0.005em;
  font-feature-settings: "tnum";
  min-width: 0;
}
.field-input input::placeholder {
  color: var(--text-4);
  font-weight: 500;
}
.field-suffix {
  color: var(--text-4);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  margin-left: 12px;
}
.field-hint {
  font-size: 13px;
  color: var(--hint);
  margin-top: 10px;
  line-height: 1.5;
}
.field-hint strong { color: var(--green); font-weight: 600; }

/* ---- primary button ---- */
.btn-primary {
  background: var(--green);
  color: #0a1407;
  border: 0;
  border-radius: 14px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.005em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 100ms, box-shadow 200ms, background 160ms, filter 160ms;
  box-shadow: 0 12px 40px -16px var(--green-glow);
  width: 100%;
}
.btn-primary:hover { background: #d6fb6d; box-shadow: 0 16px 48px -16px var(--green-glow); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary svg { width: 18px; height: 18px; }
.btn-primary--faded {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
  pointer-events: auto;
}
.btn-primary--faded:hover { background: var(--green); box-shadow: none; }

.submit-wrap { margin-top: 26px; }

/* ---- footer ---- */
.tool-footer {
  text-align: center;
  margin-top: 26px;
  font-size: 13px;
  color: var(--text-4);
}
.tool-footer .brand {
  color: var(--green);
  font-weight: 500;
}

/* ---- ghost button ---- */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 160ms, border-color 160ms;
  line-height: 1;
}
.btn-ghost:hover { background: var(--green-soft); border-color: var(--line-2); }

/* ---- result page ---- */
.results-app {
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 24px 80px;
}

.results {
  display: grid;
  gap: 18px;
  margin-top: 36px;
}

/* hero card */
.hero {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0;
  align-items: stretch;
}
.hero-side { padding: 28px 30px; display: flex; gap: 22px; align-items: flex-start; }
.hero-divider {
  background: linear-gradient(180deg, transparent, var(--line-2), transparent);
}
.hero-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(200, 245, 90, 0.30);
  background: rgba(200, 245, 90, 0.08);
  display: grid;
  place-items: center;
  color: var(--green);
}
.hero-icon svg { width: 30px; height: 30px; }
.hero-body { flex: 1; min-width: 0; }
.hero-main {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 6px 0 6px;
  color: var(--text);
  font-feature-settings: "tnum";
}
.hero-main .big-num {
  color: var(--green);
  font-weight: 700;
}
.hero-main-2 { font-size: 22px; font-weight: 500; color: var(--text); }
.hero-meta {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 14px;
  max-width: 320px;
  line-height: 1.55;
}
.hero-meta .info {
  display: inline-block;
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1px solid var(--text-4);
  text-align: center;
  font-size: 9px;
  line-height: 12px;
  color: var(--text-3);
  margin-left: 4px;
  vertical-align: 0;
  cursor: help;
}
.info-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: 230px;
  background: var(--card-3);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-2);
  white-space: normal;
  text-align: left;
  z-index: 200;
  pointer-events: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.info-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--line-2);
}

.hero-target {
  font-size: clamp(48px, 6vw, 68px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--green);
  font-feature-settings: "tnum";
  margin: 4px 0 0;
}
.hero-target .eur { font-size: 0.7em; font-weight: 600; margin-left: 4px; }

.hero-actions {
  grid-column: 1 / -1;
  padding: 14px 28px 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.hero-pdf-btn {
  gap: 8px;
  font-size: 13px;
}
.hero-pdf-btn svg { width: 15px; height: 15px; }

/* KPI row */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin: 0 28px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--input-bg);
}
.kpi {
  padding: 18px 20px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}
.kpi:last-child { border-right: 0; }
.kpi-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-dim);
  font-weight: 700;
}
.kpi-value {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  font-feature-settings: "tnum";
}
.kpi-hint { font-size: 12px; color: var(--text-muted); }
.kpi--editable .kpi-value {
  display: flex; align-items: baseline; gap: 4px;
  cursor: text;
}
.kpi--editable .kpi-value input {
  background: transparent;
  border: 0; outline: 0;
  font: inherit;
  color: var(--green);
  width: 100%;
  min-width: 0;
  padding: 0;
}
.kpi--editable {
  background: rgba(200, 245, 90, 0.03);
}
.kpi-edit-badge {
  position: absolute;
  top: 14px; right: 14px;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-dim);
  display: flex; align-items: center; gap: 4px;
}
.kpi-edit-badge svg { width: 10px; height: 10px; }

/* two-column section */
.two-col {
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  gap: 18px;
}

.four-cards-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 18px;
}

/* chart card */
.chart-card { padding: 28px; }
.chart-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.chart-strategy-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-2);
  background: var(--input-bg);
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: 999px;
}
.chart-strategy-pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green-glow);
}
.chart-strategy-pill.alt .dot { background: #6ed6ff; box-shadow: 0 0 8px rgba(110,214,255,0.6); }

.chart-wrap {
  position: relative;
  margin-top: 22px;
  width: 100%;
  aspect-ratio: 16 / 10;
}
.chart-svg { width: 100%; height: 100%; display: block; overflow: visible; }
.grid-line { stroke: rgba(255, 255, 255, 0.06); stroke-width: 1; }
.axis-text { fill: var(--text-3); font-size: 12px; font-family: inherit; }
.axis-text-sub { fill: var(--text-4); font-size: 10px; font-family: inherit; }
.target-line { stroke: rgba(200, 245, 90, 0.28); stroke-width: 1; stroke-dasharray: 4 4; }
.area-fill { fill: url(#areaGrad); }
.area-fill-alt { fill: url(#areaGradAlt); }
.area-stroke { fill: none; stroke: var(--green); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgba(200, 245, 90, 0.5)); }
.area-stroke-alt { fill: none; stroke: #6ed6ff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgba(110, 214, 255, 0.5)); }

.target-badge {
  fill: var(--card-3);
  stroke: rgba(200, 245, 90, 0.35);
  stroke-width: 1;
}
.target-badge-text { fill: var(--green); font-size: 13px; font-weight: 700; font-family: inherit; }
.target-badge-sub { fill: var(--green); font-size: 11px; font-family: inherit; opacity: 0.8; }

.hover-line { stroke: rgba(200, 245, 90, 0.55); stroke-width: 1; stroke-dasharray: 3 3; }
.hover-line-alt { stroke: rgba(110,214,255, 0.55); }
.hover-dot {
  fill: var(--bg);
  stroke: var(--green);
  stroke-width: 2.5;
  filter: drop-shadow(0 0 10px rgba(200, 245, 90, 0.7));
}
.hover-dot.alt { stroke: #6ed6ff; filter: drop-shadow(0 0 10px rgba(110,214,255,0.7)); }

.tooltip {
  position: absolute;
  pointer-events: none;
  background: rgba(10, 38, 33, 0.96);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(8px);
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 12px;
  color: var(--text-2);
  min-width: 168px;
  transform: translate(-50%, -100%);
  margin-top: -16px;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.6);
  white-space: nowrap;
}
.tooltip .tt-label { color: var(--text-3); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; }
.tooltip .tt-value { color: var(--green); font-size: 20px; font-weight: 700; font-feature-settings: "tnum"; margin: 2px 0 6px; }
.tooltip.alt .tt-value { color: #6ed6ff; }
.tooltip .tt-row { display: flex; justify-content: space-between; gap: 18px; font-size: 11px; color: var(--text-3); }
.tooltip .tt-row span:last-child { color: var(--text); font-feature-settings: "tnum"; }
.tooltip .tt-row .tt-val-alt { color: #6ed6ff; font-feature-settings: "tnum"; }
.tooltip::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -5px;
  transform: translate(calc(-50% + var(--arrow-shift, 0px)), 0) rotate(45deg);
  width: 8px; height: 8px;
  background: rgba(10, 38, 33, 0.96);
  border-right: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}

/* assumption chips below chart */
.chip-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--input-bg);
}
.chip {
  padding: 14px 16px;
  border-right: 1px solid var(--line);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.chip:last-child { border-right: 0; }
.chip-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(200, 245, 90, 0.08);
  color: var(--green);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.chip-icon svg { width: 16px; height: 16px; }
.chip-body { display: flex; flex-direction: column; gap: 0; }
.chip-label { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-dim); font-weight: 700; }
.chip-value { font-size: 18px; font-weight: 600; color: var(--text); font-feature-settings: "tnum"; line-height: 1.2; margin-top: 2px; }
.chip-hint { font-size: 11px; color: var(--text-muted); }

/* strategy compare */
.strat-card { padding: 28px; }
.strat-list { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.strat-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  background: var(--input-bg);
  cursor: pointer;
  transition: border-color 180ms, background 180ms, box-shadow 180ms;
  position: relative;
}
.strat-item:hover { border-color: var(--line-2); }
.strat-item.active {
  border-color: var(--green);
  background: rgba(200, 245, 90, 0.05);
  box-shadow: 0 0 0 1px var(--green-soft), 0 20px 40px -20px rgba(200, 245, 90, 0.25);
}
.strat-head { display: flex; align-items: center; gap: 14px; }
.strat-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(200, 245, 90, 0.45);
  color: var(--green);
  display: grid; place-items: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.strat-name { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.strat-name h4 { margin: 0; font-size: 17px; font-weight: 700; color: var(--text); letter-spacing: -0.01em; }
.strat-name span { font-size: 13px; color: var(--text-muted); }
.strat-badge {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--green);
  color: #0a1407;
  padding: 5px 10px;
  border-radius: 6px;
  font-weight: 800;
}
.strat-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.strat-stat-label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
.strat-stat-value { font-size: 22px; font-weight: 600; color: var(--text); font-feature-settings: "tnum"; margin-top: 2px; }
.strat-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; font-size: 12px; color: var(--text-muted); }
.strat-meta strong { color: var(--text); font-weight: 600; font-feature-settings: "tnum"; }
.progress {
  margin-top: 8px;
  height: 4px;
  border-radius: 4px;
  background: rgba(200, 245, 90, 0.08);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green-dim), var(--green));
  border-radius: 4px;
  transition: width 600ms cubic-bezier(.2,.7,.2,1);
}

/* levers section */
.lever-card { padding: 28px; }
.lever-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}
.lever {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px;
  background: var(--input-bg);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 200ms, background 200ms;
}
.lever:hover { border-color: var(--line-2); background: var(--input-bg-2); }
.lever-top { display: flex; gap: 12px; align-items: center; }
.lever-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(200, 245, 90, 0.1);
  color: var(--green);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.lever-icon svg { width: 18px; height: 18px; }
.lever-name { display: flex; flex-direction: column; }
.lever-title { font-size: 15px; font-weight: 700; color: var(--text); }
.lever-amount { font-size: 16px; font-weight: 700; color: var(--green); margin-top: 4px; font-feature-settings: "tnum"; letter-spacing: -0.005em; }
.lever-amount.sm { font-size: 13px; color: var(--text-2); font-weight: 500; }
.lever-divider { height: 1px; background: var(--line); margin: 4px 0; }
.lever-stat-label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
.lever-saved { font-size: 22px; font-weight: 600; color: var(--green); font-feature-settings: "tnum"; letter-spacing: -0.01em; }
.lever-new { font-size: 12px; color: var(--text-muted); }
.lever-new strong { color: var(--text); font-feature-settings: "tnum"; font-weight: 600; }

/* featured lever (avárion Strategie) */
.lever--featured {
  border-color: var(--green);
  background: linear-gradient(160deg, rgba(200, 245, 90, 0.08) 0%, var(--input-bg) 100%);
  box-shadow: 0 0 0 1px var(--green-soft), 0 16px 40px -16px rgba(200, 245, 90, 0.22);
}
.lever--featured .lever-saved {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.lever--featured .lever-icon {
  width: 40px; height: 40px;
  background: rgba(200, 245, 90, 0.18);
}
.lever--featured .lever-icon svg { width: 22px; height: 22px; }
.lever--featured .lever-title { font-size: 16px; }
.lever-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--green);
  color: #0d1214;
  border-radius: 4px;
  padding: 2px 8px;
  margin-left: auto;
  flex-shrink: 0;
  align-self: flex-start;
}

/* hebel cta */
.hebel-card {
  padding: 28px;
  background: linear-gradient(180deg, var(--card-3) 0%, var(--card-2) 100%);
  border: 1px solid var(--line-2);
}
.hebel-title { color: var(--green); font-size: 22px; font-weight: 700; margin: 0 0 4px; letter-spacing: -0.01em; }
.hebel-sub { color: var(--text-muted); font-size: 14px; margin: 0; }
.hebel-list { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 12px; }
.hebel-li {
  display: flex; gap: 10px; align-items: center;
  font-size: 14px; color: var(--text-2);
}
.hebel-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(200, 245, 90, 0.18);
  color: var(--green);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.hebel-check svg { width: 11px; height: 11px; }
.hebel-cta { margin-top: 22px; width: 100%; }

/* methodology */
.method-card { padding: 28px; }
.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
  margin-top: 22px;
}
.method-col { display: flex; flex-direction: column; gap: 12px; }
.method-row {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.method-row:last-child { border-bottom: 0; }
.method-icon { color: var(--green-dim); }
.method-icon svg { width: 16px; height: 16px; }
.method-key { font-size: 13px; color: var(--text-2); }
.method-val { font-size: 13px; color: var(--text); font-weight: 600; font-feature-settings: "tnum"; }
.method-note { font-size: 13px; color: var(--text-muted); line-height: 1.55; }
.method-note p { margin: 0 0 10px; }

/* results header */
.results-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

/* ===== responsive ===== */

@media (max-width: 960px) {
  .results-app { padding: 32px 20px 72px; }
  .hero { grid-template-columns: 1fr; }
  .hero-divider {
    display: block;
    height: 1px;
    width: auto;
    margin: 0 28px;
    background: linear-gradient(90deg, transparent, var(--line-2), transparent);
  }
  .hero-side { padding: 24px 28px; }
  .kpi-row { grid-template-columns: repeat(2, 1fr); margin: 0 20px 20px; }
  .kpi { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .kpi:nth-child(2n) { border-right: 0; }
  .kpi:nth-last-child(-n+1) { border-bottom: 0; }
  .kpi:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
  .two-col { grid-template-columns: 1fr; }
  .four-cards-grid { grid-template-columns: 1fr; }
  .chip-row { grid-template-columns: repeat(2, 1fr); }
  .chip:nth-child(2n) { border-right: 0; }
  .chip:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .lever-grid { grid-template-columns: 1fr 1fr; }
  .method-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .method-col + .method-col + .method-note { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .app { padding: 32px 16px 56px; }
  .h-title { font-size: clamp(28px, 8vw, 36px); }
  .h-sub { font-size: 14px; }

  .card-pad { padding: 22px 20px; }
  .card-title { font-size: 19px; }

  .form-wrap { margin-top: 26px; }
  .form-stack { gap: 18px; }
  .field-input { height: 56px; padding: 0 16px; }
  .field-input input { font-size: 17px; }
  .field-suffix { font-size: 14px; }
  .field label { font-size: 13px; margin-bottom: 8px; }
  .field-hint { font-size: 12px; margin-top: 8px; }

  .btn-primary { padding: 18px 20px; font-size: 15px; }

  /* result page */
  .results-app { padding: 26px 14px 56px; }
  .hero-side { padding: 22px 20px; gap: 16px; }
  .hero-side:first-child { padding-bottom: 4px; }
  .hero-side:last-child { padding-top: 18px; }
  .hero-divider { margin: 0 20px; }
  .hero-icon { width: 52px; height: 52px; }
  .hero-icon svg { width: 24px; height: 24px; }
  .hero-main { font-size: 32px; margin: 4px 0; }
  .hero-main-2 { font-size: 18px; }
  .hero-meta { font-size: 13px; max-width: none; margin-top: 12px; }
  .hero-target { font-size: clamp(40px, 12vw, 56px); }

  .kpi-row { grid-template-columns: 1fr 1fr; margin: 0 16px 18px; }
  .kpi { padding: 14px 14px; min-height: 76px; }
  .kpi:nth-child(odd) { border-right: 1px solid var(--line); }
  .kpi:nth-child(even) { border-right: 0; }
  .kpi:nth-last-child(-n+1) { border-bottom: 0; }
  .kpi:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
  .kpi-value { font-size: 18px; }
  .kpi-label { font-size: 9px; }
  .kpi-hint { font-size: 11px; }
  .kpi-edit-badge { top: 10px; right: 10px; }

  .chart-card { padding: 20px 18px; }
  .chart-wrap { aspect-ratio: 4 / 3.4; margin-top: 18px; }
  .chart-head { gap: 12px; }
  .chart-strategy-pill { font-size: 11px; padding: 5px 9px; }
  .axis-text { font-size: 10px; }
  .axis-text-sub { font-size: 9px; }
  .target-badge-text { font-size: 11px; }
  .target-badge-sub { font-size: 9px; }

  .chip-row { grid-template-columns: 1fr 1fr; margin-top: 14px; }
  .chip { padding: 12px; gap: 10px; }
  .chip-icon { width: 24px; height: 24px; }
  .chip-icon svg { width: 14px; height: 14px; }
  .chip-value { font-size: 15px; }
  .chip-label { font-size: 9px; }
  .chip-hint { font-size: 10px; }
  .chip:nth-child(odd) { border-right: 1px solid var(--line); }
  .chip:nth-child(even) { border-right: 0; }
  .chip:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

  .strat-card { padding: 20px 18px; }
  .strat-item { padding: 16px; }
  .strat-list { gap: 12px; margin-top: 18px; }
  .strat-head { gap: 12px; flex-wrap: wrap; }
  .strat-name h4 { font-size: 15px; }
  .strat-name span { font-size: 12px; }
  .strat-badge { font-size: 9px; padding: 4px 8px; }
  .strat-stat-value { font-size: 18px; }
  .strat-stats { gap: 14px; margin-top: 14px; }

  .lever-card { padding: 20px 18px; }
  .lever-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 18px; }
  .lever { padding: 14px 16px; gap: 8px; }
  .lever-saved { font-size: 20px; }
  .lever--featured .lever-saved { font-size: 26px; }
  .lever-title { font-size: 14px; }
  .lever-amount { font-size: 15px; }

  .hebel-card { padding: 22px 20px; }
  .hebel-title { font-size: 18px; }
  .hebel-li { font-size: 13px; }

  .method-card { padding: 20px 18px; }
  .method-grid { grid-template-columns: 1fr; gap: 16px; }
  .method-key { font-size: 12px; }
  .method-val { font-size: 12px; }
  .method-note { font-size: 12px; padding-top: 4px; border-top: 1px solid var(--line); }
  .method-row { padding: 5px 0; }

  .results { gap: 14px; margin-top: 28px; }
  .results-nav { flex-wrap: wrap; gap: 8px; }
  .btn-ghost { font-size: 12px; padding: 8px 12px; }
}
