:root {
  color-scheme: dark;

  --bg: #05070a;
  --panel: #0d1117;
  --panel-2: #111827;

  --text: #eef4ff;
  --muted: #9fb0c7;

  --line: #243044;
  --accent: #e0a814;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;

  background:
    radial-gradient(
      circle at top left,
      rgba(224, 168, 20, 0.14),
      transparent 32rem
    ),
    var(--bg);

  color: var(--text);

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

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

.hero {
  max-width: 920px;
}

.eyebrow {
  color: var(--accent);

  font-size: 0.78rem;
  font-weight: 800;

  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1 {
  margin: 18px 0;

  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.92;

  letter-spacing: -0.08em;
}

h2 {
  margin-top: 0;
}

.lede {
  color: #cfe0f7;

  font-size: 1.35rem;
  line-height: 1.7;
}

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

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;

  margin-top: 34px;
}

.actions a,
.actions button,
.back,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 1px solid var(--line);
  border-radius: 999px;

  padding: 12px 18px;

  color: var(--text);

  text-decoration: none;
  font-weight: 750;

  background: transparent;

  cursor: pointer;
}

.actions a:first-child,
.actions button:first-child {
  background: var(--accent);
  color: #151003;
  border-color: var(--accent);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 18px;

  margin-top: 90px;
}

article,
.panel {
  background:
    linear-gradient(
      180deg,
      var(--panel),
      var(--panel-2)
    );

  border: 1px solid var(--line);
  border-radius: 24px;

  padding: 28px;

  margin-top: 28px;
}

article p,
.panel p,
li {
  color: var(--muted);
  line-height: 1.65;
}

.endpoint-box,
.credential-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  padding: 18px;

  border-radius: 18px;

  border: 1px solid var(--line);

  background: rgba(255,255,255,0.02);
}

.method {
  display: inline-flex;

  padding: 6px 10px;

  border-radius: 999px;

  background: var(--accent);
  color: #151003;

  font-size: 0.8rem;
  font-weight: 800;
}

.credential-label {
  display: block;

  margin-bottom: 8px;

  color: var(--muted);
  font-size: 0.82rem;
}

textarea,
input {
  width: 100%;

  margin-top: 18px;

  padding: 18px;

  border-radius: 18px;
  border: 1px solid var(--line);

  background: #02040a;
  color: #d9e7ff;

  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
}

textarea {
  min-height: 520px;
  resize: vertical;
}

pre {
  padding: 18px;

  border-radius: 18px;

  background: #02040a;
  border: 1px solid var(--line);

  overflow: auto;
  white-space: pre-wrap;

  color: #d9e7ff;

  margin-top: 18px;
}

.tab-bar {
  display: flex;
  gap: 12px;

  margin-bottom: 18px;
}

.tab-button {
  opacity: 0.55;
}

.tab-button.active {
  opacity: 1;
  background: rgba(255,255,255,0.06);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

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

  h1 {
    font-size: 4rem;
  }

  textarea {
    min-height: 420px;
  }

  .endpoint-box,
  .credential-box {
    flex-direction: column;
    align-items: flex-start;
  }
}
