:root {
  color-scheme: light;
  --blue: #1475f6;
  --blue-deep: #0757ce;
  --sky: #ebf4ff;
  --navy: #0d2847;
  --ink: #17324e;
  --muted: #5e738b;
  --line: #e2ebf4;
  --paper: #ffffff;
  --soft: #f5f9fd;
  --teal: #1eaaa1;
  --shadow: 0 21px 70px rgba(22, 67, 114, .105);
  --shell: 1200px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.65; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
img { max-width: 100%; display: block; }
svg.icon { width: 1.25rem; height: 1.25rem; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.shell { width: min(calc(100% - 64px), var(--shell)); margin-inline: auto; }
.section { padding: 104px 0; scroll-margin-top: 85px; }
.section-white { background: #fff; }
.section-muted { background: linear-gradient(160deg, #f4f9ff 0%, #f8fbff 56%, #eff7ff 100%); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; padding: 0; border: 0; }
:focus-visible { outline: 3px solid #ffb847; outline-offset: 4px; }
.skip-link { position: fixed; z-index: 200; left: 12px; top: -90px; background: var(--navy); color: #fff; border-radius: 12px; padding: 12px 17px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.reading-progress { position: fixed; z-index: 120; top: 0; left: 0; right: 0; height: 3px; background: transparent; pointer-events: none; }
.reading-progress span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, #197efa, #19b6d2); transform: scaleX(0); transform-origin: left; will-change: transform; }

/* Header */
.site-header { z-index: 100; position: sticky; top: 0; border-bottom: 1px solid rgba(221, 235, 249, .83); background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 10px 35px rgba(20, 52, 91, .055); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 26px; }
.brand { display: inline-flex; gap: 11px; align-items: center; flex: 0 0 auto; }
.brand-mark { width: 45px; height: 45px; background: linear-gradient(145deg, #309cfb, #0757db); display: grid; place-items: center; border-radius: 14px; box-shadow: 0 8px 17px rgba(17,113,242,.20); color: #fff; }
.brand-mark .icon { width: 26px; height: 26px; stroke-width: 1.7; }
.brand-copy, .footer-brand > span:last-child { display: flex; flex-direction: column; line-height: 1.12; }
.brand-copy strong, .footer-brand strong { font-size: 22px; letter-spacing: -.065em; color: #112e4c; }
.brand-copy strong span, .footer-brand strong span { color: var(--blue); }
.brand-copy small { color: #41617f; letter-spacing: .14em; font-size: 8px; font-weight: 850; margin-top: 5px; }
.brand-copy small b { color: #94a6b8; font-weight: 600; letter-spacing: .05em; }
.primary-navigation { display: flex; align-items: center; gap: clamp(10px, 1.55vw, 23px); }
.primary-navigation > a:not(.nav-cta) { font-size: 13px; font-weight: 690; color: #547089; transition: color .2s; white-space: nowrap; }
.primary-navigation > a:hover, .primary-navigation > a[aria-current="location"] { color: var(--blue-deep); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; padding: 12px 15px; font-size: 12px; font-weight: 750; color: #fff; background: var(--blue); border-radius: 13px; white-space: nowrap; box-shadow: 0 9px 21px rgba(20,117,246,.18); transition: transform .2s, box-shadow .2s; }
.nav-cta .icon { width: 15px; height: 15px; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 24px rgba(20,117,246,.22); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; color: var(--navy); background: #fff; align-items: center; justify-content: center; }

/* Universal copy and buttons */
.section-number { font-size: 11px; font-weight: 850; letter-spacing: .16em; color: var(--blue-deep); text-transform: uppercase; }
.section-heading { max-width: 850px; margin: 0 0 42px; }
.section-heading.center { margin-inline: auto; text-align: center; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.16; letter-spacing: -.045em; }
h2 { color: var(--navy); font-size: clamp(2.25rem, 4vw, 3.45rem); font-weight: 830; margin: 17px 0 20px; }
h2 em { font-style: normal; color: var(--blue); }
h3 { font-size: 1.24rem; font-weight: 760; }
p { color: var(--muted); }
.section-heading > p { font-size: 1.08rem; max-width: 680px; margin-inline: auto; }
.narrative > p { font-size: 1.04rem; max-width: 590px; }
.narrative > p strong { color: var(--ink); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 10px; font-weight: 840; letter-spacing: .13em; color: var(--blue-deep); }
.eyebrow-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2dce8d; box-shadow: 0 0 0 5px #d9f8eb; }
.btn { border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 51px; padding: 14px 19px; border-radius: 14px; font-size: 14px; font-weight: 800; line-height: 1.2; text-align: center; transition: background .2s, transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn .icon { width: 17px; height: 17px; }
.btn-primary { background: linear-gradient(120deg, #208bfc, #0962e8); box-shadow: 0 13px 30px rgba(22, 112, 238, .24); color: #fff; }
.btn-primary:hover { box-shadow: 0 18px 34px rgba(22,112,238,.3); }
.btn-quiet { background: #fff; border-color: #d3e3f3; color: var(--blue-deep); }
.btn-quiet:hover { background: var(--sky); }
.btn-light { background: #fff; color: var(--blue-deep); }
.text-link { color: var(--blue-deep); font-size: 14px; display: inline-flex; gap: 10px; align-items: center; font-weight: 800; border-bottom: 1px solid #9ccef8; padding-bottom: 5px; }
.text-link .icon { width: 16px; }
.fine-note { display: inline-flex; gap: 8px; align-items: flex-start; color: #73889b; font-size: 12px; line-height: 1.45; }
.fine-note .icon { width: 16px; height: 16px; margin-top: 1px; }
.standalone { margin: 10px 0 0; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(36px, 5vw, 82px); }
.visual-card { min-width: 0; border-radius: 27px; position: relative; isolation: isolate; box-shadow: var(--shadow); overflow: hidden; background: #d7ecfa; }
.visual-card img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; transition: transform .5s ease; }
.visual-card:hover img { transform: scale(1.025); }

/* Hero */
.hero { padding: 66px 0 26px; background: radial-gradient(circle at 78% 19%, #e5f3ff 0, transparent 34%), radial-gradient(circle at 15% 76%, #edfaff 0, transparent 31%), linear-gradient(125deg,#f9fcff,#f1f8ff 74%,#eef7ff); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); align-items: center; gap: clamp(25px, 3vw, 48px); min-height: 560px; }
.hero-copy { padding: 18px 0 40px; }
.hero h1 { font-size: clamp(2.7rem, 4.5vw, 4.45rem); line-height: 1.095; color: #0b2847; letter-spacing: -.065em; margin: 22px 0 24px; }
.hero h1 span { color: var(--blue); }
.hero-lead { max-width: 540px; font-size: clamp(1.04rem,1.5vw,1.18rem); line-height: 1.78; margin-bottom: 27px; }
.hero-lead strong { color: #0e426f; }
.hero-actions { display: flex; gap: 11px; flex-wrap: wrap; align-items: center; }
.hero-metrics { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; max-width: 520px; border-top: 1px solid #d4e3f2; margin-top: 32px; padding-top: 22px; }
.hero-metrics div { display: flex; flex-direction: column; }
.hero-metrics strong { color: #0d416e; font-size: 32px; line-height: 1; letter-spacing: -.04em; }
.hero-metrics span { font-size: 12px; color: #6b8092; margin-top: 8px; line-height: 1.2; }
.hero-caption { margin: 21px 0 0; font-size: 11px; color: #7f92a6; }
.hero-visual { position: relative; isolation: isolate; margin: 0 0 24px; }
.hero-visual::before { content: ""; position: absolute; inset: -12px -6px 13px 12px; border: 1px solid rgba(72, 161, 255, .2); border-radius: 30px; z-index: -1; transform: rotate(1deg); background: #dff0ff; }
.hero-visual img { aspect-ratio: 4/3; width: 100%; height: auto; object-fit: cover; border-radius: 27px; box-shadow: 0 25px 65px rgba(21,91,150,.17); }
.hero-floating-note { position: absolute; left: -29px; bottom: -22px; display: flex; gap: 12px; align-items: center; max-width: 320px; padding: 14px 17px; border-radius: 16px; background: rgba(255,255,255,.97); box-shadow: 0 17px 36px rgba(18,81,144,.14); border: 1px solid #e4effa; }
.hero-floating-note > .icon { width: 34px; height: 34px; padding: 8px; border-radius: 10px; color: var(--blue); background: #eaf5ff; }
.hero-floating-note span { display: flex; flex-direction: column; line-height: 1.35; }
.hero-floating-note strong { color: #173a5c; font-size: 12px; }
.hero-floating-note small { color: #71899b; font-size: 10px; margin-top: 4px; }
.promise-strip { margin-top: 43px; padding: 22px 0 0; border-top: 1px solid #dbe8f5; display: flex; justify-content: space-around; flex-wrap: wrap; gap: 15px; }
.promise-strip span { display: inline-flex; align-items: center; gap: 9px; color: #526c85; font-size: 12px; font-weight: 720; }
.promise-strip .icon { width: 17px; color: #13aa82; }

/* Problem */
.benefit-row { display: flex; align-items: flex-start; gap: 15px; margin-top: 23px; }
.benefit-row .mini-icon { width: 42px; height: 42px; border-radius: 12px; background: #e9f3ff; color: var(--blue); display: grid; place-items: center; flex: 0 0 42px; }
.benefit-row span:last-child { display: flex; flex-direction: column; gap: 4px; }
.benefit-row strong { color: #143a5c; font-size: 14px; }
.benefit-row small { color: var(--muted); font-size: 13px; line-height: 1.5; }

/* Roles */
.two-col-role { gap: 39px; }
.role-panel { background: #fff; border-radius: 26px; border: 1px solid #e3edf8; padding: 26px; box-shadow: 0 18px 40px rgba(29, 75, 116, .07); }
.segmented-tabs { padding: 5px; background: #edf5fc; border-radius: 15px; display: flex; flex-wrap: wrap; gap: 4px; }
.tab-button { flex: 1 1 auto; color: #577189; background: transparent; border: 0; padding: 11px 9px; border-radius: 11px; font-size: 12px; font-weight: 740; }
.tab-button.is-active { color: #0a4eb5; background: #fff; box-shadow: 0 5px 14px rgba(22, 67, 109, .08); }
.role-content { margin: 27px 0 25px; min-height: 270px; }
.role-label { color: #1681f8; font-size: 10px; font-weight: 830; letter-spacing: .13em; }
.role-content h3 { color: #173d5c; font-size: clamp(1.5rem, 2vw, 1.9rem); line-height: 1.2; margin: 12px 0 13px; }
.role-content p { font-size: 13px; line-height: 1.7; }
.role-content ul { display: grid; gap: 9px; padding-left: 21px; color: #43617b; font-size: 13px; }
.role-content li::marker { color: #1895ff; }

/* Administration */
.feature-stack { border-top: 1px solid var(--line); padding-top: 6px; margin-top: 24px; }
.feature-line { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.feature-line b { flex: 0 0 53px; font-size: 13px; color: #1475f6; padding-top: 1px; }
.feature-line span { display: flex; flex-direction: column; gap: 4px; }
.feature-line strong { color: #163a59; font-size: 14px; }
.feature-line small { color: var(--muted); font-size: 13px; line-height: 1.45; }

/* Operation */
.wide-photo { max-width: 990px; margin: 0 auto; }
.wide-photo img { aspect-ratio: 2/1; object-fit: cover; object-position: center 52%; }
.cards-grid { display: grid; gap: 16px; }
.cards-grid.four-cols { grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 22px; }
.feature-card { position: relative; background: #fff; border: 1px solid #e2edf7; padding: 24px; border-radius: 21px; box-shadow: 0 8px 20px rgba(33, 79, 120, .045); }
.card-icon { width: 47px; height: 47px; background: #eaf5ff; color: #086af3; border-radius: 14px; display: grid; place-items: center; margin-bottom: 17px; }
.card-icon .icon { width: 22px; height: 22px; }
.module-ref { display: inline-flex; font-size: 10px; font-weight: 850; color: #1480fa; letter-spacing: .12em; }
.feature-card h3 { margin: 7px 0 9px; font-size: 17px; }
.feature-card p { font-size: 13px; line-height: 1.55; margin: 0; }

/* Finance */
.section-dark { color: #fff; background: radial-gradient(circle at 90% 13%, rgba(43, 116, 200, .33), transparent 35%), linear-gradient(145deg, #082541 0%, #0b3150 65%, #0b2947 100%); }
.section-dark h2 { color: #fff; }
.section-dark h2 em { color: #6bc9ff; }
.section-dark p { color: #bfd2e6; }
.section-dark p strong { color: #fff; }
.section-dark .section-number { color: #80cbff; }
.two-col-finance { gap: 53px; }
.okane-tag { display: flex; align-items: center; gap: 8px; color: #93d5ff; font-size: 10px; font-weight: 780; letter-spacing: .13em; margin: 21px 0 -3px; }
.okane-tag .icon { width: 17px; }
.finance-points { display: grid; gap: 10px; margin-top: 25px; }
.finance-points span { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 630; color: #dbf0ff; }
.finance-points .icon { color: #4be0b7; width: 17px; }
.finance-photo { border: 3px solid rgba(255,255,255,.12); box-shadow: 0 22px 70px rgba(0,0,0,.2); }
.flow-box { border-radius: 24px; border: 1px solid rgba(195,231,255,.18); background: rgba(255,255,255,.06); padding: 25px 27px 30px; margin-top: 40px; }
.flow-head { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 24px; }
.flow-head h3 { font-size: 18px; margin: 0; color: #fff; letter-spacing: -.02em; }
.flow-head > span { font-size: 10px; color: #8db7d0; letter-spacing: .1em; font-weight: 800; }
.flow-steps { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.flow-steps > div { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 5px; min-width: 0; }
.flow-icon { width: 51px; height: 51px; display: grid; place-items: center; color: #52b7ff; border-radius: 14px; background: rgba(131,201,255,.12); border: 1px solid rgba(131,201,255,.2); margin-bottom: 9px; }
.flow-icon .icon { width: 25px; height: 25px; }
.flow-steps strong { color: #fff; font-size: 13px; }
.flow-steps small { color: #a5c6df; font-size: 11px; line-height: 1.3; }
.flow-arrow { font-size: 23px; font-weight: 350; color: #50aeec; margin-top: -30px; }
.finance-module-list { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 23px; }
.finance-module-list span { color: #cce7f9; border: 1px solid rgba(154, 210, 251, .19); background: rgba(255,255,255,.07); border-radius: 999px; font-size: 11px; padding: 8px 12px; }

/* Demo */
.demo-layout { align-items: stretch; gap: 35px; }
.demo-layout .visual-card { align-self: center; }
.demo-widget { overflow: hidden; border: 1px solid #dce8f5; border-radius: 24px; box-shadow: 0 16px 45px rgba(24,64,105,.07); background: #fff; }
.demo-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px; padding: 8px; background: #f2f8fe; }
.demo-tab { min-width: 0; color: #658199; background: none; border: 0; border-radius: 13px; font-weight: 750; font-size: 12px; padding: 13px 5px; display: flex; justify-content: center; gap: 6px; align-items: center; }
.demo-tab .icon { width: 16px; }
.demo-tab.is-active { background: #fff; color: #116fe6; box-shadow: 0 4px 15px rgba(20, 83, 146, .07); }
.journey-panel { padding: 26px 28px 24px; }
.scenario-mark { color: #2182f5; font-size: 10px; font-weight: 850; letter-spacing: .14em; }
.journey-panel h3 { font-size: clamp(1.3rem, 2.3vw, 1.7rem); margin: 10px 0; }
.journey-panel > p { font-size: 13px; }
.journey-steps { padding: 0; list-style: none; display: grid; gap: 12px; margin: 19px 0; }
.journey-steps li { display: flex; align-items: flex-start; gap: 13px; color: #45627b; line-height: 1.45; font-size: 13px; }
.journey-steps b { background: #eaf5ff; color: #126eee; font-size: 11px; padding: 6px; border-radius: 8px; flex: 0 0 31px; text-align: center; }
.demo-notice { border-top: 1px solid #e3edf7; padding-top: 14px; display: flex; align-items: flex-start; gap: 8px; color: #7890a3; font-size: 11px; line-height: 1.5; }
.demo-notice .icon { width: 15px; height: 15px; margin-top: 1px; }

/* Security */
.security-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin-top: 29px; }
.security-grid > div { display: flex; flex-direction: column; gap: 7px; background: #fff; border: 1px solid #e3edf8; border-radius: 18px; padding: 17px; }
.security-grid .icon { color: var(--blue); width: 22px; height: 22px; margin-bottom: 3px; }
.security-grid strong { color: #173c5a; font-size: 13px; }
.security-grid small { font-size: 12px; line-height: 1.5; color: #6e8499; }

/* Modules */
.growth-layout { margin-bottom: 48px; }
.module-browser { background: #f8fbff; border: 1px solid #e3edf7; border-radius: 27px; padding: 26px; }
.module-toolbar { display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.module-toolbar h3 { font-size: 20px; margin-bottom: 5px; }
.module-toolbar p { font-size: 13px; margin: 0; }
.search-field { position: relative; min-width: 250px; max-width: 360px; flex: 0 1 340px; }
.search-field > .icon { width: 18px; position: absolute; top: 50%; transform: translateY(-50%); left: 14px; color: #7896af; }
.search-field input { background: #fff; border: 1px solid #dbe8f4; border-radius: 12px; min-height: 45px; padding: 10px 14px 10px 42px; width: 100%; outline-offset: 2px; font-size: 13px; }
.search-field input::placeholder { color: #90a0af; }
.filters-row { margin: 26px 0 18px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.filter { border: 1px solid #d8e8f5; background: #fff; color: #56718a; border-radius: 100px; padding: 10px 14px; font-weight: 720; font-size: 13px; }
.filter b { font-size: 11px; color: #7c96ad; margin-left: 4px; }
.filter.is-active { border-color: var(--blue); background: var(--blue); color: #fff; }
.filter.is-active b { color: #fff; }
.filter-result { color: #8498ab; font-size: 12px; margin-left: auto; }
.module-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.module-card { background: #fff; border: 1px solid #e3ebf4; border-radius: 17px; padding: 18px 19px 16px; min-height: 174px; display: flex; flex-direction: column; }
.module-card[hidden], [hidden] { display: none !important; }
.module-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.module-code { font-size: 11px; font-weight: 830; color: #147bf6; }
.module-type { font-size: 9px; border-radius: 999px; color: #0b9c7a; background: #e9f8f2; padding: 4px 8px; font-weight: 800; white-space: nowrap; }
.module-type-demand { color: #a96515; background: #fff3e1; }
.module-card h3 { font-size: 15px; margin: 15px 0 7px; letter-spacing: -.025em; line-height: 1.28; }
.module-card p { font-size: 12px; line-height: 1.55; margin: 0 0 12px; }
.module-group { font-size: 10px; font-weight: 750; color: #99a9b9; margin-top: auto; }
.empty-state { border: 1px dashed #c5d9ed; border-radius: 14px; padding: 28px; margin-bottom: 0; text-align: center; font-size: 13px; }

/* Implementation */
.timeline { position: relative; margin-top: 24px; }
.timeline::before { content: ""; position: absolute; top: 7px; bottom: 25px; left: 19px; width: 2px; background: linear-gradient(var(--blue),#b4dfff); }
.timeline > div { position: relative; padding: 0 0 21px 59px; display: flex; flex-direction: column; gap: 3px; }
.timeline > div > span { position: absolute; left: 0; top: 0; background: #e3f2ff; color: #0f6cde; border: 1px solid #cae6ff; border-radius: 11px; width: 40px; height: 35px; display: grid; place-items: center; font-weight: 850; font-size: 11px; }
.timeline strong { color: #153a59; font-size: 14px; }
.timeline small { color: #6d8297; font-size: 12px; line-height: 1.4; }
.implementation-banner { display: flex; align-items: center; justify-content: space-between; gap: 26px; padding: 26px 32px; border-radius: 23px; margin-top: 46px; background: #fff; border: 1px solid #dfeefa; box-shadow: 0 15px 38px rgba(28,72,119,.06); }
.implementation-banner h3 { margin: 8px 0 5px; font-size: 22px; }
.implementation-banner p { font-size: 13px; margin: 0; }
.implementation-banner .btn { flex: 0 0 auto; }
.copy-feedback { font-size: 12px; margin: 9px 4px 0; min-height: 18px; color: #117e6d; }

/* Clarifications */
.legal-layout { max-width: 1000px; }
.disclosure-wrap { border-radius: 24px; border: 1px solid #e3edf7; background: #fff; overflow: hidden; }
.disclosure-wrap details + details { border-top: 1px solid #e8eff6; }
.disclosure-wrap summary { display: flex; align-items: center; gap: 16px; padding: 21px 26px; font-weight: 750; color: #1a405f; font-size: 14px; list-style: none; cursor: pointer; transition: background .15s; }
.disclosure-wrap summary:hover { background: #f7fbff; }
.disclosure-wrap summary::-webkit-details-marker { display: none; }
.disclosure-wrap summary::after { content: "+"; font-size: 23px; font-weight: 400; color: #338afa; margin-left: auto; }
.disclosure-wrap details[open] summary::after { content: "−"; }
.disclosure-wrap summary span { color: #1880f9; font-size: 11px; letter-spacing: .08em; }
.disclosure-body { border-top: 1px solid #edf2f7; padding: 16px 26px 22px 62px; }
.disclosure-body p { font-size: 13px; margin: 0; line-height: 1.75; }
.legal-sources { margin-top: 34px; padding: 28px; border: 1px solid #e4edf5; background: #f7faff; border-radius: 23px; }
.legal-sources h3 { margin-bottom: 8px; font-size: 20px; }
.legal-sources > p { font-size: 13px; margin-bottom: 18px; }
.source-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
.source-grid a { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid #e0eaf4; border-radius: 12px; padding: 15px; transition: border-color .2s, box-shadow .2s; }
.source-grid a:hover { border-color: #91c5fa; box-shadow: 0 6px 15px rgba(18,99,186,.06); }
.source-grid strong { font-size: 13px; color: #176fd3; }
.source-grid span { font-size: 11px; color: #70879c; }
.source-grid a span span { color: #176fd3; }
.legal-sources .legal-footnote { font-size: 11px; margin: 18px 0 0; color: #8193a5; }

/* Closing/footer */
.closing { background: #0b3052; color: #fff; padding: 57px 0; }
.closing-inner { display: flex; justify-content: space-between; gap: 35px; align-items: center; }
.closing .section-number { color: #81ceff; }
.closing h2 { font-size: clamp(2rem, 3.1vw, 3rem); color: #fff; margin: 14px 0; }
.closing h2 em { color: #83caff; }
.closing p { color: #b4cfe5; font-size: 13px; max-width: 670px; margin: 0; }
.closing .btn { flex: 0 0 auto; }
.site-footer { background: #f7faff; padding: 24px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand .brand-mark { width: 37px; height: 37px; border-radius: 11px; }
.footer-brand .icon { width: 22px; height: 22px; }
.footer-brand strong { font-size: 18px; }
.footer-brand small { font-size: 10px; margin-top: 4px; color: #7891a8; }
.footer-inner > p, .footer-inner > a { font-size: 11px; color: #7d91a5; margin: 0; }
.footer-inner > a:hover { color: var(--blue); }

/* Motion */
.js-enabled .fade-in { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js-enabled .fade-in.is-visible { opacity: 1; transform: none; }

@media (max-width: 1130px) {
  .shell { width: min(calc(100% - 44px), var(--shell)); }
  .header-inner { min-height: 75px; }
  .primary-navigation { gap: 12px; }
  .primary-navigation > a:not(.nav-cta) { font-size: 12px; }
  .nav-cta { padding: 10px; }
  .hero h1 { font-size: clamp(2.6rem,4.7vw,4rem); }
  .hero-floating-note { left: -14px; }
  .section { padding: 86px 0; }
  .hero { padding: 54px 0 25px; }
  .two-col { gap: 30px; }
  .module-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .primary-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 20px max(22px, calc((100% - var(--shell))/2)); background: #fff; box-shadow: 0 20px 35px rgba(17,61,100,.13); border-top: 1px solid #e3edf7; flex-direction: column; align-items: stretch; gap: 0; }
  .primary-navigation.is-open { display: flex; }
  .primary-navigation > a:not(.nav-cta) { font-size: 14px; padding: 12px 0; }
  .nav-cta { margin-top: 9px; justify-content: center; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: clamp(2.5rem,4.6vw,3.7rem); }
  .hero-lead { font-size: 15px; }
  .hero-actions .btn { min-height: 47px; padding: 12px 13px; font-size: 12px; }
  .promise-strip { margin-top: 29px; }
  .cards-grid.four-cols { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .role-panel { padding: 18px; }
  .tab-button { font-size: 11px; padding: 9px 6px; }
  .source-grid { gap: 10px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 75px; }
  .section { padding: 69px 0; }
  .hero { padding: 43px 0 24px; }
  .hero-grid, .two-col { grid-template-columns: 1fr; gap: 29px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(2.4rem, 9vw, 4.2rem); max-width: 590px; }
  .hero-visual { width: min(100%, 600px); margin: 4px auto 20px; }
  .hero-floating-note { bottom: -16px; }
  .promise-strip { justify-content: flex-start; gap: 13px 22px; }
  .promise-strip span { font-size: 11px; }
  .section-heading { margin-bottom: 28px; }
  .section-heading h2 { font-size: clamp(2.1rem,7vw,3.2rem); }
  .narrative { order: 0; }
  .visual-card { border-radius: 21px; }
  .two-col-role .visual-card, .two-col-finance .visual-card { order: -1; }
  .wide-photo img { aspect-ratio: 4/3; }
  .security-grid { margin-top: 23px; }
  .finance-points { margin-bottom: 9px; }
  .flow-box { margin-top: 23px; }
  .flow-steps { flex-wrap: wrap; justify-content: center; gap: 12px; }
  .flow-steps > div { flex: 1 1 28%; }
  .flow-arrow { display: none; }
  .flow-head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .demo-layout .visual-card { order: -1; }
  .module-toolbar { flex-direction: column; align-items: stretch; }
  .search-field { max-width: none; width: 100%; flex: none; }
  .filter-result { width: 100%; margin: 6px 0 0; }
  .growth-layout .visual-card { order: -1; }
  .implementation-banner { align-items: stretch; flex-direction: column; }
  .implementation-banner .btn { align-self: flex-start; }
  .closing-inner { flex-direction: column; align-items: flex-start; }
  .footer-inner { flex-wrap: wrap; }
}
@media (max-width: 520px) {
  .shell { width: min(calc(100% - 32px), var(--shell)); }
  .header-inner { min-height: 70px; }
  .brand-mark { width: 39px; height: 39px; }
  .brand-copy strong { font-size: 19px; }
  .brand-copy small { font-size: 7px; letter-spacing: .1em; }
  .hero h1 { font-size: clamp(2.2rem,9.7vw,3.4rem); }
  .hero-lead { font-size: 15px; }
  .hero-metrics { gap: 9px; }
  .hero-metrics strong { font-size: 26px; }
  .hero-metrics span { font-size: 10px; }
  .hero-floating-note { left: 8px; right: 8px; padding: 11px; width: auto; max-width: none; }
  .hero-floating-note strong { font-size: 11px; }
  h2 { font-size: clamp(2rem,8.8vw,2.65rem); }
  .narrative > p { font-size: 15px; }
  .feature-card { padding: 17px; }
  .feature-card h3 { font-size: 15px; }
  .cards-grid.four-cols { gap: 10px; }
  .card-icon { width: 39px; height: 39px; margin-bottom: 9px; }
  .security-grid { gap: 10px; }
  .security-grid > div { padding: 13px; }
  .role-panel { padding: 14px; }
  .role-content { min-height: 310px; }
  .segmented-tabs { gap: 3px; }
  .tab-button { padding: 9px 4px; flex: 1 1 44%; }
  .flow-box { padding: 19px 14px; }
  .flow-steps > div { flex: 1 1 29%; }
  .flow-steps strong { font-size: 11px; }
  .flow-steps small { font-size: 10px; }
  .demo-tabs { grid-template-columns: 1fr; }
  .demo-tab { justify-content: flex-start; padding: 11px; }
  .journey-panel { padding: 19px; }
  .module-browser { padding: 17px; border-radius: 19px; }
  .module-grid { grid-template-columns: 1fr; }
  .module-card { min-height: 0; }
  .filter { font-size: 12px; padding: 9px 11px; }
  .source-grid { grid-template-columns: 1fr; }
  .legal-sources { padding: 18px; }
  .disclosure-wrap summary { font-size: 13px; padding: 18px; gap: 11px; }
  .disclosure-body { padding: 16px 18px 22px; }
  .implementation-banner { padding: 22px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js-enabled .fade-in { opacity: 1; transform: none; }
}
