/* ==========================================================================
   ForenSecure / CASEY Native – marketing site
   Ink navy and paper sections, one action colour (CASEY blue), cyan reserved
   for integrity / hash-chain motifs. Manrope display, Inter text, JetBrains
   Mono for references and hashes.
   ========================================================================== */

/* --- Fonts (self-hosted) ------------------------------------------------- */
@font-face { font-family: 'Manrope'; font-weight: 200 800; font-display: swap;
  src: url('../fonts/manrope-latin.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 300 800; font-display: swap;
  src: url('../fonts/inter-latin.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: 'Inter'; font-weight: 300 800; font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-weight: 100 800; font-display: swap;
  src: url('../fonts/jetbrains-mono-latin.woff2') format('woff2'); }

/* --- Tokens -------------------------------------------------------------- */
:root {
  --ink-950: #060b15;
  --ink-900: #0a1220;
  --ink-850: #0d1728;
  --ink-800: #111d32;
  --ink-700: #182742;
  --ink-600: #243555;

  --paper: #f5f7fb;
  --white: #ffffff;
  --mist: #eaf0f8;

  --text: #0d1526;
  --text-2: #3d4a5f;
  --text-3: #5f6c81;
  --line: #dfe5ee;
  --line-strong: #c9d2df;

  --on-dark: #eef3fb;
  --on-dark-2: #aebbd0;
  --on-dark-3: #8190a8;
  --line-dark: rgba(150, 175, 215, 0.14);
  --line-dark-strong: rgba(150, 175, 215, 0.24);

  --blue: #1f6feb;
  --blue-hover: #1a5fd0;
  --blue-light: #5ea3ff;
  --blue-wash: #e8f1ff;
  --cyan: #14c4d9;
  --cyan-soft: rgba(20, 196, 217, 0.12);
  --green: #1fa463;
  --amber: #e39b25;
  --red: #e0484e;

  --font-display: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --font-text: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Cascadia Mono', Consolas, monospace;

  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
  --container: 1240px;
  --header-h: 70px;
  --shadow-sm: 0 1px 2px rgba(13, 21, 38, 0.06), 0 2px 8px rgba(13, 21, 38, 0.05);
  --shadow: 0 2px 6px rgba(13, 21, 38, 0.05), 0 18px 48px -12px rgba(13, 21, 38, 0.18);
  --shadow-lg: 0 30px 80px -20px rgba(4, 10, 24, 0.55), 0 0 0 1px rgba(150, 175, 215, 0.08);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-hover); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -0.028em;
  margin: 0 0 0.6em;
  color: inherit;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.4vw, 4.35rem); font-weight: 800; letter-spacing: -0.038em; line-height: 1.04; }
h2 { font-size: clamp(1.95rem, 3.5vw, 2.9rem); }
h3 { font-size: 1.24rem; letter-spacing: -0.018em; line-height: 1.3; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 3px; border-radius: 4px; }
.mono { font-family: var(--font-mono); font-size: 0.86em; letter-spacing: -0.01em; }
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon--sm { width: 0.95em; height: 0.95em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 860px; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--white); color: var(--text); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* --- Sections ------------------------------------------------------------ */
.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.section--tight { padding: clamp(56px, 6vw, 88px) 0; }
.section--white { background: var(--white); }
.section--paper { background: var(--paper); }
.section--mist { background: linear-gradient(180deg, var(--paper), var(--mist)); }
.section--dark { background: var(--ink-900); color: var(--on-dark); }
.section--ink { background: var(--ink-950); color: var(--on-dark); }
.section--dark p, .section--ink p { color: var(--on-dark-2); }
.section + .section--white, .section--white + .section--white { border-top: 1px solid var(--line); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .lead { font-size: 1.18rem; color: var(--text-2); }
.section--dark .section-head .lead, .section--ink .section-head .lead { color: var(--on-dark-2); }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; }
.section-head--split h2 { margin: 0; }
.section-head--split p { margin: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue); margin: 0 0 18px;
}
.eyebrow::before { content: ''; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.section--dark .eyebrow, .section--ink .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--cyan); }
.eyebrow--center { justify-content: center; }
.lead { font-size: 1.2rem; line-height: 1.6; color: var(--text-2); }
.text-dim { color: var(--text-3); }
.accent { color: var(--blue); }
.section--dark .accent, .hero .accent, .page-hero .accent { color: var(--blue-light); }
.grad { background: linear-gradient(92deg, #7cb6ff 0%, #33d1e3 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* --- Buttons ------------------------------------------------------------- */
.btn {
  --btn-bg: var(--white); --btn-fg: var(--text); --btn-bd: var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 10px;
  font: 600 0.95rem/1.2 var(--font-text); letter-spacing: -0.005em;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); }
.btn .icon { width: 1.05em; height: 1.05em; transition: transform 0.18s var(--ease); }
.btn:hover .icon { transform: translateX(2px); }
.btn--primary { --btn-bg: var(--blue); --btn-fg: #fff; --btn-bd: var(--blue); box-shadow: 0 6px 18px -6px rgba(31, 111, 235, 0.6); }
.btn--primary:hover { --btn-bg: var(--blue-hover); --btn-bd: var(--blue-hover); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--text); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bg: var(--white); }
.section--dark .btn--ghost, .section--ink .btn--ghost, .hero .btn--ghost, .page-hero .btn--ghost, .cta-band .btn--ghost {
  --btn-fg: var(--on-dark); --btn-bd: var(--line-dark-strong);
}
.section--dark .btn--ghost:hover, .section--ink .btn--ghost:hover, .hero .btn--ghost:hover, .page-hero .btn--ghost:hover, .cta-band .btn--ghost:hover { --btn-bg: rgba(255, 255, 255, 0.06); }
.btn--sm { padding: 8px 15px; font-size: 0.88rem; border-radius: 9px; }
.btn--lg { padding: 14px 24px; font-size: 1rem; border-radius: 11px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.text-link .icon { width: 1em; height: 1em; transition: transform 0.18s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }

/* --- Hero (home) --------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; color: var(--on-dark);
  background: radial-gradient(1200px 600px at 78% -10%, rgba(31, 111, 235, 0.32), transparent 60%),
              radial-gradient(800px 500px at 0% 30%, rgba(20, 196, 217, 0.10), transparent 60%),
              var(--ink-950);
  padding: calc(var(--header-h) + clamp(56px, 8vw, 104px)) 0 0;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
  opacity: 0.55;
}
.hero__copy { position: relative; max-width: 1040px; margin: 0 auto; text-align: center; }
.hero h1 { color: #fff; margin-bottom: 24px; }
.hero__lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--on-dark-2); max-width: 700px; margin: 0 auto 36px; }
.hero__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.hero__visual { position: relative; margin: clamp(56px, 7vw, 88px) auto 0; max-width: 1180px; padding: 0 24px; }
.hero__visual::before {
  content: ''; position: absolute; left: 10%; right: 10%; top: 8%; height: 70%;
  background: radial-gradient(closest-side, rgba(31, 111, 235, 0.45), transparent); filter: blur(40px); pointer-events: none;
}
.hero__visual .app-frame { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.hero__visual .app-frame__img { max-height: 640px; object-fit: cover; object-position: top; }
.hero__visual::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 160px;
  background: linear-gradient(transparent, var(--ink-950)); pointer-events: none;
}
.float-card {
  position: absolute; z-index: 2; display: flex; gap: 12px; align-items: center;
  padding: 12px 16px; border-radius: 12px; min-width: 230px;
  background: rgba(13, 23, 40, 0.86); border: 1px solid var(--line-dark-strong);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px -14px rgba(0, 0, 0, 0.6);
  font-size: 0.82rem; color: var(--on-dark-2); line-height: 1.35;
}
.float-card strong { display: block; color: var(--on-dark); font-size: 0.9rem; font-weight: 600; }
.float-card .icon { width: 34px; height: 34px; padding: 8px; border-radius: 9px; background: var(--cyan-soft); color: var(--cyan); }
.float-card--a { left: -12px; top: 36%; }

/* --- Proof strip ---------------------------------------------------------- */
.proof { background: var(--ink-950); color: var(--on-dark-2); padding: 8px 0 72px; position: relative; }
.proof__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.proof__item { padding: 28px 24px 0; border-left: 1px solid var(--line-dark); }
.proof__item:first-child { border-left: 0; padding-left: 0; }
.proof__item strong { display: block; font: 700 1.5rem/1.15 var(--font-display); color: var(--on-dark); letter-spacing: -0.02em; margin-bottom: 6px; }
.proof__item span { font-size: 0.92rem; }

/* --- Page hero (inner pages) --------------------------------------------- */
.page-hero {
  position: relative; overflow: hidden; color: var(--on-dark);
  background: radial-gradient(900px 480px at 85% -20%, rgba(31, 111, 235, 0.30), transparent 60%), var(--ink-950);
  padding: calc(var(--header-h) + clamp(48px, 7vw, 92px)) 0 clamp(56px, 7vw, 92px);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.45;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(110deg, transparent 35%, #000 80%); -webkit-mask-image: linear-gradient(110deg, transparent 35%, #000 80%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.7rem); max-width: 900px; }
.page-hero .lead { color: var(--on-dark-2); max-width: 720px; }
.page-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.page-hero--split .container { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }
.page-hero--split .app-frame { box-shadow: var(--shadow-lg); }
.crumbs { font: 500 0.8rem/1 var(--font-mono); letter-spacing: 0.04em; color: var(--on-dark-3); margin-bottom: 22px; display: flex; gap: 8px; }
.crumbs a { color: var(--on-dark-2); text-decoration: none; }
.crumbs a:hover { color: var(--on-dark); }

/* --- App frame (product screenshots) ------------------------------------- */
.app-frame { margin: 0; border-radius: 12px; overflow: hidden; background: var(--white); box-shadow: var(--shadow); border: 1px solid var(--line); position: relative; }
.app-frame--dark { background: #0b0e14; border-color: #0078d7; box-shadow: var(--shadow-lg); }
/* Mirrors CASEY Native's own title bar: Segoe UI Light title, flat window glyphs,
   Windows blue in the light theme and near-black with a blue window edge in the dark. */
.app-frame__bar {
  display: flex; align-items: center; gap: 22px; height: 40px; padding: 0 18px 0 16px;
  background: #0078d7; color: #dbeaf8; font: 300 1.02rem/1 'Segoe UI Light', 'Segoe UI', var(--font-text);
}
.app-frame--dark .app-frame__bar { background: #1e1e1e; color: #dedede; }
.app-frame__bar span { flex: 1; white-space: pre; overflow: hidden; text-overflow: ellipsis; }
.app-frame__bar i { --g: #fff; flex: none; width: 10px; height: 1px; background: var(--g); }
.app-frame--dark .app-frame__bar i { --g: #f5f5f5; }
.app-frame__bar i:nth-of-type(2) { width: 8px; height: 8px; background: none; border: 1px solid var(--g); }
.app-frame__bar i:nth-of-type(3) { width: 10px; height: 10px; background:
  linear-gradient(45deg, transparent calc(50% - 0.6px), var(--g) calc(50% - 0.6px), var(--g) calc(50% + 0.6px), transparent calc(50% + 0.6px)),
  linear-gradient(-45deg, transparent calc(50% - 0.6px), var(--g) calc(50% - 0.6px), var(--g) calc(50% + 0.6px), transparent calc(50% + 0.6px)); }
.app-frame__img { width: 100%; }
.app-frame figcaption { padding: 10px 14px; font-size: 0.82rem; color: var(--text-3); border-top: 1px solid var(--line); background: var(--paper); }
.app-frame--dark figcaption { color: var(--on-dark-3); background: #10141c; border-top-color: rgba(150,175,215,.12); }
/* Browser-based captures (CASEY Cloud). */
.browser { margin: 0; border-radius: 12px; overflow: hidden; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.page-hero .browser { border-color: transparent; box-shadow: var(--shadow-lg); }
.browser__bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: #eef1f5; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfd6e0; }
.browser__bar span { margin-left: 12px; flex: 0 1 340px; padding: 5px 12px; border-radius: 7px; background: var(--white); font: 500 0.72rem/1 var(--font-mono); color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser img { display: block; width: 100%; }
.browser--thumb img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.shot-cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px 24px; }
.shot-card { grid-column: span 2; }
.shot-card--wide { grid-column: span 3; }
.shot-card h3 { margin: 18px 0 6px; font-size: 1.15rem; }
.shot-card p { margin: 0; color: var(--text-2); font-size: 0.95rem; }
/* Wall-screen captures: a slim display bezel instead of a window frame. */
.tv { margin: 0; }
.tv__screen { padding: clamp(6px, 0.8vw, 12px); border-radius: 16px; background: linear-gradient(160deg, #1d2330, #07090e 60%); box-shadow: 0 0 0 1px rgba(150, 175, 215, 0.14), var(--shadow-lg); }
.tv__screen img { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 6px; }
.tv figcaption { margin-top: 16px; font-size: 0.92rem; color: var(--text-2); }
.tv figcaption strong { display: block; font: 700 1.05rem/1.3 var(--font-display); color: var(--text); margin-bottom: 2px; }
.section--dark .tv figcaption, .section--ink .tv figcaption { color: var(--on-dark-2); }
.section--dark .tv figcaption strong, .section--ink .tv figcaption strong { color: var(--on-dark); }
.shot-note { font-size: 0.8rem; color: var(--text-3); margin-top: 12px; }
.section--dark .shot-note, .section--ink .shot-note { color: var(--on-dark-3); }

/* --- Split feature rows -------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split + .split { margin-top: clamp(80px, 10vw, 140px); }
.split--flip > :first-child { order: 2; }
.split__copy h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.split__copy .lead { font-size: 1.12rem; }
.checks { list-style: none; display: grid; gap: 12px; margin: 26px 0 30px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.checks li .icon { margin-top: 3px; color: var(--blue); width: 1.15em; height: 1.15em; stroke-width: 2.2; }
.section--dark .checks li, .section--ink .checks li { color: var(--on-dark-2); }
.section--dark .checks li .icon, .section--ink .checks li .icon { color: var(--cyan); }
.checks strong { color: var(--text); font-weight: 600; }
.section--dark .checks strong, .section--ink .checks strong { color: var(--on-dark); }

/* --- Cards --------------------------------------------------------------- */
.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); }
.card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease);
}
.card h3 { margin: 18px 0 8px; }
.card p { color: var(--text-2); font-size: 0.97rem; margin: 0; }
.card__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 11px; background: var(--blue-wash); color: var(--blue); }
.card__icon .icon { width: 22px; height: 22px; }
a.card { display: block; text-decoration: none; color: inherit; }
a.card:hover { border-color: rgba(31, 111, 235, 0.4); box-shadow: var(--shadow); transform: translateY(-2px); }
.card .text-link { margin-top: 18px; }
.card--dark { background: var(--ink-850); border-color: var(--line-dark); }
.card--dark h3 { color: var(--on-dark); }
.card--dark p { color: var(--on-dark-2); }
.card--dark .card__icon { background: rgba(94, 163, 255, 0.12); color: var(--blue-light); }
a.card--dark:hover { border-color: rgba(94, 163, 255, 0.4); box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); }
.card__tag { position: absolute; top: 26px; right: 26px; font: 600 0.7rem/1 var(--font-mono); letter-spacing: 0.08em; color: var(--text-3); }
.card--dark .card__tag { color: var(--on-dark-3); }
.tile-list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.tile-list li { font-size: 0.78rem; padding: 4px 10px; border-radius: 99px; background: var(--paper); border: 1px solid var(--line); color: var(--text-2); }
.card--dark .tile-list li { background: rgba(255,255,255,.04); border-color: var(--line-dark); color: var(--on-dark-2); }


/* --- Steps (workflow) ---------------------------------------------------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; position: relative; }
.steps::before { content: ''; position: absolute; top: 22px; left: 22px; right: 22px; height: 1px; background: linear-gradient(90deg, var(--blue), var(--cyan)); opacity: 0.5; }
.steps li { position: relative; padding-right: 28px; }
.steps--5 { grid-template-columns: repeat(5, 1fr); }
.steps__num { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-850); border: 1px solid var(--line-dark-strong); color: var(--cyan); font: 600 0.82rem/1 var(--font-mono); margin-bottom: 22px; }
.steps h3 { color: var(--on-dark); margin-bottom: 8px; }
.steps p { font-size: 0.95rem; margin: 0; }
.section--white .steps__num, .section--paper .steps__num { background: var(--white); border-color: var(--line-strong); color: var(--blue); }
.section--white .steps h3, .section--paper .steps h3 { color: var(--text); }
.section--white .steps p, .section--paper .steps p { color: var(--text-2); }

/* --- Hash chain motif ---------------------------------------------------- */
.chain { display: grid; gap: 0; font-family: var(--font-mono); font-size: 0.78rem; }
.chain__block {
  position: relative; padding: 14px 16px; border-radius: 11px; background: var(--ink-850);
  border: 1px solid var(--line-dark-strong); color: var(--on-dark-2);
  display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: baseline;
}
.chain__block + .chain__block { margin-top: 28px; }
.chain__block + .chain__block::before {
  content: ''; position: absolute; left: 30px; top: -29px; width: 2px; height: 28px;
  background: repeating-linear-gradient(to bottom, var(--cyan) 0 4px, transparent 4px 7px);
}
.chain__block dt { color: var(--on-dark-3); text-transform: uppercase; font-size: 0.68rem; letter-spacing: 0.08em; }
.chain__block dd { margin: 0; color: var(--on-dark); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chain__block dd.hash { color: var(--cyan); }
.chain__block dd.prev { color: var(--on-dark-3); }
.chain__status { display: flex; align-items: center; gap: 10px; margin-top: 22px; padding: 12px 16px; border-radius: 11px; background: rgba(31, 164, 99, 0.12); border: 1px solid rgba(31, 164, 99, 0.35); color: #7fe0ae; font: 600 0.82rem/1.3 var(--font-mono); }
.chain__status .icon { width: 20px; height: 20px; }

/* --- Architecture diagram ------------------------------------------------ */
.arch { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 0; }
.arch__node { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); text-align: left; height: 100%; }
.arch__node .card__icon { margin-bottom: 14px; }
.arch__node h3 { margin: 0 0 6px; font-size: 1.1rem; }
.arch__node p { margin: 0; font-size: 0.9rem; color: var(--text-2); }
.arch__node ul { list-style: none; margin-top: 14px; display: grid; gap: 6px; font-size: 0.84rem; color: var(--text-2); }
.arch__node li::before { content: '–'; color: var(--text-3); margin-right: 8px; }
.arch__link { width: 88px; text-align: center; font: 600 0.68rem/1.3 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); position: relative; padding: 0 6px; }
.arch__link::before { content: ''; display: block; height: 2px; margin-bottom: 8px; background: linear-gradient(90deg, var(--blue), var(--cyan)); border-radius: 2px; }
.arch__link::after { content: ''; position: absolute; right: 2px; top: -4px; border: 5px solid transparent; border-left-color: var(--cyan); }
.arch__zone { grid-column: 3 / 6; font: 600 0.7rem/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); text-align: center; border: 1px dashed var(--line-strong); border-bottom: 0; border-radius: 12px 12px 0 0; padding: 10px; margin-bottom: -1px; }

/* --- Stats --------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 22px 0 0; border-top: 2px solid var(--line); }
.stat strong { display: block; font: 750 2.4rem/1 var(--font-display); letter-spacing: -0.03em; color: var(--text); margin-bottom: 10px; }
.stat span { color: var(--text-2); font-size: 0.95rem; }
.section--dark .stat, .section--ink .stat { border-top-color: var(--line-dark-strong); }
.section--dark .stat strong, .section--ink .stat strong { color: #fff; }
.section--dark .stat span, .section--ink .stat span { color: var(--on-dark-2); }

/* --- Quote --------------------------------------------------------------- */
.quote { max-width: 900px; margin: 0 auto; text-align: center; }
.quote blockquote { margin: 0 0 28px; font: 600 clamp(1.45rem, 2.6vw, 2.05rem)/1.35 var(--font-display); letter-spacing: -0.02em; color: #fff; text-wrap: balance; }
.quote__by { display: inline-flex; align-items: center; gap: 14px; text-align: left; font-size: 0.92rem; color: var(--on-dark-2); }
.quote__by strong { display: block; color: var(--on-dark); }
.quote__avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; font: 700 0.9rem/1 var(--font-display); }

/* --- Sectors ------------------------------------------------------------- */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sector { padding: 30px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.sector .card__icon { margin-bottom: 18px; }
.sector h3 { margin-bottom: 8px; }
.sector p { color: var(--text-2); font-size: 0.97rem; margin: 0; }

/* --- Spec table ---------------------------------------------------------- */
.spec { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.spec th, .spec td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 32%; font-weight: 600; color: var(--text); }
.spec td { color: var(--text-2); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec-wrap { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }

/* --- CTA band ------------------------------------------------------------ */
.cta-band {
  position: relative; overflow: hidden; color: var(--on-dark); padding: clamp(64px, 8vw, 104px) 0;
  background: radial-gradient(700px 360px at 90% 120%, rgba(20, 196, 217, 0.18), transparent 60%),
              radial-gradient(800px 400px at 10% -20%, rgba(31, 111, 235, 0.35), transparent 60%), var(--ink-900);
}
.cta-band__inner { display: grid; grid-template-columns: 1.3fr auto; gap: 40px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: 12px; font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.cta-band p { color: var(--on-dark-2); margin: 0; max-width: 620px; font-size: 1.08rem; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* --- Footer -------------------------------------------------------------- */
.site-footer { background: var(--ink-950); color: var(--on-dark-2); padding: 72px 0 32px; font-size: 0.92rem; }
.site-footer__top { display: grid; grid-template-columns: 1.1fr 2fr; gap: 56px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.site-footer__brand .brand { color: var(--on-dark); margin-bottom: 16px; }
.site-footer__brand p { max-width: 340px; color: var(--on-dark-3); }
.site-footer__cols { display: grid; grid-template-columns: 1fr 1fr 1fr 1.35fr; gap: 24px; }
.site-footer h2 { font: 600 0.74rem/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: var(--on-dark-2); text-decoration: none; overflow-wrap: break-word; }
.site-footer a:hover { color: #fff; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; color: var(--on-dark-3); font-size: 0.84rem; }
.site-footer__bottom p { margin: 0; }

/* --- Prose (legal, long-form) -------------------------------------------- */
.prose { max-width: 760px; color: var(--text-2); }
.prose h2 { font-size: 1.6rem; color: var(--text); margin-top: 2.2em; }
.prose h3 { font-size: 1.15rem; color: var(--text); margin-top: 1.8em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose strong { color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0 1.8em; font-size: 0.93rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--text); font-weight: 600; background: var(--paper); }
.prose code { font-family: var(--font-mono); font-size: 0.88em; background: var(--paper); padding: 2px 6px; border-radius: 5px; }
.callout { padding: 18px 20px; border-radius: 12px; background: var(--blue-wash); border: 1px solid rgba(31, 111, 235, 0.2); color: var(--text-2); margin: 1.5em 0; }
.callout strong { color: var(--text); }

/* --- Releases ------------------------------------------------------------ */
/* Quiet closing contact line */
.contact-note { padding: 44px 0 56px; background: var(--white); border-top: 1px solid var(--line); text-align: center; }
.contact-note p { margin: 0; color: var(--text-2); font-size: 1.02rem; }
.contact-note a { font-weight: 600; }

/* --- Products ------------------------------------------------------------ */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product { display: flex; flex-direction: column; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow 0.2s var(--ease), border-color 0.2s; }
.product:hover { box-shadow: var(--shadow); border-color: var(--line-strong); }
.product--featured { grid-column: span 2; }
.product__media { display: block; padding: 28px 28px 0; background: linear-gradient(160deg, var(--ink-800), var(--ink-950)); }
.product__media img { display: block; width: 100%; aspect-ratio: 16 / 7.4; object-fit: cover; object-position: top left; border-radius: 10px 10px 0 0; box-shadow: 0 -10px 40px -10px rgba(0, 0, 0, 0.5); }
.product__sketch { margin: 28px 28px 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.product__browser { display: block; margin: 28px 28px 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.product__browser img { display: block; width: 100%; }
.product__sketch-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--white); border-bottom: 1px solid var(--line); }
.product__sketch-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.product__sketch-bar span { margin-left: 10px; flex: 1; padding: 4px 10px; border-radius: 6px; background: var(--paper); font: 500 0.7rem/1 var(--font-mono); color: var(--text-3); }
.product__sketch-body { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; }
.product__sketch-body b { height: 46px; border-radius: 8px; background: linear-gradient(135deg, var(--blue-wash), var(--white)); border: 1px solid var(--line); }
.product__sketch-body em { grid-column: 1 / -1; height: 9px; border-radius: 5px; background: var(--line); }
.product__sketch-body em:nth-of-type(2) { width: 82%; }
.product__sketch-body em:nth-of-type(3) { width: 64%; }
.product__body { display: flex; flex-direction: column; gap: 10px; padding: 28px 30px 30px; flex: 1; }
.product__body > p { color: var(--text-2); margin: 0; }
.product__body .text-link { margin-top: auto; padding-top: 8px; }
.product__body .card__icon { margin-bottom: 8px; }
.product__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font: 600 0.72rem/1 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3) !important; }
.product h3 { font-size: 1.6rem; margin: 2px 0 0; }
.product h3 a { color: inherit; text-decoration: none; }
.product__tagline { font: 600 1.05rem/1.4 var(--font-display); color: var(--text) !important; }
.product .checks { margin: 8px 0 4px; }
.checks--2 { grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.mini-steps { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0 32px; }
.mini-steps li { padding: 16px 18px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); font-size: 0.9rem; color: var(--text-2); line-height: 1.4; }
.mini-steps span { display: block; font: 600 0.72rem/1 var(--font-mono); color: var(--blue); margin-bottom: 8px; }
.mini-steps strong { display: block; font: 700 1.02rem/1.3 var(--font-display); color: var(--text); margin-bottom: 2px; }
.proof--light { background: var(--white); color: var(--text-2); padding: 0 0 8px; }
.proof--light .proof__grid { border-top: 0; border-bottom: 1px solid var(--line); padding-top: 8px; padding-bottom: 32px; }
.proof--light .proof__item { border-left-color: var(--line); }
.proof--light .proof__item strong { color: var(--text); }

/* --- Misc ---------------------------------------------------------------- */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 99px; font: 600 0.74rem/1 var(--font-mono); letter-spacing: 0.04em; }
.pill--live { background: rgba(31, 164, 99, 0.14); color: #34c47c; }
.pill--live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(31, 164, 99, 0.25); }
.pill--dev { background: rgba(227, 155, 37, 0.14); color: var(--amber); }
.divider-label { display: flex; align-items: center; gap: 16px; font: 600 0.74rem/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin: 0 0 28px; }
.divider-label::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.stack-sm > * + * { margin-top: 12px; }

/* --- Reveal on scroll ---------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 1080px) {
  .split, .page-hero--split .container { grid-template-columns: 1fr; }
  .split--flip > :first-child { order: 0; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .section-head--split { grid-template-columns: 1fr; gap: 16px; }
  .arch { grid-template-columns: 1fr; gap: 0; }
  .arch__zone { grid-column: auto; }
  .arch__link { width: auto; padding: 14px 0; }
  .arch__link::before { width: 2px; height: 26px; margin: 0 auto 8px; background: linear-gradient(var(--blue), var(--cyan)); }
  .arch__link::after { display: none; }
  .site-footer__top { grid-template-columns: 1fr; }
  .float-card { display: none; }
}
@media (max-width: 820px) {
  body { font-size: 1rem; }
  .grid--3, .sectors { grid-template-columns: 1fr; }
  .products { grid-template-columns: 1fr; }
  .shot-cards { grid-template-columns: 1fr; }
  .shot-card, .shot-card--wide { grid-column: auto; }
  .product--featured { grid-column: auto; }
  .grid--2 { grid-template-columns: 1fr; }
  .steps, .steps--5 { grid-template-columns: 1fr 1fr; gap: 36px 0; }
  .steps::before { display: none; }
  .stats, .proof__grid { grid-template-columns: 1fr 1fr; }
  .proof__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .cta-band__inner { grid-template-columns: 1fr; }
  .site-footer__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .hero__visual { padding: 0 16px; }
  .grid--4, .steps, .steps--5 { grid-template-columns: 1fr; }
  .ocr__fields > div { grid-template-columns: 1fr; gap: 6px; }
  .checks--2, .mini-steps { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .hero__actions .btn, .page-hero__actions .btn { width: 100%; }
  .spec th { width: 40%; }
  .app-frame__bar { height: 30px; gap: 16px; padding: 0 12px; font-size: 0.8rem; }
}
@media (max-width: 820px) { .br-wide { display: none; } }
