/* =========================================================================
   caiOS labs — brand stylesheet
   Tokens map 1:1 to the brand sheet. Pastels are surface/accent colors only;
   every text and control color is a deepened variant chosen to clear WCAG AA.
   ========================================================================= */

/* ---------- Typeface ----------
   Poppins is self-hosted (latin subset, SIL OFL — see assets/fonts/OFL.txt)
   so the site makes no third-party requests to render text. */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  /* Brand palette (from the brand sheet) */
  --purple: #a788fa;
  --blue: #93c5fd;
  --mint: #a7f3d0;
  --pink: #f8cfe8;
  --peach: #fed7aa;
  --lavender: #ede9fe;
  --bg: #f8fafc;
  --ink: #1e293b;

  /* Deepened variants for text, icons and controls */
  --purple-600: #7c3aed;
  --purple-700: #6d28d9;
  --purple-900: #3b1d8f;
  --blue-700: #1d4ed8;
  --mint-700: #047857;
  --pink-700: #a3357e;
  --peach-700: #b45309;

  /* Neutrals */
  --white: #ffffff;
  --ink-soft: #47566d;
  --muted: #5b6b84;
  --line: #e6e9f2;
  --line-strong: #d6dbea;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(30, 41, 59, 0.05), 0 1px 3px rgba(30, 41, 59, 0.04);
  --shadow-md: 0 4px 12px rgba(76, 29, 149, 0.06), 0 12px 28px rgba(30, 41, 59, 0.06);
  --shadow-lg: 0 8px 24px rgba(76, 29, 149, 0.08), 0 24px 60px rgba(30, 41, 59, 0.1);
  --shadow-glow: 0 10px 30px rgba(124, 58, 237, 0.28);

  --grad-brand: linear-gradient(120deg, #a788fa 0%, #93c5fd 55%, #a7f3d0 100%);
  --grad-cta: linear-gradient(120deg, #7c3aed 0%, #8b5cf6 45%, #6366f1 100%);
  --grad-soft: linear-gradient(150deg, #ede9fe 0%, #f8fafc 55%, #e0f2fe 100%);

  /* Geometry */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(64px, 9vw, 120px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 { font-size: clamp(2.15rem, 1.5rem + 2.6vw, 3.5rem); }
h2 { font-size: clamp(1.85rem, 1.25rem + 2.2vw, 2.85rem); }
h3 { font-size: clamp(1.15rem, 1.02rem + 0.5vw, 1.4rem); }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--purple-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--purple-900); }

ul, ol { margin: 0; padding: 0; }

:focus-visible {
  outline: 3px solid var(--purple-600);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--lavender); color: var(--purple-900); }

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

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 76px); }
.section--alt { background: var(--white); }

.section-head { max-width: 42rem; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p {
  margin-top: 16px;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--lavender);
  color: var(--purple-700);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad-brand);
}

.lede { font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem); color: var(--muted); }

.grid { display: grid; gap: clamp(18px, 2.2vw, 26px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: var(--r-sm);
  background: var(--purple-700);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
              background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn svg { flex: none; }

.btn--primary {
  background-image: var(--grad-cta);
  color: var(--white);
  box-shadow: var(--shadow-glow);
}
.btn--primary:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(124, 58, 237, 0.36);
}

.btn--ghost {
  background: var(--white);
  border-color: var(--line-strong);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover {
  color: var(--purple-700);
  border-color: var(--purple);
  transform: translateY(-2px);
}

.btn--lg { padding: 17px 32px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.62; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  text-decoration: none;
}
.link-arrow svg { transition: transform 0.2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Logo lockup ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
}
.logo__mark { width: 40px; height: 40px; flex: none; }
.logo__text {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  white-space: nowrap;
}
.logo__text span { font-weight: 400; letter-spacing: -0.02em; }
.logo:hover { color: var(--ink); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(30, 41, 59, 0.05);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 14px;
  border-radius: var(--r-pill);
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}
.nav a:hover { background: var(--lavender); color: var(--purple-700); }
/* The nav carries its own CTA for the mobile drawer; on desktop the one in
   .header__actions is the only one that should show. */
.nav > .btn { display: none; }
/* `.nav a` would otherwise outrank `.btn--primary` and leave the drawer's CTA
   with muted text on the purple gradient. */
.nav > .btn--primary { color: var(--white); }

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

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--white);
  cursor: pointer;
}
.nav-toggle span {
  position: relative;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: background-color 0.2s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.24s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .header__actions .btn { display: none; }
  .nav {
    position: fixed;
    inset: 76px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 18px var(--gutter) 30px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav a { padding: 14px 12px; font-size: 1.05rem; }
  .nav > .btn { display: inline-flex; margin-top: 12px; }
}

/* Ragged button rows read as a mistake on narrow screens — match their widths. */
@media (max-width: 560px) {
  .btn-row .btn { flex: 1 1 100%; }
}

/* ---------- Decorative background ---------- */
.blob {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(82px);
  opacity: 0.38;
  pointer-events: none;
}
.blob--1 { width: 520px; height: 520px; top: -200px; right: -180px; background: var(--purple); }
.blob--2 { width: 440px; height: 440px; top: 200px; left: -240px; background: var(--blue); }
.blob--3 { width: 380px; height: 380px; bottom: -180px; right: 6%; background: var(--mint); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 7vw, 92px) clamp(64px, 9vw, 116px);
  background: var(--grad-soft);
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
}

.hero h1 { margin-bottom: 20px; }
.hero h1 .grad {
  background: linear-gradient(100deg, #7c3aed 0%, #6366f1 50%, #0ea5e9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub { max-width: 33rem; margin-bottom: 30px; }

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line-strong);
  list-style: none;
}
.hero__proof li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.hero__proof svg { flex: none; color: var(--mint-700); }

/* ---------- Dashboard mockup ---------- */
.mock {
  position: relative;
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-size: 13px;
  line-height: 1.4;
}
.mock::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  pointer-events: none;
}
.mock__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.mock__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.mock__dot:nth-child(1) { background: #fecdd3; }
.mock__dot:nth-child(2) { background: var(--peach); }
.mock__dot:nth-child(3) { background: var(--mint); }
.mock__url {
  margin-left: 10px;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--bg);
  color: var(--muted);
  font-size: 11px;
}

.mock__body { display: grid; grid-template-columns: 132px minmax(0, 1fr); }
.mock__side {
  padding: 16px 12px;
  background: var(--bg);
  border-right: 1px solid var(--line);
}
@media (max-width: 520px) {
  .mock__body { grid-template-columns: 1fr; }
  .mock__side { display: none; }
}
.mock__side ul { list-style: none; display: grid; gap: 3px; }
.mock__side li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 500;
}
.mock__side li.is-active { background: var(--lavender); color: var(--purple-700); font-weight: 600; }
.mock__side li i {
  width: 14px; height: 14px;
  flex: none;
  border-radius: 4px;
  background: currentColor;
  opacity: 0.32;
}

.mock__main { padding: 18px; display: grid; gap: 14px; }
.mock__greet { font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.mock__greet span { display: block; font-size: 11.5px; font-weight: 400; color: var(--muted); }

.mock__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mock__stat {
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}
.mock__stat b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.02em; }
.mock__stat small { font-size: 10.5px; color: var(--muted); }
.mock__stat .up { color: var(--mint-700); font-weight: 600; }
.mock__stat .down { color: #be123c; font-weight: 600; }

.mock__panel {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}
.mock__panel h4 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
}
.mock__panel h4 em {
  padding: 2px 8px;
  border-radius: var(--r-pill);
  background: var(--lavender);
  color: var(--purple-700);
  font-size: 9px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.mock__chart { display: block; width: 100%; height: 92px; }

.mock__chips { display: grid; gap: 6px; }
.mock__chips span {
  padding: 7px 11px;
  border-radius: 9px;
  background: var(--lavender);
  color: var(--purple-700);
  font-size: 11px;
  font-weight: 500;
}
.mock__ask {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  padding: 7px 8px 7px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--muted);
  font-size: 11px;
}
.mock__ask i {
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  flex: none;
  border-radius: 50%;
  background-image: var(--grad-cta);
  color: var(--white);
  font-size: 11px;
  font-style: normal;
}

/* Floating badge over the mockup */
.mock-float {
  position: absolute;
  right: -14px;
  bottom: -18px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  font-size: 0.82rem;
  font-weight: 600;
}
.mock-float i {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--mint);
  color: var(--mint-700);
  font-style: normal;
}
.mock-float span { display: block; font-weight: 400; font-size: 0.74rem; color: var(--muted); }
@media (max-width: 560px) { .mock-float { display: none; } }

.mock-wrap { position: relative; }

/* ---------- Marquee / industries ---------- */
.strip {
  padding-block: clamp(28px, 4vw, 44px);
  border-block: 1px solid var(--line);
  background: var(--white);
}
.strip__label {
  margin-bottom: 18px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.strip__items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
  list-style: none;
}
.strip__items li {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--bg);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
}

/* ---------- Cards ---------- */
.card {
  position: relative;
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              border-color 0.25s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.97rem; }

.icon-tile {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  margin-bottom: 18px;
  border-radius: var(--r-md);
  background: var(--lavender);
  color: var(--purple-700);
}
.icon-tile--blue { background: #dbeafe; color: var(--blue-700); }
.icon-tile--mint { background: #d1fae5; color: var(--mint-700); }
.icon-tile--pink { background: #fce7f3; color: var(--pink-700); }
.icon-tile--peach { background: #ffedd5; color: var(--peach-700); }

.card__list {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  list-style: none;
  display: grid;
  gap: 9px;
}
.card__list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.card__list svg { flex: none; margin-top: 4px; color: var(--purple-600); }

/* Feature card that spans wider on large screens */
.card--wide { grid-column: span 2; }
@media (max-width: 760px) { .card--wide { grid-column: span 1; } }

/* ---------- Split feature ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}
.split__list { list-style: none; display: grid; gap: 22px; margin-top: 30px; }
.split__list li { display: flex; gap: 16px; }
.split__list .n {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  flex: none;
  border-radius: 12px;
  background: var(--lavender);
  color: var(--purple-700);
  font-size: 0.92rem;
  font-weight: 600;
}
.split__list h3 { font-size: 1.06rem; margin-bottom: 4px; }
.split__list p { font-size: 0.95rem; color: var(--muted); }

/* ---------- Process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(20px, 2.4vw, 28px);
  counter-reset: step;
}
.step {
  position: relative;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 14px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--purple-600);
}
.step h3 { margin-bottom: 8px; font-size: 1.1rem; }
.step p { font-size: 0.94rem; color: var(--muted); }
.step__bar {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background-image: var(--grad-brand);
}

/* ---------- CTA band ---------- */
.band {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 68px);
  border-radius: var(--r-xl);
  background-image: var(--grad-cta);
  color: var(--white);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.band::before,
.band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
}
.band::before { width: 320px; height: 320px; top: -140px; left: -80px; background: var(--mint); }
.band::after { width: 300px; height: 300px; bottom: -150px; right: -60px; background: var(--pink); }
.band > * { position: relative; z-index: 1; }
.band h2 { color: var(--white); margin-bottom: 14px; }
.band p {
  max-width: 36rem;
  margin-inline: auto;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
}
.band .btn--ghost { background: var(--white); border-color: transparent; color: var(--purple-700); }
.band .btn-row { justify-content: center; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 52rem; margin-inline: auto; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  overflow: hidden;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.faq details[open] { border-color: var(--purple); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  font-size: 1.02rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 11px; height: 11px;
  flex: none;
  border-right: 2px solid var(--purple-600);
  border-bottom: 2px solid var(--purple-600);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 0.24s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq .faq__a { padding: 0 24px 22px; color: var(--muted); font-size: 0.98rem; }

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}
@media (max-width: 900px) {
  .contact { grid-template-columns: 1fr; }
}

.form-card {
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.form-grid { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field--full { grid-column: 1 / -1; }
@media (max-width: 620px) {
  .form-grid { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
}

.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}
.field label .opt { font-weight: 400; color: var(--muted); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--bg);
  font-size: 0.97rem;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease),
              background-color 0.18s var(--ease);
}
.field textarea { min-height: 132px; resize: vertical; }
.field select { appearance: none; cursor: pointer; padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235b6b84' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(167, 136, 250, 0.22);
}
.field input::placeholder,
.field textarea::placeholder { color: #94a3b8; }

.field .error {
  display: none;
  margin-top: 6px;
  font-size: 0.83rem;
  font-weight: 500;
  color: #be123c;
}
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: #f43f5e;
  background: #fff5f6;
}
.field.is-invalid .error { display: block; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* This is a <label> inside a .field, so it would otherwise inherit the bold
   field-label treatment. Consent microcopy should read lighter than the
   labels above it, not compete with them. */
.field label.form-consent {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--muted);
}
.field label.form-consent a { font-weight: 500; }
.form-consent input {
  width: 18px; height: 18px;
  flex: none;
  margin-top: 3px;
  accent-color: var(--purple-600);
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}
.form-foot .btn { flex: 1 1 220px; }
.form-note { font-size: 0.82rem; color: var(--muted); flex: 1 1 200px; }

.form-status {
  display: none;
  gap: 12px;
  align-items: flex-start;
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  font-size: 0.92rem;
}
.form-status.is-visible { display: flex; }
.form-status--ok { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.form-status--err { background: #fff1f2; border: 1px solid #fecdd3; color: #9f1239; }
.form-status svg { flex: none; margin-top: 2px; }
.form-status a { color: inherit; }

.form-success { text-align: center; padding: clamp(20px, 4vw, 40px) 0; }
.form-success .tick {
  display: grid;
  place-items: center;
  width: 66px; height: 66px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: #d1fae5;
  color: var(--mint-700);
}
.form-success h3 { margin-bottom: 10px; font-size: 1.4rem; }
.form-success p { color: var(--muted); max-width: 30rem; margin-inline: auto; }

/* Contact aside */
.contact-aside { display: grid; gap: 18px; }
.contact-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
}
.contact-card h3 { font-size: 1.05rem; margin-bottom: 14px; }
.contact-card ol { list-style: none; display: grid; gap: 16px; counter-reset: cstep; }
.contact-card ol li { display: flex; gap: 13px; font-size: 0.93rem; color: var(--muted); }
.contact-card ol li::before {
  counter-increment: cstep;
  content: counter(cstep);
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  flex: none;
  border-radius: 50%;
  background: var(--lavender);
  color: var(--purple-700);
  font-size: 0.78rem;
  font-weight: 600;
}
.contact-card ol li b { color: var(--ink); font-weight: 600; }

.contact-direct { display: grid; gap: 14px; list-style: none; }
.contact-direct li { display: flex; align-items: center; gap: 13px; font-size: 0.94rem; }
.contact-direct i {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  flex: none;
  border-radius: 12px;
  background: var(--lavender);
  color: var(--purple-700);
  font-style: normal;
}
.contact-direct span { display: block; font-size: 0.76rem; color: var(--muted); }
.contact-direct a { font-weight: 600; text-decoration: none; }

.contact-quote {
  padding: 26px;
  border-radius: var(--r-lg);
  background: var(--grad-soft);
  border: 1px solid var(--line);
  font-size: 0.96rem;
  color: var(--ink-soft);
}
.contact-quote strong { color: var(--ink); }

/* ---------- Footer ---------- */
.footer {
  padding-block: clamp(48px, 6vw, 72px) 32px;
  background: var(--white);
  border-top: 1px solid var(--line);
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(140px, 1fr));
  gap: clamp(28px, 4vw, 48px);
  padding-bottom: 40px;
}
.footer__brand p {
  margin-top: 16px;
  max-width: 25rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.footer__tag {
  margin-top: 14px;
  font-size: 0.86rem;
  font-weight: 600;
  background: linear-gradient(100deg, #7c3aed, #0ea5e9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.footer h4 {
  margin-bottom: 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a {
  font-size: 0.93rem;
  color: var(--ink-soft);
  text-decoration: none;
}
.footer ul a:hover { color: var(--purple-700); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--muted);
}
/* ---------- Legal / simple pages ---------- */
.prose { max-width: 46rem; }
.prose h2 { margin-top: 44px; margin-bottom: 14px; font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.6rem); }
.prose h3 { margin-top: 28px; margin-bottom: 10px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { margin: 0 0 1rem; padding-left: 22px; list-style: disc; }
.prose li { margin-bottom: 8px; }
.prose > p:first-of-type { font-size: 1.05rem; }
.updated { font-size: 0.88rem; color: var(--muted); }

.center-page {
  display: grid;
  place-items: center;
  min-height: 68vh;
  text-align: center;
}
.center-page p { max-width: 34rem; margin-inline: auto; }

/* ---------- Pricing ---------- */
.price-grid {
  display: grid;
  gap: clamp(18px, 2.2vw, 26px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(24px, 2.6vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.price-card--featured {
  border-color: var(--purple);
  box-shadow: var(--shadow-md), 0 0 0 1px var(--purple);
}
@media (min-width: 1020px) {
  .price-card--featured { transform: scale(1.03); }
  .price-card--featured:hover { transform: scale(1.03) translateY(-4px); }
}

.price-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 16px;
  border-radius: var(--r-pill);
  background-image: var(--grad-cta);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.price-head h3 { margin-bottom: 4px; }
.price-tag { font-size: 0.9rem; color: var(--muted); margin: 0; }

.price-fig {
  padding: 16px 0;
  border-block: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.price-impl { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-impl b {
  font-size: clamp(1.9rem, 1.6rem + 1vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.price-from { font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.price-unit { font-size: 0.85rem; color: var(--muted); }
.price-mo { margin-top: 6px; font-size: 1rem; color: var(--ink-soft); }
.price-mo b { font-weight: 600; color: var(--ink); }

.price-blurb { font-size: 0.95rem; color: var(--muted); margin: 0; }

.price-list {
  list-style: none;
  display: grid;
  gap: 10px;
  flex: 1;
}
.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.price-list svg { flex: none; margin-top: 4px; color: var(--purple-600); }

.addons-grid {
  display: grid;
  gap: clamp(14px, 1.8vw, 20px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}
.addon {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
}
.addon h3 { font-size: 1rem; margin-bottom: 6px; }
.addon p { font-size: 0.9rem; color: var(--muted); margin: 0; }

.pricing-footnote {
  margin-top: clamp(28px, 4vw, 44px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--muted);
  max-width: 52rem;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

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

/* ---------- Shop catalog ---------- */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: clamp(20px, 2.5vw, 28px);
}
.product {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              border-color 0.25s var(--ease);
}
.product:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}
.product__cover {
  position: relative;
  aspect-ratio: 3 / 2;
  background: var(--lavender);
  border-bottom: 1px solid var(--line);
}
.product__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* branded placeholder for products without a cover yet */
.product__cover-ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  background: linear-gradient(135deg, var(--lavender), #e0ecfd 55%, #d9f6ea);
}
.product__cover-ph strong {
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.product__cover-cat {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--purple-700);
}
.product__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--purple-600);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.product__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
  padding: clamp(18px, 2vw, 24px);
}
.product__cat {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--purple-700);
}
.product__body h3 { font-size: 1.15rem; letter-spacing: -0.02em; }
.product__body p { color: var(--muted); font-size: 0.94rem; flex: 1; }
.product__buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.product__price {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.product__soon { cursor: default; opacity: 0.7; }

/* ---------- Print ---------- */
@media print {
  .header, .footer, .band, .blob, .nav-toggle { display: none !important; }
  body { background: #fff; }
}
