:root {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #0f172a;
  background-color: #f8fafc;
  line-height: 1.6;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.08), transparent 45%),
    radial-gradient(circle at 75% 10%, rgba(14, 165, 233, 0.08), transparent 40%),
    #f8fafc;
  color: inherit;
}

a {
  color: #2563eb;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

.container {
  width: min(1040px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
  background-color: rgba(248, 250, 252, 0.9);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.logo-accent {
  color: #3b82f6;
}

.tagline {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(15, 23, 42, 0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero {
  padding: 5rem 0 4rem;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  line-height: 1.15;
}

.hero p {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  color: rgba(15, 23, 42, 0.75);
}

.endpoint-callout {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.9rem;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.25);
  font-weight: 600;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.18);
}

.endpoint-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.endpoint-row {
  display: grid;
  gap: 0.5rem;
}

.endpoint-row dt {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(15, 23, 42, 0.6);
}

.endpoint-row dd {
  margin: 0;
}

.endpoint-callout code {
  font-size: 0.95rem;
  color: #0f172a;
}

.copy-button {
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(15, 23, 42, 0.2);
  border-radius: 0.6rem;
  background: rgba(248, 250, 252, 0.95);
  color: #0f172a;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.endpoint-callout:hover .copy-button,
.endpoint-callout:focus-within .copy-button {
  opacity: 1;
  transform: translateY(0);
}

.copy-button:hover,
.copy-button:focus {
  border-color: rgba(37, 99, 235, 0.6);
  outline: none;
}

.section {
  padding: 4rem 0;
}

.section.muted {
  background-color: rgba(15, 23, 42, 0.02);
}

.section-header {
  max-width: 680px;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.9rem, 4vw, 2.4rem);
}

.section-header p {
  margin: 0;
  color: rgba(15, 23, 42, 0.7);
}

.method-card {
  padding: 1.75rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background-color: rgba(255, 255, 255, 0.97);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.06);
}

.method-card h3 {
  margin-top: 0;
}

.method-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr);
}

pre {
  background-color: rgba(15, 23, 42, 0.95);
  color: #f8fafc;
  padding: 1rem;
  border-radius: 0.9rem;
  overflow-x: auto;
  font-size: 0.9rem;
}

code {
  font-family: "Fira Code", "SFMono-Regular", Consolas, "Liberation Mono",
    Menlo, monospace;
  font-size: 0.9rem;
}

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background-color: rgba(15, 23, 42, 0.02);
  text-align: center;
  font-size: 0.9rem;
  color: rgba(15, 23, 42, 0.6);
}

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

  .hero {
    padding-top: 4rem;
  }
}
