:root {
  color-scheme: dark;
  --background: #08090b;
  --surface: #12141a;
  --text: #f7f7f8;
  --muted: #a8adb8;
  --accent: #fe2c55;
  --accent-secondary: #25f4ee;
  --border: #292d36;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 0%, rgba(37, 244, 238, 0.12), transparent 34rem),
    radial-gradient(circle at 85% 0%, rgba(254, 44, 85, 0.12), transparent 34rem),
    var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: var(--accent-secondary);
}

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

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.brand {
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: -4px 3px 0 var(--accent-secondary);
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

nav a {
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
}

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

main {
  padding: 78px 0 96px;
}

.hero {
  padding: 40px 0 72px;
}

.eyebrow {
  color: var(--accent-secondary);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 12px 0 20px;
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

h2 {
  margin-top: 42px;
  font-size: 1.45rem;
}

h3 {
  margin-top: 28px;
}

p,
li {
  color: var(--muted);
}

.lead {
  max-width: 680px;
  font-size: 1.18rem;
}

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

.card,
.callback {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(18, 20, 26, 0.88);
}

.card h2 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.legal {
  max-width: 760px;
}

.legal h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
}

.updated {
  margin-bottom: 40px;
  font-size: 0.9rem;
}

code,
.callback-url {
  overflow-wrap: anywhere;
  color: var(--text);
}

button {
  margin-top: 18px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0 36px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.86rem;
}

@media (max-width: 700px) {
  header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

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

  main {
    padding-top: 46px;
  }
}
