/* ─── Brand tokens ───────────────────────────────────────────────────────── */
:root {
  --ink:            #0D1B33;   /* midnight navy — text                        */
  --ink-2:          #34435A;
  --muted:          #5B6B7C;
  --primary:        #1B3A6B;   /* deep indigo — authority, legal weight       */
  --primary-hover:  #2755A8;
  --accent:         #00B99E;   /* teal — "instant", speed, digital            */
  --accent-hover:   #009982;
  --accent-ink:     #00705F;
  --accent-soft:    #E3F7F3;
  --gold:           #C4960E;   /* certification seal — used sparingly         */
  --gold-soft:      #FBF3DC;
  --paper:          #ffffff;
  --paper-2:        #F5F8FC;
  --soft:           #EDF4FB;
  --line:           #CFDEED;
  --line-2:         #E4ECF5;
  --exhibit:        #FDFBF5;
  --exhibit-line:   #E8E0C8;
  --warn:           #fff4da;
  --good:           #0E7C5B;
  --radius:         12px;
  --shadow:         0 18px 55px rgba(13, 27, 51, .12);
  --serif:          Newsreader, Georgia, "Times New Roman", serif;
  --sans:           "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:           "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}

/* ─── Reset & base ───────────────────────────────────────────────────────── */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.topbar .container { width: min(1280px, calc(100% - 48px)); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; line-height: 1.08; margin: 0; text-wrap: balance; }
h4, h5, h6, strong, b { font-weight: 600; }
code, pre, kbd, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ─── Wide content containment ───────────────────────────────────────────── */
pre { max-width: 100%; overflow-x: auto; }
code { overflow-wrap: anywhere; }
.param-table, .error-table { display: block; max-width: 100%; overflow-x: auto; }
@media (max-width: 560px) {
  .hero-actions .button, .cta-band .button, .nav-actions .button { white-space: normal; text-align: center; line-height: 1.25; padding-block: 8px; }
  .content-page table:not(.cost table) { display: block; max-width: 100%; overflow-x: auto; }
}

/* ─── Beta ribbon ────────────────────────────────────────────────────────── */
.beta-ribbon { background: var(--ink) !important; color: #fff !important; text-align: center; font: 500 13px/1.45 var(--sans) !important; padding: 8px 16px !important; }
.beta-ribbon strong { color: var(--gold); font-weight: 600; }
.beta-ribbon a { color: #fff !important; font-weight: 500 !important; text-decoration: none !important; border-bottom: 1px solid rgba(255,255,255,.55); margin-left: 6px; }

/* ─── Top bar ────────────────────────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--line-2);
  backdrop-filter: blur(12px);
}
.nav {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -.01em;
  flex-shrink: 0;
}
.brand-mark { width: 32px; height: 32px; display: block; flex-shrink: 0; }
.brand-copy { display: grid; gap: 1px; }
.brand-name { font-size: 17px; color: var(--ink); }
.brand-tld  { color: var(--accent); }
.brand-tagline { color: var(--muted); font-size: 11px; font-weight: 400; letter-spacing: .01em; line-height: 1.15; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 14.5px; color: var(--ink-2); flex-wrap: nowrap; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-actions .button { flex: 0 0 auto; min-height: 40px; padding: 0 14px; font-size: 14px; }
.nav-actions .button.secondary { border-color: transparent; color: var(--ink-2); }
.nav-actions .button.secondary:hover { background: var(--soft); border-color: transparent; }
.nav-actions .button.accent { background: var(--primary); box-shadow: none; }
.nav-actions .button.accent:hover { background: var(--primary-hover); }
.nav-actions .button.primary { background: #fff; color: var(--primary); border-color: var(--line); box-shadow: none; }
.nav-actions .button.primary:hover { border-color: var(--primary); background: #fff; }
.nav-links a, .nav-actions .button, .lang-switcher, .brand-name { white-space: nowrap; }

/* Hamburger toggle — injected by site.js on narrow viewports */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle-bar { display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.topbar.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.topbar.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.topbar.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, border-color .15s, transform .15s;
}
.button:hover { transform: translateY(-1px); }
.button.primary  { background: var(--primary); color: #fff; }
.button.primary:hover { background: var(--primary-hover); }
.button.secondary { border-color: var(--line); color: var(--ink); background: #fff; }
.button.secondary:hover { background: var(--soft); }
.button.accent   { background: var(--primary); color: #fff; }
.button.accent:hover { background: var(--primary-hover); }
/* legacy alias */
.button.green { background: #fff; color: var(--primary); border-color: var(--line); }
.button.green:hover { border-color: var(--primary); }

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; background: #fff; }
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
  padding: 64px 0 56px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
h1 { font-size: clamp(2.5rem, 5.2vw, 4.3rem); line-height: 1.03; max-width: 820px; }
.hero p { margin: 20px 0 0; font-size: 1.15rem; color: var(--ink-2); max-width: 600px; line-height: 1.6; }
.hero-actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; max-width: 640px; }
.metric { display: flex; align-items: baseline; gap: 6px; font-size: 13.5px; color: var(--muted); padding: 0; border: 0; background: none; }
.metric::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); align-self: center; }
.metric strong { display: inline; font-size: 13.5px; color: var(--ink); font-weight: 600; }
.metric span { color: var(--muted); font-size: 13.5px; }
.hero-visual { position: relative; isolation: isolate; }
.hero-visual img { filter: drop-shadow(0 22px 40px rgba(13,27,51,.14)); max-width: 100%; height: auto; }
.split img, .content-page img { max-width: 100%; height: auto; }
.cube-flock { display: none; }
.hero-grid, .section > .container, .content-page > .container, .footer-grid, .campaign { position: relative; z-index: 6; }

/* ─── Exhibit card (homepage hero) ───────────────────────────────────────── */
.exhibit-wrap { position: relative; padding: 1.4rem 0 2rem; }
.exhibit { position: relative; background: var(--exhibit); border: 1px solid var(--exhibit-line); box-shadow: var(--shadow); padding: 1.6rem 1.7rem 1.4rem; max-width: 460px; margin-inline: auto; transform: rotate(-1.2deg); }
.exhibit .tab { position: absolute; top: -14px; left: 1.4rem; background: var(--gold); color: #1E1600; font: 600 .68rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: .45rem .7rem; border-radius: 3px; }
.ex-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; border-bottom: 1px solid var(--exhibit-line); padding-bottom: .9rem; margin-bottom: .9rem; }
.ex-head .serif { font-family: var(--serif); font-size: 1.35rem; line-height: 1.15; }
.ex-head .mono { font-size: .72rem; color: var(--muted); text-align: right; line-height: 1.5; }
.ex-grid { display: grid; grid-template-columns: 120px 1fr; gap: .45rem .8rem; font-size: .8rem; margin: 0; }
.ex-grid dt { color: var(--muted); }
.ex-grid dd { margin: 0; font-family: var(--mono); font-size: .76rem; word-break: break-all; color: var(--ink); }
.ex-layers { margin: 1.1rem 0 0; padding: 0; list-style: none; display: grid; gap: .4rem; font-size: .78rem; }
.ex-layers li { display: flex; justify-content: space-between; gap: .6rem; padding: .4rem .6rem; background: #fff; border: 1px solid var(--exhibit-line); border-radius: 4px; }
.ex-layers li b { font-weight: 500; }
.ex-layers li span { color: var(--good); font-weight: 600; white-space: nowrap; }
.seal { position: absolute; right: -18px; bottom: -22px; width: 112px; height: 112px; border-radius: 50%; background: #fff; border: 2px solid var(--gold); display: grid; place-items: center; text-align: center; padding: .6rem; box-shadow: var(--shadow); transform: rotate(7deg); }
.seal small { display: block; font: 600 .55rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.seal b { font-family: var(--serif); font-weight: 500; font-size: 1rem; color: var(--ink); display: block; margin: .2rem 0; }
.ex-note { text-align: center; font-size: .75rem; color: var(--muted); margin-top: 1.6rem; }

/* ─── Trust strip under the hero ─────────────────────────────────────────── */
.strip { border-block: 1px solid var(--line-2); background: var(--paper-2); }
.strip .container { display: flex; flex-wrap: wrap; gap: .75rem 2.2rem; align-items: center; padding-block: 1rem; font-size: .85rem; color: var(--ink-2); }
.strip b { font-weight: 600; color: var(--ink); }
.strip .lbl { color: var(--muted); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }


/* ─── Hero workflow carousel ─────────────────────────────────────────────── */
.proof-carousel {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  padding: 18px;
  background:
    radial-gradient(circle at 18% 10%, rgba(0,185,158,.18), transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(196,150,14,.16), transparent 30%),
    rgba(255,255,255,.84);
  border: 1px solid rgba(207,222,237,.92);
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(13,27,51,.16);
  backdrop-filter: blur(18px);
}
.proof-carousel-controls {
  display: block;
  margin-bottom: 14px;
}
.proof-mode {
  position: relative;
  overflow: hidden;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #10284d);
  border: 1px solid transparent;
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(27,58,107,.24);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.18;
  text-align: center;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.proof-mode[hidden] {
  display: none;
}
.proof-mode::after {
  content: none;
}
.proof-mode.is-active {
  animation: ctaSlideIn .58s cubic-bezier(.22,1,.36,1) both;
}
.proof-mode:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, var(--primary-hover), var(--primary));
}
.proof-mode span {
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  background: rgba(255,255,255,.14);
  border-radius: 50%;
}
.proof-mode small {
  padding: 5px 8px;
  color: #0d1b33;
  background: rgba(255,255,255,.88);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
}
.proof-stage {
  position: relative;
  min-height: 390px;
}
.proof-scene {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 14px;
  opacity: 0;
  transform: translateY(8px) scale(.98);
  pointer-events: none;
  transition: opacity .28s ease, transform .28s ease;
}
.proof-scene.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.workflow-screen {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(13,27,51,.96), rgba(27,58,107,.92)),
    var(--primary);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 22px 42px rgba(13,27,51,.20);
}
.workflow-browser-bar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.10);
  font-size: 12px;
  font-weight: 800;
}
.workflow-browser-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,.42);
}
.workflow-browser-bar span:nth-child(1) { background: #ef6b5e; }
.workflow-browser-bar span:nth-child(2) { background: #f0bf55; }
.workflow-browser-bar span:nth-child(3) { background: #42c2a8; }
.workflow-session-layout,
.workflow-capture-layout,
.workflow-file-layout {
  position: absolute;
  inset: 56px 24px 24px;
}
.workflow-webpage,
.workflow-long-page,
.workflow-file-sheet {
  position: absolute;
  background: rgba(255,255,255,.96);
  border-radius: 14px;
  box-shadow: 0 20px 45px rgba(0,0,0,.22);
}
.workflow-webpage {
  inset: 4px 108px 34px 0;
  padding: 18px;
}
.workflow-page-header,
.workflow-file-title {
  height: 32px;
  margin-bottom: 14px;
  border-radius: 9px;
  background: linear-gradient(90deg, rgba(0,185,158,.22), rgba(27,58,107,.18));
}
.workflow-line {
  height: 8px;
  margin-top: 11px;
  border-radius: 999px;
  background: #d9e5ef;
}
.workflow-line.w90 { width: 90%; }
.workflow-line.w86 { width: 86%; }
.workflow-line.w85 { width: 85%; }
.workflow-line.w82 { width: 82%; }
.workflow-line.w78 { width: 78%; }
.workflow-line.w72 { width: 72%; }
.workflow-line.w64 { width: 64%; }
.workflow-line.w62 { width: 62%; }
.workflow-line.w55 { width: 55%; }
.workflow-media {
  height: 68px;
  margin-top: 14px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(27,58,107,.18), rgba(0,185,158,.18)),
    #edf4fb;
}
.workflow-recorder {
  position: absolute;
  right: 0;
  top: 18px;
  width: 126px;
  padding: 16px;
  color: #fff;
  background: rgba(13,27,51,.84);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 15px;
  box-shadow: 0 18px 36px rgba(0,0,0,.24);
}
.workflow-recorder strong,
.workflow-recorder span {
  display: block;
}
.workflow-recorder span {
  margin-top: 4px;
  color: rgba(255,255,255,.68);
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 13px;
}
.record-dot {
  width: 14px;
  height: 14px;
  margin-bottom: 10px;
  background: #ef4a4a;
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(239,74,74,.45);
}
.proof-carousel.is-animating .record-dot {
  animation: recordPulse 1.4s ease-out 3;
}
.workflow-cursor {
  position: absolute;
  left: 72px;
  top: 86px;
  width: 18px;
  height: 24px;
  background: #fff;
  clip-path: polygon(0 0, 0 100%, 35% 72%, 54% 100%, 72% 91%, 52% 62%, 88% 62%);
  filter: drop-shadow(0 6px 8px rgba(0,0,0,.32));
}
.proof-carousel.is-animating .proof-scene-session.is-active .workflow-cursor {
  animation: cursorTravel 3.6s cubic-bezier(.42,0,.18,1) both;
}
.workflow-timeline {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 16px;
  display: grid;
  grid-template-columns: 1.3fr .8fr 1.1fr .6fr;
  gap: 6px;
}
.workflow-timeline span {
  height: 8px;
  border-radius: 999px;
  background: rgba(0,185,158,.28);
  overflow: hidden;
}
.workflow-timeline span::after {
  content: "";
  display: block;
  width: 42%;
  height: 100%;
  background: var(--accent);
  border-radius: inherit;
  transform: translateX(-110%);
}
.proof-carousel.is-animating .proof-scene-session.is-active .workflow-timeline span::after {
  animation: timelineSweep 2.7s ease-in-out both;
}
.proof-carousel.is-animating .proof-scene-session.is-active .workflow-timeline span:nth-child(2)::after { animation-delay: .22s; }
.proof-carousel.is-animating .proof-scene-session.is-active .workflow-timeline span:nth-child(3)::after { animation-delay: .44s; }
.proof-carousel.is-animating .proof-scene-session.is-active .workflow-timeline span:nth-child(4)::after { animation-delay: .66s; }
.workflow-long-page {
  left: 28px;
  top: -20px;
  width: 250px;
  height: 265px;
  padding: 18px;
}
.proof-carousel.is-animating .proof-scene-page.is-active .workflow-long-page {
  animation: pageScroll 3.8s cubic-bezier(.42,0,.2,1) both;
}
.workflow-card-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 16px 0;
}
.workflow-card-row i {
  height: 54px;
  border-radius: 10px;
  background: #edf4fb;
}
.workflow-scan {
  position: absolute;
  left: 20px;
  top: 8px;
  width: 282px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(0,185,158,.95), transparent);
  box-shadow: 0 0 22px rgba(0,185,158,.62);
}
.proof-carousel.is-animating .proof-scene-page.is-active .workflow-scan {
  animation: scanDown 2.4s ease-in-out both;
}
.workflow-camera-flash {
  position: absolute;
  right: 62px;
  top: 72px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(255,255,255,.84);
  opacity: 0;
  transform: scale(.2);
}
.proof-carousel.is-animating .proof-scene-page.is-active .workflow-camera-flash {
  animation: captureFlash 2.4s ease-out both;
}
.workflow-certificate-mini {
  position: absolute;
  right: 26px;
  bottom: 24px;
  width: 170px;
  padding: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(207,222,237,.95);
  border-radius: 14px;
  box-shadow: 0 18px 36px rgba(0,0,0,.18);
}
.workflow-certificate-mini strong,
.workflow-certificate-mini span {
  display: block;
}
.workflow-certificate-mini span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}
.workflow-file-sheet {
  left: 36px;
  top: 8px;
  width: 230px;
  height: 250px;
  padding: 24px 22px;
}
.workflow-file-corner {
  position: absolute;
  right: 0;
  top: 0;
  border-top: 36px solid #dceaf7;
  border-left: 36px solid transparent;
}
.workflow-signature-line {
  position: absolute;
  left: 24px;
  right: 58px;
  bottom: 46px;
  height: 34px;
  border-bottom: 2px solid var(--primary);
}
.workflow-signature-line::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 0;
  height: 20px;
  border-bottom: 3px solid var(--accent);
  border-radius: 50%;
}
.proof-carousel.is-animating .proof-scene-file.is-active .workflow-signature-line::after {
  animation: signatureDraw 3.2s ease-in-out both;
}
.workflow-pen {
  position: absolute;
  left: 170px;
  top: 184px;
  width: 86px;
  height: 12px;
  background: linear-gradient(90deg, #17243a, #d2a018 76%, #f8e3a8);
  border-radius: 999px;
  box-shadow: 0 10px 18px rgba(0,0,0,.28);
  transform: rotate(-24deg);
  transform-origin: 12px 50%;
}
.proof-carousel.is-animating .proof-scene-file.is-active .workflow-pen {
  animation: penSign 3.2s ease-in-out both;
}
.workflow-seal {
  position: absolute;
  right: 42px;
  top: 52px;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #148c80);
  border: 4px solid rgba(255,255,255,.88);
  border-radius: 50%;
  box-shadow: 0 16px 32px rgba(0,0,0,.20);
  transform: scale(.8);
}
.proof-carousel.is-animating .proof-scene-file.is-active .workflow-seal {
  animation: sealPop 3.2s ease-in-out both;
}
.workflow-seal span {
  font-size: 34px;
  font-weight: 950;
}
.workflow-hash-card {
  position: absolute;
  right: 20px;
  bottom: 22px;
  width: 198px;
  padding: 14px;
  color: #fff;
  background: rgba(13,27,51,.88);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  box-shadow: 0 16px 32px rgba(0,0,0,.24);
}
.workflow-hash-card strong,
.workflow-hash-card span {
  display: block;
}
.workflow-hash-card span {
  margin-top: 5px;
  color: rgba(255,255,255,.70);
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 12px;
}
.workflow-caption {
  display: grid;
  gap: 3px;
  min-height: 62px;
  padding: 0 6px 2px;
}
.workflow-caption strong {
  color: var(--primary);
  font-size: 18px;
}
.workflow-caption span {
  color: var(--muted);
  font-size: 14px;
}
.hero .proof-institutional {
  margin: 12px 4px 0;
  color: #40515f;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.4;
  text-align: center;
}
@keyframes recordPulse {
  0% { box-shadow: 0 0 0 0 rgba(239,74,74,.42); }
  75% { box-shadow: 0 0 0 13px rgba(239,74,74,0); }
  100% { box-shadow: 0 0 0 0 rgba(239,74,74,0); }
}
@keyframes ctaSlideIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes cursorTravel {
  0%, 100% { transform: translate(0, 0); }
  32% { transform: translate(120px, 48px); }
  62% { transform: translate(58px, 108px); }
  82% { transform: translate(186px, 78px); }
}
@keyframes timelineSweep {
  0% { transform: translateX(-110%); }
  55%, 100% { transform: translateX(240%); }
}
@keyframes pageScroll {
  0%, 100% { transform: translateY(0); }
  44%, 68% { transform: translateY(-42px); }
}
@keyframes scanDown {
  0% { transform: translateY(0); opacity: 0; }
  12%, 72% { opacity: 1; }
  88%, 100% { transform: translateY(210px); opacity: 0; }
}
@keyframes captureFlash {
  0%, 56%, 100% { opacity: 0; transform: scale(.2); }
  64% { opacity: .7; transform: scale(1.75); }
}
@keyframes signatureDraw {
  0%, 16% { width: 0; }
  48%, 100% { width: 128px; }
}
@keyframes penSign {
  0%, 15% { transform: translate(0, 0) rotate(-24deg); }
  48% { transform: translate(-86px, 24px) rotate(-18deg); }
  70%, 100% { transform: translate(-40px, 8px) rotate(-24deg); }
}
@keyframes sealPop {
  0%, 50% { opacity: 0; transform: scale(.62) rotate(-10deg); }
  66% { opacity: 1; transform: scale(1.08) rotate(4deg); }
  78%, 100% { opacity: 1; transform: scale(1) rotate(0); }
}
@media (prefers-reduced-motion: reduce) {
  .cube-flock {
    display: none;
  }
  .proof-scene *,
  .proof-scene *::after {
    animation: none !important;
    transition: none !important;
  }
}


/* ─── Scroll-tied motion polish ──────────────────────────────────────────── */
.reveal-on-scroll {
  --reveal-index: 0;
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  filter: blur(8px);
  transition:
    opacity .78s cubic-bezier(.22, 1, .36, 1),
    transform .78s cubic-bezier(.22, 1, .36, 1),
    filter .78s cubic-bezier(.22, 1, .36, 1),
    border-color .2s ease,
    box-shadow .2s ease;
  transition-delay: calc(var(--reveal-index) * 72ms);
  will-change: opacity, transform, filter;
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}
.reveal-slide-left { transform: translate3d(-28px, 18px, 0); }
.reveal-slide-right { transform: translate3d(28px, 18px, 0); }
.reveal-pop { transform: translate3d(0, 20px, 0) scale(.96); }
.reveal-pop.is-visible { transform: translate3d(0, 0, 0) scale(1); }
.plan.popular.reveal-on-scroll.is-visible { transform: translateY(-10px); }

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll,
  .reveal-on-scroll.is-visible,
  .plan.popular.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}


/* ─── Sections ───────────────────────────────────────────────────────────── */
.section { padding: 80px 0; }
.section.soft { background: var(--paper-2); }
.section-head { max-width: 780px; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.1; }
.section-head p { color: var(--ink-2); font-size: 1.08rem; margin: 14px 0 0; line-height: 1.6; }
.section-head .eyebrow { margin-bottom: 12px; }
.head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: end; margin-bottom: 2.5rem; }
.head p { color: var(--ink-2); margin: 0; }

/* ─── Persona cards ──────────────────────────────────────────────────────── */
.persona-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 16px; }
.persona { border: 1px solid var(--line-2); border-radius: var(--radius); padding: 22px 20px; background: #fff; transition: border-color .2s; }
.persona:hover { border-color: var(--line); }
.persona-icon { font-size: 24px; margin-bottom: 12px; }
.persona h3 { font-family: var(--sans); font-size: 15px; font-weight: 600; margin-bottom: 8px; line-height: 1.3; }
.persona p  { color: var(--muted); font-size: 13.5px; margin: 0; line-height: 1.5; }

/* ─── Service cards ──────────────────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.card { background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 26px; box-shadow: none; }
.card-icon { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; background: var(--soft); color: var(--primary); font: 600 11px var(--mono); letter-spacing: .04em; margin-bottom: 18px; }
.card h3 { font-size: 1.35rem; }
.card p  { color: var(--ink-2); margin: 12px 0 0; font-size: .96rem; }
.card .price { margin-top: 16px; font-weight: 600; color: var(--primary); font-family: var(--mono); font-size: .9rem; }

/* ─── Routine cards (homepage) ───────────────────────────────────────────── */
.routine { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.routine article { padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.routine .when { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .8rem; display: flex; justify-content: space-between; }
.routine .when b { color: var(--accent-ink); font-weight: 600; }
.routine h3 { font-size: 1.35rem; margin-bottom: .4rem; }
.routine p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.routine ul { margin: .9rem 0 0; padding: 0; list-style: none; font-size: .9rem; color: var(--ink-2); }
.routine li { padding: .3rem 0; border-top: 1px solid var(--line-2); }
.routine li::before { content: "·"; color: var(--accent); font-weight: 700; margin-right: .5rem; }

/* ─── Cost section (dark) ────────────────────────────────────────────────── */
.cost { background: var(--ink); color: #fff; }
.cost .eyebrow { color: var(--accent); }
.cost h2, .cost p { color: #fff; }
.cost .lede, .cost .head p { color: #C7D3E2; }
.cost-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.cost table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.cost th, .cost td { text-align: left; padding: .85rem .6rem; border-bottom: 1px solid rgba(255,255,255,.14); vertical-align: top; }
.cost th { font-weight: 500; color: #93A4B8; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; }
.cost td:first-child { color: #93A4B8; }
.cost td.you { color: #fff; font-weight: 500; }
.cost td .win { color: #2FD4B9; }
.cost .math { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 1.5rem; }
.cost .math .row { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .95rem; }
.cost .math .row:last-child { border: 0; font-weight: 600; font-size: 1.05rem; }
.cost .math .row span:last-child { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.cost .fine { font-size: .78rem; color: #93A4B8; margin-top: 1rem; }

/* ─── Chain of trust ─────────────────────────────────────────────────────── */
.chain { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.chain article { padding: 1.6rem 1.4rem; background: #fff; }
.chain article + article { border-left: 1px solid var(--line); }
.chain .who { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: .6rem; }
.chain .who b { color: var(--gold); font-weight: 600; }
.chain h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.chain p { font-size: .9rem; color: var(--ink-2); margin: 0; }
.chain .cite { display: block; margin-top: .9rem; font-size: .8rem; color: var(--muted); font-style: italic; font-family: var(--serif); }
.chain-foot { margin-top: 1.4rem; display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: center; justify-content: space-between; color: var(--ink-2); font-size: .95rem; }
.chain-foot .verify { font-family: var(--mono); font-size: .82rem; background: var(--soft); padding: .5rem .8rem; border-radius: 6px; border: 1px solid var(--line); max-width: 100%; overflow-wrap: anywhere; }

/* ─── Practice areas ─────────────────────────────────────────────────────── */
.areas { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.areas article { background: #fff; padding: 1.5rem 1.6rem; display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; }
.areas .num { font-family: var(--serif); font-size: 1.6rem; color: var(--gold); line-height: 1; padding-top: .15rem; }
.areas h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.areas p { font-size: .92rem; color: var(--ink-2); margin: 0; }
.areas .ex { display: block; margin-top: .6rem; font-size: .82rem; color: var(--muted); }
.areas .ex b { font-weight: 500; color: var(--ink-2); }
.areas a { text-decoration: none; }
.areas a:hover h3 { color: var(--primary); }

/* ─── How it works ───────────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 42px; align-items: center; }
.proof-list { display: grid; gap: 12px; }
.proof-item { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff; }
.check { width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; font-weight: 600; font-family: var(--mono); font-size: 13px; }
.proof-item strong { display: block; margin-bottom: 3px; font-weight: 600; }
.proof-item span   { color: var(--ink-2); font-size: .95rem; }

/* ─── Use cases ──────────────────────────────────────────────────────────── */
.use-cases { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.case { border: 1px solid var(--line-2); border-radius: var(--radius); padding: 18px; background: #fff; min-height: 140px; }
.case strong { display: block; margin-bottom: 6px; font-size: 1.05rem; font-weight: 600; }
.case strong a { text-decoration: none; }
.case strong a:hover { color: var(--primary); }
.case span   { color: var(--muted); font-size: 14px; }

/* ─── Trust strip (grid of badges) ───────────────────────────────────────── */
.trust-strip { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 12px; }
.trust { border: 1px solid var(--line-2); border-radius: 10px; padding: 16px 12px; background: #fff; text-align: center; font-weight: 500; font-size: 14px; color: var(--ink-2); }
.trust.gold { border-color: #E8D9A6; background: var(--gold-soft); color: #7A5C08; }

/* ─── Pricing ────────────────────────────────────────────────────────────── */
.pricing { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; align-items: stretch; }
.plan { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; position: relative; box-shadow: none; display: flex; flex-direction: column; }
.plan.popular { transform: none; border-color: var(--primary); box-shadow: var(--shadow); }
.ribbon { position: absolute; top: 18px; left: 22px; right: auto; transform: none; width: auto; background: var(--primary); color: #fff; padding: 5px 9px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; border-radius: 4px; z-index: 1; }
.plan-head { background: #fff; color: var(--ink); padding: 52px 26px 8px; text-align: left; }
.plan:not(.popular) .plan-head { padding-top: 30px; }
.plan-head h3 { font-size: 1.3rem; }
.plan-head .price { display: block; margin-top: 10px; font-size: 2.3rem; font-weight: 400; font-family: var(--serif); font-variant-numeric: tabular-nums; }
.plan-body { padding: 8px 26px 26px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.plan-body ul { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 0; color: var(--ink-2); font-size: .94rem; flex: 1; }
.plan-body li { padding: 8px 0; border-top: 1px solid var(--line-2); }
.plan-body li::before { content: "✓"; color: var(--accent-ink); font-weight: 700; margin-right: 8px; }
.plan-body li.plan-note { color: var(--muted); font-style: italic; }
.plan-body li.plan-note::before { content: "ⓘ"; color: var(--muted); font-style: normal; }


/* ─── FAQ ────────────────────────────────────────────────────────────────── */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 0; }
.faq details { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; padding: 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; font-family: var(--serif); font-size: 1.25rem; font-weight: 400; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--ink-2); margin: 0 0 1.1rem; max-width: 64ch; }
.section.soft .faq details { background: transparent; }

/* ─── CTA band ───────────────────────────────────────────────────────────── */
.cta-band { background: var(--soft); color: var(--ink); border-radius: 18px; padding: 54px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 16px 20px; }
.cta-band h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.cta-band p  { color: var(--ink-2); font-size: 1.05rem; margin: 12px 0 0; max-width: 640px; }
.cta-band .button.accent { background: var(--primary); }
.cta-band .button.secondary { background: #fff; }
.cta-band .button.secondary.reveal-on-scroll { transform: none; }

/* ─── Footer & campaign ──────────────────────────────────────────────────── */
.footer { padding: 34px 0; border-top: 1px solid var(--line-2); color: var(--muted); font-size: 14px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }
.footer-grid { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

.campaign { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: min(340px, calc(100vw - 36px)); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: var(--radius); padding: 16px; }
.campaign button { position: absolute; right: 10px; top: 8px; border: 0; background: transparent; font-size: 20px; cursor: pointer; color: var(--muted); }
.campaign strong { display: block; padding-right: 24px; font-family: var(--serif); font-size: 1.15rem; font-weight: 400; }
.campaign p { margin: 8px 0 12px; color: var(--muted); font-size: 14px; }
.campaign .button { min-height: 40px; font-size: 14px; }

/* ─── Content Pages ──────────────────────────────────────────────────────── */
.content-page { padding: 54px 0; }
.content-page h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 8px; }
.content-page .meta { color: var(--muted); font-size: 14px; margin: 0 0 32px; }
.content-page section { max-width: 820px; margin: 0 auto 42px; }
.content-page section h2 { font-size: 1.6rem; margin-top: 32px; margin-bottom: 14px; }
.content-page section p { line-height: 1.7; color: var(--ink-2); margin: 14px 0; }
.content-page section ul { margin: 14px 0; padding-left: 24px; }
.content-page section li { margin: 10px 0; color: var(--ink-2); }
.content-page section a { color: var(--primary); text-decoration: none; }
.content-page section a:hover { text-decoration: underline; }
.prose { max-width: 70ch; color: var(--ink-2); line-height: 1.7; }
.prose h2, .prose h3 { color: var(--ink); margin-top: 1.6em; margin-bottom: .5em; }
.prose a { color: var(--primary); }

/* ─── Video tutorials ────────────────────────────────────────────────────── */
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.video-card { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.video-card video { width: 100%; aspect-ratio: 16/9; background: var(--ink); display: block; }
.video-card .video-body { padding: 16px 18px 18px; display: grid; gap: 6px; }
.video-card h3 { font-size: 1.15rem; }
.video-card p { color: var(--ink-2); font-size: .92rem; margin: 0; }
.video-card .video-meta { font-family: var(--mono); font-size: .74rem; color: var(--muted); letter-spacing: .04em; }
.video-inline { max-width: 900px; margin: 28px auto 0; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.video-inline video { width: 100%; aspect-ratio: 16/9; display: block; }
.video-inline figcaption { background: #fff; padding: 12px 16px; font-size: .88rem; color: var(--ink-2); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.video-inline figcaption span { font-family: var(--mono); font-size: .74rem; color: var(--muted); }

/* ─── Language Switcher ──────────────────────────────────────────────────── */
.lang-switcher { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); letter-spacing: .04em; }
.lang-switcher a { color: var(--muted); text-decoration: none; }
.lang-switcher a[aria-current], .lang-switcher a:hover { color: var(--ink); }

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .persona-grid  { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .trust-strip   { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .chain { grid-template-columns: 1fr 1fr; }
  .chain article:nth-child(3) { border-left: 0; }
  .chain article:nth-child(n+3) { border-top: 1px solid var(--line); }
  .video-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
/* Collapse the inline nav into a hamburger (site.js injects the button). */
@media (max-width: 1600px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; margin-right: auto; }
  .topbar.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 30px rgba(15, 27, 51, .10);
    padding: 10px max(24px, calc((100% - 1180px) / 2 + 24px)) 16px;
  }
  .topbar.nav-open .nav-links a { padding: 13px 4px; font-size: 16px; border-bottom: 1px solid var(--line-2); }
  .topbar.nav-open .nav-links a:last-child { border-bottom: none; }
}
@media (max-width: 980px) {
  .hero-grid, .split, .cost-grid, .head { grid-template-columns: 1fr; }
  .head { gap: 1.2rem; }
  .cards, .pricing, .routine { grid-template-columns: 1fr; }
  .areas { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .use-cases { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero-grid { min-height: auto; padding-top: 40px; gap: 36px; }
  .plan.popular { transform: none; }
  .plan.popular.reveal-on-scroll.is-visible { transform: none; }
  .proof-carousel { max-width: 620px; }
  .section { padding: 60px 0; }
}
@media (max-width: 900px) {
  .topbar .container { width: min(100% - 32px, 1280px); }
  .nav { height: auto; min-height: 68px; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 10px 0; }
  .nav-toggle { margin-right: 0; margin-left: auto; }
  .nav-actions { width: 100%; flex: 0 0 100%; display: grid; grid-template-columns: auto repeat(3, max-content); justify-content: end; gap: 8px; }
  .nav-actions .button { min-height: 38px; padding: 0 12px; font-size: 13.5px; }
  .lang-switcher { justify-content: start; }
}
@media (max-width: 640px) {
  .persona-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .trust-strip  { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .video-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .container, .topbar .container { width: min(100% - 32px, 1180px); }
  .brand-name { font-size: 16px; }
  .brand-tagline { display: none; }
  .nav-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lang-switcher { grid-column: 1 / -1; justify-content: center; }
  .nav-actions .button { width: 100%; min-width: 0; min-height: 38px; padding: 0 10px; font-size: 14px; }
  .nav-actions .button.primary { grid-column: 1 / -1; }
  .use-cases, .persona-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 28px 22px; }
  .chain { grid-template-columns: 1fr; }
  .chain article + article { border-left: 0; border-top: 1px solid var(--line); }
  .exhibit { padding: 1.3rem 1.1rem; transform: none; }
  .seal { right: -6px; bottom: -16px; width: 96px; height: 96px; }
  .ex-grid { grid-template-columns: 1fr; }
  .proof-carousel { padding: 12px; border-radius: 16px; }
  .proof-carousel-controls { margin-bottom: 12px; }
  .proof-mode { min-height: 44px; font-size: 14px; }
  .proof-stage { min-height: 410px; }
  .workflow-screen { min-height: 316px; }
  .workflow-session-layout, .workflow-capture-layout, .workflow-file-layout { inset: 54px 14px 18px; }
  .workflow-webpage { inset: 4px 76px 40px 0; padding: 14px; }
  .workflow-recorder { width: 102px; padding: 12px; font-size: 13px; }
  .workflow-long-page { left: 8px; width: 210px; }
  .workflow-scan { left: 6px; width: 232px; }
  .workflow-certificate-mini { right: 10px; width: 142px; }
  .workflow-file-sheet { left: 8px; width: 190px; }
  .workflow-pen { left: 132px; }
  .workflow-hash-card { right: 8px; width: 160px; }
  .workflow-seal { right: 22px; }
  .cost table { font-size: .84rem; }
  .cost th, .cost td { padding: .6rem .4rem; }
}

/* ─── Large screens (1200px+) ─────────────────────────────────────────────── */
@media (min-width: 1200px) {
  .section { padding: 96px 0; }
  .persona-grid { grid-template-columns: repeat(5, minmax(0,1fr)); gap: 24px; }
  .cards { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
  .trust-strip { grid-template-columns: repeat(6, minmax(0,1fr)); gap: 16px; }
}
/* ─── Extra large screens (1600px+) ──────────────────────────────────────── */
@media (min-width: 1600px) {
  .container { width: min(1280px, calc(100% - 80px)); }
  .section { padding: 110px 0; }
  .hero-grid { padding: 80px 0 64px; }
}
@media (prefers-reduced-motion: reduce) { .button:hover { transform: none; } }


/* ─── Hero animation: capture → certify → archive ───────────────────────────
   A camera photographs the angled monitor, the photo lifts out of the screen,
   the scene rotates flat, the photo is hashed + stamped + badged, and a COPY
   files itself into the cabinet (we store the original; the user keeps the
   certificate). The CSS default below is the FINISHED still: certified photo
   front-centre, dim monitor behind, closed cabinet with its teal check.
   site.js only animates on the first visit per session. */
.ip-anim { position: relative; height: 460px; max-width: 540px; margin: 0 auto; perspective: 1100px; }
.ipa-world { position: absolute; inset: 0; transform-style: preserve-3d; }
.ipa-monitor {
  position: absolute; left: 42%; top: 40%;
  transform: translate(-50%, -50%); width: 330px; opacity: .1;
}
.ipa-mframe { background: var(--primary); border-radius: 12px; padding: 10px; }
.ipa-screen {
  position: relative; background: #fff; border-radius: 6px;
  padding: 14px 16px 18px; overflow: hidden;
}
.ipa-bar { display: flex; gap: 5px; margin-bottom: 10px; }
.ipa-bar span { width: 7px; height: 7px; border-radius: 50%; }
.ipa-bar span:nth-child(1) { background: #e24b4a; }
.ipa-bar span:nth-child(2) { background: #efb027; }
.ipa-bar span:nth-child(3) { background: #1d9e75; }
.ipa-line { height: 9px; border-radius: 3px; background: #e4ecf5; margin-bottom: 7px; }
.ipa-line.w72 { width: 72%; }
.ipa-line.w90 { width: 90%; }
.ipa-line.w58 { width: 58%; }
.ipa-line.w80 { width: 80%; margin-bottom: 0; }
.ipa-line.last { margin-bottom: 10px; }
.ipa-screenflash { position: absolute; inset: 0; background: #fff; opacity: 0; }
.ipa-stand { width: 70px; height: 26px; margin: 0 auto; background: #15305a; clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%); }
.ipa-base { width: 130px; height: 7px; margin: 0 auto; background: #15305a; border-radius: 4px; }
.ipa-photo {
  position: absolute; left: 42%; top: 38%; width: 250px;
  transform: translate(-50%, -50%) scale(1.12);
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 12px 14px 14px;
  box-shadow: 0 22px 40px rgba(13,27,51,.18);
}
.ipa-hash {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px; color: #7c8aa0; white-space: nowrap;
}
.ipa-badge {
  position: absolute; right: -14px; bottom: -18px; width: 60px; height: 60px;
  filter: drop-shadow(0 8px 18px rgba(13,27,51,.28));
}
.ipa-badge svg { width: 100%; height: 100%; }
.ipa-camera { position: absolute; right: 2%; top: 20%; opacity: 0; pointer-events: none; }
.ipa-burst {
  position: absolute; left: 14px; top: 23px; width: 36px; height: 36px;
  border-radius: 50%; background: #fff; opacity: 0;
}
.ipa-stamp {
  position: absolute; left: 42%; top: 38%; width: 120px; height: 120px;
  margin: -60px 0 0 -60px; opacity: 0; pointer-events: none;
}
.ipa-cabinet { position: absolute; right: 0; bottom: 2%; width: 124px; }
.ipa-cabbody {
  background: var(--primary); border-radius: 10px 10px 6px 6px;
  padding: 8px 8px 6px; box-shadow: 0 18px 32px rgba(13,27,51,.18);
}
.ipa-slot { height: 0; background: #0c1f3d; border-radius: 3px; margin-bottom: 0; }
.ipa-drawer { position: relative; height: 36px; background: var(--primary-hover); border-radius: 5px; margin-bottom: 6px; }
.ipa-cabbody .ipa-drawer:last-child { margin-bottom: 0; }
.ipa-handle {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 32px; height: 6px; background: var(--primary); border-radius: 3px;
}
.ipa-lock {
  position: absolute; right: -9px; top: -9px; width: 26px; height: 26px;
  border-radius: 50%; background: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.ipa-feet { display: flex; justify-content: space-between; padding: 0 12px; }
.ipa-feet span { width: 10px; height: 8px; background: #15305a; border-radius: 0 0 3px 3px; }
@media (max-width: 920px) {
  .ip-anim { height: 400px; max-width: 440px; }
  .ipa-monitor { width: 270px; }
  .ipa-photo { width: 205px; }
  .ipa-hash { font-size: 9.5px; }
  .ipa-cabinet { width: 102px; }
  .ipa-drawer { height: 30px; }
}

/* ── Cookie consent banner ── */
.consent-bar{position:fixed;left:0;right:0;bottom:0;z-index:9999;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px 20px;padding:14px 20px;background:#1B3A6B;color:#fff;box-shadow:0 -2px 12px rgba(0,0,0,.18);font-size:.92rem}
.consent-bar .consent-text{margin:0;max-width:760px}
.consent-bar a{color:#9fc2e8;text-decoration:underline}
.consent-actions{display:flex;gap:10px;flex-shrink:0}
.consent-bar button{cursor:pointer;border-radius:6px;padding:8px 18px;font-size:.92rem;font-weight:600;border:1px solid rgba(255,255,255,.5);background:transparent;color:#fff}
.consent-bar button.consent-accept{background:#00A896;border-color:#00A896}
.consent-bar button.consent-accept:hover{background:#019a8a}
.consent-bar button.consent-decline:hover{background:rgba(255,255,255,.12)}
@media(max-width:640px){.consent-bar{font-size:.85rem;padding:12px}}
