:root {
  color-scheme: light;
  --navy: #0b1129;
  --ink: #101936;
  --muted: #4e5a76;
  --line: #dbe2f0;
  --royal: #4656e9;
  --cyan: #78e2f3;
  --white: #f9fbff;
  --gutter: clamp(1.15rem, 4vw, 3rem);
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 100%;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure, dl, dd { margin: 0; }
img, video { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .22em; }
button:focus-visible, a:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: .17rem solid #6679ff; outline-offset: .24rem; }
[hidden] { display: none !important; }
.wrap { width: min(74rem, 100% - var(--gutter) * 2); margin-inline: auto; }
.skip { position: fixed; z-index: 10; inset: .6rem auto auto .6rem; padding: .7rem 1rem; color: #fff; background: var(--ink); translate: 0 -160%; }
.skip:focus { translate: 0 0; }
.header-shell { position: relative; z-index: 2; color: #fff; background: #0b1129; border-bottom: 1px solid #242e4c; }
.site-header { display: flex; min-height: 4.85rem; justify-content: space-between; align-items: center; column-gap: 2rem; }
.wordmark { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-size: 1.14rem; font-weight: 720; letter-spacing: -.025em; white-space: nowrap; }
.wordmark b { color: var(--cyan); }
.wordmark img { flex: none; }
.wordmark img, .cta-inner img { border-radius: 22%; }
.site-nav { display: flex; align-items: center; gap: clamp(.8rem, 2.4vw, 2.4rem); }
.site-nav a { padding-block: .65rem; font-size: .92rem; font-weight: 570; text-decoration: none; color: #bdc9e4; }
.site-nav a:hover, .site-nav a[aria-current="location"] { color: #fff; }
.button { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; padding: .78rem 1.15rem; min-height: 3rem; border: 1px solid transparent; border-radius: .78rem; font-size: .94rem; font-weight: 710; text-align: center; text-decoration: none; line-height: 1.3; transition: background-color .2s ease, border-color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.top-button { min-height: 2.55rem; padding: .55rem .9rem; background: #151e3a; border-color: #34415f; }
.top-button:hover { background: #243253; }
.primary { color: #0a2140; background: #85e7f6; box-shadow: 0 .65rem 1.8rem #30bfd526; }
.primary:hover { background: #b4f3fb; }
.secondary { color: #fff; border-color: #687698; background: #ffffff0c; }
.secondary:hover { border-color: #b2c9ec; background: #ffffff15; }
.ink { color: #fff; background: #24387d; }
.ink:hover { background: #304ca8; }
.hero-shell { isolation: isolate; position: relative; overflow: clip; color: #f8faff; background: radial-gradient(ellipse at 88% 46%, #1f3366 0%, #121c3e 36%, transparent 69%), #0b1129; }
.hero-shell::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(125deg, transparent 38%, #5074d719 38.1%, transparent 38.3%, transparent 54%, #5bc4d317 54.1%, transparent 54.3%), linear-gradient(90deg, #768eec12 1px, transparent 1px), linear-gradient(0deg, #768eec12 1px, transparent 1px); background-size: auto, 4rem 4rem, 4rem 4rem; mask-image: linear-gradient(105deg, transparent 4%, #000 75%); }
.hero { display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: clamp(2.1rem, 5.6vw, 5.5rem); padding-block: clamp(3rem, 5.5vw, 5.3rem) clamp(2.25rem, 4.4vw, 4.1rem); }
.hero-copy, .demo { animation: enter .55s ease-out both; }
.demo { animation-delay: .08s; }
@keyframes enter { from { opacity: 0; translate: 0 .65rem; } }
.kicker { display: flex; align-items: center; gap: .65rem; font-size: .875rem; font-weight: 770; letter-spacing: .035em; color: #354ab8; }
.hero .kicker { color: #9deafa; }
.bar { width: 1.25rem; height: .13rem; background: currentColor; border-radius: 1rem; }
h1, h2, h3 { text-wrap: balance; }
.hero h1 { margin-top: 1.1rem; font-size: clamp(3.1rem, 6.2vw, 6.15rem); line-height: 1.025; font-weight: 790; letter-spacing: -.068em; }
.hero h1 em { color: #8be6f7; font-style: normal; }
.intro { max-width: 29rem; margin-top: 1.45rem; color: #c2cee8; font-size: clamp(1.02rem, 1.55vw, 1.26rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.85rem; }
.demo { min-width: 0; border: 1px solid #41527a; border-radius: 1.25rem; padding: .8rem; background: #111a36; box-shadow: 0 1.8rem 4rem #05081370; }
.demo-heading { display: flex; align-items: center; gap: .62rem; padding: .16rem .35rem .72rem; font-size: .9rem; }
.view-icon { width: .95rem; height: .7rem; border: 1.5px solid #81dff2; border-radius: .16rem; }
.file-tag { margin-left: auto; font-size: .76rem; font-weight: 700; color: #bbcae8; padding: .12rem .38rem; border: 1px solid #495573; border-radius: .35rem; }
.viewfinder { isolation: isolate; position: relative; aspect-ratio: 1.93; overflow: hidden; border-radius: .78rem; background: #18263e; }
.viewfinder video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.viewfinder::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, #050f2840, transparent 48%); }
.corner { position: absolute; z-index: 1; width: 1rem; height: 1rem; border-color: #b5f3fd; border-style: solid; border-width: 0; pointer-events: none; }
.c1 { top: .8rem; left: .8rem; border-top-width: 2px; border-left-width: 2px; }
.c2 { top: .8rem; right: .8rem; border-top-width: 2px; border-right-width: 2px; }
.c3 { bottom: .8rem; left: .8rem; border-bottom-width: 2px; border-left-width: 2px; }
.c4 { bottom: .8rem; right: .8rem; border-bottom-width: 2px; border-right-width: 2px; }
.play { position: absolute; z-index: 2; display: grid; place-items: center; bottom: 1.45rem; right: 1.45rem; width: 3rem; height: 3rem; padding: 0; border: 1px solid #ccf3ff; border-radius: 50%; color: #101936; background: #d9f8ff; box-shadow: 0 .3rem 1.05rem #06142180; }
.play:hover { background: #fff; }
.play-symbol { width: 0; height: 0; border-block: .43rem solid transparent; border-left: .7rem solid; translate: .1rem 0; }
.is-playing .play-symbol { width: .6rem; height: .79rem; border-block: 0; border-inline: .19rem solid; translate: 0; }
#sample-status { position: absolute; z-index: 3; bottom: .35rem; left: .45rem; right: 4.7rem; padding: .45rem .55rem; border-radius: .4rem; color: #fff; background: #0b1129; font-size: .87rem; }
.decision { display: flex; align-items: center; gap: .8rem; min-height: 4.5rem; padding: .58rem .65rem; margin-top: .7rem; border: 1px solid #385969; border-radius: .75rem; background: #182e43; }
.decision-mark { flex: none; position: relative; width: 2.3rem; height: 2.3rem; border-radius: .58rem; color: #a7efdb; background: #294f59; }
.decision-mark::after { content: ''; position: absolute; top: .62rem; left: .7rem; width: .83rem; height: .48rem; border: solid currentColor; border-width: 0 0 2px 2px; rotate: -45deg; }
.decision-label { display: block; color: #b8d6e2; font-size: .86rem; font-weight: 620; }
#sample-result { display: block; font-size: clamp(1.15rem, 2.2vw, 1.5rem); color: #eafff9; line-height: 1.24; }
[data-state="declined"] .decision { background: #352b3a; border-color: #775165; }
[data-state="declined"] .decision-mark { color: #ffd7cd; background: #583c4c; }
[data-state="declined"] .decision-mark::after { top: 1.12rem; left: .75rem; width: .8rem; height: 0; border-width: 2px 0 0; rotate: 0deg; }
[data-state="declined"] .decision-label { color: #ead0da; }
[data-state="declined"] #sample-result { color: #fff1f0; }
#sample-explanation { color: #bdcae5; padding: .55rem .32rem .48rem; font-size: .88rem; min-height: 2.35rem; }
.demo-actions { display: flex; gap: .55rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.sample-switch, .tabs { display: flex; align-items: stretch; gap: .28rem; }
.sample-switch { padding: .2rem; background: #0b142c; border-radius: .68rem; }
.sample-switch button { padding: .43rem .66rem; min-height: 2.15rem; border: 0; border-radius: .49rem; color: #c5d2ed; background: transparent; font-size: .88rem; font-weight: 660; }
.sample-switch button[aria-pressed="true"] { background: #283c6a; color: #fff; }
.sample-switch button:hover:not([aria-pressed="true"]) { background: #1b2948; }
#sample-download { color: #b4eafa; font-size: .87rem; font-weight: 650; padding: .55rem .28rem; white-space: nowrap; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 1.2rem 1.55rem; border-top: 1px solid #455275; }
.metrics > div { display: flex; flex-direction: column-reverse; padding-inline: clamp(.55rem, 2.7vw, 2.4rem); border-left: 1px solid #455275; }
.metrics > div:first-child { padding-left: 0; border-left: none; }
.metrics dd { font-size: clamp(1.65rem, 3.4vw, 2.45rem); font-weight: 760; letter-spacing: -.055em; color: #f6faff; line-height: 1.2; }
.metrics dt { color: #c0cde8; margin-top: .3rem; font-size: .89rem; }
.section { padding-block: clamp(3.5rem, 7.5vw, 7.25rem); }
.section-heading h2 { margin-top: .65rem; font-size: clamp(2.25rem, 4.4vw, 4.1rem); letter-spacing: -.062em; font-weight: 790; line-height: 1.08; }
.section-heading > p:not(.kicker) { max-width: 26rem; color: var(--muted); font-size: 1.05rem; }
.split-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.4rem 3rem; margin-bottom: 2rem; }
.tabs button { border: 1px solid transparent; border-radius: .69rem; min-height: 2.8rem; padding: .6rem .95rem; color: #475572; background: transparent; font-size: .94rem; font-weight: 680; }
.app-tabs { width: fit-content; padding: .32rem; border: 1px solid #dee5f4; border-radius: .94rem; background: #eef2fb; }
.app-tabs button[aria-selected="true"] { color: #242f84; background: #fff; border-color: #d6dff3; box-shadow: 0 .14rem .35rem #1d347015; }
.app-tabs button:hover:not([aria-selected="true"]) { background: #e4eaf9; }
.app-panel { display: grid; grid-template-columns: .45fr 1fr; gap: clamp(1.2rem, 5vw, 5rem); align-items: center; margin-top: 1.15rem; padding: clamp(1.05rem, 3vw, 2.65rem); border: 1px solid var(--line); border-radius: 1.35rem; background: #edf2fc; }
.panel-copy h3, .tech-copy h3 { font-size: clamp(1.6rem, 2.65vw, 2.5rem); letter-spacing: -.045em; line-height: 1.12; }
.panel-copy p, .tech-copy p { margin-top: .7rem; color: var(--muted); font-size: 1rem; }
.panel-copy .button { margin-top: 1.2rem; }
.browser-shot { overflow: hidden; border: 1px solid #bcc9e2; background: white; border-radius: .85rem; box-shadow: 0 .85rem 1.7rem #21335c1c; }
.browser-bar { display: flex; gap: .27rem; align-items: center; padding: .54rem .65rem; border-bottom: 1px solid #d6e0f1; background: #e3eaf7; }
.browser-bar i { width: .38rem; height: .38rem; border-radius: 50%; background: #8d9ab6; }
.browser-bar span { margin-left: .4rem; font-size: .76rem; font-weight: 680; color: #475570; }
.browser-shot img { width: 100%; height: auto; }
.technology { border-block: 1px solid #e5eaf5; background: #eef3ff; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.steps button { display: flex; justify-content: flex-start; align-items: center; gap: .7rem; text-align: left; background: #e4eafa; border-color: #d4ddef; }
.steps button[aria-selected="true"] { color: #fff; background: #273673; border-color: #273673; }
.steps button:hover:not([aria-selected="true"]) { background: #d8e1f7; }
.step-shape { display: block; flex: none; width: 1.1rem; height: 1.1rem; border: 1.5px solid; border-radius: .26rem; }
.shape-points { background: radial-gradient(circle, currentColor 16%, transparent 25%) 1px 1px / .35rem .35rem; }
.shape-scale { rotate: 45deg; width: .8rem; height: .8rem; margin-inline: .15rem; }
.shape-gate { border-radius: 50%; }
.tech-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.3rem, 5vw, 4rem); align-items: center; min-height: 19.5rem; margin-top: .85rem; background: #fff; border: 1px solid var(--line); border-radius: 1.15rem; padding: clamp(1.1rem, 3.5vw, 2.6rem); }
.tech-tag { display: inline-block; padding: .3rem .55rem; margin-bottom: .85rem; border-radius: .42rem; color: #343c96; background: #e9ecff; font-size: .89rem; font-weight: 670; }
.tech-figure img { width: 100%; height: clamp(10rem, 19vw, 17rem); object-fit: contain; border: 1px solid var(--line); border-radius: .85rem; background: #f4f7ff; }
.tech-figure figcaption { color: var(--muted); margin-top: .5rem; text-align: center; font-size: .88rem; }
.decision-flow { display: grid; justify-items: center; text-align: center; color: #fff; padding: 1.2rem; border-radius: .9rem; background: #101a35; }
.flow-engine { display: flex; flex-direction: column; gap: .18rem; padding: .65rem 1rem; min-width: min(12rem,100%); border: 1px solid #4b65a6; border-radius: .6rem; background: #212f59; }
.flow-engine span { font-weight: 770; color: var(--cyan); }
.flow-stem { height: 1.3rem; border-left: 1px solid #8099c9; }
.flow-options { display: grid; width: 100%; grid-template-columns: 1fr 1fr; gap: .45rem; }
.flow-options div { padding: .5rem; font-size: .88rem; border: 1px solid #486a77; border-radius: .6rem; background: #1a3445; }
.flow-options strong { display: block; }
.flow-options div:last-child { border-color: #77566d; background: #392d44; }
.tests-grid { display: grid; grid-template-columns: .83fr 1.17fr; gap: clamp(1.65rem, 7vw, 6.7rem); align-items: center; }
.tests h2 { font-size: clamp(2.25rem, 3.9vw, 3.55rem); }
.tests .section-heading > p:not(.kicker) { margin-top: 1rem; }
.test-card { padding: clamp(1.15rem, 3vw, 2.1rem); border: 1px solid #d5def1; border-radius: 1.1rem; background: #fff; box-shadow: 0 1.25rem 3rem #202d6c0d; }
.test-header { display: flex; justify-content: space-between; align-items: baseline; gap: .65rem; flex-wrap: wrap; }
.test-header h3 { font-size: 1.2rem; }
.test-header span, .meter-caption, .test-footnote { color: var(--muted); font-size: .9rem; }
.test-tabs { margin-top: .8rem; }
.test-tabs button[aria-selected="true"] { color: #2d3fa2; background: #ebefff; border-color: #d7dff8; }
.test-tabs button:hover:not([aria-selected="true"]) { background: #f3f5fc; }
.test-value { margin-top: .7rem; font-size: clamp(3.1rem, 5.3vw, 4.9rem); letter-spacing: -.065em; font-weight: 800; line-height: 1.13; color: #2e41a4; }
.test-value span { font-size: .37em; letter-spacing: -.02em; color: #596886; }
.test-meter { overflow: hidden; height: .85rem; margin-block: .62rem; border-radius: 2rem; background: #e5eafa; }
.test-meter span { display: block; height: 100%; border-radius: inherit; transform-origin: left; background: linear-gradient(90deg, #4659e7, #008aab); animation: grow .55s ease-out both; }
.test-meter .meter-before { width: 62%; background: #647abd; }
.test-meter .meter-after { width: 66%; }
@keyframes grow { from { transform: scaleX(.35); opacity: .55; } }
.test-footnote { margin-top: 1.1rem; padding-top: .9rem; border-top: 1px solid #e1e6f2; }
.test-footnote strong { color: #273673; }
.cta { background: linear-gradient(116deg, #172455, #101a37 60%, #193f62); color: #fff; padding-block: 2.8rem; }
.cta-inner { display: flex; align-items: center; gap: 1.25rem; }
.cta-inner img { flex: none; }
.cta h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); letter-spacing: -.045em; line-height: 1.1; }
.cta p { color: #cbd7ee; margin-top: .4rem; }
.cta-actions { margin-left: auto; display: flex; gap: .55rem; flex-wrap: wrap; }
.footer { padding-block: 1.65rem; color: #e0e8fa; background: #0b1129; }
.footer-inner { display: grid; grid-template-columns: minmax(max-content,1fr) minmax(0,2fr); gap: 1.35rem; align-items: start; }
.footer summary { width: max-content; max-width: 100%; margin-left: auto; cursor: pointer; font-weight: 650; }
.credits { margin-top: .75rem; color: #c1cce6; font-size: .89rem; overflow-wrap: anywhere; }
.credits p + p { margin-top: .65rem; }
.credits a { color: #a1e9fb; }
@media (max-width: 850px) {
  .site-header { min-height: auto; padding-top: .65rem; display: grid; grid-template-columns: 1fr auto; row-gap: .1rem; }
  .site-nav { grid-row: 2; grid-column: 1/-1; }
  .hero { gap: 2rem; }
  .hero h1 { font-size: clamp(2.8rem, 7vw, 4.7rem); }
  .cta-inner { flex-wrap: wrap; }
  .cta-actions { width: 100%; margin-left: 5.8rem; }
}
@media (max-width: 680px) {
  .hero, .app-panel, .tech-panel, .tests-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 2.65rem; }
  .hero h1 { font-size: clamp(3.05rem, 11vw, 4.6rem); }
  .intro { margin-top: 1rem; }
  .hero-actions { margin-top: 1.3rem; }
  .metrics { padding-block: .9rem 1.1rem; }
  .metrics dt { font-size: .86rem; }
  .split-heading { flex-direction: column; align-items: start; gap: .9rem; }
  .steps { grid-template-columns: 1fr; gap: .36rem; }
  .tech-panel { min-height: 0; }
  .tech-figure img { height: auto; max-height: 19rem; }
  .cta-inner img { width: 3.4rem; height: 3.4rem; }
  .cta-inner { display: grid; grid-template-columns: auto 1fr; }
  .cta-actions { grid-column: 1/-1; margin-left: 0; }
  .footer-inner { grid-template-columns: 1fr; gap: .8rem; }
  .footer summary { margin-left: 0; }
}
@media (max-width: 370px) {
  .site-header { column-gap: .35rem; }
  .site-nav { column-gap: .65rem; }
  .site-nav a, .top-button { font-size: .86rem; }
  .top-button { padding-inline: .5rem; }
  .wordmark img { width: 2rem; height: 2rem; }
  .wordmark { gap: .38rem; font-size: 1.01rem; }
  .demo-actions { gap: .25rem; }
  .sample-switch button { padding-inline: .46rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
