/* Nubazo brand website — white + brand blue fintech AI theme */
:root {
  /* Accent: change these two to re-colour the whole site */
  --accent: #1e5eff; --accent-deep: #0b2f8f;
  --accent-soft: #eef3ff; --accent-line: #cfdcff;
  --ink: #0b1a3a; --text: #1d2a48; --text-2: #4a5878; --text-3: #6b7896;
  --blue: #1e6ff2; --indigo: #5b4ff0; --cyan: #08b4d8; --teal: #0fb48c; --purple: #7c5cf5; --amber: #d98a00; --red: #e0435b;
  --gradient: linear-gradient(120deg, #7c5cf5 0%, #1e6ff2 38%, #06b6d4 70%, #10c99a 100%);
  --bg: #ffffff; --bg-soft: #f5f8ff; --surface: #ffffff; --surface-2: #f3f6fd;
  --border: #e3e9f5; --border-2: #d2dbee;
  --radius: 14px; --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(11, 26, 58, .04), 0 12px 32px rgba(11, 26, 58, .06);
  --glow: 0 0 0 1px var(--accent-line), 0 22px 50px rgba(30, 94, 255, .14);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Outfit", "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --container: 1600px; --gutter: clamp(20px, 4vw, 64px);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 92px; background: var(--bg); }
body { margin: 0; font: 16px/1.65 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; letter-spacing: -.025em; margin: 0 0 .55em; color: var(--ink); font-weight: 600; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
strong { color: var(--ink); }
::selection { background: rgba(30, 94, 255, .18); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.grad { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mono { font-family: var(--mono); }
/* Brand mark standing in for the "N-" of module names. The text stays in the DOM for screen readers,
   search and copy, but is pushed outside the box so it can never show behind the mark. */
.n-mark { display: inline-block; width: 1.12em; height: 1.08em; margin-right: .14em; vertical-align: -.2em; background: url("../assets/img/nubazo-mark.png") center/contain no-repeat; overflow: hidden; text-indent: 200%; white-space: nowrap; color: transparent; text-shadow: none; -webkit-text-fill-color: transparent; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font: 600 15px/1.2 var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s, background .15s, box-shadow .2s, border-color .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); box-shadow: 0 10px 26px rgba(30, 94, 255, .3); }
.btn-gradient { background: var(--accent); color: #fff; box-shadow: 0 10px 28px rgba(30, 94, 255, .28); }
.btn-gradient:hover { background: var(--accent-deep); box-shadow: 0 14px 36px rgba(30, 94, 255, .36); }
.btn-outline { border-color: var(--border-2); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-light { background: #fff; color: var(--accent-deep); }
.btn-light:hover { box-shadow: 0 10px 26px rgba(0, 0, 0, .18); }
.btn-ghost-light { border-color: var(--border-2); color: var(--ink); background: #fff; }
.btn-ghost-light:hover { border-color: var(--accent); color: var(--accent); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; color: var(--accent); }
.link-arrow::after { content: "→"; transition: transform .15s; }
.link-arrow:hover::after, a:hover .link-arrow::after { transform: translateX(3px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: 0 6px 24px rgba(11, 26, 58, .06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font: 700 32px/1 var(--display); letter-spacing: -.035em; }
.logo img { width: 44px; height: auto; }
.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.primary-nav ul a { color: var(--text-2); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 14px; border-radius: 999px; transition: color .15s, background .15s; }
.primary-nav ul a:hover { color: var(--ink); background: var(--surface-2); }
.primary-nav ul a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--border-2); border-radius: 12px; background: #fff; cursor: pointer; position: relative; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { position: absolute; left: 12px; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; content: ""; }
.nav-toggle .bars { top: 21px; } .nav-toggle .bars::before { top: -6px; left: 0; } .nav-toggle .bars::after { top: 6px; left: 0; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Sections */
.section { padding: 110px 0; position: relative; }
.section-soft { background: var(--bg-soft); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 12.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; padding: 7px 12px; border-radius: 999px; background: var(--accent-soft); border: 1px solid var(--accent-line); }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.section-head { max-width: 860px; margin: 0 auto 60px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head p { font-size: 18px; color: var(--text-2); }
.lead { font-size: 19px; color: var(--text-2); }
/* Accent-coloured band */
.section-dark { background: radial-gradient(60% 80% at 100% 0%, rgba(255, 255, 255, .14), transparent 60%), linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%); color: rgba(255, 255, 255, .86); }
.section-dark h2, .section-dark h3, .section-dark strong { color: #fff; }
.section-dark .section-head p, .section-dark p { color: rgba(255, 255, 255, .82); }
.section-dark .eyebrow { color: #fff; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .28); }
.section-dark .eyebrow::before { background: #fff; }
.section-dark .card, .section-dark .steps li { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); box-shadow: none; }
.section-dark .card p, .section-dark .steps p { color: rgba(255, 255, 255, .8); }
.section-dark .icon { background: rgba(255, 255, 255, .16); color: #fff; }
.section-dark .chips li { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .24); color: #fff; }
.section-dark .steps li::before { color: #fff; background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); }
.section-dark .card::after { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 100px 0 90px; isolation: isolate; background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.hero::before { content: ""; position: absolute; inset: -30% -10% auto; height: 130%; z-index: -2; background: radial-gradient(35% 45% at 75% 30%, rgba(30, 94, 255, .12), transparent 70%), radial-gradient(30% 40% at 15% 80%, rgba(124, 92, 245, .08), transparent 70%); animation: aurora 18s ease-in-out infinite alternate; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(11, 26, 58, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 26, 58, .05) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%); pointer-events: none; }
@keyframes aurora { to { transform: translate3d(4%, -3%, 0) scale(1.08); } }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 88px); align-items: center; }
.hero .lead { max-width: 620px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 34px 0 30px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 15px; color: var(--text-2); }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before, .checklist li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e5eff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat; flex: none; }
.announce { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; margin-bottom: 26px; border-radius: 999px; border: 1px solid var(--border-2); background: #fff; color: var(--text-2); font-size: 14px; text-decoration: none; box-shadow: var(--shadow); transition: border-color .15s; }
.announce:hover { border-color: var(--accent); color: var(--ink); }
.announce b { font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; background: var(--accent); color: #fff; }

/* Hero: credit policy simulator (illustrative, driven by main.js) */
.sim { position: relative; border-radius: 24px; background: #fff; border: 1px solid var(--border); box-shadow: 0 2px 4px rgba(11, 26, 58, .04), 0 40px 90px rgba(30, 94, 255, .16); }
.sim::before { content: ""; position: absolute; inset: 0 24px auto; height: 3px; border-radius: 0 0 4px 4px; background: var(--gradient); }
.sim-inner { padding: 24px; display: grid; gap: 18px; }
.sim-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.sim-head small { display: block; font: 600 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.sim-head h2 { font-size: 1.3rem; margin: 0; }
.sim-head .badge { flex: none; font: 500 11px var(--mono); color: var(--text-3); padding: 5px 9px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface-2); }
.sim-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sim-metric { display: flex; flex-direction: column; justify-content: space-between; padding: 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); }
.sim-metric span { display: block; font-size: 12.5px; color: var(--text-3); line-height: 1.3; }
.sim-metric b { display: block; font: 600 26px/1.25 var(--display); color: var(--ink); margin-top: 4px; font-variant-numeric: tabular-nums; }
.sim-metric.good b { color: var(--teal); } .sim-metric.warn b { color: var(--amber); } .sim-metric.bad b { color: var(--red); }
.sim-chart { position: relative; padding: 16px 14px 10px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--border); }
.sim-legend { display: flex; gap: 16px; font-size: 12.5px; color: var(--text-2); margin-bottom: 12px; flex-wrap: wrap; }
.sim-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; background: var(--accent); }
.sim-legend i.off { background: #cdd5e6; }
.sim-legend i.best { width: 2px; height: 12px; border-radius: 0; background: var(--amber); }
.sim-bars { position: relative; display: flex; align-items: flex-end; gap: 3px; height: 120px; }
.sim-bars span { flex: 1; height: var(--h); border-radius: 4px 4px 1px 1px; background: linear-gradient(180deg, #4f86ff, var(--accent)); }
.sim-bars span.off { background: #d9dfeb; }
.sim-best { position: absolute; top: -6px; bottom: 0; width: 0; border-left: 2px dashed var(--amber); left: var(--x); }
.sim-best::before { content: "Max profit"; position: absolute; top: -4px; left: 6px; padding: 1px 4px; border-radius: 4px; background: #fff; font: 600 10.5px var(--mono); color: var(--amber); white-space: nowrap; }
.sim-cut { position: absolute; top: -6px; bottom: 0; width: 2px; margin-left: -1px; background: var(--ink); left: var(--x); }
.sim-axis { display: flex; justify-content: space-between; font: 500 11px var(--mono); color: var(--text-3); margin-top: 8px; }
.sim-control label { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.sim-control output { font: 600 14px var(--mono); color: var(--accent); }
.sim-range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: linear-gradient(90deg, #d9dfeb var(--p, 40%), var(--accent) var(--p, 40%)); cursor: pointer; }
.sim-range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); box-shadow: 0 0 0 6px rgba(30, 94, 255, .15); }
.sim-range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); box-shadow: 0 0 0 6px rgba(30, 94, 255, .15); }
.sim-hint { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--text-3); margin: 8px 0 0; }
.sim-verdict { margin: 0; padding: 12px 14px; border-radius: 12px; font-size: 14px; color: var(--text); background: var(--accent-soft); border: 1px solid var(--accent-line); }
.sim-verdict b { color: var(--accent-deep); }
html:not(.js) .sim-control, html:not(.js) .sim-hint { display: none; }

/* Logo / tech marquee */
.marquee { padding: 40px 0 44px; border-block: 1px solid var(--border); background: #fff; overflow: hidden; }
.marquee p { text-align: center; font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 18px; }
.marquee-track { display: flex; gap: 16px; padding-block: 6px; width: max-content; list-style: none; margin: 0; padding: 0; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px 12px 14px; border-radius: 16px; border: 1px solid var(--border); color: var(--ink); font: 600 15.5px var(--display); white-space: nowrap; background: #fff; box-shadow: var(--shadow); }
.marquee-track img { width: 28px; height: 28px; object-fit: contain; border-radius: 6px; }
.marquee-track .glyph { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); }
.marquee-track .glyph svg { width: 18px; height: 18px; }
.marquee-mask { mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
@keyframes marquee { to { transform: translateX(-50%); } }

.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: 100px 0 84px; border-bottom: 1px solid var(--border); background: linear-gradient(180deg, #fff, var(--bg-soft)); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(40% 70% at 85% 0%, rgba(30, 94, 255, .12), transparent 70%); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(11, 26, 58, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 26, 58, .05) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 60% 80% at 75% 20%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 60% 80% at 75% 20%, #000 20%, transparent 75%); }
.page-hero h1 { max-width: 900px; font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
.page-hero .lead { max-width: 760px; }
.page-hero .hero-actions { margin-bottom: 0; }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.subnav a { color: var(--text); text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--border-2); background: #fff; transition: border-color .15s, color .15s; }
.subnav a:hover { border-color: var(--accent); color: var(--accent); }

/* Grids & cards */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s, border-color .25s; }
/* Cursor-following highlight (position set by main.js) */
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, -50%), rgba(30, 94, 255, .06), transparent 40%); opacity: 0; transition: opacity .3s; }
.card:hover::after { opacity: 1; }
a.card { display: block; color: inherit; text-decoration: none; }
a.card:hover, .card.hover:hover { transform: translateY(-4px); border-color: var(--accent-line); box-shadow: var(--glow); }
.card p { color: var(--text-2); margin-bottom: 0; }
.card h3 { margin-top: 20px; }
.icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent-line); }
.icon svg { width: 24px; height: 24px; }
.checklist { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 9px; }
.checklist li { position: relative; padding-left: 28px; color: var(--text-2); font-size: 15px; }
.checklist li::before { position: absolute; left: 0; top: 4px; }
.checklist.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 24px; }

/* Bento (homepage pillars) */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.bento > * { grid-column: span 2; }
.bento > .wide { grid-column: span 3; }
.bento > .xl { grid-column: span 4; }
.bento .card h3 { font-size: 1.35rem; }
.bento .viz { margin-top: 22px; }
.bars-viz { display: flex; align-items: flex-end; gap: 8px; height: 96px; }
.bars-viz span { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #4f86ff, var(--accent)); height: var(--h); transform-origin: bottom; }
.bars-viz span:nth-child(2n) { background: linear-gradient(180deg, #bcd0ff, #8fb0ff); }
.in .bars-viz span { animation: grow .9s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes grow { from { transform: scaleY(0); } }
.agent-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font: 500 13px var(--mono); }
.agent-steps li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2); }
.agent-steps li::before { content: "✓"; color: var(--teal); }
.agent-steps li.wait::before { content: "◷"; color: var(--amber); }
.agent-steps li.wait { color: var(--amber); background: #fff8eb; border-color: #f6dfb0; }

/* Facts band (product facts only) */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; overflow: hidden; margin-top: 56px; box-shadow: var(--shadow); }
.facts div { padding: 30px 20px; text-align: center; border-right: 1px solid var(--border); }
.facts div:last-child { border-right: 0; }
.facts b { display: block; font: 600 2.8rem/1 var(--display); color: var(--accent); margin-bottom: 10px; }
.facts span { color: var(--text-2); font-size: 15px; }

/* Suite map */
.suite { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cat { position: relative; border-radius: var(--radius-lg); padding: 26px; background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--c); box-shadow: var(--shadow); }
.cat-a { --c: var(--purple); } .cat-b { --c: var(--accent); } .cat-c { --c: var(--teal); }
.cat-tag { display: inline-flex; align-items: center; gap: 8px; font: 600 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.cat-tag i { font-style: normal; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: var(--c); color: #fff; font-size: 12px; letter-spacing: 0; }
.cat h3 { margin: 12px 0 18px; }
.mods { display: grid; gap: 10px; }
.mod { display: block; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface-2); text-decoration: none; color: inherit; transition: border-color .15s, background .15s, transform .15s; }
.mod:hover, .mod:focus-visible { border-color: var(--c); background: #fff; transform: translateX(3px); }
.mod b { font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--ink); display: block; }
.mod span { font-size: 14px; color: var(--text-3); }
.shared-band { margin-top: 20px; border-radius: var(--radius-lg); padding: 22px 26px; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); color: rgba(255, 255, 255, .85); display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.shared-band b { color: #fff; font-family: var(--display); font-size: 18px; font-weight: 600; }
.shared-band ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.shared-band li { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: 14px; color: #fff; }
.shared-band .link-arrow { margin-left: auto; color: #fff; }

/* Steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; position: relative; }
.steps li { position: relative; padding: 26px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.steps li::before { counter-increment: s; content: counter(s, decimal-leading-zero); font: 600 13px var(--mono); color: var(--accent); display: inline-block; margin-bottom: 14px; letter-spacing: .05em; padding: 4px 8px; border-radius: 6px; background: var(--accent-soft); border: 1px solid var(--accent-line); }
.steps h3 { font-size: 18px; margin-bottom: 8px; }
.steps p { color: var(--text-2); font-size: 15px; margin: 0; }
.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Split feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split + .split { margin-top: 100px; }
.split.reverse > :first-child { order: 2; }
.panel { position: relative; border-radius: var(--radius-lg); padding: 34px; background: linear-gradient(160deg, var(--accent-soft), #fff 70%); border: 1px solid var(--accent-line); box-shadow: var(--shadow); }
.panel h3 { font-size: 1.1rem; }
.flow { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.flow li { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px; font-weight: 600; font-size: 15px; position: relative; color: var(--ink); }
.flow li small { font-weight: 500; color: var(--text-3); margin-left: auto; text-align: right; }
.flow li + li::before { content: ""; position: absolute; left: 30px; top: -11px; width: 2px; height: 10px; background: var(--accent-line); }
.flow .n { flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--accent); color: #fff; display: grid; place-items: center; font: 700 13px var(--mono); }

/* Module detail */
.module { scroll-margin-top: 96px; }
.module-head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.module-head h3 { margin: 0; font-size: 1.5rem; }
.pill { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.category-block { scroll-margin-top: 90px; }
.category-block + .category-block { margin-top: 90px; }
.category-title { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.category-title i { font-style: normal; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; font: 700 18px var(--display); background: var(--c); }
.category-title h2 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.category-title p { margin: 2px 0 0; color: var(--text-3); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-weight: 500; font-size: 14px; color: var(--text); }

/* Roles */
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.roles li { padding: 16px 18px; border-radius: 14px; border: 1px solid var(--border); background: #fff; }
.roles b { display: block; color: var(--ink); }
.roles span { font-size: 14px; color: var(--text-3); }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; padding: 0 22px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--accent-line); box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 32px 20px 0; font-weight: 600; font-size: 17px; position: relative; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 15px; font-size: 24px; font-weight: 300; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-2); padding-bottom: 20px; margin: 0; }

/* CTA band */
.cta-band { padding: 20px 0 110px; }
.cta-inner { position: relative; overflow: hidden; border-radius: 30px; padding: 64px 56px; background: radial-gradient(50% 120% at 100% 0%, rgba(255, 255, 255, .18), transparent 60%), linear-gradient(135deg, var(--accent), var(--accent-deep)); color: rgba(255, 255, 255, .85); display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-inner::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(90deg, transparent, #000); -webkit-mask-image: linear-gradient(90deg, transparent, #000); pointer-events: none; }
.cta-inner > * { position: relative; z-index: 1; }
.cta-inner h2 { color: #fff; margin-bottom: 10px; }
.cta-inner p { margin: 0; max-width: 560px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-inner .btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.cta-inner .btn-ghost-light:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.contact-aside .card + .card { margin-top: 18px; }
.contact-aside h3 { margin-top: 0; }
.form-card { padding: 36px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: 14px; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--text-3); }
.input { width: 100%; padding: 12px 14px; border: 1px solid var(--border-2); border-radius: 12px; font: 15px var(--font); color: var(--text); background: #fff; transition: border-color .15s, box-shadow .15s; }
.input::placeholder { color: #98a3bb; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(30, 94, 255, .12); }
textarea.input { min-height: 130px; resize: vertical; }
.field.invalid .input { border-color: #dc2626; }
.field .err { color: #b91c1c; font-size: 13px; min-height: 0; }
fieldset.field { border: 0; padding: 0; margin: 0 0 18px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--border-2); border-radius: 999px; font-weight: 500; font-size: 14px; cursor: pointer; color: var(--text-2); transition: border-color .15s, color .15s; }
.checks label:has(input:checked) { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.checks input, .consent input { accent-color: var(--accent); }
.field label.consent { font-weight: 400; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); }
.consent input { margin-top: 4px; }
.form-note { font-size: 13px; color: var(--text-3); margin-top: 14px; }
.hp { position: absolute; left: -9999px; }
.form-success { text-align: center; padding: 30px 10px; }
.form-success .icon { margin: 0 auto 16px; }
.form-status { font-size: 14px; margin-top: 12px; }
.form-status.error { color: #b91c1c; }

/* Prose (legal) */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose p, .prose li { color: var(--text-2); }
.notice { border-left: 3px solid var(--accent); background: var(--accent-soft); padding: 16px 20px; border-radius: 0 12px 12px 0; color: var(--text-2); font-size: 15px; }

/* Footer */
.site-footer { position: relative; background: var(--bg-soft); border-top: 1px solid var(--border); color: var(--text-3); padding: 80px 0 30px; font-size: 15px; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.4fr; gap: 36px; }
.footer-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font: 700 32px var(--display); letter-spacing: -.03em; margin-bottom: 14px; }
.tagline { font-weight: 600; color: var(--accent); }
.site-footer h2 { color: var(--ink); font: 600 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--text-2); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer .btn-gradient { color: #fff; }
.footer-cta p { margin-bottom: 18px; }
.footer-wordmark { margin: 60px 0 -0.22em; font: 700 clamp(5rem, 17vw, 15rem)/1 var(--display); letter-spacing: -.05em; text-align: center; background: linear-gradient(180deg, rgba(30, 94, 255, .28), rgba(30, 94, 255, .04) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; pointer-events: none; }
.footer-legal { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--border); padding-top: 24px; font-size: 14px; position: relative; }
.footer-legal p { margin: 0; }
.footer-legal ul { display: flex; gap: 22px; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* 404 */
.notfound { text-align: center; padding: 140px 0; }
.notfound b { font: 700 clamp(6rem, 18vw, 10rem)/1 var(--display); color: var(--accent); display: block; }

/* Utilities (replace former inline styles) */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 14px; } .mt-2 { margin-top: 22px; } .mt-3 { margin-top: 32px; }
.center { text-align: center; } .justify-center { justify-content: center; }
.muted { color: var(--text-3); }
.small { font-size: 14px; }
.topics { margin: 0; display: grid; gap: 4px; }
.topics dt { font-weight: 600; color: var(--ink); margin-top: 10px; }
.topics dt:first-child { margin-top: 0; }
.topics dd { margin: 0; color: var(--text-2); font-size: 15px; }

/* Responsive */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand, .footer-cta { grid-column: span 3; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento > *, .bento > .wide { grid-column: span 3; }
  .bento > .xl { grid-column: span 6; }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .primary-nav { position: fixed; inset: 80px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 28px; border-bottom: 1px solid var(--border); box-shadow: 0 24px 48px rgba(11, 26, 58, .12); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; max-height: calc(100vh - 80px); overflow-y: auto; }
  .primary-nav.open { transform: none; opacity: 1; visibility: visible; }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav ul a { display: block; padding: 15px 4px; border-radius: 0; border-bottom: 1px solid var(--border); font-size: 17px; }
  .primary-nav ul a[aria-current="page"] { background: none; }
  .nav-cta { margin-top: 18px; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid .form-card { order: -1; }
  .split.reverse > :first-child { order: 0; }
  .suite, .g3 { grid-template-columns: 1fr; }
  .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .section { padding: 76px 0; }
  .hero { padding: 64px 0 70px; }
  .page-hero { padding: 64px 0 56px; }
  .section-head { margin-bottom: 40px; }
  .section-head p, .lead { font-size: 17px; }
  .g2, .g4, .steps, .roles, .checklist.cols-2 { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento > *, .bento > .wide, .bento > .xl { grid-column: auto; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div:nth-child(2) { border-right: 0; }
  .facts div:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .card, .form-card { padding: 24px; }
  .cta-inner { padding: 40px 24px; border-radius: 22px; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand, .footer-cta { grid-column: span 2; }
  .flow li small { display: none; }
  .logo { font-size: 27px; } .logo img { width: 38px; }
  .sim-inner { padding: 18px; }
  .sim-metric b { font-size: 21px; }
  .sim-hint span:nth-child(2) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print { .site-header, .site-footer, .cta-band { display: none; } }
