/* MixBar website — design tokens mirrored from the app's DesignSystem.swift
   (MixPalette.brand, meter zones, glass surfaces, continuous radii). */

:root {
  color-scheme: dark;

  /* Brand — MixPalette.brand (asset accent), light + dark variants */
  --accent: #40bafa;
  --accent-strong: #6fccff;
  --accent-deep: #0079be;
  --accent-soft: rgba(64, 186, 250, 0.12);
  --accent-line: rgba(64, 186, 250, 0.35);
  --brand-gradient: linear-gradient(135deg, #0079be 0%, #40bafa 100%);

  /* Status — MixPalette warning/danger/success with dark pairs */
  --ok: #5cdb99;
  --warn: #ffb84d;
  --danger: #ff736b;

  /* Meter zones — MixPalette meterLow…meterPeak (dark pairs) */
  --meter-low: #5cdb99;
  --meter-mid: #c7e34d;
  --meter-high: #ffbd38;
  --meter-peak: #ff6152;

  /* Surfaces — white-alpha overlays, per the app's "vibrant fill" layering */
  --card-bg: rgba(255, 255, 255, 0.055);
  --card-bg-hover: rgba(255, 255, 255, 0.09);
  --card-bg-active: rgba(255, 255, 255, 0.13);
  --stroke: rgba(255, 255, 255, 0.1);
  --hairline: rgba(255, 255, 255, 0.105);
  --slot: rgba(0, 0, 0, 0.28);
  --panel: rgba(22, 29, 44, 0.66);

  /* Page */
  --bg: #0a1019;
  --bg-glow-a: rgba(0, 121, 190, 0.16);
  --bg-glow-b: rgba(64, 186, 250, 0.07);
  --text: #f2f7fc;
  --text-secondary: rgba(242, 247, 252, 0.68);
  --text-tertiary: rgba(242, 247, 252, 0.46);

  /* Radii — continuous, concentric like MixUI.Radius */
  --radius-hero: 18px;
  --radius-panel: 16px;
  --radius-card: 12px;
  --radius-control: 8px;
  --radius-chip: 6px;

  /* Space */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 24px;
  --space-xxl: 32px;
  --space-section: 56px;

  --shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 10px 34px rgba(0, 0, 0, 0.35);
  --shadow-panel: 0 2px 6px rgba(0, 0, 0, 0.28), 0 22px 70px rgba(0, 0, 0, 0.5);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;

  --content-width: 1120px;
  --content-width-narrow: 820px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image: radial-gradient(1100px 640px at 82% -10%, var(--bg-glow-a), transparent 60%),
    radial-gradient(820px 560px at -12% 24%, var(--bg-glow-b), transparent 64%),
    linear-gradient(180deg, #0c1420 0%, var(--bg) 34%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--card-bg-active);
  color: var(--text);
  padding: var(--space-md) var(--space-xl);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-control);
  z-index: 30;
}

.skip-link:focus {
  left: var(--space-lg);
  top: var(--space-lg);
}

/* ---------- top bar — echoes the floating panel's glass chrome ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 74%, transparent);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid var(--hairline);
}

.topbar__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: var(--space-md) var(--space-xl);
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.topbar__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text);
  font-weight: 650;
  font-size: 16px;
}

.topbar__brand img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: block;
}

.topbar__nav {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-left: auto;
  flex-wrap: wrap;
}

.topbar__nav a {
  color: var(--text-secondary);
  font-size: 14px;
  padding: 5px 12px;
  border-radius: var(--radius-chip);
  border: 1px solid transparent;
}

.topbar__nav a:hover,
.topbar__nav a:focus-visible {
  text-decoration: none;
  background: var(--accent-soft);
  border-color: var(--accent-line);
  color: var(--accent);
}

.topbar__nav a[aria-current="page"] {
  background: var(--accent-soft);
  border-color: var(--accent-line);
  color: var(--accent);
  font-weight: 600;
}

/* ---------- layout ---------- */

.wrap {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--space-xl) var(--space-section);
}

.wrap--narrow {
  max-width: var(--content-width-narrow);
}

section {
  margin-top: var(--space-section);
}

h1,
h2,
h3 {
  letter-spacing: -0.015em;
  line-height: 1.18;
}

h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 750;
  margin: 0 0 var(--space-md);
}

h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  margin: 0 0 var(--space-md);
}

h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 var(--space-xs);
}

p {
  margin: 0 0 var(--space-lg);
}

p:last-child {
  margin-bottom: 0;
}

.section-head {
  max-width: 62ch;
  margin-bottom: var(--space-xxl);
}

.lead {
  font-size: 18px;
  color: var(--text-secondary);
}

.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.eyebrow--neutral {
  color: var(--text-tertiary);
}

.muted {
  color: var(--text-secondary);
}

.small {
  font-size: 14px;
}

.tiny {
  font-size: 13px;
  color: var(--text-tertiary);
}

/* ---------- hero (landing) ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--space-xxl);
  align-items: center;
  padding-top: var(--space-xxl);
}

.hero__lead {
  font-size: 19px;
  color: var(--text-secondary);
  max-width: 54ch;
}

.hero__badges {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-top: var(--space-xl);
}

.badge {
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: var(--card-bg);
  color: var(--text-secondary);
  white-space: nowrap;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 20px;
  border-radius: var(--radius-control);
  border: 1px solid transparent;
  background: var(--brand-gradient);
  color: #ffffff;
  font-size: 15px;
  font-weight: 650;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 8px 26px rgba(0, 121, 190, 0.38);
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background 0.12s ease-out;
}

.btn:hover,
.btn:focus-visible {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 12px 32px rgba(0, 121, 190, 0.48);
}

.btn:active {
  transform: translateY(0);
}

.btn--ghost {
  background: var(--card-bg);
  border-color: var(--stroke);
  color: var(--text);
  box-shadow: none;
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--card-bg-hover);
  border-color: var(--accent-line);
  box-shadow: none;
}

.btn-row {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  align-items: center;
  margin-top: var(--space-xl);
}

.btn-row .btn {
  margin-top: 0;
}

/* ---------- cards & grids ---------- */

.card {
  background: var(--card-bg);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-card);
  padding: var(--space-xl);
  box-shadow: var(--shadow);
}

.card + .card {
  margin-top: var(--space-lg);
}

.grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.notice {
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-card);
  padding: var(--space-xl);
}

.notice h3 {
  color: var(--accent);
}

/* feature card */

.feature {
  background: var(--card-bg);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-card);
  padding: var(--space-lg);
  transition: transform 0.14s ease-out, background 0.14s ease-out, border-color 0.14s ease-out;
}

.feature:hover {
  transform: translateY(-2px);
  background: var(--card-bg-hover);
  border-color: var(--accent-line);
}

.tile {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.tile svg {
  width: 20px;
  height: 20px;
  display: block;
}

.feature h3 {
  margin-bottom: 4px;
}

.feature p {
  font-size: 14.5px;
  color: var(--text-secondary);
  margin: 0;
}

/* ---------- spec table ---------- */

.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.spec th,
.spec td {
  text-align: left;
  padding: 12px 0;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
}

.spec tr:last-child th,
.spec tr:last-child td {
  border-bottom: 0;
}

.spec th {
  width: 38%;
  font-weight: 550;
  color: var(--text-secondary);
}

/* ---------- steps ---------- */

.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 42px;
  margin-bottom: var(--space-xl);
}

.steps li:last-child {
  margin-bottom: 0;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  font-size: 13px;
  font-weight: 650;
  display: grid;
  place-items: center;
}

/* ---------- disclosure rows (FAQ / troubleshooting) ---------- */

.rows {
  background: var(--card-bg);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.rows details {
  border-bottom: 1px solid var(--hairline);
}

.rows details:last-child {
  border-bottom: 0;
}

.rows summary {
  cursor: pointer;
  list-style: none;
  padding: 15px var(--space-xl);
  font-size: 15.5px;
  font-weight: 550;
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
}

.rows summary::-webkit-details-marker {
  display: none;
}

.rows summary::after {
  content: "";
  margin-left: auto;
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-right: 2px solid var(--text-tertiary);
  border-bottom: 2px solid var(--text-tertiary);
  transform: rotate(-45deg);
  transition: transform 0.15s ease-out;
}

.rows details[open] summary::after {
  transform: rotate(45deg);
}

.rows summary:hover {
  background: var(--card-bg-hover);
}

.rows details[open] summary {
  color: var(--accent);
}

.answer {
  padding: 0 var(--space-xl) var(--space-xl);
  color: var(--text-secondary);
  font-size: 15px;
}

.answer ul,
.answer ol {
  margin: 0 0 var(--space-md);
  padding-left: var(--space-xl);
}

.answer li {
  margin-bottom: 6px;
}

.answer li:last-child {
  margin-bottom: 0;
}

kbd {
  font-family: var(--font-mono);
  font-size: 0.88em;
  padding: 1px 6px;
  border-radius: 5px;
  border: 1px solid var(--stroke);
  background: var(--card-bg-hover);
  color: var(--text);
  white-space: nowrap;
}

.path {
  font-weight: 550;
  color: var(--text);
}

/* ---------- contact ---------- */

.contact {
  margin-top: var(--space-xxl);
  padding: var(--space-xxl);
  border-radius: var(--radius-card);
  background: var(--card-bg);
  border: 1px solid var(--accent-line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.contact__label {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: var(--space-sm);
}

.contact__mail {
  display: inline-block;
  font-size: 22px;
  font-weight: 650;
  color: var(--text);
  word-break: break-all;
}

.contact__mail:hover,
.contact__mail:focus-visible {
  color: var(--accent);
}

.contact__meta {
  margin-top: var(--space-lg);
  color: var(--text-secondary);
  font-size: 14px;
}

.contact__meta p {
  margin: 0 0 var(--space-xs);
}

/* ---------- status dots, mirroring the panel ------------- */

.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: var(--space-sm);
  vertical-align: 1px;
}

.dot--ok {
  background: var(--ok);
}

.dot--warn {
  background: var(--warn);
}

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--hairline);
  margin-top: var(--space-section);
  padding: var(--space-xxl) var(--space-xl) var(--space-section);
}

.footer__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  font-size: 14px;
  color: var(--text-tertiary);
}

.footer__links {
  display: flex;
  gap: var(--space-xl);
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

.footer__brandline {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

.footer__brandline img {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  display: block;
}

/* ============================================================
   Landing page — the panel is the brand
   ============================================================ */

/* ---- the stage: a desktop-like glow the panel floats over ---- */

.stage {
  position: relative;
  display: flex;
  justify-content: center;
}

/* A definite width, so the panel's percentage size resolves against something
   real instead of the panel's own intrinsic content. */
.stage > div {
  width: min(460px, 100%);
}

.stage::before {
  content: "";
  position: absolute;
  inset: -12% -14%;
  background: radial-gradient(60% 55% at 55% 42%, rgba(64, 186, 250, 0.16), transparent 70%);
  pointer-events: none;
}

/* ---- floating menu-bar chip above the panel ---- */

.menubar-chip {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(22, 29, 44, 0.5);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  color: var(--text-tertiary);
  margin-bottom: -14px;
  box-shadow: var(--shadow);
}

.menubar-chip svg,
.menubar-chip .mbar-item {
  width: 14px;
  height: 14px;
  display: block;
}

.menubar-chip .mixbar-mark {
  color: var(--accent);
}

.menubar-chip .battery {
  width: 20px;
  height: 11px;
  border: 1px solid currentColor;
  border-radius: 3px;
  opacity: 0.8;
  position: relative;
}

.menubar-chip .battery::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 2.5px;
  width: 2px;
  height: 4px;
  border-radius: 0 1px 1px 0;
  background: currentColor;
}

.menubar-chip .battery::before {
  content: "";
  position: absolute;
  left: 1.5px;
  top: 1.5px;
  bottom: 1.5px;
  width: 62%;
  border-radius: 1.5px;
  background: currentColor;
  opacity: 0.9;
}

/* ---- the mixer panel replica ---- */

.panel {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: var(--radius-panel);
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-panel), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  padding: 14px 12px 12px;
}

.panel__header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 2px 10px;
}

.panel__title {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.panel__header .spacer {
  flex: 1;
}

.chrome-btn {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: var(--text-tertiary);
  font-size: 11px;
  border: 1px solid transparent;
}

.chrome-btn--close {
  color: var(--text-tertiary);
}

.chrome-btn:hover {
  background: var(--card-bg-hover);
  border-color: var(--stroke);
}

/* channel strip */

.strips {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.strip {
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr) auto auto;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: var(--radius-card);
  background: var(--card-bg);
  border: 1px solid transparent;
  transition: background 0.14s ease-out;
}

.strip:hover {
  background: var(--card-bg-hover);
}

.strip__id {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.app-icon {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 3px rgba(0, 0, 0, 0.3);
}

.app-icon svg {
  width: 13px;
  height: 13px;
  display: block;
}

.strip__name {
  font-size: 12.5px;
  font-weight: 550;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.strip__sub {
  font-size: 10px;
  color: var(--text-tertiary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* the slider — a "hardware slot" track with a vibrant fill */

.fader {
  position: relative;
  height: 22px;
  display: flex;
  align-items: center;
}

.fader__track {
  position: relative;
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: var(--slot);
  overflow: visible;
}

.fader__fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
  opacity: 0.85;
}

.fader__knob {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #f2f7fc;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* the value badge — monospaced digits in a fixed slot (MixValueBadge) */

.strip__value {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 650;
  color: rgba(242, 247, 252, 0.75);
  min-width: 34px;
  text-align: right;
}

.strip__value--hot {
  color: var(--meter-high);
}

/* icon chips engaged state (MixIconToggle) */

.chip {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-tertiary);
  background: transparent;
  border: 1px solid transparent;
  font-family: var(--font);
}

.chip svg {
  width: 12px;
  height: 12px;
  display: block;
}

.chip--on {
  color: var(--accent);
  background: rgba(64, 186, 250, 0.16);
}

.chip--danger {
  color: var(--danger);
  background: rgba(255, 115, 107, 0.16);
}

/* vertical level meter (Metering.swift zones, warm-shifted) */

.meter {
  flex: none;
  width: 7px;
  height: 34px;
  border-radius: 4px;
  background: var(--slot);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.meter i {
  display: block;
  width: 100%;
  border-radius: 4px;
  background: linear-gradient(180deg,
      var(--meter-peak) 0%,
      var(--meter-high) 28%,
      var(--meter-mid) 55%,
      var(--meter-low) 78%,
      var(--meter-low) 100%);
  transform-origin: bottom;
  animation: meter-bounce var(--dur, 1.6s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

@keyframes meter-bounce {
  0%,
  100% {
    transform: scaleY(var(--lo, 0.14));
  }
  50% {
    transform: scaleY(var(--hi, 0.74));
  }
}

/* ducked strips (auto-ducking story) */

.strip--ducked .fader__fill {
  opacity: 0.4;
}

.strip--ducked .strip__name {
  opacity: 0.66;
}

.strip__duck-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--warn);
  background: rgba(255, 184, 77, 0.13);
  border: 1px solid rgba(255, 184, 77, 0.3);
  border-radius: 999px;
  padding: 1px 6px;
  margin-left: 6px;
}

/* footer of the panel: output picker + label chips (MixLabelChip) */

.panel__footer {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 6px 2px;
}

.label-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-tertiary);
  padding: 3.5px 8px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.label-chip svg {
  width: 10px;
  height: 10px;
  display: block;
}

.label-chip--on {
  color: var(--accent);
  background: rgba(64, 186, 250, 0.14);
  border-color: rgba(64, 186, 250, 0.22);
}

.output-select {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  color: var(--text-secondary);
  background: var(--card-bg);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 3.5px 9px;
}

.output-select svg {
  width: 10px;
  height: 10px;
  opacity: 0.7;
}

/* -------- large statement rows (why section) -------- */

.pillars {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.pillar {
  padding: var(--space-xl);
  border-radius: var(--radius-card);
  background: var(--card-bg);
  border: 1px solid var(--stroke);
}

.pillar h3 {
  font-size: 18px;
}

.pillar p {
  font-size: 14.5px;
  color: var(--text-secondary);
  margin: 0;
}

.pillar__mark {
  display: block;
  width: 26px;
  height: 26px;
  margin-bottom: var(--space-md);
  border-radius: 8px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  padding: 5px;
  color: var(--accent);
}

/* -------- unique / differentiators band -------- */

.band {
  border-radius: var(--radius-hero);
  padding: var(--space-xxl);
  background: linear-gradient(150deg, rgba(0, 83, 138, 0.28) 0%, rgba(10, 18, 30, 0.5) 60%);
  border: 1px solid rgba(64, 186, 250, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), var(--shadow);
}

.band .lead {
  max-width: 60ch;
}

/* -------- pricing card -------- */

.pricing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-md);
  align-items: stretch;
}

.price-card {
  position: relative;
  padding: var(--space-xxl);
  border-radius: var(--radius-card);
  background: var(--card-bg);
  border: 1px solid var(--stroke);
  overflow: hidden;
}

.price-card--primary {
  background: linear-gradient(160deg, rgba(0, 121, 190, 0.2) 0%, rgba(64, 186, 250, 0.07) 55%, rgba(255, 255, 255, 0.05) 100%);
  border-color: rgba(64, 186, 250, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), var(--shadow);
}

.price-card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: var(--space-md) 0 var(--space-sm);
}

.price-card__amount {
  font-size: 46px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.price-card__unit {
  color: var(--text-tertiary);
  font-size: 15px;
}

.price-card ul {
  list-style: none;
  margin: var(--space-lg) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--text-secondary);
}

.price-card li svg {
  flex: none;
  width: 15px;
  height: 15px;
  margin-top: 2px;
  color: var(--accent);
}

.check {
  width: 15px;
  height: 15px;
  display: inline-block;
  vertical-align: middle;
  color: var(--accent);
}

/* -------- final CTA -------- */

.cta {
  text-align: center;
  padding: var(--space-xxl) var(--space-xl);
  border-radius: var(--radius-hero);
  background: radial-gradient(120% 130% at 50% 0%, rgba(0, 121, 190, 0.3), transparent 58%), var(--card-bg);
  border: 1px solid rgba(64, 186, 250, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.cta .lead {
  margin-left: auto;
  margin-right: auto;
  max-width: 56ch;
}

.cta .btn-row {
  justify-content: center;
}

/* ---------- responsive ---------- */

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .stage {
    order: 0;
    margin-top: var(--space-md);
  }

  .pricing {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  :root {
    --space-section: 40px;
  }

  .topbar__nav .hide-mobile {
    display: none;
  }

  .strip {
    grid-template-columns: auto minmax(90px, 1fr) auto auto;
  }

  .strip .meter {
    display: none;
  }

  .card,
  .price-card,
  .band,
  .notice,
  .cta {
    padding: var(--space-lg);
  }

  .contact {
    padding: var(--space-lg);
  }

  .contact__mail {
    font-size: 18px;
  }

  .spec th,
  .spec td {
    display: block;
    width: 100%;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .spec td {
    padding-top: 4px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--hairline);
  }

  .rows summary,
  .answer {
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .meter i {
    animation: none;
    transform: scaleY(0.66);
  }

  .feature,
  .btn,
  .strip {
    transition: none;
  }
}
