/* CertiHANA marketing site
   Layout: dark navy opening band and footer, light long-scroll sections in a 1140px container.
   Colour tokens follow the product console (CertiHANA blue on cool neutrals). */
:root {
  --bg: #f5f7fb; --surface: #ffffff; --surface-2: #edf1f8; --ink: #0e1a2b; --ink-2: #2b3a4f; --muted: #5b6b80; --line: #dbe3ee;
  --brand: #0b5cad; --brand-strong: #094b8e; --brand-soft: #e5effb; --sky: #2f8ff0; --glow: #36c6f4; --amber: #f2a33a; --ok: #1a8a4e; --ok-soft: #e3f4ea; --crit: #cf3b2f;
  --navy: #081326; --navy-2: #0f1f3a; --navy-line: rgba(159, 176, 200, .18); --on-navy: #e8eef8; --on-navy-muted: #9fb0c8;
  --display: "Manrope", "Segoe UI", system-ui, sans-serif; --body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif; --mono: "IBM Plex Mono", Consolas, "Courier New", monospace;
  --radius: 14px; --radius-s: 8px; --shadow: 0 1px 2px rgba(14, 26, 43, .05), 0 10px 30px -14px rgba(14, 26, 43, .22);
  --container: 1140px; --gutter: clamp(16px, 4vw, 32px);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 46rem; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: .92em; }
code { font-family: var(--mono); font-size: .9em; background: var(--surface-2); padding: .1em .4em; border-radius: 5px; }
pre { max-width: 100%; font-family: var(--mono); font-size: .88rem; background: var(--navy); color: var(--on-navy); padding: 16px 18px; border-radius: var(--radius-s); overflow-x: auto; line-height: 1.5; }
pre code { background: none; padding: 0; color: inherit; }
/* grid and flex children must never widen the page */
.hero-grid > *, .split > *, .grid > *, .console-body > *, .console-row > *, .contact-grid > *, .band > *, .footer-grid > *, .stats > *, .steps > *, .plans > * { min-width: 0; }
.container { width: min(var(--container), 100%); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section.tight { padding-block: clamp(40px, 5vw, 64px); }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 48rem; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }
.center .eyebrow::before { display: none; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: .98rem; padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease; text-decoration: none; white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -10px rgba(11, 92, 173, .9); }
.btn-primary:hover { background: var(--brand-strong); box-shadow: 0 12px 26px -10px rgba(11, 92, 173, .9); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-2); background: var(--surface); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--brand-soft); }
.btn-outline-light { background: transparent; color: var(--on-navy); border-color: rgba(232, 238, 248, .35); }
.btn-outline-light:hover { border-color: var(--on-navy); background: rgba(255, 255, 255, .06); }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-family: var(--display); font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); letter-spacing: .02em; }
.pill.new { background: #fff3df; color: #9a5b00; }
.pill.ok { background: var(--ok-soft); color: var(--ok); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(8, 19, 38, .72); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--navy-line); transition: background .25s ease; }
.site-header.on-light { background: rgba(245, 247, 251, .82); border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 1.15rem; color: var(--on-navy); letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand small { display: block; font-family: var(--body); font-weight: 500; font-size: .7rem; color: var(--on-navy-muted); letter-spacing: .02em; margin-top: -2px; }
.on-light .brand { color: var(--ink); }
.on-light .brand small { color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav-links a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--on-navy-muted); font-weight: 500; font-size: .95rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--on-navy); background: rgba(255, 255, 255, .07); text-decoration: none; }
.on-light .nav-links a { color: var(--ink-2); }
.on-light .nav-links a:hover, .on-light .nav-links a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }
.nav-links a.nav-portal { display: inline-flex; align-items: center; gap: 6px; }
.nav-links a.nav-portal svg { width: 15px; height: 15px; opacity: .85; }
.nav-cta { margin-left: 8px; }
.nav-links a.btn, .on-light .nav-links a.btn { color: #fff; background: var(--brand); }
.nav-links a.btn:hover, .on-light .nav-links a.btn:hover { background: var(--brand-strong); color: #fff; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1.5px solid var(--navy-line); color: var(--on-navy); border-radius: 8px; width: 42px; height: 40px; cursor: pointer; }
.on-light .nav-toggle { color: var(--ink); border-color: var(--line); }
.nav-toggle span { display: block; width: 18px; height: 2px; background: currentColor; margin: 3px auto; transition: transform .2s ease, opacity .2s ease; }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px var(--gutter) 16px; background: var(--navy); border-bottom: 1px solid var(--navy-line); display: none; }
  .on-light .nav-links { background: var(--surface); border-bottom-color: var(--line); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: 1.05rem; }
  .nav-cta { margin: 8px 0 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
}

/* Hero */
.hero { position: relative; background: var(--navy); color: var(--on-navy); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--navy-line) 1px, transparent 1px), linear-gradient(90deg, var(--navy-line) 1px, transparent 1px); background-size: 60px 60px; opacity: .35; mask-image: radial-gradient(ellipse at 60% 20%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 60% 20%, #000 20%, transparent 70%); z-index: -1; }
.hero .orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; z-index: -1; animation: drift 14s ease-in-out infinite alternate; }
.hero .orb.a { width: 520px; height: 520px; background: #1552a0; right: -120px; top: -160px; }
.hero .orb.b { width: 380px; height: 380px; background: #0e7fb5; left: -140px; bottom: -200px; animation-delay: -6s; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(40px, 30px, 0) scale(1.08); } }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(56px, 8vw, 112px); }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--glow); }
.hero .lede { color: var(--on-navy-muted); font-size: 1.18rem; margin-bottom: 28px; }
.hero .eyebrow { color: var(--glow); }
.hero .eyebrow::before { background: var(--glow); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; padding: 0; list-style: none; color: var(--on-navy-muted); font-size: .92rem; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--glow); flex: none; }
.rise { opacity: 0; transform: translateY(16px); animation: rise .7s cubic-bezier(.2, .7, .2, 1) forwards; }
.rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .18s; } .rise.d3 { animation-delay: .28s; } .rise.d4 { animation-delay: .4s; } .rise.d5 { animation-delay: .55s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* Animated console mock */
.console { min-width: 0; max-width: 100%; background: #0c1a30; border: 1px solid rgba(159, 176, 200, .22); border-radius: 16px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(54, 198, 244, .08); font-family: var(--body); font-size: .86rem; color: var(--on-navy); overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: transform .5s ease; }
.console:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.console-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: rgba(255, 255, 255, .04); border-bottom: 1px solid rgba(159, 176, 200, .14); }
.console-bar span { width: 10px; height: 10px; border-radius: 50%; background: #2b3b57; }
.console-bar em { font-style: normal; margin-left: 8px; color: var(--on-navy-muted); font-size: .8rem; }
.console-body { padding: 14px; display: grid; gap: 12px; }
.console-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { background: rgba(255, 255, 255, .04); border: 1px solid rgba(159, 176, 200, .14); border-radius: 10px; padding: 10px 12px; }
.kpi small { display: block; color: var(--on-navy-muted); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 4px; }
.kpi b { font-family: var(--display); font-size: clamp(1rem, 2.6vw, 1.35rem); white-space: nowrap; font-weight: 800; font-variant-numeric: tabular-nums; }
.kpi b.ok { color: #5fe3a1; }
.kpi .ring { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #5fe3a1; box-shadow: 0 0 0 0 rgba(95, 227, 161, .6); animation: pulse 2.2s ease-out infinite; margin-right: 6px; vertical-align: 1px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(95, 227, 161, .6); } 100% { box-shadow: 0 0 0 10px rgba(95, 227, 161, 0); } }
.job { background: rgba(255, 255, 255, .04); border: 1px solid rgba(159, 176, 200, .14); border-radius: 10px; padding: 12px; }
.job-head { display: flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 8px; font-size: .84rem; }
.job-head .status { margin-left: auto; font-family: var(--mono); font-size: .72rem; color: var(--glow); }
.job-bar { height: 7px; background: rgba(255, 255, 255, .08); border-radius: 999px; overflow: hidden; }
.job-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--sky), var(--glow)); border-radius: inherit; animation: fill 7s cubic-bezier(.3, .1, .3, 1) infinite; }
@keyframes fill { 0% { width: 0; } 70% { width: 100%; } 100% { width: 100%; } }
.job-log { margin: 10px 0 0; overflow: hidden; min-width: 0; width: 100%; padding: 0; list-style: none; font-family: var(--mono); font-size: .72rem; color: var(--on-navy-muted); line-height: 1.7; }
.job-log li { opacity: 0; max-width: 100%; animation: logline 7s linear infinite; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.job-log li:nth-child(1) { animation-delay: .4s; } .job-log li:nth-child(2) { animation-delay: 1.6s; } .job-log li:nth-child(3) { animation-delay: 3s; } .job-log li:nth-child(4) { animation-delay: 4.3s; } .job-log li:nth-child(5) { animation-delay: 5.2s; }
.job-log li b { color: #5fe3a1; font-weight: 600; }
@keyframes logline { 0% { opacity: 0; transform: translateY(4px); } 4% { opacity: 1; transform: none; } 92% { opacity: 1; } 100% { opacity: 0; } }
.console-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.spark { background: rgba(255, 255, 255, .04); border: 1px solid rgba(159, 176, 200, .14); border-radius: 10px; padding: 10px 12px; }
.spark small { display: block; color: var(--on-navy-muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.spark svg { width: 100%; height: 44px; display: block; }
.spark path.line { fill: none; stroke: var(--glow); stroke-width: 2; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 2.4s ease-out forwards .6s; }
.spark path.area { fill: url(#sparkfill); opacity: .6; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-family: var(--mono); font-size: .68rem; padding: 3px 8px; border-radius: 6px; background: rgba(54, 198, 244, .12); color: #a9e9fb; border: 1px solid rgba(54, 198, 244, .2); }
.chip.ok { background: rgba(95, 227, 161, .12); color: #a7f0c8; border-color: rgba(95, 227, 161, .25); }
@media (max-width: 900px) { .console { transform: none; } }
@media (max-width: 480px) { .console-kpis { grid-template-columns: 1fr 1fr; } .console-row { grid-template-columns: 1fr; } }

/* Storage targets strip: static, centred, aligned to the container */
.targets-wrap { background: var(--navy); color: var(--on-navy-muted); border-top: 1px solid var(--navy-line); padding-block: 26px 30px; }
.targets-label { text-align: center; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 16px; font-family: var(--display); font-weight: 700; }
.targets { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.target { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 7px; border: 1px solid var(--navy-line); border-radius: 999px; background: rgba(255, 255, 255, .03); font-family: var(--display); font-weight: 600; font-size: .9rem; line-height: 1; color: var(--on-navy); white-space: nowrap; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.target:hover { border-color: rgba(54, 198, 244, .5); background: rgba(54, 198, 244, .08); transform: translateY(-2px); }
.target i { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.target svg { width: 20px; height: 20px; display: block; overflow: visible; }
@media (max-width: 600px) { .target { height: 42px; font-size: .84rem; padding-right: 14px; } .target i { width: 28px; height: 28px; } .target svg { width: 18px; height: 18px; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 18px; box-shadow: var(--shadow); }
.stat b { display: block; font-family: var(--display); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--brand); letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } }

/* Cards and grids */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 601px) and (max-width: 900px) { .grid-3 > :last-child:nth-child(odd), .grid-4 > :last-child:nth-child(odd) { grid-column: span 2; } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); min-width: 0; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; position: relative; }
a.card { color: inherit; display: block; }
a.card:hover { text-decoration: none; }
.card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(14, 26, 43, .05), 0 22px 40px -18px rgba(11, 92, 173, .35); border-color: #c7d7ec; }
.card h3 { margin-top: 14px; }
.card p { color: var(--ink-2); margin-bottom: 0; font-size: .98rem; }
.card .more { display: inline-block; margin-top: 12px; font-family: var(--display); font-weight: 700; font-size: .9rem; color: var(--brand); }
.icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.icon svg { width: 24px; height: 24px; }
.icon.amber { background: #fff3df; color: #b2640a; }
.icon.ok { background: var(--ok-soft); color: var(--ok); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.check-list svg { width: 20px; height: 20px; color: var(--ok); flex: none; margin-top: 3px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }
.feature-block { padding-block: clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.feature-block:last-child { border-bottom: 0; }
.feature-block h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.subnav { position: sticky; top: 68px; z-index: 40; background: rgba(245, 247, 251, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 6px 0; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 7px 12px; border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; font-family: var(--display); }
.subnav a:hover, .subnav a.active { background: var(--brand-soft); color: var(--brand); text-decoration: none; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 26px; box-shadow: var(--shadow); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--display); font-weight: 800; font-size: 2.4rem; color: var(--brand-soft); position: absolute; right: 20px; top: 10px; line-height: 1; }
.step h3 { margin-top: 0; padding-right: 60px; }
.step p { color: var(--ink-2); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* Backup chain illustration */
.chain-wrap { background: var(--navy); border-radius: 20px; padding: clamp(22px, 4vw, 40px); color: var(--on-navy); overflow: hidden; position: relative; }
.chain-wrap h3 { color: #fff; }
.chain-wrap p { color: var(--on-navy-muted); }
.chain { width: 100%; height: auto; display: block; font-family: var(--body); }
.chain .track { stroke: rgba(159, 176, 200, .35); stroke-width: 2; fill: none; }
.chain .flow { stroke: var(--glow); stroke-width: 3; fill: none; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.in .chain .flow { animation: draw 3s cubic-bezier(.4, 0, .2, 1) forwards .2s; }
.chain .node { fill: #0c1a30; stroke: var(--sky); stroke-width: 2.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.chain .node.full { stroke: var(--glow); }
.chain .node.off { stroke: #5fe3a1; }
.in .chain .node { animation: pop .5s cubic-bezier(.2, 1.4, .4, 1) forwards; }
.chain .label { fill: var(--on-navy); font-size: 13px; font-weight: 600; opacity: 0; }
.chain .sub { fill: var(--on-navy-muted); font-size: 11px; opacity: 0; }
.in .chain .label, .in .chain .sub { animation: rise .6s ease forwards; }
.chain .tick { fill: #5fe3a1; font-size: 14px; font-weight: 700; opacity: 0; }
.in .chain .tick { animation: rise .6s ease forwards 3s; }
@keyframes pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
.chain-legend { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 10px; padding: 0; list-style: none; color: var(--on-navy-muted); font-size: .9rem; }
.chain-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: -1px; }

/* Quote / highlight band */
.band { background: linear-gradient(135deg, var(--brand) 0%, #0d3f7a 60%, var(--navy) 100%); color: #fff; border-radius: 22px; padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(54, 198, 244, .35), transparent 65%); right: -120px; top: -160px; pointer-events: none; }
.band h2 { color: #fff; }
.band p { color: rgba(255, 255, 255, .82); }
.band .btn-group { justify-content: flex-end; }
@media (max-width: 900px) { .band { grid-template-columns: 1fr; } .band .btn-group { justify-content: flex-start; } }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--display); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); }
tr:last-child td { border-bottom: 0; }
td.yes { color: var(--ok); font-weight: 700; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 30px 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; position: relative; }
.plan.featured { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), 0 24px 50px -24px rgba(11, 92, 173, .5); }
.plan .tag { position: absolute; top: -13px; left: 28px; }
.plan h3 { margin: 0; font-size: 1.4rem; }
.plan .price { font-family: var(--display); font-weight: 800; font-size: 2rem; letter-spacing: -.02em; line-height: 1; }
.plan .price small { display: block; font-family: var(--body); font-weight: 400; font-size: .9rem; color: var(--muted); margin-top: 8px; letter-spacing: 0; }
.plan .check-list { flex: 1; }
.plan .check-list li { font-size: .95rem; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 56rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 0 20px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-family: var(--display); font-weight: 700; font-size: 1.02rem; display: flex; align-items: center; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; font-size: 1.4rem; font-weight: 400; color: var(--brand); transition: transform .25s ease; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 18px; color: var(--ink-2); }
.faq details > div p:last-child { margin-bottom: 0; }

/* Forms */
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
label { display: block; font-family: var(--display); font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--ink-2); }
input, select, textarea { width: 100%; font: inherit; font-size: 1rem; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: var(--radius-s); background: var(--surface); color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(47, 143, 240, .15); }
textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-status { display: none; padding: 12px 14px; border-radius: var(--radius-s); font-weight: 600; }
.form-status.ok { display: block; background: var(--ok-soft); color: var(--ok); }
.form-status.err { display: block; background: #fdebe9; color: var(--crit); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.panel { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card dt { font-family: var(--display); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 16px; }
.contact-card dd { margin: 4px 0 0; }

/* Page hero (sub pages) */
.page-hero { background: var(--navy); color: var(--on-navy); padding-block: clamp(44px, 6vw, 80px); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--navy-line) 1px, transparent 1px), linear-gradient(90deg, var(--navy-line) 1px, transparent 1px); background-size: 60px 60px; opacity: .3; mask-image: radial-gradient(ellipse at 70% 0%, #000 10%, transparent 65%); -webkit-mask-image: radial-gradient(ellipse at 70% 0%, #000 10%, transparent 65%); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; }
.page-hero .lede { color: var(--on-navy-muted); }
.page-hero .eyebrow { color: var(--glow); }
.page-hero .eyebrow::before { background: var(--glow); }
.breadcrumb { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 18px; font-size: .85rem; color: var(--on-navy-muted); }
.breadcrumb a { color: var(--on-navy-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.prose { max-width: 48rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; color: var(--ink-2); }

/* Footer */
.site-footer { background: var(--navy); color: var(--on-navy-muted); padding-block: clamp(44px, 6vw, 72px) 28px; border-top: 1px solid var(--navy-line); font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-navy-muted); }
.site-footer a:hover { color: #fff; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--navy-line); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .82rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Scroll reveal (only when JS is on) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; } .js .reveal.d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  .rise, .js .reveal { opacity: 1; transform: none; }
  .chain .node, .chain .label, .chain .sub, .chain .tick, .job-log li { opacity: 1; }
  .chain .flow { stroke-dashoffset: 0; }
  .spark path.line { stroke-dashoffset: 0; }
  .job-bar i { width: 72%; }
  .console { transform: none; }
}
