/* Echelon Apps — Standalone Product Page System
   Palette: crisp sheet (#ffffff / #f5f5f7), obsidian (#0d0e11 / #16181d), ink (#111215), action (#1a4be0)
   Type: Host Grotesk (display & UI) + JetBrains Mono (shortcuts & measurements)
   Zero eyebrows, zero decorative glow/pulse, strict WCAG AA+ contrast. */

:root {
  --bg: #ffffff;
  --surface: #f4f5f7;
  --ink: #111215;
  --muted: #555861;
  --line: rgba(17, 18, 21, 0.10);
  --line-strong: rgba(17, 18, 21, 0.18);

  --obs: #0e0f13;
  --obs-card: #17191f;
  --obs-elev: #20232b;
  --obs-ink: #f7f8fa;
  --obs-muted: #9da3b0;
  --obs-line: rgba(255, 255, 255, 0.11);

  --accent: #1a4be0;
  --accent-hover: #143bb3;
  --accent-ink: #ffffff;

  --font-display: "Host Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-text: "Host Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --r-lg: 14px;
  --r-md: 10px;
  --r-sm: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: min(100% - 48px, 1180px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); color: var(--ink); }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--accent); color: var(--accent-ink); }
a { color: inherit; text-underline-offset: 0.2em; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }

.tabular { font-variant-numeric: tabular-nums; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.wrap { width: var(--wrap); margin-inline: auto; }

/* Focus */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Header */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.brand img { width: 28px; height: 28px; border-radius: 6px; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__links a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  transition: color 140ms var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__cta { display: flex; align-items: center; gap: 12px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease), transform 140ms var(--ease), color 150ms var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn--secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--secondary:hover { background: var(--surface); border-color: var(--ink); transform: translateY(-1px); }
.btn--light {
  background: #ffffff;
  color: var(--obs);
}
.btn--light:hover { background: #e9ecf2; transform: translateY(-1px); }
.btn--sm { height: 38px; padding: 0 15px; font-size: 14px; }
.btn--full { width: 100%; }
.btn--lg { height: 54px; padding: 0 28px; font-size: 16px; }

/* Hero */
.hero {
  padding: 64px 0 88px;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6.2fr);
  gap: 56px;
  align-items: stretch;
}
.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 12px 0;
}
.hero__main { display: grid; gap: 20px; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.036em;
  text-wrap: balance;
}
.hero__lead {
  font-size: 19px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 44ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}

/* Obsidian Interactive Product Stage */
.stage {
  background: var(--obs);
  color: var(--obs-ink);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  min-height: 480px;
  box-shadow: 0 24px 64px rgba(14, 15, 19, 0.14);
}
.stage__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--obs-muted);
}
.stage__dots {
  display: inline-flex;
  gap: 7px;
}
.stage__dots i {
  width: 10px; height: 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  display: block;
}
.stage__hint {
  font-size: 12px;
  color: var(--obs-muted);
}

/* Sections */
.section {
  padding: 96px 0;
  border-top: 1px solid var(--line);
}
.section--surface { background: var(--surface); }
.section__head {
  display: grid;
  gap: 14px;
  max-width: 660px;
  margin-bottom: 48px;
}
.section__head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.032em;
  text-wrap: balance;
}
.section__head p {
  font-size: 18px;
  line-height: 1.5;
  color: var(--muted);
}

/* Outcomes Grid (asymmetric editorial rhythm, non-nested) */
.outcomes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.outcome {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 32px;
  display: grid;
  gap: 14px;
  align-content: start;
}
.outcome__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}
.outcome h3 {
  font-size: 21px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.outcome p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}

/* Pricing (2-column: Standalone vs Operator Pass) */
.pricing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.plan {
  border-radius: var(--r-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  transition: transform 180ms var(--ease);
}
.plan:hover { transform: translateY(-2px); }
.plan--obs {
  background: var(--obs);
  color: var(--obs-ink);
  border-color: var(--obs);
}
.plan__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.plan__icons {
  display: flex;
  align-items: center;
  gap: 8px;
}
.plan__icons img { width: 30px; height: 30px; border-radius: 7px; }
.pill {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  background: var(--accent);
  color: #ffffff;
}
.plan h3 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.plan__desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.5;
}
.plan--obs .plan__desc { color: var(--obs-muted); }
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 4px 0;
}
.plan__amount {
  font-size: 46px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
}
.plan__term {
  font-size: 14px;
  color: var(--muted);
}
.plan--obs .plan__term { color: var(--obs-muted); }
.plan__list {
  display: grid;
  gap: 12px;
  margin-top: 4px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.plan--obs .plan__list { border-top-color: var(--obs-line); }
.plan__list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 15px;
  line-height: 1.45;
}
.plan__check {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--accent);
}
.plan--obs .plan__check { color: #ffffff; }

/* FAQ */
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 4.5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: start;
}
.faq__list { display: grid; }
.faq__item {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 8px;
}
.faq__item:first-child { padding-top: 0; }
.faq__item h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
}
.faq__item p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 60ch;
}

/* Dark Footer */
.footer {
  background: var(--obs);
  color: var(--obs-ink);
  padding: 80px 0 48px;
}
.footer__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--obs-line);
}
.footer__cta h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 18ch;
}
.footer__cta p {
  color: var(--obs-muted);
  margin-top: 10px;
  font-size: 16px;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 32px;
  font-size: 14px;
  color: var(--obs-muted);
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer__nav a {
  text-decoration: none;
  color: var(--obs-muted);
  transition: color 140ms var(--ease);
}
.footer__nav a:hover { color: #ffffff; }

/* Interactive App UI Widgets inside Obsidian Stage (flat 1-level hierarchy) */
.mock-window {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 4px 0;
  display: grid;
  gap: 12px;
}
.mock-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--obs-elev);
  border: 1px solid var(--obs-line);
  border-radius: var(--r-sm);
  padding: 10px 14px;
}
.mock-search input {
  width: 100%;
  background: transparent;
  border: 0;
  outline: none;
  color: #ffffff;
  font-size: 14px;
}
.mock-search input::placeholder { color: var(--obs-muted); }
.mock-kbd {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--obs-muted);
  flex: none;
}
.mock-list { display: grid; gap: 8px; }
.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: left;
  transition: background-color 140ms var(--ease), border-color 140ms var(--ease);
}
.mock-row:hover { background: rgba(255, 255, 255, 0.06); }
.mock-row.is-active {
  background: rgba(26, 75, 224, 0.22);
  border-color: rgba(114, 152, 255, 0.45);
}
.mock-row__main { display: grid; gap: 3px; min-width: 0; }
.mock-row__title {
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-row__sub {
  font-size: 12px;
  color: var(--obs-muted);
}
.mock-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: #dfe3ec;
  flex: none;
}

/* Audio & Display Range Sliders */
.mixer-row {
  display: grid;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--obs-line);
}
.mixer-row:last-of-type { border-bottom: 0; }
.mixer-row__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mixer-row__app { font-size: 14px; font-weight: 500; color: #ffffff; }
.mixer-row__val { font-family: var(--font-mono); font-size: 12px; color: var(--obs-muted); }
.mixer-select {
  background: var(--obs-card);
  color: #e6e9f0;
  border: 1px solid var(--obs-line);
  border-radius: 5px;
  padding: 5px 10px;
  font-size: 12px;
  cursor: pointer;
}
.slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  outline: none;
  cursor: pointer;
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #ffffff;
  border: 2px solid var(--obs);
  cursor: pointer;
}

/* Eos Display Preview */
.eos-screens {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 14px;
  align-items: end;
}
.eos-monitor {
  border-radius: 4px;
  border: 0;
  padding: 16px;
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background-color 140ms var(--ease);
}
.eos-monitor__label { font-size: 12px; font-weight: 500; }
.eos-monitor__pct { font-family: var(--font-mono); font-size: 22px; font-weight: 500; }
.preset-bar {
  display: flex;
  gap: 8px;
}
.preset-btn {
  flex: 1;
  height: 36px;
  border-radius: var(--r-sm);
  border: 1px solid var(--obs-line);
  background: transparent;
  color: var(--obs-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 140ms var(--ease), color 140ms var(--ease), border-color 140ms var(--ease);
}
.preset-btn.is-on, .preset-btn:hover {
  background: #ffffff;
  color: var(--obs);
  border-color: #ffffff;
}

/* Responsive */
@media (max-width: 960px) {
  .hero__grid, .faq__grid { grid-template-columns: 1fr; gap: 36px; }
  .outcomes { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .stage { min-height: auto; }
}
@media (max-width: 640px) {
  .wrap { width: min(100% - 32px, 1180px); }
  .nav__links { display: none; }
  .hero { padding: 40px 0 64px; }
  .section { padding: 64px 0; }
  .plan { padding: 28px; }
  .hero__actions .btn { width: 100%; }
  .eos-screens { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
