:root {
  /* Colors — tuned for WCAG AA (4.5:1 for body text) */
  --color-void-black: #020204;
  --color-pure-black: #000000;
  --color-carbon: #444444;
  --color-slate: #595959;
  --color-silver: #c6c6c6;
  --color-soft-graphite: #575757;
  --color-paper-white: #ffffff;
  --color-bone: #f8f8f8;
  --color-linen: #efefef;
  --color-lime-wash: #f2fcb3;
  --color-saffron: #ffdc5c;
  --color-spectrum-marquee: #FA3D1D;
  --gradient-spectrum-marquee: linear-gradient(270deg, #FD02F5, #FA3D1D 15.94%, #FFB005 42.76%, #E1E1FE 72.48%, #0358F7 100.02%, #340B05 150.75%);

  /* Typography — Font Families */
  --font-exposure-variable: 'Playfair Display', 'Exposure Variable', Georgia, serif;
  --font-exposure-var: 'Inter Tight', 'Exposure VAR', Inter, ui-sans-serif, system-ui, sans-serif;
  --font-abc-oracle: 'Inter', 'ABC Oracle', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-abc-oracle-triple: 'Inter', 'ABC Oracle Triple', ui-sans-serif, system-ui, sans-serif;
  --font-abc-favorit-mono: 'JetBrains Mono', 'ABC Favorit Mono', ui-monospace, Menlo, Monaco, Consolas, monospace;

  /* Typography — Scale */
  --text-caption: 10px;
  --leading-caption: 1.5;
  --text-eyebrow: 13px;
  --leading-eyebrow: 1.23;
  --tracking-eyebrow: 1.3px;
  --text-body-sm: 16px;
  --leading-body-sm: 2.19;
  --text-body: 18px;
  --leading-body: 1.5;
  --tracking-body: -0.36px;
  --text-body-lg: 20px;
  --leading-body-lg: 1.5;
  --text-subheading: 22px;
  --leading-subheading: 1.36;
  --text-heading-sm: 24px;
  --leading-heading-sm: 1.25;
  --tracking-heading-sm: -0.72px;
  --text-heading: 48px;
  --leading-heading: 1.17;
  --tracking-heading: -2.4px;
  --text-heading-lg: 54px;
  --leading-heading-lg: 1.11;
  --tracking-heading-lg: -2.16px;
  --text-display: 112px;
  --leading-display: 0.95;
  --tracking-display: -3.36px;

  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-w650: 600;

  /* Motion */
  --ease-apple: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-quick: cubic-bezier(0.4, 0, 0.2, 1);

  /* Spacing */
  --spacing-5: 5px;
  --spacing-8: 8px;
  --spacing-10: 10px;
  --spacing-12: 12px;
  --spacing-13: 13px;
  --spacing-14: 14px;
  --spacing-16: 16px;
  --spacing-20: 20px;
  --spacing-24: 24px;
  --spacing-28: 28px;
  --spacing-30: 30px;
  --spacing-40: 40px;
  --spacing-70: 70px;
  --spacing-80: 80px;
  --spacing-90: 90px;

  /* Layout */
  --page-max-width: 1200px;
  --section-gap: 120px;
  --card-padding: 20px;
  --element-gap: 16px;

  /* Border Radius */
  --radius-xl: 12px;
  --radius-2xl: 16px;
  --radius-2xl-2: 20px;
  --radius-3xl: 24px;
  --radius-full: 9999px;
  --radius-nav: 16px;
  --radius-cards: 12px;
  --radius-pills: 20px;
  --radius-panels: 24px;
  --radius-buttons: 9999px;

  /* Shadows */
  --shadow-sm: rgba(0, 0, 0, 0.06) 0px 2px 8px 0px, rgba(0, 0, 0, 0.04) 0px 0px 2px 0px;
  --shadow-nav-scrolled: rgba(0, 0, 0, 0.1) 0px 8px 28px -6px, rgba(0, 0, 0, 0.05) 0px 0px 2px 0px;
  --shadow-xl: rgba(0, 0, 0, 0.6) 0px 8px 30px -8px;

  /* Surfaces */
  --surface-void: #020204;
  --surface-paper: #f8f8f8;
  --surface-card: #ffffff;
  --surface-linen: #efefef;
  --surface-wash: #f2fcb3;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--surface-paper);
  color: var(--color-pure-black);
  font-family: var(--font-abc-oracle);
  font-weight: var(--font-weight-regular);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  letter-spacing: var(--tracking-body);
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: var(--color-pure-black);
  color: #fff;
}
a {
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s
    ease;
}
button {
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s
    ease, transform 0.25s var(--ease-apple);
}
:focus-visible {
  outline: 3px solid var(--color-pure-black);
  outline-offset: 3px;
  border-radius: 4px;
}
.hero :focus-visible,
footer :focus-visible,
.help-backdrop :focus-visible {
  outline-color: #fff;
  box-shadow: 0 0 0 5px var(--color-pure-black);
}
/* Skip link — visible on keyboard focus only */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  background: var(--color-pure-black);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 9999px;
  padding: 12px 20px;
  transform: translateY(-200%);
  transition: transform 0.25s var(--ease-apple);
}
.skip-link:focus-visible {
  transform: none;
  outline-color: #fff;
}
section[id] {
  scroll-margin-top: 96px;
}

/* ---------- eyebrows / type ---------- */
.eyebrow {
  font-family: var(--font-abc-favorit-mono);
  font-size: var(--text-eyebrow);
  line-height: var(--leading-eyebrow);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-carbon);
  margin: 0;
}
.eyebrow-sm {
  font-size: 12px;
}
.eyebrow-light {
  color: rgba(255, 255, 255, 0.82);
}
.eyebrow-center {
  text-align: center;
}
.display {
  font-family: var(--font-exposure-variable);
  font-weight: 400;
  font-size: clamp(60px, 10vw, var(--text-display));
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
  color: #fff;
  margin: 24px 0 0;
}
.display .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.display .line > span {
  display: block;
}
.display em {
  font-style: italic;
}
.section-title {
  font-family: var(--font-exposure-var);
  font-weight: var(--font-weight-w650);
  font-size: clamp(32px, 4.5vw, var(--text-heading));
  line-height: var(--leading-heading);
  letter-spacing: var(--tracking-heading);
  color: var(--color-pure-black);
  margin: 14px 0 0;
  max-width: 760px;
  text-wrap: balance;
}
.title-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.lede {
  font-size: var(--text-body-lg);
  line-height: var(--leading-body-lg);
  letter-spacing: 0;
  color: var(--color-carbon);
  max-width: 620px;
  margin: 16px 0 0;
}
.mono {
  font-family: var(--font-abc-favorit-mono);
  font-size: 0.85em;
}
.strip {
  font-family: var(--font-abc-favorit-mono);
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-slate);
  margin: 28px 0 0;
}

/* ---------- kbd ---------- */
kbd {
  font-family: var(--font-abc-favorit-mono);
  font-size: 12px;
  background: var(--color-paper-white);
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-bottom-width: 2px;
  border-radius: 6px;
  padding: 1px 6px;
  color: var(--color-pure-black);
  white-space: nowrap;
}
.kbd-dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

/* ---------- pills (category tags) ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  background: var(--color-linen);
  color: var(--color-pure-black);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 400;
  padding: 8px 16px;
  line-height: 1.2;
  white-space: nowrap;
}
.pill-sm {
  font-size: 12px;
  padding: 5px 12px;
}

/* ---------- glass nav ---------- */
.nav-wrap {
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;
  z-index: 50;
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 0 16px;
}
.nav {
  background: rgba(248, 248, 248, 0.8);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-nav);
  box-shadow: var(--shadow-sm);
  min-height: 56px;
  padding: 8px 8px 8px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: background-color 0.4s var(--ease-apple), box-shadow 0.4s var(--ease-apple),
    border-color 0.4s var(--ease-apple);
}
.nav-wrap.scrolled .nav {
  background: rgba(248, 248, 248, 0.94);
  border-color: rgba(0, 0, 0, 0.14);
  box-shadow: var(--shadow-nav-scrolled);
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--color-pure-black);
  font-family: var(--font-exposure-var);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--color-pure-black);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex: none;
}
.nav-pills {
  display: flex;
  gap: 2px;
  margin: 0 auto;
}
.nav-pills a {
  color: #1a1a1a;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-pills);
  padding: 10px 16px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav-pills a:hover {
  background: var(--color-linen);
  color: var(--color-pure-black);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-github {
  color: #1a1a1a;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-pills);
  padding: 10px 14px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav-github:hover {
  background: var(--color-linen);
  color: var(--color-pure-black);
}
.btn-nav {
  background: var(--color-pure-black);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-2xl-2);
  padding: 12px 18px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.btn-nav:hover {
  background: var(--color-soft-graphite);
}
.btn-nav:active {
  transform: scale(0.96);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 10px;
}
.nav-toggle:hover {
  background: var(--color-linen);
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-pure-black);
  margin: 4px 0;
  border-radius: 2px;
}
.nav-mobile {
  display: none;
}
.nav-mobile:not([hidden]) {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(248, 248, 248, 0.97);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-nav);
  box-shadow: var(--shadow-sm);
  padding: 10px;
  margin-top: 8px;
}
.nav-mobile a {
  color: var(--color-pure-black);
  text-decoration: none;
  padding: 13px 14px;
  min-height: 44px;
  display: flex;
  align-items: center;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
}
.nav-mobile a:hover {
  background: var(--color-linen);
}
.nav-mobile .mobile-cta {
  background: var(--color-pure-black);
  color: #fff;
  text-align: center;
  border-radius: var(--radius-2xl-2);
}

/* ---------- dark hero + entrance ---------- */
.hero {
  background: var(--surface-void);
  color: #fff;
  padding: 168px 24px 0;
  text-align: center;
  overflow: hidden;
}
.hero-inner {
  max-width: 920px;
  margin: 0 auto;
  will-change: transform, opacity;
}
.hero .display .line > span {
  opacity: 0;
  transform: translateY(112%);
  animation: line-rise 1.2s var(--ease-apple) forwards;
  animation-delay: var(--hd, 0ms);
}
.hero-fade {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-fade 1s var(--ease-apple) forwards;
  animation-delay: var(--hd, 0ms);
}
@keyframes line-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes hero-fade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-sub {
  font-weight: var(--font-weight-light);
  font-size: var(--text-body-lg);
  line-height: 1.6;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.88);
  max-width: 600px;
  margin: 30px auto 0;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.btn-hero {
  background: var(--color-paper-white);
  color: var(--color-pure-black);
  text-decoration: none;
  font-family: var(--font-abc-oracle-triple);
  font-size: 16px;
  font-weight: 500;
  border-radius: var(--radius-2xl-2);
  padding: 15px 30px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  white-space: nowrap;
}
.btn-hero:hover {
  background: var(--color-linen);
}
.btn-hero:active {
  transform: scale(0.97);
}
.btn-watch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-abc-oracle-triple);
  font-size: 16px;
  font-weight: 500;
  border-radius: var(--radius-full);
  padding: 10px 20px 10px 12px;
  min-height: 48px;
  white-space: nowrap;
}
.btn-watch:hover {
  border-color: rgba(255, 255, 255, 0.7);
}
.btn-watch:active {
  transform: scale(0.96);
}
.btn-watch .play {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero-micro {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0;
  margin: 22px 0 72px;
}
.spectrum {
  height: 3px;
  max-width: var(--page-max-width);
  margin: 0 auto;
  background: var(--gradient-spectrum-marquee);
  background-size: 200% 100%;
  animation: marquee 10s ease infinite alternate;
}
@keyframes marquee {
  from {
    background-position: 0% 0;
  }
  to {
    background-position: 100% 0;
  }
}

/* ---------- layout ---------- */
main {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 0 24px 40px;
}
.section {
  padding-top: var(--section-gap);
}
.section-narrow {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Apple scroll reveals ---------- */
.rv {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-apple), transform 0.9s var(--ease-apple);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.rv-scale {
  opacity: 0;
  transform: translateY(36px) scale(0.97);
  transform-origin: center top;
  transition: opacity 1s var(--ease-apple), transform 1s var(--ease-apple);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.rv.is-in,
.rv-scale.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- asymmetric split + numbered steps ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px;
  margin-top: 44px;
  align-items: start;
}
.steps {
  display: grid;
  gap: 16px;
  align-content: start;
}
.step {
  display: flex;
  gap: 16px;
  text-align: left;
  background: transparent;
  border: none;
  border-left: 2px solid rgba(0, 0, 0, 0.2);
  border-radius: 0 10px 10px 0;
  padding: 12px 12px 12px 20px;
  min-height: 44px;
  cursor: pointer;
  font-family: var(--font-abc-oracle);
  font-size: 16px;
  color: var(--color-carbon);
}
button.step:hover {
  background: rgba(0, 0, 0, 0.04);
}
button.step:hover .step-name {
  color: var(--color-pure-black);
}
.step.is-active {
  border-left-color: var(--color-pure-black);
}
.step.is-active .step-name {
  color: var(--color-pure-black);
}
.step-no {
  font-family: var(--font-abc-favorit-mono);
  font-size: var(--text-eyebrow);
  letter-spacing: var(--tracking-eyebrow);
  color: var(--color-carbon);
  padding-top: 4px;
  flex: none;
}
.step-body {
  display: grid;
  gap: 4px;
}
.step-name {
  font-size: var(--text-body-lg);
  font-weight: 500;
  letter-spacing: 0;
  color: var(--color-pure-black);
}
.steps-static .step {
  cursor: default;
}
.step-desc {
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  margin: 0;
  color: var(--color-carbon);
}

/* ---------- product screenshot window ---------- */
.window {
  background: var(--surface-card);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-panels);
  overflow: hidden;
  filter: drop-shadow(rgba(0, 0, 0, 0.1) 0px 2px 4px) drop-shadow(rgba(0, 0, 0, 0.12) 0px 18px 24px)
    drop-shadow(rgba(0, 0, 0, 0.18) 0px 40px 64px);
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.09);
  background: var(--color-paper-white);
}
.dots {
  display: inline-flex;
  gap: 6px;
}
.dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e2e2e2;
}
.dots i:first-child {
  background: #ff5f57;
}
.dots i:nth-child(2) {
  background: #febc2e;
}
.dots i:nth-child(3) {
  background: #28c840;
}
.window-tab {
  font-family: var(--font-abc-favorit-mono);
  font-size: 12px;
  font-weight: 400;
  color: var(--color-slate);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
.window-bar .pill {
  margin-left: auto;
  flex: none;
}
.window-body {
  padding: 20px;
}
.window-note {
  color: var(--color-carbon);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0;
  margin: 14px 0 0;
}
.window-wide {
  margin-top: 44px;
}

/* ---------- demos ---------- */
.demo-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.demo-sub {
  color: var(--color-carbon);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  margin: 0;
  max-width: 480px;
}
.demo-sub strong {
  color: var(--color-pure-black);
  font-weight: 600;
}
.demo-head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mode {
  display: inline-flex;
  align-items: center;
  background: var(--color-linen);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}
.mode.is-live {
  background: var(--color-lime-wash);
}
.btn-ink {
  background: var(--color-pure-black);
  color: #fff;
  border: 1px solid var(--color-pure-black);
  border-radius: var(--radius-2xl-2);
  font-family: var(--font-abc-oracle);
  font-size: 14px;
  font-weight: 500;
  padding: 11px 18px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  white-space: nowrap;
}
.btn-ink:hover {
  background: var(--color-soft-graphite);
  border-color: var(--color-soft-graphite);
}
.btn-ink:active {
  transform: scale(0.95);
}
.mock-page {
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-xl);
  padding: 16px;
  background: var(--color-paper-white);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.mock-page:focus {
  border-color: var(--color-pure-black);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15);
}
.mock-page:focus-visible {
  border-color: var(--color-pure-black);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.25);
}
.mock-links {
  display: grid;
  gap: 10px;
}
.mock-links a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(0, 0, 0, 0.25);
  text-decoration-thickness: 1px;
  color: var(--color-pure-black);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 13px 14px;
  min-height: 48px;
  background: #fff;
}
.mock-links a:hover {
  border-color: var(--color-pure-black);
  text-decoration-color: var(--color-pure-black);
}
.mock-links a .ext {
  color: var(--color-slate);
  font-size: 13px;
  font-weight: 400;
}
.hint-badge {
  position: absolute;
  left: -10px;
  top: -10px;
  min-width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-pure-black);
  color: #fff;
  font-family: var(--font-abc-favorit-mono);
  font-size: 12px;
  border-radius: 8px;
  padding: 0 6px;
  animation: hint-pop 0.35s var(--ease-apple);
}
@keyframes hint-pop {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.mock-links.hints-on a {
  border-color: var(--color-pure-black);
}
.mock-status {
  color: var(--color-carbon);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0;
  margin: 12px 0 0;
}
.demo-foot {
  display: flex;
  gap: 12px 20px;
  flex-wrap: wrap;
  margin-top: 16px;
  color: var(--color-slate);
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0;
}
.keylog strong {
  color: var(--color-pure-black);
  font-family: var(--font-abc-favorit-mono);
  font-weight: 400;
}

#vimBuffer {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-xl);
  padding: 16px;
  font-family: var(--font-abc-favorit-mono);
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-pure-black);
  background: #fff;
  resize: vertical;
  outline: none;
  caret-color: var(--color-pure-black);
  transition: border-color 0.2s ease, background-color 0.3s var(--ease-apple), box-shadow 0.2s ease;
}
#vimBuffer:focus {
  border-color: var(--color-pure-black);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15);
}
#vimBuffer.is-normal {
  background: var(--color-lime-wash);
}

.vomnibar {
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #fff;
}
.vomnibar:focus-within {
  border-color: var(--color-pure-black);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15);
}
.vom-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.09);
}
.vom-input span {
  color: var(--color-slate);
}
.vom-input input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-abc-oracle);
  font-size: 16px;
  color: var(--color-pure-black);
  background: transparent;
  min-width: 0;
}
.vom-input input::placeholder {
  color: var(--color-slate);
  opacity: 1;
}
.vom-list {
  list-style: none;
  margin: 0;
  padding: 8px;
  display: grid;
  gap: 4px;
  max-height: 260px;
  overflow: auto;
}
.vom-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  min-height: 44px;
  border-radius: 10px;
  font-size: 14px;
}
.vom-list li:hover,
.vom-list li.is-sel {
  background: var(--color-linen);
}
.vom-kind {
  font-family: var(--font-abc-favorit-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-pure-black);
  border-radius: var(--radius-full);
  padding: 3px 8px;
  flex: none;
  background: var(--color-linen);
}
.vom-kind.tab {
  background: var(--color-lime-wash);
}
.vom-kind.bookmark {
  background: var(--color-saffron);
}
.vom-title {
  color: var(--color-pure-black);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vom-url {
  color: var(--color-slate);
  font-size: 12px;
  line-height: 1.5;
  font-family: var(--font-abc-favorit-mono);
  margin-left: auto;
  white-space: nowrap;
}
.vom-empty {
  color: var(--color-carbon);
  padding: 14px;
  font-size: 14px;
}

/* ---------- handoff matrix ---------- */
.matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.matrix th {
  font-family: var(--font-abc-favorit-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-slate);
  font-weight: 400;
  text-align: left;
  padding: 0 12px 10px 0;
}
.matrix td {
  padding: 14px 12px 14px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.14);
  vertical-align: top;
  line-height: 1.6;
}
.matrix td:first-child {
  font-weight: 600;
  white-space: nowrap;
  color: var(--color-pure-black);
}
.matrix td:nth-child(2) {
  color: var(--color-carbon);
  white-space: nowrap;
}
.matrix td.mono {
  color: var(--color-carbon);
}

/* ---------- feature cards (2-col, massive) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 44px;
}
.feature {
  background: var(--surface-card);
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: var(--radius-cards);
  padding: 28px;
}
.feature p {
  color: var(--color-carbon);
  line-height: 1.7;
  margin: 0;
}
.feature h3 {
  font-family: var(--font-exposure-var);
  font-weight: var(--font-weight-w650);
  font-size: var(--text-heading-sm);
  line-height: var(--leading-heading-sm);
  letter-spacing: var(--tracking-heading-sm);
  margin: 18px 0 10px;
}

/* ---------- bindings ---------- */
.bindings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.bind-col h4 {
  font-family: var(--font-exposure-var);
  font-size: var(--text-heading-sm);
  letter-spacing: var(--tracking-heading-sm);
  margin: 8px 0 12px;
}
.keys {
  margin: 0;
  display: grid;
  gap: 10px;
}
.keys div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.14);
  padding-top: 12px;
  min-height: 44px;
}
.keys div:first-child {
  border-top: none;
  padding-top: 0;
}
.keys dt {
  font-family: var(--font-abc-favorit-mono);
  font-size: 13px;
  font-weight: 400;
  color: var(--color-pure-black);
}
.keys dd {
  margin: 0;
  color: var(--color-carbon);
  font-size: 14px;
  line-height: 1.6;
  text-align: right;
}
.text-link {
  color: #1a1a1a;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(0, 0, 0, 0.4);
  border-radius: 4px;
  padding: 12px 8px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.text-link:hover {
  color: var(--color-pure-black);
  text-decoration-color: var(--color-pure-black);
}

/* ---------- install (minimal closer) ---------- */
.install-steps {
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.install-steps li {
  display: flex;
  gap: 20px;
  align-items: baseline;
  padding: 20px 4px;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}
.install-steps li:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}
.install-steps p {
  margin: 0;
  font-size: var(--text-body-lg);
  color: var(--color-pure-black);
}
.install-steps strong {
  font-weight: 500;
}
.closer {
  text-align: center;
  margin-top: 64px;
}
.install-big {
  font-family: var(--font-exposure-variable);
  font-size: var(--text-heading-lg);
  letter-spacing: var(--tracking-heading-lg);
  margin: 0;
}
.install-sub {
  color: var(--color-carbon);
  margin: 10px 0 26px;
  font-size: 18px;
}
.install-micro {
  color: var(--color-slate);
  font-size: 14px;
  line-height: 1.6;
  margin: 18px 0 0;
}
.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-pure-black);
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border-radius: var(--radius-2xl-2);
  padding: 15px 32px;
  min-height: 52px;
  white-space: nowrap;
}
.btn-dark:hover {
  background: var(--color-soft-graphite);
}
.btn-dark:active {
  transform: scale(0.97);
}
.hero-actions-light {
  margin-top: 0;
}

/* ---------- pull quote ---------- */
.pullquote {
  margin: 0;
  text-align: center;
}
.pullquote blockquote {
  font-family: var(--font-exposure-variable);
  font-size: clamp(26px, 3.4vw, 34px);
  line-height: 1.3;
  margin: 0;
}
.pullquote figcaption {
  font-family: var(--font-abc-favorit-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-slate);
  margin-top: 18px;
}

/* ---------- faq (smooth accordion) ---------- */
.faq {
  display: grid;
  margin-top: 44px;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}
.faq details {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-exposure-var);
  font-weight: var(--font-weight-w650);
  font-size: var(--text-subheading);
  letter-spacing: -0.01em;
  color: var(--color-pure-black);
  padding: 26px 4px;
  min-height: 44px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-family: var(--font-abc-oracle);
  font-weight: 300;
  font-size: 26px;
  line-height: 1;
  color: var(--color-slate);
  background: var(--color-linen);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: transform 0.45s var(--ease-apple), color 0.2s ease, background-color 0.2s ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
  color: #fff;
  background: var(--color-pure-black);
}
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s var(--ease-apple);
}
.faq-a > div {
  overflow: hidden;
}
.faq details[open] .faq-a {
  grid-template-rows: 1fr;
}
.faq-a p {
  color: var(--color-carbon);
  font-size: 16px;
  line-height: 1.7;
  max-width: 680px;
  margin: 0;
  padding: 0 4px 26px;
}

/* ---------- footer (dark) ---------- */
footer {
  background: var(--surface-void);
  color: #fff;
  margin-top: var(--section-gap);
}
.foot-inner {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 56px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.brand-light {
  color: #fff;
}
.brand-mark-light {
  background: #fff;
  color: #000;
}
.foot-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
  flex-wrap: wrap;
}
.foot-links a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-pills);
  padding: 11px 14px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.foot-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}
.foot-note {
  width: 100%;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  line-height: 1.6;
  margin: 8px 0 0;
}

/* ---------- help overlay + toast ---------- */
.help-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 2, 4, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}
.help-backdrop[hidden] {
  display: none;
}
.help-backdrop:not([hidden]) .help-dialog {
  animation: dialog-in 0.5s var(--ease-apple);
}
@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.help-dialog {
  max-width: 600px;
  width: 100%;
}
.help-dialog .window-bar .btn-ink {
  margin-left: auto;
}
.help-grid {
  display: grid;
  gap: 16px;
}
.help-grid p {
  color: var(--color-carbon);
  font-size: 16px;
  line-height: 1.7;
  margin: 6px 0 0;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: var(--color-pure-black);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  border-radius: var(--radius-full);
  padding: 14px 24px;
  z-index: 120;
  max-width: calc(100vw - 48px);
  text-align: center;
  box-shadow: var(--shadow-nav-scrolled);
}
.toast[hidden] {
  display: none;
}
.toast:not([hidden]) {
  animation: toast-in 0.45s var(--ease-apple);
}
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* ---------- responsive ---------- */
@media (min-width: 901px) {
  .nav-mobile {
    display: none !important;
  }
  .nav-toggle {
    display: none !important;
  }
  #try .steps {
    position: sticky;
    top: 100px;
  }
}
/* High-contrast preference: force darkest text + strongest borders */
@media (prefers-contrast: more) {
  :root {
    --color-carbon: #1a1a1a;
    --color-slate: #333333;
  }
  .eyebrow,
  .lede,
  .demo-sub,
  .mock-status,
  .window-note,
  .faq-a p,
  .help-grid p,
  .keys dd,
  .matrix td:nth-child(2),
  .matrix td.mono,
  .vom-url,
  .window-tab,
  .demo-foot,
  .strip,
  .install-sub,
  .install-micro {
    color: #1a1a1a;
  }
  .eyebrow-light,
  .hero-sub,
  .hero-micro,
  .foot-note,
  .foot-links a {
    color: #fff;
  }
  .window,
  .feature,
  .mock-page,
  #vimBuffer,
  .vomnibar,
  .mock-links a {
    border-color: #000;
  }
}
@media (max-width: 900px) {
  :root {
    --section-gap: 88px;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .feature-grid,
  .bindings {
    grid-template-columns: 1fr;
  }
  .nav-pills,
  .nav-github {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .nav-actions {
    margin-left: auto;
  }
  .hero {
    padding-top: 140px;
  }
  .window-body {
    padding: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .spectrum {
    animation: none;
  }
  .hero .display .line > span,
  .hero-fade {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .rv,
  .rv-scale {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .faq-a {
    transition: none;
  }
  .hint-badge,
  .help-backdrop:not([hidden]) .help-dialog,
  .toast:not([hidden]) {
    animation: none;
  }
}
