/* OpenCheque — site styles. Plain CSS, no build step. */

@view-transition { navigation: auto; }

:root {
  --canvas: #f5f4f0;
  --canvas-2: #efede7;
  --white: #ffffff;
  --ink: #0d0b14;
  --ink-2: #16121f;
  --ink-soft: #4a4845;
  --muted: #6b6862;
  --border: #e0ddd6;
  --purple: #6d3bd2;
  --purple-700: #4c1fa8;
  --purple-900: #2a1463;
  --lilac: #b79cff;
  --purple-dim: #efe9fb;
  --dark-border: rgba(255, 255, 255, 0.11);
  --dark-soft: rgba(255, 255, 255, 0.74);
  --dark-muted: rgba(255, 255, 255, 0.58);
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-display: var(--font-body);
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --max: 80rem;
  --pad: 2rem;
  --header-h: 68px;
  --header-top: 14px;
  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --r-xl: 36px;
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  --shadow-1: 0 1px 2px rgba(13, 11, 20, 0.04), 0 8px 24px -12px rgba(13, 11, 20, 0.12);
  --shadow-2: 0 2px 4px rgba(13, 11, 20, 0.04), 0 24px 48px -20px rgba(45, 20, 99, 0.28);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--header-top) + 1.5rem); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  padding-top: calc(var(--header-h) + var(--header-top));
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--purple); color: #fff; }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; border-radius: 6px; }
.section--dark :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible { outline-color: var(--lilac); }

.skip-link {
  position: fixed; left: 1rem; top: 0.5rem; z-index: 200; padding: 0.6rem 1rem; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 0.875rem; font-weight: 500; text-decoration: none; transform: translateY(-250%);
}
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }

/* ── Type ─────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.4rem 0.85rem 0.4rem 0.7rem;
  font-family: var(--font-body); font-size: 0.6875rem; font-weight: 600; line-height: 1.4; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--purple-700); background: rgba(255, 255, 255, 0.7); border: 1px solid var(--border); border-radius: 999px;
}
.eyebrow::before { content: ''; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--purple); box-shadow: 0 0 0 3px rgba(109, 59, 210, 0.16); }
.section--dark .eyebrow, .cta-band .eyebrow, .card--ink .eyebrow { color: var(--lilac); background: rgba(255, 255, 255, 0.05); border-color: var(--dark-border); }
.section--dark .eyebrow::before, .cta-band .eyebrow::before, .card--ink .eyebrow::before { background: var(--lilac); box-shadow: 0 0 0 3px rgba(183, 156, 255, 0.18); }
.eyebrow--plain { padding: 0; background: none; border: 0; color: var(--muted); }
.eyebrow--plain::before { display: none; }
.section--dark .eyebrow--plain { background: none; border: 0; color: var(--dark-muted); }

.h1, .h2, .h3-display { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.035em; color: var(--ink); text-wrap: balance; }
.h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); line-height: 1.06; }
.hero--page .h1 { font-size: clamp(2.25rem, 4.4vw, 3.25rem); line-height: 1.08; }
.h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); line-height: 1.12; letter-spacing: -0.03em; }
.h3-display { font-size: clamp(1.4rem, 2.2vw, 1.75rem); line-height: 1.18; letter-spacing: -0.025em; }
.section--dark .h1, .section--dark .h2, .section--dark .h3-display, .cta-band .h2 { color: #fff; }
.accent { color: var(--purple); }
.section--dark .accent, .cta-band .accent { color: var(--lilac); }

.lede { font-size: 1.125rem; line-height: 1.62; color: var(--ink-soft); max-width: 34rem; text-wrap: pretty; }
.lede--wide { max-width: 44rem; }
.section--dark .lede { color: var(--dark-soft); }
.body { font-size: 0.9688rem; line-height: 1.72; color: var(--ink-soft); text-wrap: pretty; }
.section--dark .body { color: var(--dark-soft); }
.body + .body { margin-top: 1.1rem; }
.small { font-size: 0.8125rem; color: var(--muted); line-height: 1.6; }
.section--dark .small { color: var(--dark-muted); }

/* ── Buttons and links ────────────────────────────────── */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 48px; padding: 0.75rem 1.4rem; border-radius: 999px;
  font-size: 0.9rem; font-weight: 500; line-height: 1.2; text-decoration: none;
  background: var(--ink); color: #fff; border: 1px solid var(--ink);
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:hover { background: var(--purple); border-color: var(--purple); transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(109, 59, 210, 0.7); }
.btn:active { transform: none; }
.btn svg { flex: none; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--ghost { background: rgba(255, 255, 255, 0.6); color: var(--ink); border-color: var(--border); }
.btn--ghost:hover { background: #fff; color: var(--purple-700); border-color: rgba(109, 59, 210, 0.45); box-shadow: var(--shadow-1); }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: var(--lilac); border-color: var(--lilac); color: var(--ink); box-shadow: 0 10px 28px -10px rgba(183, 156, 255, 0.7); }
.btn--outline-light { background: rgba(255, 255, 255, 0.04); color: #fff; border-color: rgba(255, 255, 255, 0.22); }
.btn--outline-light:hover { background: rgba(183, 156, 255, 0.14); border-color: var(--lilac); color: #fff; box-shadow: none; }
.btn--sm { min-height: 40px; padding: 0.5rem 1rem; font-size: 0.8125rem; gap: 0.45rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px;
  font-size: 0.9rem; font-weight: 500; color: var(--purple-700); text-decoration: none; white-space: nowrap;
}
.link-arrow:hover { color: var(--purple); }
.link-arrow svg { transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.section--dark .link-arrow { color: var(--lilac); }
.section--dark .link-arrow:hover { color: #fff; }
.prose a, .text-link { color: var(--purple-700); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover, .text-link:hover { color: var(--purple); }

/* ── Header: floating glass bar ───────────────────────── */
.site-header { position: fixed; inset: var(--header-top) 0 auto 0; z-index: 100; padding-inline: 0.75rem; pointer-events: none; }
.site-header .container {
  pointer-events: auto; height: var(--header-h); max-width: calc(var(--max) - 1rem); padding-inline: 1.25rem 0.6rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  background: rgba(250, 249, 246, 0.72); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid rgba(13, 11, 20, 0.08); border-radius: 999px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 10px 30px -18px rgba(13, 11, 20, 0.35);
  transition: background-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled .container { background: rgba(250, 249, 246, 0.9); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 14px 36px -16px rgba(13, 11, 20, 0.4); }
.brand { display: inline-flex; align-items: center; flex: none; min-height: 44px; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 0.1rem; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 40px; padding: 0.5rem 0.9rem; border-radius: 999px;
  font-size: 0.875rem; color: var(--ink-soft); text-decoration: none; transition: color 0.2s, background-color 0.2s;
}
.nav__link:hover, .nav__item:focus-within > .nav__link, .nav__link[aria-expanded='true'] { color: var(--ink); background: rgba(13, 11, 20, 0.06); }
.nav__link.is-active { color: var(--ink); font-weight: 500; }
.nav__link.is-active::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--purple); }
button.nav__link.is-active::after { display: none; }
.nav__link svg { transition: transform 0.25s var(--ease); }
.nav__link[aria-expanded='true'] svg, .nav__item:hover > .nav__link svg { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: calc(100% + 10px); left: -0.5rem; width: 21rem; padding: 0.5rem;
  background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(13, 11, 20, 0.08); border-radius: var(--r); box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(0.98); transform-origin: top left;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.nav__menu::before { content: ''; position: absolute; inset: -14px 0 auto 0; height: 14px; }
.nav__item:hover > .nav__menu, .nav__item.is-open > .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu a { display: block; padding: 0.7rem 0.9rem; border-radius: 12px; text-decoration: none; transition: background-color 0.18s; }
.nav__menu a:hover, .nav__menu a:focus-visible { background: var(--purple-dim); }
.nav__menu strong { display: flex; align-items: center; gap: 0.35rem; font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.nav__menu a:hover strong { color: var(--purple-700); }
.nav__menu span { display: block; margin-top: 0.12rem; font-size: 0.78rem; line-height: 1.45; color: var(--ink-soft); }
.nav__menu .nav__menu-all { margin-top: 0.35rem; border-top: 1px solid var(--border); border-radius: 0 0 12px 12px; }
.header-cta { display: flex; align-items: center; gap: 0.35rem; flex: none; }
.header-cta .btn { min-height: 44px; padding: 0.55rem 1.2rem; font-size: 0.875rem; }
.header-cta .nav__link:hover { color: var(--purple-700); }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; flex-direction: column; gap: 5px; color: var(--ink); }
.menu-toggle:hover { background: rgba(13, 11, 20, 0.06); }
.menu-toggle span { display: block; width: 18px; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform 0.25s var(--ease), opacity 0.2s; }
.menu-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mobile-menu { display: none; }
.mobile-menu[hidden] { display: none !important; }

/* ── Sections ─────────────────────────────────────────── */
.section { position: relative; padding-block: 7.5rem; }
.section--tight { padding-block: 5rem; }
.section--white { background: #fff; }
.section--soft { background: linear-gradient(180deg, var(--canvas) 0%, var(--canvas-2) 100%); }
.border-t { border-top: 1px solid var(--border); }

/* Dark sections sit inside the page as rounded panels with a purple glow. */
.section--dark, .cta-band {
  position: relative; isolation: isolate; overflow: hidden; margin-inline: 0.75rem; border-radius: var(--r-xl); color: #fff;
  background:
    radial-gradient(60% 75% at 88% -5%, rgba(109, 59, 210, 0.55) 0%, rgba(109, 59, 210, 0) 60%),
    radial-gradient(45% 60% at 0% 105%, rgba(76, 31, 168, 0.5) 0%, rgba(76, 31, 168, 0) 62%),
    var(--ink);
}
.section--dark::before, .cta-band::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1.2px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(70% 70% at 80% 10%, #000 0%, transparent 75%); mask-image: radial-gradient(70% 70% at 80% 10%, #000 0%, transparent 75%);
}
.section--dark { margin-block: 0.75rem; }

.hero { position: relative; isolation: isolate; padding-block: 5.5rem 5rem; }
.hero::before {
  content: ''; position: absolute; inset: -140px 0 0 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42% 55% at 82% 18%, rgba(109, 59, 210, 0.2) 0%, rgba(109, 59, 210, 0) 70%),
    radial-gradient(30% 40% at 8% 0%, rgba(183, 156, 255, 0.22) 0%, rgba(183, 156, 255, 0) 70%);
}
.hero::after {
  content: ''; position: absolute; inset: -140px 0 0 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(13, 11, 20, 0.13) 1px, transparent 1.2px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(60% 75% at 78% 30%, #000 0%, transparent 72%); mask-image: radial-gradient(60% 75% at 78% 30%, #000 0%, transparent 72%);
}
.hero--solo { padding-block: 6.5rem 5.5rem; }
.hero__solo { max-width: 54rem; }
.hero__solo .h1 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); }
.hero__solo .lede { max-width: 42rem; }
.hero--page { padding-block: 4.5rem 4.5rem; }
.hero--page + .section { padding-top: 3.5rem; }
.hero--page + .section--tight { padding-top: 1rem; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 27.5rem; gap: 4.5rem; align-items: center; }
.hero__grid--art { grid-template-columns: minmax(0, 1fr) 31rem; gap: 3rem; }
.hero .eyebrow { margin-bottom: 1.75rem; }
.hero .h1 { margin-bottom: 1.75rem; }
.hero .lede { margin-bottom: 2.5rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.75rem; font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--purple-700); }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 3.75rem; }
.section-head .eyebrow { margin-bottom: 1.4rem; }
.section-head__aside { flex: none; }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6rem; align-items: start; }
.split--center { align-items: center; }
.split .eyebrow { margin-bottom: 1.5rem; }
.split .h2 { margin-bottom: 2rem; }
.stack > * + * { margin-top: 1.25rem; }

/* ── Marquee of questions ─────────────────────────────── */
.marquee { position: relative; overflow: hidden; padding-block: 1.1rem; border-block: 1px solid var(--border); background: rgba(255, 255, 255, 0.55);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 0.75rem; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.5rem 1rem; border: 1px solid var(--border); border-radius: 999px; background: #fff; font-size: 0.85rem; color: var(--ink-soft); white-space: nowrap; }
.marquee__item::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--purple); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Grids and cards ──────────────────────────────────── */
.grid { display: grid; gap: 1rem; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid--gap-lg { gap: 1.5rem; }
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.bento > .span-3 { grid-column: span 3; }
.bento > .span-2 { grid-column: span 2; }
.bento > .span-4 { grid-column: span 4; }
.bento > .span-6 { grid-column: span 6; }

.card {
  --mx: 50%; --my: 0%;
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 1.25rem; padding: 2rem;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r); color: inherit; text-decoration: none;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease), background-color 0.3s var(--ease);
}
.card::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; pointer-events: none; transition: opacity 0.35s;
  background: radial-gradient(22rem circle at var(--mx) var(--my), rgba(109, 59, 210, 0.11), transparent 60%);
}
.card:hover::before { opacity: 1; }
a.card:hover { border-color: rgba(109, 59, 210, 0.45); box-shadow: var(--shadow-2); transform: translateY(-3px); }
.card > .eyebrow { align-self: flex-start; }
.card__title { font-size: 1.0625rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.005em; color: var(--ink); }
.card__title--sm { font-size: 0.9688rem; }
.card__body { font-size: 0.9rem; line-height: 1.65; color: var(--ink-soft); }
.card__arrow { margin-top: auto; width: 2.25rem; height: 2.25rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--border); color: var(--purple-700); transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease); }
a.card:hover .card__arrow { background: var(--purple); border-color: var(--purple); color: #fff; transform: rotate(-45deg); }
.card--row { flex-direction: row; gap: 1.25rem; }
.card--lg { padding: 2.5rem; border-radius: var(--r-lg); min-height: 20rem; }
.card--lg .card__title { font-weight: 600; font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.2; letter-spacing: -0.025em; }
.card--lg .card__body { font-size: 0.9688rem; max-width: 30rem; }
.card--tint { background: linear-gradient(160deg, #fff 0%, var(--purple-dim) 130%); }

.section--dark .card, .card--dark { background: rgba(255, 255, 255, 0.04); border-color: var(--dark-border); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.section--dark .card::before, .card--ink::before { background: radial-gradient(22rem circle at var(--mx) var(--my), rgba(183, 156, 255, 0.18), transparent 60%); }
.section--dark a.card:hover { border-color: rgba(183, 156, 255, 0.55); background: rgba(255, 255, 255, 0.06); box-shadow: none; }
.section--dark .card__title, .card--dark .card__title { color: #fff; }
.section--dark .card__body, .card--dark .card__body { color: var(--dark-soft); }
.section--dark .card__arrow { border-color: var(--dark-border); color: var(--lilac); }
.section--dark a.card:hover .card__arrow { background: var(--lilac); border-color: var(--lilac); color: var(--ink); }
.card--ink {
  color: #fff; border-color: var(--ink);
  background: radial-gradient(70% 90% at 100% 0%, rgba(109, 59, 210, 0.6) 0%, rgba(109, 59, 210, 0) 62%), var(--ink);
}
.card--ink .card__title { color: #fff; }
.card--ink .card__body { color: var(--dark-soft); }
.card--ink .card__arrow { border-color: var(--dark-border); color: var(--lilac); }
a.card--ink:hover { border-color: var(--purple); }
a.card--ink:hover .card__arrow { background: var(--lilac); border-color: var(--lilac); color: var(--ink); }

.icon-tile { width: 2.75rem; height: 2.75rem; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--purple-dim); color: var(--purple-700); box-shadow: inset 0 0 0 1px rgba(109, 59, 210, 0.12); }
.icon-tile--lg { width: 3.1rem; height: 3.1rem; border-radius: 14px; }
.section--dark .icon-tile, .card--ink .icon-tile { background: rgba(183, 156, 255, 0.13); color: var(--lilac); box-shadow: inset 0 0 0 1px rgba(183, 156, 255, 0.2); }

.pillars { position: relative; z-index: 1; }
.pillars__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-1); overflow: hidden; }
.pillar { display: flex; flex-direction: column; gap: 0.8rem; padding: 2rem; border-left: 1px solid var(--border); transition: background-color 0.3s; }
.pillar:hover { background: #fcfbff; }
.pillar:first-child { border-left: 0; }
.pillar__title { font-size: 0.9375rem; font-weight: 600; }
.pillar__body { font-size: 0.85rem; line-height: 1.6; color: var(--ink-soft); }
.pillar__cta { align-self: flex-start; margin-top: auto; }
.pillar:has(.pillar__cta) { gap: 0.8rem; padding-bottom: 1.75rem; }
.pillar:has(.pillar__cta) .pillar__body { margin-bottom: 0.6rem; }

.feature { display: flex; gap: 1.1rem; }
.feature__title { font-size: 0.9375rem; font-weight: 600; margin-bottom: 0.35rem; }
.feature__body { font-size: 0.85rem; line-height: 1.6; color: var(--ink-soft); }

/* ── Exchange window ──────────────────────────────────── */
.window { border: 1px solid rgba(13, 11, 20, 0.09); border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.66); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow-2); overflow: hidden; }
.window__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.8rem 1.1rem; border-bottom: 1px solid var(--border); font-family: var(--font-body); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.window__live { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--purple-700); }
.window__live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--purple); animation: live 2.4s ease-in-out infinite; }
@keyframes live { 0%, 100% { box-shadow: 0 0 0 0 rgba(109, 59, 210, 0.5); } 60% { box-shadow: 0 0 0 7px rgba(109, 59, 210, 0); } }
.xcards { display: flex; flex-direction: column; gap: 0.6rem; padding: 0.75rem; }
.xcard { padding: 1rem 1.1rem; background: #fff; border: 1px solid var(--border); border-radius: 14px; transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease); }
.xcard:hover { border-color: rgba(109, 59, 210, 0.45); box-shadow: var(--shadow-1); transform: translateX(-3px); }
.xcard__tag { margin-bottom: 0.6rem; font-size: 0.625rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--purple-700); }
.section--dark .xcard__tag { color: var(--lilac); }
.xcard__route { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; color: var(--purple); }
.xcard__party { padding: 0.2rem 0.6rem; border-radius: 999px; background: var(--canvas); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.01em; color: var(--ink); }
.xcard__q { margin-bottom: 0.7rem; font-size: 0.82rem; line-height: 1.55; color: var(--ink-soft); }
.xcard__a { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.4rem 0.75rem 0.4rem 0.6rem; border-radius: 10px; background: var(--purple-dim); font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.xcard__a::before { content: ''; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--purple); }
.xcard__note { margin-top: 0.65rem; font-family: var(--font-body); font-size: 0.62rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple-700); }
.xcards__caption { padding: 0.35rem 0.4rem 0.25rem; font-family: var(--font-body); font-size: 0.66rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.section--dark .window { background: rgba(255, 255, 255, 0.04); border-color: var(--dark-border); box-shadow: none; }
.section--dark .window__bar { border-bottom-color: var(--dark-border); color: var(--dark-muted); }
.section--dark .window__live { color: var(--lilac); }
.section--dark .window__live::before { background: var(--lilac); }
.section--dark .xcard { background: rgba(255, 255, 255, 0.05); border-color: var(--dark-border); }
.section--dark .xcard__party { background: rgba(255, 255, 255, 0.09); color: #fff; }
.section--dark .xcard__q, .section--dark .xcards__caption { color: var(--dark-soft); }
.section--dark .xcard__a { background: rgba(183, 156, 255, 0.14); color: #fff; }
.section--dark .xcard__route, .section--dark .xcard__note { color: var(--lilac); }
.section--dark .xcard__a::before { background: var(--lilac); }

/* Example exchanges as stacked cards */
.xrows { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 3.5rem; }
.xrow { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr) minmax(0, 1.3fr); gap: 2rem; align-items: center; padding: 1.5rem 2rem; background: #fff; border: 1px solid var(--border); border-radius: var(--r); transition: border-color 0.3s, box-shadow 0.3s var(--ease), transform 0.3s var(--ease); }
.xrow:hover { border-color: rgba(109, 59, 210, 0.4); box-shadow: var(--shadow-1); transform: translateY(-2px); }
.xrow .xcard__route { margin-bottom: 0; }
.xrow__q { font-size: 0.9688rem; line-height: 1.55; color: var(--ink-soft); }
.xrow__a { display: flex; flex-direction: column; align-items: flex-start; }
.xrow .xcard__note { margin-top: 0.55rem; }
.xrows .xcards__caption { padding: 0.5rem 0 0; }

/* Live trace panel */
.trace__body { padding: 0.75rem; }
.trace table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; font-size: 0.8125rem; }
.trace th, .trace td { padding: 0.7rem 0.75rem; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
.trace tbody tr:last-child th, .trace tbody tr:last-child td { border-bottom: 0; }
.trace thead th { font-size: 0.625rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); background: var(--canvas); }
.trace tbody th { font-weight: 600; color: var(--ink); }
.trace td { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.trace__hop { font-family: var(--font-mono); font-size: 0.75rem; color: var(--purple-700) !important; }
.trace__state { display: inline-block; padding: 0.2rem 0.55rem; border-radius: 999px; background: var(--purple-dim); font-size: 0.6875rem; font-weight: 600; color: var(--purple-700); }
.trace__sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; margin: 0.6rem 0 0; }
.trace__sum div { padding: 0.8rem 0.9rem; background: #fff; border: 1px solid var(--border); border-radius: 14px; }
.trace__sum dt { font-size: 0.625rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.trace__sum dd { margin: 0.25rem 0 0; font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }

/* Thesis tiles */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.tile { padding: 1.6rem; border: 1px solid var(--dark-border); border-radius: var(--r); background: rgba(255, 255, 255, 0.04); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: border-color 0.3s, transform 0.3s var(--ease); }
.tile:hover { border-color: rgba(183, 156, 255, 0.55); transform: translateY(-2px); }
.tile__label { margin-bottom: 0.8rem; font-family: var(--font-body); font-size: 0.64rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lilac); }
.tile__text { font-size: 1.0625rem; font-weight: 500; line-height: 1.4; letter-spacing: -0.01em; color: #fff; }

/* Steps: nodes on a line, after the logo's network ring */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.steps::before { content: ''; position: absolute; left: 2rem; right: 2rem; top: 1.375rem; height: 1px; background: repeating-linear-gradient(90deg, rgba(109, 59, 210, 0.55) 0 6px, transparent 6px 12px); }
.step { position: relative; padding-top: 0; }
.step__n { font-weight: 600; position: relative; z-index: 1; width: 2.75rem; height: 2.75rem; margin: 0 0 1.5rem 2rem; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--purple); color: #fff; font-family: var(--font-body); font-size: 0.85rem; font-weight: 500; box-shadow: 0 0 0 6px var(--canvas), 0 0 0 7px rgba(109, 59, 210, 0.25); }
.section--white .step__n { box-shadow: 0 0 0 6px #fff, 0 0 0 7px rgba(109, 59, 210, 0.25); }
.step__card { height: calc(100% - 4.25rem); padding: 1.75rem 2rem 2rem; background: #fff; border: 1px solid var(--border); border-radius: var(--r); transition: border-color 0.3s, box-shadow 0.3s var(--ease), transform 0.3s var(--ease); }
.step:hover .step__card { border-color: rgba(109, 59, 210, 0.4); box-shadow: var(--shadow-1); transform: translateY(-3px); }
.step__title { margin-bottom: 0.7rem; font-size: 1.0625rem; font-weight: 600; line-height: 1.3; }
.step__body { font-size: 0.9rem; line-height: 1.65; color: var(--ink-soft); }

.banner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 1rem; padding: 1.6rem 2rem; border-radius: var(--r); background: linear-gradient(100deg, var(--purple-dim) 0%, #fff 70%); border: 1px solid rgba(109, 59, 210, 0.22); }
.banner__main { display: flex; align-items: center; gap: 1rem; font-size: 1.0625rem; font-weight: 600; color: var(--purple-700); }

/* Definition rows */
.spec { border-top: 1px solid var(--ink); }
.spec__row { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 2rem; padding: 1.5rem 0; border-bottom: 1px solid var(--border); transition: padding-left 0.3s var(--ease); }
.spec__row:hover { padding-left: 0.5rem; }
.spec__term { font-size: 0.9688rem; font-weight: 600; }
.spec__term code, .mono { font-family: var(--font-mono); font-size: 0.8125rem; font-weight: 500; }
.spec__term code { padding: 0.2rem 0.5rem; border-radius: 6px; background: var(--purple-dim); color: var(--purple-700); }
.spec__def { font-size: 0.9688rem; line-height: 1.65; color: var(--ink-soft); }
.section--dark .spec { border-top-color: rgba(255, 255, 255, 0.45); }
.section--dark .spec__row { border-bottom-color: var(--dark-border); }
.section--dark .spec__def { color: var(--dark-soft); }
.section--dark .spec__term code { background: rgba(183, 156, 255, 0.14); color: var(--lilac); }

.checklist li { position: relative; padding-left: 1.9rem; font-size: 0.9688rem; line-height: 1.6; color: var(--ink-soft); }
.checklist li + li { margin-top: 0.75rem; }
.checklist li::before { content: ''; position: absolute; left: 0; top: 0.2em; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--purple-dim); }
.checklist li::after { content: ''; position: absolute; left: 0.34rem; top: 0.52em; width: 0.5rem; height: 0.27rem; border-left: 1.5px solid var(--purple-700); border-bottom: 1.5px solid var(--purple-700); transform: rotate(-45deg); }
.section--dark .checklist li { color: var(--dark-soft); }
.section--dark .checklist li::before { background: rgba(183, 156, 255, 0.16); }
.section--dark .checklist li::after { border-color: var(--lilac); }

/* Outcome-based use cases */
.usecases { display: flex; flex-direction: column; gap: 1rem; }
.usecase { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 3.5rem; align-items: center; padding: 2.75rem; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); transition: border-color 0.3s, box-shadow 0.3s var(--ease); }
.usecase:hover { border-color: rgba(109, 59, 210, 0.35); box-shadow: var(--shadow-1); }
.usecase:nth-child(even) .usecase__demo { order: -1; }
.usecase__n { margin-bottom: 0.9rem; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--purple-700); }
.usecase__title { margin-bottom: 1.5rem; font-size: clamp(1.35rem, 2.1vw, 1.75rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.028em; text-wrap: balance; }
.usecase__dl { margin: 0 0 1.5rem; display: grid; gap: 1rem; }
.usecase__dl dt { margin-bottom: 0.2rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.usecase__dl dd { margin: 0; font-size: 0.9688rem; line-height: 1.65; color: var(--ink-soft); }
.usecase__demo .window { box-shadow: var(--shadow-1); background: var(--canvas); }
.statement { font-size: clamp(1.25rem, 1.9vw, 1.6rem); font-weight: 500; line-height: 1.4; letter-spacing: -0.022em; color: #fff; text-wrap: pretty; }

/* Services detail */
.service { display: grid; grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; padding-block: 3.5rem; border-top: 1px solid var(--border); }
.service:first-of-type { border-top: 0; padding-top: 0; }
.service .h3-display { margin-bottom: 1rem; }
.service__n { font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.1em; color: var(--purple-700); padding-top: 0.6rem; }

/* CTA band: the one purple panel on the page */
.cta-band { margin-block: 0.75rem; padding-block: 6.5rem;
  background:
    radial-gradient(55% 80% at 95% 0%, rgba(183, 156, 255, 0.45) 0%, rgba(183, 156, 255, 0) 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(13, 11, 20, 0.55) 0%, rgba(13, 11, 20, 0) 65%),
    linear-gradient(125deg, var(--purple-900) 0%, var(--purple-700) 70%, var(--purple) 130%); }
.cta-band .body, .cta-band .quote cite { color: rgba(255, 255, 255, 0.82); }
.cta-band .eyebrow { color: #fff; border-color: rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.08); }
.cta-band .eyebrow::before { background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2); }
.cta-band .accent { color: #e2d6ff; }
.cta-band .quote { border-left-color: rgba(255, 255, 255, 0.25); }
.cta-band__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 5rem; align-items: center; }
.cta-band .eyebrow { margin-bottom: 1.5rem; }
.cta-band .h2 { margin-bottom: 1.5rem; }
.cta-band .body { color: var(--dark-soft); margin-bottom: 2.25rem; max-width: 36rem; }
.quote { padding-left: 2.5rem; border-left: 1px solid var(--dark-border); }
.quote p { font-size: clamp(1.4rem, 2.2vw, 1.85rem); font-weight: 500; line-height: 1.25; letter-spacing: -0.025em; }
.quote cite { display: flex; align-items: center; gap: 0.6rem; margin-top: 1.5rem; font-family: var(--font-mono); font-style: normal; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dark-muted); }
.quote cite::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--lilac); }

/* Articles */
.post-card .eyebrow { align-self: flex-start; font-size: 0.62rem; padding: 0.3rem 0.7rem 0.3rem 0.6rem; }
.post-card__title { font-size: 1.2rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; transition: color 0.25s; }
a.post-card:hover .post-card__title { color: var(--purple-700); }
.section--dark a.post-card:hover .post-card__title { color: var(--lilac); }
.post-card__meta { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; padding-top: 1.25rem; border-top: 1px solid var(--border); font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--muted); }
.section--dark .post-card__meta { border-top-color: var(--dark-border); color: var(--dark-muted); }
.post-card__meta .card__arrow { margin: 0 0 0 auto; }

.article { padding-block: 4rem 6.5rem; }
.article__head { max-width: 48rem; margin-bottom: 3rem; }
.article__head .h1 { font-size: clamp(2.1rem, 4vw, 3rem); line-height: 1.1; margin: 1.5rem 0 1.5rem; }
.article__meta { font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.06em; color: var(--muted); }
.prose { max-width: 42rem; font-size: 1.0938rem; line-height: 1.75; color: #2b2a30; }
.prose > * + * { margin-top: 1.4rem; }
.prose > p:first-child { font-size: 1.25rem; line-height: 1.6; color: var(--ink); }
.prose h2 { margin-top: 3rem; font-weight: 600; font-size: 1.6rem; line-height: 1.2; letter-spacing: -0.025em; color: var(--ink); }
.prose h3 { margin-top: 2rem; font-size: 1.0625rem; font-weight: 600; color: var(--ink); }
.prose ul { list-style: none; }
.prose ul li { position: relative; padding-left: 1.5rem; }
.prose ul li + li { margin-top: 0.6rem; }
.prose ul li::before { content: ''; position: absolute; left: 0.15rem; top: 0.68em; width: 7px; height: 7px; border-radius: 50%; background: var(--purple); }
.prose blockquote { padding: 0.25rem 0 0.25rem 1.5rem; border-left: 2px solid var(--purple); font-size: 1.35rem; font-weight: 500; line-height: 1.4; letter-spacing: -0.02em; color: var(--ink); }
.notice { padding: 1rem 1.25rem; border: 1px solid rgba(109, 59, 210, 0.3); border-radius: var(--r-sm); background: var(--purple-dim); font-size: 0.9rem; line-height: 1.6; color: var(--ink); }

.prose > p.notice { font-size: 0.9rem; line-height: 1.6; color: var(--ink); }
.legal-cta { max-width: 42rem; margin-top: 3.5rem; padding: 1.75rem 2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; border: 1px solid var(--border); border-radius: var(--r); background: #fff; }
.legal-cta p { font-weight: 600; letter-spacing: -0.01em; }

/* Forms */
.form-card { padding: 2.25rem; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-1); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.8125rem; font-weight: 600; }
.field .hint { font-size: 0.78rem; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 0.75rem 1rem; font: inherit; font-size: 0.9375rem; color: var(--ink);
  background: var(--canvas); border: 1px solid transparent; border-radius: 12px; transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field textarea { min-height: 9rem; resize: vertical; line-height: 1.55; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #cfcbc0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(109, 59, 210, 0.16); }
.form__status { grid-column: 1 / -1; font-size: 0.875rem; color: var(--ink-soft); }
.form__status[data-state='ok'] { color: var(--purple-700); font-weight: 500; }
.form__status[data-state='error'] { color: #a3261d; font-weight: 500; }
.form .btn:disabled { opacity: 0.6; cursor: progress; transform: none; box-shadow: none; }
.form-done { min-height: 24rem; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 0.75rem; padding: 1rem 0.5rem; outline: none; animation: form-done 0.6s var(--ease) both; }
.form-done__mark { width: 3.25rem; height: 3.25rem; margin-bottom: 0.75rem; border-radius: 50%; background: var(--purple); box-shadow: 0 0 0 8px var(--purple-dim); }
.form-done__title { font-size: clamp(2.4rem, 4.4vw, 3.4rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.035em; color: var(--ink); }
.form-done__text { font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 700; line-height: 1.25; letter-spacing: -0.025em; color: var(--ink); text-wrap: balance; }
@keyframes form-done { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Exchange illustration */
.xart { width: 100%; height: auto; display: block; overflow: visible; }
.xart__orbit { transform-origin: 220px 220px; animation: xart-spin 24s linear infinite; }
.xart__orbit--slow { animation-duration: 60s; animation-direction: reverse; }
.xart__pulse { animation: xart-pulse 3.2s ease-in-out infinite; }
@keyframes xart-spin { to { transform: rotate(360deg); } }
@keyframes xart-pulse { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }

/* ── Footer ───────────────────────────────────────────── */
.site-footer { margin: 0.75rem; border-radius: var(--r-xl); overflow: hidden; color: #fff;
  background: radial-gradient(50% 70% at 100% 100%, rgba(109, 59, 210, 0.4) 0%, rgba(109, 59, 210, 0) 65%), var(--ink); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(4, minmax(0, 1fr)); gap: 2.5rem; padding-block: 4.5rem 4rem; }
.site-footer__brand img { height: 52px; width: auto; margin-bottom: 1.25rem; }
.site-footer__brand p { font-size: 1rem; font-weight: 500; color: var(--dark-soft); }
.site-footer h2 { margin-bottom: 1rem; font-family: var(--font-body); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dark-muted); }
.site-footer__grid li a { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 34px; font-size: 0.9rem; color: var(--dark-soft); text-decoration: none; transition: color 0.2s, transform 0.25s var(--ease); }
.site-footer__grid li a:hover { color: #fff; transform: translateX(3px); }
.site-footer__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.25rem; border-top: 1px solid var(--dark-border); font-size: 0.8rem; color: var(--dark-muted); }
.site-footer__base nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.site-footer__base a { display: inline-flex; align-items: center; min-height: 44px; color: var(--dark-muted); text-decoration: none; }
.site-footer__base a:hover { color: #fff; }

/* ── Motion ───────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee__track { flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__item[aria-hidden='true'] { display: none; }
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1100px) {
  .header-cta .nav__link { display: none; }
  .grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header .container { padding-inline: 1.25rem 0.5rem; }
  .mobile-menu {
    display: block; position: fixed; inset: calc(var(--header-h) + var(--header-top) + 8px) 0.75rem auto 0.75rem; z-index: 99;
    max-height: calc(100dvh - var(--header-h) - var(--header-top) - 24px); overflow-y: auto; padding: 0.75rem 1.25rem 1.5rem;
    background: rgba(250, 249, 246, 0.97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(13, 11, 20, 0.08); border-radius: var(--r-lg); box-shadow: var(--shadow-2);
  }
  .mobile-menu details { border-bottom: 1px solid var(--border); }
  .mobile-menu summary, .mobile-menu > a:not(.btn) { display: flex; align-items: center; justify-content: space-between; min-height: 54px; font-size: 1.0625rem; font-weight: 500; color: var(--ink); text-decoration: none; cursor: pointer; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary svg { transition: transform 0.25s var(--ease); }
  .mobile-menu details[open] summary svg { transform: rotate(180deg); }
  .mobile-menu > a:not(.btn) { border-bottom: 1px solid var(--border); }
  .mobile-menu details a { display: flex; align-items: center; min-height: 44px; padding-left: 0.75rem; font-size: 0.9688rem; color: var(--ink-soft); text-decoration: none; }
  .mobile-menu details div { padding-bottom: 0.75rem; }
  .mobile-menu .btn { width: 100%; margin-top: 1.25rem; }
  .hero__grid, .hero__grid--art, .split, .cta-band__grid { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
  .usecase { grid-template-columns: minmax(0, 1fr); gap: 2rem; padding: 2rem; }
  .xrow { grid-template-columns: minmax(0, 1fr); gap: 0.9rem; padding: 1.4rem 1.5rem; }
  .usecase:nth-child(even) .usecase__demo { order: 0; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento > .span-3, .bento > .span-2, .bento > .span-4 { grid-column: span 6; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
  .steps::before { display: none; }
  .pillars__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar:nth-child(odd) { border-left: 0; }
  .pillar:nth-child(n + 3) { border-top: 1px solid var(--border); }
  .service { grid-template-columns: 3rem minmax(0, 1fr); }
  .service > :last-child { grid-column: 2; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
  .quote { padding-left: 0; border-left: 0; padding-top: 2.5rem; border-top: 1px solid var(--dark-border); }
  .hero__grid--art .xart { max-width: 26rem; margin-inline: auto; }
}
@media (max-width: 700px) {
  :root { --pad: 1.25rem; --r-xl: 26px; --r-lg: 22px; }
  .section { padding-block: 4.75rem; }
  .section--tight { padding-block: 3.5rem; }
  .section--dark, .cta-band, .site-footer { margin-inline: 0.5rem; }
  .hero { padding-block: 3rem 3.5rem; }
  .hero--solo { padding-block: 3.5rem 3.5rem; }
  .hero--page { padding-block: 2.5rem 3rem; }
  .cta-band { padding-block: 4.5rem; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 1rem; margin-bottom: 2.5rem; }
  .grid--2, .grid--3, .grid--4, .grid--5, .steps, .tiles, .form { grid-template-columns: minmax(0, 1fr); }
  .card, .card--lg { padding: 1.6rem; }
  .card--lg { min-height: 0; }
  .spec__row { grid-template-columns: minmax(0, 1fr); gap: 0.4rem; }
  .banner { flex-direction: column; align-items: flex-start; }
  .btn-row .btn { width: 100%; }
  .form-card { padding: 1.5rem; }
  .trace th, .trace td { padding: 0.6rem 0.5rem; }
  .trace th:nth-child(4), .trace td:nth-child(4) { display: none; }
  .trace__sum { grid-template-columns: minmax(0, 1fr); }
  .usecase { padding: 1.5rem; }
  .step__n { margin-left: 1.6rem; }
}
@media (max-width: 480px) {
  .pillars__grid { grid-template-columns: minmax(0, 1fr); }
  .pillar, .pillar:nth-child(odd) { border-left: 0; }
  .pillar + .pillar { border-top: 1px solid var(--border); }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
}
