:root {
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #070a12;
  color: #f6f8ff;
  font-synthesis: none;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 10% 0%, rgb(84 119 214 / 22%), transparent 34rem),
    radial-gradient(circle at 88% 12%, rgb(27 54 148 / 30%), transparent 30rem),
    linear-gradient(180deg, #070a12 0%, #0b1020 52%, #070a12 100%);
  color: #f6f8ff;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgb(255 255 255 / 3%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 3%) 1px, transparent 1px);
  background-position: center top;
  background-size: 64px 64px;
  content: "";
  mask-image: linear-gradient(180deg, black 0%, transparent 74%);
}

a {
  color: inherit;
}

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

.site-header,
.site-footer,
.hero,
.scope,
.oauth-note {
  border-color: rgb(255 255 255 / 10%);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #f8fbff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 13px;
  background:
    linear-gradient(145deg, rgb(255 255 255 / 18%), transparent 42%),
    linear-gradient(180deg, #3d68bc 0%, #07106d 100%);
  box-shadow:
    0 16px 44px rgb(12 32 130 / 38%),
    inset 0 1px 0 rgb(255 255 255 / 30%);
}

.brand-mark::before {
  position: absolute;
  width: 48px;
  height: 48px;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 50%;
  content: "";
}

.brand-mark__glyph {
  position: relative;
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.08em;
}

.status-pill {
  margin: 0;
  padding: 8px 12px;
  border: 1px solid rgb(160 180 255 / 18%);
  border-radius: 999px;
  background: rgb(160 180 255 / 8%);
  color: #b6c5f2;
  font-size: 13px;
  font-weight: 650;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
  min-height: calc(100vh - 104px);
  padding: 64px 0 92px;
  border-top: 1px solid rgb(255 255 255 / 8%);
}

.hero__copy {
  max-width: 710px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #93abf4;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  color: #fbfcff;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(48px, 7.6vw, 92px);
  line-height: 0.92;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.12;
}

.lead {
  max-width: 650px;
  margin-bottom: 32px;
  color: #b6bed4;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: #7f8aa5;
  font-size: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 999px;
  background: #f6f8ff;
  color: #081024;
  font-weight: 800;
  text-decoration: none;
}

.terminal-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 12%), transparent 24%),
    linear-gradient(145deg, rgb(16 24 49 / 92%), rgb(8 12 25 / 96%));
  box-shadow:
    0 44px 100px rgb(0 0 0 / 38%),
    inset 0 1px 0 rgb(255 255 255 / 18%);
}

.terminal-card::after {
  position: absolute;
  inset: auto -18% -30% 16%;
  height: 220px;
  border-radius: 50%;
  background: rgb(52 91 204 / 24%);
  filter: blur(42px);
  content: "";
}

.terminal-card__bar {
  display: flex;
  gap: 8px;
  padding: 18px 20px;
  border-bottom: 1px solid rgb(255 255 255 / 9%);
  background: rgb(255 255 255 / 3%);
}

.terminal-card__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #586276;
}

.terminal-card__bar span:nth-child(1) {
  background: #ff6b6b;
}

.terminal-card__bar span:nth-child(2) {
  background: #ffd166;
}

.terminal-card__bar span:nth-child(3) {
  background: #69db9c;
}

.terminal-card__body {
  position: relative;
  z-index: 1;
  padding: 24px;
}

.chart {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 9%);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgb(49 78 176 / 20%), transparent),
    #080d1b;
}

.chart__grid,
.chart__line {
  position: absolute;
  inset: 0;
}

.chart__grid {
  background-image:
    linear-gradient(rgb(255 255 255 / 6%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 6%) 1px, transparent 1px);
  background-size: 42px 42px;
}

.chart__line {
  inset: 18px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.chart__line--primary {
  background-image: url("chart-primary.svg");
  filter: drop-shadow(0 0 18px rgb(124 167 255 / 38%));
}

.chart__line--secondary {
  opacity: 0.6;
  background-image: url("chart-secondary.svg");
}

.metric-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 2px 0;
  color: #8e9ab8;
  font-size: 14px;
}

.metric-row strong {
  color: #edf2ff;
  font-weight: 750;
  text-align: right;
}

.scope {
  padding: 86px 0;
  border-top: 1px solid rgb(255 255 255 / 8%);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 32px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 230px;
  padding: 26px;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 24px;
  background: rgb(255 255 255 / 5%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 8%);
}

.feature-card p,
.oauth-note p {
  margin-bottom: 0;
  color: #aeb8d0;
  line-height: 1.7;
}

.oauth-note {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  margin-bottom: 48px;
  padding: 34px;
  border: 1px solid rgb(120 149 255 / 18%);
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgb(94 132 255 / 18%), transparent 34rem),
    rgb(255 255 255 / 5%);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0 40px;
  border-top: 1px solid rgb(255 255 255 / 8%);
  color: #77829b;
  font-size: 13px;
}

@media (max-width: 900px) {
  .hero,
  .oauth-note {
    grid-template-columns: 1fr;
  }

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

  .terminal-card {
    max-width: 560px;
  }

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

@media (max-width: 620px) {
  .page-shell {
    width: min(100% - 28px, 1180px);
  }

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

  .site-header {
    padding-top: 22px;
  }

  h1 {
    font-size: clamp(44px, 15vw, 66px);
  }

  .hero {
    padding-bottom: 66px;
  }

  .terminal-card__body,
  .feature-card,
  .oauth-note {
    padding: 20px;
  }
}
