/* ==========================================================================
   Cawoba — Design System
   Tokens → primitives → components → sections → utilities → responsive
   ========================================================================== */

/* ------------------------------- 1. Tokens -------------------------------- */
:root {
  /* Brand */
  --brand-green: #34b98a;
  --brand-teal: #35a5a8;
  --brand-blue: #3b82c4;
  --brand-gradient: linear-gradient(100deg, var(--brand-green) 0%, var(--brand-teal) 48%, var(--brand-blue) 100%);
  --brand-gradient-soft: linear-gradient(100deg, rgba(52, 185, 138, .12) 0%, rgba(59, 130, 196, .12) 100%);

  /* Ink & paper */
  --ink-900: #0d1526;
  --ink-800: #131d33;
  --ink-700: #1c2740;
  --ink-500: #46536b;
  --ink-400: #5d6b83;
  --ink-300: #8290a6;
  --paper: #ffffff;
  --paper-50: #fbfcfe;
  --paper-100: #f5f8fc;
  --paper-200: #eef2f8;

  /* Lines & shadows */
  --line: #e3e9f2;
  --line-strong: #d3dbe8;
  --line-dark: rgba(255, 255, 255, .10);
  --line-dark-strong: rgba(255, 255, 255, .18);
  --shadow-sm: 0 1px 2px rgba(13, 21, 38, .04), 0 1px 3px rgba(13, 21, 38, .04);
  --shadow-md: 0 4px 6px -2px rgba(13, 21, 38, .04), 0 12px 24px -8px rgba(13, 21, 38, .08);
  --shadow-lg: 0 8px 12px -4px rgba(13, 21, 38, .05), 0 24px 48px -12px rgba(13, 21, 38, .12);
  --shadow-brand: 0 8px 24px -8px rgba(52, 185, 138, .45);

  /* Type */
  --font-display: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: clamp(.8125rem, .79rem + .1vw, .875rem);
  --step-0: clamp(.9375rem, .91rem + .12vw, 1rem);
  --step-1: clamp(1.0625rem, 1.02rem + .2vw, 1.1875rem);
  --step-2: clamp(1.25rem, 1.17rem + .35vw, 1.5rem);
  --step-3: clamp(1.5rem, 1.35rem + .65vw, 1.9375rem);
  --step-4: clamp(1.875rem, 1.6rem + 1.2vw, 2.625rem);
  --step-5: clamp(2.25rem, 1.75rem + 2.1vw, 3.5rem);
  --step-6: clamp(2.625rem, 1.85rem + 3.3vw, 4.5rem);

  /* Space */
  --sp-1: .25rem;
  --sp-2: .5rem;
  --sp-3: .75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 2.5rem;
  --sp-8: 3.5rem;
  --sp-9: 5rem;
  --sp-10: 7rem;

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 999px;

  /* Layout */
  --container: 1200px;
  --container-wide: 1320px;
  --nav-h: 72px;

  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ------------------------------- 2. Reset --------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink-500);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink-900);
  margin: 0;
  font-weight: 800;
  letter-spacing: -.022em;
  line-height: 1.1;
  text-wrap: balance;
}

p { margin: 0; }
img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

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

::selection { background: rgba(52, 185, 138, .22); }

/* ----------------------------- 3. Primitives ------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}
.container--wide { max-width: var(--container-wide); }

.section { padding-block: var(--sp-10); position: relative; }
.section--tight { padding-block: var(--sp-9); }
.section--paper { background: var(--paper-50); }
.section--tinted { background: linear-gradient(180deg, var(--paper-100) 0%, var(--paper-50) 100%); }

/* Dark sections */
.section--dark {
  background: var(--ink-900);
  color: rgba(255, 255, 255, .72);
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: var(--sp-4);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-gradient);
}
.section--dark .eyebrow { color: var(--brand-green); }

.lead {
  font-size: var(--step-1);
  line-height: 1.6;
  color: var(--ink-400);
  max-width: 56ch;
}
.section--dark .lead { color: rgba(255, 255, 255, .62); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: .8125rem 1.375rem;
  border-radius: var(--r-full);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: -.005em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1em; height: 1em; flex: none; }

.btn--primary {
  background: var(--ink-900);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn--primary:hover { background: var(--ink-700); box-shadow: var(--shadow-lg); }

.btn--brand {
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn--brand:hover { box-shadow: 0 12px 32px -8px rgba(52, 185, 138, .55); }

.btn--ghost {
  background: var(--paper);
  color: var(--ink-800);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover { border-color: var(--ink-300); background: var(--paper); }

.btn--outline-light {
  background: rgba(255, 255, 255, .04);
  color: #fff;
  border-color: var(--line-dark-strong);
}
.btn--outline-light:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); }

.btn--sm { padding: .5rem 1rem; font-size: .875rem; }
.btn--lg { padding: .9375rem 1.75rem; font-size: 1rem; }

/* Cards */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
}
.card--pad { padding: var(--sp-6); }
.card--dark {
  background: var(--ink-900);
  border-color: var(--line-dark);
  color: rgba(255, 255, 255, .7);
}

/* Icon chip */
.chip {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--paper-200);
  color: var(--ink-700);
  flex: none;
}
.chip svg { width: 19px; height: 19px; }
.chip--brand { background: var(--brand-gradient-soft); color: var(--brand-teal); }
.chip--dark { background: rgba(52, 185, 138, .14); color: var(--brand-green); }
.chip--sm { width: 32px; height: 32px; border-radius: 9px; }
.chip--sm svg { width: 16px; height: 16px; }

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: .25rem .625rem;
  border-radius: var(--r-full);
  font-size: .6875rem;
  font-weight: 650;
  letter-spacing: .01em;
  background: var(--paper-200);
  color: var(--ink-400);
  white-space: nowrap;
}
.badge--ok { background: rgba(52, 185, 138, .12); color: #1d8a63; }
.badge--warn { background: rgba(224, 138, 44, .12); color: #a35f14; }
.badge--info { background: rgba(59, 130, 196, .12); color: #2b6ca6; }
.badge--dot::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
}

/* ------------------------------ 4. Header --------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, .92);
}
.nav {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  width: 100%;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink-900);
  flex: none;
}
.brand__mark { width: 28px; height: 28px; flex: none; }
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  margin-inline: auto;
}
.nav__links a {
  padding: .5rem .875rem;
  border-radius: var(--r-sm);
  font-size: .9375rem;
  font-weight: 500;
  color: var(--ink-500);
  transition: color .15s var(--ease), background-color .15s var(--ease);
}
.nav__links a:hover { color: var(--ink-900); background: var(--paper-100); }
.nav__links a[aria-current="page"] { color: var(--ink-900); font-weight: 600; }
.nav__actions { display: flex; align-items: center; gap: var(--sp-2); flex: none; }

.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  cursor: pointer;
  place-items: center;
}
.nav__toggle svg { width: 20px; height: 20px; }

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  z-index: 55;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: var(--sp-4) var(--sp-5) var(--sp-6);
  display: none;
  box-shadow: var(--shadow-lg);
}
.mobile-menu.is-open { display: block; }
.mobile-menu a {
  display: block;
  padding: .875rem 0;
  font-size: 1.0625rem;
  font-weight: 550;
  color: var(--ink-800);
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { width: 100%; margin-top: var(--sp-4); }

/* -------------------------------- 5. Hero --------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: var(--sp-10) var(--sp-9);
  text-align: center;
  background:
    radial-gradient(720px 420px at 50% -8%, rgba(52, 185, 138, .10), transparent 70%),
    radial-gradient(620px 380px at 82% 8%, rgba(59, 130, 196, .10), transparent 70%),
    var(--paper);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(13, 21, 38, .035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(13, 21, 38, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 72%);
  pointer-events: none;
}
.hero > * { position: relative; }

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: .375rem .875rem .375rem .5rem;
  border-radius: var(--r-full);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: .8125rem;
  font-weight: 550;
  color: var(--ink-500);
  margin-bottom: var(--sp-5);
}
.hero__pill .badge { font-size: .625rem; }

.hero h1 {
  font-size: var(--step-6);
  letter-spacing: -.04em;
  line-height: 1.02;
  max-width: 20ch;
  margin-inline: auto;
}
.hero .lead {
  margin: var(--sp-5) auto 0;
  max-width: 58ch;
  text-align: center;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}
.hero__note {
  margin-top: var(--sp-4);
  font-size: var(--step--1);
  color: var(--ink-300);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: var(--sp-9);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.stat {
  background: var(--paper);
  padding: var(--sp-5) var(--sp-4);
  text-align: center;
}
.stat__num {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink-900);
  line-height: 1;
}
.stat__label {
  margin-top: var(--sp-2);
  font-size: var(--step--1);
  color: var(--ink-400);
  line-height: 1.45;
}

/* Marquee */
.marquee {
  --marquee-speed: 42s;
  position: relative;
  overflow: hidden;
  background: var(--ink-900);
  padding-block: var(--sp-4);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee var(--marquee-speed) linear infinite;
}
.marquee__group {
  display: flex;
  align-items: center;
  flex: none;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-5);
  padding-inline: var(--sp-5);
  font-family: var(--font-display);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: rgba(255, 255, 255, .68);
  white-space: nowrap;
}
.marquee__item::after {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brand-teal);
  flex: none;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ------------------------- 6. Two-column section -------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-9);
  align-items: center;
}
.split--top { align-items: start; }

.section-head {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: var(--sp-7);
  align-items: end;
  margin-bottom: var(--sp-8);
}
.section-head h2 { font-size: var(--step-5); letter-spacing: -.035em; }
.section-head--center {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
  max-width: 44rem;
  margin-inline: auto;
}
.section-head--center .lead { text-align: center; }

/* Feature bullet list (icon + text) */
.bullets { display: grid; gap: var(--sp-5); margin-top: var(--sp-6); }
.bullet { display: flex; gap: var(--sp-4); }
.bullet__title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -.015em;
  margin-bottom: 2px;
}
.section--dark .bullet__title { color: #fff; }
.bullet__body { font-size: var(--step-0); color: var(--ink-400); }
.section--dark .bullet__body { color: rgba(255, 255, 255, .6); }

/* Product mock cards */
.mock { display: grid; gap: var(--sp-4); }
.mock__card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  box-shadow: var(--shadow-md);
}
.mock__card:nth-child(2) { margin-left: var(--sp-6); }
.mock__card:nth-child(3) { margin-left: calc(var(--sp-6) * 2); }
.mock__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-3);
}
.mock__label {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--ink-400);
  letter-spacing: .005em;
}
.mock__value {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink-900);
  line-height: 1.1;
}
.mock__meta { margin-top: var(--sp-1); font-size: var(--step--1); color: var(--ink-300); }
.mock__bar {
  margin-top: var(--sp-4);
  height: 6px;
  border-radius: var(--r-full);
  background: var(--paper-200);
  overflow: hidden;
}
.mock__bar > span {
  display: block;
  height: 100%;
  width: 62%;
  border-radius: inherit;
  background: var(--brand-gradient);
}
.mock__row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line);
  margin-top: var(--sp-4);
}
.mock__avatar {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--brand-gradient-soft);
  color: var(--brand-teal);
  font-family: var(--font-display);
  font-size: .8125rem;
  font-weight: 750;
  flex: none;
}

/* ------------------------------ 7. Steps ---------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}
.step {
  position: relative;
  padding: var(--sp-6) var(--sp-5);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .022);
  transition: border-color .2s var(--ease), background-color .2s var(--ease), transform .2s var(--ease);
}
.step:hover {
  border-color: var(--line-dark-strong);
  background: rgba(255, 255, 255, .045);
  transform: translateY(-2px);
}
.step__num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  color: rgba(255, 255, 255, .13);
  margin-bottom: var(--sp-5);
}
.step h3 {
  font-size: 1.125rem;
  margin-block: var(--sp-4) var(--sp-2);
  letter-spacing: -.02em;
}
.step p { font-size: var(--step--1); color: rgba(255, 255, 255, .6); line-height: 1.6; }

/* ---------------------------- 8. Feature grid ----------------------------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-md);
}
.feature {
  padding: var(--sp-6);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background-color .2s var(--ease);
}
.feature:hover { background: var(--paper-50); }
.feature:nth-child(3n) { border-right: 0; }
.feature:nth-last-child(-n+3) { border-bottom: 0; }
.feature h3 {
  font-size: 1.125rem;
  letter-spacing: -.02em;
  margin-block: var(--sp-4) var(--sp-2);
}
.feature p { font-size: var(--step--1); color: var(--ink-400); line-height: 1.65; }
.feature__tag {
  display: inline-block;
  margin-top: var(--sp-4);
  font-size: .6875rem;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand-blue);
}

/* --------------------------- 9. Audience cards ---------------------------- */
.audience {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}
.aud {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: var(--sp-7);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-md);
}
.aud--dark {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: rgba(255, 255, 255, .7);
}
.aud--dark h3 { color: #fff; }
.aud--dark .eyebrow { color: var(--brand-green); }
.aud::after {
  content: "";
  position: absolute;
  right: -90px; bottom: -110px;
  width: 260px; height: 260px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: .07;
  pointer-events: none;
}
.aud h3 { font-size: var(--step-3); letter-spacing: -.03em; }
.aud > p { margin-top: var(--sp-4); color: inherit; font-size: var(--step-0); line-height: 1.7; }
.aud--dark > p { color: rgba(255, 255, 255, .62); }
.aud__list { display: grid; gap: var(--sp-3); margin-top: var(--sp-6); }
.aud__list li {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  font-size: var(--step-0);
  color: var(--ink-500);
}
.aud--dark .aud__list li { color: rgba(255, 255, 255, .78); }
.aud__list svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--brand-green); }
.aud__foot {
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
}
.aud--dark .aud__foot { border-top-color: var(--line-dark); }

/* --------------------------- 10. Integrations ----------------------------- */
.integrations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}
.integration {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-5);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.integration:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.integration__logo {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--paper-100);
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: .9375rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink-700);
  flex: none;
}
.integration__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -.015em;
}
.integration__status { margin-top: 3px; }
.integration--soon { opacity: .78; }

/* ------------------------------- 11. FAQ ---------------------------------- */
.faq { max-width: 52rem; margin-inline: auto; }
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--ink-900);
}
.faq__icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  flex: none;
  transition: transform .22s var(--ease), background-color .22s var(--ease), border-color .22s var(--ease);
}
.faq__icon svg { width: 14px; height: 14px; }
.faq__item.is-open .faq__icon {
  transform: rotate(45deg);
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: #fff;
}
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .28s var(--ease);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding-bottom: var(--sp-5); max-width: 62ch; color: var(--ink-400); }

/* ------------------------------- 12. CTA ---------------------------------- */
.cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--ink-900);
  padding: var(--sp-8) var(--sp-8);
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: var(--sp-7);
  align-items: center;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(520px 320px at 88% 10%, rgba(52, 185, 138, .18), transparent 70%),
    radial-gradient(460px 300px at 60% 110%, rgba(59, 130, 196, .16), transparent 70%);
  pointer-events: none;
}
.cta > * { position: relative; }
.cta h2 { font-size: var(--step-4); letter-spacing: -.035em; color: #fff; }
.cta .eyebrow { color: var(--brand-green); }
.cta p { margin-top: var(--sp-4); color: rgba(255, 255, 255, .62); max-width: 46ch; }
.cta__actions { display: grid; gap: var(--sp-3); }
.cta__actions .btn { width: 100%; }

/* ------------------------------ 13. Footer -------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper-50);
  padding-block: var(--sp-8) var(--sp-6);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--sp-7);
  padding-bottom: var(--sp-7);
  border-bottom: 1px solid var(--line);
}
.footer__about p {
  margin-top: var(--sp-4);
  font-size: var(--step--1);
  color: var(--ink-400);
  max-width: 34ch;
}
.footer__col h4 {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-700);
  margin-bottom: var(--sp-4);
}
.footer__col li + li { margin-top: var(--sp-3); }
.footer__col a {
  font-size: var(--step--1);
  color: var(--ink-400);
  transition: color .15s var(--ease);
}
.footer__col a:hover { color: var(--ink-900); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-top: var(--sp-5);
  font-size: var(--step--1);
  color: var(--ink-300);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--sp-5); }
.footer__legal a:hover { color: var(--ink-900); }

/* --------------------------- 14. Doc pages -------------------------------- */
.page-hero {
  padding-block: var(--sp-9) var(--sp-7);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(59, 130, 196, .08), transparent 70%),
    var(--paper-50);
}
.page-hero h1 { font-size: var(--step-5); letter-spacing: -.035em; }
.page-hero .lead { margin-top: var(--sp-4); }
.page-hero__meta {
  margin-top: var(--sp-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
  font-size: var(--step--1);
  color: var(--ink-300);
}

.doc-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: var(--sp-8);
  align-items: start;
  padding-block: var(--sp-8) var(--sp-10);
}
.toc {
  position: sticky;
  top: calc(var(--nav-h) + var(--sp-5));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  background: var(--paper);
}
.toc h4 {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-300);
  margin-bottom: var(--sp-3);
}
.toc li + li { margin-top: 2px; }
.toc a {
  display: block;
  padding: .375rem .5rem;
  border-radius: 6px;
  font-size: .875rem;
  color: var(--ink-400);
  line-height: 1.45;
  transition: color .15s var(--ease), background-color .15s var(--ease);
}
.toc a:hover { color: var(--ink-900); background: var(--paper-100); }

.prose { max-width: 72ch; }
.prose h2 {
  font-size: var(--step-3);
  letter-spacing: -.03em;
  margin-top: var(--sp-8);
  padding-top: var(--sp-2);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 1.125rem;
  letter-spacing: -.02em;
  margin-top: var(--sp-6);
}
.prose p, .prose ul, .prose ol { margin-top: var(--sp-4); }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li {
  position: relative;
  padding-left: 1.375rem;
  margin-top: var(--sp-3);
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 4px; top: .6875em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-teal);
}
.prose ol { list-style: decimal; }
.prose ol li { margin-top: var(--sp-3); padding-left: .25rem; }
.prose ol li::marker { color: var(--brand-blue); font-weight: 600; }
.prose strong { color: var(--ink-800); font-weight: 650; }
.prose a { color: var(--brand-blue); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--ink-900); }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--sp-5);
  font-size: var(--step--1);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.prose th, .prose td {
  padding: .75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.prose th {
  background: var(--paper-100);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink-800);
  font-size: .8125rem;
  letter-spacing: -.01em;
}
.prose tr:last-child td { border-bottom: 0; }

.callout {
  margin-top: var(--sp-5);
  padding: var(--sp-5);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand-teal);
  border-radius: var(--r-md);
  background: var(--paper-50);
  font-size: var(--step--1);
}
.callout strong { display: block; margin-bottom: var(--sp-1); color: var(--ink-900); }

/* Support page */
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}
.support-card {
  padding: var(--sp-6);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.support-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.support-card h3 { font-size: 1.0625rem; margin-block: var(--sp-4) var(--sp-2); letter-spacing: -.02em; }
.support-card p { font-size: var(--step--1); color: var(--ink-400); }
.support-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--sp-4);
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--brand-blue);
}
.support-card__link svg { width: 14px; height: 14px; }

/* About page — founder cards */
.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-7);
}
.member {
  display: flex;
  flex-direction: column;
  padding: var(--sp-6);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  text-align: center;
  align-items: center;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.member:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.member__photo {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--paper-50);
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-md);
}
.member__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.member__name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink-900);
  margin-top: var(--sp-4);
}
.member__role {
  margin-top: 2px;
  font-size: .6875rem;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand-blue);
}
.member__bio {
  margin-top: var(--sp-3);
  font-size: var(--step--1);
  color: var(--ink-400);
  line-height: 1.65;
}
.member__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--sp-4);
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--brand-blue);
}
.member__link svg { width: 15px; height: 15px; }

/* About page — story prose block */
.about-story {
  max-width: 62ch;
  margin-inline: auto;
  margin-top: var(--sp-8);
}
.about-story p { text-align: left; }

/* --------------------------- 15. Reveal anim ------------------------------ */
/* Hidden state applies only once JS confirms it can reveal them again,
   so content stays visible if JS fails or is disabled. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  .btn:hover, .step:hover, .integration:hover, .support-card:hover, .member:hover { transform: none; }
}

/* --------------------------- 16. Responsive ------------------------------- */
@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; }
  .doc-layout { grid-template-columns: 200px minmax(0, 1fr); gap: var(--sp-6); }
}

@media (max-width: 900px) {
  :root { --sp-10: 4.5rem; --sp-9: 3.5rem; }
  .nav__links { display: none; }
  .nav__actions .btn--ghost { display: none; }
  .nav__toggle { display: grid; }
  .nav { justify-content: space-between; }
  .split { grid-template-columns: 1fr; gap: var(--sp-7); }
  .section-head { grid-template-columns: 1fr; gap: var(--sp-4); align-items: start; }
  .steps { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .feature:nth-child(3n) { border-right: 1px solid var(--line); }
  .feature:nth-child(2n) { border-right: 0; }
  .feature:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .feature:nth-last-child(-n+2) { border-bottom: 0; }
  .audience { grid-template-columns: 1fr; }
  .integrations { grid-template-columns: 1fr 1fr; }
  .support-grid { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: 1fr 1fr; }
  .cta { grid-template-columns: 1fr; padding: var(--sp-7) var(--sp-6); }
  .cta__actions { grid-template-columns: 1fr 1fr; }
  .doc-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .mock__card:nth-child(2), .mock__card:nth-child(3) { margin-left: 0; }
}

@media (max-width: 640px) {
  :root { --sp-10: 3.75rem; }
  .container { padding-inline: var(--sp-4); }
  .stats { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .feature { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .feature:last-child { border-bottom: 0 !important; }
  .integrations { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cta__actions { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .aud { padding: var(--sp-6) var(--sp-5); }
}
