/* ==========================================================================
   CertiSafe AI — styles
   Brand: navy #0F3D5E · teal #2EC4B6 · slate #5A6B7B
   ========================================================================== */
:root {
  --navy: #0f3d5e;
  --navy-700: #0c3350;
  --navy-800: #0a2a43;
  --navy-900: #061a2b;
  --navy-950: #04121e;
  --teal: #2ec4b6;
  --teal-600: #1fa89b;
  --teal-700: #158a7f;
  --teal-50: #e8f8f6;
  --slate: #5a6b7b;
  --ink: #0b2236;
  --body: #3b4b5a;
  --line: #dce6ec;
  --muted: #f2f7f9;
  --white: #fff;

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(6, 26, 43, 0.06), 0 2px 8px rgba(6, 26, 43, 0.05);
  --shadow: 0 10px 30px -10px rgba(6, 26, 43, 0.25);
  --shadow-lg: 0 30px 60px -20px rgba(6, 26, 43, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-700); text-decoration: none; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: calc(var(--header-h) + 20px); }

.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--teal); color: var(--navy-900); padding: 10px 16px; border-radius: 6px; font-weight: 700; }
.skip-link:focus { left: 8px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal-700); margin-bottom: 1rem;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; }
.eyebrow a { color: inherit; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--slate); max-width: 680px; }
.accent { color: var(--teal); }

/* ----------------------------------------------------------------- buttons */
.btn {
  --bg: var(--navy); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 2px solid transparent;
  background: var(--bg); color: var(--fg); font: 700 0.98rem/1 var(--font); cursor: pointer;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), color 0.25s, background 0.25s, border-color 0.25s;
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.35) 50%, transparent 80%);
  transform: translateX(-120%); transition: transform 0.7s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--fg); }
.btn:hover::before { transform: translateX(120%); }
.btn-arrow { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.btn:hover .btn-arrow, .text-link:hover .btn-arrow { transform: translateX(4px); }
.btn-primary { --bg: var(--teal); --fg: var(--navy-900); }
.btn-primary:hover { --bg: #3fd6c8; box-shadow: 0 12px 30px -8px rgba(46, 196, 182, 0.6); }
.btn-ghost { --bg: transparent; --fg: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn-ghost:hover { border-color: var(--teal); --fg: var(--teal); }
.btn-outline { --bg: transparent; --fg: var(--navy); border-color: var(--navy); }
.btn-outline:hover { --bg: var(--navy); --fg: #fff; }
.btn-sm { padding: 11px 18px; font-size: 0.9rem; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--teal-700); }
.text-link .btn-arrow { width: 16px; height: 16px; }

/* --------------------------------------------------------------- promo bar */
.promo-bar { background: var(--navy-950); color: #cfe3ee; font-size: 0.88rem; border-bottom: 1px solid rgba(46, 196, 182, 0.18); }
.promo-inner { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 42px; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; text-align: center; }
.promo-tag { font: 700 0.7rem var(--mono); letter-spacing: 0.12em; text-transform: uppercase; background: var(--teal); color: var(--navy-900); padding: 3px 8px; border-radius: 4px; }
.promo-link { color: var(--teal); font-weight: 700; white-space: nowrap; }
.promo-link:hover { color: #fff; }
@media (max-width: 700px) { .promo-text { display: none; } }

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: box-shadow 0.3s, border-color 0.3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -12px rgba(6, 26, 43, 0.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); transition: height 0.3s var(--ease); }
.site-header.is-scrolled .header-inner { height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); }
.brand:hover { color: var(--navy); }
.logo-mark { width: 34px; height: auto; color: var(--navy); transition: transform 0.5s var(--ease); }
.brand:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; color: var(--navy); }
.brand-sub { font-size: 0.6rem; letter-spacing: 0.22em; color: var(--slate); margin-top: 5px; text-transform: uppercase; font-weight: 600; }
.brand-light .brand-name { color: #fff; }
.brand-light .brand-sub { color: #8fa6b8; }
.brand-light .logo-mark { color: #fff; }
.brand-light .logo-mark path:first-child { fill: #fff; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav ul a {
  position: relative; display: block; padding: 8px 12px; color: var(--ink); font-weight: 600; font-size: 0.95rem;
}
.main-nav ul a::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--teal);
  transform: scaleX(0); transform-origin: right; transition: transform 0.35s var(--ease);
}
.main-nav ul a:hover::after, .main-nav ul a[aria-current='page']::after { transform: scaleX(1); transform-origin: left; }
.main-nav ul a[aria-current='page'] { color: var(--navy); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1060px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 16px;
    background: #fff; padding: 20px 24px 28px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all 0.3s var(--ease);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .site-header.is-scrolled .main-nav { top: 64px; }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; }
  .main-nav ul a { padding: 12px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .main-nav ul a::after { display: none; }
}

/* -------------------------------------------------------------- hero (home) */
.hero {
  position: relative; overflow: hidden; color: #d9e7f0;
  background: radial-gradient(1200px 600px at 75% 40%, rgba(46, 196, 182, 0.14), transparent 60%),
              linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
  min-height: min(880px, calc(100vh - 42px));
  display: flex; align-items: center;
}
.matrix-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero::after {
  /* keeps the headline readable over the rain */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(4, 18, 30, 0.92) 0%, rgba(4, 18, 30, 0.7) 38%, rgba(4, 18, 30, 0.1) 70%, rgba(4, 18, 30, 0.25) 100%),
              linear-gradient(0deg, rgba(4, 18, 30, 0.9) 0%, transparent 25%);
}
.hero-inner {
  position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center;
  padding-top: 90px; padding-bottom: 110px;
}
.hero h1 { color: #fff; margin-bottom: 0.4em; }
.hero h1 .accent { position: relative; white-space: nowrap; }
.hero .eyebrow { color: var(--teal); }
.hero .lead { color: #b8cad7; font-size: clamp(1.08rem, 1.6vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 40px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; margin: 0; padding: 0; font-size: 0.92rem; color: #9fb4c4; }
.hero-proof li { display: flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 18px; height: 18px; color: var(--teal); flex: none; }

.hero-stamp { position: relative; justify-self: center; width: min(360px, 80%); aspect-ratio: 300 / 320; }
.hero-stamp .stamp-glow {
  position: absolute; inset: -18%; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, rgba(46, 196, 182, 0.55), transparent 35%, transparent 60%, rgba(46, 196, 182, 0.4), transparent);
  filter: blur(30px); animation: spin 9s linear infinite; opacity: 0.7;
}
.hero-stamp .stamp-ring { position: absolute; inset: -10%; border: 1px dashed rgba(46, 196, 182, 0.35); border-radius: 50%; animation: spin 40s linear infinite reverse; }
.hero-stamp img { position: relative; width: 100%; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.55)); animation: float 6s ease-in-out infinite; }
.hero-stamp .stamp-chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px;
  background: rgba(10, 42, 67, 0.85); backdrop-filter: blur(8px); border: 1px solid rgba(46, 196, 182, 0.35);
  color: #e3f2f7; font: 600 0.78rem var(--mono); padding: 9px 12px; border-radius: 10px; white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); animation: float 6s ease-in-out infinite;
}
.stamp-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(46, 196, 182, 0.25); animation: pulse 2s ease-in-out infinite; }
.stamp-chip.c1 { top: 8%; left: -22%; animation-delay: -1.5s; }
.stamp-chip.c2 { bottom: 22%; right: -20%; animation-delay: -3s; }
.stamp-chip.c3 { bottom: -2%; left: -8%; animation-delay: -4.5s; }

.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, 0.35); border-radius: 14px; }
.scroll-cue::after { content: ''; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--teal); animation: scrollcue 1.8s ease-in-out infinite; }

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 90px; }
  .hero::after { background: linear-gradient(180deg, rgba(4, 18, 30, 0.85) 0%, rgba(4, 18, 30, 0.72) 60%, rgba(4, 18, 30, 0.9) 100%); }
  .hero-stamp { width: min(260px, 64%); margin-top: 10px; }
  .stamp-chip.c1 { left: -30%; } .stamp-chip.c2 { right: -30%; } .stamp-chip.c3 { display: none; }
  .scroll-cue { display: none; }
}
@media (max-width: 480px) { .stamp-chip { display: none !important; } .hero h1 .accent { white-space: normal; } }

/* ------------------------------------------------------- frameworks marquee */
.marquee-band { background: var(--navy-950); border-top: 1px solid rgba(46, 196, 182, 0.15); padding: 22px 0; overflow: hidden; color: #8fa6b8; }
.marquee-label { text-align: center; font: 600 0.72rem var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: #6f8799; margin-bottom: 14px; }
.marquee { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-band:hover .marquee { animation-play-state: paused; }
.marquee ul { display: flex; gap: 56px; list-style: none; margin: 0; padding: 0 28px; }
.marquee li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.02rem; color: #c3d4e0; white-space: nowrap; }
.marquee li::before { content: ''; width: 8px; height: 8px; background: var(--teal); transform: rotate(45deg); }
.marquee-mask { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }

/* ---------------------------------------------------------------- sections */
.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.section-muted { background: var(--muted); }
.section-dark { background: linear-gradient(180deg, var(--navy-900), var(--navy-950)); color: #b8cad7; overflow: hidden; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--teal); }
.section-dark .lead { color: #9fb4c4; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head h2 { margin-bottom: 0; }
.section-intro { max-width: 760px; margin-bottom: 56px; }
.section-intro.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-intro.center .lead { margin-left: auto; margin-right: auto; }
.section-intro.center .eyebrow { justify-content: center; }

/* ------------------------------------------------------------------- cards */
.card-grid { display: grid; gap: 22px; }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { .card-grid-5 { grid-template-columns: repeat(3, 1fr); } .card-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .card-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .card-grid-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .card-grid-2, .card-grid-3, .card-grid-4, .card-grid-5 { grid-template-columns: 1fr; } }

.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--teal), var(--navy)); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card p { font-size: 0.97rem; margin-bottom: 0; }
.card h3 { margin-bottom: 0.45em; }
.card-icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--teal-50); color: var(--teal-700); transition: background 0.35s, color 0.35s, transform 0.5s var(--ease);
}
.card-icon svg { width: 26px; height: 26px; }
.card:hover .card-icon { background: var(--navy); color: var(--teal); transform: rotate(-6deg) scale(1.05); }
.risk-code { position: absolute; top: 24px; right: 24px; font: 600 0.72rem var(--mono); color: var(--slate); letter-spacing: 0.08em; background: var(--muted); padding: 4px 8px; border-radius: 6px; }

/* risk cards on dark background */
.risk-grid .card { background: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.08); color: #9fb4c4; }
.risk-grid .card:hover { background: rgba(46, 196, 182, 0.07); border-color: rgba(46, 196, 182, 0.3); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6); }
.risk-grid .card h3 { color: #fff; font-size: 1.05rem; }
.risk-grid .card-icon { background: rgba(46, 196, 182, 0.12); color: var(--teal); }
.risk-grid .card:hover .card-icon { background: var(--teal); color: var(--navy-900); }
.risk-grid .risk-code { background: rgba(255, 255, 255, 0.06); color: #7f97a9; }
.risk-grid .card p { font-size: 0.9rem; }

/* ------------------------------------------------------------------- steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; position: relative; }
.steps::before { content: ''; position: absolute; top: 34px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--teal) 0 8px, transparent 8px 16px); opacity: 0.5; }
.step { position: relative; text-align: center; padding: 0 8px; }
.step-num {
  position: relative; width: 70px; height: 70px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--teal); color: var(--navy); font: 700 1.25rem var(--mono); box-shadow: 0 0 0 8px var(--muted);
  transition: transform 0.5s var(--ease), background 0.3s, color 0.3s;
}
.step:hover .step-num { transform: scale(1.1); background: var(--navy); color: var(--teal); }
.step p { font-size: 0.96rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; } .steps::before { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.cycle-note {
  margin-top: 56px; display: flex; align-items: center; gap: 20px; padding: 22px 26px; border-radius: var(--radius);
  background: #fff; border: 1px dashed var(--teal);
}
.cycle-note svg { width: 44px; height: 44px; flex: none; color: var(--teal); animation: spin 14s linear infinite; }
.cycle-note p { margin: 0; }

/* -------------------------------------------------------------- stamp band */
.stamp-split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.stamp-visual { position: relative; display: grid; place-items: center; padding: 30px; }
.stamp-visual::before { content: ''; position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(46, 196, 182, 0.28), transparent 65%); }
.stamp-visual img { position: relative; width: min(320px, 90%); transition: transform 0.6s var(--ease); filter: drop-shadow(0 24px 40px rgba(6, 26, 43, 0.35)); }
.stamp-visual:hover img { transform: rotate(-4deg) scale(1.04); }
.check-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23061a2b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.code-snippet {
  position: relative; background: var(--navy-950); color: #b8f0ea; font: 0.82rem/1.6 var(--mono); padding: 18px 20px; border-radius: var(--radius-sm);
  overflow-x: auto; border: 1px solid rgba(46, 196, 182, 0.25); margin: 0 0 24px; white-space: pre;
}
.code-snippet .c-tag { color: #7fd8ff; } .code-snippet .c-attr { color: var(--teal); } .code-snippet .c-str { color: #ffd38a; }
@media (max-width: 900px) { .stamp-split { grid-template-columns: 1fr; gap: 24px; } }

/* -------------------------------------------------------------------- tabs */
.tabs { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.tab-list { display: flex; flex-direction: column; gap: 8px; }
.tab {
  text-align: left; padding: 18px 22px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer;
  font: 700 1rem var(--font); color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 10px;
  transition: all 0.3s var(--ease);
}
.tab::after { content: '→'; color: var(--teal-700); opacity: 0; transform: translateX(-6px); transition: all 0.3s var(--ease); }
.tab:hover { border-color: var(--teal); }
.tab[aria-selected='true'] { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: var(--shadow); }
.tab[aria-selected='true']::after { opacity: 1; transform: none; color: var(--teal); }
.tab-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); animation: fadeUp 0.5s var(--ease); }
.tab-panel[hidden] { display: none; }
.tab-panel h3 { font-size: 1.5rem; }
.tab-panel .check-list { margin-top: 20px; }
@media (max-width: 860px) {
  .tabs { grid-template-columns: 1fr; gap: 20px; }
  .tab-list { flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
  .tab { white-space: nowrap; flex: none; }
  .tab::after { display: none; }
}

/* ------------------------------------------------------------- stat band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, 0.08); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--navy-900); padding: 34px 26px; }
.stat-num { font: 800 clamp(2.2rem, 4vw, 3.2rem)/1 var(--font); color: #fff; letter-spacing: -0.03em; }
.stat-num .accent { color: var(--teal); }
.stat p { margin: 10px 0 0; font-size: 0.93rem; color: #9fb4c4; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .stats { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- article cards */
.article-card { height: 100%; }
.article-card-link {
  display: flex; flex-direction: column; height: 100%; padding: 28px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line); color: var(--body); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
}
.article-card-link:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: var(--body); border-color: var(--teal); }
.article-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.article-card h3 { font-size: 1.22rem; transition: color 0.3s; }
.article-card-link:hover h3 { color: var(--teal-700); }
.article-card p { font-size: 0.95rem; flex: 1; }
.tag { font: 600 0.7rem var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-700); background: var(--teal-50); padding: 5px 9px; border-radius: 6px; }
.read-time { font-size: 0.82rem; color: var(--slate); }
.article-card.is-hidden { display: none; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip { border: 1px solid var(--line); background: #fff; color: var(--ink); font: 600 0.9rem var(--font); padding: 9px 16px; border-radius: 999px; cursor: pointer; transition: all 0.25s; }
.chip:hover { border-color: var(--teal); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* --------------------------------------------------------------------- faq */
.faq { padding: 8px 0; }
.faq > h2 { margin-bottom: 28px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color 0.3s, box-shadow 0.3s; }
.faq-item[open] { border-color: var(--teal); box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 1.05rem; }
.faq-icon { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--muted); transition: background 0.3s, transform 0.4s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--navy); transition: transform 0.4s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--teal); transform: rotate(180deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0); }
.faq-a { padding: 0 24px 20px; }
.faq-a p { margin: 0; }

/* ------------------------------------------------------------- CTA band */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--navy) 0%, var(--navy-900) 100%); color: #c3d4e0; border-radius: 22px; padding: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.cta-band canvas { opacity: 0.55; }
.cta-band > *:not(canvas) { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { margin: 0; max-width: 620px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------- page hero */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--navy-900), var(--navy-950)); color: #b8cad7; padding: clamp(56px, 8vw, 96px) 0 clamp(52px, 7vw, 80px); }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 18, 30, 0.95) 0%, rgba(4, 18, 30, 0.65) 55%, rgba(4, 18, 30, 0.3) 100%); pointer-events: none; }
.page-hero-inner { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.3rem); max-width: 920px; }
.page-hero .lead { color: #a9bccb; }
.page-hero .eyebrow { color: var(--teal); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 22px; font-size: 0.85rem; color: #7f97a9; }
.breadcrumbs li + li::before { content: '/'; margin-right: 6px; color: #4d6578; }
.breadcrumbs a { color: #a9bccb; }
.breadcrumbs a:hover { color: var(--teal); }

/* ----------------------------------------------------------- article page */
.article-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 64px; padding-top: 56px; padding-bottom: 80px; }
.article-aside { position: relative; }
.toc, .aside-cta { position: sticky; top: calc(var(--header-h) + 24px); }
.toc { padding: 20px 0; border-top: 2px solid var(--navy); }
.toc-title { font: 700 0.75rem var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.toc a { display: block; padding: 6px 0 6px 14px; border-left: 2px solid var(--line); color: var(--body); font-size: 0.9rem; line-height: 1.4; transition: all 0.25s; }
.toc a:hover, .toc a.is-active { color: var(--navy); border-color: var(--teal); font-weight: 600; }
.aside-cta { position: relative; top: auto; margin-top: 28px; padding: 22px; border-radius: var(--radius); background: var(--muted); text-align: center; }
.aside-cta img { margin: 0 auto 10px; }
.aside-cta p { font-weight: 600; color: var(--ink); font-size: 0.95rem; }
@media (max-width: 980px) { .article-layout { grid-template-columns: 1fr; gap: 0; padding-top: 36px; } .article-aside { display: none; } }

.article-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.88rem; color: var(--slate); margin-bottom: 28px; }
.answer-box, .key-takeaways { border-radius: var(--radius); padding: 22px 26px; margin-bottom: 24px; }
.answer-box { background: var(--navy); color: #d9e7f0; position: relative; overflow: hidden; }
.answer-box::after { content: '01001'; position: absolute; right: 16px; bottom: -6px; font: 700 3rem var(--mono); color: rgba(46, 196, 182, 0.08); pointer-events: none; }
.answer-box p:last-child { margin: 0; font-size: 1.05rem; }
.answer-label { font: 700 0.72rem var(--mono) !important; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal) !important; margin-bottom: 8px !important; }
.key-takeaways { background: var(--teal-50); border: 1px solid #bfece6; }
.key-takeaways .answer-label { color: var(--teal-700) !important; }
.key-takeaways ul { margin: 0; padding-left: 20px; }
.key-takeaways li { margin-bottom: 6px; }

.prose { font-size: 1.06rem; max-width: 760px; }
.prose h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); margin-top: 2.2em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.5em; }
.prose li::marker { color: var(--teal-700); }
.prose strong { color: var(--ink); }
.prose code { font-family: var(--mono); font-size: 0.88em; background: var(--muted); padding: 2px 6px; border-radius: 5px; color: var(--navy); }
.prose pre { background: var(--navy-950); color: #cfe3ee; padding: 18px 20px; border-radius: var(--radius-sm); overflow-x: auto; font-size: 0.86rem; }
.prose pre code { background: none; color: inherit; padding: 0; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--teal); color: var(--ink); font-weight: 500; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: 0.95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--muted); color: var(--ink); font-weight: 700; }
.prose .callout { background: var(--muted); border-left: 4px solid var(--navy); padding: 16px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 1.5em 0; }
.prose .callout p:last-child { margin: 0; }
.prose .faq { margin-top: 3em; }
.prose .faq > h2 { margin-top: 0; }
.article-cta { margin-top: 56px; padding: 32px; border-radius: var(--radius); background: linear-gradient(120deg, var(--navy), var(--navy-900)); color: #b8cad7; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.article-cta h2 { color: #fff; font-size: 1.4rem; margin: 0 0 6px; }
.article-cta p { margin: 0; }

/* ------------------------------------------------------------------- forms */
.form-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
@media (max-width: 920px) { .form-split { grid-template-columns: 1fr; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-weight: 600; font-size: 0.9rem; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem var(--font); color: var(--ink); padding: 13px 14px; border: 1px solid #c9d7e0; border-radius: 10px; background: #fbfdfe;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(46, 196, 182, 0.18); background: #fff; }
.field textarea { min-height: 120px; resize: vertical; }
.field fieldset { border: 0; padding: 0; margin: 0; }
.option-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.option-pills label { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 9px 14px; border: 1px solid #c9d7e0; border-radius: 999px; font-weight: 500; cursor: pointer; transition: all 0.2s; }
.option-pills input { width: auto; accent-color: var(--teal-700); }
.option-pills label:has(input:checked) { border-color: var(--teal); background: var(--teal-50); }
.form-note { font-size: 0.85rem; color: var(--slate); margin: 14px 0 0; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-weight: 600; display: none; }
.form-status.ok { display: block; background: var(--teal-50); color: var(--teal-700); border: 1px solid #bfece6; }
.form-status.err { display: block; background: #fff1f1; color: #a12a2a; border: 1px solid #f3c4c4; }
.hp-field { position: absolute; left: -9999px; }

.side-panel h2 { font-size: 1.6rem; }
.agenda { list-style: none; padding: 0; margin: 0 0 32px; counter-reset: ag; }
.agenda li { counter-increment: ag; position: relative; padding: 0 0 22px 52px; }
.agenda li::before { content: counter(ag, decimal-leading-zero); position: absolute; left: 0; top: 0; font: 700 0.85rem var(--mono); color: var(--teal-700); background: var(--teal-50); width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; }
.agenda strong { display: block; color: var(--ink); }

/* ------------------------------------------------------------------ verify */
.verify-box { max-width: 720px; margin: 0 auto; }
.verify-form { display: flex; gap: 12px; }
.verify-form input { flex: 1; font: 600 1.05rem var(--mono); letter-spacing: 0.06em; text-transform: uppercase; padding: 16px 18px; border-radius: 999px; border: 1px solid #c9d7e0; }
.verify-form input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(46, 196, 182, 0.18); }
@media (max-width: 560px) { .verify-form { flex-direction: column; } }
.verify-result { margin-top: 28px; }
.cert-card { display: grid; grid-template-columns: 130px 1fr; gap: 26px; align-items: center; border-radius: 18px; padding: 28px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); animation: fadeUp 0.5s var(--ease); }
.cert-card.is-valid { border-color: var(--teal); }
.cert-card.is-expired, .cert-card.is-missing { border-color: #e6b3b3; }
.cert-card dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 12px 0 0; font-size: 0.95rem; }
.cert-card dt { color: var(--slate); }
.cert-card dd { margin: 0; color: var(--ink); font-weight: 600; }
.cert-status { display: inline-flex; align-items: center; gap: 8px; font: 700 0.78rem var(--mono); letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 10px; border-radius: 6px; }
.is-valid .cert-status { background: var(--teal-50); color: var(--teal-700); }
.is-expired .cert-status, .is-missing .cert-status { background: #fff1f1; color: #a12a2a; }
@media (max-width: 560px) { .cert-card { grid-template-columns: 1fr; } .cert-card img { width: 100px; } }

/* ------------------------------------------------------------- misc blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.criteria-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 0.95rem; }
.criteria-table th, .criteria-table td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.criteria-table thead th { background: var(--navy); color: #fff; font-size: 0.85rem; letter-spacing: 0.04em; }
.criteria-table tbody tr { transition: background 0.2s; }
.criteria-table tbody tr:hover { background: var(--teal-50); }
.criteria-table tbody tr:last-child td { border-bottom: 0; }
.criteria-table code { font: 600 0.78rem var(--mono); color: var(--teal-700); white-space: nowrap; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { font: 600 0.8rem var(--mono); padding: 8px 12px; border-radius: 8px; background: rgba(46, 196, 182, 0.1); color: var(--teal); border: 1px solid rgba(46, 196, 182, 0.25); }
.disclaimer { font-size: 0.9rem; color: var(--slate); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 28px; }
.not-found { text-align: center; padding: 120px 0; }
.not-found .code { font: 800 clamp(5rem, 16vw, 10rem)/1 var(--mono); color: var(--navy); letter-spacing: -0.04em; }
.not-found .code span { color: var(--teal); }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--navy-950); color: #8fa6b8; padding: 80px 0 0; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; padding-bottom: 56px; }
.footer-brand p { margin: 20px 0 24px; max-width: 340px; }
.footer-h { color: #fff; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a:not(.btn) { color: #a9bccb; transition: color 0.2s; }
.site-footer a:not(.btn):hover { color: var(--teal); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 24px; padding-bottom: 32px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 0.85rem; }
.footer-bottom p { margin: 0; }
.footer-note { max-width: 560px; color: #6f8799; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------- animations */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-left { transform: translateX(-36px); }
.js .reveal-right { transform: translateX(36px); }
.js .reveal-scale { transform: scale(0.94); }

.hero-anim > * { opacity: 0; transform: translateY(24px); animation: fadeUp 1s var(--ease) forwards; }
.hero-anim > *:nth-child(2) { animation-delay: 0.12s; }
.hero-anim > *:nth-child(3) { animation-delay: 0.24s; }
.hero-anim > *:nth-child(4) { animation-delay: 0.36s; }
.hero-anim > *:nth-child(5) { animation-delay: 0.48s; }
.hero-stamp { opacity: 0; animation: stampIn 1.3s 0.4s var(--ease) forwards; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes stampIn { from { opacity: 0; transform: scale(0.8) rotate(-10deg); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(46, 196, 182, 0.25); } 50% { box-shadow: 0 0 0 8px rgba(46, 196, 182, 0); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes scrollcue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js .reveal, .hero-anim > *, .hero-stamp { opacity: 1 !important; transform: none !important; }
  .marquee { animation: none; }
}

/* ------------------------------------------------------- cloud platforms */
.h3 { font-size: 1.2rem; letter-spacing: -0.01em; font-weight: 700; }
a.card { display: flex; flex-direction: column; color: var(--body); }
a.card:hover { color: var(--body); }
a.card p { flex: 1; margin-bottom: 18px; }
.platform-mono {
  display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 22px; border-radius: 16px;
  background: var(--navy); color: var(--teal); font: 700 1.15rem var(--mono); letter-spacing: -0.02em;
  transition: transform 0.5s var(--ease), background 0.3s, color 0.3s;
}
a.card:hover .platform-mono { transform: rotate(-6deg) scale(1.06); background: var(--teal); color: var(--navy-900); }

.resp-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 16px; }
.resp-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.resp-col.is-you { background: var(--navy); border-color: var(--navy); color: #cfe3ee; }
.resp-h { font: 700 0.75rem var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); }
.is-you .resp-h { color: var(--teal); }
.resp-col ul { margin: 0; padding-left: 18px; font-size: 0.95rem; }
.resp-col li { margin-bottom: 6px; }
.resp-col li::marker { color: var(--teal); }
@media (max-width: 560px) { .resp-grid { grid-template-columns: 1fr; } }

.compare-table tbody th { background: var(--muted); color: var(--ink); font-size: 0.9rem; width: 18%; }
.compare-table td { font-size: 0.92rem; }
.compare-table { min-width: 860px; }

/* platform detail pages */
.doc-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 64px; padding-top: 56px; padding-bottom: 40px; }
.doc-layout .toc { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 980px) { .doc-layout { grid-template-columns: 1fr; gap: 0; padding-top: 36px; } .doc-layout .article-aside { display: none; } }
.doc-body { min-width: 0; }
.doc-body > h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); margin: 2.4em 0 0.4em; }
.doc-body > h2:first-of-type { margin-top: 1.2em; }
.doc-body > p { max-width: 780px; }
.doc-body .criteria-table { margin: 18px 0 8px; }
.doc-body .criteria-table td:first-child { width: 22%; }
.doc-body .criteria-table td:nth-child(2) { width: 46%; }
.doc-body .criteria-table td code, .doc-body p code, .doc-body li code { font: 600 0.8em var(--mono); color: var(--navy); background: var(--muted); padding: 2px 6px; border-radius: 5px; white-space: normal; word-break: break-word; }
.doc-body .criteria-table td:first-child strong { color: var(--ink); }
.scope-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; list-style: none; }
.scope-pills li { font: 600 0.82rem var(--font); padding: 7px 12px; border-radius: 8px; background: var(--teal-50); color: var(--teal-700); border: 1px solid #bfece6; }
.code-block { position: relative; margin: 18px 0 8px; }
.code-block .code-label { position: absolute; top: 0; right: 0; font: 600 0.7rem var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: #7f97a9; background: rgba(255,255,255,.05); padding: 6px 10px; border-radius: 0 var(--radius-sm) 0 var(--radius-sm); }
.code-block pre { background: var(--navy-950); color: #cfe3ee; font: 0.84rem/1.65 var(--mono); padding: 22px 22px 18px; border-radius: var(--radius-sm); overflow-x: auto; margin: 0; border: 1px solid rgba(46, 196, 182, 0.2); }
.code-block .k { color: var(--teal); } .code-block .s { color: #ffd38a; } .code-block .c { color: #6f8799; }
.level { display: inline-block; font: 700 0.68rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 7px; border-radius: 5px; white-space: nowrap; }
.level-req { background: var(--navy); color: var(--teal); }
.level-ass { background: var(--muted); color: var(--slate); border: 1px solid var(--line); }
.verify-steps { counter-reset: vs; list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 14px; }
.verify-steps li { counter-increment: vs; position: relative; padding: 18px 20px 18px 66px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.verify-steps li::before { content: counter(vs, decimal-leading-zero); position: absolute; left: 18px; top: 16px; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--navy); color: var(--teal); font: 700 0.8rem var(--mono); }
.verify-steps strong { display: block; color: var(--ink); }
.platform-list h3 { margin-top: 1.6em; }

/* domain grid (home + certification) */
.domain-card .risk-code { position: static; display: inline-block; margin-bottom: 14px; }
.doc-body .container { padding: 0; max-width: none; margin-top: 3em; }
