/* Sukarma — design tokens */
:root {
  --bg: #f4f8fd; --bg-rgb: 244, 248, 253;
  --bg-2: #ffffff;
  --bg-3: #eaf1fb;
  --panel-rgb: 255, 255, 255;
  --surface: #ffffff;
  --surface-2: #eaf1fb;
  --card-bg: #ffffff;
  --ink-rgb: 14, 42, 71;
  --line: rgba(14, 42, 71, .10);
  --line-2: rgba(14, 42, 71, .17);
  --line-3: #c5d3e6;
  --text: #0e2a47; --text-rgb: 14, 42, 71;
  --text-2: #1f3a5c;
  --muted: #475a73;
  --dim: #5b6c84;
  --teal: #1f5fbf; --acc-rgb: 31, 95, 191;
  --blue: #0e2a47; --acc2-rgb: 14, 42, 71;
  --violet: #c24428; --acc3-rgb: 255, 107, 74;
  --amber: #c24428; --warm-rgb: 255, 107, 74;
  --danger: #b42318;
  --on-grad: #ffffff;
  --avatar-a: #ffffff; --avatar-b: #eaf1fb;
  --shadow: 0 1px 2px rgba(23, 32, 56, .04), 0 12px 32px -12px rgba(23, 32, 56, .12);
  --grad: linear-gradient(100deg, #1f5fbf 0%, #1f5fbf 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --wrap: 1200px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Code', monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
/* Dark scope for product-UI style components (e.g. the Forge console) */
.dark {
  --bg: #05070d; --bg-rgb: 5, 7, 13; --bg-2: #080c16; --bg-3: #0c1220; --panel-rgb: 12, 18, 32;
  --surface: rgba(var(--ink-rgb), .035); --surface-2: rgba(var(--ink-rgb), .06); --card-bg: rgba(var(--ink-rgb), .03);
  --ink-rgb: 255, 255, 255; --line: rgba(var(--ink-rgb), .09); --line-2: rgba(var(--ink-rgb), .16); --line-3: #3a4a66;
  --text: #eef2f8; --text-rgb: 238, 242, 248; --text-2: var(--text-2); --muted: #a3afc2; --dim: #7d8aa0;
  --teal: #7fb2ff; --acc-rgb: 127, 178, 255; --blue: #a9c6f5; --acc2-rgb: 169, 198, 245; --violet: #ff8e73; --acc3-rgb: 255, 142, 115;
  --amber: #ffc46b; --warm-rgb: 255, 196, 107; --on-grad: var(--on-grad); --avatar-a: #1a2540; --avatar-b: #0a0f1b;
  --grad: linear-gradient(100deg, #7fb2ff 0%, #7fb2ff 100%);
  color-scheme: dark; color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased; overflow-x: hidden; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: rgba(var(--ink-rgb), .3); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(var(--acc-rgb), .3); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.025em; line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); letter-spacing: -.04em; line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; line-height: 1.3; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--teal); color: #001; padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 16px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.eyebrow { font: 500 .78rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 1rem; }
.eyebrow.center { text-align: center; }
.ic { width: 1.15em; height: 1.15em; flex: none; }

.bg-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(var(--acc2-rgb), .12), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(var(--acc-rgb), .07), transparent 60%),
    linear-gradient(rgba(var(--ink-rgb), .025) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(var(--ink-rgb), .025) 1px, transparent 1px) 0 0 / 64px 64px;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.4) 60%, transparent 100%);
}

/* Buttons */
.btn {
  --h: 46px; display: inline-flex; align-items: center; gap: .55em; height: var(--h); padding: 0 1.25em;
  border-radius: 999px; font: 600 .95rem/1 var(--font); text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s; position: relative; white-space: nowrap;
}
.btn .ic { transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn-primary { background: var(--grad); color: var(--on-grad); box-shadow: 0 8px 30px -8px rgba(var(--acc2-rgb), .6), inset 0 1px 0 rgba(var(--ink-rgb), .4); overflow: hidden; }
.btn-primary::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(var(--ink-rgb), .55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:hover { box-shadow: 0 12px 40px -8px rgba(var(--acc2-rgb), .8), inset 0 1px 0 rgba(var(--ink-rgb), .4); }
.btn-ghost { background: var(--surface); border-color: var(--line-2); color: var(--text); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(var(--ink-rgb), .3); }
.btn-sm { --h: 38px; font-size: .88rem; padding: 0 1em; }
.btn-lg { --h: 54px; font-size: 1rem; padding: 0 1.6em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; color: var(--teal); font-weight: 600; text-decoration: none; font-size: .95rem; }
.link-arrow .ic { transition: transform .25s var(--ease); }
.link-arrow:hover .ic, a:hover .link-arrow .ic { transform: translateX(4px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(var(--bg-rgb), .72); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { text-decoration: none; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 34px; height: 34px; filter: drop-shadow(0 4px 10px rgba(var(--acc2-rgb), .25)); }
.logo-word { font: 600 1.45rem/1 var(--display); letter-spacing: -.04em; }
.logo-word b { font-weight: 600; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; color: var(--muted); text-decoration: none; font: 500 .92rem/1 var(--font); background: none; border: 0; cursor: pointer; transition: color .2s, background .2s; }
.nav-link:hover, .nav-link[aria-current], .is-active > .nav-link { color: var(--text); background: var(--surface-2); }
.nav-link svg { width: 12px; height: 12px; transition: transform .2s; }
.has-menu { position: relative; }
.has-menu.open .nav-link svg { transform: rotate(180deg); }
.menu { position: absolute; top: calc(100% + 10px); right: -40px; min-width: 300px; padding: 8px; border-radius: 16px; background: rgba(var(--panel-rgb), .96); border: 1px solid var(--line-2); box-shadow: 0 30px 80px -20px rgba(var(--ink-rgb), .25); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .2s var(--ease); backdrop-filter: blur(20px); }
.has-menu.open .menu { opacity: 1; visibility: visible; transform: none; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu a { display: block; padding: 10px 14px; border-radius: 10px; text-decoration: none; }
.menu a:hover, .menu a:focus-visible { background: var(--surface-2); }
.menu a span { display: block; font-weight: 600; font-size: .94rem; }
.menu a small { color: var(--dim); font-size: .82rem; }
.header-cta { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--text); place-items: center; cursor: pointer; }
.nav-toggle .ic { width: 22px; height: 22px; }
.mobile-nav { border-top: 1px solid var(--line); background: rgba(var(--bg-rgb), .97); padding: 16px; }
.mobile-nav ul { list-style: none; margin: 0 0 16px; padding: 0; display: grid; }
.mobile-nav a:not(.btn) { display: block; padding: 12px 4px; font: 500 1.15rem var(--display); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { width: 100%; justify-content: center; }

/* Hero */
.hero { position: relative; min-height: min(calc(100svh - 72px), 900px); display: grid; align-items: center; padding: 48px 0 96px; overflow: hidden; margin-top: -1px; }
#aura { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-fade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse 60% 70% at 25% 50%, rgba(var(--bg-rgb), .85), transparent 70%), linear-gradient(to bottom, transparent 70%, var(--bg)); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero .lead { font-size: clamp(1.08rem, 1.5vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 2rem 0 2.2rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: .9rem; }
.hero-proof li { display: inline-flex; align-items: center; gap: 7px; }
.hero-proof .ic { color: var(--teal); }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px; background: rgba(var(--acc-rgb), .08); border: 1px solid rgba(var(--acc-rgb), .25); color: var(--text); font-size: .85rem; text-decoration: none; margin-bottom: 1.6rem; transition: background .2s; }
.pill:hover { background: rgba(var(--acc-rgb), .14); }
.pill .ic { width: 14px; height: 14px; color: var(--teal); }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(var(--acc-rgb), .7); animation: ping 2s infinite; }
.pill-sep { width: 1px; height: 14px; background: var(--line-2); }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(var(--acc-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--acc-rgb), 0); } }

.hero-console { border-radius: 20px; background: linear-gradient(180deg, rgba(var(--panel-rgb), .82), rgba(var(--panel-rgb), .9)); border: 1px solid var(--line-2); box-shadow: 0 40px 120px -30px rgba(var(--acc2-rgb), .45), 0 0 0 1px rgba(var(--ink-rgb), .03) inset; backdrop-filter: blur(14px); overflow: hidden; position: relative; }
.hero-console::before { content: ''; position: absolute; inset: -1px; border-radius: 20px; padding: 1px; background: linear-gradient(140deg, rgba(var(--acc-rgb), .6), transparent 35%, transparent 65%, rgba(var(--acc3-rgb), .6)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.console-bar { display: flex; align-items: center; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--line); font: 500 .8rem var(--mono); color: var(--dim); }
.console-bar span { width: 11px; height: 11px; border-radius: 50%; background: #2a3446; }
.console-bar span:nth-child(1) { background: #ff6b6b; } .console-bar span:nth-child(2) { background: #ffc46b; } .console-bar span:nth-child(3) { background: #3ee6c4; }
.console-bar b { margin-left: 10px; font-weight: 500; }
.live-tag { margin-left: auto; font-style: normal; color: var(--teal); display: inline-flex; align-items: center; gap: 6px; }
.live-tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); animation: ping 2s infinite; }
.console-body { margin: 0; padding: 18px 18px 8px; height: 300px; overflow: hidden; font: 400 .8rem/1.75 var(--mono); color: var(--text-2); white-space: pre-wrap; }
.console-body .t-dim { color: var(--dim); } .console-body .t-ok { color: var(--teal); } .console-body .t-ag { color: var(--blue); } .console-body .t-h { color: var(--amber); } .console-body .t-v { color: var(--violet); }
.console-body .cursor { display: inline-block; width: 8px; height: 1em; background: var(--teal); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.console-foot { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.console-foot div { padding: 12px 14px; border-right: 1px solid var(--line); }
.console-foot div:last-child { border-right: 0; }
.console-foot small { display: block; font: 500 .66rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.console-foot b { font: 600 1.05rem var(--display); }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 28px; width: 26px; height: 42px; border: 1.5px solid var(--line-2); border-radius: 14px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--teal); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Marquee */
.marquee-band { padding: 36px 0 20px; border-block: 1px solid var(--line); background: rgba(var(--ink-rgb), .012); }
.marquee-band .eyebrow { color: var(--dim); }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 50s linear infinite; padding: 8px 0 16px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font: 500 .95rem var(--display); color: var(--text-2); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Statement */
.statement { padding: clamp(80px, 12vw, 160px) 0; }
.statement-text { font: 500 clamp(1.7rem, 4vw, 3.2rem)/1.22 var(--display); letter-spacing: -.03em; max-width: 24ch; margin: 0 auto; text-align: center; }
.statement-text .w { color: rgba(var(--text-rgb), .16); transition: color .4s; }
.statement-text .w.on { color: var(--text); }
.statement-text .w.hl.on { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Sections */
.section { padding: clamp(56px, 7vw, 96px) 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head .lead { margin-top: .6rem; }
.section-head a { color: var(--teal); }
.grid-2, .grid-3, .grid-4 { 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); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

.card { position: relative; padding: 28px; border-radius: var(--radius); background: var(--card-bg); box-shadow: var(--shadow); border: 1px solid var(--line); text-decoration: none; display: flex; flex-direction: column; overflow: hidden; transition: border-color .3s, transform .3s var(--ease); }
.card p { color: var(--muted); font-size: .96rem; }
.card h3 { margin-top: 4px; }
.card .link-arrow { margin-top: auto; }
.glow::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--acc-rgb), .12), transparent 45%); }
.glow:hover::before { opacity: 1; }
.glow:hover { border-color: rgba(var(--acc-rgb), .3); }
a.card:hover { transform: translateY(-4px); }
.card-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; color: var(--teal); background: linear-gradient(135deg, rgba(var(--acc-rgb), .16), rgba(var(--acc2-rgb), .12)); border: 1px solid rgba(var(--acc-rgb), .25); }
.card-icon .ic { width: 24px; height: 24px; }
.svc { min-height: 280px; }

/* Forge tabs */
.forge-band { background: linear-gradient(180deg, transparent, rgba(var(--acc2-rgb), .05) 40%, transparent); }
.forge-tabs { border-radius: 24px; border: 1px solid var(--line-2); background: rgba(var(--panel-rgb), .7); overflow: hidden; margin-bottom: 36px; }
.tablist { display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid var(--line); position: relative; }
.tablist button { background: none; border: 0; color: var(--muted); font: 600 1rem var(--display); padding: 22px 16px; cursor: pointer; text-align: left; display: flex; align-items: center; gap: 10px; transition: color .2s, background .2s; }
.tablist button:hover { color: var(--text); background: var(--surface); }
.tablist button[aria-selected="true"] { color: var(--text); }
.tablist .num { font: 500 .75rem var(--mono); color: var(--teal); }
.tab-ink { position: absolute; bottom: -1px; left: 0; height: 2px; width: 20%; background: var(--grad); transition: transform .45s var(--ease); }
.tabpanels { padding: clamp(28px, 4vw, 48px); min-height: 250px; }
.tabpanels [role="tabpanel"] { animation: fadeUp .5s var(--ease); max-width: 760px; }
.tabpanels h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.tabpanels p { color: var(--muted); font-size: 1.08rem; }
.agent-tag { display: inline-flex; align-items: center; gap: 8px; font: 500 .8rem var(--mono); color: var(--blue) !important; background: rgba(var(--acc2-rgb), .1); border: 1px solid rgba(var(--acc2-rgb), .25); padding: 6px 12px; border-radius: 999px; }
.agent-tag span { color: var(--teal); }
.outputs { display: flex; align-items: center; gap: 8px; font: 500 .85rem var(--mono); color: var(--dim) !important; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 24px; border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.stats > div { padding: 36px 28px; border-right: 1px solid var(--line); }
.stats > div:last-child { border-right: 0; }
.stats b { display: block; font: 600 clamp(2.4rem, 4.5vw, 3.6rem)/1 var(--display); letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 12px; }
.stats span { color: var(--muted); font-size: .92rem; display: block; }

/* Compare */
.compare-band { background: linear-gradient(180deg, rgba(var(--ink-rgb), .015), rgba(var(--ink-rgb), .03)); border-block: 1px solid var(--line); }
.compare { border-radius: 22px; border: 1px solid var(--line); overflow: hidden; background: var(--bg-2); }
.compare-row { display: grid; grid-template-columns: 1fr 1fr 1.15fr; border-bottom: 1px solid var(--line); }
.compare-row:last-child { border-bottom: 0; }
.compare-row > span { padding: 18px 24px; color: var(--muted); }
.compare-row > span:first-child { color: var(--text); font-weight: 600; }
.compare-row .us { color: var(--text); background: linear-gradient(90deg, rgba(var(--acc-rgb), .06), rgba(var(--acc2-rgb), .06)); display: flex; gap: 10px; align-items: center; }
.compare-row .us .ic { color: var(--teal); }
.compare-headrow > span { font: 500 .78rem var(--mono) !important; letter-spacing: .1em; text-transform: uppercase; color: var(--dim) !important; padding-block: 14px; }
.compare-headrow .us { color: var(--teal) !important; }

/* Products */
.product-top { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.status { font: 500 .74rem var(--mono); padding: 5px 10px; border-radius: 999px; letter-spacing: .04em; display: inline-flex; align-items: center; gap: 6px; }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.live { color: var(--teal); background: rgba(var(--acc-rgb), .1); border: 1px solid rgba(var(--acc-rgb), .3); }
.status.preview { color: var(--blue); background: rgba(var(--acc2-rgb), .1); border: 1px solid rgba(var(--acc2-rgb), .3); }
.status.soon { color: var(--amber); background: rgba(var(--warm-rgb), .08); border: 1px solid rgba(var(--warm-rgb), .28); }
.cat { font: 500 .74rem var(--mono); color: var(--dim); letter-spacing: .08em; text-transform: uppercase; }
.product h3 { font-size: 1.6rem; }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: .95rem; }
.ticks .ic { color: var(--teal); margin-top: 3px; }
.ticks.big li { font-size: 1.02rem; color: var(--text-2); }

/* Case cards */
.case-card { display: block; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); text-decoration: none; transition: border-color .3s, transform .4s var(--ease); transform-style: preserve-3d; }
.case-card:hover { border-color: rgba(var(--acc-rgb), .3); }
.case-cover { aspect-ratio: 16 / 7; overflow: hidden; }
.case-cover .cover, .post-cover .cover { width: 100%; height: 100%; transition: transform 1s var(--ease); }
.case-card:hover .cover, .post-card:hover .cover { transform: scale(1.05); }
.case-body { padding: 28px; }
.case-body h3 { font-size: 1.4rem; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font: 400 .8rem var(--mono); color: var(--dim); margin-bottom: 12px; }
.meta .cat { color: var(--teal); }
.case-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0; padding: 18px 0; border-block: 1px solid var(--line); }
.case-stats b { display: block; font: 600 1.6rem var(--display); letter-spacing: -.03em; }
.case-stats small { color: var(--dim); font-size: .78rem; line-height: 1.35; display: block; }

/* Gov band */
.gov-band { background: radial-gradient(800px 400px at 80% 50%, rgba(var(--acc3-rgb), .1), transparent 70%); }
.gov-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.std-cloud { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.std-cloud li { padding: 11px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); font: 500 .9rem var(--display); transition: border-color .3s, background .3s, transform .3s; }
.std-cloud li:hover { border-color: rgba(var(--acc-rgb), .4); background: rgba(var(--acc-rgb), .06); transform: translateY(-2px); }

/* Badges */
.badges { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.badge { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.badge b { display: block; font: 600 .95rem var(--display); }
.badge small { color: var(--dim); font-size: .82rem; line-height: 1.4; display: block; margin-top: 2px; }
.badge-dot { width: 10px; height: 10px; border-radius: 3px; margin-top: 6px; flex: none; background: var(--grad); transform: rotate(45deg); }

/* Page hero */
.page-hero { position: relative; padding: clamp(72px, 10vw, 140px) 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.page-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); max-width: 18ch; }
.page-hero-glow { position: absolute; inset: -40% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(circle, rgba(var(--acc2-rgb), .18), rgba(var(--acc3-rgb), .08) 40%, transparent 65%); filter: blur(20px); animation: drift 18s ease-in-out infinite alternate; pointer-events: none; }
@keyframes drift { to { transform: translate(-8%, 10%) scale(1.1); } }
.nf { min-height: 70vh; display: grid; align-items: center; }

.subnav { display: flex; gap: 8px; flex-wrap: wrap; padding-bottom: 24px; }
.subnav a { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-size: .9rem; color: var(--muted); transition: .2s; }
.subnav a:hover { color: var(--text); border-color: var(--line-2); }

.svc-detail { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; scroll-margin-top: 90px; }
.svc-detail.flip .svc-visual { order: 2; }
.svc-visual { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3.4; border: 1px solid var(--line); }
.svc-visual .cover { width: 100%; height: 100%; }
.svc-icon { position: absolute; inset: 0; margin: auto; width: 110px; height: 110px; border-radius: 30px; display: grid; place-items: center; background: rgba(var(--bg-rgb), .55); border: 1px solid rgba(var(--ink-rgb), .2); backdrop-filter: blur(14px); color: var(--text); }
.svc-icon .ic { width: 50px; height: 50px; }
.outcome { display: flex; gap: 12px; padding: 16px 18px; border-radius: 14px; background: rgba(var(--acc-rgb), .06); border: 1px solid rgba(var(--acc-rgb), .2); color: var(--text-2); }
.outcome .ic { color: var(--amber); margin-top: 3px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.steps li { position: relative; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); }
.steps li > span { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: var(--on-grad); font: 700 .95rem var(--display); margin-bottom: 16px; }
.steps p { color: var(--muted); font-size: .92rem; margin: 0; }

/* Forge page */
.arch { border-radius: 24px; border: 1px solid var(--line-2); background: radial-gradient(600px 300px at 35% 50%, rgba(var(--acc-rgb), .08), transparent), var(--bg-2); padding: clamp(16px, 3vw, 40px); }
.diagram { width: 100%; height: auto; }
.dg-box rect { fill: rgba(var(--ink-rgb), .04); stroke: rgba(var(--ink-rgb), .18); }
.dg-core rect { fill: rgba(var(--acc-rgb), .08); stroke: url(#dgA); stroke-width: 2; }
.dg-model rect { fill: rgba(var(--acc2-rgb), .1); stroke: rgba(var(--acc2-rgb), .45); }
.dg-gate rect { fill: rgba(var(--warm-rgb), .08); stroke: rgba(var(--warm-rgb), .5); }
.dg-h { fill: var(--text); font: 600 17px var(--display); text-anchor: middle; }
.dg-h.sm { font-size: 14px; }
.dg-s { fill: var(--muted); font: 400 12px var(--mono); text-anchor: middle; }
.dg-s.b { fill: var(--text); font-weight: 500; }
.dg-label { fill: var(--teal); font: 500 11px var(--mono); letter-spacing: 2px; text-anchor: middle; text-transform: uppercase; }
.dg-line { fill: none; stroke: var(--line-3); stroke-width: 1.5; }
.dg-line.flow { stroke: var(--teal); stroke-dasharray: 6 8; animation: flow 1.6s linear infinite; opacity: .8; }
@keyframes flow { to { stroke-dashoffset: -28; } }
.stages { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.stage { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding: 32px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(90deg, rgba(var(--ink-rgb), .035), transparent); }
.stage-num { font: 600 2.6rem/1 var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stage p { color: var(--muted); }
.stage h3 { font-size: 1.6rem; }
.router { display: grid; gap: 12px; }
.route { display: grid; grid-template-columns: 1fr 70px 1fr; align-items: center; gap: 12px; }
.route span, .route b { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); font-size: .88rem; }
.route b { font-weight: 500; border-color: rgba(var(--acc2-rgb), .4); background: rgba(var(--acc2-rgb), .08); text-align: center; }
.route i { height: 2px; background: linear-gradient(90deg, var(--teal), var(--blue)); position: relative; border-radius: 2px; }
.route i::after { content: ''; position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px var(--teal); animation: travel 2s var(--d) infinite var(--ease); }
@keyframes travel { from { left: 0; opacity: 0; } 20% { opacity: 1; } to { left: calc(100% - 8px); opacity: 0; } }
.mini { display: flex; gap: 12px; align-items: flex-start; padding: 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); font-size: .95rem; }
.mini .ic { color: var(--teal); margin-top: 3px; }

/* Products page */
.product-list { display: grid; gap: 28px; }
.product-row { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; padding: 28px; border-radius: 28px; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(var(--ink-rgb), .03), transparent); scroll-margin-top: 90px; }
.product-art { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; }
.product-art .cover { width: 100%; height: 100%; }
.product-logo { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: radial-gradient(circle, rgba(var(--bg-rgb), .2), rgba(var(--bg-rgb), .6)); }
.product-logo .logo-mark { width: 72px; height: 72px; }
.product-logo span { font: 600 1.6rem var(--display); letter-spacing: -.03em;  }
.callout { display: grid; grid-template-columns: 1.5fr auto; gap: 40px; align-items: center; padding: clamp(32px, 5vw, 56px); border-radius: 28px; border: 1px solid var(--line-2); background: radial-gradient(600px 300px at 0% 0%, rgba(var(--acc-rgb), .12), transparent), radial-gradient(600px 300px at 100% 100%, rgba(var(--acc3-rgb), .14), transparent), var(--bg-2); }
.callout p:not(.eyebrow) { color: var(--muted); max-width: 60ch; margin: 0; }

/* Public sector */
.std { padding: 22px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg-2); }
.std h3 { font-size: 1.05rem; }
.std p { color: var(--muted); font-size: .9rem; margin: 0; }
.routes { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.routes li { display: flex; gap: 16px; padding: 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.routes .ic { color: var(--teal); width: 26px; height: 26px; }
.routes b { display: block; font-family: var(--display); margin-bottom: 4px; }
.routes span { color: var(--muted); font-size: .93rem; }
.faq { display: grid; gap: 10px; max-width: 880px; }
.faq details { border-radius: 16px; border: 1px solid var(--line); background: var(--surface); transition: border-color .2s; }
.faq details[open] { border-color: rgba(var(--acc-rgb), .3); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 24px; font: 600 1.05rem var(--display); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transform: rotate(90deg); transition: transform .3s; color: var(--teal); }
.faq details[open] summary .ic { transform: rotate(-90deg); }
.faq details p { padding: 0 24px 22px; margin: 0; color: var(--muted); }

/* Work */
.case { scroll-margin-top: 80px; }
.case-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 40px; }
.case-cover.big { aspect-ratio: 16 / 10; border-radius: 22px; border: 1px solid var(--line); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.chip { display: inline-flex; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: .82rem; color: var(--text-2); cursor: default; font-family: var(--font); }
.chip-mono { font: 500 .78rem var(--mono); }
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.case-grid p { color: var(--muted); font-size: 1.02rem; }
.case-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 32px 0 24px; }
.case-results div { padding: 26px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(var(--acc-rgb), .06), rgba(var(--acc3-rgb), .05)); }
.case-results b { display: block; font: 600 2.4rem/1 var(--display); letter-spacing: -.04em; margin-bottom: 10px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.case-results span { color: var(--muted); font-size: .92rem; }
.stack-line { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.stack-line > span:first-child { font: 500 .78rem var(--mono); color: var(--dim); text-transform: uppercase; letter-spacing: .1em; margin-right: 6px; }
.sep { border: 0; border-top: 1px solid var(--line); }

/* Insights */
.post-card { border-radius: 20px; border: 1px solid var(--line); background: var(--bg-2); overflow: hidden; transition: border-color .3s, transform .4s var(--ease); transform-style: preserve-3d; }
.post-card:hover { border-color: rgba(var(--acc-rgb), .3); }
.post-card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.post-cover { aspect-ratio: 16 / 9; overflow: hidden; }
.post-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-body h3 { font-size: 1.22rem; }
.post-body p:not(.meta) { color: var(--muted); font-size: .93rem; }
.post-body .link-arrow { margin-top: auto; }
.post-card-big { margin-bottom: 40px; }
.post-card-big .post-card-link { display: grid; grid-template-columns: 1.2fr 1fr; }
.post-card-big .post-cover { aspect-ratio: auto; min-height: 340px; }
.post-card-big .post-body { padding: clamp(28px, 4vw, 48px); justify-content: center; }
.post-card-big h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.filters { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
button.chip { cursor: pointer; font-size: .88rem; padding: 8px 14px; transition: .2s; color: var(--muted); }
button.chip:hover { color: var(--text); }
button.chip.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.search { display: flex; align-items: center; gap: 8px; padding: 0 14px; height: 42px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--dim); }
.search input { background: none; border: 0; color: var(--text); font: inherit; outline: none; width: 200px; }
.search:focus-within { border-color: var(--teal); }
.empty { color: var(--muted); text-align: center; padding: 40px; }
.subscribe { margin-top: 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 28px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); }
.subscribe > div:first-child { display: flex; gap: 16px; align-items: center; }
.subscribe > div:first-child > .ic { width: 32px; height: 32px; color: var(--amber); }
.subscribe h3 { margin: 0; } .subscribe p { margin: 0; color: var(--muted); }
.subscribe .btn-row { margin: 0; }

/* Article */
.article-head { padding: clamp(48px, 7vw, 96px) 0 40px; max-width: 900px; }
.article-head h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.back { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); text-decoration: none; font-size: .9rem; margin-bottom: 28px; }
.back .ic { transform: rotate(180deg); }
.byline { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 500; }
.article-cover { border-radius: 24px; overflow: hidden; aspect-ratio: 21 / 8; border: 1px solid var(--line); }
.article-cover .cover { width: 100%; height: 100%; }
.article-layout { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 64px; padding: 56px 0 24px; justify-content: center; }
.toc { position: sticky; top: 100px; align-self: start; font-size: .9rem; }
.toc ol { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 4px; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 5px 14px; color: var(--muted); text-decoration: none; border-left: 2px solid transparent; margin-left: -1px; }
.toc a:hover, .toc a.on { color: var(--text); border-color: var(--teal); }
.share { display: flex; gap: 8px; }
.share a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface); }
.prose { font-size: 1.1rem; line-height: 1.8; color: var(--text-2); }
.prose h2 { font-size: 1.75rem; margin: 2.2em 0 .7em; color: var(--text); scroll-margin-top: 100px; }
.prose h3 { font-size: 1.3rem; margin: 1.8em 0 .6em; color: var(--text); }
.prose p, .prose ul, .prose ol { margin: 0 0 1.3em; }
.prose li { margin-bottom: .5em; }
.prose strong { color: var(--text); }
.prose a { color: var(--teal); }
.prose blockquote { margin: 2em 0; padding: 4px 0 4px 24px; border-left: 3px solid; border-image: var(--grad) 1; font: 500 1.3rem/1.5 var(--display); color: var(--text); }
.prose code { font: .9em var(--mono); background: var(--surface-2); padding: 2px 6px; border-radius: 6px; }
.prose pre { background: var(--bg-3); border: 1px solid var(--line); padding: 20px; border-radius: 14px; overflow-x: auto; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.prose.narrow { max-width: 760px; }
.read-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--grad); z-index: 60; }

/* About */
.fin-visual { position: relative; aspect-ratio: 1; border-radius: 28px; border: 1px solid var(--line); overflow: hidden; background: radial-gradient(circle at 50% 35%, rgba(var(--acc-rgb), .15), transparent 50%), var(--bg-2); display: grid; place-items: center; }
.fin-visual > .logo-mark { position: absolute; top: 10%; width: 52%; height: auto; animation: bob 6s ease-in-out infinite; filter: drop-shadow(0 0 40px rgba(var(--acc-rgb), .4)); }
@keyframes bob { 50% { transform: translateY(-10px); } }
.waterline { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, var(--teal), transparent); box-shadow: 0 0 20px var(--teal); }
.below { position: absolute; top: 50%; left: 0; right: 0; bottom: 0; background: linear-gradient(180deg, rgba(var(--acc-rgb), .08), rgba(var(--acc2-rgb), .12)); display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 10px; padding: 24px; }
.below .below-h { flex-basis: 100%; text-align: center; border: 0; background: none; font: 600 1rem var(--display); color: var(--text); padding: 0 0 6px; }
.below span { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(var(--ink-rgb), .15); background: rgba(var(--bg-rgb), .5); font: 500 .82rem var(--mono); color: var(--text-2); }
.mission-band { background: linear-gradient(180deg, transparent, rgba(var(--acc2-rgb), .06), transparent); }
.mission { padding: 40px; border-radius: 24px; border: 1px solid var(--line-2); background: var(--bg-2); }
.mission h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.3; font-weight: 500; }
.value-num { font: 500 .8rem var(--mono); color: var(--teal); margin-bottom: 18px; display: block; }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; display: grid; gap: 8px; }
.timeline::before { content: ''; position: absolute; left: 88px; top: 10px; bottom: 10px; width: 1px; background: linear-gradient(var(--teal), var(--violet)); }
.timeline li { display: grid; grid-template-columns: 70px 1fr; gap: 48px; padding: 18px 0; position: relative; }
.timeline li::before { content: ''; position: absolute; left: 83px; top: 26px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 2px solid var(--teal); }
.t-year { font: 600 1.2rem var(--display); color: var(--teal); padding-top: 2px; }
.timeline h3 { font-size: 1.3rem; margin-bottom: .3em; }
.timeline p { color: var(--muted); margin: 0; max-width: 64ch; }
.founder { display: grid; grid-template-columns: 260px 1fr; gap: 48px; padding: clamp(28px, 4vw, 48px); border-radius: 28px; border: 1px solid var(--line-2); background: radial-gradient(500px 300px at 0% 0%, rgba(var(--acc-rgb), .1), transparent), var(--bg-2); margin-bottom: 56px; }
.founder h3 { font-size: 2.2rem; }
.founder p:not(.eyebrow) { color: var(--text-2); }
.avatar { width: 64px; height: 64px; border-radius: 50%; position: relative; display: grid; place-items: center; background: conic-gradient(from 200deg, #0e2a47, #1f5fbf, #ff6b4a, #0e2a47); padding: 2px; flex: none; }
.avatar > span { width: 100%; height: 100%; border-radius: 50%; background: radial-gradient(circle at 30% 25%, var(--avatar-a), var(--avatar-b)); display: grid; place-items: center; font: 600 1.2rem var(--display); letter-spacing: -.02em; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.avatar.sm { width: 34px; height: 34px; } .avatar.sm .logo-mark { width: 20px; height: 20px; }
.avatar.lg { width: 84px; height: 84px; margin-bottom: 20px; } .avatar.lg > span { font-size: 1.6rem; }
.avatar.xl { width: 100%; height: auto; aspect-ratio: 1; padding: 3px; } .avatar.xl > span { font-size: 4.5rem; }
.sub-h { font-size: 1.5rem; margin: 0 0 20px; }
.person { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); position: relative; overflow: hidden; display: flex; flex-direction: column; }
.person h3 { font-size: 1.4rem; }
.person p:not(.eyebrow) { color: var(--muted); font-size: .95rem; }
.person .link-arrow { margin-top: auto; }
.person + .person, .grid-3 + .sub-h { margin-top: 0; }
.grid-3 + .sub-h { margin-top: 56px; }
.network { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.net { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; transition: border-color .2s, transform .2s; }
.net:hover { border-color: rgba(var(--acc-rgb), .35); transform: translateY(-2px); }
.net .avatar { width: 46px; height: 46px; } .net .avatar > span { font-size: .95rem; }
.net b { display: block; font-family: var(--display); font-size: .98rem; }
.net small { color: var(--dim); }
.net > .ic { margin-left: auto; color: var(--dim); }
.facts { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; padding: clamp(28px, 4vw, 48px); border-radius: 28px; border: 1px solid var(--line); background: var(--surface); }
.facts p:not(.eyebrow) { color: var(--muted); }
.facts dl { margin: 0; display: grid; }
.facts dl div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--dim); font: 500 .8rem var(--mono); text-transform: uppercase; letter-spacing: .08em; padding-top: 3px; }
.facts dd { margin: 0; font-weight: 500; }
.facts dd a { display: inline-flex; align-items: center; gap: 6px; color: var(--teal); }

/* Trust */
.roadmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.road { padding: 26px; border-radius: 18px; border: 1px dashed var(--line-2); background: var(--bg-2); }
.road .when { display: inline-block; font: 500 .75rem var(--mono); color: var(--amber); background: rgba(var(--warm-rgb), .08); border: 1px solid rgba(var(--warm-rgb), .25); padding: 4px 10px; border-radius: 999px; margin-bottom: 16px; }
.road p { color: var(--muted); font-size: .92rem; margin: 0; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.tier { position: relative; display: flex; flex-direction: column; padding: 30px 26px; border-radius: 22px; border: 1px solid var(--line); background: var(--bg-2); }
.tier.featured { border-color: transparent; background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; box-shadow: 0 30px 80px -30px rgba(var(--acc2-rgb), .5); }
.tier-flag { position: absolute; top: -12px; left: 26px; background: var(--grad); color: var(--on-grad); font: 700 .72rem var(--mono); padding: 5px 10px; border-radius: 999px; letter-spacing: .06em; text-transform: uppercase; }
.tier h2 { font-size: 1.9rem; margin-bottom: .2em; }
.price { font: 600 1.25rem var(--display); margin: 8px 0 14px; display: flex; flex-direction: column; }
.price small { font: 400 .82rem var(--mono); color: var(--dim); margin-top: 4px; }
.tier > p:not(.eyebrow):not(.price) { color: var(--muted); font-size: .94rem; }
.tier .ticks { margin-top: 8px; }
.tier .btn { margin-top: auto; justify-content: center; }
.note { display: flex; gap: 10px; align-items: center; justify-content: center; color: var(--muted); margin-top: 28px; font-size: .92rem; text-align: center; }
.note .ic { color: var(--amber); }

/* Contact */
.contact { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.form { padding: clamp(24px, 4vw, 40px); border-radius: 24px; border: 1px solid var(--line-2); background: var(--bg-2); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 24px; }
.form label { display: grid; gap: 8px; font-weight: 500; font-size: .92rem; }
.form .full { grid-column: 1 / -1; }
.form .opt { color: var(--dim); font-weight: 400; }
.form input, .form select, .form textarea { width: 100%; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px; padding: 13px 14px; transition: border-color .2s, box-shadow .2s; min-height: 48px; }
.form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%23a3afc2' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(var(--acc-rgb), .15); }
.form [aria-invalid="true"] { border-color: var(--danger); }
.form .check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; color: var(--muted); }
.form .check input { width: 22px; height: 22px; min-height: 0; flex: none; accent-color: var(--teal); margin-top: 2px; }
.form .check a { color: var(--teal); }
.hp { position: absolute !important; left: -9999px; }
#enquiry { scroll-margin-top: 100px; }
.form-status { margin: 16px 0 0; font-weight: 500; }
.form-status.ok { color: var(--teal); } .form-status.err { color: var(--danger); }
.form.sent .form-grid, .form.sent > .btn { display: none; }
.contact-side h2 { font-size: 1.6rem; }
.next { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 16px; counter-reset: n; }
.next li { counter-increment: n; display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; }
.next li::before { content: counter(n); grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(var(--acc-rgb), .4); color: var(--teal); font: 600 .95rem var(--display); }
.next span { color: var(--muted); font-size: .93rem; }
.side-card { padding: 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); margin-bottom: 12px; }
.side-card .eyebrow { margin-bottom: 6px; }
.side-card p:not(.eyebrow) { margin: 0; color: var(--muted); }
.side-card a { color: var(--teal); font-weight: 600; }

/* Footer */
.site-footer { margin-top: 40px; border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(var(--acc2-rgb), .04)); }
.footer-cta { padding: clamp(56px, 8vw, 100px) 0; }
.footer-cta-inner { display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: end; }
.footer-cta h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); margin: 0; }
.footer-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding: 48px 0; border-top: 1px solid var(--line); }
.footer-brand p { color: var(--muted); font-size: .93rem; max-width: 38ch; margin-top: 16px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface); color: var(--muted); transition: .2s; }
.footer-social a:hover { color: var(--teal); border-color: rgba(var(--acc-rgb), .4); }
.footer-grid h3 { font: 500 .78rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid ul a { color: var(--text-2); text-decoration: none; font-size: .95rem; }
.footer-grid ul a:hover { color: var(--teal); }
.footer-legal { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 24px 0 40px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--dim); }
.footer-legal p { margin: 0; }
.built-with { display: inline-flex; align-items: center; gap: 8px; }
.built-with .ic { color: var(--teal); }

/* Reveal motion */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.tilt { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .statement-text .w { color: var(--text); }
}

/* Responsive */
@media (max-width: 1100px) {
  .main-nav { display: none; }
  .nav-toggle { display: grid; }
  .header-cta { margin-left: auto; }
  .grid-4, .pricing, .roadmap { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-console { max-width: 560px; }
  .article-layout { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; display: none; }
}
@media (max-width: 860px) {
  .grid-2, .grid-3, .split, .gov-grid, .svc-detail, .product-row, .case-head, .case-grid, .contact, .facts, .founder, .callout, .footer-cta-inner { grid-template-columns: 1fr; }
  .svc-detail.flip .svc-visual { order: 0; }
  .svc-detail, .split, .gov-grid, .product-row { gap: 32px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(2) { border-right: 0; }
  .stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .tablist { grid-template-columns: repeat(5, minmax(120px, 1fr)); overflow-x: auto; }
  .compare-row { grid-template-columns: 1fr 1fr; }
  .compare-row > span:first-child { grid-column: 1 / -1; padding-bottom: 0; }
  .compare-headrow > span:first-child { display: none; }
  .post-card-big .post-card-link { grid-template-columns: 1fr; }
  .post-card-big .post-cover { min-height: 0; aspect-ratio: 16 / 9; }
  .founder { gap: 28px; } .founder .avatar.xl { max-width: 200px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .case-results { grid-template-columns: 1fr; }
  .facts dl div { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 560px) {
  .grid-4, .pricing, .roadmap, .steps, .form-grid { grid-template-columns: 1fr; }
  .header-cta .btn { display: none; }
  .hero { padding-top: 24px; }
  .console-body { height: 240px; font-size: .72rem; }
  .console-foot { grid-template-columns: repeat(2, 1fr); }
  .console-foot div:nth-child(2) { border-right: 0; }
  .console-foot div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stats { grid-template-columns: 1fr; }
  .stats > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .case-stats { grid-template-columns: 1fr; }
  .stage { grid-template-columns: 1fr; gap: 8px; padding: 24px; }
  .timeline::before, .timeline li::before { display: none; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .route { grid-template-columns: 1fr 40px 1fr; }
  .search input { width: 100%; }
  .search, .filters { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .article-cover { aspect-ratio: 16 / 9; }
}
.grid-2 + .center, .grid-3 + .center, .forge-tabs + .center { margin-top: 40px; }
.share .ic, .footer-social .ic { width: 18px; height: 18px; }
@media (max-width: 560px) { .pill-sep, .pill-more { display: none; } .scroll-cue { display: none; } .hero-console { margin-top: 8px; } }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.5rem); }

/* ---- Abhaya: open hand, "fear not" ---- */
.hero { background: radial-gradient(900px 600px at 78% 45%, rgba(var(--acc2-rgb), .07), transparent 70%); }
.hero h1 { font-size: clamp(3rem, 7.4vw, 6.2rem); }
.hero-mark { position: relative; z-index: 2; display: grid; place-items: center; gap: 18px; }
.hero-mark .logo-mark { width: min(360px, 78%); height: auto; filter: drop-shadow(0 30px 50px rgba(var(--acc2-rgb), .28)); animation: bob 7s ease-in-out infinite; }
.hero-mark-caption { font: 500 .78rem var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--dim); }
.pill [lang="sa"] { font-weight: 600; }
.forge-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 40px; }
.forge-intro .section-head { margin-bottom: 0; }
.abhaya-intro { display: grid; grid-template-columns: 200px 1fr; gap: 48px; align-items: center; margin-bottom: 44px; }
.abhaya-mark { aspect-ratio: 1; border-radius: 32px; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, rgba(var(--acc2-rgb), .12), rgba(var(--acc-rgb), .05) 60%, transparent 75%), var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.abhaya-mark .logo-mark { width: 70%; height: auto; }
.abhaya-intro .lead { max-width: 70ch; }
.promise { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.promise .card { padding: 24px; }
.promise-top { display: flex; justify-content: space-between; align-items: flex-start; }
.promise-top .card-icon { margin-bottom: 16px; }
.promise-num { font: 500 .8rem var(--mono); color: var(--dim); }
.promise-fear { font: 500 .72rem var(--mono) !important; letter-spacing: .1em; text-transform: uppercase; color: var(--teal) !important; margin-bottom: 8px; }
.promise h3 { font-size: 1.08rem; }
.promise p:not(.promise-fear) { font-size: .9rem; margin: 0; }
.card-icon { color: var(--teal); }
.btn-ghost { background: var(--surface); }
.site-header.scrolled { box-shadow: 0 1px 0 var(--line); }
@media (max-width: 1100px) { .promise { grid-template-columns: repeat(3, 1fr); } .forge-intro { grid-template-columns: 1fr; } .hero-mark .logo-mark { width: min(260px, 60%); } }
@media (max-width: 860px) { .abhaya-intro { grid-template-columns: 1fr; gap: 24px; } .abhaya-mark { max-width: 160px; } .promise { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .promise { grid-template-columns: 1fr; } .hero-mark { order: -1; } .hero-mark .logo-mark { width: 150px; } .hero-mark-caption { display: none; } }


/* ---- Ripple ---- */
h1, h2 { font-weight: 800; letter-spacing: -.035em; }
h3 { font-weight: 700; }
.logo-word { font: 700 1.5rem/1 var(--display); letter-spacing: -.03em; color: #1f5fbf; }
.logo-word b { font-weight: 700; background: none; -webkit-background-clip: initial; background-clip: initial; color: #1f5fbf; }
.grad, .stats b, .case-results b, .stage-num { background: none; -webkit-background-clip: initial; background-clip: initial; color: #1f5fbf; }
.btn-primary { background: #ff6b4a; color: #0e2a47; box-shadow: 0 8px 24px -10px rgba(255, 107, 74, .7); }
.btn-primary:hover { background: #ff7c5e; box-shadow: 0 12px 30px -10px rgba(255, 107, 74, .8); }
.header-cta .btn-primary { background: #1f5fbf; color: #fff; box-shadow: 0 6px 18px -8px rgba(31, 95, 191, .6); }
.header-cta .btn-primary:hover { background: #1a52a6; }
.btn-ghost { border-color: #1f5fbf; color: #1f5fbf; }
.eyebrow { color: #c24428; }
.pill { background: rgba(255, 107, 74, .08); border-color: rgba(255, 107, 74, .35); }
.pill-dot { background: #ff6b4a; }
.logo-mark { filter: none; }
.hero { background: radial-gradient(860px 600px at 78% 45%, rgba(31, 95, 191, .08), transparent 70%); }
.hero h1 em { font-style: normal; color: #1f5fbf; }
.hero-mark .logo-mark { width: min(300px, 70%); filter: drop-shadow(0 20px 40px rgba(31, 95, 191, .18)); animation: none; }
.hero-mark-caption { display: none; }
.tier-flag { background: #ff6b4a; color: #0e2a47; }
.tier.featured { background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, linear-gradient(100deg, #1f5fbf, #ff6b4a) border-box; }
.card-icon { background: rgba(31, 95, 191, .07); border-color: rgba(31, 95, 191, .2); }
.abhaya-mark { background: radial-gradient(circle at 34% 38%, rgba(255, 107, 74, .12), transparent 55%), var(--surface); }
.page-hero-glow { background: radial-gradient(circle, rgba(31, 95, 191, .14), rgba(255, 107, 74, .06) 45%, transparent 68%); }
.hero h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); }
