:root {
  color-scheme: light;
  --black: #12161d;
  --panel: #1a212b;
  --paper: #eef1f5;
  --white: #ffffff;
  --ink: #171b22;
  --muted: #5b6472;
  --line: #d8dee6;
  --accent: #1f8a70;
  --accent-dark: #146955;
  --green: #4c7a3a;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

section[id] { scroll-margin-top: 64px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.5;
  letter-spacing: 0;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  border-bottom: 1px solid #333d4a;
  background: rgba(23, 27, 34, 0.94);
  color: var(--white);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 7px;
  background: var(--accent);
  color: var(--white);
  font-size: 15px;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}

nav a { color: #c3ccd6; text-decoration: none; }
nav a:hover, nav a:focus-visible { color: var(--white); }

.header-download {
  padding: 8px 12px;
  border: 1px solid #47525f;
  border-radius: 7px;
}

.hero {
  position: relative;
  height: calc(100svh - 88px);
  min-height: 620px;
  max-height: 860px;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0 0 0 46%;
  z-index: -1;
  background: var(--panel);
  border-left: 1px solid #313b48;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(620px, 47vw);
  padding: 86px 0 0 max(40px, calc((100vw - 1240px) / 2));
}

.eyebrow,
.section-kicker {
  margin: 0 0 20px;
  color: #9aa7b5;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 650;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 18px;
  font-size: 84px;
  font-weight: 760;
  line-height: 0.95;
}

.hero-lede {
  max-width: 540px;
  margin-bottom: 16px;
  font-size: 30px;
  font-weight: 650;
  line-height: 1.15;
}

.hero-detail {
  max-width: 500px;
  color: #c3cbd4;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.download-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid var(--accent);
  border-radius: 7px;
  background: var(--accent);
  color: var(--white);
  flex: 0 0 auto;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.download-button:hover, .download-button:focus-visible { background: var(--accent-dark); }

.download-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--accent);
}

.text-link { color: #d3dae1; font-size: 14px; text-decoration: none; }
.text-link:hover, .text-link:focus-visible { color: var(--white); }

.requirements {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin-top: 16px;
  color: #8d97a3;
  font-family: var(--mono);
  font-size: 11px;
}

.requirements span { white-space: nowrap; }
.requirements span:not(:last-child)::after { content: "·"; margin: 0 10px; }

.hero-visual {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: max(20px, calc((100vw - 1240px) / 2));
  width: 420px;
  transform: translateY(-50%);
  filter: drop-shadow(0 28px 60px rgba(0, 0, 0, 0.42));
}

.grid-mock {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 10px;
  aspect-ratio: 16 / 9;
  padding: 16px;
  border: 1px solid #3a4656;
  border-radius: 14px;
  background: var(--panel);
}

.grid-mock span {
  border-radius: 6px;
  background: #232c3a;
  border: 1px solid #384456;
}

.grid-mock span:nth-child(2) {
  background: var(--accent);
  border-color: var(--accent);
}

.hero-facts {
  position: absolute;
  z-index: 3;
  left: max(40px, calc((100vw - 1240px) / 2));
  bottom: 28px;
  display: flex;
  gap: 34px;
  color: #939fab;
  font-family: var(--mono);
  font-size: 11px;
}

.hero-facts b { color: var(--white); font-size: 13px; }

.statement,
.privacy {
  width: min(1160px, calc(100% - 80px));
  margin: 0 auto;
  padding: 112px 0;
}

h2 {
  max-width: 820px;
  margin-bottom: 56px;
  font-size: 54px;
  line-height: 1.06;
}

.signal-list { border-top: 1px solid var(--line); }

.signal-list article {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 32px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.signal-list h3 { margin: 0; font-size: 20px; }
.signal-list p { margin: 0; color: var(--muted); }
.signal-number { color: var(--accent); font-family: var(--mono); font-size: 12px; }

.capabilities {
  padding: 104px max(40px, calc((100vw - 1160px) / 2));
  background: var(--white);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 64px;
  align-items: end;
}

.section-heading .section-kicker { grid-column: 1 / -1; margin-bottom: -28px; }
.section-heading h2 { margin-bottom: 44px; }
.section-heading > p { margin-bottom: 50px; color: var(--muted); font-size: 17px; }
.capability-list { border-top: 1px solid var(--line); }

.capability-list article {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 28px;
  align-items: center;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}

.capability-index { color: var(--accent); font-family: var(--mono); font-size: 11px; }
.capability-list h3 { margin: 0 0 3px; font-size: 19px; }
.capability-list p { margin: 0; color: var(--muted); }

.instrument {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 80px;
  align-items: center;
  min-height: 640px;
  padding: 80px max(40px, calc((100vw - 1160px) / 2));
  overflow: hidden;
  background: #e2e7ee;
}

.instrument h2 { margin-bottom: 24px; }
.instrument-copy > p { max-width: 500px; color: #4c5563; font-size: 18px; }

.instrument dl { display: grid; grid-template-columns: 1fr auto; margin: 42px 0 0; border-top: 1px solid #c4ccd6; }
.instrument dt, .instrument dd { padding: 16px 0; border-bottom: 1px solid #c4ccd6; }
.instrument dt { font-weight: 700; }
.instrument dd { margin: 0; color: #4c5563; font-family: var(--mono); font-size: 12px; }
.instrument dd.live-dd { color: var(--accent-dark); }

.screenshot-placeholder {
  display: grid;
  place-items: center;
  width: 430px;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  justify-self: center;
  border: 2px dashed #b7c1cc;
  border-radius: 14px;
  background: #eef1f5;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.privacy-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 80px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.privacy-grid p { color: #3d4552; font-size: 22px; line-height: 1.45; }
.privacy-grid ul { margin: 0; padding: 0; list-style: none; }
.privacy-grid li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.privacy-grid li span { margin-right: 10px; color: var(--green); }

.faq {
  padding: 104px max(40px, calc((100vw - 1160px) / 2));
  background: var(--paper);
}

.faq h2 { margin-bottom: 44px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }

.faq summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  cursor: pointer;
  font-size: 19px;
  font-weight: 700;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary span { color: var(--accent); font-family: var(--mono); font-weight: 400; }
.faq details[open] summary span { transform: rotate(45deg); }
.faq details p { max-width: 760px; margin: -4px 0 26px; color: var(--muted); }

.download {
  padding: 104px 40px;
  background: var(--accent);
  color: var(--white);
  text-align: center;
}

.download .eyebrow { color: #d6ece5; }
.download h2 { margin: 0 auto 34px; }
.download-button.light { border-color: var(--white); background: var(--white); color: var(--accent-dark); }
.download-button.light:disabled { background: var(--white); opacity: 0.6; }
.download > p:not(.eyebrow) { margin: 18px auto 10px; color: #d6ece5; font-size: 13px; }
.download .install-note { max-width: 680px; }

footer {
  display: flex;
  min-height: 108px;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(40px, calc((100vw - 1160px) / 2));
  background: var(--white);
  color: var(--muted);
  font-size: 13px;
}

footer .brand { color: var(--ink); }

.legal-page {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding: 96px 0 120px;
}

.legal-page > h1 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 64px;
  line-height: 1;
}

.legal-updated { margin-bottom: 64px; color: var(--muted); font-family: var(--mono); font-size: 12px; }
.legal-page section { padding: 28px 0; border-top: 1px solid var(--line); }
.legal-page section h2 { margin-bottom: 12px; font-size: 24px; }
.legal-page section p { margin-bottom: 12px; color: var(--muted); }

@media (max-width: 1100px) {
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 12px; }
}

@media (max-width: 900px) {
  .site-header { padding: 0 20px; }
  nav a:not(.header-download) { display: none; }
  .hero-copy { width: 58vw; padding-left: 28px; }
  h1 { font-size: 62px; }
  .hero-lede { font-size: 25px; }
  .hero-detail { font-size: 15px; }
  .hero-visual { right: -60px; width: 360px; }
  .hero-facts { left: 28px; }
  .section-heading { grid-template-columns: 1fr; gap: 0; }
  .section-heading .section-kicker { grid-column: auto; margin-bottom: 20px; }
  .section-heading h2 { margin-bottom: 24px; }
  .section-heading > p { margin-bottom: 44px; }
  .instrument { grid-template-columns: 1fr 340px; gap: 30px; }
  .screenshot-placeholder { width: 340px; }
}

@media (max-width: 680px) {
  .site-header { height: 56px; }
  .header-download { display: none; }
  .hero { height: calc(100svh - 72px); min-height: 620px; }
  .hero::after { inset: 54% 0 0; border-top: 1px solid #313b48; border-left: 0; }
  .hero-copy { width: auto; padding: 48px 24px 0; }
  .eyebrow { margin-bottom: 14px; }
  h1 { font-size: 50px; }
  .hero-lede { width: 90%; font-size: 23px; }
  .hero-detail { width: 88%; font-size: 14px; }
  .hero-actions { margin-top: 22px; }
  .text-link { display: none; }
  .requirements { max-width: 320px; }
  .hero-visual { top: auto; right: 24px; bottom: -190px; left: 24px; width: auto; transform: none; }
  .hero-facts { right: 24px; bottom: 18px; left: 24px; justify-content: space-between; gap: 8px; }
  .hero-facts span:not(:first-child) { display: none; }
  .statement, .privacy { width: calc(100% - 40px); padding: 80px 0; }
  h2 { margin-bottom: 38px; font-size: 38px; }
  .signal-list article { grid-template-columns: 44px 1fr; gap: 14px; }
  .signal-list p { grid-column: 2; }
  .capabilities, .faq { padding: 80px 20px; }
  .capability-list article { grid-template-columns: 38px 1fr; gap: 12px; }
  .instrument { grid-template-columns: 1fr; padding: 72px 20px 0; }
  .screenshot-placeholder { width: 100%; max-width: 320px; }
  .privacy-grid { grid-template-columns: 1fr; gap: 32px; }
  .privacy-grid p { font-size: 19px; }
  .faq summary { font-size: 17px; }
  .download { padding: 80px 20px; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 8px; padding: 30px 20px; }
}

@media (max-height: 720px) and (max-width: 680px) {
  .hero { min-height: 560px; }
  .hero-detail { display: none; }
  .hero-visual { bottom: -220px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
