/* ==========================================================================
   AI PRODUCT CATALOG EXTRACTOR — product landing page
   styles.css · v1.0.0 · Acelera Labs

   Built on the structure of our own Loopdesk landing page template,
   re-skinned for the product's own identity.

   TABLE OF CONTENTS
   01. Design tokens
   02. Reset & base
   03. Layout helpers
   04. Buttons & controls
   05. Header & navigation
   06. Hero
   07. Job mockup (browser window + extraction run)
   08. Proof band (real numbers)
   09. Steps (how it works)
   10. Code panel (tabs + copy)
   11. Feature grid
   12. Honest limits
   13. Use cases
   14. Pricing
   15. FAQ accordion
   16. Final CTA
   17. Footer
   18. Scroll reveal
   19. Responsive
   20. Print
   ========================================================================== */


/* ==========================================================================
   01. DESIGN TOKENS
   ========================================================================== */
:root {
  /* --- Brand ------------------------------------------------------------ */
  --brand:        #5B4BEA;   /* indigo from the logo                         */
  --brand-strong: #4A38D6;   /* hover / pressed                              */
  --brand-ink:    #4030BE;   /* brand-coloured TEXT on light backgrounds     */
  --brand-soft:   #EEEBFE;   /* light tint for badges & icon chips           */
  --ink:          #0F1020;   /* darkest text                                 */

  /* The extracted tile of the logo. Decorative only — never text on white. */
  --tile:      #FFD65A;
  --tile-ink:  #8A5B00;      /* accessible text version of the same hue      */
  --tile-soft: #FFF6DC;

  /* --- Derived neutrals -------------------------------------------------- */
  --ink-body:  #4A4B66;
  --ink-muted: #6B6C86;
  --bg:        #FFFFFF;
  --surface:   #FAFAFE;
  --surface-2: #F3F3FB;
  --surface-3: #E9E9F4;
  --border:    #E6E6F1;
  --border-strong: #D6D6E6;

  /* --- Accents ----------------------------------------------------------- */
  --accent-teal:  #0EA5A5;
  --accent-rose:  #E14D6C;
  --accent-green: #10A05F;

  /* --- Code surface ------------------------------------------------------ */
  --code-bg:     #14152B;
  --code-bg-2:   #1C1D38;
  --code-text:   #E7E7F6;
  --code-muted:  #9A9CBE;
  --code-key:    #ABB8FF;
  --code-str:    #9CE7C8;
  --code-num:    #FFD65A;

  /* --- Typography -------------------------------------------------------- */
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono:    ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --fs-xs:   0.8125rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-md:   clamp(1.0625rem, 0.25vw + 1rem, 1.125rem);
  --fs-lg:   clamp(1.125rem, 0.5vw + 1rem, 1.25rem);
  --fs-xl:   clamp(1.375rem, 1vw + 1.1rem, 1.625rem);
  --fs-2xl:  clamp(1.75rem, 2vw + 1.2rem, 2.5rem);
  --fs-3xl:  clamp(2.1rem, 4vw + 1rem, 3.75rem);

  /* --- Spacing ----------------------------------------------------------- */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --section-y: clamp(4.5rem, 8vw, 8rem);

  /* --- Radius ------------------------------------------------------------ */
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  18px;
  --radius-xl:  26px;
  --radius-pill: 999px;

  /* --- Elevation --------------------------------------------------------- */
  --shadow-xs: 0 1px 2px rgba(15, 16, 32, .06);
  --shadow-sm: 0 2px 6px rgba(15, 16, 32, .06), 0 1px 2px rgba(15, 16, 32, .04);
  --shadow-md: 0 12px 28px -10px rgba(15, 16, 32, .16), 0 2px 6px rgba(15, 16, 32, .05);
  --shadow-lg: 0 34px 70px -24px rgba(15, 16, 32, .30), 0 8px 20px -12px rgba(15, 16, 32, .16);
  --shadow-brand: 0 12px 26px -12px rgba(91, 75, 234, .55);

  /* --- Motion ------------------------------------------------------------ */
  --ease: cubic-bezier(.4, .14, .3, 1);
  --dur: .22s;

  /* --- Layout ------------------------------------------------------------ */
  --container: 1200px;
  --container-narrow: 780px;
  --header-h: 72px;
}


/* ==========================================================================
   02. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--space-4));
  overflow-x: clip;             /* the mobile drawer sits off-canvas */
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-body);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.022em;
  font-weight: 700;
  text-wrap: balance;
}

p  { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { max-width: 100%; }
svg { display: block; }

a {
  color: var(--brand-ink);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
a:hover { color: var(--brand-strong); }

button { font: inherit; color: inherit; }

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

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

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

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 200;
  padding: var(--space-3) var(--space-5);
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: var(--space-4); color: #fff; }


/* ==========================================================================
   03. LAYOUT HELPERS
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); }
.section--alt {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.section__head {
  max-width: 46rem;
  margin: 0 auto var(--space-12);
  text-align: center;
}
.section__title { font-size: var(--fs-2xl); }
.section__lead {
  margin-top: var(--space-4);
  font-size: var(--fs-md);
  color: var(--ink-body);
  text-wrap: pretty;
}

.kicker {
  margin-bottom: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-ink);
}

/* Indigo → violet only. The gold of the logo stays decorative: at display
   sizes a yellow-ended gradient drops below the 3:1 AA floor on white. */
.text-grad {
  background: linear-gradient(100deg, var(--brand-strong) 0%, var(--brand) 42%, #8055F0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.br-lg { display: none; }
.nowrap { white-space: nowrap; }


/* ==========================================================================
   04. BUTTONS & CONTROLS
   ========================================================================== */
.btn {
  --btn-py: 0.72rem;
  --btn-px: 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--btn-py) var(--btn-px);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  text-align: center;
  transition: background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--lg { --btn-py: 0.95rem; --btn-px: 1.6rem; font-size: var(--fs-base); }
.btn--block { display: flex; width: 100%; }

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn--primary:hover { background: var(--brand-strong); color: #fff; }

.btn--secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-xs);
}
.btn--secondary:hover {
  border-color: var(--brand);
  color: var(--brand-ink);
  box-shadow: var(--shadow-sm);
}

.btn--ghost { color: var(--ink); background: transparent; }
.btn--ghost:hover { color: var(--brand-ink); background: var(--brand-soft); }

.btn--light { background: #fff; color: var(--brand-ink); }
.btn--light:hover { background: var(--tile-soft); color: var(--brand-ink); }

.btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
}
.btn--outline-light:hover {
  background: rgba(255, 255, 255, .12);
  border-color: #fff;
  color: #fff;
}


/* ==========================================================================
   05. HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .84);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--border);
  box-shadow: 0 6px 24px -18px rgba(15, 16, 32, .5);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  min-width: 0;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand__mark { flex: none; transition: transform var(--dur) var(--ease); }
.brand:hover .brand__mark { transform: rotate(-4deg) scale(1.05); }

.brand__text { display: block; min-width: 0; }
.brand__name {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 2.6vw, 1.02rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ink);
}
.brand__by {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  line-height: 1.4;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.site-nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.site-nav__list a {
  position: relative;
  display: inline-block;
  padding-block: var(--space-2);
  color: var(--ink-body);
  font-size: var(--fs-sm);
  font-weight: 500;
}
.site-nav__list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 2px;
  width: 100%; height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.site-nav__list a:hover { color: var(--ink); }
.site-nav__list a:hover::after { transform: scaleX(1); }

.site-nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 96;              /* stays clickable above the open drawer (z-index 95) */
  width: 44px; height: 44px;
  flex: none;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  cursor: pointer;
}
.nav-toggle:hover { background: var(--surface-2); border-color: var(--brand); }
.nav-toggle__bars { display: block; width: 18px; }
.nav-toggle__bars i {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle__bars i + i { margin-top: 4px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(15, 16, 32, .38);
  backdrop-filter: blur(2px);
}
.nav-backdrop[hidden] { display: none; }

body.nav-open { overflow: hidden; }


/* ==========================================================================
   06. HERO
   ========================================================================== */
.hero {
  position: relative;
  padding-top: clamp(3rem, 5vw, 5rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  top: -280px;
  left: 50%;
  width: min(1100px, 130vw);
  aspect-ratio: 1.6 / 1;
  translate: -50% 0;
  background:
    radial-gradient(45% 45% at 30% 45%, rgba(91, 75, 234, .17), transparent 70%),
    radial-gradient(40% 40% at 72% 42%, rgba(255, 214, 90, .20), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

.hero__copy {
  position: relative;
  max-width: 54rem;
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  padding: 0.375rem 0.875rem 0.375rem 0.625rem;
  background: var(--brand-soft);
  border: 1px solid rgba(91, 75, 234, .18);
  border-radius: var(--radius-pill);
  color: var(--brand-ink);
  font-size: var(--fs-xs);
  font-weight: 600;
}
.eyebrow__dot {
  width: 7px; height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(91, 75, 234, .18);
}

.hero__title {
  font-size: var(--fs-3xl);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.hero__lead {
  max-width: 44rem;
  margin: var(--space-6) auto 0;
  font-size: var(--fs-lg);
  color: var(--ink-body);
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3) var(--space-6);
  margin-top: var(--space-6);
  font-size: var(--fs-sm);
  color: var(--ink-muted);
}
.hero__meta li { display: inline-flex; align-items: center; gap: var(--space-2); }
.hero__meta svg { color: var(--accent-green); flex: none; }


/* ==========================================================================
   07. JOB MOCKUP — a real extraction run, drawn in HTML + CSS
   ========================================================================== */
.mockup-wrap {
  position: relative;
  max-width: 1060px;
  margin: clamp(3rem, 6vw, 4.5rem) auto 0;
}

.window {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.window__bar {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-4);
  background: linear-gradient(180deg, #FBFBFE, #F4F4FA);
  border-bottom: 1px solid var(--border);
}
.window__dots { display: flex; gap: 6px; flex: none; }
.window__dots i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}
.window__dots i:nth-child(1) { background: #FF5F57; }
.window__dots i:nth-child(2) { background: #FEBC2E; }
.window__dots i:nth-child(3) { background: #28C840; }
.window__url {
  flex: 1;
  max-width: 380px;
  margin-inline: auto;
  padding: 4px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.window__body {
  display: grid;
  grid-template-columns: 216px 1fr;
  min-height: 430px;
  background: var(--surface);
}

/* --- Left rail: the job's phases --- */
.job-side {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding: var(--space-5) var(--space-4);
  background: #fff;
  border-right: 1px solid var(--border);
}
.job-side__id {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
}
.job-side__id b {
  display: block;
  font-family: var(--font-display);
  font-size: 12.5px;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.job-phases { display: grid; gap: 2px; }
.job-phases li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-width: 0;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--ink-muted);
}
.job-phases li b {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink-body);
}
.job-phases li em {
  margin-left: auto;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 10.5px;
}
.job-phases li.is-current {
  background: var(--brand-soft);
  color: var(--brand-ink);
}
.job-phases li.is-current b { color: var(--brand-ink); }

.dot {
  width: 6px; height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--accent-green);
}
.dot--brand { background: var(--brand); }
.dot--idle  { background: var(--border-strong); }

.job-side__foot {
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--ink-muted);
}
.job-side__foot b {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--ink);
}

/* --- Main panel --- */
.job-main {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-5);
  min-width: 0;
}
.job-main__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
}
.job-main__title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.job-main__sub { font-size: 11.5px; color: var(--ink-muted); }

.pill {
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.pill--ok { background: rgba(16, 160, 95, .12); color: #0A7346; }

.kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.kpi {
  padding: var(--space-3);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.kpi__label {
  font-size: 10.5px;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.kpi__value {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
}
.kpi__value span { font-size: 11px; font-weight: 600; color: var(--ink-muted); }
.kpi__note { font-size: 11px; font-weight: 600; color: var(--accent-green); }

.progress {
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--surface-3);
  overflow: hidden;
}
.progress i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), #8C6BF2 70%, var(--tile));
  transform-origin: left;
  transition: transform 1.2s var(--ease) .2s;
}
.js-reveal .reveal .progress i { transform: scaleX(.06); }
.js-reveal .reveal.is-visible .progress i { transform: scaleX(1); }

.item-list { display: grid; gap: 6px; }
.item-list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-width: 0;          /* grid items default to min-width:auto and would
                            refuse to shrink below the product name */
  padding: 8px var(--space-3);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--ink);
}
.item-list__thumb {
  width: 26px; height: 26px;
  flex: none;
  border-radius: 7px;
  background: linear-gradient(135deg, rgba(91, 75, 234, .30), rgba(255, 214, 90, .75));
  border: 1px solid rgba(91, 75, 234, .18);
}
.item-list__name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}
.tag {
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
}
.tag--brand { background: var(--brand-soft); color: var(--brand-ink); }
.tag--tile  { background: var(--tile-soft); color: var(--tile-ink); }
.tag--teal  { background: #DEF5F4; color: #06726F; }

.item-list__more {
  padding-top: 2px;
  font-size: 11.5px;
  color: var(--ink-muted);
}

/* --- Floating cards --- */
.float-card {
  position: absolute;
  display: none;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.float-card b {
  display: block;
  font-family: var(--font-display);
  font-size: 12.5px;
  color: var(--ink);
  line-height: 1.3;
}
.float-card em {
  display: block;
  font-size: 11px;
  font-style: normal;
  color: var(--ink-muted);
}
.float-card__icon {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  flex: none;
  border-radius: 9px;
  background: var(--brand-soft);
  color: var(--brand-ink);
}
.float-card__icon--tile { background: var(--tile-soft); color: var(--tile-ink); }
/* Positioned to overlap the window's empty areas, never its UI.
   Hidden below 768px, where there is no room to float anything. */
.float-card--a { top: 62%; left: -6%; }
.float-card--b { bottom: -6%; right: -5%; }


/* ==========================================================================
   08. PROOF BAND
   ========================================================================== */
.proof {
  margin-top: clamp(3.5rem, 6vw, 5rem);
  padding-top: var(--space-10);
  border-top: 1px solid var(--border);
}
.proof__label {
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--ink-muted);
}
.proof__label code {
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--ink-body);
}
.metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-8);
  text-align: center;
}
.metrics b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand-ink);
  line-height: 1.1;
}
.metrics span {
  display: block;
  margin-top: var(--space-2);
  font-size: var(--fs-sm);
  color: var(--ink-muted);
  text-wrap: balance;
}


/* ==========================================================================
   09. STEPS
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-6);
  margin-bottom: clamp(3rem, 5vw, 4rem);
}
.step {
  position: relative;
  padding-top: var(--space-8);
}
.step::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 62px;
  right: calc(var(--space-6) * -1);
  height: 2px;
  background: linear-gradient(90deg, var(--border-strong), transparent);
}
.steps .step:last-child::before { display: none; }

.step__num {
  position: absolute;
  top: 0; left: 0;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--brand-ink);
}
.step__title {
  margin: var(--space-6) 0 var(--space-2);
  font-size: var(--fs-lg);
}
.step__title code {
  font-size: .85em;
  color: var(--brand-ink);
  letter-spacing: -0.02em;
}
.step p { font-size: var(--fs-sm); color: var(--ink-body); text-wrap: pretty; }


/* ==========================================================================
   10. CODE PANEL
   ========================================================================== */
.code-panel {
  border-radius: var(--radius-xl);
  background: var(--code-bg);
  border: 1px solid #262745;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.code-panel__bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: var(--code-bg-2);
  border-bottom: 1px solid #2C2D4E;
}
.code-tabs {
  display: flex;
  flex: 1;
  min-width: 0;
  gap: var(--space-1);
  overflow-x: auto;
  scrollbar-width: none;
}
.code-tabs::-webkit-scrollbar { display: none; }

.code-tab {
  padding: 0.45rem 0.85rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--code-muted);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.code-tab:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.code-tab[aria-selected="true"] {
  background: rgba(91, 75, 234, .30);
  border-color: rgba(171, 184, 255, .45);
  color: #fff;
}
.code-tab:focus-visible { outline-color: #fff; }

.code-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  padding: 0.45rem 0.8rem;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-sm);
  color: #EDEDFA;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.code-copy:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .3); }
.code-copy:focus-visible { outline-color: #fff; }
.code-copy svg { flex: none; }

.code-block { padding: var(--space-5) var(--space-4); overflow-x: auto; }
.code-block[hidden] { display: none; }
.code-block pre { margin: 0; }
.code-block code {
  display: block;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--code-text);
  white-space: pre;
  tab-size: 2;
}
.c-com { color: var(--code-muted); }
.c-key { color: var(--code-key); }
.c-str { color: var(--code-str); }
.c-num { color: var(--code-num); }
.c-fn  { color: #fff; font-weight: 600; }

.code-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-top: 1px solid #2C2D4E;
  background: var(--code-bg-2);
  font-size: var(--fs-xs);
  color: var(--code-muted);
}
.code-foot__msg { min-height: 1.2em; color: var(--code-str); font-weight: 600; }


/* ==========================================================================
   11. FEATURE GRID
   ========================================================================== */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
.feature-card {
  position: relative;
  padding: var(--space-6);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(91, 75, 234, .35);
  box-shadow: var(--shadow-md);
}
.feature-card__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: var(--space-5);
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.feature-card:hover .feature-card__icon { background: var(--brand); color: #fff; }
.feature-card__title {
  margin-bottom: var(--space-2);
  font-size: var(--fs-lg);
}
.feature-card p { font-size: var(--fs-sm); color: var(--ink-body); text-wrap: pretty; }
.feature-card code {
  padding: 1px 5px;
  border-radius: 5px;
  background: var(--surface-2);
  font-size: .86em;
  color: var(--ink);
}


/* ==========================================================================
   12. HONEST LIMITS
   ========================================================================== */
.limits__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: start;
}
.limits__copy .section__title { text-align: left; }
.limits__copy .section__lead { margin-inline: 0; }

.limit-list { display: grid; gap: var(--space-4); }
.limit-card {
  padding: var(--space-5) var(--space-6);
  background: #fff;
  border: 1px solid var(--border);
  border-left: 3px solid var(--tile);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}
.limit-card h3 {
  margin-bottom: var(--space-2);
  font-size: var(--fs-md);
}
.limit-card p { font-size: var(--fs-sm); color: var(--ink-body); text-wrap: pretty; }
.limit-card p + p { margin-top: var(--space-3); }
.limit-card__tag {
  display: inline-block;
  margin-bottom: var(--space-3);
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  background: var(--tile-soft);
  color: var(--tile-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.check-list {
  display: grid;
  gap: var(--space-3);
  margin: var(--space-6) 0 var(--space-8);
}
.check-list li {
  position: relative;
  padding-left: var(--space-8);
  font-size: var(--fs-sm);
  color: var(--ink-body);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--brand-soft);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 7px; top: 10px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--brand-ink);
  border-bottom: 2px solid var(--brand-ink);
  transform: rotate(-45deg);
}


/* ==========================================================================
   13. USE CASES
   ========================================================================== */
.usecases {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
.usecase {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.usecase:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.usecase__mark {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--brand), #8C6BF2);
  color: #fff;
}
.usecase h3 { font-size: var(--fs-md); }
.usecase p { font-size: var(--fs-sm); color: var(--ink-body); text-wrap: pretty; }


/* ==========================================================================
   14. PRICING
   ========================================================================== */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: var(--space-5);
  align-items: start;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-8) var(--space-5) var(--space-6);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.price-card--featured {
  border-color: var(--brand);
  box-shadow: var(--shadow-md), 0 0 0 4px rgba(91, 75, 234, .10);
}
.price-card__badge {
  position: absolute;
  top: -13px; left: 50%;
  translate: -50% 0;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: var(--brand);
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow-brand);
}
.price-card__name {
  font-size: var(--fs-lg);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.price-card__desc {
  font-size: var(--fs-sm);
  color: var(--ink-muted);
  min-height: 2.9em;
}
.price-card__price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-top: var(--space-2);
  font-family: var(--font-display);
  color: var(--ink);
}
.price-card__currency {
  font-size: 1.2rem;
  font-weight: 700;
  align-self: flex-start;
  margin-top: .45rem;
}
.price-card__amount {
  font-size: clamp(2.2rem, 3.2vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.price-card__period {
  margin-left: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-muted);
}
.price-card__calls {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--brand-ink);
}
.price-card__note {
  margin-bottom: var(--space-4);
  font-size: var(--fs-xs);
  color: var(--ink-muted);
}
.price-card__features {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
}
.price-card__features li {
  position: relative;
  padding-left: var(--space-6);
  font-size: var(--fs-sm);
  color: var(--ink-body);
}
.price-card__features li::before {
  content: "";
  position: absolute;
  left: 1px; top: 9px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}
.price-foot {
  margin-top: var(--space-8);
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--ink-muted);
  text-wrap: pretty;
}


/* ==========================================================================
   15. FAQ
   ========================================================================== */
.faq { display: grid; gap: var(--space-3); }
.faq__item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.faq__item:hover { border-color: var(--border-strong); }
.faq__item.is-open {
  border-color: rgba(91, 75, 234, .38);
  box-shadow: var(--shadow-sm);
}
.faq h3 { margin: 0; font-size: inherit; font-weight: inherit; }

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
  padding: var(--space-5) var(--space-6);
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.015em;
  transition: color var(--dur) var(--ease);
}
.faq__q:hover { color: var(--brand-ink); }

.faq__icon {
  position: relative;
  width: 26px; height: 26px;
  flex: none;
  border-radius: 50%;
  background: var(--brand-soft);
  transition: background-color var(--dur) var(--ease);
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 11px; height: 2px;
  border-radius: 2px;
  background: var(--brand-ink);
  translate: -50% -50%;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__q[aria-expanded="true"] .faq__icon { background: var(--brand); }
.faq__q[aria-expanded="true"] .faq__icon::before,
.faq__q[aria-expanded="true"] .faq__icon::after { background: #fff; }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: rotate(0deg); }

.faq__a {
  overflow: hidden;
  height: 0;
  transition: height var(--dur) var(--ease);
}
.faq__a[hidden] { display: block; height: 0; }
.faq__a p {
  padding: 0 var(--space-6) var(--space-4);
  font-size: var(--fs-sm);
  color: var(--ink-body);
  text-wrap: pretty;
}
.faq__a p:last-child { padding-bottom: var(--space-6); }
.faq__a code {
  padding: 1px 5px;
  border-radius: 5px;
  background: var(--surface-2);
  font-size: .9em;
  color: var(--ink);
}


/* ==========================================================================
   16. FINAL CTA
   ========================================================================== */
.cta { padding-block: var(--section-y); }
.cta__box {
  position: relative;
  overflow: hidden;
  padding: clamp(var(--space-10), 7vw, var(--space-20)) var(--space-6);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--brand-strong) 0%, var(--brand) 45%, #6E52EE 100%);
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta__glow {
  position: absolute;
  inset: -40% -10% auto;
  height: 120%;
  background:
    radial-gradient(38% 55% at 20% 30%, rgba(255, 255, 255, .14), transparent 70%),
    radial-gradient(30% 50% at 82% 18%, rgba(255, 214, 90, .32), transparent 70%);
  pointer-events: none;
}
.cta__title { position: relative; font-size: var(--fs-2xl); color: #fff; }
.cta__lead {
  position: relative;
  max-width: 36rem;
  margin: var(--space-4) auto 0;
  color: rgba(255, 255, 255, .95);
  font-size: var(--fs-md);
  text-wrap: pretty;
}
.cta__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-8);
}
.cta__fine {
  position: relative;
  margin-top: var(--space-5);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, .92);
}


/* ==========================================================================
   17. FOOTER
   ========================================================================== */
.site-footer {
  padding-block: var(--space-16) var(--space-8);
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.site-footer__top {
  display: grid;
  gap: var(--space-10);
  padding-bottom: var(--space-10);
  border-bottom: 1px solid var(--border);
}
.site-footer__tag {
  max-width: 22rem;
  margin-top: var(--space-4);
  font-size: var(--fs-sm);
  color: var(--ink-muted);
}
.site-footer__links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-8);
}
.site-footer__heading {
  margin-bottom: var(--space-4);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0;
}
.site-footer__links ul { display: grid; gap: var(--space-3); }
.site-footer__links a { font-size: var(--fs-sm); color: var(--ink-muted); }
.site-footer__links a:hover { color: var(--brand-ink); }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-top: var(--space-6);
  font-size: var(--fs-xs);
  color: var(--ink-muted);
}

/* The charming little line about the template this page was built with */
.made-with {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--border);
  color: var(--ink-muted);
  font-size: var(--fs-xs);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.made-with:hover {
  border-color: var(--brand);
  color: var(--brand-ink);
  box-shadow: var(--shadow-xs);
}
/* A 2x2 echo of the logo grid, with the last tile in the accent colour */
.made-with span {
  display: grid;
  grid-template-columns: repeat(2, 6px);
  gap: 2px;
  flex: none;
}
.made-with i {
  width: 6px; height: 6px;
  border-radius: 2px;
  background: var(--brand);
}
.made-with i:last-child { background: var(--tile); }


/* ==========================================================================
   18. SCROLL REVEAL
   ========================================================================== */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }


/* ==========================================================================
   19. RESPONSIVE — mobile-first; everything above is the small-screen layout
   ========================================================================== */

/* --- Small phones: the mockup gives up its left rail -------------------- */
@media (max-width: 460px) {
  .window__body { grid-template-columns: 1fr; }
  .job-side { display: none; }
  .job-main { padding: var(--space-4); }
  .kpi-row { grid-template-columns: 1fr 1fr; }
  .kpi-row .kpi:last-child { display: none; }
  .code-block { padding: var(--space-4) var(--space-3); }
  .code-block code { font-size: 11.5px; }
}

/* --- Tablets ------------------------------------------------------------ */
@media (min-width: 640px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .usecases { grid-template-columns: repeat(2, 1fr); }
  .metrics { grid-template-columns: repeat(4, 1fr); }
  .site-footer__bottom { flex-wrap: nowrap; }
}

@media (min-width: 768px) {
  .float-card { display: flex; }
  .float-card--a { top: 64%; left: -2%; }
  .float-card--b { bottom: -5%; right: -2%; }
  .site-footer__top { grid-template-columns: minmax(240px, 1fr) 2fr; }
}

/* --- Desktop ------------------------------------------------------------ */
@media (min-width: 992px) {
  .br-lg { display: inline; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .usecases { grid-template-columns: repeat(4, 1fr); }
  .limits__inner { grid-template-columns: 1fr 1.15fr; }
  .float-card--a { top: 62%; left: -6%; }
  .float-card--b { bottom: -6%; right: -5%; }
}

/* --- Below 992px the nav becomes a slide-in drawer ---------------------- */
@media (max-width: 991px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: fixed;
    top: 0; right: 0;
    z-index: 95;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: var(--space-6);
    width: min(320px, 86vw);
    height: 100dvh;
    padding: calc(var(--header-h) + var(--space-6)) var(--space-6) var(--space-8);
    background: #fff;
    border-left: 1px solid var(--border);
    box-shadow: -20px 0 50px -30px rgba(15, 16, 32, .5);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .28s var(--ease), visibility .28s var(--ease);
    overflow-y: auto;
  }
  .site-nav.is-open { transform: translateX(0); visibility: visible; }

  .site-nav__list { flex-direction: column; align-items: stretch; gap: var(--space-1); }
  .site-nav__list a {
    display: block;
    padding: var(--space-3);
    border-radius: var(--radius-md);
    font-size: var(--fs-md);
    font-weight: 600;
    color: var(--ink);
  }
  .site-nav__list a:hover { background: var(--brand-soft); color: var(--brand-ink); }
  .site-nav__list a::after { display: none; }

  .site-nav__actions {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
    padding-top: var(--space-5);
    border-top: 1px solid var(--border);
  }
  .site-nav__actions .btn { width: 100%; }

  .step::before { display: none; }
}

/* --- Reduced motion ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js-reveal .reveal { opacity: 1; transform: none; }
  .js-reveal .reveal .progress i { transform: none; }
}


/* ==========================================================================
   20. PRINT
   ========================================================================== */
@media print {
  .site-header, .nav-toggle, .nav-backdrop, .float-card, .code-copy { display: none !important; }
  body { color: #000; }
  .faq__a { height: auto !important; }
  .code-block[hidden] { display: block; }
  .cta__box { background: none; color: #000; box-shadow: none; }
  .cta__title, .cta__lead, .cta__fine { color: #000; }
}
