/* ==========================================================================
   DigiCollect marketing site: design system
   Used by index, platform, solutions, core-banking-api, about and contact.
   (careers.html still uses the older styles.css.)

   1  Tokens          5  Hero + dashboard mockup     9  Core API + architecture
   2  Base            6  Sections + editorial lists  10 Pricing, FAQ, forms
   3  Header + drawer 7  UI mockups (shared)         11 Footer + overlays
   4  Buttons         8  Product / devices           12 Motion + print
   ========================================================================== */

/* 1 · Tokens ---------------------------------------------------------------- */
:root {
  --ink: #0f0f10;
  --ink-2: #19191b;
  --ink-3: #26262a;
  --paper: #ffffff;
  --warm: #faf8f4;
  --warm-2: #f3f0e8;
  --line: #e8e4dc;
  --line-2: #d8d3c7;
  --text: #111113;
  --text-2: #55534e;
  --text-3: #6f6c65;
  --gold: #e0a922;
  --gold-hover: #cc9714;
  --gold-soft: #f0b429;
  --gold-ink: #8a6508;
  --gold-wash: #fbf3dd;
  --ok: #17803d;
  --ok-wash: #e6f4ea;
  --warn: #9a6700;
  --warn-wash: #fdf1d3;
  --bad: #b42318;
  --bad-wash: #fdeceb;

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 9vw, 128px);
  --r-sm: 6px;
  --r: 10px;
  --r-lg: 14px;
  --shadow: 0 1px 2px rgba(15, 15, 16, 0.04), 0 12px 32px -12px rgba(15, 15, 16, 0.16);
  --shadow-lg: 0 2px 4px rgba(15, 15, 16, 0.05), 0 32px 64px -24px rgba(15, 15, 16, 0.28);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --head-h: 64px;
}

/* 2 · Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'cv11', 'ss03';
}
body.nav-open, body.modal-open { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 2px; border-radius: 3px; }
.ink :focus-visible, .section--ink :focus-visible, .site-foot :focus-visible { outline-color: var(--gold-soft); }
::selection { background: var(--gold); color: var(--ink); }
.ico { flex: none; }
.num { font-variant-numeric: tabular-nums; }

.skip-link { position: absolute; left: 12px; top: -48px; z-index: 200; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: var(--r-sm); font-weight: 500; transition: top 0.15s; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* Type */
.h1, .h2, .h3 { font-weight: 600; letter-spacing: -0.03em; text-wrap: balance; }
.h1 { font-size: clamp(2.5rem, 5.4vw, 4.25rem); line-height: 1.03; letter-spacing: -0.038em; }
.h2 { font-size: clamp(1.9rem, 3.7vw, 3rem); line-height: 1.08; }
.h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.2; letter-spacing: -0.02em; }
.h4 { font-size: 1.0625rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.lead { font-size: clamp(1.0625rem, 1.3vw, 1.25rem); line-height: 1.55; color: var(--text-2); max-width: 62ch; text-wrap: pretty; }
.body { color: var(--text-2); text-wrap: pretty; }
.small { font-size: 0.875rem; line-height: 1.55; }
.micro { font-size: 0.8125rem; line-height: 1.5; color: var(--text-3); }
.gold { color: var(--gold-ink); }
.ink .gold, .section--ink .gold { color: var(--gold-soft); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold-ink);
}
.eyebrow::before { content: ''; width: 18px; height: 1.5px; background: currentColor; }
.section--ink .eyebrow { color: var(--gold-soft); }

/* 3 · Header + drawer -------------------------------------------------------- */
.site-head { position: sticky; top: 0; z-index: 100; background: transparent; border-bottom: 1px solid transparent; transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease); }
/* Transparent at the top so the bar takes the hero's own background; solid
   white with a hairline once the page has scrolled (site.js
   toggles .is-scrolled, and also sets it while the mobile drawer is open). */
.site-head.is-scrolled { background: #fff; border-bottom-color: var(--line); }
/* The first section of every page slides up under the bar. */
.hero, .page-hero, .hero-dark { margin-top: calc(var(--head-h) * -1); }
/* Pages whose hero is dark (Core Banking API): light text until scrolled. */
.page-core .site-head:not(.is-scrolled) { color: #fff; }
.page-core .site-head:not(.is-scrolled) .head-nav a, .page-core .site-head:not(.is-scrolled) .head-link { color: #c9c6bd; }
.page-core .site-head:not(.is-scrolled) .head-nav a:hover, .page-core .site-head:not(.is-scrolled) .head-link:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.page-core .site-head:not(.is-scrolled) .head-nav a[aria-current='page'] { color: #fff; }
.page-core .site-head:not(.is-scrolled) .nav-toggle { background: transparent; border-color: rgba(255, 255, 255, 0.3); }
.page-core .site-head:not(.is-scrolled) .nav-toggle span { background: #fff; }
.menu-panel { color: var(--text); }
.head-row { display: flex; align-items: center; height: var(--head-h); gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.125rem; letter-spacing: -0.02em; }
.head-nav { margin-left: 8px; flex: 1; }
.head-nav ul { display: flex; gap: 4px; }
.head-nav a { display: block; padding: 8px 12px; font-size: 0.9375rem; font-weight: 500; color: var(--text-2); border-radius: var(--r-sm); transition: color 0.15s, background 0.15s; }
.head-nav a:hover { color: var(--text); background: var(--warm); }
.head-nav a[aria-current='page'] { color: var(--text); }
.head-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.head-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 0; background: none; font-size: 0.9375rem; font-weight: 500; color: var(--text-2); border-radius: var(--r-sm); }
.head-link:hover { color: var(--text); background: var(--warm); }
.head-link .ico { transition: transform 0.2s var(--ease); }
.head-link[aria-expanded='true'] .ico { transform: rotate(180deg); }
.menu { position: relative; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 10px); width: 300px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); }
.menu-item { display: flex; gap: 12px; padding: 12px; border-radius: var(--r-sm); }
.menu-item:hover { background: var(--warm); }
.menu-item .ico { margin-top: 2px; color: var(--gold-ink); }
.menu-item strong { display: block; font-size: 0.9375rem; font-weight: 600; }
.menu-item small { display: block; font-size: 0.8125rem; color: var(--text-3); line-height: 1.4; }

.nav-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line); background: #fff; border-radius: var(--r-sm); position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform 0.25s var(--ease), top 0.25s var(--ease); }
.nav-toggle span:first-child { top: 15px; }
.nav-toggle span:last-child { top: 23px; }
.nav-toggle[aria-expanded='true'] span:first-child { top: 19px; transform: rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:last-child { top: 19px; transform: rotate(-45deg); }

.drawer { position: fixed; inset: var(--head-h) 0 0 0; z-index: 90; display: flex; flex-direction: column; padding: 8px var(--gutter) 28px; background: #fff; overflow-y: auto; }
.drawer-nav a { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; }
.drawer-nav a[aria-current='page'] { color: var(--gold-ink); }
.drawer-actions { display: grid; gap: 10px; margin-top: 28px; }
.drawer-note { margin-top: 14px; text-align: center; font-size: 0.8125rem; color: var(--text-3); }

/* 4 · Buttons ---------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border: 1px solid transparent; border-radius: var(--r-sm); font-size: 0.9375rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.005em; transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s var(--ease); white-space: nowrap; }
.btn .ico { transition: transform 0.2s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--gold); color: var(--ink); }
.btn--primary:hover { background: var(--gold-hover); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); }
.btn--outline, .btn--ghost { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn--outline:hover, .btn--ghost:hover { border-color: var(--ink); background: var(--warm); }
.section--ink .btn--outline, .section--ink .btn--ghost, .hero-dark .btn--outline, .hero-dark .btn--ghost { border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.section--ink .btn--outline:hover, .section--ink .btn--ghost:hover, .hero-dark .btn--outline:hover, .hero-dark .btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }
.btn--sm { padding: 9px 14px; font-size: 0.875rem; }
.btn--lg { padding: 15px 24px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.9375rem; color: var(--text); border-bottom: 1.5px solid var(--gold); padding-bottom: 1px; transition: gap 0.2s var(--ease); }
.link:hover { gap: 10px; }
.section--ink .link { color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* 5 · Hero + dashboard mockup ------------------------------------------------ */
.hero { position: relative; padding: calc(var(--head-h) + clamp(48px, 7vw, 96px)) 0 0; background: linear-gradient(var(--warm), var(--paper) 78%); border-bottom: 1px solid var(--line); overflow-x: clip; }
.hero > .wrap { position: relative; z-index: 1; }
/* A soft warm halo keeps copy crisp where the artwork's lines pass behind it. */
.hero .lead, .hero .micro, .hero .eyebrow, .hero .h1 { text-shadow: 0 0 3px var(--warm), 0 0 10px var(--warm), 0 0 18px var(--warm); }
/* Abstract artwork: the logo's stacked discs as concentric rings, a faint grid
   and a few data points. Decorative only, faded out toward the headline. */
.hero-art { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; opacity: 0.17; -webkit-mask-image: radial-gradient(ellipse 70% 95% at 76% 36%, #000 30%, transparent 82%); mask-image: radial-gradient(ellipse 70% 95% at 76% 36%, #000 30%, transparent 82%); }
.hero-art svg { position: absolute; top: 0; right: 0; width: max(1180px, 100%); height: auto; min-height: 100%; }
@media (max-width: 959px) {
  .hero-art { -webkit-mask-image: radial-gradient(ellipse 90% 60% at 70% 22%, #000 12%, transparent 72%); mask-image: radial-gradient(ellipse 90% 60% at 70% 22%, #000 12%, transparent 72%); }
  .hero-art svg { right: -22%; }
}
.hero-top { display: grid; gap: 32px; align-items: end; }
.hero .h1 { max-width: 16ch; }
.hero-side { display: grid; gap: 28px; max-width: 520px; }
.hero-note { margin-top: -8px; }
.hero-visual { margin-top: clamp(40px, 6vw, 72px); }
.hero-caption { margin-top: 14px; padding-bottom: clamp(28px, 4vw, 44px); }
@media (min-width: 960px) {
  .hero-top { grid-template-columns: minmax(0, 7fr) minmax(0, 4.5fr); gap: 56px; }
}

.dash { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.dash-bar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: var(--warm); border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.dash-url { flex: 1; max-width: 360px; margin-inline: auto; padding: 4px 10px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font-size: 0.75rem; color: var(--text-3); text-align: center; }
.dash-body { display: grid; grid-template-columns: 188px minmax(0, 1fr); min-height: 520px; }
.dash-side { background: var(--ink); color: #c9c7c0; padding: 16px 12px; font-size: 0.8125rem; }
.dash-org { display: flex; align-items: center; gap: 10px; padding: 4px 8px 16px; margin-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.dash-org b { display: block; color: #fff; font-weight: 600; line-height: 1.2; }
.dash-org small { font-size: 0.625rem; letter-spacing: 0.12em; text-transform: uppercase; color: #8d8b84; }
.dash-nav li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 6px; font-weight: 500; }
.dash-nav li i { width: 14px; height: 14px; border: 1.5px solid currentColor; border-radius: 3px; opacity: 0.7; }
.dash-nav li.on { background: var(--ink-3); color: #fff; }
.dash-nav .grp { padding: 14px 10px 6px; font-size: 0.625rem; letter-spacing: 0.12em; text-transform: uppercase; color: #75736c; }
.dash-main { padding: 20px 22px 24px; background: #fcfbf9; min-width: 0; }
.dash-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.dash-title h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.02em; }
.dash-title p { font-size: 0.75rem; color: var(--text-3); }
.dash-btn { padding: 7px 12px; background: var(--gold); color: var(--ink); border-radius: 6px; font-size: 0.75rem; font-weight: 600; white-space: nowrap; }

.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kpi { padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.kpi dt { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.kpi dd { margin-top: 6px; font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.2; }
.kpi dd small { font-size: 0.6875rem; font-weight: 500; color: var(--text-3); letter-spacing: 0; }
.kpi .d { display: inline-block; margin-top: 4px; font-size: 0.75rem; font-weight: 500; color: var(--ok); }
.kpi .d.flat { color: var(--text-3); }
.kpi .d.warn { color: var(--warn); }

.dash-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-top: 12px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; min-width: 0; }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.card-head h4 { font-size: 0.8125rem; font-weight: 600; letter-spacing: -0.005em; }
.card-head span { font-size: 0.6875rem; color: var(--text-3); }
.bars { position: relative; display: flex; align-items: flex-end; gap: 6px; height: 112px; padding-top: 4px; border-bottom: 1px solid var(--line); }
.bars::before { content: ''; position: absolute; left: 0; right: 0; top: 34%; border-top: 1px dashed var(--gold); opacity: 0.8; }
.bars i { flex: 1; background: var(--ink); border-radius: 2px 2px 0 0; min-height: 4px; }
.bars i.hi { background: var(--gold); }
.axis { display: flex; justify-content: space-between; margin-top: 6px; font-size: 0.625rem; color: var(--text-3); }
.legend { display: flex; gap: 14px; margin-top: 10px; font-size: 0.6875rem; color: var(--text-3); }
.legend b { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 2px; vertical-align: baseline; }
.chart { width: 100%; height: 112px; }

.tx-card { margin-top: 12px; }
.tx { width: 100%; border-collapse: collapse; font-size: 0.8125rem; font-variant-numeric: tabular-nums; }
.tx th { padding: 0 0 8px; text-align: left; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.tx td { padding: 9px 0; border-top: 1px solid var(--line); }
.tx .r { text-align: right; }
.tx .who b { display: block; font-weight: 600; }
.tx .who small { color: var(--text-3); font-size: 0.75rem; }
.tx .in { color: var(--ok); font-weight: 600; }
.tx .out { color: var(--bad); font-weight: 600; }
.pill { display: inline-block; padding: 2px 8px; border-radius: 99px; font-size: 0.6875rem; font-weight: 600; background: var(--warm-2); color: var(--text-2); }
.pill.ok { background: var(--ok-wash); color: var(--ok); }
.pill.warn { background: var(--warn-wash); color: var(--warn); }
.pill.bad { background: var(--bad-wash); color: var(--bad); }

@media (max-width: 1080px) {
  .dash-body { grid-template-columns: 1fr; }
  .dash-side { display: none; }
}
@media (max-width: 760px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-grid { grid-template-columns: 1fr; }
  .dash-grid .card:last-child { display: none; }
  .dash-main { padding: 14px; }
  .dash-url, .dash-btn { display: none; }
  .tx .hide-sm, .tx th.hide-sm { display: none; }
  .tx tbody tr:nth-child(n + 4) { display: none; }
  .dash-body { min-height: 0; }
}

/* 6 · Sections + editorial lists --------------------------------------------- */
.section { padding: var(--section) 0; }
.section--warm { background: var(--warm); border-block: 1px solid var(--line); }
.section--ink { background: var(--ink); color: #f4f2ec; }
.section--ink .lead, .section--ink .body { color: #b9b6ad; }
.section--ink .micro { color: #8f8c84; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 5vw, 64px); max-width: 760px; }
.sec-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.sec-head--split { max-width: none; }
@media (min-width: 960px) {
  .sec-head--split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 56px; }
}

/* Audience / trust */
.audience { display: grid; border-top: 1px solid var(--line-2); }
.audience li { padding: 24px 0; border-bottom: 1px solid var(--line); }
.audience h3 { font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.02em; }
.audience p { margin-top: 6px; font-size: 0.9375rem; color: var(--text-2); }
.also { margin-top: 28px; padding-top: 20px; font-size: 0.9375rem; color: var(--text-2); }
.also b { color: var(--text); font-weight: 600; }
@media (min-width: 800px) {
  .audience { grid-template-columns: repeat(4, 1fr); }
  .audience li { padding: 28px 28px 28px 0; border-bottom: 0; }
  .audience li + li { padding-left: 28px; border-left: 1px solid var(--line); }
}

/* Capabilities selector (home) */
.caps { display: grid; gap: 28px; }
.cap-list { display: flex; flex-direction: column; border-top: 1px solid var(--line-2); }
.cap-tab { display: grid; grid-template-columns: 36px 1fr; align-items: start; gap: 4px 12px; width: 100%; padding: 18px 0; text-align: left; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--text-3); transition: color 0.2s; }
.cap-tab .n { font-size: 0.8125rem; font-weight: 600; font-variant-numeric: tabular-nums; padding-top: 4px; color: var(--text-3); }
.cap-tab .t { font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.02em; color: inherit; }
.cap-tab .d { grid-column: 2; display: none; margin-top: 4px; font-size: 0.9375rem; color: var(--text-2); max-width: 44ch; }
.cap-tab:hover { color: var(--text); }
.cap-tab[aria-selected='true'] { color: var(--text); box-shadow: inset 0 -2px 0 var(--gold); }
.cap-tab[aria-selected='true'] .n { color: var(--gold-ink); }
.cap-tab[aria-selected='true'] .d { display: block; }
.cap-stage { min-width: 0; }
.cap-panel { background: var(--warm); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(16px, 3vw, 32px); }
.js .cap-panel[hidden] { display: none; }
.cap-panel .ui { max-width: 560px; margin-inline: auto; }
.no-js-d { display: block; }
@media (min-width: 960px) {
  .caps { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .cap-stage { position: sticky; top: calc(var(--head-h) + 24px); }
  .cap-panel { min-height: 460px; display: grid; align-content: center; }
}
@media (max-width: 959px) {
  .cap-list { flex-direction: row; overflow-x: auto; gap: 8px; border: 0; padding-bottom: 4px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .cap-list::-webkit-scrollbar { display: none; }
  .cap-tab { display: block; width: auto; flex: none; padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 99px; scroll-snap-align: start; box-shadow: none !important; }
  .cap-tab .n, .cap-tab .d, .cap-tab[aria-selected='true'] .d { display: none; }
  .cap-tab .t { font-size: 0.9375rem; font-weight: 500; white-space: nowrap; }
  .cap-tab[aria-selected='true'] { background: var(--ink); border-color: var(--ink); color: #fff; }
  .cap-mobile-desc { display: block; }
}
.cap-mobile-desc { display: none; margin-bottom: 16px; font-size: 0.9375rem; color: var(--text-2); }
.js .caps:not(.is-ready) .cap-panel + .cap-panel { display: none; }
.js .tabs:not(.is-ready) ~ .tabpanel ~ .tabpanel { display: none; }
.cap-panel + .cap-panel { margin-top: 16px; }
.js .cap-panel + .cap-panel { margin-top: 0; }

/* Ruled principle list (Why DigiCollect, about, challenges) */
.principles { border-top: 1px solid var(--line-2); counter-reset: p; }
.principle { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 12px; padding: 26px 0; border-bottom: 1px solid var(--line); counter-increment: p; }
.principle::before { content: counter(p, decimal-leading-zero); font-size: 0.8125rem; font-weight: 600; color: var(--gold-ink); padding-top: 5px; font-variant-numeric: tabular-nums; }
.principle h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; }
.principle p { grid-column: 2; margin-top: 8px; color: var(--text-2); max-width: 56ch; }
.principle .proof { margin-top: 10px; font-size: 0.8125rem; color: var(--text-3); }
.section--ink .principles { border-color: rgba(255, 255, 255, 0.18); }
.section--ink .principle { border-color: rgba(255, 255, 255, 0.1); }
.section--ink .principle::before { color: var(--gold-soft); }
.section--ink .principle p { color: #b9b6ad; }
@media (min-width: 800px) {
  .principle { grid-template-columns: 56px minmax(0, 5fr) minmax(0, 6fr); gap: 0 32px; align-items: baseline; padding: 32px 0; }
  .principle p { grid-column: auto; margin-top: 0; }
  .principle .proof { grid-column: 3; }
}

.split { display: grid; gap: 40px; }
.split-sticky > .sticky { position: static; }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: start; }
  .split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-sticky > .sticky { position: sticky; top: calc(var(--head-h) + 32px); }
}

.checks { display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: 0.9375rem; color: var(--text-2); }
.checks .ico { margin-top: 3px; color: var(--gold-ink); }
.section--ink .checks li { color: #c9c6bd; }
.section--ink .checks .ico { color: var(--gold-soft); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 99px; font-size: 0.75rem; font-weight: 500; color: var(--text-2); background: #fff; }
.section--ink .tag { background: transparent; border-color: rgba(255, 255, 255, 0.2); color: #c9c6bd; }

/* Closing CTA */
.closing { text-align: center; padding: clamp(80px, 10vw, 140px) 0; }
.closing .h2 { max-width: 18ch; margin-inline: auto; }
.closing .lead { margin: 20px auto 0; }
.closing .actions { justify-content: center; margin-top: 36px; }
.closing .micro { margin-top: 20px; }

/* Page hero (inner pages) */
.hero-dark { padding: calc(var(--head-h) + clamp(56px, 8vw, 112px)) 0 clamp(56px, 7vw, 96px); background: var(--ink); color: #f4f2ec; }
.hero-dark .lead { color: #b9b6ad; }
.page-hero { padding: calc(var(--head-h) + clamp(56px, 8vw, 112px)) 0 clamp(48px, 6vw, 80px); background: linear-gradient(var(--warm), var(--paper)); border-bottom: 1px solid var(--line); }
.page-hero .h1 { max-width: 18ch; margin-top: 18px; }
.page-hero .lead { margin-top: 24px; }
.page-hero .actions { margin-top: 32px; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 0.8125rem; color: var(--text-3); }
.crumbs a:hover { color: var(--text); }

/* 7 · UI mockups (shared) ----------------------------------------------------- */
.ui { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: var(--shadow); overflow-x: auto; font-size: 0.8125rem; font-variant-numeric: tabular-nums; }
.ui-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--warm); }
.ui-head b { font-weight: 600; font-size: 0.8125rem; }
.ui-head span { font-size: 0.75rem; color: var(--text-3); }
.ui-body { padding: 16px; }
.ui-foot { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); background: var(--warm); font-size: 0.75rem; color: var(--text-2); }
.ui-foot b { color: var(--text); font-weight: 600; }
.ui-rows li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line); }
.ui-rows li:last-child { border-bottom: 0; }
.ui-rows time { font-size: 0.75rem; color: var(--text-3); }
.ui-rows .who b { display: block; font-weight: 600; }
.ui-rows .who small { display: block; font-size: 0.75rem; color: var(--text-3); }
.ui-rows .amt { font-weight: 600; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.stat-row div { padding: 14px 16px; }
.stat-row div + div { border-left: 1px solid var(--line); }
.stat-row dt { font-size: 0.6875rem; letter-spacing: 0.07em; text-transform: uppercase; font-weight: 600; color: var(--text-3); }
.stat-row dd { margin-top: 4px; font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; }
.progress { height: 6px; border-radius: 99px; background: var(--warm-2); overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--gold); border-radius: 99px; }
.ledger { width: 100%; border-collapse: collapse; }
.ledger th { padding: 9px 16px; text-align: left; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); border-bottom: 1px solid var(--line); background: var(--warm); }
.ledger td { padding: 9px 16px; border-bottom: 1px solid var(--line); }
.ledger tr:last-child td { border-bottom: 0; }
.ledger .r { text-align: right; }
.ledger tfoot td { background: var(--warm); font-weight: 600; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; padding: 16px; }
.kv dt { color: var(--text-3); }
.kv dd { font-weight: 600; text-align: right; }
.avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--gold-soft); font-weight: 600; font-size: 0.875rem; }
.route { position: relative; height: 150px; background: var(--warm-2); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 28px 28px; }
.route svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Paper vs digital */
.paper { background: #f6f1e3; color: #3b3a36; border: 1px solid #e4dcc3; border-radius: 4px; padding: 18px 20px; font-family: 'Segoe Print', 'Bradley Hand', 'Marker Felt', cursive; font-size: 0.9375rem; transform: rotate(-0.6deg); box-shadow: var(--shadow); }
.paper h4 { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.06em; border-bottom: 1.5px solid #3b3a36; padding-bottom: 6px; margin-bottom: 8px; }
.paper li { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px dashed #cfc7ad; }
.paper li.struck span:first-child { text-decoration: line-through; }
.paper .total { margin-top: 10px; font-weight: 700; }
.paper s { opacity: 0.6; }
.versus { display: grid; gap: 28px; }
.versus-col h3 { margin-bottom: 16px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.versus-col ul.notes { margin-top: 16px; display: grid; gap: 8px; font-size: 0.875rem; color: var(--text-2); }
.versus-col ul.notes li { display: flex; gap: 8px; align-items: center; }
.versus-col ul.notes .ico { color: var(--bad); }
.versus-col.after ul.notes .ico { color: var(--ok); }
@media (min-width: 800px) { .versus { grid-template-columns: 1fr 1fr; gap: 56px; } }

/* 8 · Product / devices ------------------------------------------------------- */
.browser { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.browser img { width: 100%; height: auto; }
.section--ink .browser { border: 0; background: transparent; box-shadow: none; }
.phone { position: relative; width: 100%; max-width: 280px; padding: 8px; background: #1b1b1d; border-radius: 38px; box-shadow: 0 0 0 1px #3a3a3e, var(--shadow-lg); }
.phone img { width: 100%; height: auto; border-radius: 30px; aspect-ratio: 760 / 1689; object-fit: cover; }
.phones { display: flex; justify-content: center; align-items: flex-start; gap: clamp(14px, 3vw, 32px); }
.phones .phone:nth-child(2) { margin-top: clamp(32px, 6vw, 72px); }
.product-top { display: grid; gap: 48px; align-items: center; }
.product-notes { display: grid; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.product-notes li { padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.product-notes h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.015em; color: #fff; }
.product-notes p { margin-top: 6px; font-size: 0.9375rem; color: #b9b6ad; }
.product-notes .k { display: block; margin-bottom: 4px; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-soft); }
.product-web { margin-top: clamp(48px, 7vw, 96px); }
.product-web-head { display: flex; justify-content: space-between; gap: 16px; align-items: end; margin-bottom: 20px; flex-wrap: wrap; }
.workflow { display: grid; gap: 0; margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid rgba(255, 255, 255, 0.18); }
.workflow li { position: relative; padding: 22px 0 22px 44px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.workflow li::before { content: attr(data-n); position: absolute; left: 0; top: 22px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--gold-soft); color: var(--gold-soft); font-size: 0.75rem; font-weight: 600; }
.workflow h3 { font-size: 1rem; font-weight: 600; color: #fff; }
.workflow p { margin-top: 4px; font-size: 0.875rem; color: #b9b6ad; }
@media (min-width: 960px) {
  .product-top { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 80px; }
  .workflow { grid-template-columns: repeat(4, 1fr); border-top: 0; }
  .workflow li { padding: 40px 24px 0 0; border: 0; }
  .workflow li::before { top: 0; }
  .workflow li::after { content: ''; position: absolute; top: 14px; left: 36px; right: 8px; height: 1px; background: rgba(255, 255, 255, 0.2); }
  .workflow li:last-child::after { display: none; }
}
.tabs { display: flex; gap: 4px; margin-bottom: 40px; border-bottom: 1px solid var(--line-2); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; padding: 14px 18px; border: 0; background: none; font-size: 0.9375rem; font-weight: 500; color: var(--text-3); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tab:hover { color: var(--text); }
.tab[aria-selected='true'] { color: var(--text); border-bottom-color: var(--gold); font-weight: 600; }
.tabpanel { display: grid; gap: 40px; align-items: center; }
.tabpanel[hidden] { display: none; }
@media (min-width: 960px) { .tabpanel { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; } }
.tabpanel .checks { margin-top: 20px; }
.tabpanel .tags { margin-top: 20px; }

/* Receipts / chat mockups */
.chat { max-width: 340px; background: #efeae2; border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); font-size: 0.8125rem; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--ink); color: #fff; }
.chat-head small { display: block; color: #9a978f; font-size: 0.6875rem; }
.chat-body { display: grid; gap: 8px; padding: 14px; }
.bubble { max-width: 90%; padding: 9px 12px; border-radius: 4px 12px 12px 12px; background: #fff; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06); }
.bubble b { font-weight: 600; }
.bubble time { display: block; margin-top: 4px; text-align: right; font-size: 0.6875rem; color: var(--text-3); }
.bubble.me { justify-self: end; background: #dcf1c6; border-radius: 12px 4px 12px 12px; }

/* Phone-like receipt/sms */
.sms { max-width: 360px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: var(--shadow); font-size: 0.875rem; }
.sms-head { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 0.8125rem; }
.sms-head time { margin-left: auto; font-weight: 400; color: var(--text-3); }
.sms p { padding: 14px; color: var(--text-2); }
.sms p b { color: var(--text); }

/* Segment blocks */
.segment { padding-block: clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line); }
.segment:last-of-type { border-bottom: 0; }
.segment-grid { display: grid; gap: 40px; }
.segment h2 { margin-top: 14px; }
.segment .lead { margin-top: 18px; }
.cmp { display: grid; border-top: 1px solid var(--line-2); margin-top: 8px; }
.cmp-head + .cmp { border-top: 0; margin-top: 0; }
.cmp-row { display: grid; gap: 6px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cmp-row .c { font-weight: 600; letter-spacing: -0.01em; }
.cmp-row .c small { display: block; margin-top: 2px; font-weight: 400; color: var(--text-3); font-size: 0.875rem; letter-spacing: 0; }
.cmp-row .a { color: var(--text-2); font-size: 0.9375rem; }
.cmp-row .a::before { content: 'With DigiCollect'; display: block; margin-bottom: 2px; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-ink); }
.cmp-head { display: none; }
@media (min-width: 800px) {
  .cmp-head, .cmp-row { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; }
  .cmp-head { display: grid; padding: 12px 0; border-bottom: 1px solid var(--line-2); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
  .cmp-row .a::before { display: none; }
}
@media (min-width: 960px) {
  .segment-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: start; }
  .segment-intro { position: sticky; top: calc(var(--head-h) + 32px); }
}
.segment-visual { margin-top: 28px; }

/* Editorial pieces used by the inner pages */
.capgrid { display: grid; border-top: 1px solid var(--line-2); }
.capgrid article { padding: 28px 0; border-bottom: 1px solid var(--line); }
.cap-n { font-size: 0.8125rem; font-weight: 600; color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.capgrid h3 { margin-top: 6px; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; }
.flist { display: grid; gap: 8px; margin-top: 16px; font-size: 0.9375rem; color: var(--text-2); }
.flist li { position: relative; padding-left: 16px; }
.flist li::before { content: ''; position: absolute; left: 0; top: 0.7em; width: 6px; height: 1.5px; background: var(--gold); }
@media (min-width: 800px) {
  .capgrid { grid-template-columns: repeat(2, 1fr); column-gap: 72px; }
}
.page-hero .tags a:hover { color: var(--text); }
.tag a { display: block; }
.feature { display: grid; gap: 36px; align-items: center; padding-block: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line); }
.feature:first-of-type { border-top: 0; }
.feature .checks { margin-top: 20px; }
@media (min-width: 960px) {
  .feature { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; }
  .feature--flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .feature--flip > :first-child { order: 2; }
}
.when { border-top: 1px solid var(--line-2); }
.when > div { display: grid; grid-template-columns: 88px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.when dt { font-weight: 600; color: var(--gold-ink); }
.when dd { color: var(--text); }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); box-shadow: var(--shadow-lg); }
.video-thumb { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; background: var(--ink) center / cover no-repeat; }
.video-thumb::after { content: ''; position: absolute; inset: 0; background: rgba(15, 15, 16, 0.35); transition: background 0.2s; }
.video-thumb:hover::after { background: rgba(15, 15, 16, 0.2); }
.video-play { position: absolute; z-index: 1; left: 50%; top: 50%; display: grid; place-items: center; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: var(--gold); color: var(--ink); transition: transform 0.2s var(--ease); }
.video-thumb:hover .video-play { transform: scale(1.06); }
.video-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* 9 · Core API + architecture -------------------------------------------------- */
.arch { display: grid; gap: 0; }
.arch-node { position: relative; padding: 20px; border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; }
.arch-node h3 { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.arch-node ul { display: grid; gap: 6px; font-size: 0.875rem; font-weight: 500; }
.arch-node li { display: flex; align-items: center; gap: 8px; }
.arch-node li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--line-2); }
.arch-node--core { background: var(--ink); border-color: var(--ink); color: #fff; }
.arch-node--core h3 { color: var(--gold-soft); }
.arch-node--core li::before { background: var(--gold-soft); }
.arch-node--api { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.arch-node--api h3 { color: var(--gold-ink); }
.arch-node--api code { font-family: var(--mono); font-size: 0.8125rem; font-weight: 500; }
.arch-link { display: grid; place-items: center; height: 36px; color: var(--text-3); }
.arch-link .ico { transform: rotate(90deg); }
.arch-out { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.arch-out span { padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--warm); font-size: 0.8125rem; font-weight: 500; }
.section--ink .arch-node { background: var(--ink-2); border-color: rgba(255, 255, 255, 0.14); color: #fff; }
.section--ink .arch-node--core { background: #1f1c12; border-color: var(--gold-soft); }
.section--ink .arch-node--api { border-color: var(--gold-soft); box-shadow: none; }
.section--ink .arch-node--api h3 { color: var(--gold-soft); }
.section--ink .arch-out span { background: var(--ink-3); border-color: rgba(255, 255, 255, 0.1); }
.section--ink .arch-link { color: #7c7a73; }
@media (min-width: 960px) {
  .arch { grid-template-columns: 1fr 44px 1.05fr 44px 1.1fr 44px 1.2fr; align-items: stretch; }
  .arch-link { height: auto; }
  .arch-link .ico { transform: none; }
}

.api-tiles { display: grid; border-top: 1px solid var(--line-2); }
.api-tile { display: grid; gap: 6px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.api-tile-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.api-tile h3 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.015em; }
.api-tile p { font-size: 0.9375rem; color: var(--text-2); max-width: 54ch; }
.api-tile code { font-family: var(--mono); font-size: 0.75rem; color: var(--text-3); }
.status { flex: none; padding: 2px 9px; border-radius: 99px; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.02em; background: var(--ok-wash); color: var(--ok); }
.status.sandbox { background: var(--gold-wash); color: var(--gold-ink); }
.status.planned { background: var(--warm-2); color: var(--text-3); }
@media (min-width: 800px) {
  .api-tiles { grid-template-columns: repeat(2, 1fr); column-gap: 48px; }
}

.audiences { display: grid; gap: 0; border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.audiences > div { padding: clamp(24px, 3vw, 36px); }
.audiences > div + div { border-top: 1px solid var(--line-2); }
.audiences h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; margin-top: 8px; }
.audiences p { margin-top: 10px; color: var(--text-2); font-size: 0.9375rem; }
.audiences .link { margin-top: 18px; }
@media (min-width: 800px) {
  .audiences { grid-template-columns: 1fr 1fr; }
  .audiences > div + div { border-top: 0; border-left: 1px solid var(--line-2); }
}

.code { background: var(--ink); color: #e9e6dd; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.code-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.75rem; color: #9a978f; }
.code pre { margin: 0; padding: 18px 20px; overflow-x: auto; font-family: var(--mono); font-size: 0.8125rem; line-height: 1.75; tab-size: 2; }
.code .c { color: #77746c; }
.code .k { color: var(--gold-soft); }
.code .s { color: #9fd3a8; }
.code .m { color: #8fb4ff; }

.steps { display: grid; counter-reset: s; border-top: 1px solid var(--line-2); }
.step { position: relative; padding: 24px 0 24px 52px; border-bottom: 1px solid var(--line); counter-increment: s; }
.step::before { content: counter(s); position: absolute; left: 0; top: 24px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--gold); background: var(--gold-wash); color: var(--gold-ink); font-size: 0.8125rem; font-weight: 600; }
.step h3 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.015em; }
.step p { margin-top: 4px; font-size: 0.9375rem; color: var(--text-2); max-width: 58ch; }
.step code, .inline-code { font-family: var(--mono); font-size: 0.8125rem; padding: 1px 6px; border-radius: 4px; background: var(--warm-2); color: var(--text); }
.section--ink .step { border-color: rgba(255, 255, 255, 0.1); }
.section--ink .steps { border-color: rgba(255, 255, 255, 0.18); }
.section--ink .step::before { background: transparent; border-color: var(--gold-soft); color: var(--gold-soft); }
.section--ink .step p { color: #b9b6ad; }
.section--ink .step code { background: var(--ink-3); color: #e9e6dd; }
@media (min-width: 960px) {
  .steps--row { grid-template-columns: repeat(4, 1fr); border-top: 0; gap: 0 32px; }
  .steps--row .step { padding: 56px 0 0; border: 0; }
  .steps--row .step::before { top: 0; left: 0; }
  .steps--row .step::after { content: ''; position: absolute; top: 16px; left: 44px; right: 0; height: 1px; background: var(--line-2); }
  .steps--row .step:last-child::after { display: none; }
  .section--ink .steps--row .step::after { background: rgba(255, 255, 255, 0.2); }
}

.notice { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 18px 20px; border: 1px solid var(--line-2); border-left: 3px solid var(--gold); border-radius: var(--r-sm); background: #fff; font-size: 0.9375rem; color: var(--text-2); }
.notice b { color: var(--text); }
.section--ink .notice { background: var(--ink-2); border-color: rgba(255, 255, 255, 0.14); border-left-color: var(--gold-soft); color: #c9c6bd; }
.section--ink .notice b { color: #fff; }

/* 10 · Pricing, FAQ, forms ------------------------------------------------------ */
.plans { display: grid; gap: 16px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); }
.plan--featured { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.plan-flag { position: absolute; top: -11px; left: 28px; padding: 2px 10px; border-radius: 99px; background: var(--gold); color: var(--ink); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.plan h3 { font-size: 1.0625rem; font-weight: 600; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-top: 14px; }
.plan-price .cur { font-size: 0.9375rem; font-weight: 600; color: var(--text-3); }
.plan-price .amt { font-size: 3rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-price .per { color: var(--text-3); font-size: 0.9375rem; }
.plan-desc { margin-top: 10px; min-height: 3em; font-size: 0.9375rem; color: var(--text-2); }
.plan .btn { margin-top: 20px; }
.limits { display: grid; gap: 8px; margin-top: 24px; padding: 16px 0; border-block: 1px solid var(--line); font-size: 0.875rem; }
.limits div { display: flex; justify-content: space-between; }
.limits span { color: var(--text-3); }
.limits b { font-weight: 600; font-variant-numeric: tabular-nums; }
.feat { display: grid; gap: 10px; margin-top: 20px; font-size: 0.875rem; }
.feat li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; color: var(--text-2); }
.feat .ico { margin-top: 3px; color: var(--ok); }
.feat li.off { color: var(--text-3); }
.feat li.off .ico { color: var(--line-2); }
@media (min-width: 960px) { .plans { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.core-price { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; padding: 24px 28px; border: 1px dashed var(--line-2); border-radius: var(--r-lg); }
.core-price h3 { font-size: 1.0625rem; font-weight: 600; }
.core-price p { margin-top: 4px; font-size: 0.9375rem; color: var(--text-2); max-width: 64ch; }
@media (min-width: 800px) { .core-price { flex-direction: row; align-items: center; justify-content: space-between; } }

.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.015em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3); transform: rotate(45deg) translateY(-2px); transition: transform 0.2s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq summary:hover { color: var(--gold-ink); }
.faq .ans { padding: 0 0 24px; max-width: 70ch; color: var(--text-2); }

.form { display: grid; gap: 18px; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; align-content: start; }
.field label, .fieldset legend { font-size: 0.875rem; font-weight: 600; }
.field label span[aria-hidden], .fieldset legend span[aria-hidden] { color: var(--bad); }
.field .opt { font-weight: 400; color: var(--text-3); margin-left: 4px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff; font-size: 1rem; transition: border-color 0.15s, box-shadow 0.15s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--text-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(224, 169, 34, 0.35); }
.field [aria-invalid='true'] { border-color: var(--bad); }
.field [aria-invalid='true']:focus { box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.2); }
.field-error { min-height: 0; font-size: 0.8125rem; color: var(--bad); }
.field-error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.8125rem; color: var(--text-3); text-align: center; }
.form-alert { padding: 12px 14px; border: 1px solid #f2c4c0; border-radius: var(--r-sm); background: var(--bad-wash); color: var(--bad); font-size: 0.9375rem; }
.form-alert a { text-decoration: underline; font-weight: 600; }
.form-success { display: grid; justify-items: center; gap: 12px; padding: 40px 24px; text-align: center; }
.form-success h3 { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; }
.form-success p { color: var(--text-2); max-width: 44ch; }
.success-mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ok-wash); color: var(--ok); }
.fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.types { display: grid; gap: 10px; }
.type { position: relative; }
.type input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.type span { display: block; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; transition: border-color 0.15s, background 0.15s; }
.type b { display: block; font-size: 0.9375rem; font-weight: 600; }
.type small { display: block; margin-top: 2px; font-size: 0.8125rem; color: var(--text-3); line-height: 1.4; }
.type:hover span { border-color: var(--text-3); }
.type input:checked + span { border-color: var(--ink); background: var(--gold-wash); box-shadow: 0 0 0 1px var(--ink); }
.type input:focus-visible + span { outline: 2px solid var(--gold-ink); outline-offset: 2px; }
@media (min-width: 640px) { .types { grid-template-columns: 1fr 1fr; } }
.contact-grid { display: grid; gap: 48px; }
.contact-card { padding: clamp(20px, 3vw, 36px); background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.direct { display: grid; border-top: 1px solid var(--line-2); }
.direct a, .direct div { display: grid; grid-template-columns: 20px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.direct .ico { margin-top: 3px; color: var(--gold-ink); }
.direct b { display: block; font-weight: 600; }
.direct small { display: block; color: var(--text-3); font-size: 0.875rem; }
.direct a:hover b { color: var(--gold-ink); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 72px; align-items: start; } }

/* QR / download */
.download { display: grid; gap: 28px; }
.qr { display: flex; gap: 18px; align-items: center; padding: 18px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r); max-width: 420px; }
.qr img { width: 112px; height: 112px; border-radius: 6px; flex: none; }
.qr p { font-size: 0.875rem; color: var(--text-2); }
.qr b { display: block; color: var(--text); font-size: 0.9375rem; }

/* Careers */
.jobs { border-top: 1px solid var(--line-2); }
.job { display: grid; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.job h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; }
.job .tags { margin-top: 12px; }
.job p { margin-top: 14px; max-width: 60ch; color: var(--text-2); }
.job .btn { justify-self: start; }
@media (min-width: 800px) {
  .job { grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: start; }
  .job .btn { justify-self: end; }
}
.form-hint { font-size: 0.8125rem; color: var(--text-3); }
.field input[type='file'] { padding: 9px 12px; font-size: 0.9375rem; }
.field input[type='file']::file-selector-button { margin-right: 12px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--warm); font: inherit; font-size: 0.875rem; font-weight: 600; cursor: pointer; }
.field input[readonly] { background: var(--warm); color: var(--text-2); }

/* 11 · Footer + overlays --------------------------------------------------------- */
.site-foot { background: var(--ink); color: #b9b6ad; padding: clamp(56px, 7vw, 88px) 0 28px; }
.site-foot .brand { color: #fff; }
.foot-top { display: grid; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.foot-brand p { margin-top: 16px; max-width: 42ch; font-size: 0.9375rem; }
.foot-contact { display: grid; gap: 6px; margin-top: 18px; font-size: 0.9375rem; }
.foot-contact a:hover, .foot-col a:hover, .foot-bottom a:hover { color: #fff; }
.foot-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
.foot-col h2 { margin-bottom: 14px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; }
.foot-col ul { display: grid; gap: 10px; font-size: 0.9375rem; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; font-size: 0.8125rem; }
.foot-social { display: flex; gap: 14px; }
.foot-social a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--r-sm); }
.foot-social a:hover { border-color: #fff; }
@media (min-width: 960px) {
  .foot-top { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 80px; }
  .foot-cols { grid-template-columns: repeat(4, 1fr); }
}

.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; max-width: 760px; margin-inline: auto; padding: 14px 18px; background: var(--ink); color: #d8d5cc; border-radius: var(--r); box-shadow: var(--shadow-lg); font-size: 0.875rem; }
.cookie a { color: #fff; text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; }
.cookie .btn--ghost { border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.cookie .btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: #fff; }

.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; background: rgba(15, 15, 16, 0.6); overflow-y: auto; }
.modal-box { width: 100%; max-width: 640px; margin: auto; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 24px 24px 0; }
.modal-head h2 { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; }
.modal-head p { font-size: 0.9375rem; color: var(--text-3); }
.modal .form { padding: 20px 24px 24px; }
.icon-btn { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.icon-btn:hover { border-color: var(--ink); }

/* 12 · Motion + print ------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal[data-d='1'] { transition-delay: 0.06s; }
.js .reveal[data-d='2'] { transition-delay: 0.12s; }
.js .reveal[data-d='3'] { transition-delay: 0.18s; }

@media (max-width: 959px) {
  .head-nav, .head-actions .menu, .head-cta { display: none; }
  .nav-toggle { display: block; }
  .head-row { gap: 12px; }
}
@media (max-width: 560px) {
  .cap-panel { padding: 12px; }
  .ledger th, .ledger td { padding: 9px 10px; white-space: nowrap; }
  .ledger th:first-child, .ledger td:first-child { padding-left: 12px; }
  .ledger th:last-child, .ledger td:last-child { padding-right: 12px; }
  .stat-row div { padding: 12px 10px; }
  .stat-row dt { font-size: 0.625rem; letter-spacing: 0.04em; }
  .stat-row dd { font-size: 0.9375rem; }
  .ui-head, .ui-foot { padding-inline: 12px; flex-wrap: wrap; }
  .ui-rows li { padding-inline: 12px; gap: 10px; }
  .kv { padding: 12px; }
  .browser { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .browser img { width: 720px; max-width: none; }
  .hero .actions .btn, .page-hero .actions .btn, .closing .actions .btn { width: 100%; }
  .plan { padding: 22px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .phones .phone:nth-child(2) { margin-top: 28px; }
  .qr { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
/* Product media is not for download: the CSS half of the protection in site.js. */
.browser img, .phone img { -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; pointer-events: none; }
@media print {
  .site-head, .drawer, .cookie, .modal { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
