:root {
  --navy: #071d31;
  --navy-2: #0d2a43;
  --ink: #10283b;
  --muted: #5c6b78;
  --paper: #ffffff;
  --cloud: #f5f7f8;
  --mist: #e9eef1;
  --line: rgba(16, 40, 59, 0.15);
  --sun: #ffb82e;
  --orange: #f36b21;
  --rose: #d72163;
  --plum: #702171;
  --teal: #0e766f;
  --shadow: 0 18px 50px rgba(7, 29, 49, 0.13);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0;
}

.brand-logo {
  width: clamp(112px, 13vw, 152px);
  height: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--rose);
}

.nav-action {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(7, 29, 49, 0.22);
  border-radius: 8px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--paper);
}

.hero {
  position: relative;
  min-height: min(760px, 82svh);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: clamp(60px, 8vw, 112px) clamp(22px, 6vw, 86px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 48%, rgba(255, 255, 255, 0.66) 100%),
    linear-gradient(140deg, rgba(255, 184, 46, 0.16), rgba(215, 33, 99, 0.1) 48%, rgba(14, 118, 111, 0.09));
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 7px;
  background: linear-gradient(90deg, var(--plum), var(--rose), var(--orange), var(--sun));
}

.hero-art {
  position: absolute;
  inset: 22px 2vw auto auto;
  width: min(48vw, 680px);
  opacity: 0.88;
  pointer-events: none;
}

.hero-art img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 22px 44px rgba(7, 29, 49, 0.11));
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
}

.eyebrow,
.kicker {
  margin: 0 0 14px;
  color: var(--rose);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

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

h1 {
  margin-bottom: 20px;
  max-width: 11ch;
  color: var(--navy);
  font-size: clamp(3.2rem, 10vw, 7.4rem);
  line-height: 0.91;
  letter-spacing: 0;
}

h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4.6vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  color: var(--navy);
  font-size: 1.32rem;
  line-height: 1.16;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 680px;
  color: #334a5b;
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--paper);
  background: var(--navy);
  box-shadow: 0 12px 28px rgba(7, 29, 49, 0.2);
}

.button.primary:hover {
  box-shadow: 0 18px 36px rgba(7, 29, 49, 0.25);
}

.button.secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(7, 29, 49, 0.2);
}

.button.light {
  background: var(--paper);
  color: var(--navy);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 46px 0 0;
  max-width: 760px;
}

.hero-metrics div {
  min-height: 106px;
  padding: 18px;
  border: 1px solid rgba(7, 29, 49, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.hero-metrics dt {
  margin-bottom: 5px;
  color: var(--navy);
  font-weight: 900;
}

.hero-metrics dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.positioning {
  padding: 54px clamp(22px, 6vw, 86px);
  background: var(--navy);
  color: var(--paper);
}

.positioning-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(30px, 6vw, 84px);
  max-width: 1180px;
  margin: 0 auto;
  align-items: start;
}

.positioning h2 {
  color: var(--paper);
  font-size: clamp(1.9rem, 4vw, 3.2rem);
}

.positioning p:last-child {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  line-height: 1.65;
}

.section {
  padding: clamp(64px, 9vw, 118px) clamp(22px, 6vw, 86px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.72fr);
  column-gap: clamp(38px, 7vw, 88px);
  row-gap: 22px;
  max-width: 1180px;
  margin: 0 auto 42px;
  align-items: end;
}

.section-heading .kicker {
  grid-column: 1 / -1;
  margin-bottom: -4px;
}

.section-heading p:not(.kicker) {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.65;
}

.section-heading.compact {
  display: block;
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.coverage-card,
.api-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 12px 36px rgba(7, 29, 49, 0.06);
}

.coverage-card {
  padding: clamp(22px, 3vw, 32px);
}

.coverage-card.accent {
  border-top: 5px solid var(--orange);
}

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

ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 18px;
  color: #334a5b;
}

li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rose), var(--sun));
}

.research-layer {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(32px, 7vw, 86px);
  align-items: center;
  background: var(--cloud);
  border-block: 1px solid var(--line);
}

.layer-copy {
  max-width: 680px;
  justify-self: end;
}

.layer-copy p:not(.kicker) {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.result-panel {
  max-width: 560px;
  border-radius: 8px;
  border: 1px solid rgba(7, 29, 49, 0.16);
  background: #0a2034;
  color: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-toolbar {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.panel-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sun);
}

.panel-toolbar span:nth-child(2) {
  background: var(--orange);
}

.panel-toolbar span:nth-child(3) {
  background: var(--rose);
}

.query-line {
  padding: 18px 20px;
  color: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.9rem;
}

.result-row {
  display: grid;
  gap: 5px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.result-row:last-child {
  border-bottom: 0;
}

.result-row strong {
  color: #ffd16b;
}

.result-row span {
  color: rgba(255, 255, 255, 0.74);
}

.api-section {
  background: var(--paper);
}

.api-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.api-card {
  display: flex;
  flex-direction: column;
  min-height: 338px;
  padding: 24px;
}

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

pre {
  margin: auto 0 0;
  padding: 16px;
  max-width: 100%;
  overflow-x: auto;
  border-radius: 8px;
  background: #071d31;
  color: #eef6fa;
  font-size: 0.78rem;
  line-height: 1.55;
}

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

.pricing-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(34px, 7vw, 84px);
  background:
    linear-gradient(90deg, rgba(255, 184, 46, 0.13), rgba(215, 33, 99, 0.08)),
    var(--cloud);
  border-block: 1px solid var(--line);
}

.pricing-copy {
  max-width: 700px;
  justify-self: end;
}

.pricing-copy p:not(.kicker) {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.pricing-options {
  display: grid;
  gap: 12px;
}

.pricing-options div {
  padding: 20px;
  border: 1px solid rgba(7, 29, 49, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.pricing-options strong,
.pricing-options span {
  display: block;
}

.pricing-options strong {
  margin-bottom: 5px;
  color: var(--navy);
  font-size: 1.04rem;
}

.pricing-options span {
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: clamp(50px, 7vw, 76px) clamp(22px, 6vw, 86px);
  color: var(--paper);
  background: linear-gradient(120deg, var(--navy), var(--navy-2) 58%, #421a58);
}

.contact-section h2 {
  color: var(--paper);
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.contact-section p:not(.kicker) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.05rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 38px clamp(22px, 6vw, 86px);
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.site-footer img {
  width: 150px;
  margin-bottom: 12px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  color: var(--muted);
  font-weight: 700;
}

.signin-body {
  min-height: 100svh;
  background:
    linear-gradient(130deg, rgba(255, 184, 46, 0.16), rgba(215, 33, 99, 0.12)),
    var(--cloud);
}

.signin-shell {
  min-height: calc(100svh - 76px);
  display: grid;
  place-items: center;
  padding: 42px 22px;
}

.signin-panel {
  width: min(680px, 100%);
  padding: clamp(30px, 6vw, 52px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.signin-panel img {
  width: 220px;
  margin-bottom: 26px;
}

.signin-panel h1 {
  max-width: 100%;
  font-size: clamp(2.3rem, 7vw, 4.6rem);
}

.signin-panel p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero-art {
    width: min(84vw, 560px);
    inset: auto -20vw 5vw auto;
    opacity: 0.15;
  }

  .section-heading,
  .positioning-inner,
  .research-layer,
  .pricing-section {
    grid-template-columns: 1fr;
  }

  .layer-copy,
  .pricing-copy {
    justify-self: start;
  }

  .coverage-grid,
  .api-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .site-header {
    min-height: 68px;
    gap: 12px;
  }

  .brand-logo {
    width: 112px;
  }

  .nav-action {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.72rem;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
    padding-bottom: 74px;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.8rem);
  }

  .hero-metrics,
  .coverage-grid,
  .api-grid,
  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-metrics div {
    min-height: auto;
  }

  .contact-section {
    justify-items: start;
  }

  .site-footer {
    display: grid;
  }
}
