:root {
  color-scheme: light;
  --ink: #14223a;
  --navy: #101c31;
  --navy-high: #172b4a;
  --body: #42526e;
  --blue: #284fbc;
  --blue-deep: #163982;
  --blue-pale: #edf3ff;
  --line: #dbe4f2;
  --paper: #fff;
  --amber: #ffbf80;
  --radius: 18px;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.58; }
button, input, textarea, select { font: inherit; }
button, summary { cursor: pointer; }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: var(--blue-deep); text-underline-offset: .19em; }
:focus-visible { outline: 3px solid #4574ff; outline-offset: 4px; }
button:disabled { cursor: wait; opacity: .65; }
.wrap { width: min(100% - 3rem, 75rem); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 10; top: .5rem; left: .5rem; padding: .75rem 1rem; background: white; }

.site-header { background: var(--navy); border-bottom: 1px solid #ffffff19; color: white; }
.header-row, .site-nav, .nav-links, .nav-actions, .button-row { display: flex; align-items: center; gap: 1.5rem; }
.header-row { min-height: 5.125rem; justify-content: space-between; }
.site-nav { flex: 1; justify-content: space-between; margin-left: clamp(.5rem, 3vw, 2.75rem); }
.nav-links { gap: clamp(.9rem, 2.15vw, 1.8rem); }
.site-nav a { white-space: nowrap; }
.site-nav a:not(.button) { color: #dce6f8; font-size: .95rem; font-weight: 600; text-decoration: none; }
.site-nav a:not(.button):hover, .site-nav a[aria-current] { color: white; text-decoration: underline; }
.brand { color: white; display: inline-flex; flex: none; align-items: center; gap: .7rem; text-decoration: none; font-weight: 740; letter-spacing: -.035em; font-size: 1.45rem; }
.brand-suffix { color: #d4e1ff; }
.brand-mark { width: 1.8rem; height: 1.8rem; position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 2px; padding-bottom: .35rem; border-radius: 8px; background: #6f95fd; box-shadow: inset 0 0 0 1px #d0ddff52; }
.brand-mark i { width: .2rem; background: #0e244c; border-radius: 1px; height: .45rem; transform: skewY(-18deg); }
.brand-mark i:nth-child(2) { height: .65rem; }
.brand-mark i:nth-child(3) { height: .9rem; }
.menu-toggle { display: none; border: 1px solid #ffffff65; color: white; background: transparent; border-radius: .5rem; padding: .45rem .75rem; }

.button { display: inline-flex; width: fit-content; min-height: 2.85rem; align-items: center; justify-content: center; gap: .45rem; border: 1px solid transparent; border-radius: .5rem; text-decoration: none; padding: .68rem 1rem; font-size: .94rem; font-weight: 690; line-height: 1.23; }
.button-primary { background: var(--blue); color: white; }
.button-primary:hover { background: #1f408e; }
.site-header .button-primary, .hero .button-primary, .closing .button-primary { background: var(--amber); color: #202638; }
.site-header .button-primary:hover, .hero .button-primary:hover, .closing .button-primary:hover { background: #ffcf9f; }
.button-light { color: white; border-color: #a5bce171; }
.button-light:hover { background: #ffffff13; }
.button-outline { color: var(--blue-deep); border-color: #9fb4e2; background: #ffffff60; }
.button-outline:hover { background: white; }
.button-row { flex-wrap: wrap; gap: .8rem; }
.text-link { font-weight: 680; }

h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.11; letter-spacing: -.038em; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.75rem); font-weight: 720; }
h2 { font-size: clamp(1.8rem, 3.3vw, 3rem); font-weight: 720; }
h3 { font-size: 1.28rem; }
.eyebrow { margin-bottom: .8rem; color: var(--blue-deep); text-transform: uppercase; font-weight: 740; font-size: .875rem; letter-spacing: .1em; }
.muted { color: var(--body); }

.hero {
  color: white;
  background: radial-gradient(ellipse at 88% 23%, #2d4d81 0%, #182d4d 30%, transparent 62%),
    radial-gradient(ellipse at 25% 100%, #163054 0%, transparent 56%), var(--navy);
  padding: clamp(3.6rem, 9vw, 7.75rem) 0 clamp(3.4rem, 7.5vw, 5.8rem);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(2.4rem, 6.5vw, 5.5rem); }
.hero h1 { max-width: 16ch; text-wrap: balance; }
.hero-copy > p { margin: 1.55rem 0 1.8rem; max-width: 35rem; color: #d0ddf3; font-size: clamp(1.03rem, 1.5vw, 1.21rem); line-height: 1.63; }
.hero-figure { position: relative; }
.hero-figure::before { content: ""; position: absolute; inset: -1.1rem -1rem 1rem 1rem; border: 1px solid #698bca66; border-radius: 25px; transform: rotate(-3deg); pointer-events: none; }
.hero-figure figcaption { position: relative; margin-top: .8rem; color: #d0ddf3; font-size: .875rem; }
.demo-window { position: relative; color: var(--ink); border: 1px solid #d9e5fa; border-radius: var(--radius); background: white; overflow: hidden; box-shadow: 0 22px 52px #10264c26; }
.hero .demo-window { box-shadow: 0 22px 52px #06102775; transform: rotate(1deg); }
.demo-chrome { display: flex; justify-content: space-between; align-items: center; gap: .6rem; min-height: 3.15rem; padding: .8rem 1.15rem; background: #e9f0fe; font-size: .87rem; font-weight: 680; }
.sample-label { font-size: .82rem; color: #405c88; }
.window-dots { display: flex; gap: 4px; }
.window-dots i { width: .38rem; height: .38rem; border-radius: 50%; background: #7793c4; }
.demo-content { padding: clamp(1.15rem, 3.4vw, 2.125rem); }
.demo-summary { display: flex; justify-content: space-between; align-items: center; gap: .6rem; border-bottom: 1px solid var(--line); padding-bottom: 1.1rem; }
.demo-kicker { font-size: .875rem; color: #52678a; font-weight: 670; }
.demo-summary h2, .demo-summary h3 { font-size: clamp(1.28rem, 2.8vw, 2rem); margin-top: .2rem; }
.demo-score { min-width: max-content; padding: .58rem .8rem; background: #e8efff; border: 1px solid #d5e3ff; border-radius: 12px; font-variant-numeric: tabular-nums; line-height: 1.15; }
.demo-score strong { color: #224cb2; font-size: clamp(1.35rem, 2.9vw, 2.1rem); letter-spacing: -.07em; }
.demo-score small { font-weight: 630; font-size: .875rem; margin-left: .27rem; }
.score-rows { display: grid; gap: .8rem; margin: 1.2rem 0 1.35rem; }
.score-row { display: grid; align-items: center; grid-template-columns: minmax(7.4rem, auto) 1fr auto; gap: .75rem; font-size: .89rem; font-weight: 620; }
.score-row [data-category-score] { font-variant-numeric: tabular-nums; text-align: right; }
.bar-track { min-width: 30px; height: .48rem; border-radius: 999px; background: #e4ecfb; overflow: hidden; }
.bar-value { height: 100%; border-radius: 999px; background: #4269d0; transition: width .2s ease; }
.bar-1 { background: #5580ed; }
.bar-2 { background: #c2783e; }
.demo-bottom { display: flex; align-items: center; gap: .5rem; border-top: 1px solid var(--line); padding-top: .9rem; color: #315c4c; font-size: .86rem; font-weight: 660; }
.demo-check { display: grid; place-items: center; border-radius: 100%; background: #def3ea; width: 1.38rem; height: 1.38rem; }
.client-choice { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem .8rem; margin-top: 1.2rem; }
.client-choice select { appearance: none; border: 1px solid #a3b7d8; border-radius: .45rem; color: var(--ink); background: #f7faff; padding: .48rem 2rem .48rem .6rem; background-image: linear-gradient(45deg, transparent 50%, #305575 50%), linear-gradient(135deg, #305575 50%, transparent 50%); background-position: calc(100% - 13px) 50%, calc(100% - 8px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.sample-grid .score-row { grid-template-columns: minmax(7.5rem, auto) 1fr auto; }
.score-weight { grid-column: 1 / -1; color: #546c8e; font-size: .83rem; font-weight: 500; margin-top: -.63rem; }

.section { padding: clamp(2.9rem, 7vw, 5.25rem) 0; }
.section p { font-size: 1.05rem; color: var(--body); }
.section-title { margin-bottom: 2.1rem; }
.case-band { background: var(--blue-pale); border-block: 1px solid #dce7fb; }
.case-grid, .sample-grid, .demo-form-grid { display: grid; align-items: center; grid-template-columns: 1fr 1fr; gap: clamp(1.7rem, 5.5vw, 5.7rem); }
.case-grid h2, .closing h2 { text-wrap: balance; }
.case-grid p:not(.eyebrow) { max-width: 35rem; margin-bottom: 1rem; font-size: 1.15rem; }
.section .eyebrow { color: var(--blue-deep); font-size: .875rem; }
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 1.7rem); }
.step { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: var(--radius); }
.step p { margin-top: .65rem; }
.step-icon { display: grid; place-items: center; width: 2.65rem; height: 2.65rem; color: #234aae; background: #e9f1ff; border-radius: .7rem; margin-bottom: 1.2rem; }
.step-icon::before { width: 1.2rem; height: 1rem; content: ""; border: 2px solid currentColor; border-radius: 3px; }
.icon-intake::before { background: linear-gradient(currentColor,currentColor) center/2px 100% no-repeat, linear-gradient(currentColor,currentColor) center/100% 2px no-repeat; }
.icon-preview::before { background: linear-gradient(currentColor,currentColor) 0 27%/100% 2px no-repeat; }
.icon-verify::before { content: "✓"; display: grid; place-items: center; height: 1.24rem; font-weight: 800; font-size: .84rem; line-height: 1; }
.closing { display: flex; justify-content: space-between; align-items: center; gap: 2rem; border-radius: var(--radius); padding: clamp(1.5rem, 4.5vw, 3.1rem); color: white; background: linear-gradient(125deg, #11233f, #1b3e70); }
.closing h2 { font-size: clamp(1.7rem, 3.3vw, 2.65rem); text-wrap: pretty; }
.closing p { margin-top: .6rem; color: #d1def5; }
.closing .button { flex: none; }

.page-intro { padding: clamp(3.25rem, 8vw, 6rem) 0; background: radial-gradient(ellipse at 88% 18%, #274a7a, #101c31 70%); color: white; }
.page-intro .eyebrow { color: #c0d3ff; }
.page-intro h1 { font-size: clamp(2.3rem, 4.7vw, 4.05rem); text-wrap: balance; max-width: 20ch; }
.page-intro p:last-child { max-width: 41rem; margin-top: 1.12rem; color: #d9e6fa; font-size: 1.16rem; }
.prose { max-width: 49rem; }
.prose h2:not(:first-child) { margin-top: 2rem; }
.prose h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); }
.prose p, .sample-grid h2 + p { margin-top: .75rem; }
.prose ul, .form-aside ul { color: var(--body); padding-left: 1.25rem; }
.prose li + li, .form-aside li + li { margin-top: .35rem; }
.prose details { border-bottom: 1px solid #bfcfeb; padding: 1rem 0; }
.prose details:first-of-type { margin-top: .55rem; }
.prose summary { font-weight: 650; color: var(--blue-deep); }
.sample-grid .muted { margin: .8rem 0 1.2rem; }
.resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.resource-card { border: 1px solid var(--line); padding: 1.6rem; border-radius: var(--radius); }
.resource-card h2 { font-size: 1.45rem; }
.resource-card h2 a { color: var(--ink); text-decoration: none; }
.resource-card h2 a:hover { text-decoration: underline; }
.resource-card p { margin: .8rem 0 1rem; }

.demo-form-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: start; }
.lead-form { display: grid; gap: 1rem; }
.lead-form label { display: grid; gap: .32rem; font-weight: 630; font-size: .96rem; }
.field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.lead-form input, .lead-form textarea { border: 1px solid #aab9d2; border-radius: .5rem; width: 100%; padding: .67rem .7rem; font-weight: 400; background: white; color: var(--ink); }
.lead-form textarea { resize: vertical; }
.lead-form .form-note { font-size: .875rem; }
.form-aside { padding: clamp(1.25rem, 3vw, 2rem); background: var(--blue-pale); border-radius: var(--radius); }
.form-aside h2 { font-size: 1.55rem; }
.form-status { border-left: 4px solid #365cbe; background: var(--blue-pale); padding: .8rem; }
.form-status[data-state="error"] { border-color: #a93728; }

.site-footer { padding: 3rem 0; background: var(--navy); color: #cdd9ed; }
.footer-grid { display: grid; grid-template-columns: 1.8fr repeat(3, 1fr); gap: 1.45rem; }
.site-footer a:not(.brand) { display: block; width: fit-content; color: #e0eaff; margin-top: .39rem; font-size: .95rem; }
.site-footer h2 { color: white; margin: .15rem 0 .7rem; font-size: 1.02rem; letter-spacing: 0; }
.site-footer p { margin-top: .8rem; }

.consent-banner { position: fixed; z-index: 5; right: 1rem; bottom: 1rem; left: 1rem; margin-left: auto; width: min(47rem, calc(100% - 2rem)); display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1.05rem; color: var(--ink); background: white; border: 1px solid #a5bce2; border-radius: .85rem; box-shadow: 0 10px 32px #101c3140; }
.consent-banner p, .preferences p, .small-copy { color: var(--body); font-size: .9rem; }
.consent-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; }
.button-consent { border-color: #a7b8db; background: #edf3ff; color: var(--blue-deep); }
.button-consent:hover { background: #dce8ff; }
.text-button { color: var(--blue-deep); background: transparent; border: 0; padding: .5rem .25rem; font-size: .9rem; text-decoration: underline; text-underline-offset: .2em; }
.preferences { color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); width: min(30rem, calc(100% - 2rem)); padding: 1.4rem; box-shadow: 0 15px 55px #0d193359; }
.preferences::backdrop { background: #13203cb0; }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.dialog-heading h2 { font-size: 1.5rem; }
.preference-row { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.preference-row > span:last-child { white-space: nowrap; }
.preference-row input { width: 1.25rem; height: 1.25rem; accent-color: var(--blue); }
.small-copy { display: block; }
.preferences .consent-actions, .preferences [data-gpc-note] { margin-top: 1rem; }

@media (max-width: 59rem) {
  .header-row { gap: 1rem; }
  .site-nav { margin-left: 0; gap: .85rem; }
  .nav-links, .nav-actions { gap: .85rem; }
  .hero-grid { gap: 2.4rem; }
}
@media (max-width: 51rem) {
  .header-row { flex-wrap: wrap; min-height: 4.45rem; padding-block: .75rem; }
  .site-nav { width: 100%; flex: 1 0 100%; gap: 1rem; flex-wrap: wrap; }
  .menu-toggle:not([hidden]) { display: inline-flex; }
  .site-nav[data-collapsible="true"]:not([data-open="true"]) { display: none; }
  .hero-grid, .case-grid, .sample-grid, .demo-form-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 17ch; }
  .hero-figure { width: min(100%, 32rem); }
  .hero .demo-window { transform: none; }
  .hero-figure::before { inset: -.65rem -.45rem 1rem .8rem; transform: rotate(-1.5deg); }
  .sample-grid { gap: 1.4rem; }
}
@media (max-width: 39rem) {
  .wrap { width: min(100% - 2rem, 75rem); }
  .site-nav, .nav-links { align-items: flex-start; }
  .nav-links { flex-direction: column; }
  .site-nav { border-top: 1px solid #ffffff25; padding-top: .8rem; flex-direction: column; }
  .hero { padding-top: 3.25rem; }
  .steps-grid, .resource-grid { grid-template-columns: 1fr; }
  .closing { align-items: flex-start; flex-direction: column; gap: 1.2rem; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .consent-banner { flex-direction: column; align-items: flex-start; gap: .7rem; }
  .score-row, .sample-grid .score-row { grid-template-columns: minmax(6.5rem, auto) 1fr auto; gap: .45rem; }
}
@media (prefers-reduced-motion: reduce) { .bar-value { transition: none; } }
