/* ==========================================================================
   Arcumo LLC — site stylesheet
   Brand: electric blue #61B4FE on a near-black navy base, indigo/violet accents.
   ========================================================================== */

:root {
  /* Base */
  --ink-950: #04060c;
  --ink-900: #070a13;
  --ink-850: #0a0e1b;
  --ink-800: #0e1424;
  --ink-750: #131a2d;

  /* Brand */
  --blue: #61b4fe;
  --blue-bright: #93cdff;
  --blue-deep: #2f7fd4;
  --indigo: #6d6cf7;
  --violet: #8b5cf6;

  /* Type */
  --text: #e9eef8;
  --text-dim: #b3c0d6;
  --muted: #8595b0;
  --faint: #64748b;

  /* Lines & surfaces */
  --line: rgba(147, 180, 230, 0.14);
  --line-soft: rgba(147, 180, 230, 0.08);
  --surface: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  --glow-blue: rgba(97, 180, 254, 0.32);

  /* Metrics */
  --wrap: 1180px;
  --wrap-narrow: 780px;
  --radius: 14px;
  --radius-lg: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  color-scheme: dark;
}

/* --------------------------------------------------------------- reset -- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--ink-950);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, canvas { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.15; letter-spacing: -0.021em; font-weight: 640; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.15em; }
li { margin-bottom: 0.45em; }
a { color: var(--blue); text-decoration: none; transition: color 0.18s var(--ease); }
a:hover { color: var(--blue-bright); }
hr { border: 0; border-top: 1px solid var(--line-soft); margin: 3rem 0; }
strong { font-weight: 620; color: #f3f7ff; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--blue); color: #04060c; padding: 0.7rem 1.1rem;
  font-weight: 650; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ------------------------------------------------------------- layout -- */

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: var(--wrap-narrow); }

section { position: relative; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--alt { background: linear-gradient(180deg, var(--ink-900), var(--ink-850)); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section--deep { background: var(--ink-900); border-top: 1px solid var(--line-soft); }

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  body { font-size: 16px; }
}

/* --------------------------------------------------------- typography -- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 640; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue));
}

.h-display { font-size: clamp(2.6rem, 6vw, 4.1rem); font-weight: 680; letter-spacing: -0.032em; }
.h-1 { font-size: clamp(2.1rem, 4.2vw, 3rem); letter-spacing: -0.028em; }
.h-2 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); letter-spacing: -0.024em; }
.h-3 { font-size: 1.16rem; font-weight: 640; }

.lead { font-size: clamp(1.06rem, 1.6vw, 1.24rem); color: var(--text-dim); line-height: 1.6; margin-bottom: 1.25em; }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }
.mono { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.04em; }

.grad {
  background: linear-gradient(100deg, var(--blue) 0%, var(--blue-bright) 38%, var(--indigo) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.measure { max-width: 66ch; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .measure { margin-left: auto; margin-right: auto; }

.section-head { margin-bottom: 52px; }
.section-head p { margin-bottom: 0; }

/* -------------------------------------------------------------- badge -- */

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 11px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(97, 180, 254, 0.06);
  font-size: 12.5px; font-weight: 560; color: var(--text-dim); letter-spacing: 0.01em;
}
.badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue); box-shadow: 0 0 0 3px rgba(97, 180, 254, 0.16);
}

/* ------------------------------------------------------------ buttons -- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 10px; border: 1px solid transparent;
  font-size: 15px; font-weight: 620; letter-spacing: -0.005em; cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.22s var(--ease),
              background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform 0.2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep) 130%);
  color: #04101f;
  box-shadow: 0 8px 26px -10px var(--glow-blue), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn--primary:hover {
  color: #04101f; transform: translateY(-2px);
  box-shadow: 0 16px 38px -12px var(--glow-blue), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn--ghost { background: rgba(255, 255, 255, 0.035); border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: rgba(97, 180, 254, 0.5); background: rgba(97, 180, 254, 0.09); color: #fff; transform: translateY(-2px); }

.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.center .btn-row { justify-content: center; }

.textlink { font-weight: 600; display: inline-flex; align-items: center; gap: 7px; }
.textlink svg { width: 14px; height: 14px; transition: transform 0.2s var(--ease); }
.textlink:hover svg { transform: translateX(3px); }

/* ------------------------------------------------------------- header -- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(4, 6, 12, 0.72);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line-soft); background: rgba(4, 6, 12, 0.9); }

.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }

.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 26px; width: auto; flex: none; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  position: relative; padding: 8px 12px; border-radius: 8px; white-space: nowrap;
  font-size: 14.5px; font-weight: 540; color: var(--text-dim);
}
/* The in-drawer CTA is for narrow screens only; the header keeps its own. */
.nav > .btn { display: none; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 1px; height: 1.5px;
  background: linear-gradient(90deg, var(--blue), var(--indigo)); border-radius: 2px;
}

.header-cta { flex: none; }

.nav-toggle {
  display: none; margin-left: auto; width: 42px; height: 38px; padding: 0;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line);
  border-radius: 9px; cursor: pointer; color: var(--text);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; position: relative; width: 17px; height: 1.6px; margin: 0 auto;
  background: currentColor; border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -5.5px; }
.nav-toggle span::after { top: 5.5px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px; margin: 0; padding: 16px 24px 26px;
    background: #06090f; /* opaque: the drawer overlays hero copy */
    border-bottom: 1px solid var(--line-soft);
    box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.9);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
    max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 13px 12px; font-size: 16px; border-radius: 10px; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"] { background: rgba(97, 180, 254, 0.1); color: var(--blue); }
  .nav > .btn { display: inline-flex; margin-top: 14px; }
}

/* --------------------------------------------------------------- hero -- */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(88px, 13vw, 148px) 0 clamp(76px, 11vw, 120px);
  border-bottom: 1px solid var(--line-soft);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(900px 520px at 18% -6%, rgba(97, 180, 254, 0.20), transparent 62%),
    radial-gradient(760px 460px at 88% 4%, rgba(109, 108, 247, 0.17), transparent 60%),
    linear-gradient(180deg, var(--ink-900) 0%, var(--ink-950) 92%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, var(--ink-950) 100%);
}
.hero-canvas { position: absolute; inset: 0; z-index: -2; opacity: 0.62; }

.grid-overlay {
  position: absolute; inset: 0; z-index: -2; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(147, 180, 230, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(147, 180, 230, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 15%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 15%, transparent 78%);
}

.hero-inner { max-width: 900px; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { max-width: 62ch; }

.hero--page { padding: clamp(72px, 9vw, 108px) 0 clamp(56px, 7vw, 80px); }
.hero--page h1 { max-width: 20ch; }

/* Trust / stat strip */
.strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  margin-top: 72px; border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; background: var(--line-soft);
}
.strip > div { background: var(--ink-900); padding: 24px 22px; }
.strip .k { display: block; font-size: 1.55rem; font-weight: 660; letter-spacing: -0.028em; color: #fff; }
.strip .v { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.45; }
@media (max-width: 860px) { .strip { grid-template-columns: repeat(2, 1fr); margin-top: 52px; } }

/* --------------------------------------------------------------- grid -- */

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split {
  display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 64px; align-items: center;
}
.split--top { align-items: start; }
/* Grid items default to min-width:auto, which lets wide children (scrolling
   diagrams, long tokens) push a column past the viewport. */
.split > *, .grid > * { min-width: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }

/* -------------------------------------------------------------- cards -- */

.card {
  position: relative; padding: 28px; border-radius: var(--radius);
  border: 1px solid var(--line-soft); background: var(--surface);
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(97, 180, 254, 0.55), transparent);
  opacity: 0; transition: opacity 0.28s var(--ease);
}
.card:hover { transform: translateY(-3px); border-color: rgba(97, 180, 254, 0.3); box-shadow: 0 22px 48px -30px rgba(0, 0, 0, 0.9); }
.card:hover::before { opacity: 1; }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card .muted { font-size: 0.94rem; }

.card--link { display: block; color: inherit; }
.card--link:hover { color: inherit; }

.card-icon {
  width: 40px; height: 40px; border-radius: 11px; margin-bottom: 18px;
  display: grid; place-items: center; flex: none;
  background: linear-gradient(140deg, rgba(97, 180, 254, 0.20), rgba(109, 108, 247, 0.14));
  border: 1px solid rgba(97, 180, 254, 0.24); color: var(--blue);
}
.card-icon svg { width: 19px; height: 19px; }

.card--feature { padding: 32px; }
.card--flush { background: var(--ink-900); }

/* Capability list — dense bullet grid */
.caps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-soft);
        border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.caps > li { list-style: none; margin: 0; background: var(--ink-900); padding: 20px 22px; transition: background 0.22s var(--ease); }
.caps > li:hover { background: var(--ink-800); }
.caps .t { display: block; font-weight: 600; color: #fff; font-size: 0.98rem; margin-bottom: 3px; }
.caps .d { display: block; font-size: 0.88rem; color: var(--muted); line-height: 1.55; }
.caps { padding: 0; }
@media (max-width: 760px) { .caps { grid-template-columns: 1fr; } }

/* Checklist */
.checks { list-style: none; padding: 0; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--text-dim); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.55em; width: 14px; height: 8px;
  border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg); border-radius: 1px;
}

/* Numbered steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.steps > li {
  counter-increment: step; position: relative; padding: 22px 0 22px 62px;
  border-top: 1px solid var(--line-soft); margin: 0;
}
.steps > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 22px;
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em;
  color: var(--blue); border: 1px solid rgba(97, 180, 254, 0.28); border-radius: 7px;
  width: 40px; height: 28px; display: grid; place-items: center;
  background: rgba(97, 180, 254, 0.06);
}
.steps h3 { margin-bottom: 5px; font-size: 1.05rem; }
.steps p { margin-bottom: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------------------------------------------------------- prose page -- */

.prose h2 { margin-top: 2.6em; font-size: 1.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; font-size: 1.08rem; }
.prose li { color: var(--text-dim); }
.prose { color: var(--text-dim); }

/* ------------------------------------------------------------ product -- */

.product-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.product-name { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 680; letter-spacing: -0.03em; margin: 0; }
.product-name sup { font-size: 0.42em; vertical-align: super; color: var(--muted); font-weight: 500; }

.module-list { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.module {
  background: var(--ink-900); padding: 22px 24px; display: grid;
  grid-template-columns: 150px 1fr; gap: 24px; align-items: baseline;
  transition: background 0.22s var(--ease);
}
.module:hover { background: var(--ink-800); }
.module .name { font-weight: 620; color: #fff; letter-spacing: -0.01em; }
.module .desc { color: var(--muted); font-size: 0.94rem; }
@media (max-width: 640px) { .module { grid-template-columns: 1fr; gap: 6px; } }

/* Mock UI panel */
.panel {
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(170deg, var(--ink-800), var(--ink-900));
  box-shadow: 0 40px 80px -50px rgba(0, 0, 0, 1), 0 0 0 1px rgba(97, 180, 254, 0.05);
}
.panel-bar {
  display: flex; align-items: center; gap: 8px; padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft); background: rgba(255, 255, 255, 0.02);
}
.panel-bar .dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(147, 180, 230, 0.22); }
.panel-bar .label { margin-left: 8px; font-family: var(--mono); font-size: 11.5px; color: var(--faint); letter-spacing: 0.06em; }
.panel-body { padding: 22px; }

.rows { display: grid; gap: 10px; }
.row {
  display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center;
  padding: 12px 14px; border: 1px solid var(--line-soft); border-radius: 10px;
  background: rgba(255, 255, 255, 0.02); font-size: 14px;
}
.row .sym { font-family: var(--mono); font-weight: 600; color: #fff; letter-spacing: 0.04em; }
.row .meter { width: 92px; height: 5px; border-radius: 3px; background: rgba(147, 180, 230, 0.14); overflow: hidden; }
.row .meter i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--blue-deep), var(--blue)); }
.row .score { font-family: var(--mono); font-size: 13px; color: var(--blue); min-width: 30px; text-align: right; }

/* ----------------------------------------------------------- insights -- */

.post { display: flex; flex-direction: column; height: 100%; }
.post .kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.post h3 { font-size: 1.08rem; line-height: 1.35; }
.post .meta { margin-top: auto; padding-top: 18px; font-size: 12.5px; color: var(--faint); }

.tagrow { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.tag {
  padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line-soft);
  font-size: 13px; color: var(--muted); background: rgba(255, 255, 255, 0.02);
}

/* --------------------------------------------------------------- form -- */

.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 580; color: var(--text-dim); }
.field label .req { color: var(--blue); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 15px;
  color: var(--text); background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line); border-radius: 10px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 132px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: rgba(97, 180, 254, 0.6);
  background: rgba(97, 180, 254, 0.05); box-shadow: 0 0 0 3px rgba(97, 180, 254, 0.13);
}
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%238595b0' stroke-width='1.6'%3E%3Cpath d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 38px;
}
.field select option { background: var(--ink-800); color: var(--text); }
.form-note { font-size: 12.5px; color: var(--faint); }
.form-status { display: none; padding: 14px 16px; border-radius: 10px; font-size: 14.5px; }
.form-status.is-visible { display: block; }
.form-status.is-ok { background: rgba(97, 180, 254, 0.1); border: 1px solid rgba(97, 180, 254, 0.35); color: var(--blue-bright); }
.form-status.is-err { background: rgba(248, 113, 113, 0.09); border: 1px solid rgba(248, 113, 113, 0.35); color: #fca5a5; }

.contact-aside { display: grid; gap: 22px; align-content: start; }
.contact-item .k { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-bottom: 5px; }
.contact-item .v { color: var(--text); font-weight: 560; }

/* ---------------------------------------------------------------- cta -- */

.cta {
  position: relative; overflow: hidden; isolation: isolate;
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(700px 340px at 50% 118%, rgba(109, 108, 247, 0.20), transparent 65%),
    radial-gradient(620px 320px at 20% -30%, rgba(97, 180, 254, 0.16), transparent 62%),
    var(--ink-900);
  padding: 96px 0;
}
.cta h2 { max-width: 18ch; margin-inline: auto; }

/* ------------------------------------------------------------- footer -- */

.site-footer { background: var(--ink-950); border-top: 1px solid var(--line-soft); padding: 68px 0 34px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 44px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand img { height: 24px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 40ch; }

.footer-col h4 { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; font-weight: 620; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-dim); font-weight: 480; }
.footer-col a:hover { color: var(--blue); }

.footer-base {
  display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: space-between; align-items: center;
  margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line-soft);
  color: var(--faint); font-size: 13px;
}
.footer-base a { color: var(--faint); }
.footer-base a:hover { color: var(--blue); }
.footer-base nav { display: flex; flex-wrap: wrap; gap: 20px; }

/* ------------------------------------------------------------ reveal -- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ------------------------------------------------------------ diagram -- */

.diagram { width: 100%; height: auto; }
.diagram text { font-family: var(--font); }
.diagram-caption { margin-top: 16px; font-size: 13px; color: var(--faint); text-align: center; }

.figure {
  padding: 30px; border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008));
}

.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ------------------------------------------------------------- notice -- */

.notice {
  border: 1px solid var(--line); border-left: 3px solid var(--blue);
  background: rgba(97, 180, 254, 0.05); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 26px;
}
.notice p:last-child { margin-bottom: 0; }
