:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1f2937;
  background: #f8fafc;
  line-height: 1.65;
  font-synthesis: none;
  --app: #111827;
  --night: #030712;
  --ink: #111827;
  --accent: #4f46e5;
  --accent-deep: #4338ca;
  --accent-light: #a5b4fc;
  --muted: #4b5563;
  --on-dark-muted: #cbd5e1;
  --line: #dbe3ee;
  --shade: #eef2f8;
  --surface: #fff;
  --shadow: 0 16px 48px #11182712;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--accent-deep); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 2px; }
.skip-link { position: absolute; top: .5rem; left: 1rem; padding: .75rem 1rem; background: white; z-index: 10; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.wrap { width: min(1200px, calc(100% - 3.5rem)); margin-inline: auto; }

.site-header, .site-footer { color: var(--on-dark-muted); background: var(--app); }
.site-header { border-bottom: 1px solid #293345; }
.header-inner, .footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .85rem 2rem; }
.header-inner { min-height: 74px; padding-block: .9rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: #f9fafb; text-decoration: none; font-weight: 780; font-size: 1.24rem; letter-spacing: -.035em; }
.brand-mark { display: grid; place-items: center; width: 2.15rem; height: 2.15rem; flex: 0 0 auto; border-radius: .6rem; background: linear-gradient(135deg, #3b82f6, #9333ea); }
.brand-mark::before { content: ""; inline-size: .95rem; block-size: 1.1rem; background: white; clip-path: polygon(58% 0, 0 57%, 40% 57%, 34% 100%, 100% 38%, 60% 38%); }
nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.5rem; list-style: none; margin: 0; padding: 0; }
nav a { display: inline-block; padding-block: .4rem; color: var(--on-dark-muted); font-size: .91rem; font-weight: 600; text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: #fff; text-decoration: underline; }
.signin { min-height: 40px; padding: .45rem .8rem; border: 1px solid #475569; border-radius: 8px; color: #f9fafb; }
.signin:hover { border-color: var(--accent-light); background: #253148; text-decoration: none; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1.25rem; background: var(--accent); color: #fff; border-radius: 8px; font-size: .96rem; font-weight: 700; text-decoration: none; }
.button:hover { background: var(--accent-deep); }
.eyebrow { color: var(--accent-deep); font-size: .76rem; font-weight: 740; letter-spacing: .13em; text-transform: uppercase; margin: 0 0 .85rem; }
h1, h2, h3 { color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 4.8vw, 4.2rem); line-height: 1.03; letter-spacing: -.055em; margin: 0 0 1.25rem; }
h2 { font-size: clamp(1.7rem, 3.3vw, 2.55rem); line-height: 1.13; letter-spacing: -.038em; margin: 0 0 .9rem; }
h3 { font-size: 1.1rem; line-height: 1.3; margin: 0 0 .55rem; }
p { margin: 0 0 1.1rem; }
.lead { color: var(--muted); font-size: 1.13rem; max-width: 56ch; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem 1.3rem; margin-top: 1.45rem; }
.text-action { font-weight: 670; }
.note { color: var(--muted); font-size: .9rem; margin-top: 1rem; }

.hero-shell {
  color: var(--on-dark-muted);
  background: radial-gradient(ellipse at 86% 20%, #28255a 0, transparent 56%), linear-gradient(135deg, var(--night), var(--app) 80%);
}
.hero-shell h1, .demo-band h2 { color: #f9fafb; }
.hero-shell h1 span, .hero-shell .eyebrow, .demo-band .eyebrow { color: var(--accent-light); }
.hero-shell .lead, .hero-shell .note { color: var(--on-dark-muted); }
.hero-shell a:not(.button) { color: #c7d2fe; }
:is(.site-header, .site-footer, .hero-shell, .demo-band) :focus-visible { outline-color: var(--accent-light); }
.hero { padding-block: clamp(3rem, 7vw, 6.25rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-copy h1 { max-width: 16ch; }
.hero-copy .lead { max-width: 43ch; }
.hero-grid > *, .proof-grid > *, .split > * { min-width: 0; }
.page-hero { padding-block: clamp(3rem, 6vw, 5rem); }
.page-hero h1 { max-width: 21ch; }

.product-proof { margin: 0; min-width: 0; }
.product-window { padding: .55rem; border: 1px solid #5b628c; border-radius: 16px; background: #182135; box-shadow: 0 28px 80px #0206179c; }
.window-label { padding: .35rem .7rem .75rem; color: #dce5f4; font-size: .8rem; font-weight: 660; }
.product-frame { max-height: 400px; overflow: auto; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); box-shadow: var(--shadow); }
.product-frame img { display: block; width: 100%; height: auto; }
.hero-proof .product-frame { max-height: clamp(19rem, 34vw, 29rem); border: 0; border-radius: 9px; color-scheme: light; box-shadow: none; }
.product-proof figcaption { color: var(--ink); font-size: .84rem; font-weight: 650; margin-top: .85rem; }
.proof-note { color: var(--muted); font-size: .85rem; margin: .28rem 0; }
.hero-proof figcaption { color: #e2e8f0; }
.hero-proof .proof-note { color: var(--on-dark-muted); }
.image-link { font-size: .84rem; display: inline-block; padding-block: .25rem; }
.proof-summary { display: grid; grid-template-columns: .86fr 1.14fr; gap: 2.5rem; align-items: center; padding-block: 2.4rem; }
.proof-summary h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); }
.proof-summary h2, .proof-summary p:last-child { margin-bottom: 0; }
.proof-summary p:last-child { color: var(--muted); max-width: 52ch; }

.section { padding-block: clamp(3.1rem, 6.1vw, 5.25rem); }
.tinted { background: var(--shade); border-block: 1px solid var(--line); }
.steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.steps li { padding: 1.3rem 1.4rem 1.4rem; border: 1px solid var(--line); border-top: 3px solid #a5b4fc; border-radius: 12px; background: var(--surface); }
.steps p { margin-bottom: 0; color: var(--muted); }
.proof-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.proof-grid--reverse { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.proof-grid--reverse > :first-child { grid-column: 2; grid-row: 1; }
.proof-grid--reverse > figure { grid-column: 1; grid-row: 1; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 6vw, 5rem); }
.checklist { padding-left: 1.2rem; margin: 0 0 1.4rem; }
.checklist li { padding-left: .25rem; margin-bottom: .6rem; }
.checklist li::marker { color: var(--accent); }

.article { max-width: 810px; padding-top: 1.4rem; }
.article-section { padding-block: 2.35rem; border-bottom: 1px solid var(--line); }
.article-section h3 { margin-top: 1.6rem; }
.callout { border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0; padding: 1.1rem 1.25rem; background: #e9edfc; margin-block: 1.5rem; }
.callout p:last-child, .article-section p:last-child { margin-bottom: 0; }
.closing { padding-block: 3.35rem; max-width: 70ch; }
.demo-band { background: radial-gradient(ellipse at 6% 20%, #23214c, transparent 57%), var(--app); color: var(--on-dark-muted); }
.demo-request { max-width: none; display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; padding-block: clamp(3rem, 6vw, 5.25rem); }
.demo-intro { padding-top: .45rem; }
.demo-form { display: grid; gap: 1.15rem; padding: clamp(1.2rem, 2.5vw, 2rem); border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: #1f2937; box-shadow: 0 18px 56px #02061752; }
.demo-form :focus-visible { outline-color: var(--accent); }
.form-intro, .optional { color: var(--muted); font-size: .84rem; }
.form-intro { margin: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form-field { display: grid; gap: .4rem; align-content: start; }
.form-field label { color: var(--ink); font-weight: 650; font-size: .94rem; }
.form-field input, .form-field textarea { width: 100%; min-height: 46px; padding: .65rem .8rem; border: 1px solid #94a3b8; border-radius: 7px; background: #fff; color: var(--ink); font: inherit; }
.form-field textarea { resize: vertical; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--accent); }
.consent { display: grid; grid-template-columns: auto 1fr; gap: .65rem; align-items: start; font-size: .91rem; }
.consent input { accent-color: var(--accent); inline-size: 1.1rem; block-size: 1.1rem; margin-top: .25rem; }
.demo-form .button { border: 0; cursor: pointer; justify-self: start; }
.demo-form .button:disabled { cursor: not-allowed; background: #64748b; color: #fff; }
.demo-status { margin: 0; padding: .7rem .85rem; border-radius: 7px; background: #eef2ff; }
.demo-status[data-state="error"] { color: #712b2b; background: #fff1f1; }
.demo-status[data-state="success"] { color: #17452b; background: #edf8f1; }
.demo-honeypot, .visually-hidden { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.educational p { max-width: 67ch; }
.site-footer { padding-block: 2.3rem; border-top: 1px solid #293345; font-size: .9rem; }
.footer-inner { align-items: flex-start; }
.site-footer p { margin: .55rem 0 0; }

@media (max-width: 850px) {
  .hero-grid, .proof-grid, .split, .proof-summary, .demo-request { grid-template-columns: minmax(0, 1fr); gap: 1.65rem; }
  .hero-copy h1 { max-width: 20ch; }
  .proof-grid--reverse > :first-child, .proof-grid--reverse > figure { grid-column: auto; grid-row: auto; }
  .hero-proof .product-frame { max-height: 380px; }
  .steps { gap: .85rem; }
  .steps li { padding: 1.1rem; }
}

@media (max-width: 480px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { align-items: flex-start; }
  .header-inner nav { width: 100%; }
  nav ul { gap: .35rem .85rem; }
  nav a { font-size: .86rem; }
  .signin { min-height: auto; padding: .25rem .55rem; }
  .hero { padding-block: 2.5rem; }
  .actions { gap: .7rem 1rem; }
  .steps, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .demo-form .button { justify-self: stretch; }
  .product-frame, .hero-proof .product-frame { max-height: 340px; }
  .product-window { padding: .4rem; }
  .article-section { padding-block: 1.8rem; }
}
