:root {
  --navy: #0d2d4f;
  --navy-mid: #143a63;
  --navy-light: #1a4570;
  --navy-dark: #081e36;
  --green: #3cb371;
  --green-bright: #4dd68a;
  --green-dark: #2d9a5c;
  --silver: #c0c5ce;
  --grey: #6c757d;
  --grey-light: #f4f6f8;
  --white: #ffffff;
  --negative: #e74c3c;
  --shadow: 0 4px 24px rgba(13, 45, 79, 0.08);
  --shadow-lg: 0 12px 48px rgba(13, 45, 79, 0.14);
  --shadow-glow: 0 0 40px rgba(60, 179, 113, 0.15);
  --radius: 14px;
  --radius-lg: 20px;
  --max-w: 1280px;
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.35);
  --glass-blur: blur(16px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  padding-bottom: 5rem;
}

a { color: var(--navy-light); text-decoration: none; }
a:hover { color: var(--green); }

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

/* ── Glass utilities ── */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px rgba(13, 45, 79, 0.1);
}
.glass-dark {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}
.glass-light {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(192, 197, 206, 0.5);
}

/* ── Scroll reveal (only hides when JS is active, so no-JS still shows all) ── */
html.has-js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
html.has-js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html.has-js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(192, 197, 206, 0.4);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.85rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-logo { height: 44px; width: auto; }
.nav-links { display: flex; gap: 2rem; align-items: center; flex-wrap: wrap; }
.nav-links a { font-size: 0.9rem; font-weight: 600; color: var(--navy); transition: color 0.2s; }
.nav-links a:hover { color: var(--green); }
.nav-cta {
  display: inline-block;
  padding: 0.55rem 1.35rem;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--white) !important;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: 0 4px 14px rgba(60, 179, 113, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(60, 179, 113, 0.45);
  color: var(--white) !important;
}
.nav-brand { display: inline-flex; align-items: center; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  margin: 0 auto;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4rem 2rem 5rem;
  background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy) 45%, var(--navy-mid) 100%);
}
.hero-mesh {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(60, 179, 113, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(60, 179, 113, 0.08) 0%, transparent 40%),
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  pointer-events: none;
  animation: meshDrift 40s linear infinite;
}
.hero-mesh::after {
  content: "";
  position: absolute;
  top: -25%;
  right: -15%;
  width: 60vw;
  height: 60vw;
  max-width: 640px;
  max-height: 640px;
  background: radial-gradient(circle, rgba(60, 179, 113, 0.16) 0%, transparent 62%);
  filter: blur(18px);
  pointer-events: none;
  animation: heroGlow 16s ease-in-out infinite alternate;
}
@keyframes meshDrift {
  from { background-position: 0 0, 0 0, 0 0, 0 0; }
  to   { background-position: 0 0, 0 0, 48px 48px, 48px 48px; }
}
@keyframes heroGlow {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.75; }
  100% { transform: translate(-7%, 9%) scale(1.16); opacity: 1; }
}
.hero-inner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.hero-copy { text-align: left; }
.hero-logo { height: 72px; margin-bottom: 1.25rem; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3)); }
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green-bright);
  margin-bottom: 0.75rem;
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.hero h1 span {
  background: linear-gradient(90deg, var(--green-bright), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-actions { margin-bottom: 1.5rem; }
.hero-trust {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}
.hero-trust .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 769px) {
  .hero-stats-compact {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: stretch;
  }
  .hero-stats-compact .hero-stat-featured {
    grid-column: auto;
  }
}
.hero-stats-compact .hero-stat-featured {
  grid-column: 1;
}
.hero-stat-card {
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.hero-stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(60, 179, 113, 0.45);
  box-shadow: 0 12px 40px rgba(60, 179, 113, 0.15);
}
.hero-stat-featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(60, 179, 113, 0.18) 0%, rgba(255,255,255,0.08) 100%);
  border-color: rgba(60, 179, 113, 0.4);
  box-shadow: 0 0 0 1px rgba(60, 179, 113, 0.2), 0 8px 32px rgba(0, 0, 0, 0.15);
}
.hero-stat-meta {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.35rem;
  line-height: 1.45;
}
.hero-stat-value {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--green-bright);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.hero-stat-featured .hero-stat-value { font-size: 3rem; }
.hero-stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.35rem;
}
.hero-stat-sub {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.5rem;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.2s;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--white);
  box-shadow: 0 6px 24px rgba(60, 179, 113, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(60, 179, 113, 0.5);
  color: var(--white);
}
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }

.badge-soon {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 1.25rem;
  background: var(--grey-light);
  border: 1px dashed var(--silver);
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--grey);
  cursor: not-allowed;
  user-select: none;
}

/* ── Sections ── */
section { padding: 5rem 2rem; }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.section-cta { flex-shrink: 0; }
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green);
  margin-bottom: 0.5rem;
}
.section-label-light { color: var(--green-bright); }
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.section-title-light { color: var(--white); }
.section-desc { color: var(--grey); margin-bottom: 0; max-width: 640px; line-height: 1.7; }
.section-desc-light { color: rgba(255, 255, 255, 0.65); margin-bottom: 2.5rem; }
.subsection-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.25rem;
}
.footnote { font-size: 0.85rem; color: var(--grey); margin: 0 0 2rem; font-style: italic; }

.read-numbers {
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
}
.read-numbers-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.read-numbers ul {
  list-style: none;
  font-size: 0.9rem;
  color: var(--grey);
  line-height: 1.75;
}
.read-numbers li { padding-left: 1rem; position: relative; margin-bottom: 0.35rem; }
.read-numbers li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

.ratio-panel { margin-bottom: 2.5rem; }
.ratio-panel-featured {
  position: relative;
  padding: 2rem;
  margin-bottom: 2.5rem;
  border-radius: var(--radius-lg);
  background: radial-gradient(ellipse at 50% 0%, rgba(60, 179, 113, 0.12) 0%, transparent 55%);
}
.ratio-panel-featured .subsection-title {
  margin-bottom: 1.25rem;
  font-size: 1.35rem;
}
.ratio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1rem;
}
.ratio-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.ratio-card-shine {
  background: linear-gradient(135deg, rgba(13, 45, 79, 0.94) 0%, rgba(26, 69, 112, 0.9) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(13, 45, 79, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.ratio-card-shine::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(77, 214, 138, 0.5), rgba(255, 255, 255, 0.15), rgba(60, 179, 113, 0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.ratio-card-shine::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -75%;
  width: 55%;
  height: 200%;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.12) 50%, transparent 65%);
  pointer-events: none;
  transform: rotate(8deg) translateX(0);
  transition: transform 0.75s ease;
}
.ratio-card-shine:hover::after {
  transform: rotate(8deg) translateX(360%);
}
.ratio-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  border-radius: 12px;
  color: var(--green-bright);
  background: linear-gradient(135deg, rgba(77, 214, 138, 0.18), rgba(60, 179, 113, 0.05));
  border: 1px solid rgba(77, 214, 138, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease;
}
.ratio-icon svg { width: 22px; height: 22px; }
.ratio-card-shine:hover .ratio-icon { transform: translateY(-2px) scale(1.05); }
@media (prefers-reduced-motion: reduce) {
  .ratio-card-shine:hover::after { transform: rotate(8deg) translateX(0); }
  .ratio-card-shine:hover .ratio-icon { transform: none; }
}
.ratio-card-shine:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(60, 179, 113, 0.25), 0 8px 32px rgba(13, 45, 79, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
@media (prefers-reduced-motion: reduce) {
  .ratio-card-shine:hover { transform: none; }
}
.ratio-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.ratio-value {
  position: relative;
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--green-bright);
  line-height: 1.1;
  text-shadow: 0 0 24px rgba(77, 214, 138, 0.35);
}
.ratio-card-shine .ratio-value { color: var(--green-bright); }
.ratio-name {
  position: relative;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
  margin: 0.5rem 0 0.85rem;
}
.ratio-card-shine .ratio-name { color: rgba(255, 255, 255, 0.9); }
.ratio-card p {
  position: relative;
  font-size: 0.875rem;
  color: var(--grey);
  line-height: 1.65;
}
.ratio-card-shine p {
  color: rgba(255, 255, 255, 0.75);
}
.ratio-card-shine p strong { color: var(--green-bright); }
.ratio-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: var(--navy);
}
.ratio-summary-shine {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(192, 197, 206, 0.5);
  border-left: 4px solid var(--green);
  box-shadow: var(--shadow);
}

/* ── Heatmap ── */
.heatmap-desc { font-size: 0.875rem; color: var(--grey); margin-bottom: 1rem; }
.heatmap-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.75rem;
  color: var(--grey);
}
.legend-item { display: inline-flex; align-items: center; gap: 0.35rem; }
.heatmap-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 0.5rem; }
.heatmap-root { min-width: 320px; }
.heatmap-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 4px;
  padding-left: 4.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--grey);
  text-align: center;
}
.heatmap-month {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.heatmap-month-label {
  flex: 0 0 4rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy);
  padding-top: 0.35rem;
  position: sticky;
  left: 0;
  background: inherit;
}
.heatmap-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  flex: 1;
}
.heatmap-cell {
  width: 100%;
  aspect-ratio: 1;
  min-width: 28px;
  max-width: 40px;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  cursor: default;
  transition: transform 0.15s, box-shadow 0.15s;
}
.heatmap-cell:not(.heat-empty):hover,
.heatmap-cell:not(.heat-empty):focus {
  transform: scale(1.12);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  outline: none;
  z-index: 1;
}
.heat-legend { width: 20px; height: 20px; min-width: 20px; max-width: 20px; aspect-ratio: 1; }
.heat-empty { background: rgba(192, 197, 206, 0.25); }
.heat-weekend { background: rgba(192, 197, 206, 0.12); }
.heat-1 { background: rgba(60, 179, 113, 0.25); }
.heat-2 { background: rgba(60, 179, 113, 0.4); }
.heat-3 { background: rgba(60, 179, 113, 0.55); color: var(--white); }
.heat-4 { background: rgba(45, 154, 92, 0.75); color: var(--white); }
.heat-5 { background: rgba(45, 154, 92, 0.95); color: var(--white); }
.heat-loss-1 { background: rgba(231, 76, 60, 0.25); }
.heat-loss-2 { background: rgba(231, 76, 60, 0.4); }
.heat-loss-3 { background: rgba(231, 76, 60, 0.55); color: var(--white); }
.heat-loss-4 { background: rgba(192, 57, 43, 0.75); color: var(--white); }
.heat-loss-5 { background: rgba(192, 57, 43, 0.95); color: var(--white); }
.heatmap-note { font-size: 0.75rem; color: var(--grey); font-style: italic; margin-top: 0.75rem; }

.section-performance {
  background: linear-gradient(180deg, var(--grey-light) 0%, #e8ecf1 100%);
}
.section-strategy-dark {
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 5rem 2rem;
}
.section-strategy-light { background: var(--white); }
.section-roadmap { background: var(--grey-light); }

/* ── Bento stats ── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}
.stat-card {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(192, 197, 206, 0.6);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  overflow: hidden;
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.stat-card-hero {
  grid-column: span 2;
  grid-row: span 2;
  text-align: left;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-color: transparent;
}
.stat-card-glow {
  position: absolute;
  top: -50%;
  right: -30%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(60, 179, 113, 0.25) 0%, transparent 70%);
  pointer-events: none;
}
.stat-card-hero .value {
  font-size: 3.5rem;
  color: var(--green-bright);
}
.stat-card-hero .label { color: rgba(255,255,255,0.6); }
.stat-card-note {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.75rem;
}
.stat-card .value {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.stat-card .value.negative { color: var(--negative); }
.stat-card .label {
  font-size: 0.75rem;
  color: var(--grey);
  margin-top: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* ── Chart ── */
.chart-panel {
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
}
.chart { margin: 0; }
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 2rem;
  height: 260px;
  padding: 0 1rem;
}
.chart-bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  height: 100%;
  justify-content: flex-end;
}
.chart-bar {
  width: 100%;
  max-width: 100px;
  background: linear-gradient(180deg, var(--green-bright) 0%, var(--green-dark) 100%);
  border-radius: 8px 8px 0 0;
  min-height: 8px;
  box-shadow: 0 -4px 20px rgba(60, 179, 113, 0.3);
  transition: transform 0.3s;
}
.chart-bar-group:hover .chart-bar { transform: scaleY(1.03); transform-origin: bottom; }
.chart-bar-label { font-size: 0.85rem; font-weight: 700; color: var(--navy); }
.chart-bar-value { font-size: 0.8rem; color: var(--grey); font-weight: 600; }

/* ── Tables ── */
.tables-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.table-panel {
  border-radius: var(--radius);
  padding: 1.5rem;
}
.table-wrap { overflow-x: auto; margin-bottom: 0; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
}
.table-panel table { box-shadow: none; }
th, td { padding: 0.7rem 1rem; text-align: left; border-bottom: 1px solid var(--silver); }
th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--grey-light); }
.positive { color: var(--green-dark); font-weight: 700; }
.negative { color: var(--negative); font-weight: 700; }

/* ── Cards ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--silver);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 0.6rem; font-weight: 700; }
.card p { font-size: 0.9rem; color: var(--grey); line-height: 1.65; }
.card-elevated {
  border: none;
  box-shadow: var(--shadow-lg);
}
.card-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(60,179,113,0.15), rgba(60,179,113,0.05));
  border-radius: 12px;
}
.card-dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}
.card-dark h3 { color: var(--white); }
.card-dark p { color: rgba(255, 255, 255, 0.65); }
.card .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: var(--white);
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

/* ── Platform roadmap ── */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.platform-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(192, 197, 206, 0.5);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: var(--shadow);
}
.platform-card:hover { box-shadow: var(--shadow-lg); }
.platform-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.platform-badge-btc {
  background: linear-gradient(135deg, #f7931a, #e67e00);
}
.platform-card h3 { margin-bottom: 0.6rem; font-size: 1.25rem; font-weight: 700; }
.platform-card p { font-size: 0.9rem; color: var(--grey); margin-bottom: 1.5rem; line-height: 1.65; }

/* ── Facts & tags ── */
.facts-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2.5rem 0 1.5rem;
}
.fact {
  background: var(--grey-light);
  border: 1px solid var(--silver);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}
.fact .fact-label {
  font-size: 0.7rem;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.fact .fact-value {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  margin-top: 0.35rem;
}
.tags { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.tag {
  padding: 0.4rem 1rem;
  background: var(--white);
  border: 1px solid var(--silver);
  border-radius: 24px;
  font-size: 0.8rem;
  color: var(--navy);
  font-weight: 600;
}

/* ── Risk ── */
.risk {
  background: #fff8f0;
  border: 1px solid #f0d9b5;
  border-radius: var(--radius-lg);
  padding: 2rem;
  font-size: 0.875rem;
  color: #5a4a32;
  line-height: 1.75;
}
.risk h3 { color: var(--navy); margin-bottom: 1rem; font-size: 1.1rem; font-weight: 700; }
.risk p { margin-bottom: 0.75rem; }
.risk p:last-child { margin-bottom: 0; }

/* ── Footer ── */
.footer {
  background: var(--navy-dark);
  color: var(--silver);
  padding: 3rem 2rem;
  text-align: center;
  font-size: 0.875rem;
}
.footer a { color: var(--green-bright); font-weight: 600; }
.footer a:hover { color: var(--green); }
.footer-logo { height: 52px; margin-bottom: 1.25rem; }
.footer-copy { margin-top: 0.75rem; opacity: 0.6; }

/* ── Sticky CTA ── */
.sticky-cta {
  position: fixed;
  bottom: max(1.5rem, env(safe-area-inset-bottom));
  right: max(1.5rem, env(safe-area-inset-right));
  z-index: 300;
}
.sticky-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.5rem;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--white) !important;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 8px 32px rgba(60, 179, 113, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}
.sticky-cta-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 40px rgba(60, 179, 113, 0.55);
  color: var(--white) !important;
}
.sticky-cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  font-size: 1rem;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-trust { justify-content: center; }
  .bento-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-card-hero { grid-column: span 3; grid-row: span 1; }
  .ratio-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .facts-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  section { padding: 3.5rem 1.25rem; }
  .nav-inner { padding: 0.75rem 1.25rem; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1.1rem;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid rgba(192, 197, 206, 0.4);
    box-shadow: 0 16px 36px rgba(13, 45, 79, 0.14);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: max-height 0.32s ease, opacity 0.25s ease,
                transform 0.25s ease, visibility 0.25s ease;
  }
  .nav-open .nav-links {
    max-height: 340px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-links a:not(.nav-cta) {
    display: block;
    padding: 0.9rem 0.25rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(192, 197, 206, 0.3);
  }
  .nav-links .nav-cta {
    display: block;
    text-align: center;
    margin-top: 0.9rem;
  }
  .hero { padding: 3rem 1.25rem 4rem; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card-hero { grid-column: span 2; }
  .stat-card-hero .value { font-size: 2.5rem; }
  .tables-row { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: 1fr; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .section-cta { width: 100%; text-align: center; }
  .ratio-summary { flex-direction: column; gap: 0.5rem; }
  .heatmap-cell { min-width: 24px; font-size: 0.6rem; }
  .sticky-cta {
    bottom: 0;
    right: 0;
    left: 0;
  }
  .sticky-cta-btn {
    width: 100%;
    justify-content: center;
    border-radius: 0;
    padding: max(1rem, env(safe-area-inset-bottom));
    min-height: 44px;
  }
}

@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stat-featured { grid-column: 1; }
  .ratio-panel-featured { padding: 1.25rem; }
  .ratio-value { font-size: 2.25rem; }
  .facts-strip { grid-template-columns: 1fr; }
  .heatmap-month-label { flex: 0 0 3rem; font-size: 0.65rem; }
}

/* ── Heatmap tooltip ── */
.heat-tip {
  position: fixed;
  z-index: 400;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 130px;
  max-width: 240px;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  background: rgba(8, 30, 54, 0.97);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
  font-size: 0.78rem;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.heat-tip.visible { opacity: 1; transform: translateY(0); }
.heat-tip-date { font-weight: 700; color: rgba(255, 255, 255, 0.95); }
.heat-tip-val { font-weight: 700; }
.heat-tip-val.gain { color: var(--green-bright); }
.heat-tip-val.loss { color: #ff7a6b; }
.heat-tip-meta { font-size: 0.68rem; color: rgba(255, 255, 255, 0.5); }
.heat-tip::after {
  content: "";
  position: absolute;
  left: var(--caret-x, 50%);
  transform: translateX(-50%);
  border: 6px solid transparent;
}
.heat-tip:not(.below)::after { top: 100%; border-top-color: rgba(8, 30, 54, 0.97); }
.heat-tip.below::after { bottom: 100%; border-bottom-color: rgba(8, 30, 54, 0.97); }

/* ── Print ── */
@media print {
  body { padding: 0; background: #fff; color: #000; }
  .nav, .nav-toggle, .sticky-cta, .hero-mesh, .heat-tip { display: none !important; }
  .hero {
    background: #fff;
    padding: 1rem 0;
    border-bottom: 1px solid #ccc;
  }
  .hero h1, .hero-sub, .hero-eyebrow, .hero-trust,
  .hero-stat-value, .hero-stat-label, .hero-stat-sub, .hero-stat-meta { color: #0d2d4f !important; }
  .hero h1 span { -webkit-text-fill-color: #0d2d4f; color: #0d2d4f; }
  section { padding: 1.25rem 0; break-inside: avoid; }
  .section-strategy-dark, .section-roadmap, .section-performance { background: #fff !important; }
  .glass-panel, .glass-dark, .glass-light, .card, .card-dark, .stat-card,
  .stat-card-hero, .platform-card, .ratio-card, .ratio-card-shine, .ratio-summary {
    box-shadow: none !important;
    background: #fff !important;
    border: 1px solid #ccc !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .section-title-light, .section-desc-light, .section-label-light,
  .card-dark h3, .card-dark p, .stat-card-hero .value, .stat-card-hero .label,
  .stat-card-note, .ratio-card-shine .ratio-name, .ratio-card-shine p,
  .ratio-value, .ratio-name { color: #0d2d4f !important; }
  html.has-js .reveal { opacity: 1 !important; transform: none !important; }
  a { color: #0d2d4f !important; }
}
