@font-face {
  font-family: "Outfit";
  src: url("/fonts/outfit-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --page: #0a0e14;
  --surface: #111722;
  --chrome: #17202e;
  --text: #f0f4f8;
  --muted: #9aa9bd;
  --rule: #222e40;
  --control: #6f829c;
  --accent: #5EA8FF;
  --on-accent: #07111e;
  --accent-soft: rgba(94, 168, 255, 0.13);
  --shadow: 0 24px 64px -24px rgba(0, 0, 0, 0.72);
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --radius: 8px;
  --gutter: clamp(16px, 5vw, 48px);
  --display: "Outfit", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}
:root[data-theme="light"] {
  color-scheme: light;
  --page: #f6f5f0;
  --surface: #ecebe3;
  --chrome: #e2e1d8;
  --text: #131820;
  --muted: #4a5568;
  --rule: #d2d2c8;
  --control: #647082;
  --accent: #1D4ED8;
  --on-accent: #ffffff;
  --accent-soft: rgba(29, 78, 216, 0.09);
  --shadow: 0 22px 54px -24px rgba(19, 24, 32, 0.2);
}
@media (max-width: 339px) {
  :root { --gutter: 10px; }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font: 400 1.03125rem/1.62 var(--body);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3, .brand {
  font-family: var(--display);
  font-weight: 500;
  font-optical-sizing: auto;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-wrap: balance;
}
a { color: var(--accent); text-underline-offset: 0.22em; }
a[href^="mailto:"] { overflow-wrap: anywhere; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap {
  max-width: 1220px;
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}
.label, .number, .theme-switch, label {
  font-family: var(--mono);
  font-size: 0.78125rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.4;
}
.label, .number, .small { color: var(--muted); }
.small { font-size: 0.875rem; }

.ring-field {
  position: absolute;
  inset: 0 0 auto;
  height: min(680px, 100vh);
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background-image:
    repeating-radial-gradient(
      circle at 76% 24%,
      transparent 0,
      transparent 46px,
      var(--rule) 46px,
      var(--rule) 47px
    );
  opacity: 0.65;
  mask-image: radial-gradient(ellipse 80% 75% at 72% 20%, rgba(0, 0, 0, 0.9) 0%, transparent 78%);
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding-block: 14px;
  border-bottom: 1px solid var(--rule);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  padding-block: 6px;
  white-space: nowrap;
}
.brand-mark { flex: none; display: block; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}
.nav-link:hover { color: var(--accent); }
.contact {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  background: var(--accent);
  color: var(--on-accent);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
}
.theme-switch {
  min-height: 44px;
  padding: 0 12px;
  background: none;
  color: var(--text);
  border: 1px solid var(--control);
  border-radius: var(--radius);
  cursor: pointer;
}

.opening {
  display: grid;
  gap: 36px;
  padding-block: clamp(28px, 5vw, 72px) clamp(40px, 6vw, 72px);
}
.opening-text { display: grid; gap: 18px; align-content: start; min-width: 0; }
h1 { font-size: clamp(2.125rem, 1.35rem + 3.8vw, 3.75rem); line-height: 1.05; max-width: 15ch; }
h1[data-lines] { min-height: 3.25em; }
@media (max-width: 560px) {
  h1[data-lines] { min-height: 4.4em; }
}
h1.swapping { opacity: 0; transform: translateY(-8px); }
.lede { font-size: 1.09375rem; max-width: 44ch; color: var(--text); }
.quiet { color: var(--muted); max-width: 44ch; font-size: 0.9375rem; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.primary, .secondary {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
}
.primary { background: var(--accent); color: var(--on-accent); }
.primary:hover { background: color-mix(in srgb, var(--accent) 86%, var(--text)); }
.secondary { color: var(--text); border-color: var(--control); }
.secondary:hover { border-color: var(--text); }

.app-stage { min-width: 0; }
.app-shot {
  display: grid;
  background: var(--surface);
  border: 1px solid var(--control);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-width: 0;
}
.shot-chrome {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding: 10px 14px;
  background: var(--chrome);
  border-bottom: 1px solid var(--rule);
}
.chrome-title {
  font: 400 0.75rem/1.3 var(--mono);
  color: var(--muted);
  margin-right: auto;
  min-width: 0;
  overflow-wrap: anywhere;
}
.shot-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 3px;
  background: var(--page);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}
.shot-tabs [role="tab"] {
  min-height: 32px;
  padding: 4px 10px;
  border: 1px solid transparent;
  border-radius: calc(var(--radius) - 3px);
  background: transparent;
  color: var(--muted);
  font: 500 0.75rem/1.2 var(--mono);
  cursor: pointer;
}
.shot-tabs [role="tab"]:hover { color: var(--text); }
.shot-tabs [role="tab"][aria-selected="true"] {
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
}
.shot-viewport { background: #0b0d0e; }
.shot-viewport img {
  display: block;
  width: 100%;
  height: auto;
}
.shot-caption {
  padding: 11px 14px;
  border-top: 1px solid var(--rule);
  background: var(--surface);
  color: var(--muted);
  font: 400 0.8125rem/1.45 var(--body);
}

.proof-band {
  padding-block: 0 32px;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 18px 24px;
  padding-block: 22px;
  border-top: 1px solid var(--rule);
}
.proof-item { display: grid; gap: 4px; align-content: start; }
.proof-item dt {
  font-family: var(--mono);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
}
.proof-item dd {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.4;
}

.moves { display: grid; }
.move {
  display: grid;
  gap: 28px;
  padding-block: clamp(44px, 7vw, 92px);
  border-top: 1px solid var(--rule);
}
.move-text { display: grid; gap: 14px; align-content: start; min-width: 0; }
.move h2 { font-size: clamp(1.75rem, 1.25rem + 2.3vw, 2.65rem); max-width: 17ch; }
.move .why { font-size: 1.09375rem; font-weight: 500; color: var(--accent); max-width: 40ch; }
.move-text p:not(.why):not(.number) { max-width: 48ch; }

.demo {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--control);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: var(--shadow);
  min-width: 0;
}
.demo p { margin: 0; }
.demo-label, .where, .badge, .tap, .status { font: 400 0.8125rem/1.45 var(--mono); letter-spacing: 0; }
.demo-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
  color: var(--muted);
}
.demo .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.demo .row + .row { padding-top: 12px; border-top: 1px solid var(--rule); }
.demo .item { font-weight: 600; overflow-wrap: anywhere; }
.demo .count { font: 500 1.25rem/1.2 var(--mono); color: var(--text); }
.where { color: var(--muted); overflow-wrap: anywhere; }
.badge { color: var(--accent); font-weight: 500; }
.tap { padding: 6px 10px; border: 1px solid var(--control); border-radius: var(--radius); color: var(--text); }
.status { min-height: 2.8em; padding-top: 10px; border-top: 1px solid var(--rule); color: var(--accent); }

.pause {
  padding: 6px 0;
  background: none;
  border: 0;
  color: var(--muted);
  font: 400 0.8125rem/1.4 var(--mono);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}
.pause:hover { color: var(--text); }

.downloads {
  display: grid;
  gap: 28px;
  padding-block: clamp(44px, 7vw, 84px);
  border-top: 1px solid var(--rule);
}
.downloads-head { display: grid; gap: 12px; }
.downloads-head h2 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem); }
.dl-grid { display: grid; gap: 16px; }
.dl-card {
  display: grid;
  gap: 8px;
  padding: 20px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--control);
  border-radius: calc(var(--radius) + 2px);
  text-decoration: none;
}
.dl-card:hover { border-color: var(--accent); background: color-mix(in srgb, var(--surface) 92%, var(--accent)); }
.dl-card strong { font-family: var(--display); font-size: 1.3125rem; font-weight: 500; color: var(--text); }

.chart { display: grid; gap: 48px; padding-top: 40px; }
.chart-group, .price-group { display: grid; gap: 12px; }
.chart-group h2, .price-group h2 { font-size: 1.5rem; }
.chart table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.chart :is(th, td) { padding: 12px 0; border-top: 1px solid var(--rule); text-align: left; vertical-align: top; font-weight: 400; }
.chart thead th { border-top: 0; color: var(--muted); font: 400 0.8125rem/1.4 var(--mono); }
.chart :is(thead th, td):not(:first-child) { width: 5.5rem; text-align: right; }
.chart th[scope="row"] { padding-right: 12px; }
.chart .name { display: block; font-weight: 600; }
.chart .what { display: block; color: var(--muted); font-size: 0.9375rem; }
.chart td { font-size: 0.9375rem; overflow-wrap: anywhere; }
.chart td.no { color: var(--muted); }

.who { display: grid; gap: 12px; padding-block: 52px; border-top: 1px solid var(--rule); }
.who h2 { font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem); }
.who p { max-width: 56ch; }

.contact-form { display: grid; gap: 16px; max-width: 520px; margin-top: 16px; }
.field { display: grid; gap: 6px; }
label { color: var(--muted); }
input, textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--control);
  border-radius: var(--radius);
  font: inherit;
}
textarea { resize: vertical; }
:is(input, textarea)[aria-invalid="true"] { border-color: var(--text); border-width: 2px; }
.cf-turnstile { min-height: 65px; }
button.primary { justify-content: center; font: 600 1rem var(--body); cursor: pointer; }
button.primary:disabled { cursor: progress; }
.form-message { padding-top: 16px; border-top: 1px solid var(--rule); }

.site-footer { margin-top: 32px; padding-block: 48px 32px; border-top: 1px solid var(--rule); font-size: 0.9375rem; }
.foot-grid { display: grid; gap: 32px; }
.foot-brand { display: grid; gap: 8px; justify-items: start; }
.tagline { color: var(--accent); font-weight: 500; }
.blurb, .legal-small, .powered { color: var(--muted); }
.legal-small { margin-top: 12px; font-size: 0.8125rem; }
.site-footer h2 { margin-bottom: 12px; font: 500 0.78125rem/1.4 var(--mono); letter-spacing: 0.03em; color: var(--muted); }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.site-footer li a { display: inline-block; padding-block: 6px; color: var(--text); text-decoration: none; }
.site-footer li a:hover { color: var(--accent); }
.powered { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 0.8125rem; }
.powered a { color: inherit; }

.legal { padding-block: clamp(32px, 6vw, 72px); }
.legal-head { display: grid; gap: 16px; padding-bottom: 32px; border-bottom: 1px solid var(--rule); }
.legal-head h1 { font-size: clamp(2.25rem, 1.4rem + 4vw, 4rem); max-width: none; }
.legal-head .lede { max-width: 58ch; }
.legal-head .label { padding-bottom: 0; }
.legal-grid { display: grid; gap: 32px; padding-top: 32px; }
.legal-nav ol { margin: 0; padding: 0; list-style: none; display: grid; }
.legal-nav a { display: block; padding: 8px 0 8px 14px; border-left: 2px solid var(--rule); color: var(--muted); font-size: 0.9375rem; text-decoration: none; }
.legal-nav a:hover { color: var(--text); }
.legal-nav a[aria-current] { color: var(--accent); border-left-color: var(--accent); }
.legal-body { display: grid; gap: 40px; min-width: 0; }
.legal-section { display: grid; gap: 12px; scroll-margin-top: 24px; }
.legal-section h2 { font-size: 1.5rem; }
.legal-section :is(p, ul) { max-width: 68ch; }
.legal-section ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.legal-section strong { font-weight: 600; }

@media (min-width: 700px) {
  .dl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: minmax(0, 2fr) 1fr 1fr; }
}
@media (min-width: 960px) {
  .opening { grid-template-columns: minmax(0, 0.95fr) minmax(460px, 1.15fr); gap: 44px; align-items: center; }
  .move { grid-template-columns: minmax(0, 0.88fr) minmax(440px, 1.12fr); gap: 48px; align-items: center; }
  .move:nth-child(even) { grid-template-columns: minmax(440px, 1.12fr) minmax(0, 0.88fr); }
  .move:nth-child(even) .move-text { order: 2; }
  .legal-grid { grid-template-columns: 260px minmax(0, 1fr); gap: 64px; padding-top: 48px; }
  .legal-nav { position: sticky; top: 24px; align-self: start; max-height: calc(100vh - 48px); overflow-y: auto; }
}

@media (prefers-reduced-motion: no-preference) {
  .primary, .secondary, .theme-switch, .dl-card, .shot-tabs [role="tab"], input, textarea, a {
    transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
  }
  .reveal { transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
  h1[data-lines] { transition: opacity 0.25s var(--ease), transform 0.25s var(--ease); }
  .reveal.below { opacity: 0; transform: translateY(14px); }
}
@media (forced-colors: active) {
  .ring-field { display: none; }
}
@media print {
  .reveal.below { opacity: 1; transform: none; }
}
