:root {
  --accent: #2563eb;
  --accent-hover: #1d4fd0;
  --accent-tint: #eaf1ff;
  --accent-border: #c9dbfc;
  --accent-dark: #60a5fa;
  --highlight: #d7e3fc;

  --ink: #11151c;
  --muted: #5a6473;
  --faint: #8a93a2;

  --white: #ffffff;
  --page: #fbfcfd;
  --tint: #f7f9fb;
  --track: #eef1f4;
  --track-2: #f1f3f6;

  --border: #e6e9ee;
  --border-dashed: #c8d0da;
  --border-outline: #d6dbe2;

  --dark-bg: #11151c;
  --dark-inset: #1a212c;
  --dark-border: #2a3240;
  --dark-heading: #f4f7fb;
  --dark-body: #8a93a2;
  --dark-bullet: #dbe3ec;

  --amber-text: #7a5a1f;
  --amber-sign: #b45309;
  --amber-bg: #fdf6ec;
  --amber-border: #f6ead2;

  --grid-line: #eef1f5;

  --font-sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --header-h: 64px;
  --max-w: 1360px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; }

h1, h2, h3, p { margin: 0; }

.accent { color: var(--accent); }
.highlight { background: linear-gradient(transparent 62%, var(--highlight) 62%); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Buttons & pills */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  padding: 13px 26px;
  box-shadow: 0 6px 18px rgba(37,99,235,.28);
}
.btn--primary:hover { background: var(--accent-hover); }
.btn--sm { font-size: 13px; padding: 9px 16px; border-radius: 7px; box-shadow: none; }
.btn--lg { font-size: 15px; padding: 13px 26px; }
.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border-outline);
  font-size: 14px;
  padding: 11px;
  justify-content: center;
}
.btn--outline:hover { border-color: #b9c2cf; background: var(--tint); }
.btn--dark {
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  padding: 12px 22px;
}
.btn--dark:hover { background: #1a212c; }
.btn--ghost-play {
  align-items: center;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 8px;
}
.play-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border-outline);
  color: var(--accent);
  font-size: 9px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  letter-spacing: .06em;
}
.pill--beta {
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-tint);
  border: 1px solid var(--accent-border);
  border-radius: 4px;
  padding: 2px 7px;
  letter-spacing: .08em;
}
.pill--beta-dark {
  color: var(--accent-dark);
  background: transparent;
  border: 1px solid var(--dark-border);
}
.pill--eyebrow {
  font-size: 11px;
  color: var(--accent);
  background: var(--accent-tint);
  border: 1px solid var(--accent-border);
  border-radius: 20px;
  padding: 5px 12px;
  width: fit-content;
}
.pill__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-tint);
  border-radius: 4px;
  padding: 3px 8px;
  letter-spacing: .08em;
  width: fit-content;
}
.badge--fill { color: #fff; background: var(--accent); padding: 3px 9px; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .1em;
}
.eyebrow--dark { color: var(--accent-dark); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: transparent;
  transition: background .15s ease, box-shadow .15s ease;
}
.site-header.is-solid {
  background: rgba(251,252,253,.93);
  box-shadow: 0 1px 0 var(--border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 40px;
  height: var(--header-h);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo__mark {
  display: block;
  width: 27px; height: 27px;
  border-radius: 8px;
}
.logo__word {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: -.01em;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.site-nav a {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  padding-bottom: 20px;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a.is-active { color: var(--accent); border-bottom-color: var(--accent); }

.site-header__right { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 32px; height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

.scroll-progress {
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  width: 0%;
  background: var(--accent);
  transition: width .08s linear;
}

/* Reveal animation */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* Hero */
.hero {
  position: relative;
  padding: 60px 40px 72px;
  overflow: hidden;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 34px 34px;
  background-position: center;
}
.hero__grid-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 70% 20%, transparent 40%, var(--page) 82%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: 48px;
  align-items: center;
}
.hero__copy { display: flex; flex-direction: column; gap: 22px; }
.hero__copy h1 {
  font-size: 52px;
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--ink);
}
.hero__subhead {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 500px;
}
.hero__cta-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero__risk { font-family: var(--font-mono); font-size: 12px; color: var(--faint); }
.hero__trust {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 18px;
  margin-top: 2px;
}
.hero__trust-label { font-family: var(--font-mono); font-size: 10.5px; color: var(--faint); letter-spacing: .06em; }
.hero__die { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }

.hero__shot { position: relative; padding: 24px 8px 8px; }
.app-window {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(17,21,28,.18);
  background: #fff;
  transform: perspective(1600px) rotateY(-6deg) rotateX(2deg);
  transform-origin: center;
}
.app-window__bar {
  height: 30px;
  background: var(--track-2);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border-bottom: 1px solid var(--border);
}
.app-window__bar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-outline); }
.app-window__label { margin-left: 10px; font-family: var(--font-mono); font-size: 10px; color: var(--faint); }
.app-window img { width: 100%; height: auto; }

.float-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(17,21,28,.16);
}
.float-card--stat {
  left: -14px; bottom: 44px;
  width: 210px;
  border-radius: 11px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.float-card__label { font-family: var(--font-mono); font-size: 10px; color: var(--faint); letter-spacing: .06em; }
.float-card__headline { font-size: 15px; font-weight: 700; color: var(--ink); }
.usage-bar { height: 7px; border-radius: 5px; background: var(--track); overflow: hidden; }
.usage-bar span { display: block; height: 100%; background: var(--accent); }
.float-card__meta { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); }
.float-card--thumb {
  right: -8px; top: -4px;
  width: 120px;
  border-radius: 9px;
  overflow: hidden;
  transform: rotate(3deg);
  box-shadow: 0 16px 36px rgba(17,21,28,.16);
}
.float-card--thumb img { width: 100%; height: 120px; object-fit: cover; object-position: center top; background: #fff; }
.float-card__caption { font-family: var(--font-mono); font-size: 9px; color: var(--muted); padding: 6px 8px; border-top: 1px solid var(--border); }

/* Founder note */
.founder-wrap { padding: 0 40px 56px; max-width: var(--max-w); margin: -8px auto 0; }
.founder-note {
  background: var(--amber-bg);
  border: 1px solid var(--amber-border);
  border-radius: 8px;
  padding: 22px 28px;
  max-width: 720px;
  box-shadow: 0 8px 20px rgba(17,21,28,.05);
  font-family: var(--font-mono);
}
.founder-note p { font-size: 13.5px; line-height: 1.75; color: var(--amber-text); }
.founder-note__sign { font-size: 12px; color: var(--amber-sign); margin-top: 12px; }

/* Sections */
.section { padding: 72px 40px; }
.section--tint { background: var(--tint); }
.section--border { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section--dark { background: var(--dark-bg); }
.section__inner { max-width: var(--max-w); margin: 0 auto; }
.section__inner--narrow { max-width: 800px; }
.section h2 {
  font-size: 29px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 32px;
}
.section--dark h2, .on-dark { color: var(--dark-heading); }
.on-dark-muted { color: var(--dark-body); font-size: 15px; line-height: 1.65; }
.section__intro { font-size: 15px; color: var(--muted); max-width: 640px; margin-bottom: 28px !important; }
.text-center { text-align: center; }

.grid { display: grid; gap: 20px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); gap: 18px; }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 1px 2px rgba(17,21,28,.04);
}
.card__step { font-family: var(--font-mono); font-size: 13px; color: var(--accent); }
.card__image {
  height: 150px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--tint);
  overflow: hidden;
}
.card__image img { width: 100%; height: 100%; object-fit: cover; }
.card h3 { font-size: 15.5px; font-weight: 600; color: var(--ink); }
.card p { font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.grid--4 .card h3 { font-size: 16px; }

/* Split sections */
.section__inner--split {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
.section--split { padding: 72px 40px; }
.split__image {
  height: 320px;
  border: 1px solid var(--border);
  border-radius: 11px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(17,21,28,.08);
}
.split__image img { width: 100%; height: 100%; object-fit: cover; }
.split__image--dark {
  height: 400px;
  border-color: var(--dark-border);
  background: #fff;
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
}
.split__copy { display: flex; flex-direction: column; gap: 16px; }
.split__copy h2 { font-size: 29px; font-weight: 700; letter-spacing: -.02em; margin: 0; }
.split__copy p { font-size: 15px; line-height: 1.65; color: var(--muted); }
.split__note { font-size: 14px; border-left: 3px solid var(--accent); padding-left: 14px; }

.bullet-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-family: var(--font-mono); font-size: 13px; color: var(--dark-bullet); }
.bullet-list li { display: flex; gap: 10px; }
.bullet-list__arrow { color: var(--accent-dark); }

/* Gallery */
.gallery-item { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.gallery-item__image {
  height: 280px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(17,21,28,.06);
}
.gallery-item__image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.gallery-item figcaption { font-size: 13.5px; font-weight: 600; color: var(--ink); }

/* Dashed beta cards */
.dashed-card {
  border: 1px dashed var(--border-dashed);
  border-radius: 11px;
  padding: 22px;
  background: var(--page);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dashed-card__tag { font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: .1em; }
.dashed-card h3 { font-size: 16px; font-weight: 600; color: var(--ink); }
.dashed-card p { font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.beta__cta { margin-top: 24px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.beta__cta-note { font-family: var(--font-mono); font-size: 12px; color: var(--faint); }

/* Pricing */
.pricing__subhead { font-family: var(--font-mono); font-size: 12.5px; color: var(--faint); text-align: center; margin-bottom: 32px !important; }
.price-card {
  position: relative;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(17,21,28,.04);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.price-card--recommended {
  border: 2px solid var(--accent);
  box-shadow: 0 12px 30px rgba(37,99,235,.15);
}
.price-card__name { font-size: 17px; font-weight: 700; color: var(--ink); }
.price-card__price { font-family: var(--font-mono); font-size: 30px; font-weight: 600; color: var(--ink); }
.price-card__positioning { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.price-card__gating { font-size: 13.5px; color: var(--ink); line-height: 1.75; border-top: 1px solid var(--border); padding-top: 14px; }
.price-card .btn { margin-top: auto; }

/* FAQ */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.accordion-item { background: #fff; border: 1px solid var(--border); border-radius: 11px; }
.accordion-item__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
}
.accordion-item__q span:first-child { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.accordion-item__marker { font-family: var(--font-mono); color: var(--accent); font-size: 18px; flex-shrink: 0; }
.accordion-item__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .25s ease;
}
.accordion-item__a p { overflow: hidden; padding: 0 20px 0; font-size: 13.5px; line-height: 1.65; color: var(--muted); }
.accordion-item.is-open .accordion-item__a { grid-template-rows: 1fr; }
.accordion-item.is-open .accordion-item__a p { padding-bottom: 18px; }
@media (prefers-reduced-motion: reduce) {
  .accordion-item__a { transition: none; }
}

/* Final CTA */
.final-cta {
  padding: 72px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background: var(--dark-bg);
}
.final-cta h2 {
  font-size: 31px;
  font-weight: 700;
  color: var(--dark-heading);
  max-width: 620px;
  letter-spacing: -.02em;
}
.final-cta__highlight { background: linear-gradient(transparent 62%, rgba(37,99,235,.55) 62%); }
.final-cta__form { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.final-cta__form input {
  font-family: var(--font-sans);
  font-size: 14px;
  padding: 13px 16px;
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  width: 230px;
  background: var(--dark-inset);
  color: var(--dark-heading);
}
.final-cta__form input::placeholder { color: var(--faint); }
.final-cta__form .btn--primary { box-shadow: none; }

/* Footer */
.site-footer {
  padding: 32px 40px;
  background: var(--dark-bg);
  border-top: 1px solid var(--dark-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.logo--dark .logo__mark { width: 22px; height: 22px; }
.logo--dark .logo__word { font-size: 13px; color: var(--dark-heading); }
.footer-nav { display: flex; gap: 20px; font-size: 12px; }
.footer-nav a { color: var(--faint); }
.footer-nav a:hover { color: var(--dark-heading); }
.footer-copyright { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }

/* Responsive */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__shot { order: -1; max-width: 560px; margin: 0 auto; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--page);
    border-bottom: 1px solid var(--border);
    padding: 8px 40px 16px;
  }
  .site-header.nav-open .site-nav { display: flex; }
  .site-header.nav-open { background: rgba(251,252,253,.98); }
  .site-nav a { padding: 10px 0; border-bottom: none; }
  .site-nav a.is-active { color: var(--accent); }
  .nav-toggle { display: flex; }

  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .section__inner--split { grid-template-columns: 1fr; }
  .split__image, .split__image--dark { order: -1; height: 260px; }

  .hero__copy h1 { font-size: 38px; }
  .section h2 { font-size: 24px; }
  .final-cta h2 { font-size: 24px; }
}

@media (max-width: 560px) {
  .site-header__inner, .hero, .founder-wrap, .section, .section--split, .final-cta, .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero__copy h1 { font-size: 32px; }
  .float-card--stat { left: 0; }
  .float-card--thumb { display: none; }
  .final-cta__form { flex-direction: column; align-items: stretch; width: 100%; }
  .final-cta__form input { width: 100%; }
}
