:root {
  color-scheme: light;
  --ink: #10192d;
  --muted: #536174;
  --line: #d7dee8;
  --panel: #f5f7fa;
  --white: #ffffff;
  --teal: #0f766e;
  --teal-dark: #0b4f4b;
  --amber: #b45309;
  --red: #b91c1c;
  --blue: #2563eb;
  --shadow: 0 24px 70px rgba(16, 25, 45, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.hero,
.brief-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
}

.hero {
  min-height: 82vh;
  background-image:
    linear-gradient(rgba(7, 15, 30, 0.74), rgba(7, 15, 30, 0.62)),
    url("assets/dashboard-preview.png");
  background-position: center top;
  background-size: cover;
}

.brief-hero {
  min-height: 68vh;
  background: #10192d;
}

.contact-hero {
  min-height: 48vh;
}

.legal-hero {
  min-height: 46vh;
}

.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 20;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: calc(100% - 40px);
  max-width: 1160px;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid rgba(215, 222, 232, 0.9);
  border-radius: 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 36px rgba(16, 25, 45, 0.14);
}

@supports ((-webkit-backdrop-filter: blur(18px)) or (backdrop-filter: blur(18px))) {
  .nav {
    background: rgba(255, 255, 255, 0.82);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
  }
}

.brand {
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-links a {
  text-decoration: none;
  opacity: 0.78;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  opacity: 1;
}

.nav-links a[aria-current="page"],
.brand[aria-current="page"] {
  opacity: 1;
}

.nav-links a[aria-current="page"] {
  color: var(--teal-dark);
}

.brand:focus-visible,
.nav-links a:focus-visible,
.button:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.34);
  outline-offset: 4px;
}

.hero-copy,
.brief-copy {
  position: relative;
  z-index: 1;
  width: calc(100% - 40px);
  max-width: 820px;
  margin: 0 auto;
  padding: 142px 0 72px;
}

.brief-copy {
  max-width: 940px;
  padding-top: 122px;
}

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

.hero .eyebrow,
.brief-hero .eyebrow {
  color: #9ff6df;
}

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

h1 {
  margin-bottom: 18px;
  font-size: 64px;
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 38px;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.hero-lede {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 22px;
  line-height: 1.45;
}

.hero-actions,
.footer,
.access-panel {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

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

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.38);
}

.access-panel .button.secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.not-found {
  display: grid;
  align-content: center;
  width: min(720px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
}

.not-found h1 {
  color: var(--ink);
}

.not-found .button {
  justify-self: start;
  margin-top: 10px;
}

.contact-address {
  display: inline-flex;
  gap: 0;
  margin: 18px 0 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-weight: 700;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.contact-section {
  padding-top: 54px;
}

.contact-status {
  min-height: 24px;
  margin: 10px 0 0;
  font-size: 14px;
}

button.button {
  cursor: pointer;
  font: inherit;
}

[hidden] {
  display: none !important;
}

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

.signal-band div {
  min-height: 112px;
  padding: 24px;
  background: var(--white);
}

.signal-band strong {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
}

.signal-band span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.section {
  width: calc(100% - 40px);
  max-width: 1160px;
  margin: 0 auto;
  padding: 82px 0;
  scroll-margin-top: 92px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.problem-grid,
.capability-grid,
.roadmap-grid,
.brief-grid {
  display: grid;
  gap: 14px;
}

.problem-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.capability-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.roadmap-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.brief-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.brief-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.roadmap-grid article,
.steps article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.card {
  padding: 22px;
}

.card p,
.steps p,
.roadmap-grid p,
.access-panel p {
  margin-bottom: 0;
  font-size: 15px;
}

.workflow,
.capabilities {
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100% - 1160px) / 2));
  padding-left: max(20px, calc((100% - 1160px) / 2));
  background: var(--panel);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.steps article {
  padding: 22px;
}

.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.privacy-list {
  display: grid;
  gap: 12px;
  max-width: 820px;
}

.privacy-list p {
  margin: 0;
  padding-left: 18px;
  border-left: 4px solid var(--teal);
}

.terminal {
  overflow: auto;
  border: 1px solid #26324a;
  border-radius: 8px;
  background: #10192d;
  box-shadow: var(--shadow);
}

pre {
  margin: 0;
  padding: 22px;
}

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

.terminal code {
  color: #eef6ff;
  line-height: 1.7;
}

.access-panel {
  justify-content: space-between;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.access-panel div {
  max-width: 760px;
}

.capability-grid code {
  padding: 2px 5px;
  border-radius: 5px;
  color: var(--ink);
  background: #e8edf3;
}

.roadmap-grid article {
  padding: 22px;
}

.roadmap-grid article:nth-child(1) {
  border-top: 4px solid var(--teal);
}

.roadmap-grid article:nth-child(2) {
  border-top: 4px solid var(--amber);
}

.roadmap-grid article:nth-child(3) {
  border-top: 4px solid var(--blue);
}

.footer {
  justify-content: space-between;
  width: calc(100% - 40px);
  max-width: 1160px;
  margin: 0 auto;
  padding: 34px 0 42px;
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 4px 0 0;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--teal-dark);
}

.legal-page {
  background: var(--white);
}

.legal-section {
  max-width: 860px;
}

.legal-section h2 {
  margin-top: 34px;
  font-size: 24px;
}

.legal-section p {
  margin-bottom: 14px;
}

.legal-date,
.inline-email {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 960px) {
  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 32px;
  }

  .problem-grid,
  .capability-grid,
  .roadmap-grid,
  .brief-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brief-grid.two {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .hero {
    min-height: 86vh;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    top: 10px;
    width: calc(100% - 24px);
    padding: 12px;
  }

  .nav-links {
    width: 100%;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero-copy {
    padding-top: 164px;
  }

  .brief-copy {
    padding-top: 150px;
  }

  h1 {
    font-size: 44px;
  }

  .contact-hero h1 {
    max-width: 320px;
    font-size: 38px;
  }

  h2 {
    font-size: 28px;
  }

  .hero-lede {
    font-size: 18px;
    max-width: 320px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 260px;
  }

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

  .section {
    padding: 58px 0;
  }

  .problem-grid,
  .capability-grid,
  .roadmap-grid,
  .brief-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
