/* SPDX-License-Identifier: Apache-2.0 */
:root {
  color-scheme: light;
  --ink: #192433;
  --muted: #526473;
  --line: #d7e1e7;
  --blue: #245fd4;
  --green: #237c63;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; color: var(--ink); background: white; font-family: Inter, ui-sans-serif, system-ui, sans-serif; line-height: 1.6; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; letter-spacing: 0; }
h1 { font-size: 68px; line-height: 1.1; }
h2 { font-size: 36px; line-height: 1.25; margin: 12px 0 20px; }
h3 { font-size: 21px; line-height: 1.35; margin: 12px 0; }
p + p { margin-top: 16px; }
.skip-link { position: fixed; top: -100px; left: 12px; z-index: 20; padding: 10px 16px; background: white; }
.skip-link:focus { top: 12px; }
.topbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px max(24px, calc((100% - 1160px) / 2)); background: white; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; font-size: 23px; font-weight: 750; }
.brand img { display: block; flex: none; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; font-size: 14px; font-weight: 600; }
.hero { background: #f0f5fb url('/assets/architecture-overview.svg') right center / 1000px auto no-repeat; position: relative; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #f0f5fb 0%, #f0f5fb 34%, rgba(240,245,251,.92) 49%, rgba(240,245,251,.08) 75%); }
.hero-inner { position: relative; max-width: 1208px; margin: auto; padding: 64px 24px 72px; }
.eyebrow { text-transform: uppercase; font-size: 12px; font-weight: 750; color: var(--green); }
.hero h1 { margin: 15px 0 22px; }
.hero-heading { font-size: 30px; line-height: 1.3; font-weight: 650; max-width: 580px; }
.hero-copy { font-size: 18px; color: var(--muted); max-width: 500px; margin: 20px 0 28px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 11px 20px; border: 1px solid var(--blue); border-radius: 6px; cursor: pointer; font-size: 15px; font-weight: 650; text-align: center; }
.primary { background: var(--blue); color: white; }
.primary:hover { background: #174dae; text-decoration: none; }
.button:disabled { opacity: .65; cursor: wait; }
.section { max-width: 1208px; padding: 68px 24px; margin: auto; }
.lead { max-width: 810px; font-size: 19px; color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 36px; margin-top: 42px; }
.features article { border-top: 1px solid var(--line); padding-top: 22px; }
.features p, .experience > p:last-child { color: var(--muted); }
.category { font-size: 13px; font-weight: 700; }
.blue { color: var(--blue); }
.green { color: var(--green); }
.rose { color: #a93f6e; }
.why { background: #f1f7f5; }
figure { margin: 34px 0 22px; }
figure img { display: block; width: 100%; height: auto; max-height: 440px; object-fit: contain; background: white; }
figcaption { color: var(--muted); font-size: 13px; padding-top: 10px; }
.vision { max-width: 860px; color: var(--muted); }
.experience { padding-top: 60px; padding-bottom: 60px; }
.early-access { background: #eff3fb; border-top: 1px solid var(--line); }
form { max-width: 700px; margin-top: 28px; }
form > label { display: block; font-weight: 650; margin-bottom: 8px; }
.email-row { display: flex; gap: 12px; }
input[type=email] { min-width: 0; flex: 1; width: 100%; border: 1px solid #a6b5c5; border-radius: 6px; padding: 12px 14px; background: white; color: var(--ink); }
.consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; font-size: 14px; font-weight: 400; cursor: pointer; }
.consent input { width: 18px; height: 18px; flex: none; margin: 3px 0 0; accent-color: var(--blue); }
.privacy { font-size: 13px; color: var(--muted); }
.form-status { min-height: 26px; font-size: 14px; font-weight: 600; margin-top: 12px; }
.form-status[data-state=unavailable], .form-status[data-state=rate-limited], .form-status[data-state=invalid] { color: #993149; }
.form-status[data-state=saved] { color: var(--green); }
.honeypot { display: none; }
footer { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; padding: 30px max(24px, calc((100% - 1160px) / 2)); font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
footer > span { font-weight: 750; font-size: 18px; color: var(--ink); }
@media (max-width: 800px) {
  html { scroll-padding-top: 140px; }
  .topbar { flex-wrap: wrap; gap: 12px; padding: 14px 24px; }
  nav { gap: 14px; }
  h1 { font-size: 48px; }
  h2 { font-size: 28px; }
  .hero-heading { font-size: 25px; }
  .hero-inner { padding-top: 46px; padding-bottom: 48px; }
  .hero { background-position: center bottom; background-size: 760px; }
  .hero::before { background: rgba(240,245,251,.93); }
  .section { padding: 46px 24px; }
  .features { grid-template-columns: 1fr; gap: 24px; margin-top: 28px; }
  .email-row { flex-direction: column; }
  .email-row .button { width: 100%; }
  .lead { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
