
.mkt {
  --mkt-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  /* Shared "state change" timing (accordion chevron, quiet toggles). */
  --t-state: 220ms var(--mkt-ease-out);
  --mkt-maxw: 1200px;
  --mkt-gutter: 24px;
  --mkt-sec-gap: 112px;
  /* Resolve the marketing font families here, where the next/font variables
     are in scope (Tailwind v4 doesn't emit these @theme tokens to :root
     because their values reference other custom properties). */
  --font-mkt-display: var(--font-switzer), "Inter Tight", Inter, -apple-system, "Helvetica Neue", sans-serif;
  --font-mkt-sans: var(--font-inter), -apple-system, "Helvetica Neue", "Segoe UI", Roboto, sans-serif;
  --font-mkt-mono: var(--font-fragment), "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  background: var(--color-mkt-paper);
  color: var(--color-mkt-ink);
  font-family: var(--font-mkt-sans);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  position: relative;
}
@media (min-width: 768px) {
  .mkt { --mkt-gutter: 40px; --mkt-sec-gap: 144px; }
}
.mkt *, .mkt *::before, .mkt *::after { box-sizing: border-box; }
.mkt ::selection { background: var(--color-mkt-focus-ring); color: inherit; }
/* Zero-specificity link reset so component classes (buttons, chips) always win. */
:where(.mkt a) { color: inherit; text-decoration: none; }

.mkt-wrap { max-width: var(--mkt-maxw); margin: 0 auto; padding-inline: var(--mkt-gutter); }
.mkt-section { padding-block: var(--mkt-sec-gap); position: relative; }
/* a page's closing section sits closer to the footer than mid-page rhythm */
.mkt-tail-tight .mkt-section { padding-block-end: 48px; }
.mkt-divider { height: 1px; background: var(--color-mkt-hairline); }
.mkt-sec-head { max-width: 52rem; margin-bottom: 40px; }

.mkt-eyebrow {
  font-family: var(--font-mkt-sans); font-size: 13px; line-height: 1; letter-spacing: 0.01em;
  color: var(--color-mkt-ink2); display: inline-flex; align-items: center; gap: 0.5ch; font-weight: 600;
}

/* Shared page-hero type roles, so /features and /pricing render an identical h1
   and lead (and stay identical to the landing's system). One definition = no
   cross-page drift. */
.mkt-h1 {
  font-family: var(--font-mkt-display); font-size: clamp(2.5rem, 5.8vw, 4.25rem); font-weight: 300;
  line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; margin: 0;
}
.mkt-lead {
  font-family: var(--font-mkt-sans); font-size: clamp(1.15rem, 1.5vw, 1.3rem); line-height: 1.55;
  color: var(--color-mkt-ink2); letter-spacing: -0.005em; max-width: 60ch; margin: 20px 0 0;
}

.mkt-h2 {
  font-family: var(--font-mkt-display); font-size: clamp(2rem, 3.6vw, 2.75rem); font-weight: 300;
  line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; margin: 0;
}

/* ---- focus ring: the brand moment, everywhere ---- */
.mkt :focus-visible { outline: none; }
.mkt a:focus-visible, .mkt button:focus-visible, .mkt [tabindex]:focus-visible,
.mkt input:focus-visible, .mkt textarea:focus-visible, .mkt select:focus-visible {
  outline: 2px solid var(--color-mkt-focus); outline-offset: 2px; border-radius: 6px;
}
/* Fillo-rendered forms own their focus system (border swap + ring set) — the
   marketing ring must not stack a second, per-tag-inconsistent treatment on
   top (it hit input/select but not textarea, and snapped border-radius).
   revert-layer hands the decision back to the SDK's layered styles. */
.mkt .fillo-form :is(input, textarea, select, button, a, [tabindex]):focus-visible {
  outline: revert-layer;
  outline-offset: revert-layer;
  border-radius: revert-layer;
}

/* ---- buttons ---- */
.mkt-btn-primary {
  background: var(--color-mkt-ink); color: var(--color-mkt-paper);
  border: 1px solid transparent; white-space: nowrap; cursor: pointer;
  letter-spacing: -0.01em;
  transition: transform 120ms var(--mkt-ease-out), box-shadow 180ms var(--mkt-ease-out), opacity 180ms var(--mkt-ease-out);
}
.mkt-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14); }
.mkt-btn-primary:active { transform: none; box-shadow: none; }
.mkt-btn-ghost { color: var(--color-mkt-ink2); cursor: pointer; transition: color 180ms, background 180ms; }
.mkt-btn-ghost:hover { color: var(--color-mkt-ink); background: rgba(127, 127, 127, 0.06); }
/* underlined text link (hero/CTA fallbacks) — a shared primitive kept scoped:
   it must beat the zero-specificity :where(.mkt a) text-decoration reset, which
   a Tailwind utility (layered) cannot. */
.mkt-flink { color: var(--color-mkt-ink2); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--color-mkt-hairline-strong); }
.mkt-flink:hover { color: var(--color-mkt-ink); text-decoration-color: var(--color-mkt-ink); }

/* ---- command chip ---- */
.mkt-chip {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%; min-width: 0;
  font-family: var(--font-mkt-mono); font-size: 13px; line-height: 1;
  border: 1px solid var(--color-mkt-hairline-strong); border-radius: 12px;
  background: var(--color-mkt-surface); color: var(--color-mkt-ink); padding: 11px 13px;
  cursor: pointer; text-align: left;
  transition: border-color 180ms, box-shadow 240ms;
}
.mkt-chip:hover { border-color: var(--color-mkt-ink); }
.mkt-chip.is-copied { box-shadow: 0 0 0 3px var(--color-mkt-focus-ring); border-color: var(--color-mkt-focus); }
.mkt-chip-dollar { color: var(--color-mkt-ink3); }
.mkt-chip-cmd { color: var(--color-mkt-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.mkt-chip-glyph { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--color-mkt-ink3); flex: 0 0 auto; }
.mkt-chip-glyph svg { width: 14px; height: 14px; }
.mkt-chip.is-copied .mkt-chip-glyph { color: var(--color-mkt-ink); }
.mkt-chip-lbl { display: inline-block; min-width: calc(6ch + 3px); font-size: 11px; letter-spacing: 0.04em; }

/* ---- nav ---- */
.mkt-nav {
  position: sticky; top: 0; z-index: 60; background: var(--color-mkt-paper);
  border-bottom: 1px solid transparent;
  transition: border-color 180ms, box-shadow 180ms;
}
.mkt-nav.is-scrolled { border-bottom-color: var(--color-mkt-hairline); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03); }

/* ---- links region: one row at every width. A nowrap horizontal scroller with a
   hidden scrollbar; the edge-fade mask is applied by JS (data-fade) only while
   the region actually overflows, and only on the side(s) it can scroll toward.
   The wordmark and CTA outside it never shrink. ---- */
/* The inter-link gap lives here (unlayered, explicit px) rather than on Tailwind
   spacing utilities, so it can never collapse if the utility layer or the
   --spacing theme var fails to resolve on this scope: 14px mobile scroller,
   20px once the row centers at >=680px. */
.mkt-nav-links { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; column-gap: 14px; }
@media (min-width: 680px) { .mkt-nav-links { column-gap: 20px; } }
.mkt-nav-links::-webkit-scrollbar { display: none; }
.mkt-nav-links[data-fade="both"] {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
}
.mkt-nav-links[data-fade="left"] {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 100%);
}
.mkt-nav-links[data-fade="right"] {
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 16px), transparent 100%);
  mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 16px), transparent 100%);
}
.mkt-nav-link { white-space: nowrap; }
/* From 768px the links are TRULY centered on the bar (not just in the leftover
   flex space, which sat ~97px off because the CTA cluster is wider than the
   wordmark). The full-width sticky .mkt-nav is the positioning context, so
   left:50% is the viewport midline; translateX(-50%) centers the content-width
   group on it, and the CTA cluster is pushed to the end with margin-left:auto.
   Below 768px the links stay in flow (justify-center): a viewport-centered group
   would collide with the wider CTA cluster there, so flow is the collision-safe
   fallback. */
@media (min-width: 768px) {
  .mkt-nav-links--center { position: absolute; left: 50%; transform: translateX(-50%); width: auto; }
  .mkt-nav-cta { margin-left: auto; }
}

/* ============================================================ HERO
   Text + layout migrated to Tailwind utilities on Hero.tsx (+ the shared
   .mkt-flink fallback links). Only the command-chip size override stays scoped:
   a context override of the shared .mkt-chip primitive that a layered utility
   can't beat. The product scene (.mkt-scene/.mkt-well/.mkt-appwin/.mkt-term +
   the SDK form + staged choreography) stays scoped below. */
.mkt-hero-chip { height: 48px; padding: 0 14px; border-radius: 12px; }

/* ---- grain art ---- */
.mkt-grain-svg { position: absolute; width: 0; height: 0; pointer-events: none; }
.mkt-grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  filter: url(#fillo-grain); opacity: 0.2; mix-blend-mode: overlay; border-radius: inherit;
}
@media (prefers-color-scheme: dark) { :root:not([data-color-scheme="light"]) .mkt-grain { mix-blend-mode: soft-light; opacity: 0.26; } }
:root[data-color-scheme="dark"] .mkt-grain { mix-blend-mode: soft-light; opacity: 0.26; }

/* ---- hero product scene ---- */
.mkt-scene { position: relative; margin-top: clamp(36px, 5.5vw, 60px); }
.mkt-well {
  position: relative; background: var(--color-mkt-fill); border-radius: 28px;
  padding: clamp(22px, 4.5vw, 56px) clamp(16px, 3.4vw, 48px) clamp(24px, 3.4vw, 48px);
}
.mkt-well-bloom {
  position: absolute; left: 5%; right: 5%; top: -2%; height: 66%; z-index: 0; pointer-events: none;
  border-radius: 44px; overflow: hidden;
  background:
    radial-gradient(72% 100% at 50% 0%, color-mix(in srgb, var(--color-mkt-art-ultra) 46%, transparent), transparent 72%),
    radial-gradient(54% 90% at 24% 2%, color-mix(in srgb, var(--color-mkt-art-lilac) 56%, transparent), transparent 74%),
    radial-gradient(52% 86% at 78% 8%, color-mix(in srgb, var(--color-mkt-art-lilac) 34%, transparent), transparent 74%);
  -webkit-mask-image: radial-gradient(80% 100% at 50% 0%, #000 24%, transparent 80%);
  mask-image: radial-gradient(80% 100% at 50% 0%, #000 24%, transparent 80%);
}

.mkt-appwin {
  position: relative; z-index: 1; background: var(--color-mkt-surface);
  border: 1px solid var(--color-mkt-hairline-strong); border-radius: 20px; box-shadow: var(--shadow-mkt-elev);
}
.mkt-appwin-redact {
  height: 46px; display: flex; align-items: center; gap: 10px; padding: 0 clamp(16px, 2vw, 22px);
  border-bottom: 1px solid var(--color-mkt-hairline); border-radius: 20px 20px 0 0; background: var(--color-mkt-surface);
}
.mkt-redact-bar { height: 8px; width: 104px; border-radius: 9999px; background: color-mix(in srgb, var(--color-mkt-ink) 15%, transparent); }
.mkt-redact-bar--sm { width: 62px; background: color-mix(in srgb, var(--color-mkt-ink) 9%, transparent); }
.mkt-appwin-main { position: relative; padding: clamp(18px, 2.4vw, 26px) clamp(18px, 2.6vw, 30px); display: flex; flex-direction: column; }

/* ---- floating agent terminal (decorative — never intercepts the form) ---- */
.mkt-term {
  position: absolute; z-index: 3; right: -24px; bottom: 16px; width: 264px; pointer-events: none;
  background: var(--color-mkt-code-bg); border: 1px solid var(--color-mkt-code-hairline);
  border-radius: 14px; box-shadow: var(--shadow-mkt-term); overflow: hidden;
}
.mkt-term-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--color-mkt-code-hairline); }
.mkt-term-dots { display: flex; gap: 7px; }
.mkt-term-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--color-mkt-code-ink3); opacity: 0.7; }
.mkt-term-label { font-family: var(--font-mkt-mono); font-size: 11px; color: var(--color-mkt-code-ink2); letter-spacing: 0.04em; }
.mkt-badge {
  margin-left: auto; min-width: 132px; justify-content: center; display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mkt-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--color-mkt-code-ink2); border: 1px solid var(--color-mkt-code-hairline); border-radius: 9999px;
  padding: 5px 11px; line-height: 1; white-space: nowrap;
}
.mkt-badge.is-live { color: var(--color-mkt-code-ink); }
.term-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-mkt-focus); animation: mktPulse 1.6s var(--mkt-ease-out) infinite; }
@keyframes mktPulse { 0% { box-shadow: 0 0 0 0 var(--color-mkt-focus-ring); } 70% { box-shadow: 0 0 0 6px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.mkt-term-body { height: 122px; overflow: hidden; padding: 12px 14px; }
.mkt-term-body pre {
  margin: 0; font-family: var(--font-mkt-mono); font-size: 12.5px; line-height: 1.62;
  color: var(--color-mkt-code-ink); white-space: pre-wrap; word-break: break-word;
}
.mkt-term-body .u { color: var(--color-mkt-code-ink); }
.mkt-term-body .cmd { color: var(--color-mkt-code-ink); }
.mkt-term-body .plus { color: var(--color-mkt-code-str); }
.mkt-term-body .ok { color: var(--color-mkt-valid); }
.term-cursor { display: inline-block; width: 7px; height: 1.02em; background: var(--color-mkt-code-caret); transform: translateY(0.16em); animation: mktBlink 1.1s steps(1) infinite; }
@keyframes mktBlink { 50% { opacity: 0; } }

.mkt-scene-controls { display: flex; align-items: center; justify-content: flex-end; margin-top: 16px; }
.mkt-replay {
  display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px;
  border: 1px solid var(--color-mkt-hairline-strong); border-radius: 9999px; background: transparent;
  font-size: 12px; font-weight: 500; cursor: pointer; color: var(--color-mkt-ink2);
  transition: border-color 180ms, color 180ms;
}
.mkt-replay:hover { border-color: var(--color-mkt-ink); color: var(--color-mkt-ink); }
.mkt-replay svg { width: 13px; height: 13px; }

:root { --color-mkt-brand: #7c63ea; } /* defined here, not only in @theme: Tailwind prunes tokens no utility references */
/* ---- contact dialog (a real Fillo form, of course) -------------- */
.mkt-dialog-overlay { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  padding: 20px; background: color-mix(in srgb, #0b0c0f 44%, transparent); }
.mkt-dialog { width: 100%; max-width: 460px; max-height: calc(100dvh - 40px); overflow-y: auto;
  background: var(--color-mkt-paper); border-radius: 24px; padding: 26px 26px 22px;
  box-shadow: 0 32px 80px -24px rgba(8, 10, 14, 0.35); }
.mkt-dialog-head { display: flex; align-items: center; justify-content: space-between; }
.mkt-dialog-head h2 { font-family: var(--font-mkt-display); font-size: 24px; font-weight: 300; letter-spacing: -0.02em; }
.mkt-dialog-x { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px;
  border: 1px solid var(--color-mkt-hairline-strong); color: var(--color-mkt-ink2); background: none; cursor: pointer; }
.mkt-dialog-x:hover { color: var(--color-mkt-ink); border-color: var(--color-mkt-ink); }
.mkt-dialog-sub { margin-top: 6px; font-size: 13.5px; line-height: 1.5; color: var(--color-mkt-ink3); }
.mkt-dialog-fillo { margin-top: 18px; }
.mkt-dialog-alt { margin-top: 14px; font-size: 12.5px; color: var(--color-mkt-ink3); }
.mkt-dialog-alt a { color: var(--color-mkt-ink2); text-decoration: underline; text-underline-offset: 2px; }
/* dark: the panel elevates off the dimmed page (surface + hairline), controls
   get a touch of light so they separate from the panel */
@media (prefers-color-scheme: dark) {
  :root:not([data-color-scheme="light"]) .mkt-dialog { background: #16181f; border: 1px solid rgba(245, 247, 250, 0.12); }
  :root:not([data-color-scheme="light"]) .mkt .mkt-dialog-fillo.fillo-form { --fillo-control-bg: rgba(255, 255, 255, 0.05); }
}
:root[data-color-scheme="dark"] .mkt-dialog { background: #16181f; border: 1px solid rgba(245, 247, 250, 0.12); }
:root[data-color-scheme="dark"] .mkt .mkt-dialog-fillo.fillo-form { --fillo-control-bg: rgba(255, 255, 255, 0.05); }
.mkt .mkt-dialog-fillo.fillo-form { --fillo-primary: var(--color-mkt-focus); --fillo-primary-contrast: #ffffff;
  --fillo-text: var(--color-mkt-ink); --fillo-muted: var(--color-mkt-ink3); --fillo-border: var(--color-mkt-hairline-strong);
  --fillo-error: var(--color-mkt-invalid); --fillo-radius: 10px; --fillo-control-bg: var(--color-mkt-surface); }

/* ---- the Fillo mark (toggle F, resting on) --------------------- */
.fmark .fmark-row { fill: var(--color-mkt-ink); }
.fmark .fmark-track { fill: var(--color-mkt-brand); }
.fmark .fmark-knob { fill: #fcfbfa; }
.fmark.fmark-onink .fmark-row { fill: #fcfbfa; }
/* flip: off (dim ink), dwell, slowly back on. plays on mount + group hover */
@keyframes fmark-flip {
  0% { transform: translateX(0); }
  30% { transform: translateX(-26.6px); }
  52% { transform: translateX(-26.6px); }
  88% { transform: translateX(0); }
  100% { transform: translateX(0); }
}
@keyframes fmark-track {
  0%, 100% { fill: var(--color-mkt-brand); opacity: 1; }
  30%, 52% { fill: var(--color-mkt-ink); opacity: 0.3; }
  88% { fill: var(--color-mkt-brand); opacity: 1; }
}
.fmark.fmark-anim.fmark-enter .fmark-knob,
.group:hover .fmark.fmark-anim .fmark-knob { animation: fmark-flip 2300ms cubic-bezier(0.45, 0, 0.15, 1) 1 both; }
.fmark.fmark-anim.fmark-enter .fmark-track,
.group:hover .fmark.fmark-anim .fmark-track { animation: fmark-track 2300ms cubic-bezier(0.45, 0, 0.15, 1) 1 both; }
@media (prefers-reduced-motion: reduce) {
  .fmark .fmark-knob, .fmark .fmark-track { animation: none !important; }
}

/* SDK primary buttons are ink everywhere in the mkt scope: the single
   --fillo-primary token stays Focus Blue for rings/stars/toggles (alive
   states), while buttons obey the site law (ink, inverting with theme). */
.mkt .fillo-button--primary { background: var(--color-mkt-ink); color: var(--color-mkt-paper); }
/* docs "Set up your agent" pill: same ink/paper pair, named class so it
   never depends on utility generation for one-off token names */
.mkt .mkt-agent-cta { background: var(--color-mkt-ink); color: var(--color-mkt-paper); }

/* ============================================================ SDK FORM
   "your styles, your DOM": the real @usefillo/react form, restyled to the
   mock's metrics through the SDK's own class hooks (no fork, no patch). */
.hero-fillo.fillo-form {
  /* A form spanning the whole mock window read as "too wide" (user feedback);
     cap it to a plausible in-app form column and center it. */
  max-width: 660px;
  margin-inline: auto;
  --fillo-primary: var(--color-mkt-focus);
  --fillo-primary-contrast: #ffffff;
  --fillo-text: var(--color-mkt-ink);
  --fillo-muted: var(--color-mkt-ink3);
  --fillo-border: var(--color-mkt-hairline-strong);
  --fillo-error: var(--color-mkt-invalid);
  --fillo-radius: 12px;
  --fillo-control-bg: var(--color-mkt-surface);
  --fillo-bg: transparent;
  --fillo-font: var(--font-mkt-sans);
  gap: 0;
}
.hero-fillo .fillo-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.hero-fillo .fillo-field { gap: 8px; }
.hero-fillo .fillo-field[data-field="excitement"] { grid-column: 1 / -1; }
.hero-fillo .fillo-label { font-size: 14px; font-weight: 500; color: var(--color-mkt-ink); }
.hero-fillo .fillo-optional { display: none; }
.hero-fillo .fillo-powered { display: none; }
.hero-fillo .fillo-input {
  min-height: 46px; height: 46px; font-size: 15px; padding: 11px 13px; border-radius: 12px;
  border-color: var(--color-mkt-hairline-strong); background: var(--color-mkt-surface); caret-color: var(--color-mkt-focus);
}
.hero-fillo .fillo-input:focus-visible { border-color: var(--color-mkt-focus); box-shadow: 0 0 0 3px var(--color-mkt-focus-ring); }
.hero-fillo .fillo-select { height: 46px; }
.hero-fillo .fillo-error { font-size: 12.5px; color: var(--color-mkt-invalid); }
/* toggle → borderless row, bottom-aligned so the switch lines up with the select */
.hero-fillo .fillo-field--toggle { justify-content: flex-end; }
.hero-fillo .fillo-toggle { border: 0; background: transparent; padding: 0; height: 46px; }
.hero-fillo .fillo-toggle:hover { border-color: transparent; }
.hero-fillo .fillo-toggle-track { width: 40px; height: 24px; background: var(--color-mkt-hairline-strong); box-shadow: none; }
.hero-fillo .fillo-toggle-thumb { width: 18px; height: 18px; margin-inline-start: 3px; background: var(--color-mkt-surface); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); }
.hero-fillo :where(.fillo-toggle-input:checked) + .fillo-toggle-track { background: var(--color-mkt-focus); box-shadow: none; }
.hero-fillo :where(.fillo-toggle-input:checked) + :where(.fillo-toggle-track) .fillo-toggle-thumb { transform: translateX(16px); background: #fff; }
.hero-fillo .fillo-option-label { font-size: 14px; font-weight: 500; color: var(--color-mkt-ink); }
.hero-fillo .fillo-rating { gap: 4px; }
.hero-fillo .fillo-star { font-size: 30px; padding: 2px; color: var(--color-mkt-hairline-strong); }
.hero-fillo .fillo-star--active { color: var(--color-mkt-focus); }
.hero-fillo .fillo-footer { margin-top: 22px; display: block; }
.hero-fillo .fillo-button--primary {
  width: 100%; height: 46px; border-radius: 9999px; border: 0;
  background: var(--color-mkt-ink); color: var(--color-mkt-paper);
  font-family: var(--font-mkt-sans); font-size: 15px; font-weight: 500; cursor: pointer;
  transition: transform 120ms var(--mkt-ease-out), opacity 180ms;
}
.hero-fillo .fillo-button--primary:hover:not(:disabled) { transform: translateY(-1px); }
@media (max-width: 720px) {
  .hero-fillo .fillo-blocks { grid-template-columns: 1fr; }
  .hero-fillo .fillo-field[data-field="excitement"] { grid-column: auto; }
  .hero-fillo .fillo-field--toggle { justify-content: flex-start; }
}

/* ---- staged-field choreography: real fields keep their size; a dashed ghost
   overlays them until they arrive (absolute overlay ⇒ zero reflow). ---- */
.hero-stage { position: relative; display: flex; flex-direction: column; }
/* The stage's height lock is a min-height, which gives percentage children no
   basis — flex stretch is what actually lets the success state fill and center
   in the reserved space instead of collapsing into a void at the top. */
.hero-stage > .fillo-form { width: 100%; }
.hero-stage > .fillo-form--success { flex: 1; display: flex; }
.hero-stage .fillo-field, .hero-stage .fillo-footer { position: relative; }
.hero-stage .fillo-field > *, .hero-stage .fillo-footer > * { transition: opacity 0.5s var(--mkt-ease-out), transform 0.6s var(--mkt-ease-out); }
.hero-stage.is-building .fillo-field:not(.is-arrived) > *,
.hero-stage.is-building .fillo-footer:not(.is-arrived) > * { opacity: 0; transform: translateY(6px); }
.hero-stage.is-building .fillo-field:not(.is-arrived) { pointer-events: none; }
.hero-stage.is-building .fillo-field:not(.is-arrived)::before {
  content: ""; position: absolute; top: 0; left: 0; height: 9px; width: 34%; border-radius: 4px;
  border: 1px dashed color-mix(in srgb, var(--color-mkt-ink) 20%, transparent);
}
.hero-stage.is-building .fillo-field:not(.is-arrived)::after {
  content: ""; position: absolute; left: 0; right: 0; top: 29px; bottom: 0; border-radius: 12px;
  border: 1px dashed color-mix(in srgb, var(--color-mkt-ink) 16%, transparent);
}
.hero-stage.is-building .fillo-footer:not(.is-arrived)::after {
  content: ""; position: absolute; inset: 0; border-radius: 9999px;
  border: 1px dashed color-mix(in srgb, var(--color-mkt-ink) 16%, transparent);
}
.hero-stage .fillo-field::before, .hero-stage .fillo-field::after,
.hero-stage .fillo-footer::after { transition: opacity 0.5s var(--mkt-ease-out); }

/* ---- styled success state (reserved height on the wrap prevents any shift) ---- */
.hero-success { display: flex; flex: 1; align-items: center; justify-content: center; gap: 14px; text-align: left; padding: 24px 0; }
.hero-success-mark {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: 0 0 auto;
  border-radius: 50%; background: color-mix(in srgb, var(--color-mkt-valid) 14%, transparent); color: var(--color-mkt-valid);
}
.hero-success-mark svg { width: 20px; height: 20px; }
.hero-success-copy { display: flex; flex-direction: column; gap: 2px; }
.hero-success-copy strong { font-family: var(--font-mkt-display); font-size: 1.2rem; font-weight: 500; color: var(--color-mkt-ink); }
.hero-success-copy span { font-size: 14px; color: var(--color-mkt-ink2); }

@media (max-width: 720px) {
  .mkt-term { position: static; width: auto; margin: 0 0 16px; box-shadow: none; border-radius: 12px; pointer-events: auto; }
  .mkt-term-body { height: 66px; }
}

/* AGENT / INTEGRATIONS STRIPS — migrated to Tailwind utilities on
   MarkRow.tsx, LandingV3.tsx (.mkt-agentstrip) and IntegrationsStrip.tsx
   (.mkt-trust-line). Nothing scoped remains for the wordmark strips. */

/* SHIPS (the 1-2-3 spine: step rows, numbered chips, viz pills) — migrated to
   Tailwind utilities on AgentSteps.tsx. The dark gradient agent card below
   stays as scoped CSS (art gradient + dark-surface demo chrome). */

/* dark gradient agent card — stays dark in both themes. Corner glows are kept
   wide and low so they read as light, not patches, and a hairline gives the card
   a clean edge on either page background. */
.mkt-agent-card {
  position: relative; overflow: hidden; isolation: isolate; border-radius: clamp(20px, 3vw, 28px);
  color: #f5f7fa; padding: clamp(30px, 5.5vw, 60px); margin-top: 24px;
  border: 1px solid rgba(245, 247, 250, 0.1);
  background:
    radial-gradient(100% 132% at 6% -14%, color-mix(in srgb, #7c63ea 46%, transparent), transparent 58%),
    radial-gradient(92% 130% at 108% 116%, color-mix(in srgb, #7c63ea 28%, transparent), transparent 60%),
    radial-gradient(74% 104% at 90% 0%, color-mix(in srgb, #b3a2e6 16%, transparent), transparent 64%),
    linear-gradient(150deg, #201c14, #100e0a);
}
.mkt-agent-card > .mkt-grain { opacity: 0.15; mix-blend-mode: overlay; z-index: 1; }
.mkt-agent-card > :not(.mkt-grain) { position: relative; z-index: 2; }

.mkt-agent { border: 1px solid rgba(245, 247, 250, 0.14); border-radius: 16px; overflow: hidden; background: rgba(10, 12, 16, 0.62); }
.mkt-agent-tabs { display: flex; align-items: center; gap: 2px; padding: 8px 8px 0; border-bottom: 1px solid rgba(245, 247, 250, 0.12); }
.mkt-agent-tab { appearance: none; border: 0; background: transparent; cursor: pointer; padding: 10px 14px 12px; font-size: 14px; font-weight: 500; color: rgba(245, 247, 250, 0.44); position: relative; border-radius: 8px 8px 0 0; transition: color 180ms; }
.mkt-agent-tab:hover { color: rgba(245, 247, 250, 0.72); }
.mkt-agent-tab[aria-selected="true"] { color: #f5f7fa; }
.mkt-agent-tab[aria-selected="true"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; background: #f5f7fa; border-radius: 2px; }
.mkt-agent-body { position: relative; }
.mkt-agent-copy {
  position: absolute; top: 12px; right: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  height: 30px; padding: 0 12px; border: 1px solid rgba(245, 247, 250, 0.16); border-radius: 9999px;
  background: rgba(15, 17, 21, 0.72); font-size: 12px; font-weight: 500; cursor: pointer; color: rgba(245, 247, 250, 0.66);
  transition: border-color 180ms, color 180ms;
}
.mkt-agent-copy:hover, .mkt-agent-copy.is-copied { color: #f5f7fa; border-color: rgba(245, 247, 250, 0.4); }
.mkt-agent-copy svg { width: 13px; height: 13px; }
.mkt-agent-pane { display: none; padding: 20px; padding-right: 110px; font-family: var(--font-mkt-mono); font-size: 13px; line-height: 1.7; color: #f5f7fa; white-space: pre-wrap; word-break: break-word; }
.mkt-agent-pane[data-active="true"] { display: block; }
.mkt-agent-cap { padding: 12px 20px 16px; border-top: 1px solid rgba(245, 247, 250, 0.12); color: rgba(245, 247, 250, 0.5); font-size: 13px; }
.mkt-agent-card :focus-visible { outline-color: #8aa0ff; }

/* ============================================================ BENTO */
.mkt-features .mkt-sec-head { margin-bottom: clamp(30px, 4vw, 44px); }
.mkt-sec-sub {
  margin: 14px 0 0; font-family: var(--font-mkt-sans);
  font-size: clamp(1.0625rem, 1.4vw, 1.2rem); line-height: 1.5;
  color: var(--color-mkt-ink2); letter-spacing: -0.005em;
}

/* ---- grid: 1 col (mobile) → 2 col (tablet, anchor full) → 3 col (anchor spans 2) ---- */
.mkt-bento { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 700px) {
  .mkt-bento { grid-template-columns: repeat(2, 1fr); }
  .mkt-bento-cell--anchor { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  .mkt-bento { grid-template-columns: repeat(3, 1fr); }
  .mkt-bento-cell--anchor { grid-column: span 2; }
}
.mkt-bento-cell { min-width: 0; display: flex; }
.mkt-bento-cell > * { width: 100%; }

/* ---- the shared card (borderless warm fill; no shadow, no hover) ---- */
.mkt-bcard {
  background: var(--color-mkt-fill); border-radius: 24px; overflow: hidden;
  display: flex; flex-direction: column; height: 100%;
}
.mkt-bcard-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.mkt-btitle {
  font-family: var(--font-mkt-display); font-size: 1.25rem; font-weight: 500;
  letter-spacing: -0.015em; line-height: 1.2; color: var(--color-mkt-ink); margin: 0;
}
.mkt-bdesc { font-size: 15px; line-height: 1.55; color: var(--color-mkt-ink2); margin: 9px 0 0; max-width: 46ch; }
.mkt-bcaption { font-size: 13px; line-height: 1.5; color: var(--color-mkt-ink3); margin: 16px 0 0; }

/* ---- shared code surface (also used by the anchor snippet) ---- */
.mkt-code { overflow: hidden; border: 0; background: var(--color-mkt-code-bg); }
.mkt-code-head { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-bottom: 1px solid var(--color-mkt-code-hairline); }
.mkt-code-fn { font-family: var(--font-mkt-mono); font-size: 12px; color: var(--color-mkt-code-ink2); }
.mkt-code-copy { display: inline-flex; align-items: center; gap: 6px; background: transparent; border: 1px solid var(--color-mkt-code-hairline); color: var(--color-mkt-code-ink2); border-radius: 9999px; font-size: 11px; padding: 4px 9px; cursor: pointer; font-family: var(--font-mkt-mono); }
.mkt-code-copy:hover, .mkt-code-copy.is-copied { color: var(--color-mkt-code-ink); border-color: var(--color-mkt-code-ink2); }
.mkt-code-copy svg { width: 13px; height: 13px; }
.mkt-code pre { margin: 0; padding: 16px 18px; overflow-x: auto; font-family: var(--font-mkt-mono); font-size: 12px; line-height: 1.66; color: var(--color-mkt-code-ink); }
.mkt-tok-k { color: #c7c8cd; }
.mkt-tok-s { color: var(--color-mkt-code-str); }
.mkt-tok-p { color: rgba(245, 247, 250, 0.42); }

/* ---- 1. ANCHOR: real snippet + live SDK panel (the section's ONE art moment) ---- */
.mkt-anchor-split { display: grid; grid-template-columns: 1fr; }
@media (min-width: 880px) { .mkt-anchor-split { grid-template-columns: 1.08fr 0.92fr; align-items: stretch; } }
.mkt-anchor-split .mkt-code { border-radius: 24px 24px 0 0; }
@media (min-width: 880px) { .mkt-anchor-split .mkt-code { border-radius: 24px 0 0 0; } }
.mkt-anchor-panelwrap {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(22px, 3vw, 34px); min-height: 300px;
  background:
    radial-gradient(122% 120% at 84% 2%, color-mix(in srgb, var(--color-mkt-art-lilac) 42%, transparent), transparent 60%),
    radial-gradient(130% 130% at 4% 104%, color-mix(in srgb, var(--color-mkt-art-ultra) 24%, transparent), transparent 60%),
    var(--color-mkt-fill-2);
}
@media (min-width: 880px) { .mkt-anchor-panelwrap { border-radius: 0 24px 0 0; } }
.mkt-anchor-panelwrap > .mkt-grain { opacity: 0.13; }
.mkt-anchor-panel {
  position: relative; z-index: 2; width: 100%; max-width: 300px;
  background: var(--color-mkt-surface); border-radius: 16px; padding: 18px;
  box-shadow: 0 22px 46px -22px rgba(8, 10, 14, 0.42), 0 4px 12px -6px rgba(8, 10, 14, 0.22);
}
.mkt-anchor-tag {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  font-family: var(--font-mkt-mono); font-size: 11px; letter-spacing: 0.02em;
  color: var(--color-mkt-ink2); background: var(--color-mkt-surface); border-radius: 8px;
  padding: 5px 9px; box-shadow: 0 10px 22px -12px rgba(8, 10, 14, 0.35);
}

/* the live SDK form inside the anchor panel — "your styles, your DOM", compact */
.bento-fillo.fillo-form {
  --fillo-primary: var(--color-mkt-focus);
  --fillo-primary-contrast: #ffffff;
  --fillo-text: var(--color-mkt-ink);
  --fillo-muted: var(--color-mkt-ink3);
  --fillo-border: var(--color-mkt-hairline-strong);
  --fillo-error: var(--color-mkt-invalid);
  --fillo-radius: 10px;
  --fillo-control-bg: var(--color-mkt-surface);
  --fillo-bg: transparent;
  --fillo-font: var(--font-mkt-sans);
  gap: 0;
}
.bento-fillo .fillo-blocks { display: flex; flex-direction: column; gap: 13px; }
.bento-fillo .fillo-field { gap: 6px; }
.bento-fillo .fillo-label { font-size: 12.5px; font-weight: 500; color: var(--color-mkt-ink); }
.bento-fillo .fillo-optional, .bento-fillo .fillo-powered, .bento-fillo .fillo-footer { display: none; }
.bento-fillo .fillo-input {
  min-height: 40px; height: 40px; font-size: 14px; padding: 9px 11px; border-radius: 10px;
  border-color: var(--color-mkt-hairline-strong); background: var(--color-mkt-surface); caret-color: var(--color-mkt-focus);
}
.bento-fillo .fillo-input:focus-visible { border-color: var(--color-mkt-focus); box-shadow: 0 0 0 3px var(--color-mkt-focus-ring); }
.bento-fillo .fillo-phone { gap: 6px; }
.bento-fillo .fillo-phone-flag { min-height: 40px; height: 40px; border-radius: 10px; padding: 0 8px; font-size: 13px; }
.bento-fillo .fillo-phone-flag:focus-visible { border-color: var(--color-mkt-focus); box-shadow: 0 0 0 3px var(--color-mkt-focus-ring); }
.bento-fillo .fillo-error { font-size: 12px; color: var(--color-mkt-invalid); }
.bento-fillo .fillo-rating { gap: 3px; }
.bento-fillo .fillo-star { font-size: 25px; padding: 1px; color: var(--color-mkt-hairline-strong); }
.bento-fillo .fillo-star--active { color: var(--color-mkt-focus); }

/* ---- 2. CONTEXT: chip cloud on warm fill (framed in the tall row-1 card:
   cloud under the copy, quiet caption anchored to the bottom edge) ---- */
.mkt-ctx-media { flex: 1; display: flex; flex-direction: column; margin-top: 22px; }
.mkt-ctx-cloud { display: flex; flex-wrap: wrap; gap: 9px; max-width: 16rem; }
.mkt-ctx-chip {
  font-family: var(--font-mkt-sans); font-size: 13px; font-weight: 500; color: var(--color-mkt-ink2);
  background: var(--color-mkt-surface); border: 1px solid var(--color-mkt-hairline);
  border-radius: 9999px; padding: 8px 14px; white-space: nowrap;
}
.mkt-ctx-chip--code { font-family: var(--font-mkt-mono); font-size: 12px; color: var(--color-mkt-ink); }
.mkt-ctx-note { font-size: 12.5px; line-height: 1.5; color: var(--color-mkt-ink3); margin: auto 0 0; padding-top: 22px; }

/* ---- 3. DROP-OFF: monochrome ink funnel (charts are not alive; ink only) ---- */
.mkt-funnel { margin-top: 20px; }
.mkt-funnel-plot { position: relative; display: flex; align-items: flex-end; gap: 12px; height: 168px; }
.mkt-funnel-col { position: relative; flex: 1; height: 100%; }
.mkt-funnel-bar { position: absolute; left: 0; right: 0; border-radius: 6px 6px 0 0; background: color-mix(in srgb, var(--color-mkt-ink) 82%, transparent); }
.mkt-funnel-val { position: absolute; left: 0; right: 0; text-align: center; font-family: var(--font-mkt-mono); font-size: 11px; color: var(--color-mkt-ink2); font-variant-numeric: tabular-nums; }
.mkt-funnel-lbl { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-family: var(--font-mkt-mono); font-size: 11px; color: var(--color-mkt-ink3); font-variant-numeric: tabular-nums; }
.mkt-funnel-drop { position: absolute; left: 50%; width: 0; z-index: 2; border-left: 1px solid var(--color-mkt-hairline-strong); }
.mkt-funnel-drop::before, .mkt-funnel-drop::after { content: ""; position: absolute; left: 0; width: 4px; height: 1px; background: var(--color-mkt-hairline-strong); }
.mkt-funnel-drop::before { top: 0; }
.mkt-funnel-drop::after { bottom: 0; }
.mkt-funnel-drop-val { position: absolute; left: 50%; bottom: 100%; transform: translateX(-50%); margin-bottom: 5px; white-space: nowrap; font-family: var(--font-mkt-mono); font-size: 11px; color: var(--color-mkt-ink2); font-variant-numeric: tabular-nums; }
.mkt-funnel-note { font-size: 12px; color: var(--color-mkt-ink3); margin: 14px 0 0; }

/* ---- 4. UPLOADS: storage wordmark chips + resumable note ---- */
.mkt-uploads-media { margin-top: 18px; }
.mkt-store-row { display: flex; flex-wrap: wrap; gap: 8px; }
.mkt-store-chip {
  display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mkt-sans);
  font-size: 12.5px; font-weight: 500; color: var(--color-mkt-ink2);
  background: var(--color-mkt-surface); border: 1px solid var(--color-mkt-hairline);
  border-radius: 9999px; padding: 6px 12px 6px 10px; white-space: nowrap;
}
.mkt-store-chip svg { width: 15px; height: 15px; color: var(--color-mkt-ink3); flex: 0 0 auto; }
.mkt-store-meta { font-family: var(--font-mkt-mono); font-size: 12px; color: var(--color-mkt-ink3); margin: 15px 0 0; }

/* ---- 5. VERSIONING: the v0.1 → v1 → v2 path (v2 ink-filled) ---- */
.mkt-verpath { display: flex; align-items: center; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.mkt-ver-node { font-family: var(--font-mkt-mono); font-size: 12px; color: var(--color-mkt-ink2); border: 1px solid var(--color-mkt-hairline-strong); border-radius: 8px; padding: 6px 10px; background: var(--color-mkt-surface); }
.mkt-ver-node--on { background: var(--color-mkt-ink); color: var(--color-mkt-paper); border-color: var(--color-mkt-ink); }

/* INTEGRATIONS — migrated to Tailwind utilities on IntegrationsStrip.tsx
   (section padding + the section-head margin override). */

/* ============================================================ FINAL CTA
   Structural CSS migrated to Tailwind utilities on FinalCta.tsx; only the
   .mkt-cta-back art bloom below stays scoped. */
.mkt-cta-back {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(44% 58% at 50% 44%, color-mix(in srgb, var(--color-mkt-art-lilac) 34%, transparent), transparent 72%),
    radial-gradient(38% 52% at 63% 60%, color-mix(in srgb, var(--color-mkt-art-ultra) 16%, transparent), transparent 72%),
    radial-gradient(40% 54% at 37% 58%, color-mix(in srgb, var(--color-mkt-art-cream) 46%, transparent), transparent 72%);
  -webkit-mask-image: radial-gradient(62% 76% at 50% 50%, #000 0%, transparent 80%);
  mask-image: radial-gradient(62% 76% at 50% 50%, #000 0%, transparent 80%);
}


/* FOOTER — migrated to Tailwind utilities on FooterV3.tsx (mkt @theme tokens);
   only the shared 1200px/gutter metrics live inline there as raw px. */

/* FAQ — native details/summary, migrated to Tailwind utilities on
   FaqSection.tsx (rows, summary type, answer). Two bits stay scoped because a
   layered utility can't express them here: the summary focus ring (must beat
   the unlayered .mkt focus-visible outline:none reset) and the chevron's
   disclosure-state rotate/color (a parent-[open] state on a descendant). */
.mkt-faq-summary:focus-visible { outline: 2px solid var(--color-mkt-focus); outline-offset: 2px; border-radius: 8px; }
.mkt-faq-chev { color: var(--color-mkt-ink3); transition: transform var(--t-state), color 180ms; }
details[open] .mkt-faq-chev { transform: rotate(180deg); color: var(--color-mkt-ink2); }

/* ============================================================ PRICING
   Warm borderless tier cards (radius 24). Pro carries a whisper of art tint
   on its top edge + the one ink CTA; Free/Scale stay outline. */
.mkt-pricing { padding-block: clamp(44px, 7vw, 84px) clamp(28px, 4vw, 44px); }
.mkt-pricing-head { display: flex; flex-direction: column; max-width: 56rem; }
.mkt-pricing-head .mkt-eyebrow { margin-bottom: 18px; }
.mkt-pricing-head .mkt-lead { max-width: 46ch; }
.mkt-tiers { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: clamp(38px, 6vw, 60px); }
@media (min-width: 720px) { .mkt-tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
.mkt-tier {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--color-mkt-fill); border-radius: 24px;
  padding: 30px 28px 28px; display: flex; flex-direction: column; min-width: 0;
}
.mkt-tier--pro { background: var(--color-mkt-fill-2); box-shadow: 0 30px 60px -40px rgba(8, 10, 14, 0.3); }
.mkt-tier--pro::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 132px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(78% 130% at 26% -10%, color-mix(in srgb, var(--color-mkt-art-ultra) 30%, transparent), transparent 68%),
    radial-gradient(70% 120% at 82% -6%, color-mix(in srgb, var(--color-mkt-art-lilac) 42%, transparent), transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 96%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 96%);
}
.mkt-tier-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 26px; }
.mkt-tier-name { margin: 0; font-family: var(--font-mkt-sans); font-size: 16px; font-weight: 600; letter-spacing: -0.01em; color: var(--color-mkt-ink); }
.mkt-tier-badge {
  font-family: var(--font-mkt-sans); font-size: 10.5px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--color-mkt-ink2); border: 1px solid var(--color-mkt-hairline-strong); border-radius: 9999px;
  padding: 4px 10px; white-space: nowrap;
}
.mkt-tier-price { display: flex; align-items: baseline; gap: 6px; margin-top: 20px; }
.mkt-tier-amount {
  font-family: var(--font-mkt-display); font-size: clamp(2.3rem, 3.6vw, 2.9rem); font-weight: 500;
  letter-spacing: -0.02em; line-height: 1; color: var(--color-mkt-ink); font-variant-numeric: tabular-nums;
}
.mkt-tier-period { font-family: var(--font-mkt-sans); font-size: 15px; font-weight: 500; color: var(--color-mkt-ink3); }
.mkt-tier-feats { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.mkt-tier-feat {
  display: flex; align-items: flex-start; gap: 11px; min-width: 0;
  font-family: var(--font-mkt-sans); font-size: 15px; line-height: 1.4; color: var(--color-mkt-ink2);
}
.mkt-tier-feat::before {
  content: ""; flex: 0 0 auto; width: 5px; height: 5px; margin-top: 7px; border-radius: 50%;
  background: color-mix(in srgb, var(--color-mkt-ink) 34%, transparent);
}
.mkt-tier-cta {
  margin-top: 26px; display: flex; align-items: center; justify-content: center; height: 46px;
  border-radius: 9999px; font-family: var(--font-mkt-sans); font-size: 14px; font-weight: 500; cursor: pointer;
  transition: transform 120ms var(--mkt-ease-out), box-shadow 180ms var(--mkt-ease-out), border-color 180ms, color 180ms;
}
.mkt-tier-cta--ink { background: var(--color-mkt-ink); color: var(--color-mkt-paper); border: 1px solid var(--color-mkt-ink); }
.mkt-tier-cta--ink:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14); }
.mkt-tier-cta--outline { background: transparent; color: var(--color-mkt-ink); border: 1px solid var(--color-mkt-hairline-strong); }
.mkt-tier-cta--outline:hover { border-color: var(--color-mkt-ink); }
.mkt-pricing-foot { margin-top: 20px; font-family: var(--font-mkt-sans); font-size: 12.5px; color: var(--color-mkt-ink3); }

/* ---- visually-hidden (labels for icon-only comparison cells, table caption) ---- */
.mkt-vh {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---- pricing sub-section heads (comparison + includes), quieter than the h1 ---- */
.mkt-compare, .mkt-includes { padding-block: clamp(30px, 4.5vw, 52px); }
.mkt-includes { padding-bottom: clamp(40px, 6vw, 72px); }
.mkt-price-sec-head { max-width: 52rem; margin-bottom: clamp(24px, 3vw, 36px); }
.mkt-price-sec-h { font-family: var(--font-mkt-display); font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 400; letter-spacing: -0.02em; line-height: 1.12; margin: 0; color: var(--color-mkt-ink); text-wrap: balance; }
.mkt-price-sec-sub { margin: 12px 0 0; font-family: var(--font-mkt-sans); font-size: clamp(1rem, 1.3vw, 1.1rem); line-height: 1.5; color: var(--color-mkt-ink2); max-width: 54ch; }

/* ---- plan comparison table: real <table>, hairline rows, own scroll container ---- */
.mkt-cmp-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--color-mkt-hairline); border-radius: 18px; scrollbar-width: thin; }
.mkt-cmp { width: 100%; min-width: 600px; border-collapse: collapse; font-family: var(--font-mkt-sans); background: var(--color-mkt-surface); }
.mkt-cmp thead th { position: relative; padding: 15px 18px; border-bottom: 1px solid var(--color-mkt-hairline-strong); vertical-align: middle; }
.mkt-cmp-corner { width: 40%; }
.mkt-cmp-col { text-align: center; font-family: var(--font-mkt-sans); font-size: 14.5px; font-weight: 600; color: var(--color-mkt-ink); }
.mkt-cmp-col--pro, .mkt-cmp-cell--pro { background: color-mix(in srgb, var(--color-mkt-fill-2) 62%, transparent); }
.mkt-cmp-col--pro { border-top-left-radius: 10px; border-top-right-radius: 10px; }
.mkt-cmp tbody th, .mkt-cmp tbody td { padding: 14px 18px; border-bottom: 1px solid var(--color-mkt-hairline); }
.mkt-cmp tbody tr:last-child th, .mkt-cmp tbody tr:last-child td { border-bottom: 0; }
.mkt-cmp-rowhead { text-align: left; font-family: var(--font-mkt-sans); font-size: 14.5px; font-weight: 500; color: var(--color-mkt-ink); letter-spacing: -0.005em; }
.mkt-cmp-cell { text-align: center; vertical-align: middle; }
.mkt-cmp-val { font-family: var(--font-mkt-sans); font-size: 14px; color: var(--color-mkt-ink2); font-variant-numeric: tabular-nums; }
.mkt-cmp-yes { display: inline-block; width: 17px; height: 17px; color: var(--color-mkt-ink); vertical-align: middle; }
.mkt-cmp-no { display: inline-block; width: 15px; height: 15px; color: var(--color-mkt-ink3); vertical-align: middle; opacity: 0.6; }

/* ---- "every plan includes" band: quiet 3-col list with small ink checks ---- */
.mkt-includes-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 15px 40px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .mkt-includes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .mkt-includes-grid { grid-template-columns: repeat(3, 1fr); } }
.mkt-includes-item { display: flex; align-items: flex-start; gap: 10px; font-family: var(--font-mkt-sans); font-size: 15px; line-height: 1.5; color: var(--color-mkt-ink2); }
.mkt-includes-check { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 2px; color: var(--color-mkt-ink); }

/* ============================================================ REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  .mkt .term-cursor, .mkt .term-dot { animation: none; }
  .mkt .mkt-faq-chev { transition: none; }
  .hero-stage.is-building .fillo-field:not(.is-arrived) > *,
  .hero-stage.is-building .fillo-footer:not(.is-arrived) > * { opacity: 1; transform: none; }
  .hero-stage.is-building .fillo-field::before, .hero-stage.is-building .fillo-field::after,
  .hero-stage.is-building .fillo-footer::after { display: none; }
}

/* ============================================================ DARK ART PASS */

/* Hero well: a soft, wide halo sitting BEHIND the window. The mask fades to full
   transparent well inside every edge of the bloom box, so there is no horizontal
   band and no rounded-rect seam — zoom the boundary and it is gone. */
:root[data-color-scheme="dark"] .mkt-well-bloom {
  background:
    radial-gradient(58% 64% at 50% 14%, color-mix(in srgb, var(--color-mkt-art-ultra) 24%, transparent), transparent 66%),
    radial-gradient(44% 50% at 33% 8%, color-mix(in srgb, var(--color-mkt-art-lilac) 14%, transparent), transparent 64%);
  -webkit-mask-image: radial-gradient(62% 66% at 50% 14%, #000 0%, #000 16%, transparent 62%);
  mask-image: radial-gradient(62% 66% at 50% 14%, #000 0%, #000 16%, transparent 62%);
}
:root[data-color-scheme="dark"] .mkt-well-bloom > .mkt-grain { opacity: 0.05; }

/* Agent card: the always-dark gradient card keeps its warm base only in light;
   in dark it moves onto a cool near-black base so the periwinkle glows sing
   instead of muddying against warm brown. Glow stops are nudged up a touch to
   stay lively on the cooler ground. */
:root[data-color-scheme="dark"] .mkt-agent-card {
  background:
    radial-gradient(100% 132% at 6% -14%, color-mix(in srgb, #7c63ea 52%, transparent), transparent 58%),
    radial-gradient(92% 130% at 108% 116%, color-mix(in srgb, #7c63ea 32%, transparent), transparent 60%),
    radial-gradient(74% 104% at 90% 0%, color-mix(in srgb, #b3a2e6 20%, transparent), transparent 64%),
    linear-gradient(150deg, #191b22, #0b0c0f);
}
/* Agent card: undo the global dark grain boost so the surface stops looking noisy. */
:root[data-color-scheme="dark"] .mkt-agent-card > .mkt-grain { opacity: 0.06; }

/* Bento anchor: quieter corner glows, and the inner panel separates by a hairline
   (its drop shadow disappears on the dark page). */
:root[data-color-scheme="dark"] .mkt-anchor-panelwrap {
  background:
    radial-gradient(120% 120% at 84% 2%, color-mix(in srgb, var(--color-mkt-art-lilac) 20%, transparent), transparent 64%),
    radial-gradient(130% 130% at 4% 104%, color-mix(in srgb, var(--color-mkt-art-ultra) 15%, transparent), transparent 64%),
    var(--color-mkt-fill-2);
}
:root[data-color-scheme="dark"] .mkt-anchor-panelwrap > .mkt-grain { opacity: 0.05; }
:root[data-color-scheme="dark"] .mkt-anchor-panel { border: 1px solid var(--color-mkt-hairline-strong); }

/* Final CTA: drop the cream stop (it reads as muddy tan in dark) and keep a clean,
   low-alpha ultra/lilac halo; the base radial mask already feathers every side. */
:root[data-color-scheme="dark"] .mkt-cta-back {
  background:
    radial-gradient(46% 60% at 50% 46%, color-mix(in srgb, var(--color-mkt-art-lilac) 22%, transparent), transparent 72%),
    radial-gradient(40% 54% at 60% 58%, color-mix(in srgb, var(--color-mkt-art-ultra) 13%, transparent), transparent 72%);
}
:root[data-color-scheme="dark"] .mkt-cta-back > .mkt-grain { opacity: 0.05; }

/* Pricing Pro: soften the top tint and add a hairline so the card separates by
   surface + edge rather than by the wash. */
:root[data-color-scheme="dark"] .mkt-tier--pro { border: 1px solid var(--color-mkt-hairline); }
:root[data-color-scheme="dark"] .mkt-tier--pro::before {
  background:
    radial-gradient(80% 130% at 28% -12%, color-mix(in srgb, var(--color-mkt-art-ultra) 17%, transparent), transparent 70%),
    radial-gradient(72% 120% at 82% -8%, color-mix(in srgb, var(--color-mkt-art-lilac) 22%, transparent), transparent 72%);
}

@media (prefers-color-scheme: dark) {
  
/* Hero well: a soft, wide halo sitting BEHIND the window. The mask fades to full
   transparent well inside every edge of the bloom box, so there is no horizontal
   band and no rounded-rect seam — zoom the boundary and it is gone. */
:root:not([data-color-scheme="light"]) .mkt-well-bloom {
  background:
    radial-gradient(58% 64% at 50% 14%, color-mix(in srgb, var(--color-mkt-art-ultra) 24%, transparent), transparent 66%),
    radial-gradient(44% 50% at 33% 8%, color-mix(in srgb, var(--color-mkt-art-lilac) 14%, transparent), transparent 64%);
  -webkit-mask-image: radial-gradient(62% 66% at 50% 14%, #000 0%, #000 16%, transparent 62%);
  mask-image: radial-gradient(62% 66% at 50% 14%, #000 0%, #000 16%, transparent 62%);
}
:root:not([data-color-scheme="light"]) .mkt-well-bloom > .mkt-grain { opacity: 0.05; }

/* Agent card: the always-dark gradient card keeps its warm base only in light;
   in dark it moves onto a cool near-black base so the periwinkle glows sing
   instead of muddying against warm brown. Glow stops are nudged up a touch to
   stay lively on the cooler ground. */
:root:not([data-color-scheme="light"]) .mkt-agent-card {
  background:
    radial-gradient(100% 132% at 6% -14%, color-mix(in srgb, #7c63ea 52%, transparent), transparent 58%),
    radial-gradient(92% 130% at 108% 116%, color-mix(in srgb, #7c63ea 32%, transparent), transparent 60%),
    radial-gradient(74% 104% at 90% 0%, color-mix(in srgb, #b3a2e6 20%, transparent), transparent 64%),
    linear-gradient(150deg, #191b22, #0b0c0f);
}
/* Agent card: undo the global dark grain boost so the surface stops looking noisy. */
:root:not([data-color-scheme="light"]) .mkt-agent-card > .mkt-grain { opacity: 0.06; }

/* Bento anchor: quieter corner glows, and the inner panel separates by a hairline
   (its drop shadow disappears on the dark page). */
:root:not([data-color-scheme="light"]) .mkt-anchor-panelwrap {
  background:
    radial-gradient(120% 120% at 84% 2%, color-mix(in srgb, var(--color-mkt-art-lilac) 20%, transparent), transparent 64%),
    radial-gradient(130% 130% at 4% 104%, color-mix(in srgb, var(--color-mkt-art-ultra) 15%, transparent), transparent 64%),
    var(--color-mkt-fill-2);
}
:root:not([data-color-scheme="light"]) .mkt-anchor-panelwrap > .mkt-grain { opacity: 0.05; }
:root:not([data-color-scheme="light"]) .mkt-anchor-panel { border: 1px solid var(--color-mkt-hairline-strong); }

/* Final CTA: drop the cream stop (it reads as muddy tan in dark) and keep a clean,
   low-alpha ultra/lilac halo; the base radial mask already feathers every side. */
:root:not([data-color-scheme="light"]) .mkt-cta-back {
  background:
    radial-gradient(46% 60% at 50% 46%, color-mix(in srgb, var(--color-mkt-art-lilac) 22%, transparent), transparent 72%),
    radial-gradient(40% 54% at 60% 58%, color-mix(in srgb, var(--color-mkt-art-ultra) 13%, transparent), transparent 72%);
}
:root:not([data-color-scheme="light"]) .mkt-cta-back > .mkt-grain { opacity: 0.05; }

/* Pricing Pro: soften the top tint and add a hairline so the card separates by
   surface + edge rather than by the wash. */
:root:not([data-color-scheme="light"]) .mkt-tier--pro { border: 1px solid var(--color-mkt-hairline); }
:root:not([data-color-scheme="light"]) .mkt-tier--pro::before {
  background:
    radial-gradient(80% 130% at 28% -12%, color-mix(in srgb, var(--color-mkt-art-ultra) 17%, transparent), transparent 70%),
    radial-gradient(72% 120% at 82% -8%, color-mix(in srgb, var(--color-mkt-art-lilac) 22%, transparent), transparent 72%);
}

}
