/* ==========================================================================
   Meldrix — Transcript API landing
   Scoped to body.lp so the dashboard and docs keep their own styles.
   Visual system mirrors search.meldrix.com.
   ========================================================================== */
:root {
  --lp-bg: #09090b;
  --lp-bg-2: #0a0a0a;
  --lp-card: #111114;
  --lp-line: #1f1f23;
  --lp-line-2: #2a2a30;
  --lp-text: #f7f7f8;
  --lp-text-2: #c9c9cf;
  --lp-muted: #a1a1aa;
  --lp-faint: #71717a;
  --lp-accent: #d9f99d;
  --lp-accent-2: #bef264;
  --lp-accent-ink: #11150a;
  --lp-good: #10b981;
  --lp-warn: #fbbf24;
  --lp-bad: #f87171;
  --lp-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --lp-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --lp-r: 14px;
}

html,
body {
  overflow-x: hidden;
}

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

body.lp {
  margin: 0;
  background: var(--lp-bg);
  color: var(--lp-text);
  font: 15px/1.6 var(--lp-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.lp::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 500px at 50% -10%, rgba(255, 255, 255, 0.035), transparent 60%),
    radial-gradient(700px 420px at 85% 10%, rgba(120, 140, 255, 0.045), transparent 65%),
    radial-gradient(600px 400px at 8% 25%, rgba(255, 255, 255, 0.03), transparent 70%);
}

body.lp::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle at 50% 12%, #000 0%, transparent 62%);
  mask-image: radial-gradient(circle at 50% 12%, #000 0%, transparent 62%);
}

body.lp ::selection {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

:where(body.lp) a {
  color: inherit;
  text-decoration: none;
}

:where(body.lp) button,
:where(body.lp) input,
:where(body.lp) select {
  font: inherit;
  color: inherit;
}

body.lp :focus-visible {
  outline: 2px solid var(--lp-text-2);
  outline-offset: 2px;
  border-radius: 6px;
}

body.lp code {
  font-family: var(--lp-mono);
}

.lp-wrap {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.lp-main,
.lp-footer {
  position: relative;
  z-index: 1;
}

.lp-hidden {
  display: none !important;
}

.lp-sep {
  color: var(--lp-faint);
}

/* ==========================================================================
   Header
   ========================================================================== */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--lp-line);
  background: rgba(9, 9, 11, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.lp-header-inner {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding: 0 16px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.lp-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.lp-mark {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  display: grid;
  place-items: center;
}

.lp-mark svg {
  width: 100%;
  height: 100%;
}

.lp-wordmark {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.lp-brand-sub {
  font-family: var(--lp-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--lp-faint);
  white-space: nowrap;
  padding-left: 3px;
  border-left: 1px solid var(--lp-line);
}

.lp-header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.lp-btn.lp-hamburger {
  display: none;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--lp-line);
  background: transparent;
  color: var(--lp-text-2);
  border-radius: 8px;
}

.lp-btn.lp-hamburger svg {
  width: 18px;
  height: 18px;
}

.lp-mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 59;
  padding: 12px 16px 18px;
  border-bottom: 1px solid var(--lp-line);
  background: rgba(9, 9, 11, 0.98);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

body.lp-menu-open .lp-mobile-nav {
  display: block;
}

.lp-mobile-nav a {
  display: block;
  padding: 11px 6px;
  font-size: 14px;
  color: var(--lp-text-2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.lp-mobile-nav a:last-child {
  border-bottom: 0;
}

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

/* ==========================================================================
   Buttons
   ========================================================================== */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  padding: 9px 15px;
  border-radius: 8px;
  border: 1px solid var(--lp-line-2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--lp-text-2);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.lp-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.lp-btn svg {
  width: 14px;
  height: 14px;
}

.lp-btn-primary {
  background: #fff;
  border-color: #fff;
  color: #0a0a0b;
  font-weight: 600;
}

.lp-btn-primary:hover {
  background: #f0f0f0;
  border-color: #f0f0f0;
  color: #0a0a0b;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.lp-btn-accent {
  background: var(--lp-accent);
  border-color: var(--lp-accent);
  color: var(--lp-accent-ink);
  font-weight: 650;
}

.lp-btn-accent:hover {
  background: var(--lp-accent-2);
  border-color: var(--lp-accent-2);
  color: var(--lp-accent-ink);
  box-shadow: 0 0 0 4px rgba(217, 249, 157, 0.14);
}

.lp-btn-lg {
  padding: 12px 20px;
  font-size: 13.5px;
  border-radius: 9px;
}

.lp-btn-header {
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 12.5px;
}

.lp-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.lp-hero {
  padding: 88px 0 20px;
  text-align: center;
}

.lp-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 5px 11px 5px 7px;
  border-radius: 999px;
  border: 1px solid var(--lp-line);
  background: rgba(255, 255, 255, 0.04);
  font-size: 11.5px;
  color: var(--lp-muted);
  white-space: nowrap;
}

.lp-pill b {
  color: var(--lp-text-2);
  font-weight: 500;
}

.lp-pill-sep {
  color: var(--lp-faint);
}

.lp-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--lp-accent);
  box-shadow: 0 0 10px 1px rgba(217, 249, 157, 0.7);
}

.lp-hero h1 {
  margin: 22px auto 0;
  max-width: 22ch;
  font-size: clamp(34px, 5.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 600;
  background: linear-gradient(180deg, #ffffff 20%, #a7a7b0 105%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lp-lede {
  margin: 22px auto 0;
  max-width: 68ch;
  color: var(--lp-muted);
  font-size: clamp(14.5px, 1.5vw, 17px);
  line-height: 1.65;
}

.lp-hero-cta {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.lp-hero-note {
  margin-top: 16px;
  font-size: 11.5px;
  color: var(--lp-faint);
}

.lp-hero-note code {
  font-family: var(--lp-mono);
  color: var(--lp-text-2);
}

/* ==========================================================================
   Playground
   ========================================================================== */
.lp-playground {
  padding: 46px 0 8px;
}

.lp-glass {
  position: relative;
  border-radius: 18px;
  border: 1px solid var(--lp-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)), var(--lp-card);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 40px 120px -50px rgba(0, 0, 0, 0.9);
  overflow: hidden;
}

.lp-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(600px 180px at 50% -20%, rgba(255, 255, 255, 0.05), transparent 70%);
}

.lp-pg-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--lp-line);
}

.lp-pg-dots {
  display: flex;
  gap: 5px;
  flex: 0 0 auto;
}

.lp-pg-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.lp-pg-dots span:nth-child(1) {
  background: rgba(248, 113, 113, 0.5);
}

.lp-pg-dots span:nth-child(2) {
  background: rgba(251, 191, 36, 0.5);
}

.lp-pg-dots span:nth-child(3) {
  background: rgba(74, 222, 128, 0.5);
}

.lp-pg-title {
  font-family: var(--lp-mono);
  font-size: 11.5px;
  color: var(--lp-faint);
  letter-spacing: 0.02em;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lp-pg-modes {
  margin-left: auto;
  flex: 0 0 auto;
  display: flex;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--lp-line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
}

.lp-pg-mode {
  padding: 4px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--lp-faint);
  font-size: 11px;
  cursor: pointer;
  transition: background 0.14s ease, color 0.14s ease;
}

.lp-pg-mode[aria-selected="true"] {
  background: rgba(255, 255, 255, 0.09);
  color: var(--lp-text);
}

.lp-pg-form {
  position: relative;
  display: flex;
  gap: 9px;
  padding: 16px;
  flex-wrap: wrap;
}

.lp-field {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  height: 46px;
  padding: 0 13px;
  border-radius: 11px;
  border: 1px solid var(--lp-line-2);
  background: rgba(0, 0, 0, 0.32);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.lp-field:focus-within {
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.07);
}

.lp-field-url {
  flex: 1 1 320px;
}

.lp-field-url > svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  color: var(--lp-faint);
}

.lp-field input,
.lp-field select {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 14px;
}

.lp-field input::placeholder {
  color: var(--lp-faint);
}

.lp-field-select {
  flex: 0 0 124px;
  cursor: pointer;
}

.lp-field-select select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  font-family: var(--lp-mono);
  font-size: 12.5px;
}

.lp-field-select > svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  color: var(--lp-faint);
  pointer-events: none;
}

.lp-btn-fetch {
  height: 46px;
  padding: 0 18px;
  border-radius: 11px;
  flex: 0 0 auto;
}

.lp-keyrow {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0 16px 14px;
}

.lp-key-field {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1 1 300px;
  min-width: 0;
  height: 38px;
  padding: 0 11px;
  border: 1px solid var(--lp-line);
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.22);
}

.lp-key-field:focus-within {
  border-color: rgba(255, 255, 255, 0.3);
}

.lp-key-label {
  flex: 0 0 auto;
  font-family: var(--lp-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lp-faint);
}

.lp-key-field input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 12px;
}

.lp-key-field input::placeholder {
  color: var(--lp-faint);
}

.lp-key-hint {
  flex: 0 0 auto;
  font-size: 10.5px;
  color: var(--lp-faint);
  white-space: nowrap;
}

.lp-pg-body {
  position: relative;
  border-top: 1px solid var(--lp-line);
  background: rgba(0, 0, 0, 0.22);
  padding: 16px;
  min-height: 280px;
}

.lp-formatted {
  min-width: 0;
}

.lp-tr-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.lp-tr-id {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.lp-tr-k {
  flex: 0 0 auto;
  font-family: var(--lp-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lp-faint);
}

.lp-tr-id code {
  font-family: var(--lp-mono);
  font-size: 12px;
  color: var(--lp-text-2);
  overflow-wrap: anywhere;
}

.lp-tr-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.lp-tag {
  font-family: var(--lp-mono);
  font-size: 10.5px;
  color: var(--lp-text-2);
  border: 1px solid var(--lp-line);
  border-radius: 5px;
  padding: 2px 6px;
  white-space: nowrap;
}

.lp-tag-gen {
  border-color: var(--lp-line-2);
  background: rgba(255, 255, 255, 0.05);
  color: var(--lp-text-2);
}

.lp-tag-err {
  border-color: rgba(248, 113, 113, 0.35);
  background: rgba(248, 113, 113, 0.08);
  color: var(--lp-bad);
}

.lp-tr-text {
  margin: 0 0 12px;
  padding-left: 11px;
  border-left: 2px solid var(--lp-line);
  color: var(--lp-muted);
  font-size: 12.5px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.lp-snippets {
  display: flex;
  flex-direction: column;
  max-height: 300px;
  overflow-y: auto;
  border-top: 1px solid var(--lp-line);
  -webkit-overflow-scrolling: touch;
}

.lp-snippet {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 10px;
  padding: 9px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 12.5px;
}

.lp-ts {
  font-family: var(--lp-mono);
  font-size: 10.5px;
  color: var(--lp-faint);
  padding-top: 2px;
}

.lp-snip-text {
  min-width: 0;
  color: var(--lp-text-2);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.lp-tr-more {
  margin-top: 10px;
  font-size: 10.5px;
  color: var(--lp-faint);
}

.lp-tr-error {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(248, 113, 113, 0.25);
  border-radius: 10px;
  background: rgba(248, 113, 113, 0.06);
}

.lp-tr-error p {
  margin: 0;
  min-width: 0;
  font-size: 12.5px;
  color: var(--lp-text-2);
  overflow-wrap: anywhere;
}

.lp-tr-loading {
  display: grid;
  place-items: center;
  min-height: 240px;
  color: var(--lp-faint);
  font-size: 12.5px;
}

.lp-json {
  margin: 0;
  max-width: 100%;
  max-height: 340px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  font-family: var(--lp-mono);
  font-size: 11.5px;
  line-height: 1.7;
  color: #d7dde8;
  white-space: pre;
  tab-size: 2;
}

.lp-json .tok-str {
  color: #a5d6a7;
}

.lp-json .tok-key {
  color: #7dd3fc;
}

.lp-json .tok-num,
.lp-json .tok-bool {
  color: #f0b37e;
}

.lp-pg-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 16px;
  border-top: 1px solid var(--lp-line);
  font-size: 11px;
  color: var(--lp-faint);
  min-width: 0;
}

.lp-pg-endpoint {
  min-width: 0;
  max-width: 100%;
}

.lp-mini-code {
  display: inline-block;
  max-width: 100%;
  padding: 1.5px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--lp-text-2);
  font-family: var(--lp-mono);
  font-size: 10.5px;
  overflow-wrap: anywhere;
}

.lp-pg-status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.lp-status-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--lp-faint);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.lp-status-dot.is-ok,
.lp-status.is-ok .lp-status-dot {
  background: var(--lp-good);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.75);
}

.lp-status-dot.is-busy {
  background: var(--lp-accent);
  box-shadow: 0 0 8px rgba(217, 249, 157, 0.7);
}

.lp-status-dot.is-down,
.lp-status.is-down .lp-status-dot {
  background: var(--lp-bad);
  box-shadow: 0 0 8px rgba(248, 113, 113, 0.7);
}

/* ==========================================================================
   Sections
   ========================================================================== */
.lp-block {
  padding: 84px 0 0;
}

.lp-sec-head {
  max-width: 760px;
}

.lp-eyebrow {
  font-family: var(--lp-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lp-muted);
}

.lp-sec-head h2 {
  margin: 12px 0 10px;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.lp-sec-head p {
  margin: 0;
  color: var(--lp-muted);
  font-size: 14.5px;
  line-height: 1.65;
}

/* Endpoints */
.lp-endpoints {
  margin-top: 34px;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-r);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.lp-ep {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) minmax(0, 1.05fr) 84px;
  gap: 16px;
  align-items: center;
  padding: 15px 18px;
  border-bottom: 1px solid var(--lp-line);
  transition: background 0.15s ease;
}

.lp-ep:last-child {
  border-bottom: 0;
}

.lp-ep:hover {
  background: rgba(255, 255, 255, 0.035);
}

.lp-method {
  justify-self: start;
  font-family: var(--lp-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--lp-text-2);
  border: 1px solid var(--lp-line-2);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
  padding: 3px 6px;
  text-align: center;
}

.lp-path {
  min-width: 0;
  font-family: var(--lp-mono);
  font-size: 12.5px;
  color: var(--lp-text);
  overflow-wrap: anywhere;
}

.lp-desc {
  min-width: 0;
  font-size: 12.5px;
  color: var(--lp-muted);
}

.lp-go {
  font-size: 11.5px;
  color: var(--lp-faint);
  text-align: right;
  white-space: nowrap;
}

.lp-ep:hover .lp-go {
  color: var(--lp-text);
}

/* Feature cards */
.lp-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.lp-feature {
  position: relative;
  overflow: hidden;
  padding: 20px 18px 22px;
  border-radius: var(--lp-r);
  border: 1px solid var(--lp-line);
  background: var(--lp-card);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.lp-feature:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
  box-shadow: 0 24px 50px -34px #000;
}

.lp-ico {
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  display: grid;
  place-items: center;
  border: 1px solid var(--lp-line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--lp-text-2);
}

.lp-ico svg {
  width: 16px;
  height: 16px;
}

.lp-feature h3 {
  margin: 0 0 6px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.lp-feature p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--lp-muted);
}

.lp-feature code {
  font-family: var(--lp-mono);
  font-size: 11px;
  color: var(--lp-text-2);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  padding: 1px 4px;
}

/* Use cases */
.lp-cases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.lp-case {
  padding: 22px 20px;
  border-radius: var(--lp-r);
  border: 1px solid var(--lp-line);
  background: var(--lp-card);
}

.lp-case-k {
  font-family: var(--lp-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lp-faint);
}

.lp-case h3 {
  margin: 10px 0 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.lp-case p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--lp-muted);
}

.lp-case code {
  font-family: var(--lp-mono);
  font-size: 11px;
  color: var(--lp-text-2);
}

.lp-tags {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.lp-tags li {
  font-family: var(--lp-mono);
  font-size: 10.5px;
  color: var(--lp-text-2);
  border: 1px solid var(--lp-line);
  border-radius: 5px;
  padding: 2px 6px;
}

/* Final CTA */
.lp-band {
  margin: 96px 0 0;
  padding: 52px 34px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(700px 260px at 50% 0%, rgba(255, 255, 255, 0.06), transparent 70%),
    rgba(255, 255, 255, 0.025);
  text-align: center;
  overflow: hidden;
}

.lp-band h2 {
  margin: 0 auto 12px;
  max-width: 19ch;
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.lp-band p {
  margin: 0 auto 24px;
  max-width: 52ch;
  font-size: 13.5px;
  color: var(--lp-muted);
}

.lp-band-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.lp-footer {
  margin-top: 96px;
  padding: 44px 0 32px;
  border-top: 1px solid var(--lp-line);
}

.lp-f-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
}

.lp-f-brand p {
  margin: 14px 0 0;
  max-width: 26ch;
  font-size: 12px;
  line-height: 1.6;
  color: var(--lp-faint);
}

.lp-f-col h4 {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lp-faint);
}

.lp-f-col a {
  display: block;
  padding: 4px 0;
  font-size: 12.5px;
  color: var(--lp-muted);
  transition: color 0.14s ease;
}

.lp-f-col a:hover {
  color: var(--lp-text);
}

.lp-f-bottom {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid var(--lp-line);
  font-size: 11.5px;
  color: var(--lp-faint);
}

.lp-status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border: 1px solid var(--lp-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 11px;
  color: var(--lp-text-2);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1000px) {
  .lp-ep {
    grid-template-columns: 70px minmax(0, 1fr) 70px;
    gap: 14px;
  }

  .lp-desc {
    display: none;
  }

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

@media (max-width: 900px) {
  .lp-brand-sub {
    display: none;
  }

  .lp-btn.lp-hamburger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .lp-grid-3,
  .lp-cases {
    grid-template-columns: 1fr;
  }

  .lp-hero {
    padding-top: 56px;
  }

  .lp-playground {
    padding-top: 34px;
  }

  .lp-block {
    padding-top: 62px;
  }
}

@media (max-width: 760px) {
  .lp-wrap {
    width: calc(100% - 32px);
  }

  .lp-header-inner {
    padding: 0 16px;
  }

  .lp-pg-form {
    padding: 13px;
    gap: 8px;
  }

  .lp-field-url {
    flex-basis: 100%;
  }

  .lp-field-select {
    flex: 1 1 100px;
  }

  .lp-btn-fetch {
    flex: 1 1 100%;
    width: 100%;
  }

  .lp-keyrow {
    padding: 0 13px 13px;
  }

  .lp-key-hint {
    display: none;
  }

  .lp-pg-body {
    padding: 13px;
  }

  .lp-pg-foot {
    padding: 10px 13px;
  }

  .lp-ep {
    padding: 13px 14px;
    gap: 10px;
  }

  .lp-band {
    margin-top: 66px;
    padding: 38px 20px;
  }

  .lp-footer {
    margin-top: 64px;
  }

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

  .lp-status {
    margin-left: 0;
  }
}

@media (max-width: 520px) {
  .lp-pill {
    white-space: normal;
    justify-content: center;
    line-height: 1.5;
  }

  .lp-pg-title {
    font-size: 10.5px;
  }

  .lp-pg-mode {
    padding: 4px 8px;
  }

  .lp-ep {
    grid-template-columns: 58px minmax(0, 1fr) auto;
    padding: 12px;
  }

  .lp-method {
    font-size: 9px;
    padding: 3px 5px;
  }

  .lp-path {
    font-size: 11.5px;
  }

  .lp-go {
    font-size: 10.5px;
  }

  .lp-snippet {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 8px;
  }

  .lp-tr-head {
    gap: 8px;
  }

  .lp-hero-note {
    line-height: 1.8;
  }
}

@media (max-width: 480px) {
  .lp-hero-cta {
    flex-direction: column;
  }

  .lp-hero-cta .lp-btn {
    width: 100%;
  }

  .lp-band-row .lp-btn {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .lp-wordmark {
    letter-spacing: 0.12em;
  }

  .lp-btn-header {
    padding: 7px 11px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
