/* AngkolTech site styles. Plain CSS, no build step required.
   Tokens first, then base, layout, components, pages. */

:root {
  --ink: #0b1526;
  --text: #334155;
  --muted: #5b6b80;
  --line: #e3e8ef;
  --line-strong: #cbd5e1;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --navy: #0a1a30;
  --navy-2: #0f2542;
  --navy-line: rgba(148, 197, 255, 0.12);
  --on-navy: #e6edf5;
  --on-navy-muted: #a3b3c7;
  --accent: #0369a1;
  --accent-hover: #075985;
  --accent-bright: #38bdf8;
  --accent-soft: #e6f3fb;
  --ok: #34d399;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(10, 26, 48, 0.05), 0 10px 30px rgba(10, 26, 48, 0.08);
  --shadow-lg: 0 30px 70px rgba(2, 8, 20, 0.45);
  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --container: 1200px;
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230369a1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  --check-bright: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2338bdf8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; margin: 0 0 0.5em; font-weight: 600; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.25rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 2px; border-radius: 4px; }
[id] { scroll-margin-top: 96px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .container { padding: 0 16px; } body { font-size: 16px; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 8px; box-shadow: var(--shadow); }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--navy); color: var(--on-navy-muted); font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; }
.topbar-facts { display: flex; gap: 20px; }
.topbar-facts span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: #3b5575; margin-right: 20px; vertical-align: middle; }
.topbar a { color: var(--on-navy); font-weight: 500; }
@media (max-width: 820px) { .topbar { display: none; } }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.97); backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { width: 38px; height: 38px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand-tag { font-size: 0.68rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 4px; font-weight: 500; }
.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a { color: var(--text); font-weight: 500; font-size: 0.95rem; padding: 8px 12px; border-radius: 8px; }
.site-nav a:hover { color: var(--ink); background: var(--bg-soft); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--accent); }
.site-nav a.nav-cta { margin-left: 10px; color: #fff; background: var(--accent); padding: 10px 16px; font-weight: 600; }
.site-nav a.nav-cta:hover { background: var(--accent-hover); color: #fff; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
@media (max-width: 1060px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 16px 20px; box-shadow: 0 16px 30px rgba(10, 26, 48, 0.1); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px; font-size: 1rem; }
  .site-nav a.nav-cta { margin: 10px 0 0; text-align: center; padding: 14px; }
}

/* ---------- Buttons + links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; font-size: 0.98rem; line-height: 1; padding: 15px 22px; border-radius: 8px; border: 1px solid transparent; cursor: pointer; transition: background-color 0.15s, border-color 0.15s, color 0.15s; white-space: nowrap; }
.btn:hover { text-decoration: none; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-bright { background: var(--accent-bright); color: var(--navy); }
.btn-bright:hover { background: #7dd3fc; color: var(--navy); }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.32); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #e3eef8; color: var(--navy); }
.btn-sm { padding: 11px 16px; font-size: 0.92rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.15s; }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover svg, a.card:hover .link-arrow svg { transform: translateX(3px); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-soft { background: var(--bg-soft); }
.section-border { border-top: 1px solid var(--line); }
.section-navy { background: var(--navy); color: var(--on-navy); }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .lead, .section-navy p { color: var(--on-navy-muted); }
@media (max-width: 760px) { .section { padding: 64px 0; } .section-tight { padding: 48px 0; } }
.section-head { max-width: 740px; margin-bottom: 48px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head p:last-child { margin-bottom: 0; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.section-head-row .section-head { margin-bottom: 0; }
@media (max-width: 760px) { .section-head-row { flex-direction: column; align-items: flex-start; } }
.lead { font-size: 1.15rem; color: var(--muted); }
.eyebrow { display: inline-block; font-family: var(--mono); font-size: 0.76rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.section-navy .eyebrow, .hero .eyebrow { color: var(--accent-bright); }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: var(--on-navy); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--navy-line) 1px, transparent 1px), linear-gradient(90deg, var(--navy-line) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 75% 35%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 75% 35%, #000 10%, transparent 70%); }
.hero::after { content: ""; position: absolute; z-index: -1; width: 760px; height: 760px; right: -220px; top: -300px; background: radial-gradient(circle, rgba(56, 189, 248, 0.16), transparent 65%); }
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; padding-top: 88px; padding-bottom: 100px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--accent-bright); }
.hero .lead { color: var(--on-navy-muted); font-size: 1.2rem; max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 36px 0 0; padding: 0; list-style: none; color: var(--on-navy); font-size: 0.95rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 18px; height: 18px; flex: none; background: var(--check-bright) center / 16px no-repeat; }
.page-hero .hero-inner { grid-template-columns: 1fr; padding-top: 80px; padding-bottom: 84px; }
.page-hero .hero-copy { max-width: 780px; }
.page-hero.has-visual .hero-inner { grid-template-columns: 1.1fr 0.9fr; }
@media (max-width: 980px) {
  .hero-inner, .page-hero.has-visual .hero-inner { grid-template-columns: 1fr; gap: 48px; padding-top: 64px; padding-bottom: 72px; }
}
.crumbs { font-size: 0.85rem; color: var(--on-navy-muted); margin-bottom: 18px; }
.crumbs a { color: var(--on-navy); }

/* ---------- Private AI console mockup ---------- */
.console { background: #0c1e36; border: 1px solid rgba(148, 197, 255, 0.18); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; color: var(--on-navy); font-size: 0.93rem; }
.console-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 18px; border-bottom: 1px solid rgba(148, 197, 255, 0.12); background: rgba(255, 255, 255, 0.025); }
.console-title { display: flex; align-items: center; gap: 9px; font-weight: 600; color: #fff; font-size: 0.9rem; }
.console-title svg { width: 18px; height: 18px; color: var(--accent-bright); }
.console-status { display: flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: #86efac; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.2); }
.console-body { padding: 22px 20px; display: grid; gap: 14px; }
.msg { border-radius: 12px; padding: 12px 15px; line-height: 1.55; }
.msg-user { justify-self: end; max-width: 86%; background: #1c3a60; color: #fff; border-bottom-right-radius: 3px; }
.msg-ai { max-width: 96%; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(148, 197, 255, 0.14); border-bottom-left-radius: 3px; }
.msg-label { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-bright); margin-bottom: 6px; }
.msg p { margin: 0; color: var(--on-navy); }
.sources { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.source { display: inline-flex; align-items: center; gap: 6px; font-size: 0.76rem; padding: 5px 9px; border-radius: 6px; background: rgba(56, 189, 248, 0.09); color: #bae6fd; border: 1px solid rgba(56, 189, 248, 0.24); }
.source svg { width: 13px; height: 13px; }
.console-foot { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(148, 197, 255, 0.12); }
.console-foot div { padding: 13px 18px; font-size: 0.74rem; color: var(--on-navy-muted); }
.console-foot div + div { border-left: 1px solid rgba(148, 197, 255, 0.12); }
.console-foot strong { display: block; color: #fff; font-size: 0.84rem; font-weight: 600; margin-top: 2px; }
@media (max-width: 520px) {
  .console-foot { grid-template-columns: 1fr; }
  .console-foot div + div { border-left: 0; border-top: 1px solid rgba(148, 197, 255, 0.12); }
}

/* ---------- Tech strip ---------- */
.tech-strip { border-bottom: 1px solid var(--line); }
.tech-strip-inner { display: flex; align-items: center; gap: 20px 40px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 28px; }
.tech-strip-label { font-size: 0.85rem; color: var(--muted); font-weight: 500; }
.tech-list { display: flex; flex-wrap: wrap; gap: 10px 34px; list-style: none; margin: 0; padding: 0; }
.tech-list li { font-weight: 600; color: #52627a; font-size: 1.02rem; letter-spacing: -0.01em; }

/* ---------- Grid + cards ---------- */
.grid { display: grid; gap: 24px; }
.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: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
a.card { color: inherit; }
a.card:hover { text-decoration: none; border-color: #9fcbe6; box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.97rem; }
.card > .link-arrow { margin-top: auto; padding-top: 6px; color: var(--accent); }
.card-flag { align-self: flex-start; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 4px 9px; border-radius: 999px; margin-bottom: 16px; }
.card-accent { border-color: #9fcbe6; background: linear-gradient(180deg, #f3f9fd 0%, #fff 60%); }
.icon-box { width: 48px; height: 48px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; flex: none; }
.icon-box svg { width: 24px; height: 24px; }
.section-navy .card { background: var(--navy-2); border-color: rgba(148, 197, 255, 0.14); }
.section-navy .card p { color: var(--on-navy-muted); }
.section-navy .icon-box { background: rgba(56, 189, 248, 0.12); color: var(--accent-bright); }

/* Lists */
.check-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 13px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before { content: ""; flex: 0 0 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--accent-soft) var(--check) center / 13px no-repeat; }
.check-list strong { color: var(--ink); font-weight: 600; }
.check-list.cols-2 { grid-template-columns: 1fr 1fr; gap: 13px 28px; }
@media (max-width: 640px) { .check-list.cols-2 { grid-template-columns: 1fr; } }
.section-navy .check-list li::before { background-color: rgba(56, 189, 248, 0.14); background-image: var(--check-bright); }
.section-navy .check-list strong { color: #fff; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.tags li { font-family: var(--mono); font-size: 0.74rem; color: #475569; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 6px; padding: 4px 8px; }
.mini-head { font-family: var(--mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 980px) { .split { grid-template-columns: 1fr; gap: 44px; } .split.reverse > :first-child { order: 0; } }

/* Facts row */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.fact { padding: 28px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact strong { display: block; font-size: 2rem; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 8px; }
.fact span { font-size: 0.93rem; color: var(--muted); display: block; }
@media (max-width: 900px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact + .fact { border-left: 0; }
  .fact:nth-child(even) { border-left: 1px solid var(--line); }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .facts { grid-template-columns: 1fr; }
  .fact:nth-child(even) { border-left: 0; }
  .fact + .fact { border-top: 1px solid var(--line); }
}

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { position: relative; padding-top: 60px; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--accent); background: #fff; color: var(--accent); font-family: var(--mono); font-size: 0.85rem; font-weight: 500; display: flex; align-items: center; justify-content: center; }
.steps li::after { content: ""; position: absolute; top: 21px; left: 56px; right: -14px; height: 1px; background: var(--line-strong); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.1rem; }
.steps p { color: var(--muted); font-size: 0.96rem; margin: 0; }
.section-soft .steps li::before { background: var(--bg-soft); }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } .steps li::after { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Industries */
.industry { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.industry .icon-box { width: 42px; height: 42px; margin: 0; }
.industry .icon-box svg { width: 21px; height: 21px; }
.industry h3 { font-size: 1.02rem; margin-bottom: 4px; }
.industry p { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* Engagements (case examples) */
.work-card .work-sector { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.work-card h3 { font-size: 1.12rem; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(135deg, var(--navy) 0%, #0e2d52 100%); color: var(--on-navy); border-radius: 20px; padding: 56px; display: grid; grid-template-columns: 1.5fr auto; gap: 32px; align-items: center; }
.cta-band::after { content: ""; position: absolute; z-index: -1; width: 480px; height: 480px; right: -120px; bottom: -260px; background: radial-gradient(circle, rgba(56, 189, 248, 0.22), transparent 65%); }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: var(--on-navy-muted); margin: 0; max-width: 40em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; padding: 40px 24px; } }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.pricing.two { grid-template-columns: repeat(2, 1fr); max-width: 860px; margin: 0 auto; }
.price-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px 30px; display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.price-badge { position: absolute; top: -13px; left: 28px; background: var(--accent); color: #fff; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }
.price-card h3 { font-size: 1.18rem; margin-bottom: 6px; }
.price-desc { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin: 0 0 6px; }
.price strong { font-size: 2.6rem; font-weight: 600; color: var(--ink); letter-spacing: -0.03em; line-height: 1; }
.price span { color: var(--muted); font-size: 0.95rem; }
.price-note { font-size: 0.86rem; color: var(--muted); margin: 0 0 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); min-height: 1.4em; }
.price-card .check-list { font-size: 0.95rem; }
.price-card .btn { margin-top: auto; }
.pricing-foot { text-align: center; color: var(--muted); font-size: 0.92rem; margin: 28px auto 0; max-width: 46em; }
@media (max-width: 980px) { .pricing, .pricing.two { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; } }

/* Flow diagram (Private AI) */
.flow { position: relative; border: 1.5px dashed #8fbfdf; border-radius: 20px; padding: 44px 28px 28px; background: #fbfdff; }
.flow-label { position: absolute; top: -13px; left: 28px; background: var(--bg-soft); padding: 2px 10px; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 7px; }
.section:not(.section-soft) .flow-label { background: #fff; }
.flow-label svg { width: 14px; height: 14px; }
.flow-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.flow-node { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; box-shadow: 0 1px 2px rgba(10, 26, 48, 0.04); }
.flow-node .icon-box { width: 42px; height: 42px; margin-bottom: 14px; }
.flow-node .icon-box svg { width: 21px; height: 21px; }
.flow-node h3 { font-size: 1.02rem; margin-bottom: 6px; }
.flow-node p { font-size: 0.9rem; color: var(--muted); margin: 0; }
.flow-node + .flow-node::before { content: ""; position: absolute; left: -30px; top: 50%; width: 24px; height: 24px; transform: translateY(-50%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230369a1' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E") center / 20px no-repeat; }
.flow-guard { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--text); }
.flow-guard span { display: inline-flex; align-items: center; gap: 8px; }
.flow-guard svg { width: 16px; height: 16px; color: var(--accent); }
@media (max-width: 980px) {
  .flow-steps { grid-template-columns: 1fr; gap: 34px; }
  .flow-node + .flow-node::before { left: 50%; top: -30px; transform: translateX(-50%) rotate(90deg); }
}

/* Services detail rows */
.jump-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.jump-nav a { font-size: 0.88rem; color: var(--on-navy); border: 1px solid rgba(255, 255, 255, 0.2); padding: 7px 12px; border-radius: 999px; }
.jump-nav a:hover { border-color: #fff; text-decoration: none; }
.service-row { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; padding: 56px 0; border-top: 1px solid var(--line); }
.service-row:first-child { border-top: 0; padding-top: 0; }
.service-row h2 { font-size: 1.65rem; }
.service-row .lead { font-size: 1.05rem; }
@media (max-width: 900px) { .service-row { grid-template-columns: 1fr; gap: 20px; padding: 44px 0; } }
.engage h3 { font-size: 1.15rem; }
.engage .engage-meta { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-weight: 600; color: var(--ink); font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-75%) rotate(45deg); transition: transform 0.2s; }
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq details > div { padding: 0 0 22px; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* Team */
.team-card { text-align: center; align-items: center; }
.team-card img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin-bottom: 16px; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.team-card h3 { font-size: 1.08rem; margin-bottom: 2px; }
.team-card .role { font-size: 0.9rem; color: var(--muted); margin-bottom: 14px; }
.team-card .link-arrow { font-size: 0.9rem; margin-top: auto; }

/* Identity profile mockup */
.profile-mock { max-width: 360px; margin: 0 auto; background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; color: var(--text); }
.profile-cover { height: 96px; background: linear-gradient(135deg, #0f2542, #0369a1); }
.profile-body { padding: 0 26px 26px; text-align: center; margin-top: -48px; }
.profile-body img { width: 96px; height: 96px; border-radius: 50%; border: 4px solid #fff; object-fit: cover; margin: 0 auto 12px; }
.profile-body h3 { margin: 0; font-size: 1.25rem; }
.profile-body .role { font-size: 0.9rem; color: var(--muted); margin: 2px 0 18px; }
.profile-actions { display: grid; gap: 10px; }
.profile-actions span { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.9rem; font-weight: 600; padding: 12px; border-radius: 10px; border: 1px solid var(--line); color: var(--ink); }
.profile-actions span svg { width: 16px; height: 16px; }
.profile-actions .primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.profile-actions .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Backup terminal mockup */
.terminal { background: #0b1628; border: 1px solid rgba(148, 197, 255, 0.16); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; font-family: var(--mono); font-size: 0.84rem; color: #cbd5e1; }
.terminal-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid rgba(148, 197, 255, 0.12); }
.terminal-bar i { width: 11px; height: 11px; border-radius: 50%; background: #334155; }
.terminal-bar span { margin-left: 8px; font-size: 0.75rem; color: #7c8ba1; }
.terminal-body { padding: 20px; line-height: 1.8; overflow-x: auto; }
.terminal-body p { margin: 0; white-space: nowrap; }
.terminal-body .cmd { color: #fff; }
.terminal-body .cmd b { color: var(--accent-bright); font-weight: 500; }
.terminal-body .dim { color: #7c8ba1; }
.terminal-body .ok { color: #86efac; }
.terminal-body .done { color: #fff; margin-top: 10px; padding-left: 10px; border-left: 2px solid var(--accent-bright); white-space: normal; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.form-panel { background: var(--navy); border-radius: var(--radius-lg); padding: 28px 20px 12px; box-shadow: var(--shadow); }
.form-panel h2 { color: #fff; font-size: 1.4rem; margin: 0 8px 4px; }
.form-panel > p { color: var(--on-navy-muted); font-size: 0.92rem; margin: 0 8px 12px; }
.form-panel > p a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.form-panel iframe { display: block; width: 100%; height: 800px; border: 0; border-radius: 6px; }
@media (max-width: 640px) { .form-panel iframe { height: 950px; } }
.contact-steps { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 20px; counter-reset: cstep; }
.contact-steps li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; counter-increment: cstep; }
.contact-steps li::before { content: counter(cstep); width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 600; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; }
.contact-steps h3 { font-size: 1.02rem; margin: 4px 0 4px; }
.contact-steps p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.note-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; background: var(--bg-soft); font-size: 0.95rem; }
.note-box h3 { font-size: 1rem; margin-bottom: 6px; }
.note-box p:last-child { margin: 0; }
.note-box + .note-box { margin-top: 16px; }

/* Legal / prose */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose p, .prose li { color: var(--text); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose .updated { color: var(--muted); font-size: 0.92rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-navy-muted); font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 36px; padding: 72px 24px 48px; }
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.site-footer .brand-tag { color: var(--on-navy-muted); }
.footer-about p { max-width: 24em; margin-bottom: 22px; }
.site-footer h2 { font-size: 0.8rem; font-family: var(--mono); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; margin: 6px 0 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--on-navy-muted); }
.site-footer a:hover { color: #fff; }
.site-footer .btn-light { color: var(--navy); }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; padding-bottom: 24px; font-size: 0.85rem; }
.footer-bottom::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; border-top: 1px solid rgba(148, 197, 255, 0.12); }
@media (max-width: 1060px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer-grid { padding: 56px 16px 36px; } .footer-bottom::before { left: 16px; right: 16px; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; } }

/* 404 */
.notfound { text-align: center; padding-top: 72px; padding-bottom: 72px; }
.notfound .hero-actions { justify-content: center; }
.notfound .code { font-family: var(--mono); color: var(--accent); letter-spacing: 0.1em; }

/* ---------- SEO additions: breadcrumbs, linked tiles, comparison table ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 2px; }
.crumbs a:hover { color: #fff; }
a.industry { color: inherit; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
a.industry:hover { text-decoration: none; border-color: #9fcbe6; box-shadow: var(--shadow); transform: translateY(-2px); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.compare { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 0.95rem; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--navy); color: #fff; font-weight: 600; }
.compare tbody th { color: var(--ink); font-weight: 600; width: 26%; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare td:nth-child(3) { background: #f3f9fd; color: var(--ink); }
.prose h2:first-of-type { margin-top: 1.2em; }
