/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/Inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/Inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* TOKENS */
:root {
  /* Brand */
  --primary:        #2176D0;
  --primary-dark:   #1a5ea8;
  --primary-darker: #144880;
  --accent:         #4045E5;
  --energy:         #F26306;
  --energy-hover:   #d8590a;
  --success:        #84D369;
  --success-dark:   #5fa847;
  --danger:         #D0021B;
  --warning:        #F5A623;

  /* Surface */
  --bg:           #f5f7fb;
  --bg-warm:      #fafaf7;
  --surface:      #ffffff;
  --surface-2:    #f0f3f9;
  --surface-dark: #0a1525;
  --surface-deep: #050d1a;

  /* Text */
  --text:           #0f172a;
  --text-muted:     #64748b;
  --text-soft:      #94a3b8;
  --text-on-dark:   #e2e8f0;
  --text-on-dark-2: #94a3b8;
  --text-on-dark-3: #64748b;

  /* Border */
  --border:      #e2e8f0;
  --border-soft: #eef0f5;
  --border-dark: #1e293b;

  /* Radius */
  --r-sm: 6px;
  --r:    12px;
  --r-lg: 18px;
  --r-xl: 24px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(15,23,42,.04);
  --shadow:    0 4px 18px rgba(15,23,42,.06);
  --shadow-lg: 0 16px 48px rgba(15,23,42,.12);
  --shadow-primary: 0 12px 40px rgba(33,118,208,.22);
  --shadow-energy:  0 12px 40px rgba(242,99,6,.22);

  /* Type */
  --font-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, 'Cascadia Mono', 'JetBrains Mono', monospace;

  /* Spacing */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px; --sp-5: 24px;
  --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px; --sp-10: 128px;

  /* Layout */
  --container: 1480px;
  --section-y: clamp(64px, 8vw, 128px);

  /* Motion */
  --ease: cubic-bezier(.4, .0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body, h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }

/* BASE */
body {
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    radial-gradient(circle at 20% 0%, rgba(33,118,208,.04), transparent 60%),
    radial-gradient(circle at 100% 30%, rgba(64,69,229,.04), transparent 60%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(15,23,42,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 90% 80% at center, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at center, black 40%, transparent 100%);
}

::selection { background: var(--primary); color: #fff; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 3px;
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

/* SECTION */
.section {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  position: relative;
}
.section + .section { padding-top: var(--sp-6); }

section[id],
main[id] {
  scroll-margin-top: calc(var(--header-height, 70px) + 20px);
}
.section-head { max-width: 720px; margin-bottom: var(--sp-8); }
.section-head--side { margin-bottom: 0; }
.section-title {
  font-family: var(--font-base);
  font-size: clamp(32px, 4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--sp-5);
}
.section-title em {
  font-style: italic;
  color: var(--primary);
  font-weight: 600;
}
.section-title--on-dark { color: var(--text-on-dark); }
.section-lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 560px;
}

/* EYEBROW */
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--primary);
  margin-bottom: var(--sp-4);
  font-weight: 500;
}
.eyebrow--on-dark { color: var(--energy); }

/* RAIL */
.rail {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 8px clamp(20px, 4vw, 40px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  background: var(--surface-deep);
  color: var(--text-on-dark-2);
  border-bottom: 1px solid var(--border-dark);
}
.rail-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(132,211,105,.18);
  animation: pulse-dot 2.4s ease-in-out infinite;
  flex-shrink: 0;
}
.rail-text { white-space: nowrap; }
.rail-text--muted { color: var(--text-on-dark-3); }
.rail-sep { color: var(--text-on-dark-3); }
.rail-spacer { flex: 1; }

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(132,211,105,.18); }
  50%      { box-shadow: 0 0 0 6px rgba(132,211,105,.06); }
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245,247,251,.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-4);
  padding-bottom: var(--sp-4);
  gap: var(--sp-5);
}
.brand { display: flex; align-items: center; gap: var(--sp-3); text-decoration: none; }
.brand-mark {
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(33,118,208,.18);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
}
.brand-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: lowercase;
}

.site-nav { display: flex; align-items: center; }
.nav-list {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}
.nav-list a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color .2s var(--ease);
  font-weight: 500;
}
.nav-list a:hover { color: var(--text); }

.nav-cta,
.nav-cta:link,
.nav-cta:visited {
  background: var(--text);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 500;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.nav-cta:hover,
.nav-cta:visited:hover {
  background: var(--energy);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 8px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}

/* HERO */
.section--hero {
  padding-top: clamp(28px, 7vw, 28px);
  padding-bottom: clamp(32px, 4vw, 64px);
  overflow: hidden;
  position: relative;
}

/* STATS */
.section--stats {
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(48px, 6vw, 80px);
  background: var(--surface);
}
.section--stats .stats-bar { margin-top: 0; }
.section--hero::after {
  content: "";
  position: absolute;
  right: -200px;
  top: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(33,118,208,.08), transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.section--hero.has-vanta::after { display: none; }
.section--hero > .container {
  position: relative;
  z-index: 1;
}
.section--hero > canvas { z-index: 0; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(420px, 28vw, 520px);
  gap: clamp(40px, 5vw, 96px);
  align-items: start;
  position: relative;
  z-index: 1;
}

.hero-main { max-width: 760px; }

.hero-headline {
  font-size: clamp(44px, 6vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--sp-6);
  opacity: 0;
  animation: fade-up .8s var(--ease-out) .1s forwards;
}
.hero-headline em {
  font-style: italic;
  color: var(--primary);
  font-weight: 700;
}

.hero-sub {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: var(--sp-6);
  max-width: 640px;
  opacity: 0;
  animation: fade-up .8s var(--ease-out) .25s forwards;
}

.hero-sub .typed {
  display: inline-block;
  position: relative;
  white-space: nowrap;
  min-width: 14ch;
  vertical-align: baseline;
  text-align: left;
}
.typed-text {
  display: inline-block;
  color: var(--text);
  font-weight: 600;
  border-bottom: 1px solid var(--primary);
  padding-bottom: 1px;
  transition: opacity .25s var(--ease);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: var(--sp-6);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  animation: fade-up .8s var(--ease-out) .4s forwards;
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(132,211,105,.2);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
.status-sep { color: var(--border); }
.status-soft { color: var(--text-soft); }

.hero-actions {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  opacity: 0;
  animation: fade-up .8s var(--ease-out) .55s forwards;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease);
  cursor: pointer;
}
.btn-arrow {
  transition: transform .25s var(--ease-out);
  display: inline-block;
}
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn--primary,
.btn--primary:link,
.btn--primary:visited {
  background: var(--text);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn--primary:hover,
.btn--primary:visited:hover {
  background: var(--energy);
  color: #fff;
  box-shadow: var(--shadow-energy);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  border-color: var(--text);
  background: var(--surface);
}

.section--hero.has-vanta .btn--ghost {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.section--hero.has-vanta .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--text);
}

/* HERO FLOW */
.hero-flow {
  opacity: 0;
  animation: fade-up .8s var(--ease-out) .35s forwards;
}
.flow-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow);
  position: relative;
}
.flow-frame::before {
  content: "";
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 2px;
  background: var(--energy);
  border-radius: 0 0 2px 2px;
}
.flow-head {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: var(--sp-5);
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.flow-step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: var(--sp-4);
  align-items: start;
  padding: var(--sp-2) 0;
}
.flow-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--primary);
  padding-top: 6px;
  font-weight: 500;
}
.flow-body { display: flex; flex-direction: column; gap: 4px; }
.flow-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  text-transform: lowercase;
}
.flow-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.15;
}
.flow-text {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-muted);
  margin-top: 2px;
}

.flow-arrow {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: var(--sp-4);
  align-items: center;
  padding: 2px 0;
}
.flow-arrow-line {
  display: block;
  width: 1px;
  height: 12px;
  background: linear-gradient(to bottom, var(--border), var(--primary));
  margin: 0 auto;
}
.flow-arrow-tip {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--primary);
  line-height: 1;
}

.flow-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px dashed var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--success-dark);
  font-weight: 500;
}
.flow-foot-text { text-transform: lowercase; }

/* STATS BAR */
.stats-bar {
  margin-top: clamp(56px, 7vw, 96px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--sp-7) 0;
}
.stat { text-align: center; position: relative; }
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0; top: 12px; bottom: 12px;
  width: 1px;
  background: var(--border);
}
.stat-value {
  font-size: clamp(48px, 5.5vw, 96px);
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--text);
  font-weight: 700;
  margin-bottom: var(--sp-3);
}
.stat-value--text {
  font-family: var(--font-mono);
  font-size: clamp(32px, 3.6vw, 60px);
  letter-spacing: 0.02em;
  font-weight: 600;
  padding-top: 14px;
}
.stat-unit {
  font-size: 0.55em;
  color: var(--text-muted);
  font-weight: 500;
  margin-left: 2px;
}
.stat-value--energy { color: var(--energy); }
.kw-energy { color: var(--energy); }
.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: lowercase;
}

/* PROBLEM */
.section--problem {
  background: var(--bg-warm);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.problem-grid {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}

.problem-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-7);
}
.problem-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--sp-5);
  align-items: baseline;
  padding-bottom: var(--sp-7);
  border-bottom: 1px solid var(--border-soft);
}
.problem-item:last-child { border-bottom: 0; padding-bottom: 0; }
.problem-num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--primary);
  padding-top: 6px;
  font-weight: 500;
}
.problem-headline {
  font-size: clamp(24px, 2.6vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--sp-3);
}
.problem-text {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 580px;
}

.day-viz {
  margin: var(--sp-5) 0 0;
  max-width: 520px;
}
.day-viz-scale {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  text-transform: lowercase;
  margin-bottom: var(--sp-2);
}
.day-viz-scale-hours {
  color: var(--text-muted);
  font-weight: 500;
}
.day-viz-bars {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 4px;
  height: 56px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.day-viz-bar {
  border-radius: var(--r-sm);
  transition: transform .25s var(--ease);
}
.day-viz-bar--billed {
  background: var(--success);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}
.day-viz-bar--lost {
  background: rgba(208, 2, 27, 0.06);
  border: 1px dashed rgba(208, 2, 27, 0.5);
}
.day-viz:hover .day-viz-bar { transform: translateY(-2px); }

.day-viz-legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
  margin: var(--sp-3) 0 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: lowercase;
}
.day-viz-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.day-viz-legend-item strong {
  color: var(--text);
  font-weight: 600;
}
.day-viz-swatch {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  flex-shrink: 0;
}
.day-viz-swatch--billed { background: var(--success); }
.day-viz-swatch--lost {
  background: rgba(208, 2, 27, 0.06);
  border: 1px dashed rgba(208, 2, 27, 0.5);
}

/* FEATURES */
.section--features { background: var(--surface); }
#features.section--features { background: var(--bg-warm); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: var(--sp-6);
  position: relative;
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.feature:hover {
  border-color: var(--text);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.feature-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-4);
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: rgba(33, 118, 208, 0.08);
  border: 1px solid rgba(33, 118, 208, 0.18);
  color: var(--primary);
  flex-shrink: 0;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.feature-icon svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: currentColor;
}
.feature:hover .feature-icon {
  background: rgba(33, 118, 208, 0.14);
  border-color: rgba(33, 118, 208, 0.32);
}
.feature-id {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--text-soft);
  font-weight: 500;
}
.feature-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: var(--sp-3);
  line-height: 1.2;
}
.feature-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}

@media (min-width: 1025px) {
  #module .feature-grid > .feature:last-child {
    grid-column: 2 / 3;
  }
}

/* AUDIENCE */
.section--audience {
  background: var(--surface);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-7);
}
.audience {
  background: var(--bg);
  border-radius: var(--r-lg);
  padding: clamp(28px, 3.5vw, 48px);
  border: 1px solid var(--border-soft);
  position: relative;
  overflow: hidden;
}
.audience--alt {
  background: var(--surface-dark);
  border-color: var(--border-dark);
  color: var(--text-on-dark);
}
.audience--alt .eyebrow { color: var(--energy); }
.audience--alt .audience-title { color: var(--text-on-dark); }
.audience--alt .audience-lead  { color: var(--text-on-dark-2); }
.audience--alt .bullet { color: var(--energy); }
.audience--alt .audience-list li { color: var(--text-on-dark); }
.audience .bullet { color: var(--energy); }

.audience-title {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-bottom: var(--sp-4);
}
.audience-lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: var(--sp-6);
  max-width: 460px;
}
.audience-list { display: flex; flex-direction: column; gap: 14px; }
.audience-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: baseline;
  font-size: 15.5px;
  line-height: 1.5;
}
.bullet {
  font-family: var(--font-mono);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
}

/* HIGHLIGHT */
.section--highlight {
  background: var(--bg-warm);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.highlight-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}
.highlight-lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: var(--sp-2) 0 var(--sp-6);
  max-width: 600px;
}
.highlight-bullets {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  list-style: none;
  padding: 0;
  margin: 0;
}
.highlight-bullets li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: var(--sp-3);
  align-items: baseline;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--text-muted);
}
.highlight-bullets em {
  color: var(--text);
  font-style: normal;
  font-weight: 600;
}

.quota-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.quota-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--success) 80%, var(--energy) 80%);
}
.quota-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  margin-bottom: var(--sp-4);
  padding-top: var(--sp-1);
}
.quota-card-label {
  color: var(--text-soft);
  text-transform: lowercase;
}
.quota-card-status {
  color: var(--text);
  font-weight: 600;
}
.quota-card-bar {
  display: flex;
  height: 32px;
  border-radius: var(--r-sm);
  overflow: hidden;
  margin-bottom: var(--sp-4);
  background: var(--surface-2);
}
.quota-card-bar-included { background: var(--success); }
.quota-card-bar-overage {
  background: repeating-linear-gradient(
    -45deg,
    var(--energy),
    var(--energy) 6px,
    rgba(242,99,6,0.5) 6px,
    rgba(242,99,6,0.5) 12px
  );
}
.quota-card-legend {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: lowercase;
  padding-bottom: var(--sp-4);
  border-bottom: 1px dashed var(--border);
}
.quota-card-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.quota-card-legend-item strong {
  color: var(--text);
  font-weight: 600;
}
.quota-card-swatch {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  flex-shrink: 0;
}
.quota-card-swatch--included { background: var(--success); }
.quota-card-swatch--overage { background: var(--energy); }
.quota-card-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--sp-3);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  text-transform: lowercase;
}
.quota-card-foot-icon {
  font-size: 13px;
  color: var(--primary);
}

/* USP */
.section--usp { background: var(--surface); }

.usp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.usp {
  padding: var(--sp-7);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: relative;
  transition: background .25s var(--ease);
}
.usp:hover { background: var(--bg); }
.usp-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: var(--sp-4);
  display: inline-block;
  font-weight: 500;
}
.usp-name {
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: var(--sp-3);
}
.usp-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 460px;
}

/* PRICING */
.section--pricing {
  background: var(--bg-warm);
  border-top: 1px solid var(--border-soft);
}

.pricing-axes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  margin: var(--sp-7) 0 0;
  padding: 0;
  list-style: none;
}

.pricing-axis {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: var(--sp-7) var(--sp-6);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  transition: background .25s var(--ease);
}
.pricing-axis:last-child { border-right: 0; }
.pricing-axis:hover { background: var(--bg); }

.pricing-axis-num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--energy);
  font-weight: 500;
  margin-bottom: var(--sp-2);
}

.pricing-axis-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-soft);
  text-transform: lowercase;
  font-weight: 500;
}

.pricing-axis-name {
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--text);
  margin: var(--sp-2) 0 var(--sp-3);
}

.pricing-axis-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
  max-width: 460px;
}

.pricing-cta-block {
  display: flex;
  justify-content: center;
  margin-top: var(--sp-8);
}

/* STATUS */
.section--status {
  background: var(--surface-dark);
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
}
.section--status::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.status-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
  position: relative;
  z-index: 1;
}
.status-text { max-width: 580px; }
.status-lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-on-dark-2);
  margin-bottom: var(--sp-4);
}

.status-statement {
  position: relative;
  padding: var(--sp-7) var(--sp-6);
  border-left: 2px solid var(--energy);
}
.statement-quote {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--sp-3);
  align-items: start;
  margin-bottom: var(--sp-6);
}
.statement-mark {
  font-size: 56px;
  line-height: 0.6;
  color: var(--energy);
  font-weight: 700;
}
.statement-mark--open { padding-top: 16px; }
.statement-mark--close { align-self: end; padding-bottom: 8px; }
.statement-text {
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 600;
  color: var(--text-on-dark);
  padding: 8px 0;
}
.statement-source {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-on-dark-2);
  text-transform: lowercase;
}
.statement-source-line {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--text-on-dark-3);
}

/* CONTACT */
.section--contact {
  background: var(--surface);
  border-top: 1px solid var(--border-soft);
  text-align: center;
}
.contact-block { max-width: 720px; margin: 0 auto; }
.contact-headline {
  font-size: clamp(48px, 6vw, 104px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--sp-4);
}
.contact-lead {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: var(--sp-7);
}
.contact-mail,
.contact-mail:link,
.contact-mail:visited {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: var(--primary);
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
  transition: color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  letter-spacing: -0.025em;
}
.contact-mail:hover,
.contact-mail:visited:hover {
  color: var(--energy);
  border-bottom-color: var(--energy);
  transform: translateY(-1px);
}
.contact-mail-prefix {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.6em;
  color: var(--text-soft);
  transition: transform .25s var(--ease-out);
}
.contact-mail:hover .contact-mail-prefix,
.contact-mail:visited:hover .contact-mail-prefix { transform: translateX(4px); color: var(--energy); }

.contact-meta {
  display: flex;
  justify-content: center;
  gap: var(--sp-7);
  margin-top: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.contact-meta > div { display: flex; flex-direction: column; gap: 2px; align-items: center; }
.contact-meta-key {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  text-transform: lowercase;
}
.contact-meta-val {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

/* FOOTER */
.site-footer {
  padding: var(--sp-6) 0;
  background: var(--surface-deep);
  color: var(--text-on-dark-2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-4);
}
.footer-mark { color: var(--text-on-dark); }
.footer-sep { color: var(--text-on-dark-3); margin: 0 8px; }
.footer-meta { color: var(--text-on-dark-2); }
.footer-nav { display: flex; gap: var(--sp-5); }
.footer-nav a {
  color: var(--text-on-dark-2);
  transition: color .2s var(--ease);
}
.footer-nav a:hover { color: var(--text-on-dark); }

/* ANIMATIONS */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .hero-headline, .hero-sub, .status-badge, .hero-actions, .hero-flow {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-flow { max-width: 480px; margin-top: var(--sp-6); }
  .audience-grid { grid-template-columns: 1fr; }
  .status-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-axes { grid-template-columns: 1fr; }
  .pricing-axis { border-right: 0; }
  .problem-grid { grid-template-columns: 1fr; gap: var(--sp-7); }
  .highlight-grid { grid-template-columns: 1fr; gap: var(--sp-7); }
  .highlight-viz { max-width: 480px; width: 100%; }
}

@media (min-width: 720px) and (max-width: 1024px) {
  .hero-main {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-flow {
    margin-left: auto;
    margin-right: auto;
  }
  .highlight-viz {
    margin-left: auto;
    margin-right: auto;
  }
  .highlight-text {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }
  .status-text {
    margin-left: auto;
    margin-right: auto;
  }
  .status-statement {
    margin-left: auto;
    margin-right: auto;
    max-width: 580px;
  }
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-5) 0;
    padding: var(--sp-5) 0;
  }
  .stat + .stat::before { display: none; }
}

@media (max-width: 720px) {
  :root { --section-y: clamp(48px, 9vw, 80px); }
  .section + .section { padding-top: var(--sp-5); }
  .section-head { margin-bottom: var(--sp-6); }

  .site-header {
    background: var(--bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid var(--border);
  }

  .nav-list {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 82%;
    max-width: 340px;
    height: 100dvh;
    background: var(--surface);
    flex-direction: column;
    align-items: stretch;
    padding: 88px 24px 32px;
    gap: var(--sp-2);
    transform: translateX(100%);
    transition: transform .3s var(--ease);
    box-shadow: -8px 0 32px rgba(15,23,42,.18);
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 105;
  }
  .nav-list.is-open { transform: translateX(0); }
  .nav-list li { width: 100%; }
  .nav-list a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    border-radius: var(--r-sm);
    font-size: 17px;
    font-weight: 500;
    color: var(--text);
    transition: background-color .2s var(--ease), color .2s var(--ease);
  }
  .nav-list a:hover,
  .nav-list a:active { background: var(--surface-2); color: var(--primary); }
  .nav-list .nav-cta {
    background: var(--surface-dark);
    color: var(--text-on-dark);
    margin-top: var(--sp-3);
    justify-content: center;
  }
  .nav-list .nav-cta:hover { background: var(--surface-deep); color: var(--text-on-dark); }

  .nav-toggle { display: flex; z-index: 110; width: 44px; height: 44px; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .btn { min-height: 48px; padding: 12px 22px; }

  .feature { padding: var(--sp-5); }
  .flow-frame { padding: var(--sp-5); }
  .feature-icon { width: 40px; height: 40px; }
  .feature-icon svg { width: 20px; height: 20px; }
  .feature-name { font-size: 20px; }
  .pricing-axis { padding: var(--sp-6) var(--sp-5); }

  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: var(--sp-5) 0; padding: var(--sp-5) 0; }
  .stat + .stat::before { display: none; }
  .feature-grid { grid-template-columns: 1fr; gap: var(--sp-4); }
  .usp-grid { grid-template-columns: 1fr; }
  .problem-item { grid-template-columns: 60px 1fr; gap: var(--sp-3); }
  .contact-meta { gap: var(--sp-5); }
  .rail { font-size: 10px; gap: 8px; }
  .rail-text--muted { display: none; }
  .footer-row { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; width: 100%; }
  .brand-meta { display: none; }
  .hero-sub .typed { min-width: 10ch; }
  .status-badge { font-size: 11px; padding: 7px 14px; gap: 8px; flex-wrap: wrap; }
  .status-sep { display: none; }
  .hero-headline { letter-spacing: -0.04em; }
  .section-title { letter-spacing: -0.03em; }
  .container { padding: 0 18px; }
  .stats-bar { padding: var(--sp-4) 0; }
}

@media (max-width: 380px) {
  :root { --section-y: clamp(40px, 9vw, 64px); }
  .container { padding: 0 16px; }
  .rail { padding: 8px 16px; }
  .header-row { padding-top: 14px; padding-bottom: 14px; }
  .hero-headline { font-size: clamp(34px, 11vw, 44px); }
  .stat-value { font-size: clamp(40px, 14vw, 64px); }
  .contact-headline { font-size: clamp(40px, 12vw, 64px); }
  .feature-name { font-size: 19px; }
  .pricing-axis-name { font-size: 20px; }
}

@media (min-width: 1800px) {
  :root {
    --container: 1720px;
    --section-y: clamp(96px, 7vw, 176px);
  }
  .hero-main { max-width: 880px; }
  .hero-sub { max-width: 720px; }
  .section-head { max-width: 820px; }
  .section-lead { max-width: 640px; }
  .feature-grid { gap: var(--sp-6); }
  .usp-grid { gap: var(--sp-7); }
  .problem-grid { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(72px, 5vw, 128px); }
  .audience-grid { gap: var(--sp-9); }
}

@media (min-width: 2400px) {
  :root {
    --container: 1920px;
  }
  .hero-main { max-width: 960px; }
}
