:root {
  color-scheme: dark;
  --ink: #f5f7fb;
  --muted: #a7afbe;
  --dim: #6d7584;
  --line: rgba(255, 255, 255, 0.12);
  --panel: rgba(255, 255, 255, 0.045);
  --blue: #72c7ff;
  --blue-strong: #bce7ff;
  --night: #07090d;
  --night-soft: #0d1118;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 76% 6%, rgba(35, 114, 170, 0.2), transparent 30rem),
    linear-gradient(180deg, #080b10 0%, var(--night) 62%, #050609 100%);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  letter-spacing: 0.025em;
  font-weight: 650;
}

.brand-mark {
  width: 34px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(188, 231, 255, 0.42);
  background: linear-gradient(145deg, rgba(114, 199, 255, 0.16), rgba(255, 255, 255, 0.02));
  color: var(--blue-strong);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: -0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.9rem;
}

.nav-links a {
  text-decoration: none;
  transition: color 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible { color: var(--ink); }

.hero {
  min-height: 670px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.7fr);
  align-items: center;
  gap: clamp(48px, 8vw, 112px);
  padding: 96px 0 112px;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--blue-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 26px;
  font-size: clamp(3.4rem, 8vw, 7.5rem);
  font-weight: 630;
  line-height: 0.92;
  letter-spacing: -0.068em;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 36px;
  color: #c4cad4;
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
  line-height: 1.55;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 21px;
  border: 1px solid rgba(188, 231, 255, 0.54);
  background: rgba(114, 199, 255, 0.1);
  color: var(--blue-strong);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 650;
  transition: background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  background: rgba(114, 199, 255, 0.18);
  border-color: var(--blue-strong);
}

.instrument {
  position: relative;
  min-height: 460px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    rgba(8, 13, 20, 0.7);
  background-size: 32px 32px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  overflow: hidden;
}

.instrument::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -82px;
  bottom: -72px;
  border: 1px solid rgba(114, 199, 255, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(114, 199, 255, 0.025), 0 0 0 84px rgba(114, 199, 255, 0.018);
}

.instrument-top,
.reading {
  position: relative;
  z-index: 1;
}

.instrument-top {
  display: flex;
  justify-content: space-between;
  color: var(--dim);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reading { margin-top: 142px; }

.reading .label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.reading .value {
  display: block;
  color: var(--blue-strong);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.07em;
}

.reading .subvalue {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 0.78rem;
}

.section {
  padding: 112px 0;
  border-top: 1px solid var(--line);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
  gap: clamp(48px, 10vw, 144px);
}

.section-kicker {
  color: var(--dim);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.1rem, 4vw, 4rem);
  font-weight: 620;
  line-height: 1.04;
  letter-spacing: -0.048em;
}

.lead {
  max-width: 760px;
  color: #bdc4cf;
  font-size: 1.13rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 56px;
  border: 1px solid var(--line);
  background: var(--line);
}

.feature {
  min-height: 240px;
  padding: 28px;
  background: var(--night-soft);
}

.feature-number {
  display: block;
  margin-bottom: 54px;
  color: var(--blue);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 0.74rem;
}

.feature h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  font-weight: 620;
}

.feature p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.company-copy { max-width: 760px; }

.contact-line {
  margin-top: 32px;
  color: var(--muted);
}

.contact-line a {
  color: var(--blue-strong);
  text-underline-offset: 4px;
}

.site-footer {
  padding: 38px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 0.84rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a { text-underline-offset: 4px; }

.legal-note {
  max-width: 760px;
  margin-top: 24px;
  font-size: 0.76rem;
  line-height: 1.5;
}

.page-main {
  min-height: calc(100vh - 220px);
  padding: 96px 0 120px;
}

.page-heading {
  max-width: 800px;
  margin-bottom: 64px;
}

.page-heading h1 {
  font-size: clamp(3rem, 7vw, 6.4rem);
}

.page-heading p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
}

.prose {
  max-width: 780px;
  color: #c5cad3;
}

.prose h2 {
  margin-top: 54px;
  margin-bottom: 16px;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.prose h3 {
  margin-top: 32px;
  margin-bottom: 10px;
  font-size: 1rem;
}

.prose ul { padding-left: 1.25rem; }
.prose li + li { margin-top: 8px; }
.prose a { color: var(--blue-strong); text-underline-offset: 4px; }
.updated { color: var(--dim); font-size: 0.9rem; }

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 900px;
}

.support-card {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.support-card h2 {
  margin-bottom: 12px;
  font-size: 1.15rem;
  letter-spacing: -0.015em;
}

.support-card p {
  margin-bottom: 0;
  color: var(--muted);
}

@media (max-width: 820px) {
  .nav-links { gap: 16px; }
  .hero { grid-template-columns: 1fr; padding-top: 72px; }
  .instrument { min-height: 370px; }
  .reading { margin-top: 100px; }
  .section-grid { grid-template-columns: 1fr; gap: 20px; }
  .features { grid-template-columns: 1fr; }
  .feature { min-height: auto; }
  .feature-number { margin-bottom: 30px; }
}

@media (max-width: 560px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .nav { min-height: 68px; }
  .nav-links a:first-child { display: none; }
  .hero { min-height: auto; padding: 66px 0 84px; }
  h1 { font-size: clamp(3.2rem, 17vw, 5.2rem); }
  .instrument { min-height: 320px; padding: 22px; }
  .section { padding: 82px 0; }
  .support-grid { grid-template-columns: 1fr; }
  .footer-row { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
