:root {
  color-scheme: light;
  --ink: #192238;
  --subtle: #4e5a71;
  --line: #dce1ec;
  --surface: #f5f7fb;
  --violet: #5549c9;
  --violet-dark: #4335a4;
  --hero: #191e35;
  --white: #fff;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--violet-dark); text-underline-offset: .2em; }
a:hover { color: var(--violet); }
button, summary { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3, strong { line-height: 1.15; }
h1, h2 { letter-spacing: -.042em; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.45rem); }
h3 { font-size: 1.24rem; letter-spacing: -.018em; }
p { color: var(--subtle); }
:focus-visible { outline: 3px solid #6b5cde; outline-offset: 4px; }
.hero :focus-visible { outline-color: #dbd3ff; }

.wrap { width: min(100% - 5.5rem, 76rem); margin-inline: auto; }
.skip { position: absolute; z-index: 3; left: 1rem; top: .75rem; background: var(--white); padding: .65rem 1rem; border-radius: .45rem; transform: translateY(-200%); }
.skip:focus { transform: none; }
.header { position: relative; z-index: 2; background: #fff; border-bottom: 1px solid #e8ebf3; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.75rem; min-height: 4.65rem; }
.brand { display: inline-flex; align-items: center; gap: .56rem; width: fit-content; color: var(--ink); text-decoration: none; font-size: 1.32rem; font-weight: 750; letter-spacing: -.05em; }
.brand:hover { color: var(--violet-dark); }
.brand-mark { display: inline-flex; justify-content: center; align-items: center; gap: 2px; width: 1.7rem; height: 1.7rem; border-radius: .47rem; background: #6a5bdc; box-shadow: inset 0 0 0 1px #ffffff38; flex: none; }
.brand-mark i { width: 2px; height: 9px; transform: skew(-24deg); border-radius: 2px; background: #fff; }
.brand-mark i:nth-child(2) { height: 13px; }
.desktop-nav, .header-actions { display: flex; align-items: center; gap: clamp(.95rem, 2.3vw, 2rem); }
.desktop-nav a, .footer a:not(.brand), .mobile-nav nav > a { color: var(--subtle); text-decoration: none; font-size: .94rem; font-weight: 550; }
.desktop-nav a:hover, .desktop-nav a[aria-current], .footer a:hover, .mobile-nav nav > a:hover, .mobile-nav nav > a[aria-current] { color: var(--violet-dark); text-decoration: underline; }
.header-actions { gap: .8rem; }
.locale { color: var(--subtle); padding: .45rem; border-radius: .4rem; font-size: .875rem; font-weight: 700; text-decoration: none; }
.locale:hover { color: var(--violet-dark); background: #f1effe; }
.mobile-nav { display: none; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.85rem; padding: .69rem 1.13rem; border: 1px solid transparent; border-radius: .55rem; font-size: .94rem; font-weight: 650; line-height: 1.35; text-align: center; text-decoration: none; transition: background-color .15s, border-color .15s; }
.button-primary { background: var(--violet); color: #fff; }
.button-primary:hover { background: var(--violet-dark); color: #fff; }
.button-outline, .button-login { border-color: var(--line); background: var(--white); color: var(--ink); }
.button-outline:hover, .button-login:hover { border-color: #b6acec; color: var(--violet-dark); background: #f8f6ff; }
.button-login { min-height: 2.55rem; padding: .52rem .9rem; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: .72rem; margin-top: 1.65rem; }
.button-ghost { border-color: #aaa4d47d; color: #f4f1ff; }
.button-ghost:hover { border-color: #c9c0ff; color: #fff; background: #ffffff10; }

.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(ellipse at 86% 49%, #42376a, transparent 56%), linear-gradient(117deg, #171d32 30%, #272548); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(#bcb2f015 1px, transparent 1px), linear-gradient(90deg, #bcb2f015 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 88% 52%, #000 3%, transparent 64%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, .89fr) minmax(0, 1.11fr); align-items: center; gap: 2.9rem; padding-block: 4.35rem 3.9rem; }
.hero h1 { font-size: clamp(2.6rem, 4.35vw, 4.5rem); line-height: 1.04; letter-spacing: -.061em; margin: .85rem 0 1.1rem; font-weight: 740; text-wrap: balance; }
.hero h1 em { display: block; font-style: normal; color: #c5baff; }
.hero .eyebrow { color: #e0d9fc; display: inline-flex; align-items: center; gap: .55rem; }
.hero .eyebrow span { width: .44rem; height: .44rem; border-radius: 50%; background: #bcadff; box-shadow: 0 0 0 4px #bcadff29; }
.hero .lede { color: #d7d9ec; max-width: 28rem; }
.hero .button-primary { background: #d3c9ff; color: #261b59; }
.hero .button-primary:hover { background: #ece5ff; }
.hero-figure { min-width: 0; }
.frame { border: 1px solid #c9bcff69; border-radius: .9rem; overflow: hidden; box-shadow: 0 1.3rem 3rem #1412276e; background: #f5f7fb; }
.frame-bar { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .45rem .8rem; color: var(--ink); background: var(--white); border-bottom: 1px solid #e2e5ef; font-weight: 700; font-size: .875rem; }
.frame-bar > span:first-child { display: flex; gap: .4rem; align-items: center; }
.frame-bar .brand-mark { width: 1.28rem; height: 1.28rem; border-radius: .33rem; }
.frame-bar .brand-mark i { height: 6px; }
.frame-bar .brand-mark i:nth-child(2) { height: 9px; }
.sample-pill { font-size: .875rem; font-weight: 650; padding: .18rem .58rem; border-radius: .35rem; background: #efebff; color: #4c399d; white-space: nowrap; }
.hero-figure > figcaption { margin-top: .68rem; color: #d7d9ec; font-size: .875rem; }
.frame img { width: 100%; }

.eyebrow { font-size: .89rem; color: var(--violet-dark); font-weight: 700; letter-spacing: .01em; }
.lede { font-size: clamp(1.03rem, 1.6vw, 1.16rem); line-height: 1.62; }
.page-intro { background: linear-gradient(115deg, #faf9ff, #eeebfc); border-bottom: 1px solid #e7e2f6; padding-block: 3.9rem 3.6rem; }
.intro-copy { max-width: 55rem; }
.page-intro h1 { font-size: clamp(2.35rem, 4.9vw, 4rem); line-height: 1.08; letter-spacing: -.055em; margin-block: .52rem .92rem; text-wrap: balance; }
.page-intro .lede { max-width: 42rem; }
.content-section { padding-block: 3.85rem; }
.compact-section { padding-block: 2.8rem; }
.end-section { padding-block: 1.4rem 3.7rem; }
.section-title { margin-bottom: 1.7rem; max-width: 45rem; }
.section-title p, .evidence-inner p, .pilot p { margin-top: .55rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.feature-card { border: 1px solid var(--line); border-radius: .8rem; padding: 1.45rem; background: var(--white); }
.feature-card h2 { font-size: 1.24rem; letter-spacing: -.018em; }
.feature-card p { margin-top: .62rem; }
.feature-card .button { margin-top: 1.2rem; }
.feature-mark { display: inline-flex; align-items: center; justify-content: center; position: relative; gap: 3px; width: 2.6rem; height: 2.6rem; border-radius: .6rem; color: var(--violet-dark); background: #f1eeff; border: 1px solid #e8e1ff; margin-bottom: .95rem; }
.feature-mark i { width: 3px; height: 10px; background: currentColor; border-radius: 3px; }
.feature-mark i:nth-child(2) { height: 16px; }
.feature-mark i:nth-child(3) { height: 13px; }
.mark-1 i { width: 4px; height: 4px; }
.mark-1 i:nth-child(2) { height: 4px; box-shadow: 0 -7px currentColor, 0 7px currentColor; }
.mark-1 i:nth-child(3) { height: 4px; }
.mark-3 i { transform: rotate(45deg); }
.mark-4 i:nth-child(1) { height: 7px; }
.mark-4 i:nth-child(3) { height: 20px; }
.mark-5 i:nth-child(1) { height: 19px; }
.mark-5 i:nth-child(2) { height: 12px; }
.mark-5 i:nth-child(3) { height: 6px; }
.mark-6 i { width: 4px; height: 4px; }
.mark-6 i:nth-child(2), .mark-6 i:nth-child(3) { height: 4px; }
.evidence-band { border-block: 1px solid #e8e3f8; background: #f7f5ff; }
.evidence-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1.35rem; padding-block: 2.35rem; }
.evidence-inner h2, .pilot h2 { font-size: clamp(1.45rem, 2.8vw, 1.95rem); }
.evidence-inner p, .pilot p { max-width: 42rem; }
.evidence-mark .feature-mark { margin: 0; width: 3.15rem; height: 3.15rem; }
.pilot { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; border: 1px solid var(--line); border-radius: .8rem; padding: 1.65rem 1.75rem; background: var(--surface); }
.evidence-band + .end-section { padding-top: 3.5rem; }
.steps { margin: 0; max-width: 51rem; padding-left: 1.65rem; }
.steps li { padding: .15rem 0 1.35rem .55rem; margin-block: .35rem; }
.steps li::marker { color: var(--violet-dark); font-weight: 700; }
.steps li + li { border-top: 1px solid var(--line); padding-top: 1.15rem; }
.steps h2, .demo-card h2, .contact-grid h2 { font-size: 1.4rem; letter-spacing: -.025em; }
.steps p { margin-top: .42rem; }
.price-card .price { margin-block: .75rem; }
.price strong { font-size: 2.47rem; letter-spacing: -.06em; color: var(--ink); }
.demo-grid, .contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.demo-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: .85rem; overflow: hidden; background: var(--surface); }
.demo-card figcaption { flex: 1; background: var(--white); display: flex; justify-content: space-between; align-items: start; gap: .6rem; padding: 1.1rem; }
.demo-card figcaption p { margin-top: .35rem; }
.demo-card img { width: 100%; }
.contact-details { margin-bottom: 3rem; }
.contact-details p { margin-top: 1rem; }
.company-details { display: grid; gap: .3rem; color: var(--subtle); margin-block: .75rem; font-style: normal; overflow-wrap: anywhere; }
.company-details strong { color: var(--ink); }
.company-details a { width: fit-content; }
.legal-status { padding-top: 1.65rem; }
.legal-status p { color: var(--violet-dark); font-weight: 650; }
.prose { padding-block: 1.25rem 3.5rem; }
.prose section { max-width: 49rem; padding-block: 1.25rem; }
.prose section + section { border-top: 1px solid var(--line); }
.prose h2 { font-size: 1.5rem; letter-spacing: -.024em; }
.prose p { margin-top: .55rem; }
.prose .button { margin-top: .75rem; }
.policy-facts { margin: .85rem 0 0; padding: 1rem; background: var(--surface); border-radius: .6rem; }
.policy-facts dt { font-weight: 700; }
.policy-facts dd { margin: .2rem 0 0; color: var(--subtle); }
.policy-facts dd + dt { margin-top: .85rem; }

.footer { background: var(--surface); border-top: 1px solid #e2e7f2; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: 2rem; padding-block: 2.5rem 2.7rem; }
.footer-brand p { margin-top: .7rem; font-size: .94rem; }
.footer nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.footer-group { display: grid; align-content: start; gap: .34rem; }
.footer-group strong { margin-bottom: .25rem; font-size: .94rem; }
.footer-group a { width: fit-content; }

@media (max-width: 64rem) {
  .wrap { width: min(100% - 3.5rem, 76rem); }
  .hero-grid { gap: 1.75rem; }
}

@media (max-width: 53rem) {
  .desktop-nav, .header-actions { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary { display: flex; align-items: center; gap: .55rem; padding: .45rem .7rem; border: 1px solid var(--line); border-radius: .45rem; cursor: pointer; font-weight: 650; font-size: .94rem; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span { width: .44rem; height: .44rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-.1rem) rotate(45deg); }
  .mobile-nav[open] summary span { transform: translateY(.12rem) rotate(225deg); }
  .mobile-nav nav { display: grid; position: absolute; top: 100%; inset-inline: 0; gap: .15rem; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 .65rem 1.2rem #14122718; padding: .7rem 1.75rem 1rem; }
  .mobile-nav nav > a { border-radius: .35rem; padding: .48rem .3rem; }
  .mobile-actions { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; margin-top: .4rem; }
}

@media (max-width: 44rem) {
  .wrap { width: min(100% - 2.25rem, 76rem); }
  .header-inner { min-height: 4.12rem; }
  .mobile-nav nav { padding-inline: 1.125rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 1.9rem; padding-block: 2.9rem 2.5rem; }
  .hero h1 { max-width: 33rem; text-wrap: initial; }
  .hero .lede { max-width: 34rem; }
  .page-intro { padding-block: 2.7rem; }
  .content-section, .compact-section { padding-block: 2.5rem; }
  .feature-grid, .demo-grid, .contact-grid { grid-template-columns: 1fr; }
  .evidence-inner { grid-template-columns: 1fr; gap: .85rem; }
  .evidence-inner .button { justify-self: start; }
  .pilot { align-items: start; flex-direction: column; gap: 1rem; padding: 1.25rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.55rem; }
}

@media (max-width: 22rem) {
  .hero h1 { font-size: 2.25rem; }
  .footer nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-card figcaption { flex-direction: column-reverse; }
}

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}
