/* ==========================================================================
   Vibeflow — website v2
   Single shared stylesheet. No build step. Order: tokens → base → layout →
   components → sections → responsive → motion/a11y.
   ========================================================================== */

/* --------------------------------------------------------------- tokens -- */
:root {
  --paper: #fbfaf8;
  --paper-2: #f4f1eb;
  --card: #ffffff;
  --ink: #14120e;
  --ink-2: #55514a;
  --ink-3: #6b665c;
  --line: #e5e1d8;
  --line-2: #d6d0c4;
  --accent: #2563eb;
  --accent-fill: #1d4ed8;
  --accent-fill-hover: #1e40af;
  --accent-ink: #1e40af;
  --accent-soft: #e8efff;
  --accent-ring: rgba(37, 99, 235, 0.22);
  --band-bg: #14120e;
  --band-fg: #fbfaf8;
  --band-fg-2: rgba(251, 250, 248, 0.76);
  --band-fg-3: rgba(251, 250, 248, 0.64);
  --band-line: rgba(255, 255, 255, 0.24);
  --code-bg: #14120e;
  --code-bg-2: #1f1c17;
  --code-ink: #f2efe9;
  --code-dim: #9c968c;
  --code-accent: #60a5fa;
  --ok: #4ade80;
  --ok-ink: #0f7b4f;
  --shadow-1:
    0 1px 2px rgba(20, 18, 14, 0.05), 0 1px 1px rgba(20, 18, 14, 0.04);
  --shadow-2:
    0 12px 28px -12px rgba(20, 18, 14, 0.16), 0 2px 6px rgba(20, 18, 14, 0.05);
  --shadow-3: 0 28px 60px -24px rgba(20, 18, 14, 0.28);

  /* One grotesk for display and body, one mono for code. Geist is drawn for
     developer interfaces and ships real italics (the hero <em> relies on it);
     Geist Mono is a purpose-built code face, so the page reads as one system. */
  --font-sans:
    "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  --font-mono:
    "Geist Mono", ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas,
    monospace;
  --font-display: var(--font-sans);

  --container: 1120px;
  --gutter: 24px;
  --radius: 14px;
  --radius-sm: 9px;
  --nav-h: 66px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121110;
    --paper-2: #1a1816;
    --card: #1d1b18;
    --ink: #f5f2ec;
    --ink-2: #b7b1a6;
    --ink-3: #948e82;
    --line: #302c27;
    --line-2: #423d36;
    --accent: #3b82f6;
    --accent-fill: #2563eb;
    --accent-fill-hover: #1d4ed8;
    --accent-ink: #93c5fd;
    --accent-soft: #16233f;
    --accent-ring: rgba(59, 130, 246, 0.28);
    --band-bg: #1c1a17;
    --band-fg: #f5f2ec;
    --band-fg-2: rgba(245, 242, 236, 0.8);
    --band-fg-3: rgba(245, 242, 236, 0.7);
    --code-bg: #0c0b0a;
    --code-bg-2: #171512;
    --ok-ink: #4ade80;
    --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-2:
      0 14px 30px -14px rgba(0, 0, 0, 0.7), 0 2px 6px rgba(0, 0, 0, 0.4);
    --shadow-3: 0 30px 64px -28px rgba(0, 0, 0, 0.8);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--accent-ink);
  text-decoration: none;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration: underline;
}

button {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.033em;
  line-height: 1.04;
}

p {
  margin: 0;
}

ul,
ol,
dl,
dd,
dt {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

code,
kbd,
pre,
samp {
  font-family: var(--font-mono);
  font-size: 0.875em;
}

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

.kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.lede--center {
  margin-inline: auto;
}

.list-tight {
  margin-top: 18px;
}

.faq--flush {
  border-top: 0;
}

code.code-inline {
  display: inline;
  margin: 0;
}

::selection {
  background: var(--accent);
  color: #fff;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 0 0 10px 0;
}

.skip-link:focus {
  left: 0;
}

/* --------------------------------------------------------------- layout -- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: 780px;
}

.section {
  padding-block: clamp(64px, 9vw, 116px);
}

.section--tight {
  padding-block: clamp(48px, 6vw, 76px);
}

.section--alt {
  background: var(--paper-2);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 720px;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 2px;
  flex: none;
}

.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.95rem, 3.8vw, 2.85rem);
  letter-spacing: -0.028em;
  line-height: 1.07;
}

.lede {
  margin-top: 18px;
  font-size: clamp(1.02rem, 1.6vw, 1.14rem);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 62ch;
}

/* ------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.16s ease,
    background-color 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.btn--primary {
  background: var(--accent-fill);
  color: #fff;
  box-shadow: var(--shadow-1);
}

.btn--primary:hover {
  background: var(--accent-fill-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-2);
}

.btn--ghost {
  background: var(--card);
  border-color: var(--line-2);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--ink-3);
  transform: translateY(-1px);
}

.btn--sm {
  padding: 9px 15px;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 16px 27px;
  font-size: 1rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ---------------------------------------------------------------- code -- */
.code {
  position: relative;
  background: var(--code-bg);
  color: var(--code-ink);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.75;
  overflow: hidden;
}

.code--pad {
  padding: 16px 18px;
}

.code__label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--code-dim);
  margin-bottom: 9px;
}

.code__prompt {
  color: var(--code-dim);
  user-select: none;
}

.code__cmd {
  color: var(--code-ink);
}

.code__flag {
  color: var(--ok);
}

.code__dim {
  color: var(--code-dim);
}

.code__out {
  color: var(--ok);
}

.copy {
  position: absolute;
  top: 9px;
  right: 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--code-dim);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    color 0.15s ease,
    border-color 0.15s ease,
    background-color 0.15s ease;
}

.copy:hover {
  color: var(--code-ink);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
}

.copy[data-copied="true"] {
  color: var(--ok);
  border-color: rgba(74, 222, 128, 0.4);
}

.copy svg {
  width: 13px;
  height: 13px;
}

.copy .i-done {
  display: none;
}

.copy[data-copied="true"] .i-copy {
  display: none;
}

.copy[data-copied="true"] .i-done {
  display: block;
}

/* code as inline token in prose */
.tok {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--card);
  font-size: 0.84em;
  color: var(--ink);
  white-space: nowrap;
}

/* ----------------------------------------------------------------- nav -- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.brand:hover {
  text-decoration: none;
}

.brand__mark {
  width: 26px;
  height: 26px;
  flex: none;
  /* The four-bar mark fills with currentColor; derive it from the accent token
     so the header mark stays the same product blue as the favicon. */
  color: var(--accent);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.nav__link {
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav__link:hover {
  color: var(--ink);
  text-decoration: none;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.nav__gh {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav__gh:hover {
  color: var(--ink);
  text-decoration: none;
}

.nav__gh svg {
  width: 18px;
  height: 18px;
}

.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 9px;
  background: var(--card);
  cursor: pointer;
}

.nav__toggle svg {
  width: 18px;
  height: 18px;
}

.nav__mobile {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.nav__mobile ul {
  display: grid;
  padding-block: 8px 16px;
}

.nav__mobile a {
  display: block;
  padding: 11px 2px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.98rem;
  font-weight: 500;
}

.nav__mobile a:hover {
  color: var(--ink);
  text-decoration: none;
}

/* ---------------------------------------------------------------- hero -- */
.hero {
  position: relative;
  padding-block: clamp(52px, 7vw, 88px) clamp(56px, 8vw, 96px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 70%;
  background: radial-gradient(
    58% 62% at 22% 0%,
    var(--accent-ring) 0%,
    transparent 62%
  );
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--card);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-2);
  box-shadow: var(--shadow-1);
}

.hero__badge b {
  color: var(--ink);
  font-weight: 600;
}

.pulse {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

h1.hero__title {
  margin-top: 26px;
  font-size: clamp(2.7rem, 6.6vw, 4.35rem);
}

.hero__title em {
  font-style: italic;
  color: var(--accent);
}

.hero__sub {
  margin-top: 22px;
  max-width: 34ch;
  font-size: clamp(1.05rem, 1.9vw, 1.22rem);
  line-height: 1.55;
  color: var(--ink-2);
}

.hero__cta {
  margin-top: 30px;
}

.hero__note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--ink-3);
}

.hero__note span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero__note svg {
  width: 14px;
  height: 14px;
  color: var(--ok-ink);
  flex: none;
}

/* hero product visual ---------------------------------------------------- */
.stage {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper-2);
  box-shadow: var(--shadow-2);
}

.window {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow-1);
}

.window__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}

.window__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-2);
  flex: none;
}

.window__url {
  margin-left: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-3);
}

.mock {
  padding: 18px;
}

.mock__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
}

.mock__nav span {
  font-weight: 500;
  color: var(--ink-3);
  font-size: 0.72rem;
}

.mock__h {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 1.35rem;
  line-height: 1.15;
  color: var(--ink);
}

.mock__p {
  margin-top: 5px;
  font-size: 0.76rem;
  color: var(--ink-3);
}

.mock__row {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.mock__input {
  flex: 1;
  padding: 9px 11px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  font-size: 0.74rem;
  color: var(--ink-3);
  background: var(--paper);
}

.mock__btn {
  position: relative;
  padding: 9px 15px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
}

.mock__btn--target {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.pin {
  position: absolute;
  top: -10px;
  right: -10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  border-radius: 50% 50% 50% 2px;
  background: var(--accent-fill);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  border: 2px solid var(--card);
}

.pin--flat {
  position: static;
  border-color: transparent;
}

.mock__tip {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px dashed var(--accent);
  border-radius: 9px;
  background: var(--accent-soft);
  font-size: 0.74rem;
  color: var(--ink-2);
}

.mock__tip b {
  color: var(--ink);
  font-weight: 600;
}

.stage__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.stage__arrow::before,
.stage__arrow::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line-2);
}

.task {
  background: var(--code-bg);
  border-radius: 12px;
  padding: 15px 17px 17px;
  color: var(--code-ink);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  line-height: 1.7;
  overflow: hidden;
}

.task__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-bottom: 11px;
  margin-bottom: 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.task__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  flex: none;
}

.task__id {
  color: var(--code-dim);
  font-size: 0.68rem;
  margin-left: auto;
}

/* key/value rows shared by the hero task panel and the code blocks */
.kv {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 2px 14px;
}

.kv__k {
  color: var(--code-dim);
}

.kv__v {
  color: var(--code-ink);
  overflow-wrap: anywhere;
}

.kv__v--hi {
  color: var(--code-accent);
  font-weight: 700;
}

.task__foot {
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--ok);
}

/* --------------------------------------------------------- trust strip -- */
.trust {
  border-block: 1px solid var(--line);
  background: var(--paper-2);
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust__item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 20px 22px;
  border-left: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink-2);
}

.trust__item:first-child {
  border-left: 0;
}

.trust__item b {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.trust__item svg {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  color: var(--accent);
  flex: none;
}

/* --------------------------------------------------------------- pains -- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.pains {
  display: grid;
  border-top: 1px solid var(--line);
}

.pain {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.pain__n {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-ink);
  padding-top: 3px;
}

.pain__t {
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.pain__d {
  margin-top: 7px;
  font-size: 0.94rem;
  color: var(--ink-2);
}

/* --------------------------------------------------------------- steps -- */
.steps {
  display: grid;
  gap: 0;
  margin-top: 12px;
}

.step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding-block: clamp(30px, 4vw, 46px);
  border-bottom: 1px solid var(--line);
}

.step:last-child {
  border-bottom: 0;
}

.step__top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.step__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  flex: none;
}

.step__kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.step__title {
  margin-top: 14px;
  font-size: clamp(1.35rem, 2.4vw, 1.72rem);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.step__body {
  margin-top: 12px;
  font-size: 0.97rem;
  color: var(--ink-2);
  max-width: 52ch;
}

.step__body + .step__body {
  margin-top: 10px;
}

/* ---------------------------------------------------------- features ---- */
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 46px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature {
  background: var(--card);
  padding: 26px 24px 28px;
}

.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  margin-bottom: 16px;
}

.feature__icon svg {
  width: 18px;
  height: 18px;
}

.feature__t {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.feature__d {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--ink-2);
}

/* --------------------------------------------------------- screenshot --- */
.shot {
  margin-top: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
  padding: 12px;
  box-shadow: var(--shadow-3);
}

.shot__frame {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0f0e0c;
}

.shot__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  background: #171512;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.shot__bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  flex: none;
}

.shot__bar em {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.7rem;
  color: #8f8a80;
}

.shot picture {
  display: block;
}

.shot img {
  width: 100%;
  display: block;
}

.shot__cap {
  margin-top: 14px;
  font-size: 0.83rem;
  color: var(--ink-3);
  text-align: center;
}

/* ------------------------------------------------------------- chips ---- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.chips--center {
  justify-content: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--card);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  box-shadow: var(--shadow-1);
}

.chip svg {
  width: 15px;
  height: 15px;
  color: var(--ink-3);
  flex: none;
}

.prompt {
  margin-top: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-1);
}

.prompt__t {
  font-size: clamp(1.15rem, 2vw, 1.42rem);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.022em;
}

.prompt__d {
  margin-top: 10px;
  font-size: 0.93rem;
  color: var(--ink-2);
}

/* ------------------------------------------------------------ install --- */
.install {
  background: var(--code-bg);
  color: var(--code-ink);
}

.install .eyebrow,
.install .lede {
  color: var(--code-dim);
}

.install .eyebrow::before {
  background: var(--code-accent);
}

.install__title {
  color: var(--code-ink);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.028em;
  font-size: clamp(1.95rem, 3.8vw, 2.85rem);
}

.install__main {
  /* the .copy button is absolutely positioned — it needs this ancestor,
     otherwise it anchors to the viewport and hides behind the sticky nav */
  position: relative;
  margin-top: 40px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: var(--code-bg-2);
}

.install__main code {
  display: block;
  font-size: clamp(0.86rem, 1.9vw, 1.08rem);
  color: var(--code-ink);
  overflow-wrap: anywhere;
}

.install__label {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--code-dim);
}

.install__opts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.install__opt {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.03);
}

.install__opt h3 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--code-ink);
  font-family: var(--font-sans);
  letter-spacing: 0;
}

.install__opt code {
  display: block;
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--code-accent);
  overflow-wrap: anywhere;
}

/* inline token inside the install band must not render as a white pill */
.install__opt code.code-inline {
  display: inline;
  margin: 0;
}

.install .tok {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: var(--code-ink);
}

.install__opt p {
  margin-top: 9px;
  font-size: 0.82rem;
  color: var(--code-dim);
}

.install__foot {
  margin-top: 26px;
  font-size: 0.85rem;
  color: var(--code-dim);
}

/* ----------------------------------------------------------- for who ---- */
.for {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 44px;
}

.for__card {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-1);
}

.for__card--hi {
  border-color: var(--accent);
  box-shadow: var(--shadow-2);
}

.for__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.for__t {
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.022em;
}

.for__s {
  margin-top: 8px;
  font-size: 0.93rem;
  color: var(--ink-2);
}

.tag {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tag--neutral {
  background: var(--paper-2);
  color: var(--ink-3);
}

.for__list {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.for__list li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 11px;
  font-size: 0.93rem;
  color: var(--ink-2);
}

.for__list svg {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  color: var(--ok-ink);
}

.for__price {
  margin-top: auto;
  padding-top: 26px;
}

.for__price b {
  display: block;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.for__price span {
  display: block;
  margin-top: 4px;
  font-size: 0.84rem;
  color: var(--ink-3);
}

/* ---------------------------------------------------------------- faq --- */
.faq {
  display: grid;
  margin-top: 40px;
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q:hover {
  color: var(--accent-ink);
}

.faq__q svg {
  width: 19px;
  height: 19px;
  flex: none;
  color: var(--ink-3);
  transition: transform 0.22s ease;
}

details[open] .faq__q svg {
  transform: rotate(180deg);
}

.faq__a {
  padding: 0 0 24px;
  max-width: 74ch;
  font-size: 0.95rem;
  color: var(--ink-2);
}

.faq__a p + p {
  margin-top: 12px;
}

/* ---------------------------------------------------------------- cta --- */
.cta {
  padding-block: clamp(64px, 8vw, 104px);
  background: var(--band-bg);
  color: var(--band-fg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -60%;
  width: 620px;
  height: 420px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--accent-ring), transparent);
  pointer-events: none;
}

.cta__inner {
  position: relative;
  max-width: 720px;
  margin-inline: auto;
}

.cta__t {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.6vw, 3.3rem);
  letter-spacing: -0.033em;
}

.cta__t em {
  font-style: italic;
  color: var(--accent);
}

.cta__d {
  margin-top: 20px;
  font-size: 1.02rem;
  color: var(--band-fg-2);
}

.cta .btn-row {
  justify-content: center;
  margin-top: 30px;
}

.cta .btn--ghost {
  background: transparent;
  border-color: var(--band-line);
  color: var(--band-fg);
}

.cta .btn--ghost:hover {
  border-color: var(--band-fg);
}

.cta__note {
  margin-top: 22px;
  font-size: 0.85rem;
  color: var(--band-fg-3);
}

/* ------------------------------------------------------------ footer --- */
.footer {
  padding-block: 54px 40px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.8fr));
  gap: 36px;
}

.footer__tag {
  margin-top: 16px;
  max-width: 32ch;
  font-size: 0.88rem;
  color: var(--ink-3);
}

.footer h2 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.footer__list {
  margin-top: 16px;
  display: grid;
  gap: 11px;
}

.footer__list a {
  color: var(--ink-2);
  font-size: 0.9rem;
}

.footer__list a:hover {
  color: var(--ink);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.83rem;
  color: var(--ink-3);
}

.footer__bottom a {
  color: var(--ink-3);
}

/* ------------------------------------------------------- doc / tutorial -- */
.doc-hero {
  padding-block: clamp(48px, 6vw, 76px) clamp(30px, 4vw, 46px);
}

.doc-hero h1 {
  font-size: clamp(2.35rem, 5.4vw, 3.6rem);
  max-width: 18ch;
}

.doc-hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  color: var(--ink-3);
  margin-bottom: 22px;
}

.crumbs a {
  color: var(--ink-3);
}

.crumbs [aria-hidden] {
  color: var(--ink-3);
}

.crumbs__current {
  color: var(--ink);
  font-weight: 500;
}

.reqs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.req {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.req__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 6px;
  background: var(--accent);
}

.req--rec .req__dot {
  background: var(--line-2);
}

.req__k {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.req__t {
  margin-top: 9px;
  font-size: 1rem;
  font-weight: 600;
}

.req__d {
  margin-top: 8px;
  font-size: 0.91rem;
  color: var(--ink-2);
}

.doc-section {
  padding-block: clamp(44px, 6vw, 72px);
  border-top: 1px solid var(--line);
}

.doc-section__head {
  max-width: 660px;
}

/* table ------------------------------------------------------------------ */
.table-wrap {
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th {
  padding: 13px 20px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}

td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--ink-2);
}

tr:last-child td {
  border-bottom: 0;
}

td:first-child {
  width: 260px;
}

td code {
  font-size: 0.82rem;
  color: var(--ink);
  overflow-wrap: anywhere;
}

td b {
  color: var(--ink);
}

.tbl-group td {
  padding: 10px 20px;
  background: var(--paper-2);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* steps in doc (stacked cards) ------------------------------------------- */
.docstep {
  padding-block: clamp(28px, 4vw, 40px);
  border-bottom: 1px solid var(--line);
}

.docstep:last-of-type {
  border-bottom: 0;
}

.docstep__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: start;
}

/* --------------------------------------------------------------- motion - */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal {
    opacity: 0;
    transform: translateY(14px);
  }

  html.js .reveal.is-in {
    opacity: 1;
    transform: none;
    transition:
      opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .pulse::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2.6s ease-out infinite;
  }

  @keyframes pulse {
    0% {
      transform: scale(1);
      opacity: 0.55;
    }
    70%,
    100% {
      transform: scale(3.2);
      opacity: 0;
    }
  }

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

/* ---------------------------------------------------------- responsive -- */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .hero__sub {
    max-width: 46ch;
  }

  .stage {
    max-width: 620px;
    margin-inline: auto;
  }

  .split,
  .prompt {
    grid-template-columns: minmax(0, 1fr);
  }

  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .install__opts {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .trust__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust__item:nth-child(3) {
    border-left: 0;
  }

  .trust__item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 860px) {
  html.js .nav__links {
    display: none;
  }

  html.js .nav__gh {
    display: none;
  }

  /* the toggle only works with app.js, so it is JS-gated like the links */
  html.js .nav__toggle {
    display: inline-flex;
  }

  /* both nav controls stay at the 44px touch minimum */
  .nav .btn--sm {
    min-height: 44px;
  }

  html.js .nav__mobile.is-open {
    display: block;
  }

  .step,
  .docstep__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .reqs,
  .for {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 18px;
  }

  .features {
    grid-template-columns: minmax(0, 1fr);
  }

  .trust__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .trust__item {
    border-left: 0;
    padding: 15px 2px;
  }

  .trust__item:nth-child(n + 2) {
    border-top: 1px solid var(--line);
  }

  .footer__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .pain {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
  }

  .hero__badge {
    align-items: flex-start;
  }

  .hero__badge .pulse {
    margin-top: 7px;
  }

  .task__head {
    row-gap: 3px;
  }

  .task__id {
    margin-left: 0;
    flex-basis: 100%;
  }

  .btn-row .btn {
    width: 100%;
  }

  .hero__note {
    gap: 6px 14px;
  }

  .shot {
    padding: 8px;
  }

  /* the command table stacks into cards instead of scrolling sideways */
  .table-wrap {
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
  }

  table,
  tbody,
  tr,
  td,
  td:first-child {
    display: block;
    width: auto;
  }

  table {
    min-width: 0;
    font-size: 0.89rem;
  }

  thead {
    display: none;
  }

  tbody tr:not(.tbl-group) {
    margin-bottom: 12px;
    padding: 6px 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--card);
  }

  tbody td {
    border-bottom: 0;
    padding: 8px 16px;
  }

  tbody tr:not(.tbl-group) td:first-child {
    padding-bottom: 4px;
  }

  tbody tr:not(.tbl-group) td:first-child code {
    font-size: 0.86rem;
    font-weight: 500;
  }

  .tbl-group td {
    padding: 18px 2px 8px;
    background: transparent;
  }

  /* long commands wrap at this width; the hanging indent keeps a wrapped
     continuation distinguishable from the next line of the block */
  .code > div {
    padding-left: 1.4ch;
    text-indent: -1.4ch;
  }
}

/* -------------------------------------------------- cookie consent -- */
/* Small, macOS-style permission toast: text + buttons, bottom-right. */
.vf-consent {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  display: none;                     /* hidden until aria-hidden="false" */
  flex-direction: column;
  gap: 14px;
  padding: 14px 16px;
  max-width: min(420px, calc(100vw - 48px));
  background: color-mix(in srgb, var(--card) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-1);
  font-family: var(--font-sans);
  transform-origin: bottom right;
}

.vf-consent[aria-hidden="false"] {
  display: flex;
  animation: consent-in 0.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}


@keyframes consent-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.vf-consent__text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
  white-space: normal;
}

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

.vf-consent__actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.vf-consent__accept {
  background: var(--accent-fill);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: background 0.15s;
  line-height: 1;
  white-space: nowrap;
}

.vf-consent__accept:hover {
  background: var(--accent-fill-hover);
}

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

.vf-consent__dismiss {
  background: none;
  border: none;
  color: var(--ink-3);
  font-size: 13px;
  font-family: var(--font-sans);
  cursor: pointer;
  padding: 6px 8px;
  text-decoration: underline;
  text-underline-offset: 2px;
  line-height: 1;
  white-space: nowrap;
}

.vf-consent__dismiss:hover {
  color: var(--ink);
}

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

@media (max-width: 640px) {
  .vf-consent {
    left: 16px;
    right: 16px;
    bottom: 16px;
    top: auto;
    max-width: none;
    padding: 14px 14px;
    gap: 12px;
    transform-origin: bottom center;
  }

  .vf-consent__accept {
    padding: 5px 12px;
  }

  .vf-consent__dismiss {
    padding: 5px 4px;
  }

  .vf-consent[aria-hidden="false"] {
    animation-name: consent-in-up;
  }

  @keyframes consent-in-up {
    from {
      opacity: 0;
      transform: translateY(16px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .vf-consent[aria-hidden="false"] {
    animation: none;
    opacity: 1;
  }
}
