:root {
  --ink: #1f2933;
  --muted: #5c6670;
  --line: #d8dde3;
  --panel: #f6f8fa;
  --accent: #1a365d;
  --accent-2: #244c7c;
  --white: #ffffff;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border: 2px solid var(--accent);
  border-radius: 4px;
  box-shadow: inset 0 0 0 4px var(--white);
  background: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover {
  color: var(--ink);
}

.nav-cta {
  padding: 7px 12px;
  border: 1px solid var(--accent);
  color: var(--accent) !important;
  font-weight: 650;
}

.hero {
  max-width: var(--max);
  min-height: min(720px, calc(100vh - 64px));
  margin: 0 auto;
  padding: 46px 24px 28px;
  display: grid;
  grid-template-columns: minmax(330px, 0.85fr) minmax(460px, 1.15fr);
  gap: 34px;
  align-items: center;
}

.hero-copy {
  padding: 12px 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 620px;
  margin-bottom: 16px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 17px;
}

.lede {
  max-width: 600px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--accent);
  font-weight: 750;
}

.button.primary {
  background: var(--accent);
  color: var(--white);
}

.button.secondary {
  color: var(--accent);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.signal-grid div {
  padding: 13px 16px 13px 0;
  border-right: 1px solid var(--line);
}

.signal-grid div:last-child {
  border-right: 0;
  padding-left: 16px;
}

.signal-grid div:nth-child(2) {
  padding-left: 16px;
}

.signal-grid dt {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
}

.signal-grid dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-media {
  margin: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.hero-media img,
.media-panel img {
  border: 1px solid var(--line);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 24px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.36fr 0.64fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 22px;
}

.section-heading.compact {
  display: block;
  max-width: 780px;
}

.mode-table {
  border: 1px solid var(--line);
}

.mode-row {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr 1.25fr 1.45fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.mode-row:first-child {
  border-top: 0;
}

.mode-row > * {
  min-height: 62px;
  padding: 14px 16px;
  border-left: 1px solid var(--line);
  display: flex;
  align-items: center;
}

.mode-row > *:first-child {
  border-left: 0;
}

.mode-row-head {
  background: var(--panel);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  gap: 34px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(360px, 1.14fr) minmax(0, 0.86fr);
}

.split p {
  color: var(--muted);
}

.check-list,
.spec-list {
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.check-list li {
  padding: 10px 0 10px 22px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 9px;
  height: 9px;
  background: var(--accent);
}

.flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}

.flow > div {
  min-height: 190px;
  padding: 20px;
  border-left: 1px solid var(--line);
}

.flow > div:first-child {
  border-left: 0;
}

.step-number {
  display: block;
  margin-bottom: 32px;
  color: var(--accent);
  font-weight: 850;
}

.flow strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

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

.spec-list {
  border-bottom: 1px solid var(--line);
}

.spec-list div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.spec-list div:first-child {
  border-top: 0;
}

.spec-list strong {
  color: var(--accent);
}

.code-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.code-grid > div {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 18px;
}

pre {
  margin: 0;
  overflow-x: auto;
  color: #15202b;
  font-size: 13px;
  line-height: 1.45;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.positioning {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 30px;
  align-items: start;
}

.position-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
}

.position-grid p {
  min-height: 96px;
  margin: 0;
  padding: 18px;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: end;
  font-size: 20px;
  font-weight: 750;
}

.position-grid p:nth-child(odd) {
  border-left: 0;
}

.position-grid p:nth-child(-n + 2) {
  border-top: 0;
}

.position-grid p:last-child {
  color: var(--accent);
}

.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer span:first-child,
.footer a {
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 900px) {
  .site-header {
    height: auto;
    min-height: 62px;
    align-items: flex-start;
    padding: 14px 18px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 14px;
  }

  .hero,
  .split,
  .split.reverse,
  .section-heading,
  .positioning {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
  }

  .mode-row {
    grid-template-columns: 1fr;
  }

  .mode-row > * {
    border-left: 0;
    border-top: 1px solid var(--line);
    min-height: auto;
  }

  .mode-row > *:first-child {
    border-top: 0;
  }

  .flow,
  .code-grid,
  .position-grid {
    grid-template-columns: 1fr;
  }

  .flow > div,
  .position-grid p {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .flow > div:first-child,
  .position-grid p:first-child {
    border-top: 0;
  }
}

@media (max-width: 560px) {
  .site-header {
    position: static;
  }

  .nav a:not(.nav-cta) {
    display: none;
  }

  .hero,
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .hero-copy {
    display: contents;
  }

  .hero-copy .eyebrow {
    order: 1;
  }

  .hero-copy h1 {
    order: 2;
  }

  .hero-copy .lede {
    order: 3;
  }

  .hero-media {
    order: 4;
  }

  .hero-actions {
    order: 5;
    margin-bottom: 0;
  }

  .signal-grid {
    order: 6;
  }

  h1 {
    font-size: 44px;
  }

  .signal-grid {
    grid-template-columns: 1fr;
  }

  .signal-grid div,
  .signal-grid div:nth-child(2),
  .signal-grid div:last-child {
    padding-left: 0;
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .signal-grid div:first-child {
    border-top: 0;
  }

  .hero-actions .button {
    width: 100%;
  }

  .footer {
    display: grid;
  }
}
