* { box-sizing: border-box; }
html { scroll-padding-top: 90px; }
:root {
  --ink: #f6f8fb;
  --muted: #95a4ad;
  --line: rgba(180, 211, 221, 0.18);
  --paper: #05070a;
  --band: #0b1117;
  --navy: #101922;
  --blue: #54c7ff;
  --green: #a78bfa;
  --gold: #d8b36a;
  --soft-green: rgba(167, 139, 250, 0.12);
  --soft-blue: rgba(84, 199, 255, 0.12);
  --soft-gold: rgba(216, 179, 106, 0.12);
  --panel: rgba(12, 18, 24, 0.84);
  --panel-strong: #0c131a;
  --steel: #dce3e7;
}
body {
  margin: 0;
  font-family: "Space Grotesk", Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 8%, rgba(167, 139, 250, 0.13), transparent 28%),
    radial-gradient(circle at 82% 0%, rgba(84, 199, 255, 0.12), transparent 26%),
    linear-gradient(180deg, #030406 0%, #081016 42%, #05070a 100%);
  line-height: 1.55;
}
a { color: #bfa7ff; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 12px 32px;
  background: rgba(3, 5, 8, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.brand { display: flex; align-items: baseline; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { font-weight: 800; font-size: 18px; letter-spacing: 0.24em; text-transform: uppercase; }
.brand-note { color: var(--muted); font-size: 13px; }
nav { display: flex; gap: 18px; flex-wrap: wrap; }
nav a { color: rgba(246, 248, 251, 0.74); font-size: 14px; text-decoration: none; }
nav a:hover { color: var(--green); }
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 5px 10px;
  border: 1px solid rgba(167, 139, 250, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.theme-toggle:hover {
  border-color: var(--green);
  box-shadow: 0 0 22px rgba(167, 139, 250, 0.16);
}
.theme-toggle:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
.theme-track {
  position: relative;
  width: 36px;
  height: 20px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(167, 139, 250, 0.22);
  border: 1px solid rgba(167, 139, 250, 0.42);
}
.theme-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--steel);
  box-shadow: 0 0 12px rgba(196, 181, 253, 0.34);
  transition: transform 180ms ease, background 180ms ease;
}
body[data-theme="light"] .theme-knob {
  background: #20152f;
}
body[data-theme="dark"] .theme-knob {
  transform: translateX(16px);
}
.intro-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 36px;
  align-items: center;
  padding: 46px 7vw 52px;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 92px),
    linear-gradient(168deg, rgba(167, 139, 250, 0.10) 0 1px, transparent 1px 88px),
    radial-gradient(circle at 80% 18%, rgba(84, 199, 255, 0.18), transparent 30%),
    linear-gradient(135deg, #05080d, #0e1a22 48%, #070a0f);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.intro-band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0 66%, rgba(255,255,255,0.035) 66% 100%);
}
.intro-copy, .hero-asset { position: relative; z-index: 1; }
.intro-copy h1 {
  max-width: 760px;
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
}
.lead { max-width: 680px; font-size: 20px; color: rgba(235, 242, 246, 0.78); }
.intent-callout {
  max-width: 680px;
  margin-top: 20px;
  padding: 14px 16px;
  border-left: 5px solid var(--green);
  background: rgba(167, 139, 250, 0.10);
  color: #f4f0ff;
  font-size: 17px;
  box-shadow: 0 0 28px rgba(167, 139, 250, 0.08);
}
.intent-callout strong { color: #ffffff; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 640px;
  margin-top: 28px;
}
.metric-row div {
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: rgba(6, 12, 17, 0.72);
  border-radius: 8px;
}
.metric-row .primary {
  border-color: rgba(167, 139, 250, 0.72);
  background: rgba(167, 139, 250, 0.13);
}
.metric-row span { display: block; font-size: 28px; font-weight: 800; }
.metric-row small { display: block; margin-top: 2px; color: var(--muted); }
.hero-asset { margin: 0; }
.hero-asset img {
  display: block;
  width: 100%;
  aspect-ratio: 7 / 5;
  object-fit: contain;
  padding: clamp(18px, 4vw, 46px);
  background:
    radial-gradient(circle at 52% 6%, rgba(255, 255, 255, 0.20), transparent 14%),
    radial-gradient(circle at 50% 48%, rgba(84, 199, 255, 0.12), transparent 42%),
    #030507;
  border-radius: 8px;
  border: 1px solid rgba(220, 227, 231, 0.34);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.44),
    0 0 38px rgba(84, 199, 255, 0.13),
    0 0 0 1px rgba(167, 139, 250, 0.10) inset;
}
.content-band, .letter-band, .files-band, .calculator-band { padding: 58px 7vw; }
.formal-band { background: linear-gradient(180deg, #06090d, #091019); }
.letter-band { background: linear-gradient(180deg, #10100d, #090b0e); border-top: 1px solid rgba(216, 179, 106, 0.24); border-bottom: 1px solid rgba(216, 179, 106, 0.24); }
.calculator-band {
  padding-top: 42px;
  padding-bottom: 42px;
  background: linear-gradient(180deg, #06090d, #090f14);
  border-bottom: 1px solid var(--line);
}
.deeper-band { background: linear-gradient(180deg, #0a1016, #05070a); }
.files-band { background: #05070a; }
.section-heading { max-width: 920px; margin-bottom: 30px; }
.section-heading h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: 0;
  line-height: 1.06;
}
.section-heading p:not(.eyebrow) { color: rgba(214, 225, 231, 0.74); font-size: 18px; }
.calculator-band .section-heading { margin-bottom: 18px; }
.calculator-band .section-heading h2 { font-size: clamp(28px, 3vw, 40px); }
.calculator-band .section-heading p:not(.eyebrow) { max-width: 820px; font-size: 16px; }
.calculator-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 28px;
  align-items: end;
  max-width: 1180px;
}
.neon-revenue-note {
  position: relative;
  padding: 16px 18px;
  border: 1px solid rgba(167, 139, 250, 0.82);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 26, 34, 0.98), rgba(17, 45, 54, 0.96)),
    #10202a;
  box-shadow:
    0 0 0 1px rgba(196, 181, 253, 0.24) inset,
    0 0 22px rgba(47, 117, 181, 0.22),
    0 0 34px rgba(124, 58, 237, 0.20);
  color: #f4f0ff;
}
.neon-revenue-note span {
  display: block;
  color: #c4b5fd;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.neon-revenue-note strong {
  display: block;
  margin-top: 2px;
  color: #ffffff;
  font-size: 38px;
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow: 0 0 18px rgba(105, 255, 214, 0.35);
}
.neon-revenue-note p {
  margin: 10px 0 0;
  color: #ddd6fe;
  font-size: 14px;
  line-height: 1.35;
}
.narrow { max-width: 760px; }
.memo {
  max-width: 1120px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035), transparent 130px),
    rgba(7, 12, 18, 0.84);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}
.memo h1 { display: none; }
.memo h2 {
  margin: 42px 0 12px;
  color: var(--green);
  font-size: 31px;
  line-height: 1.12;
  letter-spacing: 0;
}
.memo h3 {
  margin: 28px 0 8px;
  color: #d6ccff;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0;
}
.memo p, .memo li { max-width: 920px; font-size: 17px; }
.memo ul, .memo ol { max-width: 920px; padding-left: 24px; }
.memo table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 26px;
  background: rgba(6, 11, 16, 0.82);
  border: 1px solid var(--line);
  font-size: 15px;
}
.memo th, .memo td {
  border: 1px solid var(--line);
  padding: 11px 12px;
  vertical-align: top;
  text-align: left;
}
.memo th { background: rgba(220, 227, 231, 0.10); color: #ffffff; font-weight: 800; }
.memo tr:nth-child(even) td { background: rgba(255, 255, 255, 0.026); }
.memo strong { color: #ffffff; }
.letter-wrap {
  max-width: 850px;
  font-size: 20px;
  color: rgba(246, 248, 251, 0.88);
}
.letter-wrap p { margin: 0 0 18px; }
.calculator-shell {
  max-width: 1180px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 12, 18, 0.88);
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}
.scenario-panel {
  display: grid;
  grid-template-columns: minmax(190px, 0.7fr) minmax(320px, 1fr) minmax(250px, 0.85fr);
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  background:
    linear-gradient(120deg, rgba(167, 139, 250, 0.13), rgba(84, 199, 255, 0.07)),
    #0a1218;
  border-bottom: 1px solid var(--line);
}
.scenario-header p,
.scenario-note { margin: 8px 0 0; color: rgba(214, 225, 231, 0.72); }
.scenario-actions {
  display: grid;
  gap: 10px;
}
.scenario-buttons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.scenario-button {
  min-height: 38px;
  padding: 8px 9px;
  border: 1px solid rgba(180, 211, 221, 0.24);
  border-radius: 6px;
  background: rgba(5, 8, 12, 0.86);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.scenario-button:hover,
.scenario-button.active {
  border-color: var(--green);
  background: rgba(167, 139, 250, 0.14);
  color: #ffffff;
}
.assumption-toggle {
  justify-self: start;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--green);
  border-radius: 6px;
  background: rgba(167, 139, 250, 0.10);
  color: #f4f0ff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.assumption-toggle:hover {
  background: rgba(167, 139, 250, 0.18);
}
.calculator-grid {
  display: flex;
  flex-direction: column;
}
.control-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 8, 12, 0.72);
}
.controls-collapsed .control-panel {
  display: none;
}
.range-control {
  display: grid;
  gap: 10px;
}
.range-control span {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(236, 243, 247, 0.88);
}
.range-control output {
  min-width: 74px;
  text-align: right;
  color: var(--green);
  font-weight: 800;
}
.range-control input[type="range"] {
  width: 100%;
  accent-color: var(--green);
}
.results-panel {
  padding: 14px;
  background: rgba(4, 8, 12, 0.90);
}
.result-hero {
  display: grid;
  grid-template-columns: minmax(210px, 0.85fr) minmax(240px, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(167, 139, 250, 0.18), rgba(84, 199, 255, 0.10)),
    #101922;
  color: #ffffff;
  border: 1px solid rgba(167, 139, 250, 0.25);
}
.result-hero span,
.result-hero small {
  display: block;
  color: rgba(219, 233, 239, 0.72);
}
.result-hero strong {
  display: block;
  margin: 0;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1;
  letter-spacing: 0;
}
.result-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}
.result-grid div,
.ownership-strip div {
  min-height: 66px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}
.result-grid span,
.ownership-strip span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.result-grid strong,
.ownership-strip strong {
  display: block;
  margin-top: 3px;
  font-size: 20px;
  line-height: 1.08;
}
.ownership-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}
.ownership-strip div { background: var(--soft-gold); border-color: #e1ca91; }
.bar-wrap { margin-top: 18px; }
.bar-labels {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.bar-track {
  height: 10px;
  margin-top: 6px;
  border-radius: 999px;
  background: rgba(220, 227, 231, 0.13);
  overflow: hidden;
}
.bar-fill {
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--blue), var(--gold));
  transition: width 160ms ease;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.project-grid article {
  min-height: 235px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.014)),
    #0a1016;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}
.project-grid h3 { margin: 10px 0 8px; font-size: 23px; letter-spacing: 0; }
.project-grid p { color: rgba(220, 230, 235, 0.72); }
.traction-highlight {
  padding: 0 3px;
  border-radius: 3px;
  background: #fff176;
  color: #1f2b33;
}
.project-title { margin: 10px 0 8px; }
.project-title h3 { margin: 0; }
.project-title-with-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.project-title-with-logo img {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border-radius: 12px;
  border: 1px solid rgba(220, 227, 231, 0.24);
  object-fit: cover;
  box-shadow: 0 0 18px rgba(47, 117, 181, 0.28);
}
.brand-logo-title {
  align-items: center;
}
.brand-logo-title img {
  width: 86px;
  height: 46px;
  padding: 4px;
  border-color: rgba(220, 227, 231, 0.22);
  background: #ffffff;
  object-fit: contain;
  box-shadow: none;
}
.brand-logo-title h3 {
  line-height: 1.08;
}
.sandpro-card {
  background:
    linear-gradient(#0a1016, #0a1016) padding-box,
    linear-gradient(135deg, rgba(255, 132, 0, 0.36), rgba(47, 117, 181, 0.16)) border-box;
}
.korbis-card {
  background:
    linear-gradient(#0a1016, #0a1016) padding-box,
    linear-gradient(135deg, rgba(36, 209, 184, 0.32), rgba(255, 214, 0, 0.22)) border-box;
}
.thrawn-card {
  background:
    linear-gradient(#0a1016, #0a1016) padding-box,
    linear-gradient(135deg, rgba(47, 117, 181, 0.42), rgba(124, 58, 237, 0.28)) border-box;
}
.vault-card .project-title-with-logo img {
  border-color: #bda7e8;
  box-shadow: 0 0 18px rgba(116, 72, 190, 0.22);
}
.vault-card {
  background:
    linear-gradient(#0a1016, #0a1016) padding-box,
    linear-gradient(135deg, rgba(96, 48, 176, 0.35), rgba(47, 117, 181, 0.18)) border-box;
}
.cyclops-card {
  background:
    linear-gradient(#0a1016, #0a1016) padding-box,
    linear-gradient(135deg, rgba(47, 117, 181, 0.34), rgba(19, 32, 46, 0.22)) border-box;
}
.cyclops-title {
  align-items: center;
}
.cyclops-eye-crop {
  position: relative;
  display: block;
  width: 76px;
  height: 76px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(190, 40, 62, 0.35);
  background: #0d1118;
  box-shadow:
    0 0 15px rgba(190, 40, 62, 0.25),
    0 0 20px rgba(47, 117, 181, 0.14);
}
.cyclops-eye-crop video {
  position: absolute;
  width: 156px;
  height: 114px;
  max-width: none;
  left: -40px;
  top: -16px;
  object-fit: cover;
}
.hit-zero-title {
  align-items: center;
}
.hit-zero-title img {
  width: 76px;
  height: 76px;
  border-radius: 10px;
  border-color: rgba(39, 207, 215, 0.42);
  object-fit: cover;
  box-shadow:
    0 0 16px rgba(39, 207, 215, 0.22),
    0 0 18px rgba(249, 127, 172, 0.18);
}
.hit-zero-card {
  background:
    linear-gradient(#0a1016, #0a1016) padding-box,
    linear-gradient(135deg, rgba(39, 207, 215, 0.38), rgba(249, 127, 172, 0.34)) border-box;
}
.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 14px;
}
.project-links a {
  font-weight: 700;
}
.tag {
  display: inline-block;
  padding: 4px 8px;
  color: #f4f0ff;
  background: rgba(167, 139, 250, 0.10);
  border: 1px solid rgba(167, 139, 250, 0.28);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}
.muted-link { color: var(--muted); font-weight: 700; }
.file-list { display: grid; gap: 10px; max-width: 760px; }
.file-list a {
  display: block;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}
.file-list a:hover { border-color: var(--blue); color: var(--blue); }
body[data-theme="light"] {
  --ink: #11151b;
  --muted: #5a6470;
  --line: rgba(37, 43, 52, 0.14);
  --paper: #f7f7f2;
  --band: #eef1f0;
  --navy: #e7ecf1;
  --blue: #4b74c8;
  --green: #6d4fd8;
  --gold: #8f6a2d;
  --soft-green: rgba(109, 79, 216, 0.12);
  --soft-blue: rgba(75, 116, 200, 0.12);
  --soft-gold: rgba(143, 106, 45, 0.13);
  --panel: rgba(255, 255, 255, 0.86);
  --panel-strong: #ffffff;
  --steel: #141820;
  background:
    radial-gradient(circle at 14% 8%, rgba(109, 79, 216, 0.10), transparent 28%),
    radial-gradient(circle at 82% 0%, rgba(75, 116, 200, 0.10), transparent 26%),
    linear-gradient(180deg, #fbfbf7 0%, #eef2f3 48%, #f8f8f4 100%);
}
body[data-theme="light"] a { color: #5f43cf; }
body[data-theme] .brand { color: var(--ink); }
body[data-theme="light"] .topbar {
  background: rgba(248, 248, 244, 0.90);
  border-bottom-color: rgba(37, 43, 52, 0.14);
}
body[data-theme="light"] nav a { color: rgba(17, 21, 27, 0.72); }
body[data-theme="light"] nav a:hover { color: var(--green); }
body[data-theme="light"] .theme-toggle {
  background: rgba(255, 255, 255, 0.78);
  color: #11151b;
}
body[data-theme="light"] .intro-band {
  background:
    linear-gradient(120deg, rgba(20, 24, 32, 0.045) 0 1px, transparent 1px 92px),
    linear-gradient(168deg, rgba(109, 79, 216, 0.08) 0 1px, transparent 1px 88px),
    radial-gradient(circle at 78% 16%, rgba(109, 79, 216, 0.16), transparent 32%),
    linear-gradient(135deg, #fbfbf7, #e8edf0 52%, #f7f7f2);
}
body[data-theme="light"] .intro-band::after {
  background: linear-gradient(90deg, transparent 0 66%, rgba(20, 24, 32, 0.04) 66% 100%);
}
body[data-theme="light"] .intro-copy h1,
body[data-theme="light"] .section-heading h2,
body[data-theme="light"] .memo th,
body[data-theme="light"] .memo strong,
body[data-theme="light"] .scenario-button.active,
body[data-theme="light"] .result-hero {
  color: #11151b;
}
body[data-theme="light"] .lead,
body[data-theme="light"] .section-heading p:not(.eyebrow),
body[data-theme="light"] .letter-wrap,
body[data-theme="light"] .project-grid p,
body[data-theme="light"] .range-control span {
  color: rgba(17, 21, 27, 0.74);
}
body[data-theme="light"] .intent-callout {
  background: rgba(109, 79, 216, 0.10);
  color: #20152f;
  box-shadow: 0 0 30px rgba(109, 79, 216, 0.08);
}
body[data-theme="light"] .intent-callout strong { color: #11151b; }
body[data-theme="light"] .metric-row div,
body[data-theme="light"] .result-grid div,
body[data-theme="light"] .ownership-strip div,
body[data-theme="light"] .file-list a {
  background: rgba(255, 255, 255, 0.70);
}
body[data-theme="light"] .metric-row .primary {
  background: rgba(109, 79, 216, 0.10);
  border-color: rgba(109, 79, 216, 0.36);
}
body[data-theme="light"] .hero-asset img {
  background:
    radial-gradient(circle at 52% 6%, rgba(255, 255, 255, 0.20), transparent 14%),
    radial-gradient(circle at 50% 48%, rgba(84, 199, 255, 0.12), transparent 42%),
    #030507;
  box-shadow:
    0 24px 70px rgba(32, 21, 47, 0.16),
    0 0 38px rgba(109, 79, 216, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.70) inset;
}
body[data-theme="light"] .formal-band,
body[data-theme="light"] .calculator-band,
body[data-theme="light"] .deeper-band,
body[data-theme="light"] .files-band {
  background: linear-gradient(180deg, #f8f8f4, #eef2f3);
}
body[data-theme="light"] .letter-band {
  background: linear-gradient(180deg, #f5f0e5, #f9f8f3);
}
body[data-theme="light"] .memo,
body[data-theme="light"] .calculator-shell {
  background:
    linear-gradient(180deg, rgba(109, 79, 216, 0.045), transparent 150px),
    rgba(255, 255, 255, 0.82);
  box-shadow: 0 28px 80px rgba(32, 21, 47, 0.12);
}
body[data-theme="light"] .memo table {
  background: rgba(255, 255, 255, 0.78);
}
body[data-theme="light"] .memo th {
  background: rgba(109, 79, 216, 0.10);
}
body[data-theme="light"] .memo tr:nth-child(even) td {
  background: rgba(20, 24, 32, 0.025);
}
body[data-theme="light"] .scenario-panel {
  background:
    linear-gradient(120deg, rgba(109, 79, 216, 0.12), rgba(75, 116, 200, 0.06)),
    #f5f6f4;
}
body[data-theme="light"] .scenario-note,
body[data-theme="light"] .scenario-header p {
  color: rgba(17, 21, 27, 0.64);
}
body[data-theme="light"] .scenario-button {
  background: rgba(255, 255, 255, 0.82);
  color: #11151b;
}
body[data-theme="light"] .scenario-button:hover,
body[data-theme="light"] .scenario-button.active,
body[data-theme="light"] .assumption-toggle {
  background: rgba(109, 79, 216, 0.10);
}
body[data-theme="light"] .assumption-toggle {
  color: #20152f;
}
body[data-theme="light"] .control-panel,
body[data-theme="light"] .results-panel {
  background: rgba(255, 255, 255, 0.68);
}
body[data-theme="light"] .result-hero {
  background:
    linear-gradient(135deg, rgba(109, 79, 216, 0.14), rgba(75, 116, 200, 0.08)),
    #f7f8f6;
}
body[data-theme="light"] .result-hero span,
body[data-theme="light"] .result-hero small {
  color: rgba(17, 21, 27, 0.62);
}
body[data-theme="light"] .project-grid article,
body[data-theme="light"] .sandpro-card,
body[data-theme="light"] .korbis-card,
body[data-theme="light"] .thrawn-card,
body[data-theme="light"] .vault-card,
body[data-theme="light"] .cyclops-card,
body[data-theme="light"] .hit-zero-card {
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(109, 79, 216, 0.24), rgba(75, 116, 200, 0.15)) border-box;
}
body[data-theme="light"] .tag {
  color: #20152f;
  background: rgba(109, 79, 216, 0.10);
  border-color: rgba(109, 79, 216, 0.22);
}
@media (max-width: 980px) {
  .intro-band { grid-template-columns: 1fr; }
  .scenario-panel, .result-hero, .calculator-heading { grid-template-columns: 1fr; }
  .calculator-heading { align-items: stretch; }
  .result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .control-panel { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .topbar { align-items: flex-start; flex-direction: column; padding: 14px 20px; }
}
@media (max-width: 680px) {
  .intro-band, .content-band, .letter-band, .files-band, .calculator-band { padding-left: 20px; padding-right: 20px; }
  .metric-row, .project-grid, .scenario-buttons, .result-grid, .ownership-strip { grid-template-columns: 1fr; }
  nav { gap: 12px; }
  .memo table { display: block; overflow-x: auto; }
  .letter-wrap { font-size: 18px; }
}
