:root {
  --pico-font-family: "Manrope", "Segoe UI", sans-serif;
  --bg: #08111f;
  --bg-deep: #040913;
  --surface: rgba(10, 19, 35, 0.78);
  --surface-strong: rgba(14, 26, 47, 0.92);
  --surface-soft: rgba(13, 24, 43, 0.54);
  --line: rgba(157, 184, 255, 0.18);
  --line-strong: rgba(157, 184, 255, 0.3);
  --text: #edf4ff;
  --muted: #98a9c8;
  --accent: #57d4c8;
  --accent-strong: #26b6b0;
  --accent-warm: #f4b56b;
  --danger: #ff8c8c;
  --success: #61d6a4;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --radius: 22px;
  --radius-sm: 16px;
  --container: min(1200px, calc(100% - 2rem));
}

html,
body {
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(39, 89, 197, 0.28), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(87, 212, 200, 0.14), transparent 22%),
    linear-gradient(180deg, #0a1324 0%, var(--bg) 38%, var(--bg-deep) 100%);
  color: var(--text);
}

body {
  margin: 0;
  padding: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 90%);
  opacity: 0.34;
}

main.container,
header .container,
footer.container {
  width: var(--container);
  margin-inline: auto;
}

a,
.btn-link {
  color: #bce7ff;
  text-decoration: none;
}

a:hover,
.btn-link:hover {
  color: #ffffff;
}

h1,
h2,
h3 {
  letter-spacing: -0.03em;
}

p {
  color: #d7e4fa;
}

code,
pre,
kbd,
samp {
  --pico-font-family: "SFMono-Regular", "SF Mono", "Consolas", monospace;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  padding-block: 1rem;
  background: rgba(4, 10, 20, 0.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(157, 184, 255, 0.14);
}

.topbar--hidden {
  transform: none;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar__controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.top-nav a,
.top-nav button {
  margin: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  color: #d6e2fb;
}

.nav-link:hover {
  background: rgba(157, 184, 255, 0.08);
}

.inline-form {
  display: inline-flex;
}

.mobile-nav {
  position: relative;
  display: none;
  margin: 0;
}

.mobile-nav[open] {
  z-index: 25;
}

.mobile-nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.4rem 0.85rem;
  margin: 0;
  border-radius: 999px;
  border: 1px solid rgba(157, 184, 255, 0.18);
  background: rgba(157, 184, 255, 0.06);
  color: #eff6ff;
  cursor: pointer;
  font-weight: 800;
  line-height: 1;
  list-style: none;
}

.mobile-nav__toggle::-webkit-details-marker {
  display: none;
}

.mobile-nav__toggle::marker {
  content: "";
}

.mobile-nav__toggle::after {
  content: ">";
  margin-left: 0.45rem;
  font-size: 0.92rem;
  opacity: 0.72;
  transition: transform 140ms ease;
}

.mobile-nav[open] .mobile-nav__toggle {
  margin-bottom: 0;
  border-color: rgba(87, 212, 200, 0.28);
  background: rgba(87, 212, 200, 0.1);
}

.mobile-nav[open] .mobile-nav__toggle::after {
  transform: rotate(90deg);
}

.mobile-nav__panel {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  width: min(18rem, calc(100vw - 2rem));
  display: grid;
  gap: 0.35rem;
  padding: 0.65rem;
  border: 1px solid rgba(157, 184, 255, 0.18);
  border-radius: 18px;
  background: rgba(6, 13, 24, 0.96);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.mobile-nav__link,
.mobile-nav__button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.7rem 0.85rem !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: transparent !important;
  color: #eff6ff !important;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
}

.mobile-nav__link:hover,
.mobile-nav__button:hover {
  background: rgba(157, 184, 255, 0.08) !important;
}

.mobile-nav__form {
  display: block;
  margin: 0;
}

main.container {
  padding-block: 2.25rem 4rem;
}

.page-stack {
  display: grid;
  gap: 1.4rem;
}

.landing-stack {
  display: grid;
  gap: 2rem;
}

.section-stack {
  display: grid;
  gap: 2rem;
}

.grid {
  display: grid;
  gap: 1.2rem;
}

.docs-stack {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr;
}

.docs-shell {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  align-items: start;
}

.docs-shell > * {
  min-width: 0;
}

.docs-main {
  display: grid;
  gap: 1.5rem;
  min-width: 0;
}

.docs-hero {
  display: grid;
  gap: 1.4rem;
}

.docs-quickstart {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.docs-sidebar {
  position: sticky;
  top: 6rem;
  display: grid;
  gap: 1rem;
  align-self: start;
}

.docs-sidebar h2,
.docs-sidebar p {
  margin: 0;
}

.docs-sidebar__note {
  font-size: 0.94rem;
}

.docs-tree {
  display: grid;
  gap: 0.35rem;
}

.docs-tree__link {
  display: block;
  padding: 0.6rem 0.75rem;
  border-radius: 14px;
  border: 1px solid transparent;
  color: #d6e2fb;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.docs-tree__link:hover {
  border-color: rgba(157, 184, 255, 0.16);
  background: rgba(157, 184, 255, 0.06);
  color: #ffffff;
}

.docs-tree__link--child {
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.docs-section {
  scroll-margin-top: 6rem;
}

.docs-code-panel {
  display: grid;
  gap: 0.8rem;
}

.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(157, 184, 255, 0.2);
  background: rgba(157, 184, 255, 0.06);
  color: #eff6ff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.copy-button:hover {
  border-color: rgba(157, 184, 255, 0.32);
  background: rgba(157, 184, 255, 0.12);
}

.copy-button[data-state="copied"] {
  border-color: rgba(97, 214, 164, 0.4);
  background: rgba(97, 214, 164, 0.14);
  color: #e8fff2;
}

.copy-button[data-state="error"] {
  border-color: rgba(255, 140, 140, 0.4);
  background: rgba(255, 140, 140, 0.14);
  color: #ffecec;
}

.page-stack > *,
.section-stack > *,
.grid > *,
.docs-stack > *,
.two-col > *,
.three-col > * {
  min-width: 0;
}

.two-col {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three-col {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.row > * {
  min-width: 0;
}

.surface,
.card,
.panel,
.metric,
.code-panel,
.list-panel,
.feature-card,
.pricing-card,
.auth-shell,
.hero-panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), rgba(6, 13, 25, 0.88));
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.card,
.panel,
.metric,
.code-panel,
.list-panel,
.feature-card,
.pricing-card,
.auth-shell {
  padding: 1.35rem;
}

.card,
.panel,
.metric,
.code-panel,
.list-panel,
.feature-card,
.pricing-card,
.auth-shell,
.hero-panel,
.subtle-panel {
  min-width: 0;
  max-width: 100%;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: auto -10% -38% auto;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(87, 212, 200, 0.22), transparent 64%);
}

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

.eyebrow {
  margin-bottom: 0.7rem;
  color: #8fded8;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 3.25rem);
  line-height: 0.98;
}

.section-lead {
  max-width: 45rem;
  font-size: 1.05rem;
  color: #d2def5;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 1.1rem;
  min-width: 0;
}

.hero-copy p {
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.landing-hero {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
  max-width: 72rem;
}

.landing-title {
  max-width: 12ch;
}

.landing-lead {
  max-width: 52rem;
}

.landing-hero-note {
  margin: 0;
  max-width: 42rem;
}

.landing-start {
  display: grid;
  gap: 1.1rem;
}

.landing-install {
  display: grid;
  gap: 1.1rem;
}

.install-command-shell {
  display: grid;
  gap: 0.85rem;
  max-width: 60rem;
}

.install-command-shell pre {
  margin: 0;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(157, 184, 255, 0.12);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(6, 13, 25, 0.95), rgba(4, 9, 17, 0.98));
  overflow-x: auto;
}

.install-command-shell code {
  color: #f7fbff;
  font-size: 0.96rem;
  white-space: pre-wrap;
  word-break: break-all;
}

.copy-button {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(157, 184, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #f4fbff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.copy-button:hover {
  background: rgba(157, 184, 255, 0.14);
}

.landing-flow {
  display: grid;
  gap: 0.8rem;
  width: min(100%, 56rem);
  margin-top: 0.35rem;
  min-width: 0;
}

.landing-flow__step {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.04);
}

.landing-flow__step--accent {
  border-color: rgba(87, 212, 200, 0.26);
  background:
    linear-gradient(180deg, rgba(13, 24, 43, 0.92), rgba(7, 14, 25, 0.96)),
    linear-gradient(135deg, rgba(87, 212, 200, 0.08), transparent 60%);
}

.landing-flow__label {
  display: block;
  margin-bottom: 0.35rem;
  color: #c6fff7;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.landing-band {
  display: grid;
  gap: 1rem;
}

.landing-band--narrow {
  max-width: 66rem;
}

.landing-section-header {
  max-width: 56rem;
}

.rewrite-example,
.api-mode-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;
}

.rewrite-example h3,
.api-mode-card h3,
.benchmark-card h3 {
  margin: 0;
}

.rewrite-example__stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  min-width: 0;
}

.rewrite-example__benchmark {
  display: grid;
  gap: 0.4rem;
  align-content: start;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(97, 214, 164, 0.22);
  background: rgba(97, 214, 164, 0.08);
}

.rewrite-example__benchmark strong {
  color: #ffffff;
  font-size: 1.05rem;
}

.rewrite-example__benchmark p {
  margin: 0;
}

.rewrite-snippet pre,
.rewrite-bindings pre {
  margin: 0;
}

.rewrite-snippet,
.rewrite-bindings {
  min-width: 0;
}

.rewrite-example__footnote,
.benchmark-row__footnote {
  margin: 0;
}

.benchmark-list {
  display: grid;
  gap: 1rem;
}

.benchmark-row {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, var(--surface), rgba(6, 13, 25, 0.9));
  box-shadow: var(--shadow);
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  align-items: start;
}

.benchmark-row__copy {
  display: grid;
  gap: 0.65rem;
}

.benchmark-row__stats {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.benchmark-row__result {
  display: grid;
  gap: 0.4rem;
  align-content: start;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(97, 214, 164, 0.22);
  background: rgba(97, 214, 164, 0.08);
}

.benchmark-row__result strong {
  color: #ffffff;
  font-size: 1.1rem;
}

.benchmark-row__result p {
  margin: 0;
}

.benchmark-pill {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem;
  border-radius: 16px;
  border: 1px solid rgba(157, 184, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.benchmark-pill--accent {
  border-color: rgba(97, 214, 164, 0.28);
  background: rgba(97, 214, 164, 0.1);
}

.benchmark-pill__label {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.benchmark-pill strong {
  color: #ffffff;
  font-size: 1.05rem;
}

.benchmark-table-shell {
  overflow-x: auto;
}

.benchmark-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.benchmark-table thead th {
  color: #f4fbff;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.benchmark-table th,
.benchmark-table td {
  padding: 0.95rem 0.8rem;
  border-bottom: 1px solid rgba(157, 184, 255, 0.1);
  vertical-align: top;
}

.benchmark-table tbody tr:last-child td {
  border-bottom: 0;
}

.benchmark-table td strong,
.benchmark-table td p {
  margin: 0;
}

.benchmark-table td p {
  color: var(--muted);
}

.api-mode-stack {
  display: grid;
  gap: 1rem;
}

.landing-code-panel pre {
  min-height: 18rem;
}

.example-switcher {
  display: grid;
  gap: 1rem;
}

.example-switcher > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.example-switcher__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.example-tab {
  display: inline-flex;
  align-items: center;
  min-height: 2.7rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(157, 184, 255, 0.14);
  background: rgba(157, 184, 255, 0.04);
  color: #d6e2fb;
  cursor: pointer;
  font-weight: 700;
}

.example-panel {
  display: none;
}

#example-javascript:checked ~ .example-switcher__tabs label[for="example-javascript"],
#example-python:checked ~ .example-switcher__tabs label[for="example-python"],
#example-php:checked ~ .example-switcher__tabs label[for="example-php"] {
  border-color: rgba(87, 212, 200, 0.34);
  background: rgba(87, 212, 200, 0.12);
  color: #f2fffd;
}

#example-javascript:checked ~ .example-panel--javascript,
#example-python:checked ~ .example-panel--python,
#example-php:checked ~ .example-panel--php {
  display: block;
}

.meta-pill,
.plan-chip,
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(157, 184, 255, 0.08);
  color: #dce7ff;
  font-size: 0.92rem;
}

.status-chip--good {
  border-color: rgba(97, 214, 164, 0.35);
  color: #b9f3d5;
}

.status-chip--warn {
  border-color: rgba(244, 181, 107, 0.35);
  color: #ffd7aa;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100%;
}

.hero-orbit {
  position: relative;
  width: min(100%, 24rem);
  aspect-ratio: 1 / 1;
  border-radius: 2rem;
  border: 1px solid rgba(157, 184, 255, 0.18);
  background:
    radial-gradient(circle at 49% 44%, rgba(247, 240, 229, 0.98), rgba(230, 215, 194, 0.92) 20%, rgba(230, 215, 194, 0.08) 38%, transparent 48%),
    radial-gradient(circle at 50% 45%, rgba(72, 115, 222, 0.45), transparent 35%),
    linear-gradient(180deg, rgba(20, 37, 67, 0.92), rgba(8, 15, 27, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-orbit::before,
.hero-orbit::after {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 1px solid rgba(157, 184, 255, 0.12);
}

.hero-orbit::after {
  inset: 24%;
}

.hero-mascot {
  position: absolute;
  inset: 18% 18% auto;
  width: 64%;
  height: auto;
  filter: drop-shadow(0 24px 24px rgba(0, 0, 0, 0.35));
}

.hero-badge {
  position: absolute;
  padding: 0.75rem 0.9rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: rgba(6, 13, 24, 0.86);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.22);
  font-size: 0.9rem;
}

.hero-badge strong {
  display: block;
  color: #ffffff;
  font-size: 1.05rem;
}

.hero-badge--top {
  top: 10%;
  right: -3%;
}

.hero-badge--bottom {
  bottom: 8%;
  left: -3%;
}

.button-primary,
.button-secondary,
.button-ghost,
button,
[role="button"],
.contrast,
.btn {
  border-radius: 999px !important;
  min-height: 2.95rem;
  padding-inline: 1.05rem !important;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: none;
}

.button-primary,
button[type="submit"],
.contrast,
.btn {
  border: 1px solid rgba(87, 212, 200, 0.45) !important;
  background: linear-gradient(180deg, var(--accent), var(--accent-strong)) !important;
  color: #041019 !important;
}

.button-secondary {
  border: 1px solid rgba(157, 184, 255, 0.22);
  background: rgba(157, 184, 255, 0.08);
  color: #eff6ff;
}

.button-ghost {
  border: 1px solid transparent;
  background: transparent;
  color: #d6e2fb;
}

.button-ghost:hover {
  border-color: rgba(157, 184, 255, 0.14);
  background: rgba(157, 184, 255, 0.05);
}

.section-header {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 0.25rem;
}

.feature-card h3,
.pricing-card h3,
.metric h3,
.list-panel h3,
.code-panel h3,
.auth-shell h1 {
  margin-top: 0;
}

.feature-card {
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(13, 24, 43, 0.92), rgba(7, 14, 25, 0.96)),
    linear-gradient(135deg, rgba(87, 212, 200, 0.08), transparent 60%);
}

.feature-grid .feature-card:last-child {
  grid-column: 1 / -1;
}

.snippet-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  min-width: 0;
}

.snippet-header .muted {
  overflow-wrap: anywhere;
}

.snippet-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(87, 212, 200, 0.28);
  background: rgba(87, 212, 200, 0.12);
  color: #c8fff8;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.code-panel > pre:last-child,
.list-panel > pre:last-child {
  margin-bottom: 0;
}

.story-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.story-step {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
}

.story-step h3 {
  margin: 0 0 0.25rem;
}

.story-step p {
  margin: 0;
}

.story-step__number {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: rgba(87, 212, 200, 0.14);
  border: 1px solid rgba(87, 212, 200, 0.28);
  color: #c6fff7;
  font-weight: 800;
}

.details-shell {
  padding: 0;
  overflow: hidden;
}

.details-shell summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.1rem;
  font-weight: 800;
  color: #f4fbff;
}

.details-shell summary::-webkit-details-marker {
  display: none;
}

.details-shell__body {
  display: grid;
  gap: 1rem;
  padding: 0 1rem 1rem;
}

.response-map {
  display: grid;
  gap: 0.85rem;
}

.response-map__row {
  display: grid;
  gap: 0.35rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(157, 184, 255, 0.1);
}

.response-map__row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.response-map__row p {
  margin: 0;
}

.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 0.85rem;
  background: rgba(87, 212, 200, 0.12);
  border: 1px solid rgba(87, 212, 200, 0.22);
  color: #a8f4ee;
  font-weight: 800;
}

.pricing-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pricing-card {
  display: grid;
  gap: 1rem;
}

.pricing-card--accent {
  background:
    linear-gradient(180deg, rgba(13, 28, 47, 0.95), rgba(8, 16, 29, 0.98)),
    radial-gradient(circle at top right, rgba(87, 212, 200, 0.14), transparent 40%);
  border-color: rgba(87, 212, 200, 0.34);
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
}

.pricing-card__price strong {
  font-size: 2.4rem;
}

.check-list,
.plain-list {
  margin: 0;
  padding-left: 1.15rem;
}

.check-list li,
.plain-list li {
  margin-bottom: 0.5rem;
  color: #d8e4fb;
}

.feature-stack {
  display: grid;
  gap: 1rem;
}

.demo-strip,
.subtle-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  padding: 1rem 1.1rem;
}

.callout-line {
  margin: 0 0 0.9rem;
  color: #f2f7ff;
  font-weight: 700;
}

.landing-access {
  display: grid;
  gap: 0.85rem;
}

.app-shell {
  display: grid;
  gap: 1.2rem;
}

.app-header {
  display: grid;
  gap: 0.75rem;
}

.app-header h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.metrics-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric {
  display: grid;
  gap: 0.45rem;
}

.metric__label {
  color: var(--muted);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.metric__value {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 800;
  color: #ffffff;
}

.split-layout {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
}

.stack {
  display: grid;
  gap: 1rem;
}

.field-stack {
  display: grid;
  gap: 0.9rem;
}

textarea,
input,
select {
  border-radius: 16px !important;
  border: 1px solid rgba(157, 184, 255, 0.18) !important;
  background: rgba(5, 11, 21, 0.78) !important;
  color: #eff6ff !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

textarea {
  min-height: 18rem;
}

label {
  color: #f0f5ff;
  font-weight: 700;
}

.input-help {
  margin-top: -0.35rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.code-panel pre,
pre {
  overflow-x: auto;
  max-width: 100%;
  border: 1px solid rgba(157, 184, 255, 0.14);
  border-radius: 16px;
  background: rgba(3, 8, 17, 0.88);
  padding: 1rem;
}

.results-grid {
  display: grid;
  gap: 1rem;
}

.job-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.job-row {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(157, 184, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.job-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.table-like {
  display: grid;
  gap: 0.75rem;
}

.table-like__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(157, 184, 255, 0.1);
}

.table-like__row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.api-key-table-wrap {
  overflow-x: auto;
}

.api-key-table {
  width: 100%;
  border-collapse: collapse;
}

.api-key-table th,
.api-key-table td {
  padding: 0.85rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid rgba(157, 184, 255, 0.12);
  vertical-align: middle;
}

.api-key-table th {
  color: #f0f5ff;
  font-size: 0.92rem;
}

.api-key-table td {
  color: #d6e2fb;
}

.api-key-delete {
  color: #ffd1d1;
}

.api-key-delete:hover {
  border-color: rgba(255, 125, 125, 0.22);
  background: rgba(255, 125, 125, 0.08);
}

.auth-wrap {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 18rem);
}

.auth-shell {
  width: min(34rem, 100%);
}

.form-errors,
.message {
  border-left: 4px solid var(--accent-warm) !important;
  padding-left: 0.9rem;
}

.form-errors {
  margin-bottom: 1rem;
  color: #ffd3d3;
}

.message.success {
  border-left-color: var(--success) !important;
}

.message.error,
.error {
  border-left-color: var(--danger) !important;
  color: #ffc5c5;
}

footer.container {
  padding-bottom: 2.5rem;
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(157, 184, 255, 0.12);
}

.footer-shell p {
  margin: 0;
}

.footer-link,
.contact-link {
  color: #ffffff;
  font-weight: 700;
}

.footer-link:hover,
.contact-link:hover {
  color: #d2fff8;
}

form {
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .docs-shell,
  .docs-quickstart,
  .hero-layout,
  .split-layout,
  .pricing-grid,
  .metrics-grid,
  .three-col,
  .two-col {
    grid-template-columns: 1fr;
  }

  .benchmark-row,
  .benchmark-row__stats {
    grid-template-columns: 1fr;
  }

  .feature-grid .feature-card:last-child {
    grid-column: auto;
  }

  .landing-title {
    max-width: none;
  }

  .hero-visual {
    order: -1;
  }

  .hero-orbit {
    width: min(100%, 20rem);
  }

  .docs-sidebar {
    position: static;
  }
}

@media (max-width: 780px) {
  .footer-shell {
    flex-direction: column;
    align-items: flex-start;
  }

  main.container,
  footer.container {
    width: calc(100% - 1rem);
    padding-inline: 0.5rem;
  }

  .topbar {
    padding-block: 0.5rem;
    transition: transform 180ms ease, opacity 180ms ease;
    will-change: transform;
  }

  .topbar.topbar--hidden {
    transform: translateY(calc(-100% - 0.5rem));
  }

  .topbar__inner {
    flex-direction: row;
    align-items: center;
  }

  .topbar__controls {
    margin-left: auto;
  }

  main.container {
    padding-block: 1.4rem 3rem;
  }

  .brand {
    font-size: 0.95rem;
  }

  .top-nav--desktop {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .hero-badge--top,
  .hero-badge--bottom {
    position: static;
  }

  .hero-orbit {
    display: grid;
    place-items: center;
    gap: 0.8rem;
    padding: 1.25rem;
    aspect-ratio: auto;
  }

  .hero-mascot {
    position: static;
    width: min(12rem, 65%);
  }

  .snippet-header {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions > * {
    width: 100%;
    justify-content: center;
  }

  .snippet-header {
    flex-direction: column;
  }

  .snippet-header .muted {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .topbar {
    transition: none;
  }
}
