:root {
  color-scheme: light;
  --navy: #081b3a;
  --navy-soft: #102d52;
  --blue: #075ccb;
  --blue-bright: #1698e8;
  --cyan: #51c7f2;
  --ink: #152b49;
  --muted: #516987;
  --line: #d9e5f4;
  --surface: #ffffff;
  --wash: #f3f7fc;
  --wash-blue: #e8f3ff;
  --success: #08795f;
  --shadow: 0 24px 70px rgba(8, 37, 75, .12);
  --shadow-soft: 0 12px 38px rgba(8, 37, 75, .09);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #f8fbff; }
body { margin: 0; color: var(--ink); background: linear-gradient(180deg, #fbfdff 0, #fff 26rem); }
body::before { content: ""; position: absolute; z-index: -1; inset: 0 0 auto; height: 46rem; background: radial-gradient(circle at 82% 8%, rgba(22,152,232,.16), transparent 24rem), radial-gradient(circle at 12% 6%, rgba(7,92,203,.08), transparent 22rem); pointer-events: none; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; transform: translateY(-160%); padding: 12px 18px; color: #fff; background: var(--navy); border-radius: 10px; }
.skip-link:focus { transform: none; }

.site-header { width: min(1240px, calc(100% - 40px)); min-height: 86px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--navy); }
.brand-mark { display: grid; place-items: center; width: 43px; height: 43px; flex: 0 0 auto; color: #fff; background: linear-gradient(145deg, #073da7, #0aa7e4); border-radius: 50% 50% 50% 13px; font-size: 24px; font-weight: 850; letter-spacing: -.04em; box-shadow: 0 10px 28px rgba(7,92,203,.22); }
.brand-mark.small { width: 36px; height: 36px; font-size: 20px; border-radius: 50% 50% 50% 11px; }
.brand-name { display: grid; font-weight: 850; font-size: 21px; letter-spacing: .12em; line-height: 1; }
.brand-name small { margin-top: 5px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.site-header nav, .site-footer nav { display: flex; align-items: center; gap: 7px; }
.site-header nav a, .site-footer nav a { padding: 10px 12px; color: var(--muted); font-size: 14px; font-weight: 700; text-decoration: none; border-radius: 10px; }
.site-header nav a:hover, .site-header nav a:focus-visible, .site-footer nav a:hover, .site-footer nav a:focus-visible { color: var(--blue); background: var(--wash-blue); outline: none; }
.site-header .portal-link { margin-left: 4px; color: var(--blue); border: 1px solid #bfd7f3; background: rgba(255,255,255,.78); }

.hero { min-height: 700px; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(390px, .96fr); align-items: center; gap: clamp(40px, 6vw, 86px); padding-block: 60px 82px; }
.eyebrow { margin: 0 0 15px; color: var(--blue); font-size: 12px; font-weight: 850; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow-light { color: #8bdcff; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy); }
h1 { max-width: 750px; margin-bottom: 24px; font-size: clamp(44px, 5.5vw, 74px); line-height: .99; letter-spacing: -.055em; }
h1 span { color: var(--blue); }
.hero-lead { max-width: 700px; margin-bottom: 28px; color: var(--muted); font-size: clamp(18px, 2vw, 21px); line-height: 1.65; }
.hero-actions { display: flex; align-items: stretch; flex-wrap: wrap; gap: 12px; }
.button { min-height: 56px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; padding: 13px 21px; border: 1px solid transparent; border-radius: 14px; font-weight: 800; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible { outline: 3px solid #80bdff; outline-offset: 3px; }
.button small { display: block; margin-top: 3px; font-size: 11px; font-weight: 650; opacity: .78; }
.button-primary { color: #fff; background: linear-gradient(135deg, #075ccb, #087be0); box-shadow: 0 14px 30px rgba(7,92,203,.25); }
.button-primary:hover { background: linear-gradient(135deg, #064ca8, #076cca); box-shadow: 0 17px 36px rgba(7,92,203,.31); }
.button-secondary { color: var(--navy); background: rgba(255,255,255,.82); border-color: var(--line); }
.button-secondary:hover { background: #fff; box-shadow: var(--shadow-soft); }
.button-light { min-width: 270px; color: var(--navy); background: #fff; box-shadow: 0 16px 36px rgba(3,20,48,.22); }
.download-icon { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; font-size: 21px; background: rgba(255,255,255,.16); }
.button-light .download-icon { color: #fff; background: var(--blue); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 13px; font-weight: 650; }
.hero-trust li::before { content: "✓"; margin-right: 7px; color: var(--success); font-weight: 900; }
.release-details { max-width: 640px; margin-top: 18px; color: var(--muted); font-size: 12px; }
.release-details summary { cursor: pointer; font-weight: 700; }
.release-details dl { display: grid; gap: 5px; padding: 12px; background: var(--wash); border-radius: 12px; }
.release-details dl div { display: grid; grid-template-columns: 90px 1fr; gap: 8px; }
.release-details dt { font-weight: 750; }
.release-details dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.release-details code { font-family: ui-monospace, "Cascadia Code", monospace; }

.product-scene { min-height: 570px; position: relative; display: grid; align-content: end; padding: 220px 0 26px 54px; }
.product-scene::before { content: ""; position: absolute; inset: 24px 5px 0 38px; border-radius: 46% 54% 43% 57% / 48% 41% 59% 52%; background: linear-gradient(145deg, #e8f3ff, #dfefff 50%, #eef7ff); box-shadow: inset 0 0 0 1px rgba(7,92,203,.05); transform: rotate(-3deg); }
.assistant-halo { position: absolute; z-index: 1; width: min(370px, 82%); aspect-ratio: 1; top: 0; left: 50%; overflow: hidden; border: 10px solid rgba(255,255,255,.82); border-radius: 50% 50% 50% 21%; background: #dceeff; box-shadow: 0 28px 60px rgba(7,65,132,.2); transform: translateX(-43%) rotate(2deg); }
.assistant-halo img { width: 100%; height: 100%; object-fit: cover; }
.chat-card, .diagnosis-card { position: relative; z-index: 2; background: rgba(255,255,255,.96); border: 1px solid rgba(203,220,240,.9); box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.chat-card { justify-self: end; max-width: 300px; margin: 0 4px 14px 80px; padding: 13px 17px; color: var(--navy); border-radius: 17px 17px 4px 17px; font-size: 14px; font-weight: 650; }
.chat-card span { display: block; margin-bottom: 4px; color: var(--blue); font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.diagnosis-card { padding: 22px 24px 20px; border-radius: 22px; }
.status-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; margin-bottom: 13px; color: var(--success); font-size: 12px; }
.status-row small { color: var(--muted); }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #18b98e; box-shadow: 0 0 0 5px #dff6ef; }
.diagnosis-card h2 { margin-bottom: 9px; font-size: 21px; line-height: 1.2; }
.diagnosis-card p { margin-bottom: 15px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.repair-preview { padding: 10px 12px; color: #07634e; background: #e5f7f1; border-radius: 10px; font-size: 12px; font-weight: 750; }
.repair-preview span { margin-right: 6px; }

.trust-strip { width: min(1180px, calc(100% - 40px)); margin: 0 auto 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-soft); }
.trust-strip div { padding: 22px 26px; background: #fff; }
.trust-strip strong, .trust-strip span { display: block; }
.trust-strip strong { margin-bottom: 5px; color: var(--navy); font-size: 15px; }
.trust-strip span { color: var(--muted); font-size: 13px; line-height: 1.5; }

.section { padding-block: 104px; }
.section-heading { max-width: 700px; margin-bottom: 48px; }
.section-heading h2, .safety-copy h2, .boundary-card h2, .final-cta h2 { margin-bottom: 16px; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.06; letter-spacing: -.045em; }
.section-heading > p:last-child, .safety-copy > p, .boundary-card > div > p { color: var(--muted); font-size: 18px; line-height: 1.65; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 0; list-style: none; counter-reset: steps; }
.steps li { position: relative; min-height: 330px; padding: 31px 29px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-soft); }
.steps li::after { content: ""; position: absolute; width: 170px; height: 170px; right: -65px; bottom: -80px; border-radius: 50%; background: var(--wash-blue); }
.step-number { width: 43px; height: 43px; display: grid; place-items: center; margin-bottom: 48px; color: #fff; background: linear-gradient(145deg, var(--blue), var(--blue-bright)); border-radius: 50% 50% 50% 12px; font-weight: 850; box-shadow: 0 10px 24px rgba(7,92,203,.2); }
.steps h3 { margin-bottom: 11px; font-size: 23px; letter-spacing: -.02em; }
.steps p { color: var(--muted); line-height: 1.62; }
.step-example { position: relative; z-index: 1; margin-top: 22px; padding: 13px 14px; color: var(--navy); background: var(--wash); border-radius: 12px; font-size: 13px; font-weight: 680; }
.step-example.check::before { content: "✓"; margin-right: 7px; color: var(--success); }

.safety-section { padding-block: 110px; color: #fff; background: var(--navy); }
.safety-grid { display: grid; grid-template-columns: .82fr 1.18fr; align-items: start; gap: clamp(50px, 8vw, 110px); }
.safety-copy { position: sticky; top: 36px; }
.safety-copy h2 { color: #fff; }
.safety-copy > p { color: #b8cbe3; }
.text-link { display: inline-flex; gap: 9px; margin-top: 16px; color: #8bdcff; font-weight: 800; text-decoration: none; }
.text-link:hover span { transform: translateX(4px); }
.safety-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.safety-cards article { min-height: 230px; padding: 26px; background: rgba(255,255,255,.07); border: 1px solid rgba(171,208,243,.17); border-radius: 20px; }
.safety-icon { display: block; margin-bottom: 44px; color: #8bdcff; font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.safety-cards h3 { color: #fff; font-size: 19px; }
.safety-cards p { color: #b8cbe3; line-height: 1.55; }

.boundary { padding-bottom: 34px; }
.boundary-card { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(38px, 6vw, 76px); padding: clamp(32px, 6vw, 72px); background: linear-gradient(135deg, #eef6ff, #f8fbff); border: 1px solid #d6e7fa; border-radius: 30px; }
.boundary-result { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-soft); }
.boundary-result span, .boundary-result strong, .boundary-result i { display: block; }
.boundary-result span { margin-bottom: 18px; color: var(--blue); font-size: 11px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.boundary-result strong { margin-bottom: 8px; color: var(--navy); font-size: 21px; }
.boundary-result p { color: var(--muted); line-height: 1.55; }
.boundary-result i { padding: 11px 12px; color: var(--navy-soft); background: var(--wash); border-radius: 10px; font-size: 12px; font-style: normal; font-weight: 700; }

.faq { max-width: 920px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 24px 48px 24px 2px; cursor: pointer; color: var(--navy); font-size: 18px; font-weight: 800; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 8px; top: 18px; width: 32px; height: 32px; display: grid; place-items: center; color: var(--blue); background: var(--wash-blue); border-radius: 50%; font-size: 22px; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 760px; margin: -5px 0 24px; color: var(--muted); font-size: 16px; line-height: 1.65; }

.final-cta { min-height: 300px; margin-top: 16px; padding: 58px 66px; display: flex; align-items: center; justify-content: space-between; gap: 40px; color: #fff; background: linear-gradient(135deg, #073a97, #075ccb 60%, #0798d8); border-radius: 30px; box-shadow: 0 30px 70px rgba(7,71,155,.24); }
.final-cta h2 { margin: 0; color: #fff; }
.site-footer { min-height: 190px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; padding-block: 56px 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand strong { color: var(--navy); letter-spacing: .12em; }
.footer-brand span { margin-top: 4px; color: var(--muted); font-size: 12px; }
.site-footer > p { grid-column: 1 / -1; max-width: 780px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }

.message-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 50% 10%, #e4f1ff, #f7faff 55%); }
.message-page main { width: min(620px, 100%); padding: 52px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.message-page .brand-mark { margin: 0 auto 24px; }
.message-page h1 { font-size: clamp(36px, 6vw, 54px); }
.message-page p:not(.eyebrow) { margin: 0 auto 28px; color: var(--muted); font-size: 17px; line-height: 1.65; }

@media (max-width: 960px) {
  .site-header nav a:not(.portal-link) { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 48px; }
  .hero-copy { text-align: center; }
  .hero-lead, .section-heading { margin-inline: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .release-details { margin-inline: auto; text-align: left; }
  .product-scene { width: min(600px, 100%); margin-inline: auto; }
  .steps { grid-template-columns: 1fr; }
  .steps li { min-height: auto; }
  .step-number { margin-bottom: 25px; }
  .safety-grid { grid-template-columns: 1fr; }
  .safety-copy { position: static; }
  .boundary-card { grid-template-columns: 1fr; }
  .final-cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 680px) {
  .shell, .site-header, .trust-strip { width: min(100% - 26px, 1180px); }
  .site-header { min-height: 74px; }
  .brand-mark { width: 39px; height: 39px; }
  .brand-name small { display: none; }
  .site-header .portal-link { padding: 9px 10px; font-size: 12px; }
  .hero { min-height: auto; padding-block: 42px 58px; }
  h1 { font-size: clamp(40px, 12vw, 58px); }
  .hero-lead { font-size: 18px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-trust { display: grid; gap: 8px; text-align: left; }
  .product-scene { min-height: 520px; padding-left: 18px; }
  .product-scene::before { left: 0; right: 0; }
  .assistant-halo { width: 82%; }
  .chat-card { margin-left: 55px; }
  .diagnosis-card { padding: 19px; }
  .trust-strip { grid-template-columns: 1fr; }
  .section { padding-block: 76px; }
  .section-heading { margin-bottom: 34px; }
  .steps li { padding: 25px 22px; }
  .safety-section { padding-block: 80px; }
  .safety-cards { grid-template-columns: 1fr; }
  .safety-cards article { min-height: auto; }
  .safety-icon { margin-bottom: 26px; }
  .boundary-card { padding: 28px 22px; }
  .final-cta { width: calc(100% - 26px); padding: 38px 25px; border-radius: 24px; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { flex-wrap: wrap; }
  .site-footer > p { grid-column: auto; }
  .message-page main { padding: 38px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media (prefers-contrast: more) {
  :root { --line: #7890ad; --muted: #344f73; }
  .button, .steps li, .diagnosis-card, .trust-strip, .boundary-card { border-width: 2px; }
}
