/* =====================================================================
   IMAGINEERS DIGITAL SYSTEMS — SITE STYLES (2026)
   ---------------------------------------------------------------------
   EDIT HERE FIRST: the "Design tokens" block below controls every colour,
   font and spacing on the site. Change a value once, it updates everywhere.
   ===================================================================== */

/* ---------- Fonts (self-hosted, no third-party requests) ---------- */
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-latin-opsz-normal.woff2") format("woff2");
  font-weight: 200 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-latin-opsz-italic.woff2") format("woff2");
  font-weight: 200 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette */
  --night:      #07102B;   /* hero + footer background (deep brand navy) */
  --night-2:    #0D1A40;   /* raised surfaces on dark */
  --ink:        #0A1633;   /* main text on light */
  --ink-2:      #44506B;   /* secondary text */
  --ink-3:      #6B768F;   /* tertiary text, captions */
  --paper:      #FFFFFF;
  --mist:       #F4F6FA;   /* alternate light section */
  --line:       #E2E7EF;   /* hairlines on light */
  --line-dark:  rgba(255,255,255,.12);

  --gold:       #C9A23A;   /* logo gold — accents, buttons on dark */
  --gold-soft:  #E7D195;
  --gold-ink:   #876611;   /* gold text on white (AA contrast) */
  --emerald:    #0E7A5C;
  --jade:       #1FB98A;
  --sapphire:   #1F4FD1;
  --azure:      #4DA3FF;

  /* Type */
  --serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans:  "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Layout */
  --max: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --section: clamp(84px, 11vw, 148px);
  --header-h: 84px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  font-feature-settings: "ss01", "kern"; -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold-soft); color: var(--night); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: var(--night); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- Type scale ---------- */
.display {
  font-family: var(--serif); font-weight: 450; font-optical-sizing: auto;
  font-size: clamp(2.5rem, 5.4vw, 4.65rem); line-height: 1.04; letter-spacing: -0.022em;
}
.h2 {
  font-family: var(--serif); font-weight: 450;
  font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.08; letter-spacing: -0.018em;
}
.h3 { font-family: var(--sans); font-weight: 600; font-size: 1.16rem; line-height: 1.35; letter-spacing: -0.005em; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.24rem); line-height: 1.62; color: var(--ink-2); max-width: 62ch; }
.kicker { display: inline-block; font-weight: 600; font-size: .95rem; color: var(--gold-ink); margin-bottom: 18px; letter-spacing: .005em; }
.on-dark .kicker { color: var(--gold-soft); }
.muted { color: var(--ink-2); }

/* ---------- Buttons & links (Stripe-style pill with moving chevron) ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px 11px 20px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 600 .98rem/1 var(--sans); letter-spacing: .005em;
  border: 1px solid transparent; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s;
  white-space: nowrap; cursor: pointer;
}
.btn:hover { --bg: var(--night-2); }
.btn-gold { --bg: var(--gold); --fg: var(--night); }
.btn-gold:hover { --bg: var(--gold-soft); }
.btn-ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line); }
.btn-ghost:hover { --bg: var(--mist); }
.on-dark .btn-ghost { --fg: #fff; border-color: rgba(255,255,255,.28); }
.on-dark .btn-ghost:hover { --bg: rgba(255,255,255,.08); }
.chev { width: 10px; height: 10px; overflow: visible; }
.chev .stem { stroke-dasharray: 10; stroke-dashoffset: 10; transition: stroke-dashoffset .18s var(--ease); }
.chev .head { transition: transform .18s var(--ease); }
.btn:hover .chev .stem, .link:hover .chev .stem { stroke-dashoffset: 0; }
.btn:hover .chev .head, .link:hover .chev .head { transform: translateX(3px); }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--sapphire); }
.on-dark .link { color: var(--gold-soft); }

/* ---------- Header ---------- */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  color: #fff; transition: background .25s var(--ease), color .25s, box-shadow .25s;
}
.site-header.is-stuck {
  position: fixed; background: rgba(255,255,255,.86); color: var(--ink);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 54px; width: auto; }
.brand-name { font-family: var(--serif); font-size: 1.12rem; letter-spacing: .14em; font-weight: 500; }
.brand-name small { display: block; font-family: var(--sans); font-size: .62rem; letter-spacing: .26em; opacity: .7; margin-top: 1px; font-weight: 500; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav > a, .nav-item > button {
  font: 500 .98rem/1 var(--sans); color: inherit; background: none; border: 0; cursor: pointer;
  padding: 10px 14px; border-radius: 999px; opacity: .92; display: inline-flex; align-items: center; gap: 6px;
}
.nav > a:hover, .nav-item > button:hover, .nav-item.open > button { opacity: 1; background: rgba(255,255,255,.1); }
.is-stuck .nav > a:hover, .is-stuck .nav-item > button:hover, .is-stuck .nav-item.open > button { background: var(--mist); }
.nav-item { position: relative; }
.nav-item > button svg { width: 9px; transition: transform .2s; }
.nav-item.open > button svg { transform: rotate(180deg); }
.header-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.site-header:not(.is-stuck) .btn-ghost { --fg: #fff; border-color: rgba(255,255,255,.3); }
.site-header:not(.is-stuck) .btn-ghost:hover { --bg: rgba(255,255,255,.1); }
.site-header:not(.is-stuck) .btn-dark-swap { --bg: #fff; --fg: var(--night); }

/* Mega menu */
.mega {
  position: absolute; top: calc(100% + 10px); left: -20px; width: min(720px, 90vw);
  background: #fff; color: var(--ink); border-radius: var(--radius-m);
  box-shadow: 0 30px 60px -12px rgba(7,16,43,.28), 0 18px 36px -18px rgba(7,16,43,.3);
  padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  opacity: 0; transform: translateY(-6px) rotateX(-8deg); transform-origin: top center;
  pointer-events: none; transition: opacity .18s var(--ease), transform .22s var(--ease);
}
.mega.narrow { width: 360px; grid-template-columns: 1fr; }
.nav-item.open .mega { opacity: 1; transform: none; pointer-events: auto; }
.mega a { display: grid; grid-template-columns: 32px 1fr; gap: 2px 12px; padding: 12px; border-radius: 10px; }
.mega a:hover { background: var(--mist); }
.mega .ico { grid-row: span 2; width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: var(--mist); color: var(--emerald); }
.mega .ico svg { width: 18px; height: 18px; }
.mega strong { font-weight: 600; font-size: .96rem; }
.mega span { font-size: .86rem; color: var(--ink-3); line-height: 1.4; }

/* Mobile nav */
.menu-btn { display: none; margin-left: auto; background: none; border: 0; color: inherit; padding: 8px; cursor: pointer; }
.menu-btn svg { width: 26px; height: 26px; }
.drawer {
  position: fixed; inset: 0; z-index: 80; background: var(--night); color: #fff;
  padding: 22px var(--gutter) 40px; overflow-y: auto;
  transform: translateY(-100%); transition: transform .35s var(--ease);
}
.drawer.open { transform: none; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.drawer h4 { font: 600 .8rem/1 var(--sans); color: var(--gold-soft); margin: 26px 0 10px; letter-spacing: .02em; }
.drawer a { display: block; padding: 9px 0; font-size: 1.15rem; border-bottom: 1px solid var(--line-dark); }

@media (max-width: 980px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: block; }
}

/* ---------- HERO (dark) with animated ribbon ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--night); color: #fff;
  padding: calc(var(--header-h) + clamp(56px, 9vw, 120px)) 0 0;
  isolation: isolate;
}
.hero::after { /* fine grain for depth */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background: radial-gradient(1200px 600px at 10% 110%, rgba(31,79,209,.18), transparent 60%),
              radial-gradient(800px 500px at -10% 0%, rgba(14,122,92,.14), transparent 60%);
}
.ribbon-wrap {   /* area the ribbon floats in (right side of the hero) */
  position: absolute; z-index: -1; top: 0; right: -9%; width: 58%; height: min(100%, 940px);
  pointer-events: none;
}
.ribbon-wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ribbon-wrap .ribbon-glow { filter: blur(38px) saturate(130%); opacity: .9; transform: scale(1.04); }
.ribbon-fallback {
  position: absolute; inset: 10% 0 20% 20%; border-radius: 50%;
  background: linear-gradient(120deg, #0B2F86, #1F5FD6, #129F7D, #2FA860, #8FD08A, #C9A23A);
  filter: blur(60px); opacity: .6;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 640px) 1fr; gap: 40px; position: relative; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero-body { margin-top: 30px; max-width: 58ch; }
.hero-body p { color: rgba(255,255,255,.78); font-size: 1.06rem; line-height: 1.7; }
.hero-body p.punch { color: #fff; font-family: var(--serif); font-size: 1.32rem; line-height: 1.4; margin: 6px 0 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-foot {
  margin-top: clamp(64px, 9vw, 110px); border-top: 1px solid var(--line-dark);
  padding: 26px 0 30px; display: flex; flex-wrap: wrap; gap: 14px 46px; align-items: baseline;
}
.hero-foot .label { color: rgba(255,255,255,.55); font-size: .92rem; }
.hero-foot ul { display: flex; flex-wrap: wrap; gap: 10px 40px; list-style: none; margin: 0; padding: 0; }
.hero-foot li { font-family: var(--serif); font-size: 1.28rem; color: rgba(255,255,255,.88); letter-spacing: -0.005em; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .ribbon-wrap { width: 120%; right: -30%; height: 60%; opacity: .55; }
}

/* Page hero (sub pages) */
.page-hero { padding-bottom: clamp(64px, 8vw, 104px); }
.page-hero .ribbon-wrap { width: 58%; }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { color: rgba(255,255,255,.78); margin-top: 24px; }
.crumbs { font-size: .9rem; color: rgba(255,255,255,.6); margin-bottom: 22px; }
.crumbs a:hover { color: #fff; }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section.alt { background: var(--mist); }
.section.dark { background: var(--night); color: #fff; }
.section-head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 70px); }
.section-head .lead { margin-top: 20px; }
.on-dark .lead, .section.dark .lead { color: rgba(255,255,255,.72); }

/* ---------- Bento (services) ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tile {
  position: relative; grid-column: span 2; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-l); padding: 30px 30px 28px; display: flex; flex-direction: column;
  overflow: hidden; transition: border-color .25s, box-shadow .25s var(--ease);
}
.tile:hover { border-color: #cfd7e4; box-shadow: 0 24px 50px -30px rgba(7,16,43,.35); }
.tile.wide { grid-column: span 3; }
.tile.feature { grid-column: span 3; min-height: 440px; }
.tile .art { margin: -6px -10px 22px; height: 210px; display: grid; place-items: center; }
.tile .art svg { width: 100%; height: 100%; }
.tile p { color: var(--ink-2); margin: 10px 0 22px; font-size: .99rem; }
.tile .link { margin-top: auto; }
.tile .stretch::after { content: ""; position: absolute; inset: 0; }
@media (max-width: 980px) { .tile, .tile.wide, .tile.feature { grid-column: span 3; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .tile, .tile.wide, .tile.feature { grid-column: auto; min-height: 0; } }

/* ---------- Figures band (sourced) ---------- */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.figure { padding: 34px 28px 0 0; border-right: 1px solid var(--line); margin-right: 28px; }
.figure:last-child { border-right: 0; margin-right: 0; }
.figure b {
  display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1; letter-spacing: -0.02em; color: var(--ink);
}
.figure b sup { font-family: var(--sans); font-size: .8rem; color: var(--gold-ink); margin-left: 4px; vertical-align: top; font-weight: 600; }
.figure span { display: block; margin-top: 14px; color: var(--ink-2); font-size: .96rem; max-width: 26ch; }
.sources { margin-top: 44px; font-size: .82rem; color: var(--ink-3); line-height: 1.55; }
.sources ol { margin: 8px 0 0; padding-left: 18px; columns: 2; column-gap: 40px; }
.sources a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 900px) {
  .figures { grid-template-columns: 1fr 1fr; }
  .figure { border-right: 0; margin-right: 0; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
  .sources ol { columns: 1; }
}

/* ---------- Split layout & tabs (platform) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.split.top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.tabs { border-top: 1px solid var(--line); }
.tab { border-bottom: 1px solid var(--line); }
.tab > button {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer; color: var(--ink);
  padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font: 500 1.35rem/1.25 var(--serif); letter-spacing: -0.01em;
}
.tab > button .sign { width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .25s, background .25s; }
.tab.open > button .sign { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.tab-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.tab.open .tab-body { grid-template-rows: 1fr; }
.tab-body > div { overflow: hidden; }
.tab-body p { color: var(--ink-2); padding-bottom: 24px; margin: 0; max-width: 56ch; }

/* ---------- Photo slots (easy to replace and reposition) ----------
   Usage:  <figure class="photo" style="--x:50%; --y:50%; --zoom:1">
             <img src="images/photos/your-file.jpg" alt="...">
           </figure>
   --x / --y  = focal point (0% left/top … 100% right/bottom)
   --zoom     = 1 is normal, 1.2 zooms in 20%
   Open any page with ?edit at the end of the URL to drag photos into place. */
.photo {
  --x: 50%; --y: 50%; --zoom: 1; --ratio: 4 / 5;
  position: relative; margin: 0; border-radius: var(--radius-l); overflow: hidden;
  aspect-ratio: var(--ratio); background: var(--night);
}
.photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--x) var(--y);
  transform: scale(var(--zoom)); transform-origin: var(--x) var(--y);
}
.photo.is-empty::before { /* elegant placeholder until a photo is added */
  content: ""; position: absolute; inset: -20%;
  background:
    radial-gradient(45% 55% at 70% 30%, rgba(47,168,96,.55), transparent 70%),
    radial-gradient(50% 60% at 25% 75%, rgba(31,95,214,.6), transparent 70%),
    radial-gradient(35% 40% at 80% 85%, rgba(201,162,58,.55), transparent 70%),
    var(--night);
  filter: blur(14px);
}
.photo.is-empty::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 18px 18px; mask-image: linear-gradient(180deg, transparent, #000 60%);
}
.photo figcaption { position: absolute; left: 18px; bottom: 16px; right: 18px; z-index: 2; color: #fff; font-size: .88rem; opacity: .85; }
.photo.wide { --ratio: 16 / 9; }
.photo.square { --ratio: 1 / 1; }

/* Edit mode (?edit) */
.edit-mode .photo { outline: 2px dashed var(--gold); outline-offset: 4px; cursor: grab; }
.edit-mode .photo:active { cursor: grabbing; }
.edit-tag { position: absolute; z-index: 5; top: 10px; left: 10px; background: var(--gold); color: var(--night); font: 600 .74rem/1.3 var(--sans); padding: 5px 8px; border-radius: 6px; max-width: calc(100% - 20px); word-break: break-all; }
.edit-panel {
  position: fixed; z-index: 90; right: 16px; bottom: 16px; width: min(420px, calc(100vw - 32px));
  background: var(--night); color: #fff; border-radius: 14px; padding: 16px 18px; font-size: .86rem;
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
}
.edit-panel code { display: block; margin: 8px 0 10px; padding: 10px; background: rgba(255,255,255,.08); border-radius: 8px; color: var(--gold-soft); font-size: .82rem; word-break: break-all; }
.edit-panel button { background: var(--gold); color: var(--night); border: 0; border-radius: 999px; padding: 7px 14px; font-weight: 600; cursor: pointer; }

/* ---------- Standards (dark) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.chip { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-dark); color: rgba(255,255,255,.88); font-size: .92rem; background: rgba(255,255,255,.03); }
.code-card {
  background: linear-gradient(180deg, #0F1E48, #0A1638); border: 1px solid var(--line-dark);
  border-radius: var(--radius-l); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
}
.code-card header { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line-dark); font-size: .86rem; color: rgba(255,255,255,.6); }
.code-card header .dots { display: flex; gap: 6px; }
.code-card header .dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.18); }
.code-card pre { margin: 0; padding: 22px 22px 26px; overflow-x: auto; font: 400 .9rem/1.75 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: #cdd6f0; }
.code-card .k { color: #8FB8FF; } .code-card .s { color: var(--gold-soft); } .code-card .b { color: #5FE0B4; } .code-card .c { color: rgba(255,255,255,.38); }
.code-card .hid { background: rgba(255,255,255,.08); color: transparent; border-radius: 3px; text-shadow: 0 0 7px rgba(255,255,255,.55); }

/* ---------- Sequence (approach) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; border-top: 1px solid var(--line); }
.step { padding: 30px 26px 0 0; position: relative; }
.step::before {
  counter-increment: s; content: counter(s, decimal-leading-zero);
  display: block; font-family: var(--serif); font-size: 1rem; color: var(--gold-ink); margin-bottom: 20px;
}
.step::after { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.step p { color: var(--ink-2); font-size: .97rem; margin-top: 10px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 30px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Partners ---------- */
.partners { display: flex; flex-wrap: wrap; gap: 18px; }
.partner-logo {
  flex: 1 1 240px; height: 120px; border: 1px solid var(--line); border-radius: var(--radius-m);
  display: grid; place-items: center; background: #fff; transition: border-color .2s;
}
.partner-logo:hover { border-color: #c9d2e0; }
.partner-logo img { max-height: 58px; max-width: 70%; width: auto; filter: grayscale(1) contrast(1.1); opacity: .75; transition: filter .25s, opacity .25s; }
.partner-logo:hover img { filter: none; opacity: 1; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; }
.cta-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; align-items: start; }
.cta-card h3 { margin-bottom: 8px; }
.cta-card p { color: var(--ink-2); font-size: .97rem; }
.cta-card + .cta-card { border-left: 1px solid var(--line); padding-left: 40px; }
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; } .cta-card + .cta-card { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 28px; } }

/* ---------- Article content (service pages) ---------- */
.prose { max-width: 720px; }
.prose h2 { font-family: var(--serif); font-weight: 450; font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1.15; letter-spacing: -0.015em; margin: 72px 0 20px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-2); font-size: 1.05rem; line-height: 1.75; }
.prose strong { color: var(--ink); font-weight: 600; }
.defs { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.defs li { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 220px 1fr; gap: 24px; }
.defs li b { font-weight: 600; color: var(--ink); }
.defs li span { color: var(--ink-2); }
@media (max-width: 700px) { .defs li { grid-template-columns: 1fr; gap: 6px; } }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 7px; border-left: 2px solid var(--emerald); border-bottom: 2px solid var(--emerald); transform: rotate(-45deg); }
.table { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: .98rem; }
.table th { text-align: left; font: 600 .86rem/1.3 var(--sans); color: var(--ink-3); padding: 0 16px 12px 0; border-bottom: 1px solid var(--ink); }
.table td { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.table td:first-child { color: var(--ink); font-weight: 600; width: 34%; }
.table-scroll { overflow-x: auto; }
.callout {
  margin: 48px 0 0; padding: 30px 32px; border-radius: var(--radius-m);
  background: var(--night); color: rgba(255,255,255,.82); position: relative; overflow: hidden;
}
.callout::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--jade), var(--azure), var(--gold)); }
.callout b { color: var(--gold-soft); font-weight: 600; }
.callout p { margin: 0; color: inherit; font-size: 1.06rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 720px) 1fr; gap: 80px; }
.article-aside { position: sticky; top: 110px; align-self: start; }
.article-aside .photo { --ratio: 3 / 4; }
.aside-nav { margin-top: 26px; font-size: .92rem; }
.aside-nav b { display: block; font-weight: 600; margin-bottom: 8px; }
.aside-nav a { display: block; padding: 6px 0; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.aside-nav a:hover { color: var(--ink); }
@media (max-width: 1000px) { .article-layout { grid-template-columns: 1fr; } .article-aside { position: static; } }

/* Cards (who it serves etc.) */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.card { border: 1px solid var(--line); border-radius: var(--radius-m); padding: 26px; background: #fff; }
.card p { color: var(--ink-2); margin: 10px 0 0; font-size: .97rem; }
@media (max-width: 900px) { .cards3 { grid-template-columns: 1fr; } }

/* Contact */
.contact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.contact-list > div { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); }
.contact-list h3 { margin-bottom: 8px; }
.contact-list p { color: var(--ink-2); margin: 0; }
.contact-list a { color: var(--sapphire); font-weight: 600; }
@media (max-width: 700px) { .contact-list { grid-template-columns: 1fr; } }

/* ---------- Footer (dark) ---------- */
.site-footer { background: var(--night); color: rgba(255,255,255,.7); padding: 90px 0 40px; font-size: .95rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 60px; border-bottom: 1px solid var(--line-dark); }
.footer-brand img { height: 92px; width: auto; margin-bottom: 22px; }
.footer-brand p { max-width: 36ch; }
.site-footer h4 { color: #fff; font: 600 .95rem/1 var(--sans); margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; font-size: .86rem; color: rgba(255,255,255,.5); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- One orchestrated entrance (hero only) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero .reveal { opacity: 0; transform: translateY(14px); animation: rise .9s var(--ease) forwards; }
  .hero .reveal:nth-child(2) { animation-delay: .08s; }
  .hero .reveal:nth-child(3) { animation-delay: .16s; }
  .hero .reveal:nth-child(4) { animation-delay: .24s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- Bento spans (added) ---------- */
.tile.span4 { grid-column: span 4; }
.tile.span6 { grid-column: span 6; flex-direction: row; gap: 48px; align-items: center; }
.tile.span6 .tile-text { flex: 1 1 340px; }
.tile.span6 .formats { flex: 1 1 420px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; border-top: 1px solid var(--line); }
.tile.span6 .formats div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.tile.span6 .formats b { display: block; font-weight: 600; font-size: .98rem; }
.tile.span6 .formats span { color: var(--ink-3); font-size: .9rem; }
.tile .ico-chip { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: #EAF5F0; color: var(--emerald); margin-bottom: 22px; }
.tile .ico-chip svg { width: 22px; height: 22px; }
.tile.tall .art { height: 250px; }
@media (max-width: 980px) { .tile.span4 { grid-column: span 6; } .tile.span6 { flex-direction: column; align-items: stretch; gap: 28px; } }
@media (max-width: 640px) { .tile.span4, .tile.span6 { grid-column: auto; } .tile.span6 .formats { grid-template-columns: 1fr; } }
.section.cta { padding-bottom: clamp(70px, 8vw, 110px); }
@media (max-width: 640px) { .bento > .tile { grid-column: 1 / -1 !important; } }
@media (max-width: 900px) { .hero:not(.page-hero) .ribbon-wrap { height: 46%; opacity: .5; } }

/* ---------- Pictures with transparent backgrounds ---------- */
.tile.tall .art.art-portrait { height: 360px; margin: -4px -10px 20px; display: flex; align-items: flex-end; justify-content: center; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent); mask-image: linear-gradient(180deg, #000 82%, transparent); }
.tile .art-portrait img { height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: center bottom; }
.cutout { margin: 0; }
.cutout img { width: 100%; height: auto; display: block; }
.split.split-media { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.figures.two { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
@media (max-width: 900px) { .split.split-media { grid-template-columns: 1fr; } .figures.two { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .tile.tall .art.art-portrait { height: 270px; } }

/* ---------- Problem / Value ---------- */
.pv-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pv-card { border-radius: var(--radius-l); padding: 28px 26px 30px; border: 1px solid var(--line); background: #fff; }
.pv-card h3 { margin: 22px 0 10px; }
.pv-card p { margin: 0; color: var(--ink-2); font-size: .97rem; line-height: 1.6; }
.problem .pv-card { background: rgba(255,255,255,.035); border-color: var(--line-dark); }
.problem .pv-card h3 { color: #fff; }
.problem .pv-card p { color: rgba(255,255,255,.7); }
.pv-ico { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; }
.pv-ico svg { width: 26px; height: 26px; }
.pv-ico.risk { background: rgba(229,104,75,.12); color: #F08A6E; box-shadow: inset 0 0 0 1px rgba(240,138,110,.28); }
.pv-ico.good { background: #EAF5F0; color: var(--emerald); box-shadow: inset 0 0 0 1px rgba(14,122,92,.18); }
.pv-ico.gold { background: rgba(201,162,58,.16); color: var(--gold-soft); box-shadow: inset 0 0 0 1px rgba(201,162,58,.35); flex-shrink: 0; }
.pv-foot { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 40px; }
.pv-foot p { margin: 0; font-family: var(--serif); font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.35; color: var(--gold-soft); max-width: 40ch; }
.onprem { margin-top: 18px; display: flex; align-items: center; gap: 24px; padding: 28px 30px; border-radius: var(--radius-l); background: var(--night); color: #fff; flex-wrap: wrap; }
.onprem > div { flex: 1 1 360px; }
.onprem h3 { color: #fff; font-family: var(--serif); font-weight: 450; font-size: clamp(1.35rem, 2vw, 1.7rem); letter-spacing: -0.01em; }
.onprem p { margin: 6px 0 0; color: rgba(255,255,255,.72); }
.onprem .btn { --bg: var(--gold); --fg: var(--night); }
.onprem .btn:hover { --bg: var(--gold-soft); }
@media (max-width: 1050px) { .pv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pv-grid { grid-template-columns: 1fr; } }
.drawer:not(.open) { visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s; }
.pv-ico svg { width: 28px; height: 28px; }

/* Accordion plus sign: drawn with two bars so it is always perfectly centred */
.tab > button .sign { position: relative; width: 26px; height: 26px; display: block; }
.tab > button .sign::before, .tab > button .sign::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.6px; border-radius: 1px;
  background: currentColor; transform: translate(-50%, -50%);
}
.tab > button .sign::after { transform: translate(-50%, -50%) rotate(90deg); }

/* ---------- Credential bindings, flow and phone screenshot ---------- */
.bind-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.bind-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bind-card { border: 1px solid var(--line); border-radius: var(--radius-l); padding: 24px 22px 26px; background: #fff; }
.bind-card h3 { margin: 18px 0 6px; }
.prose .bind-card p { font-size: .95rem; line-height: 1.6; margin: 0; }
.prose .bind-card p.bind-what { color: var(--ink); font-weight: 500; margin-bottom: 8px; }
@media (max-width: 760px) { .bind-grid, .bind-grid.two { grid-template-columns: 1fr; } }
.flow { list-style: none; counter-reset: f; margin: 28px 0 0; padding: 0; border-left: 1px solid var(--line); }
.flow li { counter-increment: f; position: relative; padding: 0 0 26px 34px; display: grid; gap: 6px; }
.flow li::before { content: counter(f); position: absolute; left: -15px; top: -2px; width: 30px; height: 30px; border-radius: 50%; background: var(--night); color: var(--gold-soft); font: 500 .92rem/30px var(--serif); text-align: center; }
.flow li b { font-weight: 600; color: var(--ink); }
.flow li span { color: var(--ink-2); line-height: 1.7; }
.table.learn td:first-child { font-weight: 500; width: 55%; }
.phone-shot { margin: 0; }
.phone-screen {
  height: min(640px, 72vh); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
  border-radius: 38px; border: 10px solid var(--night); background: #F2F4F8;
  box-shadow: 0 40px 70px -30px rgba(7,16,43,.45), 0 0 0 1px rgba(7,16,43,.08);
  -webkit-mask-image: -webkit-radial-gradient(white, black); /* keeps rounded corners while scrolling */
}
.phone-screen img { width: 100%; height: auto; display: block; }
.phone-screen:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.phone-shot figcaption { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: .86rem; color: var(--ink-3); }
.scroll-hint svg { width: 18px; height: 18px; }
.scroll-hint path { animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(4px); opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .scroll-hint path { animation: none; } }

/* ---------- Platform pages: grids, chain, seals, regulation ---------- */
.prose .pv-grid { margin-top: 26px; }
.pv-grid.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pv-grid.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pv-grid.three-col { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pv-grid.compact .pv-card { padding: 22px 22px 24px; display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; align-items: start; }
.pv-grid.compact .pv-card .pv-ico { grid-row: span 2; width: 44px; height: 44px; }
.pv-grid.compact .pv-card h3 { margin: 2px 0 4px; font-size: 1.02rem; }
.prose .pv-card p { font-size: .95rem; line-height: 1.55; color: var(--ink-2); margin: 0; }
.pv-grid.three-col .pv-card { padding: 22px 20px 24px; }
.pv-grid.three-col .pv-card h3 { font-size: 1.02rem; margin-top: 16px; }
.pv-ico.risk.light, .prose .pv-ico.risk { background: #FDEEEA; color: #C4502F; box-shadow: inset 0 0 0 1px rgba(196,80,47,.2); }
@media (max-width: 760px) { .pv-grid.compact, .pv-grid.two-col, .pv-grid.three-col { grid-template-columns: 1fr; } }

.chain { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 22px 0 6px; }
.chain-node { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 92px; }
.chain-node b { font-size: .92rem; font-weight: 600; color: var(--ink); }
.chain-link { color: var(--gold); width: 34px; display: grid; place-items: center; margin-bottom: 26px; }
.chain-link svg { width: 24px; height: 24px; }
.on-dark .chain-node b, .mfa-panel .chain-node b { color: #fff; }

.mfa-panel { background: var(--night); color: #fff; border-radius: var(--radius-l); padding: clamp(28px, 4vw, 48px); display: grid; gap: 22px; }
.mfa-title { font-family: var(--serif); font-weight: 450; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.2; color: #fff; max-width: 26ch; }
.mfa-panel .kicker { color: var(--gold-soft); margin-bottom: 10px; }
.mfa-panel .chain { gap: 10px; }
.mfa-panel .pv-ico.good { background: rgba(31,168,96,.14); color: #6FD3A0; box-shadow: inset 0 0 0 1px rgba(111,211,160,.3); }
.mfa-note { color: rgba(255,255,255,.75); max-width: 70ch; margin: 0; }

.table.compare td { width: auto; font-weight: 400; }
.table.compare td:first-child { font-weight: 600; width: 22%; }
.table.compare td.win { color: var(--emerald); font-weight: 600; }
.table.compare th:last-child { color: var(--emerald); }

.reg { margin-top: 72px; padding: clamp(26px, 4vw, 40px); border-radius: var(--radius-l); background: var(--mist); border: 1px solid var(--line); }
.prose .reg h2 { margin: 0 0 16px; }
.prose .reg-lead { color: var(--ink); font-size: 1.08rem; }
.prose .reg-punch { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.3; color: var(--gold-ink); margin: 18px 0 0; }
.reg .sources { margin-top: 22px; }

.certs { display: grid; gap: 22px; margin-top: 26px; }
.cert-label { font-weight: 600; font-size: .92rem; color: var(--ink-3); margin: 0 0 12px; }
.seals { display: flex; flex-wrap: wrap; gap: 18px; }
.seal { position: relative; width: 132px; height: 132px; display: grid; place-content: center; text-align: center; color: var(--gold-ink); }
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.seal-top { font: 700 .72rem/1 var(--sans); letter-spacing: .14em; }
.seal-main { font: 500 1.12rem/1.15 var(--serif); color: var(--ink); margin: 6px 0 4px; }
.seal-sub { font: 500 .66rem/1.25 var(--sans); color: var(--ink-3); max-width: 86px; margin: 0 auto; }
.cert-logo { height: 96px; width: auto; }
.std-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.std-list li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: .9rem; color: var(--ink-2); background: #fff; }
.bind-card p { color: var(--ink-2); font-size: .97rem; line-height: 1.6; margin: 0; }
@media (min-width: 980px) {
  .mfa-panel { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); column-gap: 56px; align-items: center; }
  .mfa-panel .mfa-head { grid-row: span 2; }
  .mfa-panel .chain { margin: 0; }
}

/* =====================================================================
   ICON SYSTEM (site-wide) — one native style for every icon:
   a deep-navy tile with a luminous blue→green→gold line icon,
   echoing the hero ribbon. On dark sections the tile turns to glass.
   ===================================================================== */
.pv-ico, .ico-chip, .mega .ico {
  --tile: 52px;
  width: var(--tile); height: var(--tile); flex-shrink: 0;
  display: grid; place-items: center; border-radius: 15px;
  background: radial-gradient(120% 120% at 20% 0%, #13245A 0%, var(--night) 70%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 10px 24px -14px rgba(7,16,43,.6);
  color: #fff;
}
.pv-ico svg, .ico-chip svg, .mega .ico svg { width: 26px; height: 26px; stroke: url(#ico-grad); stroke-width: 1.5; }
.pv-ico svg [fill="currentColor"], .ico-chip svg [fill="currentColor"], .mega .ico svg [fill="currentColor"] { fill: #E9C766; stroke: none; }
/* all tones share the same identity; no off-theme reds or pastel tints */
.pv-ico.good, .pv-ico.risk, .pv-ico.gold, .prose .pv-ico.risk, .pv-ico.risk.light {
  background: radial-gradient(120% 120% at 20% 0%, #13245A 0%, var(--night) 70%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 10px 24px -14px rgba(7,16,43,.6);
}
/* on dark sections: glass tile */
.on-dark .pv-ico, .section.dark .pv-ico, .mfa-panel .pv-ico, .onprem .pv-ico, .band-dark .pv-ico {
  background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.02));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
}
.mega .ico { --tile: 34px; border-radius: 10px; }
.mega .ico svg { width: 19px; height: 19px; }
.pv-grid.compact .pv-card .pv-ico { --tile: 46px; width: var(--tile); height: var(--tile); }
.pv-ico.lg { --tile: 64px; border-radius: 18px; }
.pv-ico.lg svg { width: 32px; height: 32px; }
.pv-ico.sm { --tile: 40px; border-radius: 12px; }
.pv-ico.sm svg { width: 21px; height: 21px; }
.chain-link svg { stroke: var(--gold); }
.pv-ico svg [stroke], .ico-chip svg [stroke], .mega .ico svg [stroke] { stroke: url(#ico-grad); }

/* =====================================================================
   WEB LAYOUT COMPONENTS for platform/service pages (no document look)
   ===================================================================== */
.statement { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.22; letter-spacing: -0.015em; max-width: 30ch; }
.statement-sm { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.35; }
.band-dark { background: var(--night); color: #fff; position: relative; overflow: hidden; }
.band-dark::before { content: ""; position: absolute; inset: auto -10% -40% 40%; height: 120%; background: radial-gradient(closest-side, rgba(31,95,214,.22), transparent 70%); pointer-events: none; }
.band-dark .wrap { position: relative; }
.band-dark .lead, .band-dark p { color: rgba(255,255,255,.75); }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .kicker { color: var(--gold-soft); }
.silo { margin-top: 30px; padding: 26px 28px; border-radius: var(--radius-l); background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.silo p { margin: 0; font-size: 1.08rem; line-height: 1.7; color: rgba(255,255,255,.86); }
.silo p + p { margin-top: 12px; }
.silo strong { color: var(--gold-soft); font-weight: 600; }
.media-dark { border-radius: var(--radius-l); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.7); }
.media-dark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split.wide-media { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.center-head { text-align: center; margin: 0 auto clamp(44px, 6vw, 64px); max-width: 780px; }
.center-head .lead { margin: 18px auto 0; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 30px 28px 32px; transition: border-color .25s, box-shadow .25s; }
.feature:hover { border-color: #cfd7e4; box-shadow: 0 24px 50px -32px rgba(7,16,43,.35); }
.feature h3 { margin: 22px 0 8px; }
.feature p { margin: 0; color: var(--ink-2); font-size: .98rem; line-height: 1.6; }
.dual { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.panel { border-radius: 26px; padding: clamp(28px, 4vw, 44px); background: #fff; border: 1px solid var(--line); }
.panel.dark { background: var(--night); border-color: transparent; color: #fff; }
.panel .panel-head { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.panel h3.panel-title { font-family: var(--serif); font-weight: 450; font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.01em; line-height: 1.15; margin: 0; }
.panel .panel-sub { color: var(--ink-3); font-size: .95rem; margin: 4px 0 0; }
.panel.dark .panel-sub { color: rgba(255,255,255,.6); }
.caps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.caps li { display: grid; grid-template-columns: 18px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.panel.dark .caps li { border-top-color: var(--line-dark); }
.caps li::before { content: ""; width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: linear-gradient(135deg, #5B9BFF, #3FD39A 55%, #E9C766); }
.caps b { display: block; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.caps span { color: var(--ink-2); font-size: .96rem; line-height: 1.55; }
.panel.dark .caps b { color: #fff; }
.panel.dark .caps span { color: rgba(255,255,255,.72); }
.sectors { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.sector { border-radius: var(--radius-l); padding: 26px 22px; background: #fff; border: 1px solid var(--line); }
.sector h3 { font-family: var(--serif); font-weight: 450; font-size: 1.3rem; margin: 18px 0 10px; }
.sector p { margin: 0; color: var(--ink-2); font-size: .93rem; line-height: 1.55; }
.quote-band { text-align: left; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: end; }
.quote-band .statement { color: #fff; max-width: 24ch; }
.compare-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.cmp { border-radius: 24px; padding: 30px 26px; background: #fff; border: 1px solid var(--line); }
.cmp.win { background: var(--night); color: #fff; border-color: transparent; box-shadow: 0 40px 70px -40px rgba(7,16,43,.8); position: relative; }
.cmp.win::after { content: ""; position: absolute; inset: 0; border-radius: 24px; padding: 1px; background: linear-gradient(135deg, #5B9BFF, #3FD39A 55%, #E9C766); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.cmp h3 { font-family: var(--serif); font-weight: 450; font-size: 1.35rem; margin: 0 0 4px; }
.cmp .cmp-sub { font-size: .88rem; color: var(--ink-3); margin: 0 0 18px; }
.cmp.win .cmp-sub { color: var(--gold-soft); }
.cmp ul { list-style: none; margin: 0; padding: 0; }
.cmp li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); font-size: .95rem; color: var(--ink-2); }
.cmp.win li { border-top-color: var(--line-dark); color: rgba(255,255,255,.88); }
.cmp li i { width: 18px; height: 18px; border-radius: 50%; margin-top: 2px; display: grid; place-items: center; font-style: normal; font-size: .7rem; font-weight: 700; }
.cmp li i.no { background: #EEF1F6; color: var(--ink-3); }
.cmp li i.no::before { content: "–"; }
.cmp li i.yes { background: linear-gradient(135deg, #5B9BFF, #3FD39A 55%, #E9C766); color: var(--night); }
.cmp li i.yes::before { content: "✓"; }
.check-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 22px; color: var(--ink-2); font-size: .95rem; line-height: 1.5; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, #5B9BFF, #3FD39A 55%, #E9C766); }
.reg-band .statement { color: #fff; }
.reg-band .reg-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.reg-fact { padding: 22px 24px; border-radius: var(--radius-l); background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.reg-fact b { display: block; font-family: var(--serif); font-weight: 450; font-size: 1.2rem; color: var(--gold-soft); margin-bottom: 6px; }
.reg-fact p { margin: 0; font-size: .95rem; line-height: 1.6; }
.reg-fact sup { color: var(--gold-soft); }
.band-dark .sources { color: rgba(255,255,255,.5); }
.band-dark .sources a { color: rgba(255,255,255,.7); }
.cutout-hero img { width: 100%; height: auto; display: block; }
.cert-band { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.mfa-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-bottom: 34px; }
.mfa-duo .feature h3 { font-family: var(--serif); font-weight: 450; font-size: 1.5rem; }
.mfa-duo .feature .tag { display: block; color: var(--gold-ink); font-weight: 600; font-size: .9rem; margin-top: 4px; }
.chain-band { display: flex; justify-content: center; }
@media (max-width: 1100px) { .sectors { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .trio, .dual, .compare-cards, .reg-band .reg-facts, .quote-band, .cert-band, .mfa-duo, .split.wide-media { grid-template-columns: 1fr; }
  .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) { .sectors { grid-template-columns: 1fr; } }
.band-dark .pv-card { background: rgba(255,255,255,.035); border-color: var(--line-dark); }
.band-dark .pv-card h3 { color: #fff; }
.band-dark .pv-card p { color: rgba(255,255,255,.7); }
.band-dark .pv-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1050px) { .band-dark .pv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .band-dark .pv-grid { grid-template-columns: 1fr; } }
.h2, .display, .statement, .mfa-title { text-wrap: balance; }
.chain { flex-wrap: nowrap; gap: 4px; }
.chain-node { min-width: 0; flex: 0 0 auto; }
.chain-link { width: 26px; }
.chain-node b { white-space: nowrap; font-size: .86rem; }
@media (max-width: 520px) { .chain { flex-wrap: wrap; } }
.cutout-hero img { -webkit-mask-image: linear-gradient(180deg, #000 86%, transparent); mask-image: linear-gradient(180deg, #000 86%, transparent); }
.band-dark .pv-foot p { color: var(--gold-soft); }
.band-dark .link { color: var(--gold-soft); }
.on-dark .pv-ico svg, .band-dark .pv-ico svg, .mfa-panel .pv-ico svg, .onprem .pv-ico svg { stroke-width: 1.7; }

/* ---------- AnaVerify components ---------- */
.quad { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.flow3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: none; }
.flow-step { position: relative; padding: 34px 30px 32px; border-radius: var(--radius-l); background: #fff; border: 1px solid var(--line); overflow: hidden; }
.flow-step h3 { margin: 22px 0 8px; }
.flow-step p { margin: 0; color: var(--ink-2); font-size: .98rem; line-height: 1.6; }
.flow-num { position: absolute; top: 18px; right: 24px; font-family: var(--serif); font-size: 3.2rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px #D5DCE8; }
.flow3 .flow-step:not(:last-child)::after { content: ""; position: absolute; top: 58px; right: -14px; width: 28px; height: 1px; background: linear-gradient(90deg, #5B9BFF, #E9C766); }
.usecases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.usecase { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; padding: 22px 22px 24px; border-radius: var(--radius-l); background: #fff; border: 1px solid var(--line); }
.usecase h3 { font-size: 1.02rem; margin: 2px 0 6px; }
.usecase p { margin: 0; color: var(--ink-2); font-size: .92rem; line-height: 1.55; }
.usecase.wide { grid-column: span 2; background: var(--night); border-color: transparent; }
.usecase.wide h3 { color: #fff; font-family: var(--serif); font-weight: 450; font-size: 1.45rem; }
.usecase.wide p { color: rgba(255,255,255,.78); font-size: 1.02rem; }
.usecase.wide .pv-ico { background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.02)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.seals { gap: 22px 26px; }
.seal-main { font-size: 1.05rem; }
@media (max-width: 1050px) { .usecases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .quad, .flow3 { grid-template-columns: 1fr; } .flow3 .flow-step::after { display: none; } }
@media (max-width: 600px) { .usecases { grid-template-columns: 1fr; } .usecase.wide { grid-column: auto; } }
.flow3 .flow-step::after { display: none !important; }
.usecase.wide { align-items: center; grid-template-columns: 56px 1fr; padding: 30px 30px; }
.usecase.wide .pv-ico { --tile: 52px; width: 52px; height: 52px; }

/* =====================================================================
   INDUSTRY PAGES: shift points, flow diagram, proof band, device screen
   ===================================================================== */
.shift-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); border-top: 1px solid var(--line); padding-top: 34px; }
.shift h3 { margin: 22px 0 10px; font-family: var(--serif); font-weight: 450; font-size: 1.35rem; letter-spacing: -0.01em; }
.shift p { margin: 0; color: var(--ink-2); line-height: 1.65; }
.shift a { color: var(--sapphire); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(31,79,209,.3); text-underline-offset: 3px; }

.dg { display: grid; grid-template-columns: 1fr 64px 1fr 64px 1fr 64px 1fr; align-items: stretch; }
.dg-node { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 34px 20px 28px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.dg-node b { display: block; margin-top: 20px; font-family: var(--serif); font-weight: 450; font-size: 1.22rem; line-height: 1.2; color: var(--ink); }
.dg-node > span:last-child { display: block; margin-top: 8px; font-size: .92rem; color: var(--ink-3); line-height: 1.45; }
.dg-step { position: absolute; top: 14px; left: 18px; font: 600 .74rem/1 var(--sans); letter-spacing: .08em; color: var(--gold-ink); }
.dg-node.key { background: var(--night); border-color: transparent; box-shadow: 0 30px 60px -32px rgba(7,16,43,.7); }
.dg-node.key::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-l); padding: 1px; background: linear-gradient(135deg, #5B9BFF, #3FD39A 55%, #E9C766); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.dg-node.key b { color: #fff; }
.dg-node.key > span:last-child { color: rgba(255,255,255,.72); }
.dg-node.key .dg-step { color: var(--gold-soft); }
.dg-node.key .pv-ico { background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.02)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.dg-link { position: relative; align-self: center; height: 2px; margin-top: -18px; }
.dg-link i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); border-radius: 2px; transform-origin: left center; }
.dg-link::after { content: ""; position: absolute; right: -1px; top: 50%; width: 8px; height: 8px; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); transform: translateY(-50%) rotate(45deg); }
@media (prefers-reduced-motion: no-preference) {
  .dg[data-animate] .dg-link i { transform: scaleX(0); transition: transform .7s var(--ease); }
  .dg[data-animate] .dg-link::after { opacity: 0; transition: opacity .3s .5s; }
  .dg[data-animate] .dg-link:nth-child(2) i, .dg[data-animate] .dg-link:nth-child(2)::after { transition-delay: .1s; }
  .dg[data-animate] .dg-link:nth-child(4) i { transition-delay: .45s; } .dg[data-animate] .dg-link:nth-child(4)::after { transition-delay: .9s; }
  .dg[data-animate] .dg-link:nth-child(6) i { transition-delay: .8s; } .dg[data-animate] .dg-link:nth-child(6)::after { transition-delay: 1.25s; }
  .dg.in .dg-link i { transform: scaleX(1); } .dg.in .dg-link::after { opacity: 1; }
}
.dg-note { text-align: center; max-width: 64ch; margin: 34px auto 0; color: var(--ink-2); }
@media (max-width: 980px) {
  .dg { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .dg-link { width: 2px; height: 40px; margin: 0 auto; }
  .dg-link i { background: linear-gradient(180deg, var(--gold), var(--gold-soft)); transform-origin: top center; }
  .dg-link::after { right: auto; left: 50%; top: auto; bottom: -1px; transform: translateX(-50%) rotate(135deg); }
  .dg[data-animate] .dg-link i { transform: scaleY(0); } .dg.in .dg-link i { transform: scaleY(1); }
}

.proof-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.partner-badge { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; padding: 12px 18px 12px 12px; border-radius: 999px; background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); box-shadow: inset 0 0 0 1px rgba(233,199,102,.35); color: var(--gold-soft) !important; font-weight: 600; font-size: .95rem; }
.partner-badge span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(233,199,102,.12); }
.partner-badge svg { width: 19px; height: 19px; stroke: var(--gold-soft); }
.partner-badge svg [stroke] { stroke: var(--gold-soft); }
.proof .seal { color: var(--gold-soft); }
.proof .seal-main { color: #fff; }
.proof .seal-sub { color: rgba(255,255,255,.62); }
.proof .seals { justify-content: flex-end; }
@media (max-width: 900px) { .proof-top { grid-template-columns: 1fr; } .proof .seals { justify-content: flex-start; } .shift-grid { grid-template-columns: 1fr; } }

/* Device screen drawn in code */
.device-stage { display: flex; flex-direction: column; align-items: center; }
.device { width: min(320px, 100%); border-radius: 44px; border: 11px solid var(--night); background: #F4F6FA; padding: 14px 18px 12px; box-shadow: 0 50px 90px -40px rgba(7,16,43,.55), 0 0 0 1px rgba(7,16,43,.06); font-family: var(--sans); }
.dv-status { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: .82rem; color: var(--ink); padding: 2px 6px 14px; }
.dv-bars { display: inline-flex; gap: 2px; align-items: flex-end; }
.dv-bars i { width: 3px; background: var(--ink); border-radius: 1px; }
.dv-bars i:nth-child(1){height:4px}.dv-bars i:nth-child(2){height:6px}.dv-bars i:nth-child(3){height:8px}.dv-bars i:nth-child(4){height:10px}
.dv-head { display: flex; align-items: center; gap: 12px; background: var(--night); color: #fff; border-radius: 18px; padding: 14px 16px; }
.dv-head b { display: block; font-size: 1rem; font-weight: 600; }
.dv-head small { color: rgba(255,255,255,.65); font-size: .8rem; }
.dv-req { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.dv-req svg { width: 20px; height: 20px; stroke: url(#ico-grad); }
.dv-req svg [stroke] { stroke: url(#ico-grad); }
.dv-card { background: #fff; border-radius: 16px; margin-top: 12px; padding: 14px 16px 10px; }
.dv-label { margin: 0 0 6px; font-size: .72rem; font-weight: 600; letter-spacing: .04em; color: var(--ink-3); }
.dv-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink); }
.dv-row.off { color: var(--ink-3); }
.dv-row i { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .62rem; font-weight: 700; }
.dv-row i.ok { background: linear-gradient(135deg, #5B9BFF, #3FD39A 55%, #E9C766); color: var(--night); }
.dv-row i.ok::before { content: "✓"; }
.dv-row i.no { background: #E9EDF3; color: var(--ink-3); }
.dv-row i.no::before { content: "–"; }
.dv-issuer { text-align: center; font-size: .8rem; color: var(--ink-3); margin: 12px 0 0; }
.dv-issuer b { color: var(--ink); font-weight: 600; }
.dv-face { position: relative; width: 92px; height: 92px; margin: 18px auto 0; display: grid; place-items: center; }
.dv-face .ring { position: absolute; inset: 0; border-radius: 50%; padding: 3px; background: conic-gradient(from 200deg, #5B9BFF, #3FD39A, #E9C766, #5B9BFF); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.dv-face-ico { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--night); }
.dv-face-ico svg { width: 30px; height: 30px; stroke: url(#ico-grad); }
.dv-face-ico svg [stroke] { stroke: url(#ico-grad); }
@media (prefers-reduced-motion: no-preference) { .dv-face .ring { animation: spin 6s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } }
.dv-cta { text-align: center; font-weight: 600; font-size: .92rem; color: var(--ink); margin: 12px 0 8px; }
.dv-home { width: 110px; height: 4px; border-radius: 4px; background: var(--ink); margin: 14px auto 2px; opacity: .85; }
.device-cap { margin: 16px 0 0; font-size: .8rem; color: var(--ink-3); }
.band-dark p.statement { color: #fff; }
.partner-badge { max-width: 100%; }
.dg-link { margin-left: 10px; margin-right: 14px; z-index: 2; }
@media (max-width: 980px) { .dg-link { margin: 10px auto 14px; } }
@media (prefers-reduced-motion: no-preference) {
  .dg[data-animate] .dg-link::after { transition: opacity .35s ease; }
  .dg.in .dg-link:nth-of-type(1)::after { transition-delay: .6s; }
  .dg.in .dg-link:nth-of-type(2)::after { transition-delay: .95s; }
  .dg.in .dg-link:nth-of-type(3)::after { transition-delay: 1.3s; }
}

/* ---------- Government / Banks additions ---------- */
.dg-note a, .shift a { color: var(--sapphire); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(31,79,209,.3); text-underline-offset: 3px; }
.dv-title { padding: 2px 4px 10px; }
.dv-title b { display: block; font-family: var(--serif); font-weight: 450; font-size: 1.45rem; color: var(--ink); }
.dv-title small { color: var(--ink-3); font-size: .8rem; }
.dv-cred { border-radius: 16px; padding: 12px 14px 13px; margin-top: 9px; }
.dv-cred.navy { background: var(--night); color: #fff; position: relative; }
.dv-cred.navy::after { content: ""; position: absolute; inset: 0; border-radius: 16px; padding: 1px; background: linear-gradient(135deg, #5B9BFF, #3FD39A 55%, #E9C766); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.dv-cred.light { background: #fff; color: var(--ink); }
.dv-cred-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.dv-cred b { display: block; font-size: .95rem; font-weight: 600; }
.dv-cred small { font-size: .76rem; opacity: .7; }
.dv-req.alt { background: var(--night); width: 32px; height: 32px; border-radius: 9px; }
.dv-cred .dv-req { width: 32px; height: 32px; border-radius: 9px; }
.dv-cred .dv-req svg { width: 17px; height: 17px; }
.dv-badge { font-size: .68rem; font-weight: 700; letter-spacing: .02em; padding: 4px 9px; border-radius: 999px; background: linear-gradient(135deg, #5B9BFF, #3FD39A 55%, #E9C766); color: var(--night); }
.dv-pay .dv-amount { font-family: var(--serif); font-size: 2rem; line-height: 1.1; color: var(--ink); margin: 0 0 8px; }
.dv-row b { font-weight: 600; color: var(--ink); font-size: .88rem; }
.dv-row.first { border-top: 0; }
.device.sm { width: min(290px, 100%); margin: 0 auto; }

.vs { display: grid; grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr); align-items: stretch; }
.vs-today, .vs-one { border-radius: 26px; padding: clamp(26px, 3.5vw, 40px); }
.vs-today { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.vs-one { background: var(--night); color: #fff; position: relative; }
.vs-one::after { content: ""; position: absolute; inset: 0; border-radius: 26px; padding: 1px; background: linear-gradient(135deg, #5B9BFF, #3FD39A 55%, #E9C766); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.vs-label { font: 600 .78rem/1 var(--sans); letter-spacing: .08em; color: var(--gold-ink); margin: 0 0 10px; }
.vs-one .vs-label { color: var(--gold-soft); }
.vs-title { font-family: var(--serif); font-weight: 450; font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.2; margin: 0 0 24px; }
.vs-one .vs-title { color: #fff; }
.vs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.vs-list li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.vs-list b { display: block; font-weight: 600; color: var(--ink); }
.vs-list span { color: var(--ink-3); font-size: .93rem; }
.vs-foot { margin: auto 0 0; padding-top: 22px; border-top: 1px solid var(--line); font-family: var(--serif); font-size: 1.3rem; color: var(--gold-ink); }
.vs-arrow { display: grid; place-items: center; }
.vs-arrow span { width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 1px solid var(--line); position: relative; }
.vs-arrow span::after { content: ""; position: absolute; left: 13px; top: 15px; width: 10px; height: 10px; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); transform: rotate(45deg); }
@media (max-width: 980px) { .vs { grid-template-columns: 1fr; } .vs-arrow { height: 60px; } .vs-arrow span { transform: rotate(90deg); } }

/* ---------- Deployment chip, deployment strip, signature band ---------- */
.deploy-chip { display: inline-flex; align-items: center; gap: 10px; margin: 26px 0 0; padding: 9px 18px 9px 10px; border-radius: 999px; background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); box-shadow: inset 0 0 0 1px rgba(233,199,102,.45); color: rgba(255,255,255,.82) !important; font-size: .95rem; }
.deploy-chip b { color: var(--gold-soft); font-weight: 600; }
.dc-ico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(233,199,102,.12); }
.dc-ico + .dc-ico { margin-left: -16px; box-shadow: 0 0 0 2px var(--night); }
.dc-ico svg { width: 16px; height: 16px; stroke: var(--gold-soft); }
.dc-ico svg [stroke] { stroke: var(--gold-soft); }
.deploy-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 860px; margin: 40px auto 0; }
.deploy-strip > div { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 18px 22px; }
.deploy-strip p { margin: 0; color: var(--ink-2); font-size: .97rem; line-height: 1.5; }
.deploy-strip b { color: var(--ink); font-weight: 600; }
@media (max-width: 760px) { .deploy-strip { grid-template-columns: 1fr; } }
.sig { text-align: center; max-width: 900px; margin: 0 auto clamp(64px, 8vw, 96px); padding-bottom: clamp(56px, 7vw, 84px); border-bottom: 1px solid var(--line-dark); }
.sig-chain { display: inline-flex; align-items: center; gap: 0; margin-bottom: 30px; }
.sig-node { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.sig-node svg { width: 28px; height: 28px; stroke: url(#ico-grad); }
.sig-node svg [stroke] { stroke: url(#ico-grad); }
.sig-node { width: 104px; }
.sig-node > svg { padding: 16px; box-sizing: content-box; border-radius: 18px; background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.02)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.sig-node b { font: 600 .9rem/1 var(--sans); color: #fff; letter-spacing: .01em; }
.sig-link { width: 56px; height: 2px; margin-top: -26px; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); border-radius: 2px; }
.sig-title { font-family: var(--serif); font-weight: 450; font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.15; letter-spacing: -0.015em; color: #fff; text-wrap: balance; margin: 0; }
.band-dark p.sig-line { margin: 20px auto 0; max-width: 62ch; font-size: 1.08rem; line-height: 1.7; color: rgba(255,255,255,.76); }
.sig-src { color: var(--gold-soft) !important; font-size: .85rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(233,199,102,.4); margin-left: 4px; white-space: nowrap; }
@media (max-width: 520px) { .sig-node { width: 84px; } .sig-link { width: 26px; } }
.dv-kicker { margin: 0 0 8px 4px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; color: var(--gold-ink); }
.dv-qr { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 0; font-size: .78rem; color: var(--ink-3); }
.dv-qr span { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: var(--night); }
.dv-qr svg { width: 14px; height: 14px; stroke: url(#ico-grad); }
.dv-qr svg [stroke] { stroke: url(#ico-grad); }
.natural-pic { margin: 0; }
.natural-pic img { display: block; width: 100%; height: auto; border-radius: 16px; }
.dt-intro { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(36px, 5vw, 72px); }
.dt-intro .prose h2 { margin-top: 0; }
@media (max-width: 900px) { .dt-intro { grid-template-columns: 1fr; } }

/* ---------- v4 menus ---------- */
.mega.two { width: min(760px, 92vw); grid-template-columns: 1fr 1fr; gap: 0 14px; }
.mega.two > div { display: grid; gap: 2px; align-content: start; }
.mega-head { grid-column: 1 / -1; margin: 4px 12px 6px; font: 600 .74rem/1 var(--sans); letter-spacing: .08em; color: var(--gold-ink); }
.mega-intro { grid-column: 1 / -1; margin: 2px 12px 10px; font-size: .84rem; color: var(--ink-3); }
.footer-top { grid-template-columns: 1.3fr repeat(4, 1fr); }
@media (max-width: 1000px) { .footer-top { grid-template-columns: 1fr 1fr; } }
.dv-row i.lock { width: 14px; height: 14px; border-radius: 3px; border: 1.5px solid var(--ink-3); position: relative; margin-top: 4px; }
.dv-row i.lock::before { content: ""; position: absolute; left: 1.5px; top: -7px; width: 8px; height: 6px; border: 1.5px solid var(--ink-3); border-bottom: 0; border-radius: 5px 5px 0 0; }
.art-panel { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 30px; }
.art-panel svg { width: 100%; height: auto; display: block; }
.steps.five { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px) { .steps.five { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps.five { grid-template-columns: 1fr; } }
.linkcard { display: block; color: inherit; }
.linkcard:hover h3 { color: var(--sapphire); }
.chips.light .chip { border-color: var(--line); color: var(--ink-2); background: #fff; }
/* Transparent pictures: no rounded frame, soft fade at the bottom edge */
.natural-pic img[src$="digital-transformation.webp"] {
  border-radius: 0; -webkit-mask-image: linear-gradient(180deg, #000 84%, transparent); mask-image: linear-gradient(180deg, #000 84%, transparent);
}

.natural-pic img[src$="about-city.webp"] { border-radius: 0; }
