:root {
  color-scheme: light;
  --paper: #fff;
  --surface: #f4f6f8;
  --chrome: #eef1f5;
  --rule: #e2e6ec;
  --rule-strong: #c9d1dc;
  --ink: #0f172a;
  --muted: #475569;
  --accent: #1d4ed8;
  --accent-hover: #1e40af;
  --blue-text: #1d4ed8;
  --blue-soft: #e9f0ff;
  --grid: #e5ecfb;
  --error: #a42535;
  --shadow: 0 1px 2px #0f172a0a, 0 18px 46px -15px #20355440;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Consolas, monospace;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #10141c;
  --surface: #161c26;
  --chrome: #1b2330;
  --rule: #2a3546;
  --rule-strong: #47566c;
  --ink: #e6edf3;
  --muted: #a9b7c9;
  --blue-text: #a6bfff;
  --blue-soft: #1c2d52;
  --grid: #1b2940;
  --error: #ff98a4;
  --shadow: 0 1px 2px #05081266, 0 18px 46px -15px #03060ad9;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 18px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--sans); }
button, input, textarea { font: inherit; }
a { color: inherit; }
button { cursor: pointer; }
a, button, input, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--blue-text); outline-offset: 3px; }
img, video { display: block; max-width: 100%; }
p, figure, dl, dd { margin: 0; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h2 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 700; line-height: 1.06; letter-spacing: -0.035em; }
h3 { font-size: 23px; font-weight: 650; line-height: 1.18; letter-spacing: -0.025em; }
.mono, code { font-family: var(--mono); font-variant-numeric: tabular-nums; }
code { font-size: 0.89em; white-space: nowrap; }
.nowrap { white-space: nowrap; }
.fine { color: var(--muted); font-size: 13px; line-height: 1.5; }
.wrap { width: min(1160px, calc(100% - 72px)); margin-inline: auto; }
.skip { position: absolute; z-index: 5; top: 8px; left: 8px; padding: 8px 12px; transform: translateY(-150%); background: var(--paper); }
.skip:focus { transform: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { border-color: var(--rule-strong); background: var(--paper); color: var(--ink); }
.btn-secondary:hover { border-color: var(--blue-text); color: var(--blue-text); }
.btn-sm { min-height: 36px; padding-inline: 13px; }

.site-head { border-bottom: 1px solid var(--rule); }
.head-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 62px; gap: 20px; }
.wordmark { display: inline-flex; width: fit-content; align-items: center; gap: 8px; font-size: 19px; font-weight: 720; letter-spacing: -0.035em; text-decoration: none; }
.mark { width: 27px; height: 27px; flex: none; display: block; border-radius: 5.6px; }
[data-theme="dark"] .mark { box-shadow: 0 0 0 1px rgba(255, 255, 255, .22); }
.head-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
.head-nav a { padding-block: 8px; color: var(--muted); font-size: 14px; font-weight: 560; text-decoration: none; }
.head-nav a:hover, .text-link:hover, .frame-bar a:hover { color: var(--blue-text); text-decoration: underline; text-underline-offset: 3px; }
.head-actions { display: flex; justify-content: end; align-items: center; gap: 9px; }
.theme-btn { display: grid; width: 36px; height: 36px; place-items: center; color: var(--ink); background: var(--paper); border: 1px solid var(--rule); border-radius: 7px; }
.theme-btn:hover { border-color: var(--rule-strong); background: var(--surface); }
.theme-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.theme-btn .i-sun, [data-theme="dark"] .theme-btn .i-moon { display: none; }
[data-theme="dark"] .theme-btn .i-sun { display: block; }

.hero { padding: 40px 0 40px; }
.hero-copy { text-align: center; }
h1 { font-size: clamp(36px, 5vw, 69px); line-height: 1.02; font-weight: 720; letter-spacing: -0.04em; }
h1 > span { display: block; color: var(--blue-text); font-size: 0.86em; text-wrap: wrap; }
.lede { max-width: 1120px; margin: 15px auto 0; color: var(--muted); font-size: clamp(15px, 1.3vw, 18px); text-wrap: pretty; }
.hero-cta { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; }
.hero-buttons { display: flex; gap: 10px; }
.hero-buttons .btn { white-space: nowrap; }
.text-link { display: inline-flex; align-items: center; gap: 8px; padding-block: 9px; color: var(--ink); font-size: 14px; font-weight: 630; text-decoration: none; }
.text-link span { color: var(--blue-text); }

.showcase { position: relative; isolation: isolate; margin-top: 19px; padding: 13px 0 0; }
.showcase::before {
  position: absolute;
  z-index: -1;
  inset: 0 0 28%;
  content: "";
  background: linear-gradient(to right, var(--grid) 1px, transparent 1px) center top / 24px 24px,
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px) center top / 24px 24px;
  mask-image: linear-gradient(transparent, #000 19%, #000 53%, transparent);
}
.demo-figure { width: min(960px, calc(100% - 72px)); margin-inline: auto; }
.demo-window { border: 1px solid var(--rule-strong); border-radius: 11px; overflow: hidden; background: var(--paper); box-shadow: var(--shadow); }
.window-bar, .frame-bar { min-height: 39px; padding: 8px 13px; border-bottom: 1px solid var(--rule); background: var(--chrome); color: var(--muted); font-size: 12px; font-weight: 570; }
.window-bar { display: grid; grid-template-columns: 58px minmax(0, 1fr) 58px; align-items: center; gap: 8px; }
.traffic { display: flex; gap: 6px; }
.traffic i { width: 9px; height: 9px; border-radius: 50%; background: #ff6058; }
.traffic i:nth-child(2) { background: #ffbc35; }
.traffic i:nth-child(3) { background: #32c84a; }
.window-title { color: var(--ink); text-align: center; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
.window-domain { text-transform: lowercase; }
.demo { width: 100%; height: auto; aspect-ratio: 8 / 5; background: var(--surface); }
.chapters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.chapters button {
  display: flex;
  align-items: start;
  gap: 9px;
  padding: 12px 11px;
  border: 0;
  border-right: 1px solid var(--rule);
  background: var(--paper);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  text-align: left;
}
.chapters button:last-child { border-right: 0; }
.chapters button:hover { color: var(--blue-text); background: var(--surface); }
.chapters button[aria-current="true"] { background: var(--blue-soft); color: var(--blue-text); box-shadow: inset 0 2px var(--blue-text); font-weight: 650; }
.chapters button:focus-visible { outline-offset: -4px; }
.demo-caption { margin: 13px 0 0; text-align: center; }

.feature-section { border-top: 1px solid var(--rule); }
.feature { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: center; gap: clamp(26px, 5vw, 72px); padding-block: 66px; }
.feature-label { color: var(--blue-text); font-size: 13px; font-weight: 680; }
.feature-copy h2 { margin: 8px 0 17px; }
.feature-copy > p:not(.feature-label), .technical article > p:not(.feature-label) { color: var(--muted); }
.feature-copy > p + p, .technical article > p + p { margin-top: 12px; }
.feature-list { display: grid; gap: 9px; margin: 18px 0; padding-left: 18px; }
.feature-list li::marker { color: var(--blue-text); }
.product-frame { align-self: center; min-width: 0; overflow: hidden; border: 1px solid var(--rule-strong); border-radius: 9px; background: var(--paper); box-shadow: var(--shadow); }
.frame-bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.frame-bar > :first-child { color: var(--ink); font-weight: 650; }
.frame-bar a { text-decoration: none; }
.session-images img { width: 100%; height: auto; }
.frame-footer { display: flex; justify-content: center; padding: 8px; border-top: 1px solid var(--rule); }
.view-switch { display: flex; padding: 3px; border: 1px solid var(--rule); border-radius: 7px; background: var(--surface); }
.view-switch button { min-height: 36px; padding: 4px 12px; border: 1px solid transparent; border-radius: 5px; color: var(--muted); background: transparent; font-size: 13px; font-weight: 620; }
.view-switch button:hover { color: var(--blue-text); }
.view-switch button[aria-pressed="true"] { border-color: var(--rule-strong); color: var(--blue-text); background: var(--paper); }

.report-band { background: var(--surface); border-block: 1px solid var(--rule); }
.feature-report { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.report-frame { grid-row: 1; }
.report-mat { display: grid; justify-items: center; padding: 18px 24px 0; background: var(--surface); }
.report-mat img { width: min(100%, 415px); height: auto; aspect-ratio: 834 / 955; object-fit: cover; object-position: top; border: 1px solid var(--rule); border-bottom: 0; box-shadow: 0 0 18px #0f172a16; }
.stamps { display: flex; flex-wrap: wrap; gap: 5px 6px; margin: 20px 0 0; padding: 0; list-style: none; }
.stamps li { padding: 4px 7px; border: 1px solid var(--rule-strong); border-radius: 4px; color: var(--muted); background: var(--paper); font-size: 10px; font-weight: 700; letter-spacing: 0.045em; }
.technical { display: grid; grid-template-columns: 1fr 1fr; padding-block: 39px; }
.technical article:first-child { padding-right: 36px; }
.technical article + article { border-left: 1px solid var(--rule); padding-left: 36px; }
.technical h3 { margin: 6px 0 11px; }
.technical p { font-size: 14px; }

.pricing { padding-block: 60px 52px; background: #0e1117; color: #e6edf3; color-scheme: dark; --blue-text: #a6bfff; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.plan { min-width: 0; padding: 22px; border: 1px solid #303b4c; border-radius: 8px; background: #181d26; }
.plan-pilot { border-color: #5e7abe; }
.plan h3 { font-size: 17px; letter-spacing: -0.01em; }
.plan-price { margin: 11px 0 2px; font-size: clamp(17px, 2.12vw, 29px); font-weight: 650; line-height: 1.25; letter-spacing: -0.035em; }
.plan-pilot .plan-price { color: #b4c8ff; }
.plan-unit, .pricing-note { color: #a9b7c9; }
.plan-unit { font-size: 13px; }
.plan ul { display: grid; gap: 5px; margin: 17px 0 0; padding: 14px 0 0; border-top: 1px solid #303b4c; list-style: none; font-size: 14px; }
.pricing-note { margin-top: 14px; }

.pilot-section { padding-block: 60px; border-top: 1px solid var(--rule); background: var(--surface); }
.pilot-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(30px, 7vw, 90px); }
.pilot-head p { margin-top: 14px; color: var(--muted); max-width: 35ch; }
.pilot-form { display: grid; gap: 16px; min-width: 0; }
.field { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field > label, .field legend { margin: 0 0 4px; padding: 0; font-size: 14px; font-weight: 650; }
.opt { color: var(--muted); font-weight: 400; }
input[type="email"], textarea { width: 100%; min-width: 0; border: 1px solid var(--rule-strong); border-radius: 6px; padding: 9px 11px; background: var(--paper); color: var(--ink); }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 5px; }
.chip { position: relative; display: inline-flex; cursor: pointer; }
.chip input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 37px; padding: 4px 9px; border: 1px solid var(--rule-strong); border-radius: 5px; background: var(--paper); color: var(--muted); font-size: 13px; }
.chip:hover span, .chip input:checked + span { border-color: var(--blue-text); color: var(--blue-text); }
.chip input:checked + span { background: var(--blue-soft); }
.chip input:focus-visible + span { outline: 2px solid var(--blue-text); outline-offset: 2px; }
input[aria-invalid="true"], fieldset[aria-invalid="true"] .chip span { border-color: var(--error); }
.err, .form-status.bad { color: var(--error); font-size: 13px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.form-status { color: var(--muted); font-size: 14px; }
.form-status:empty { position: absolute; }
.copy-fallback { display: grid; gap: 6px; color: var(--muted); font-size: 14px; }
.copy-fallback textarea { font-size: 14px; }

.site-foot { border-top: 1px solid var(--rule); color: var(--muted); font-size: 13px; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 18px; }
.foot-row a { text-decoration: none; }
.foot-row a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .wrap, .demo-figure { width: calc(100% - 48px); }
  .feature { gap: 29px; padding-block: 48px; }
  .technical article:first-child { padding-right: 22px; }
  .technical article + article { padding-left: 22px; }
}
@media (max-width: 720px) {
  .feature, .feature-report, .pilot-grid { grid-template-columns: minmax(0, 1fr); }
  .report-frame { grid-row: auto; }
  .feature, .report-band .feature { gap: 22px; padding-block: 37px; }
  .report-mat { padding-inline: 16px; }
}
@media (max-width: 580px) {
  .wrap, .demo-figure { width: calc(100% - 32px); }
  .head-row { grid-template-columns: 1fr 1fr; gap: 3px 12px; padding-top: 9px; }
  .head-nav { grid-row: 2; grid-column: 1 / -1; gap: 24px; }
  .head-nav a { padding-block: 7px 9px; font-size: 13px; }
  .head-actions { gap: 6px; }
  .btn-sm { white-space: nowrap; }
  .hero { padding-block: 32px 28px; }
  .hero-cta { row-gap: 6px; }
  .hero-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .hero-buttons .btn { padding-inline: 10px; }
  h1 { font-size: clamp(30px, 9vw, 41px); }
  h1 > span { font-size: 0.9em; text-wrap: balance; }
  .showcase { margin-top: 17px; padding-top: 10px; }
  .window-bar { grid-template-columns: 35px minmax(0, 1fr); padding-inline: 8px; gap: 6px; min-height: 34px; }
  .window-title { font-size: 10px; text-align: left; }
  .traffic { gap: 4px; }
  .traffic i { width: 7px; height: 7px; }
  .chapters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chapters button { padding: 9px 7px; gap: 5px; min-height: 43px; }
  .chapters button:nth-child(2) { border-right: 0; }
  .chapters button:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .demo-caption { text-align: left; }
  .technical, .plans { grid-template-columns: minmax(0, 1fr); }
  .technical { gap: 19px; }
  .technical article:first-child, .technical article + article { padding-inline: 0; }
  .technical article + article { padding-top: 17px; border-top: 1px solid var(--rule); border-left: 0; }
  .pricing, .pilot-section { padding-block: 38px; }
  .plans { gap: 10px; }
  .plan { padding: 16px; }
}

