:root {
  --navy-950: #071a35;
  --navy-900: #0a2347;
  --navy-800: #103968;
  --blue-700: #195ca2;
  --blue-600: #2777c5;
  --blue-100: #eaf4fb;
  --teal-500: #2fb79b;
  --teal-100: #e3f6f1;
  --ink: #10213d;
  --muted: #5c6c82;
  --line: #dce5ef;
  --soft: #f4f8fb;
  --white: #ffffff;
  --shadow: 0 28px 70px rgba(8, 31, 63, .14);
  --page: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
svg { display: block; }
.page-width { width: min(calc(100% - 48px), var(--page)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; transform: translateY(-150%); padding: 10px 14px; background: var(--white); color: var(--navy-900); border-radius: 4px; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 100; top: 0; height: 78px; display: grid; grid-template-columns: minmax(230px, 1fr) auto minmax(300px, 1fr); align-items: center; gap: 28px; padding: 0 max(24px, calc((100vw - var(--page)) / 2)); background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(12,42,80,.08); backdrop-filter: blur(14px); }
.brand { position: relative; display: block; width: 245px; height: 60px; overflow: hidden; flex: none; }
.brand-logo { position: absolute; top: -13px; left: 0; display: block; width: 245px; max-width: none; height: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: .92rem; font-weight: 600; color: #253a59; }
.site-nav a { position: relative; padding: 26px 0; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 18px; height: 2px; background: var(--teal-500); transition: right .2s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.portal-actions { justify-self: end; display: flex; gap: 10px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 3px; padding: 11px 22px; font-weight: 700; line-height: 1.25; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-1px); }
.button:focus-visible, a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid rgba(47,183,155,.45); outline-offset: 3px; }
.button-portal-secondary { min-height: 40px; padding: 9px 17px; color: var(--navy-800); border-color: #9fb1c7; background: white; font-size: .84rem; }
.button-portal-primary { min-height: 40px; padding: 9px 19px; color: white; background: var(--navy-900); font-size: .84rem; box-shadow: 0 8px 20px rgba(7,26,53,.14); }
.menu-toggle { display: none; }

.hero { position: relative; min-height: 590px; display: flex; align-items: center; overflow: hidden; color: white; background: var(--navy-950); }
.hero-image { position: absolute; inset: 0; background: center/cover no-repeat url("assets/hero-architecture.png"); transform: scale(1.01); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,21,44,.96) 0%, rgba(7,29,57,.88) 43%, rgba(10,35,65,.22) 73%, rgba(8,28,53,.08) 100%); }
.hero-content { position: relative; z-index: 1; padding-block: 92px 82px; }
.hero-content h1 { max-width: 710px; margin: 14px 0 18px; font-size: clamp(2.7rem, 5vw, 4.75rem); line-height: 1.02; letter-spacing: -.052em; font-weight: 650; }
.hero-copy { max-width: 650px; margin: 0 0 30px; color: rgba(255,255,255,.84); font-size: 1.18rem; line-height: 1.65; }
.eyebrow { margin: 0 0 14px; color: var(--blue-700); font-size: .77rem; font-weight: 800; letter-spacing: .2em; }
.eyebrow.light { color: #cbe2f7; }
.eyebrow span { color: var(--teal-500); margin: 0 9px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button-light { color: var(--navy-950); background: white; box-shadow: 0 12px 28px rgba(0,0,0,.14); }
.button-light:hover { background: #f4fbff; }
.button-outline-light { color: white; border-color: rgba(255,255,255,.62); background: rgba(255,255,255,.03); }
.button-outline-light:hover { background: rgba(255,255,255,.1); }
.mission-line { margin: 26px 0 0; color: rgba(255,255,255,.67); font-size: .95rem; letter-spacing: .04em; }

.trust-bar { position: relative; z-index: 2; border-bottom: 1px solid var(--line); background: white; box-shadow: 0 14px 36px rgba(9,37,73,.07); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { position: relative; display: flex; min-height: 84px; align-items: center; justify-content: center; gap: 14px; color: var(--navy-800); font-weight: 700; }
.trust-item:not(:last-child)::after { content: ""; position: absolute; right: 0; width: 1px; height: 34px; background: var(--line); }
.trust-item svg { width: 31px; height: 31px; fill: none; stroke: var(--blue-700); stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }

.section { padding: 112px 0; }
.split-intro { display: grid; grid-template-columns: .95fr 1.05fr; gap: 92px; align-items: start; }
h2 { margin: 0; color: var(--navy-950); font-size: clamp(2.15rem, 3.5vw, 3.55rem); line-height: 1.08; letter-spacing: -.045em; font-weight: 650; }
.intro-copy { padding-top: 26px; color: var(--muted); font-size: 1.08rem; }
.intro-copy p:first-child { margin-top: 0; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 66px; }
.process-card { position: relative; min-height: 330px; padding: 34px 28px 30px; overflow: hidden; border: 1px solid var(--line); background: white; box-shadow: 0 14px 40px rgba(9,37,73,.055); }
.process-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--blue-600), var(--teal-500)); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.process-card:hover::before { transform: scaleX(1); }
.step-number { position: absolute; top: 22px; right: 24px; color: #b6c4d3; font-size: .77rem; font-weight: 800; letter-spacing: .12em; }
.step-icon { width: 58px; height: 58px; display: grid; place-items: center; margin: 25px 0 42px; border-radius: 50%; color: var(--blue-700); background: var(--blue-100); }
.step-icon svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.process-card h3 { margin: 0 0 12px; color: var(--navy-900); font-size: 1.42rem; }
.process-card p { margin: 0; color: var(--muted); line-height: 1.6; }

.client-section { overflow: hidden; background: var(--navy-950); color: white; }
.client-layout { display: grid; grid-template-columns: .84fr 1.16fr; gap: 84px; align-items: center; }
.client-copy h2 { color: white; }
.client-copy > p:not(.eyebrow) { color: #b7c5d6; font-size: 1.06rem; }
.check-list { display: grid; gap: 12px; margin: 28px 0 32px; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 30px; color: #dce7f1; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .48em; width: 11px; height: 6px; border-left: 2px solid var(--teal-500); border-bottom: 2px solid var(--teal-500); transform: rotate(-45deg); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--teal-500); font-weight: 800; }
.text-link span { font-size: 1.5rem; line-height: 1; }
.dashboard-card { padding: 30px; color: var(--ink); background: white; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 34px 90px rgba(0,0,0,.28); }
.dashboard-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.dashboard-head strong { display: block; color: var(--navy-900); font-size: 1.25rem; }
.dashboard-kicker { display: block; margin-bottom: 4px; color: var(--muted); font-size: .69rem; font-weight: 800; letter-spacing: .15em; }
.workflow-row { display: grid; grid-template-columns: 42px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.workflow-row:last-child { border-bottom: 0; padding-bottom: 0; }
.workflow-row > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: var(--blue-700); background: var(--blue-100); font-size: .78rem; font-weight: 800; }
.workflow-row strong { display: block; color: var(--navy-900); font-size: 1.06rem; }
.workflow-row p { margin: 3px 0 0; color: var(--muted); font-size: .94rem; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; color: #187d68; background: var(--teal-100); border-radius: 100px; font-size: .75rem; font-weight: 800; }
.status-pill i { width: 7px; height: 7px; background: var(--teal-500); border-radius: 50%; }
.metric-grid { display: grid; grid-template-columns: repeat(3,1fr); padding: 25px 0; border-bottom: 1px solid var(--line); }
.metric-grid > div { padding: 0 20px; }
.metric-grid > div:first-child { padding-left: 0; }
.metric-grid > div:not(:last-child) { border-right: 1px solid var(--line); }
.metric-grid span, .metric-grid small { display: block; color: var(--muted); font-size: .73rem; }
.metric-grid strong { display: block; margin: 3px 0; color: var(--navy-900); font-size: 1.55rem; }
.activity-chart { padding: 24px 0 18px; }
.chart-labels { display: flex; justify-content: space-between; color: var(--muted); font-size: .75rem; font-weight: 700; }
.activity-chart svg { width: 100%; height: 140px; overflow: visible; }
.gridline { fill: none; stroke: #edf1f5; stroke-width: 1; }
.area { fill: url(#area); }
.line { fill: none; stroke: var(--teal-500); stroke-width: 3; }
.case-row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 13px 0; border-top: 1px solid var(--line); }
.case-dot { width: 9px; height: 9px; border-radius: 50%; }
.case-dot.blue { background: var(--blue-600); }
.case-dot.green { background: var(--teal-500); }
.case-row strong, .case-row small { display: block; }
.case-row strong { font-size: .86rem; }
.case-row small, .case-row time { color: var(--muted); font-size: .71rem; }

.provider-section { background: var(--soft); }
.provider-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 96px; align-items: center; }
.notice-card { padding: 42px; background: white; border: 1px solid var(--line); border-top: 4px solid var(--teal-500); box-shadow: var(--shadow); }
.notice-card-top { display: flex; align-items: center; gap: 14px; }
.notice-icon { width: 46px; height: 46px; display: grid; place-items: center; color: var(--blue-700); background: var(--blue-100); border-radius: 50%; }
.notice-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.secure-label { color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .15em; }
.notice-card h3 { margin: 28px 0 10px; color: var(--navy-900); font-size: 2rem; line-height: 1.15; }
.notice-card p { color: var(--muted); }
.provider-form { display: grid; gap: 8px; margin-top: 24px; }
.provider-form label { margin-top: 10px; color: var(--navy-900); font-size: .92rem; font-weight: 750; }
.provider-form input, .provider-form select { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #a9bacc; border-radius: 3px; color: var(--ink); background: white; font: inherit; }
.provider-form input:focus-visible, .provider-form select:focus-visible { outline: 3px solid rgba(47,183,155,.4); outline-offset: 2px; border-color: var(--blue-700); }
.provider-form small { color: var(--muted); font-size: .82rem; }
.provider-form .form-privacy { margin: 16px 0 2px; padding: 14px 16px; border-left: 3px solid var(--teal-500); color: var(--navy-900); background: var(--blue-100); font-size: .88rem; line-height: 1.55; }
.provider-form .form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.button-primary { color: white; background: var(--blue-700); box-shadow: 0 12px 24px rgba(25,92,162,.18); }
.button-primary:hover { background: var(--navy-800); }
.button.full { width: 100%; margin-top: 10px; }
.card-help { margin: 18px 0 0; text-align: center; font-size: .82rem; }
.card-help a { color: var(--blue-700); text-decoration: underline; text-underline-offset: 3px; }
.provider-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.06rem; }
.provider-steps { display: grid; gap: 0; margin-top: 30px; border-top: 1px solid var(--line); }
.provider-steps div { display: grid; grid-template-columns: 90px 1fr; gap: 22px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.provider-steps strong { color: var(--navy-800); }
.provider-steps span { color: var(--muted); }

.principles { background: white; }
.section-heading.centered { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section-heading.centered > p:last-child { color: var(--muted); font-size: 1.06rem; }
.principle-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 56px; }
.principle-grid article { padding: 28px 0 0; border-top: 1px solid var(--line); }
.principle-line { display: block; width: 48px; height: 3px; margin-top: -30px; background: var(--teal-500); }
.principle-grid h3 { margin: 27px 0 10px; color: var(--navy-900); font-size: 1.35rem; }
.principle-grid p { margin: 0; color: var(--muted); }

.faq-section { background: var(--soft); }
.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 100px; }
.faq-intro { color: var(--muted); }
.faq-list { border-top: 1px solid #cdd9e5; }
details { border-bottom: 1px solid #cdd9e5; }
summary { position: relative; padding: 23px 48px 23px 0; cursor: pointer; color: var(--navy-900); font-weight: 750; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary span::before, summary span::after { content: ""; position: absolute; top: 33px; right: 8px; width: 16px; height: 2px; background: var(--blue-700); transition: transform .2s ease; }
summary span::after { transform: rotate(90deg); }
details[open] summary span::after { transform: rotate(0); }
details p { max-width: 680px; margin: -6px 48px 22px 0; color: var(--muted); }

.contact-section { position: relative; overflow: hidden; padding: 90px 0; color: white; background: var(--navy-900); }
.contact-glow { position: absolute; right: -8%; top: -90%; width: 700px; height: 700px; border: 1px solid rgba(47,183,155,.25); border-radius: 50%; box-shadow: 0 0 90px rgba(47,183,155,.08) inset; }
.contact-glow::after { content: ""; position: absolute; left: 80px; top: 80px; right: 80px; bottom: 80px; border: 1px solid rgba(87,167,226,.18); border-radius: 50%; }
.contact-inner { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 80px; align-items: center; }
.contact-inner h2 { color: white; }
.contact-inner p:not(.eyebrow) { max-width: 720px; color: #c6d3e0; }
.contact-actions { display: grid; gap: 14px; justify-items: center; }
.light-link { color: white; font-size: .88rem; }

.site-footer { padding: 64px 0 24px; color: #c4cfdb; background: #06162d; }
.footer-main { display: grid; grid-template-columns: 1fr auto; gap: 80px; padding-bottom: 46px; }
.brand-footer { width: 268px; height: 70px; background: white; border-radius: 3px; }
.brand-footer .brand-logo { top: -12px; left: 5px; width: 258px; }
.footer-main > div > p { margin-top: 20px; color: #8fa0b2; }
.footer-links { display: grid; grid-template-columns: repeat(2, 150px); gap: 60px; }
.footer-links div { display: grid; align-content: start; gap: 8px; }
.footer-links strong { margin-bottom: 8px; color: white; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-links a { color: #aebdcc; font-size: .9rem; }
.footer-links a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: #7f90a4; font-size: .78rem; }

.form-result { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; background: var(--soft); }
.result-card { width: min(100%, 580px); padding: clamp(28px, 6vw, 52px); border: 1px solid var(--line); background: white; box-shadow: var(--shadow); }
.result-card img { display: block; max-width: 100%; height: auto; margin: 0 0 -10px; }
.result-card > a:first-child:not(.button) { color: var(--blue-700); font-weight: 800; }
.result-card h1 { margin: 22px 0 12px; color: var(--navy-950); font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.1; }
.result-card p { color: var(--muted); }
.result-card .button { margin-top: 14px; }

@media (max-width: 1040px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { position: fixed; top: 78px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 22px; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 18px 40px rgba(8,31,63,.12); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 0; }
  .site-nav a::after { display: none; }
  .portal-actions { margin-right: 56px; }
  .menu-toggle { position: absolute; right: 22px; display: grid; gap: 4px; width: 34px; padding: 8px; border: 0; background: transparent; }
  .menu-toggle > span:not(.sr-only) { display: block; height: 2px; background: var(--navy-900); }
  .split-intro, .client-layout, .provider-layout, .faq-layout { gap: 50px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .page-width { width: min(calc(100% - 32px), var(--page)); }
  .site-header { height: 68px; padding: 0 16px; }
  .site-header .brand { width: 180px; height: 52px; }
  .site-header .brand-logo { top: -4px; width: 180px; }
  .site-nav { top: 68px; }
  .portal-actions { gap: 6px; margin-right: 42px; }
  .button-portal-secondary, .button-portal-primary { min-height: 36px; padding: 7px 10px; font-size: .72rem; }
  .button-portal-secondary { display: none; }
  .menu-toggle { right: 8px; }
  .hero { min-height: 610px; align-items: end; }
  .hero-image { background-position: 63% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(5,21,44,.98) 0%, rgba(5,21,44,.85) 68%, rgba(5,21,44,.35) 100%); }
  .hero-content { padding: 88px 0 62px; }
  .hero-content h1 { font-size: 2.68rem; }
  .hero-copy { font-size: 1.02rem; }
  .eyebrow { letter-spacing: .13em; }
  .eyebrow span { margin: 0 4px; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item { min-height: 70px; justify-content: flex-start; padding-left: 18px; font-size: .82rem; }
  .trust-item:nth-child(2)::after { display: none; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .trust-item svg { width: 25px; height: 25px; }
  .section { padding: 80px 0; }
  .split-intro, .client-layout, .provider-layout, .faq-layout, .contact-inner, .footer-main { grid-template-columns: 1fr; }
  .split-intro, .client-layout, .provider-layout, .faq-layout { gap: 38px; }
  .intro-copy { padding-top: 0; }
  .process-grid { grid-template-columns: 1fr; margin-top: 42px; }
  .process-card { min-height: auto; }
  .step-icon { margin-bottom: 26px; }
  .dashboard-card { padding: 20px; }
  .metric-grid { gap: 8px; }
  .metric-grid > div { padding: 0 8px; }
  .metric-grid strong { font-size: 1.28rem; }
  .notice-card { padding: 30px 24px; }
  .provider-steps div { grid-template-columns: 70px 1fr; gap: 14px; }
  .principle-grid { grid-template-columns: 1fr; gap: 38px; }
  .contact-inner { gap: 28px; }
  .contact-actions { justify-items: stretch; }
  .footer-main { gap: 40px; }
  .footer-links { gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
