/* IBM Plex Sans — body / UI (SIL OFL, self-hosted) */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans/ibm-plex-sans-latin-ext-400-normal.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;
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans/ibm-plex-sans-latin-400-normal.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;
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans/ibm-plex-sans-latin-ext-500-normal.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;
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans/ibm-plex-sans-latin-500-normal.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;
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans/ibm-plex-sans-latin-ext-600-normal.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;
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans/ibm-plex-sans-latin-600-normal.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;
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans/ibm-plex-sans-latin-ext-700-normal.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;
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans/ibm-plex-sans-latin-700-normal.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;
}

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

:root {
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --font-display: "IBM Plex Sans", system-ui, sans-serif;
  --bg-primary: #191919;
  --bg-secondary: #202020;
  --bg-tertiary: #262626;
  --surface: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text-primary: rgba(255, 255, 255, 0.92);
  --text-secondary: rgba(255, 255, 255, 0.65);
  --text-tertiary: rgba(255, 255, 255, 0.45);
  --accent: #2eaadc;
  --accent-hover: #1f9bd0;
  --accent-soft: rgba(46, 170, 220, 0.18);
  --node-page: #4ec9b0;
  --node-database: #569cd6;
  --node-mention: #dcdcaa;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.35);
  --container: 1120px;
  --shell: 1600px;
  --bleed: 1400px;
  --page-gutter: 1.5rem;
  --header-h: 72px;
}

@media (min-width: 900px) {
  :root {
    --page-gutter: 2rem;
  }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  min-height: 100%;
  overflow-x: clip;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.22) var(--bg-secondary);
}

html::-webkit-scrollbar {
  width: 10px;
}

html::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

html::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border: 2px solid var(--bg-secondary);
  border-radius: 999px;
}

html::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.32);
}

html::-webkit-scrollbar-corner {
  background: var(--bg-secondary);
}

html,
body,
button,
input,
select,
textarea {
  font-family: var(--font-body);
}

body {
  font-weight: 400;
  min-height: 100%;
  background-color: var(--bg-primary);
  background-image:
    radial-gradient(ellipse 90% 60% at 50% -15%, rgba(46, 170, 220, 0.09), transparent 55%),
    radial-gradient(ellipse 55% 45% at 100% 55%, rgba(78, 201, 176, 0.05), transparent 50%),
    radial-gradient(ellipse 45% 40% at 0% 75%, rgba(86, 156, 214, 0.04), transparent 45%),
    linear-gradient(180deg, #1c1f24 0%, #191919 38%, #1a1d21 72%, #191919 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(calc(100% - 2 * var(--page-gutter)), var(--container));
  margin-inline: auto;
}

.shell {
  width: min(calc(100% - 2 * var(--page-gutter)), var(--shell));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 2 * var(--page-gutter)), 760px);
}

.section {
  padding: 4rem 0;
}

.section-band,
main > section:nth-child(even) {
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(46, 170, 220, 0.04), transparent 60%),
    rgba(255, 255, 255, 0.018);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.reveal.is-leaving-up {
  transform: translateY(-24px);
}

.reveal.is-leaving-down {
  transform: translateY(24px);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .nav-toggle span,
  .nav {
    transition: none;
  }
}

.section-label {
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-head {
  max-width: 680px;
  margin-bottom: 1.25rem;
}

.section-head h2,
.problem h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-intro,
.problem > p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
}

.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;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  width: 100%;
  height: var(--header-h);
  background: rgba(25, 25, 25, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(20, 20, 20, 0.9);
  border-bottom-color: var(--border);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 901px) {
  .header-inner:has(.nav) {
    display: grid;
    grid-template-columns: minmax(10.5rem, 1fr) auto minmax(10.5rem, 1fr);
  }

  .header-inner:has(.nav) .nav {
    justify-self: center;
  }

  .header-inner:has(.nav) .header-actions {
    justify-self: end;
  }
}

.brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-wordmark {
  height: 34px;
  width: auto;
  aspect-ratio: 4196 / 1323;
  display: block;
}

.logo-wordmark-footer {
  height: 28px;
}

.footer-brand {
  display: inline-block;
  line-height: 0;
}

.footer-brand:hover .logo-wordmark-footer {
  opacity: 0.82;
}

.nav {
  display: flex;
  gap: 1.75rem;
}

.nav a {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--text-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.made-for-notion-badge {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  pointer-events: none;
}

.made-for-notion-badge img {
  display: block;
  height: 36px;
  width: auto;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }

.nav-toggle[aria-expanded="true"] {
  border-color: var(--border-strong);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 20px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 20px;
  transform: rotate(-45deg);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s, color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn-primary {
  background: linear-gradient(135deg, #2396c9 0%, #1a7aab 48%, #156890 100%);
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 6px 18px rgba(32, 150, 200, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #34b0e0 0%, #2396c9 48%, #1a7aab 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 10px 28px rgba(46, 170, 220, 0.42);
}

.btn-header-cta {
  padding: 0.55rem 1.15rem;
  line-height: 1.25;
  font-size: 0.9375rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #1f7eab 0%, #176890 100%);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: background 0.2s ease;
  will-change: transform, box-shadow;
}

.btn:hover.btn-header-cta,
.btn-primary.btn-header-cta:hover {
  transform: translateZ(0);
  background: linear-gradient(180deg, #2286b4 0%, #1a729c 100%);
  animation: cta-breathe 1.7s ease-in-out infinite;
}

.btn:active.btn-header-cta,
.btn-primary.btn-header-cta:active {
  animation: none;
  transform: translateZ(0) scale(0.98);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

@keyframes cta-breathe {
  0%,
  100% {
    transform: translateZ(0) scale(1);
    box-shadow:
      0 4px 14px rgba(0, 0, 0, 0.28),
      0 0 0 0 rgba(46, 170, 220, 0);
  }
  50% {
    transform: translateZ(0) scale(1.035);
    box-shadow:
      0 6px 18px rgba(0, 0, 0, 0.32),
      0 0 20px 1px rgba(46, 170, 220, 0.35);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover.btn-header-cta,
  .btn-primary.btn-header-cta:hover {
    animation: none;
    transform: translateZ(0);
    box-shadow:
      0 4px 14px rgba(0, 0, 0, 0.28),
      0 0 12px 0 rgba(46, 170, 220, 0.2);
  }
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-ghost {
  padding: 0.55rem 1rem;
  color: var(--text-secondary);
  border-color: var(--border);
  background: transparent;
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--accent);
  background: rgba(46, 170, 220, 0.08);
  border-color: var(--border-strong);
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 1.25rem) 0 3rem;
}

.hero-copy {
  width: min(calc(100% - 2 * var(--page-gutter)), 56rem);
  margin-inline: auto;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  text-align: center;
  font-size: clamp(1.35rem, 3.4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
}

@media (min-width: 720px) {
  .hero-title {
    white-space: nowrap;
  }
}

.hero-lead {
  max-width: 44rem;
  margin: 0 auto 1.5rem;
  text-align: center;
  font-size: clamp(1.125rem, 2.4vw, 1.45rem);
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.hero-lead-line {
  display: block;
}

.hero-lead-line + .hero-lead-line {
  margin-top: 0.2rem;
}

.hero-lead-line--left {
  position: relative;
  left: -2.25rem;
}

.hero-lead-line--right {
  position: relative;
  left: 2.25rem;
}

@media (max-width: 600px) {
  .hero-lead-line--left,
  .hero-lead-line--right {
    left: 0;
  }

  .hero-lead {
    font-size: clamp(1rem, 4.4vw, 1.2rem);
    line-height: 1.4;
  }

  .hero-lead-line + .hero-lead-line {
    margin-top: 0.4rem;
  }
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(11rem, 1fr) minmax(0, 52rem) minmax(11rem, 1fr);
  grid-template-rows: auto 3.25rem;
  column-gap: 1.35rem;
  row-gap: 1.1rem;
  align-items: center;
  width: min(calc(100% - 2 * var(--page-gutter)), var(--bleed));
  margin: 0 auto 1.5rem;
}

.hero-visual {
  --video-inset: 7px;
  grid-column: 2;
  grid-row: 1;
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  padding: var(--video-inset);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow-md);
  background: #181818;
}

.hero-placeholder {
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(ellipse 55% 50% at 50% 45%, rgba(46, 170, 220, 0.14), transparent 65%),
    radial-gradient(ellipse 40% 35% at 20% 70%, rgba(78, 201, 176, 0.08), transparent 55%),
    radial-gradient(ellipse 35% 40% at 80% 25%, rgba(86, 156, 214, 0.08), transparent 50%),
    linear-gradient(180deg, #1a1d22 0%, #141618 100%);
}

.hero-placeholder-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.hero-placeholder-label {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-tertiary);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-note {
  margin: 0;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: clamp(0.9375rem, 1.4vw, 1.0625rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.01em;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.hero-note:not([class*="is-pos-"]) {
  display: none;
}

.hero-note.is-in {
  z-index: 2;
  opacity: 1;
}

.hero-note.is-leaving {
  z-index: 1;
  opacity: 0;
}

.hero-note.is-pos-left-high,
.hero-note.is-pos-left-low {
  max-width: 10rem;
  justify-self: end;
}

.hero-note.is-pos-right-high,
.hero-note.is-pos-right-low {
  max-width: 10rem;
  justify-self: start;
}

.hero-note.is-pos-left-high {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  position: relative;
  top: 22%;
  text-align: right;
}

.hero-note.is-pos-left-low {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  position: relative;
  top: 58%;
  text-align: right;
}

.hero-note.is-pos-right-high {
  grid-column: 3;
  grid-row: 1;
  align-self: start;
  position: relative;
  top: 22%;
  text-align: left;
}

.hero-note.is-pos-right-low {
  grid-column: 3;
  grid-row: 1;
  align-self: start;
  position: relative;
  top: 58%;
  text-align: left;
}

.hero-note.is-pos-below-left,
.hero-note.is-pos-below-right {
  grid-column: 2;
  grid-row: 2;
  max-width: none;
  white-space: nowrap;
}

.hero-note.is-pos-below-left {
  justify-self: start;
  margin-left: 8%;
  text-align: left;
}

.hero-note.is-pos-below-right {
  justify-self: end;
  margin-right: 8%;
  text-align: right;
}

.hero-note-char {
  display: inline;
  opacity: 0;
}

.hero-note-char.is-caret-host {
  position: relative;
}

.hero-note.is-in .hero-note-char {
  animation: hero-ink 0.35s ease forwards;
}

.hero-note.is-instant .hero-note-char {
  animation: none;
  opacity: 1;
}

.hero-note.is-leaving .hero-note-char {
  opacity: 1;
  animation: none;
}

@keyframes hero-ink {
  to {
    opacity: 1;
  }
}

.hero-note-caret {
  position: absolute;
  left: 100%;
  top: 0.08em;
  width: 0.62em;
  height: 0.9em;
  margin-left: 0.2em;
  background: color-mix(in srgb, currentColor 72%, var(--bg-primary));
  opacity: 0;
  pointer-events: none;
}

.hero-note-caret.is-on {
  animation: hero-caret 1.1s steps(1, end) infinite;
}

.hero-note.is-leaving .hero-note-caret {
  animation: none;
  opacity: 0;
}

@keyframes hero-caret {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

.hero-subtitle {
  max-width: 42rem;
  margin: 1.75rem auto 1.25rem;
  text-align: center;
  color: var(--text-secondary);
  font-size: clamp(1rem, 2vw, 1.1875rem);
  line-height: 1.55;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.875rem;
  margin-bottom: 0;
}

/* Video scrubber */
.video-scrubber {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  padding: 1.25rem 1rem 0.75rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55));
  opacity: 0;
  transition: opacity 0.2s ease;
  touch-action: none;
  cursor: pointer;
}

.has-scrubber:hover .video-scrubber,
.video-scrubber.is-active {
  opacity: 1;
}

.hero-visual > .video-scrubber,
.feature-media-frame > .video-scrubber {
  left: var(--video-inset);
  right: var(--video-inset);
  bottom: var(--video-inset);
}

.video-scrubber-track {
  position: relative;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.video-scrubber-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}

.video-scrubber-handle {
  position: absolute;
  top: 50%;
  left: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.hero-video,
.feature-preview-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1920 / 1036;
  object-fit: cover;
  object-position: center top;
}

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }

  .hero-note,
  .hero-note.is-in .hero-note-char {
    animation: none;
    opacity: 1;
    filter: none;
    transform: none;
  }

  .hero-note-caret {
    animation: none;
    opacity: 0;
  }

  .hero-note-caret.is-on {
    opacity: 1;
  }

  .hero-visual:not(.hero-placeholder) {
    min-height: 220px;
    background:
      radial-gradient(ellipse 60% 50% at 50% 50%, rgba(46, 170, 220, 0.12), transparent 60%),
      var(--bg-secondary);
  }
}

.gradient-text {
  color: #2eaadc;
  background-image: linear-gradient(135deg, #2eaadc 0%, #4ec9b0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  color: var(--text-secondary);
  font-size: 1.125rem;
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 2rem;
}

.hero-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  color: var(--text-tertiary);
  font-size: 0.875rem;
}

.hero-meta li::before {
  content: "●";
  color: var(--accent);
  margin-right: 0.5rem;
  font-size: 0.5rem;
  vertical-align: middle;
}

.graph-panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.graph-toolbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
}

.graph-toolbar .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.graph-toolbar .dot:first-child { background: #ff6b6b; }
.graph-toolbar .dot:nth-child(2) { background: #dcdcaa; }
.graph-toolbar .dot:nth-child(3) { background: #89d185; }

.graph-toolbar-label {
  margin-left: 0.5rem;
  color: var(--text-tertiary);
  font-size: 0.8125rem;
}

.graph-svg {
  width: 100%;
  height: auto;
  display: block;
  padding: 1rem;
}

.graph-svg .node {
  animation: pulse 4s ease-in-out infinite;
}

.graph-svg .hub {
  fill: var(--accent);
  filter: drop-shadow(0 0 12px rgba(46, 170, 220, 0.5));
}

.graph-svg .page { fill: var(--node-page); }
.graph-svg .database { fill: var(--node-database); }
.graph-svg .mention { fill: var(--node-mention); }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.75; }
}

.graph-legend {
  display: flex;
  gap: 1.25rem;
  padding: 0.875rem 1rem 1.125rem;
  border-top: 1px solid var(--border);
  color: var(--text-tertiary);
  font-size: 0.8125rem;
}

.legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 0.4rem;
}

.legend-dot.page { background: var(--node-page); }
.legend-dot.database { background: var(--node-database); }
.legend-dot.mention { background: var(--node-mention); }

/* Problem / Audience */
.problem {
  background: var(--bg-secondary);
  border-block: 1px solid var(--border);
}

.audience-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.audience-cards article {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.audience-cards h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.audience-cards p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* Use cases */
.use-cases .section-head {
  margin-inline: auto;
  margin-bottom: 2rem;
  max-width: none;
  text-align: center;
}

.use-cases .section-head h2 {
  margin-bottom: 0.45rem;
}

.use-cases-lead {
  margin: 0 auto;
  max-width: 36rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: min(calc(100% - 2 * var(--page-gutter)), var(--bleed));
  margin: 0 auto;
}

.use-case {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.75rem 1.5rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.use-case .use-case-role {
  margin-bottom: 0.75rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.use-case h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.use-case p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.use-case .use-case-outcome {
  margin-top: auto;
  padding-top: 1.25rem;
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 500;
}

.use-case--featured {
  border-color: rgba(46, 170, 220, 0.28);
  background: linear-gradient(180deg, rgba(46, 170, 220, 0.08), rgba(46, 170, 220, 0.02));
}

/* Plans */
.plans .section-head {
  margin-inline: auto;
  margin-bottom: 0;
  max-width: none;
  text-align: center;
}

.plans .section-head h2 {
  margin-bottom: 0.45rem;
}

.plans-lead {
  margin: 0 auto;
  max-width: 36rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.plans-billing-switch {
  display: flex;
  justify-content: center;
  width: fit-content;
  margin: 1.15rem auto 1.7rem;
  padding: 3px;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.plans-billing-switch-btn {
  margin: 0;
  padding: 0.4rem 1.05rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.plans-billing-switch-btn:hover:not(.is-active) {
  color: var(--text-primary);
}

.plans-billing-switch-btn.is-active {
  background: var(--accent);
  color: #fff;
}

.plans-billing-switch-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.plans[data-billing="monthly"] .js-billing-yearly,
.plans[data-billing="yearly"] .js-billing-monthly {
  display: none !important;
}

.plans.is-list-price .js-launch-only,
.plans:not(.is-list-price) .js-list-only {
  display: none !important;
}

.plans-compare-wrap {
  width: min(calc(100% - 2 * var(--page-gutter)), var(--bleed));
  margin: 0 auto;
}

.plans-compare-board {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.plans-compare {
  table-layout: fixed;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.plans-col-pro {
  background-color: rgba(46, 170, 220, 0.07);
}

.plans-compare th,
.plans-compare td {
  padding: 0.62rem 1.2rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  min-width: 0;
}

.plans-compare thead th {
  width: 36%;
  padding: 1.05rem 1rem 1.1rem;
  text-align: center;
  vertical-align: top;
  font-weight: 400;
}

.plans-compare thead th:first-child {
  width: 28%;
}

.plans-compare thead th:nth-child(2),
.plans-compare td:not(.is-pro) {
  box-shadow: inset 1px 0 0 var(--border);
}

.plans-compare td {
  text-align: center;
}

.plans-compare tbody tr:nth-child(even):not(.plans-compare-cta-row) th,
.plans-compare tbody tr:nth-child(even):not(.plans-compare-cta-row) td:not(.is-pro) {
  background: rgba(255, 255, 255, 0.012);
}

.plans-compare tbody tr:nth-child(even):not(.plans-compare-cta-row) td.is-pro {
  background: transparent;
}

.plans-compare tbody th {
  color: var(--text-primary);
  font-weight: 600;
}

.plans-compare tbody td.is-pro {
  color: var(--text-primary);
}

.plans-compare tbody tr:last-child th,
.plans-compare tbody tr:last-child td {
  border-bottom: none;
}

.plans-compare .is-pro {
  background: transparent;
  box-shadow: inset 1px 0 0 rgba(46, 170, 220, 0.34);
}

.plans-compare thead .is-pro {
  background: linear-gradient(180deg, rgba(46, 170, 220, 0.06), transparent);
}

.plans-compare .plans-compare-cta-row th,
.plans-compare .plans-compare-cta-row td,
.plans-compare .plans-compare-cta-row td:not(.is-pro),
.plans-compare .plans-compare-cta-row td.is-pro {
  padding: 1.35rem 1.1rem 1.45rem;
  background: var(--bg-secondary);
  box-shadow: none;
  border-top: 1px solid var(--border);
}

.plans-compare-cta-row .btn {
  min-width: 10.5rem;
}

.plans-compare-cta-row .plan-note {
  margin: 0 auto;
  max-width: 20rem;
  color: var(--text-primary);
}

.plan-badge {
  margin-bottom: 0.35rem;
  color: #ee8a8a;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-badge--spacer {
  visibility: hidden;
}

.plan-name {
  margin-bottom: 0.4rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-price-was {
  margin-right: 0.15rem;
  color: #ee8a8a;
  font-size: 1.15rem;
  font-weight: 500;
  text-decoration: line-through;
}

.plan-price {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  column-gap: 0.4rem;
  row-gap: 0.15rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.plan-price-now {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  white-space: nowrap;
}

.plan-interval {
  margin-left: 0.15rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0;
}

.plan-sub {
  margin: 0.35rem auto 0;
  max-width: 18rem;
  color: var(--text-secondary);
  font-size: 0.8125rem;
  line-height: 1.4;
  overflow-wrap: break-word;
}

.plans-compare thead .is-pro .plan-sub {
  max-width: none;
  white-space: normal;
}

.plan-note {
  margin-top: 0.7rem;
  max-width: 24rem;
  color: var(--text-tertiary);
  font-size: 0.8125rem;
  line-height: 1.5;
  text-align: center;
}

.plan-yes {
  color: var(--accent);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
}

.plan-no {
  color: var(--text-tertiary);
}

/* Features */
#features.section {
  padding: 4rem 0 5.5rem;
}

#features .section-head {
  margin-bottom: 0.75rem;
  max-width: none;
  text-align: center;
}

#features .section-head h2 {
  margin-bottom: 0.45rem;
}

#features .features-lead {
  margin: 0 auto 0.25rem;
  max-width: 36rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.feature-carousel {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) 2.5rem;
  grid-template-rows: auto auto;
  column-gap: 0.7rem;
  row-gap: 0.85rem;
  align-items: center;
  isolation: isolate;
  width: min(calc(100% - 2 * var(--page-gutter)), var(--bleed));
  margin: 2.25rem auto 0;
}

.feature-dots {
  position: relative;
  z-index: 3;
  grid-column: 2;
  grid-row: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.42rem;
}

.feature-slides {
  --feature-slide-shift: 3.25rem;
  --feature-slide-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --feature-slide-move: 0.36s;
  --feature-slide-fade: 0.22s;
  grid-column: 2;
  grid-row: 2;
  display: grid;
  min-width: 0;
  position: relative;
  z-index: 0;
  box-sizing: content-box;
  padding: 2.5rem 2rem 3.25rem;
  margin: -2.5rem -2rem -3.25rem;
  overflow: hidden;
}

.feature-row {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  grid-template-columns: minmax(0, 52rem) minmax(11rem, 1fr);
  align-items: center;
  column-gap: 1.35rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  transition:
    transform var(--feature-slide-move) var(--feature-slide-ease),
    opacity var(--feature-slide-fade) cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-row.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
  transform: translate3d(0, 0, 0);
}

.feature-row.is-entering,
.feature-row.is-leaving {
  visibility: visible;
  pointer-events: none;
}

.feature-row.is-moving {
  will-change: transform, opacity;
}

.feature-row.is-snap {
  transition: none;
}

.feature-row.is-entering-left {
  opacity: 0;
  transform: translate3d(calc(var(--feature-slide-shift) * -1), 0, 0);
}

.feature-row.is-entering-right {
  opacity: 0;
  transform: translate3d(var(--feature-slide-shift), 0, 0);
}

.feature-row.is-leaving-left {
  z-index: 1;
  opacity: 0;
  transform: translate3d(calc(var(--feature-slide-shift) * -1), 0, 0);
}

.feature-row.is-leaving-right {
  z-index: 1;
  opacity: 0;
  transform: translate3d(var(--feature-slide-shift), 0, 0);
}

.feature-row--media-right {
  grid-template-columns: minmax(11rem, 1fr) minmax(0, 52rem);
}

.feature-row--media-left .feature-row-media {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}

.feature-row--media-left .feature-row-copy {
  grid-column: 2;
  grid-row: 1;
}

.feature-row--media-right .feature-row-copy {
  grid-column: 1;
  grid-row: 1;
}

.feature-row--media-right .feature-row-media {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
}

.feature-row-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  width: 100%;
  max-width: 52rem;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.34));
}

.feature-dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.feature-dot:hover {
  background: rgba(255, 255, 255, 0.42);
}

.feature-dot.is-active {
  background: rgba(255, 255, 255, 0.72);
  transform: scale(1.2);
}

.feature-media-frame {
  --video-inset: 7px;
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  padding: var(--video-inset);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: #181818;
}

.feature-nav {
  position: relative;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(12, 14, 18, 0.45);
  color: var(--text-primary);
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 1;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-nav-prev {
  grid-column: 1;
  grid-row: 2;
  align-self: center;
  justify-self: center;
}

.feature-nav-next {
  grid-column: 3;
  grid-row: 2;
  align-self: center;
  justify-self: center;
}

.feature-nav:hover,
.feature-nav:focus-visible {
  background: rgba(20, 28, 36, 0.72);
  border-color: rgba(46, 170, 220, 0.45);
  color: var(--accent);
  transform: scale(1.06);
}

.feature-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  width: 100%;
  background:
    radial-gradient(ellipse 55% 50% at 50% 45%, rgba(46, 170, 220, 0.14), transparent 65%),
    radial-gradient(ellipse 40% 35% at 20% 70%, rgba(78, 201, 176, 0.08), transparent 55%),
    radial-gradient(ellipse 35% 40% at 80% 25%, rgba(86, 156, 214, 0.08), transparent 50%),
    linear-gradient(180deg, #1a1d22 0%, #141618 100%);
}

.feature-row-copy {
  max-width: 20rem;
}

.feature-row--media-left .feature-row-copy {
  justify-self: start;
  text-align: left;
}

.feature-row--media-right .feature-row-copy {
  justify-self: end;
  text-align: right;
}

.feature-row-copy h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.7rem;
}

.feature-row-copy p {
  margin: 0;
  color: var(--text-secondary);
  font-size: clamp(0.9375rem, 1.4vw, 1.0625rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.feature-ink-char {
  display: inline;
  opacity: 0;
}

.feature-row-copy.is-inking .feature-ink-char {
  animation: hero-ink 0.12s ease forwards;
}

@media (prefers-reduced-motion: reduce) {
  .feature-ink-char {
    animation: none;
    opacity: 1;
  }

  .feature-row,
  .feature-row.is-entering-left,
  .feature-row.is-entering-right,
  .feature-row.is-leaving-left,
  .feature-row.is-leaving-right,
  .feature-row.is-active {
    transform: none;
    transition: opacity 0.28s ease;
  }
}

@media (max-width: 800px) {
  .feature-carousel {
    column-gap: 0.45rem;
  }

  .feature-row,
  .feature-row--media-right {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .feature-row--media-left .feature-row-media,
  .feature-row--media-right .feature-row-media,
  .feature-row--media-left .feature-row-copy,
  .feature-row--media-right .feature-row-copy {
    grid-column: 1;
    grid-row: auto;
  }

  .feature-row--media-left .feature-row-copy,
  .feature-row--media-right .feature-row-copy {
    grid-column: 1;
    max-width: none;
    justify-self: stretch;
    text-align: left;
  }
}

/* Roadmap */
.roadmap .section-head {
  margin-inline: auto;
  margin-bottom: 2rem;
  max-width: none;
  text-align: center;
}

.roadmap .section-head h2 {
  margin-bottom: 0.45rem;
}

.roadmap-lead {
  margin: 0 auto;
  max-width: 36rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.roadmap-inner {
  text-align: center;
}

.roadmap-inner .roadmap-list {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  text-align: left;
}

.roadmap-list {
  --dot: 8px;
  --rail-x: 9px;
  --list-pad: 30px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: var(--list-pad);
  padding-right: var(--list-pad);
}

.roadmap-list::before {
  content: "";
  position: absolute;
  left: calc(var(--rail-x) - 0.5px);
  top: 1.55rem;
  bottom: 1.55rem;
  width: 1px;
  background: linear-gradient(180deg, var(--accent), rgba(255, 255, 255, 0.12));
}

.roadmap-item {
  position: relative;
  padding: 1.35rem 0 1.35rem 1.15rem;
}

.roadmap-item::before {
  content: "";
  position: absolute;
  left: calc(var(--rail-x) - var(--list-pad) - var(--dot) / 2);
  top: 1.52rem;
  width: var(--dot);
  height: var(--dot);
  border-radius: 50%;
  background: var(--bg-primary);
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 0 0 3px var(--bg-primary);
}

.roadmap-item.is-current::before {
  background: var(--accent);
  border-color: var(--accent);
}

.roadmap-title {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.4rem;
}

.roadmap-features {
  margin: 0.7rem 0 0;
  padding-left: 0;
  list-style: none;
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.45;
}

.roadmap-features li {
  position: relative;
  padding-left: 1.1rem;
}

.roadmap-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 0.375rem;
  height: 0.375rem;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
}

.roadmap-features li.is-done::before {
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  top: 50%;
  transform: translateY(-40%);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  content: "✓";
}

.roadmap-features a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.roadmap-features a:hover {
  color: var(--accent-hover);
}

.roadmap-features li + li {
  margin-top: 0.28rem;
}

.roadmap-tier {
  margin-left: 0.3rem;
  font-size: 0.75em;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.roadmap-tier--pro {
  color: rgba(46, 170, 220, 0.72);
}

.roadmap-tier--free {
  color: rgba(160, 176, 168, 0.85);
}

.roadmap-item:not(:last-child) {
  border-bottom: 1px solid var(--border);
}

/* Compare */
.advantages {
  background: var(--bg-secondary);
  border-block: 1px solid var(--border);
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.compare-card {
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.orbit-card {
  background: linear-gradient(180deg, rgba(46,170,220,0.08), rgba(46,170,220,0.02));
  border-color: rgba(46, 170, 220, 0.28);
}

.muted-card {
  background: var(--surface);
}

.compare-card h3 {
  margin-bottom: 1.25rem;
}

.compare-card ul {
  list-style: none;
}

.compare-card li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.orbit-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.muted-card li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--text-tertiary);
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
}

.faq-list summary {
  padding: 1.125rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--accent);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  padding: 0 1.25rem 1.125rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* Footer */
.site-footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}

.footer-inner {
  display: grid;
  gap: 1rem;
  justify-items: center;
  text-align: center;
}

.footer-inner p {
  color: var(--text-tertiary);
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  position: relative;
  transition: color 0.2s ease;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.footer-links a:hover::after,
.footer-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.footer-links a:hover,
.footer-links a[aria-current="page"] {
  color: var(--text-primary);
}

/* Legal pages */
.legal {
  padding-top: calc(var(--header-h) + 1.25rem);
  padding-bottom: 3rem;
}

.legal-content h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.legal-content h2 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
}

.legal-content p,
.legal-content li {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.legal-content p {
  margin-bottom: 0.75rem;
}

.legal-content ul {
  margin: 0 0 0.75rem 1.25rem;
}

.legal-content li {
  margin-bottom: 0.35rem;
}

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: var(--accent-hover);
}

.legal-content em {
  color: var(--text-tertiary);
  font-size: 0.875rem;
}

.legal-note {
  color: var(--text-secondary) !important;
  font-size: 0.875rem !important;
}

.copyright {
  font-size: 0.8125rem !important;
}

/* Mobile nav */
@media (max-width: 1100px) {
  .use-cases-grid {
    grid-template-columns: 1fr;
  }

  .plans-compare thead th {
    width: 38%;
    padding: 1rem 0.7rem 1.05rem;
  }

  .plans-compare thead th:first-child {
    width: 24%;
  }

  .plans-compare .plan-sub {
    max-width: none;
  }

  .plan-price {
    flex-wrap: wrap;
  }
}

@media (max-width: 800px) {
  .plans-compare th,
  .plans-compare td {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    font-size: 0.8125rem;
  }

  .plans-compare thead th {
    width: auto;
    padding: 0.9rem 0.4rem 1rem;
  }

  .plans-compare thead th:first-child {
    width: 30%;
  }

  .plans-compare tbody th,
  .plans-compare tbody td {
    overflow-wrap: break-word;
  }

  .plans-compare thead .is-pro .plan-sub {
    white-space: normal;
  }

  .plan-price {
    flex-direction: column;
    align-items: center;
    font-size: clamp(1rem, 4.8vw, 1.25rem);
  }

  .plan-price-now {
    display: flex;
    flex-direction: column;
    align-items: center;
    white-space: normal;
    line-height: 1.1;
  }

  .plan-price-was {
    margin-right: 0;
    font-size: 0.82rem;
  }

  .plan-interval {
    margin-left: 0;
    font-size: 0.75rem;
  }

  .plan-sub {
    font-size: 0.75rem;
  }

  .plans-compare-cta-row th,
  .plans-compare-cta-row td,
  .plans-compare-cta-row td.is-pro {
    padding: 1.1rem 0.5rem 1.2rem;
  }

  .plans-compare-cta-row .btn {
    min-width: 0;
    width: min(100%, 16rem);
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

@media (max-width: 900px) {
  .audience-cards,
  .compare-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.25rem 0 0.65rem;
    background: #191919;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    z-index: 2;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .nav.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3.15rem;
    padding: 0.7rem var(--page-gutter);
    border-top: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 1.0625rem;
    font-weight: 600;
    text-align: center;
  }

  .nav a:first-child {
    border-top: none;
  }

  .nav a:hover,
  .nav a:active {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
  }

  .nav-toggle {
    display: block;
  }

  .made-for-notion-badge {
    display: none;
  }

  .site-header.is-nav-open {
    background: #191919;
    backdrop-filter: none;
  }

  html.is-nav-open {
    overflow: hidden;
  }

  html.is-nav-open body::after {
    content: "";
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: 90;
    background: rgba(0, 0, 0, 0.55);
  }

  .btn-header-cta {
    padding: 0.45rem 0.95rem;
    font-size: 0.875rem;
  }

  .plan-price {
    flex-direction: column;
    align-items: center;
  }

  .plan-price-now {
    display: flex;
    flex-direction: column;
    align-items: center;
    white-space: normal;
    line-height: 1.1;
  }

  .plan-price-was {
    margin-right: 0;
  }

  .plan-interval {
    margin-left: 0;
  }
}

@media (max-width: 900px) {
  .hero-stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    row-gap: 0.85rem;
  }

  .hero-visual {
    grid-column: 1;
    grid-row: 1;
  }

  .hero-note.is-pos-left-high,
  .hero-note.is-pos-left-low,
  .hero-note.is-pos-right-high,
  .hero-note.is-pos-right-low,
  .hero-note.is-pos-below-left,
  .hero-note.is-pos-below-right,
  .hero-note.is-pos-mobile {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
    align-self: start;
    top: auto;
    margin: 0;
    max-width: 100%;
    width: 100%;
    text-align: center;
    white-space: normal;
    overflow-wrap: break-word;
  }
}

@media (max-width: 600px) {
  :root {
    --page-gutter: 1rem;
  }

  .section {
    padding: 2.75rem 0;
  }

  .legal.section {
    padding-top: calc(var(--header-h) + 1.5rem);
    padding-bottom: 2.75rem;
  }

  .hero-note {
    font-size: 0.95rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .feature-carousel {
    grid-template-columns: 2rem minmax(0, 1fr) 2rem;
    column-gap: 0.3rem;
  }

  .feature-nav {
    width: 2rem;
    height: 2rem;
  }

  .plans-compare th,
  .plans-compare td {
    padding-left: 0.38rem;
    padding-right: 0.38rem;
    font-size: 0.78rem;
  }

  .plans-compare thead th {
    padding: 0.8rem 0.3rem 0.9rem;
  }

  .plan-name {
    font-size: 0.6875rem;
    letter-spacing: 0.05em;
  }

  .plan-badge {
    font-size: 0.625rem;
    letter-spacing: 0.05em;
  }

  .plan-price {
    font-size: 1.05rem;
  }

  .plans-compare-cta-row .plan-note {
    font-size: 0.75rem;
  }
}

/* Error page (404) */
.error-page {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
}

.error-inner {
  text-align: center;
  max-width: 32rem;
}

.error-code {
  font-size: clamp(4rem, 14vw, 8rem);
  font-weight: 700;
  line-height: 1;
  margin: 0 0 0.5rem;
  background: linear-gradient(135deg, var(--accent), #8ab4ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.error-inner h1 {
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.error-text {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  margin-bottom: 1.75rem;
}

.error-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Download page */
.download-page {
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: 4rem;
}

.download-container {
  width: min(100% - 2rem, 960px);
}

.download-intro {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.download-lead {
  margin: 0 0 1.5rem;
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.5;
}

.download-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.download-platforms {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.download-platform {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.25rem 1rem;
}

.download-platform:not(:last-child) {
  border-right: 1px solid var(--border);
}

.download-platform-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 600;
}

.download-coming-soon {
  color: var(--text-tertiary);
  font-size: 0.75rem;
  font-weight: 500;
}

.download-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.download-hint {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 22rem;
  width: 100%;
  margin: 0.85rem auto 0;
  color: var(--text-tertiary);
  font-size: 0.8125rem;
  line-height: 1.45;
  text-align: center;
}

.download-requirements {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.download-requirements-title {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
}

.download-requirements-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.download-requirements-list li {
  position: relative;
  padding-left: 0.9rem;
  color: var(--text-secondary);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.download-requirements-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-tertiary);
}

/* macOS waitlist */
.waitlist-page {
  padding-top: calc(var(--header-h) + 2.5rem);
  padding-bottom: 4rem;
}

.waitlist-container {
  width: min(calc(100% - 2 * var(--page-gutter)), 34rem);
}

.waitlist-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
  color: var(--text-tertiary);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.waitlist-container h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.waitlist-lead {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.waitlist-form {
  position: relative;
  display: flex;
  gap: 0.65rem;
  align-items: stretch;
}

.waitlist-form.is-success .waitlist-field,
.waitlist-form.is-success .waitlist-submit {
  display: none;
}

.waitlist-field {
  flex: 1;
  min-width: 0;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font-size: 0.9375rem;
}

.waitlist-field::placeholder {
  color: var(--text-tertiary);
}

.waitlist-field:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.waitlist-submit {
  flex-shrink: 0;
  white-space: nowrap;
}

.waitlist-submit:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.waitlist-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.waitlist-status {
  min-height: 1.5rem;
  margin: 0.85rem 0 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.waitlist-status.is-success {
  color: var(--node-page);
}

.waitlist-status.is-error {
  color: #f0a0a0;
}

.waitlist-note {
  margin-top: 0.85rem;
  color: var(--text-tertiary);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.waitlist-note a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.waitlist-note a:hover {
  color: var(--accent-hover);
}

@media (max-width: 900px) {
  .download-platforms {
    grid-template-columns: 1fr;
  }

  .download-platform:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .waitlist-form {
    flex-direction: column;
  }

  .waitlist-submit {
    width: 100%;
  }
}
