/* ==========================================================================
   Prompt Lab — landing page (index.html only)
   Scoped to body.landing-page so the app, share, and admin pages stay untouched.
   ========================================================================== */

body.landing-page {
  --ink: #0b0f2a;
  --indigo: #4f46e5;
  --violet: #7c3aed;
  --pink: #db2777;
  --bg: #f7f7fb;
  --card: #ffffff;
  --line: #e6e8f0;
  --muted: #59617a;

  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

body.landing-page a {
  color: var(--indigo);
}

/* ---------- Announcement bar ---------- */
body.landing-page .offer-bar {
  background: linear-gradient(90deg, #4f46e5, #7c3aed);
  gap: 14px;
  font-weight: 500;
}

body.landing-page .offer-bar a {
  font-weight: 700;
  text-underline-offset: 3px;
}

/* ---------- Header ---------- */
body.landing-page .site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 32px;
  height: auto;
  min-height: 60px;
  background: rgba(11, 15, 42, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

body.landing-page .usage-chip {
  background: rgba(99, 102, 241, 0.22);
  color: #c7d2fe;
  border: 1px solid rgba(165, 180, 252, 0.28);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
}

body.landing-page .account-email {
  color: #c5cae3;
  font-size: 12.5px;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.landing-page #header-logout {
  color: #e6e8f0;
  border-color: #3d4470;
}

.session-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 10px 16px;
  background: #eef2ff;
  color: #312e81;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid #e0e7ff;
}

.session-strip a {
  font-weight: 700;
  color: #4f46e5;
}

.signed-in-note {
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--muted);
}

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

.who-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.who-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -24px rgba(15, 23, 42, 0.35);
}

.who-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.who-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

body.landing-page .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.logo-svg {
  width: 22px;
  height: 22px;
  display: block;
}

.img-logo {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: contain;
}

body.landing-page .header-nav {
  gap: 6px;
}

body.landing-page .header-nav a {
  color: #b9bfd9;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}

body.landing-page .header-nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

body.landing-page .header-nav .nav-cta {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

body.landing-page .header-nav .nav-cta:hover {
  background: rgba(255, 255, 255, 0.09);
}

body.landing-page .site-header .ghost-btn {
  color: #e6e8f0;
  border-color: #3d4470;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 14px;
  background: transparent;
}

body.landing-page .site-header .ghost-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

body.landing-page .site-header #header-signup {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border: none;
  padding: 9px 18px;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 20px -8px rgba(99, 102, 241, 0.7);
}

/* ---------- Shared section plumbing ---------- */
body.landing-page .bento,
body.landing-page .how-it-works,
body.landing-page .presets,
body.landing-page .facts-band,
body.landing-page .pricing,
body.landing-page .faq,
body.landing-page .cta-panel,
body.landing-page .who {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  content-visibility: auto;
  contain-intrinsic-size: 1px 800px;
}

body.landing-page .bento,
body.landing-page .how-it-works,
body.landing-page .presets,
body.landing-page .pricing,
body.landing-page .faq,
body.landing-page .who {
  padding-top: 96px;
  padding-bottom: 8px;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}

.section-head .eyebrow {
  display: inline-block;
  background: #eef2ff;
  color: #4f46e5;
  border: 1px solid #e0e7ff;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 14px 0 12px;
  font-weight: 800;
}

.section-head .section-lede {
  font-size: 16px;
  line-height: 1.6;
}

/* ---------- Buttons ---------- */
.btn-primary {
  background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
  border: none !important;
  color: #fff !important;
  border-radius: 10px;
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 14px 30px -10px rgba(99, 102, 241, 0.6);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px -10px rgba(99, 102, 241, 0.75);
}

.btn-secondary {
  background: #fff !important;
  color: var(--ink) !important;
  border: 1px solid #d8dce8 !important;
  border-radius: 10px;
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 600;
  transition: border-color 0.15s ease;
}

.btn-secondary:hover {
  border-color: #aeb6cc !important;
  background: #fafbfd !important;
}

body.landing-page .text-link {
  color: var(--indigo);
  font-weight: 600;
}

/* ---------- Hero ---------- */
.landing-page .hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
  padding: 84px 24px 96px;
  overflow: hidden;
}

.landing-page .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(79, 70, 229, 0.08) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.28;
}

.hero-glow-a {
  width: 460px;
  height: 460px;
  left: -140px;
  top: -120px;
  background: radial-gradient(circle, #818cf8 0%, transparent 68%);
}

.hero-glow-b {
  width: 520px;
  height: 520px;
  right: -160px;
  bottom: -180px;
  background: radial-gradient(circle, #f9a8d4 0%, transparent 70%);
}

.landing-page .hero .eyebrow {
  display: inline-block;
  background: #eef2ff;
  color: #4f46e5;
  border: 1px solid #e0e7ff;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
}

.landing-page .hero h1 {
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--ink);
  margin: 22px 0 20px;
}

.gradient {
  background: linear-gradient(92deg, #4f46e5, #7c3aed 55%, #db2777);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.landing-page .hero .lede {
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 540px;
}

.landing-page .hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
}

.trust-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.avatar-stack {
  display: flex;
}

.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--av);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 2px solid var(--bg);
  margin-left: -8px;
}

.avatar:first-child {
  margin-left: 0;
}

.stars {
  display: inline-flex;
  gap: 2px;
}

.trust-copy {
  font-size: 13px;
  color: var(--muted);
}

/* Hero visual */
.hero-visual {
  position: relative;
}

.browser-card {
  border: 1.5px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #818cf8, #ec4899) border-box;
  border-radius: 16px;
  box-shadow: 0 40px 90px -30px rgba(76, 81, 230, 0.45);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-4deg);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: #f3f4fb;
  border-bottom: 1px solid #e8eaf4;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d3d7e4;
}

.dot:first-child { background: #f87171; }
.dot:nth-child(2) { background: #fbbf24; }
.dot:nth-child(3) { background: #34d399; }

.browser-url {
  margin-left: auto;
  margin-right: auto;
  background: #fff;
  border: 1px solid #e6e8f0;
  color: var(--muted);
  font-size: 11px;
  padding: 4px 16px;
  border-radius: 999px;
}

.browser-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.mock-pane {
  padding: 16px;
}

.mock-pane + .mock-pane {
  border-left: 1px solid #eceef6;
  background: #fafbff;
}

.mock-select-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.chip {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #e0e4f0;
  color: var(--muted);
  background: #fff;
}

.chip.active {
  background: #eef2ff;
  color: #4f46e5;
  border-color: #dbe4ff;
  font-weight: 600;
}

.mock-textarea {
  margin-top: 12px;
  background: #fff;
  border: 1px solid #dde2ee;
  border-radius: 10px;
  padding: 12px;
  font-size: 12px;
  line-height: 1.5;
  color: #3c4359;
  min-height: 96px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.mock-buttons {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.mock-btn {
  font-size: 11px;
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid #dde2ee;
  color: #4a5168;
  background: #fff;
}

.mock-btn.primary {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  border: none;
}

.mock-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #9aa1b8;
}

.mock-output {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.55;
  color: #374151;
}

.mock-output p {
  margin: 0 0 8px;
}

.mock-ver {
  margin-top: 14px;
  font-size: 11px;
  color: #4f46e5;
  font-weight: 600;
  display: inline-block;
  background: #eef2ff;
  padding: 5px 10px;
  border-radius: 999px;
}

.float-chip {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 16px 40px -12px rgba(15, 23, 42, 0.22);
  color: var(--ink);
}

.float-chip-a {
  top: 34px;
  right: -18px;
  color: #047857;
  animation: chipFloat 4s ease-in-out infinite;
}

.float-chip-b {
  bottom: 36px;
  left: -26px;
  color: #4f46e5;
  animation: chipFloat 4s 1.2s ease-in-out infinite;
}

@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.hero-note {
  margin-top: 18px;
  font-size: 13px;
  color: #6b7280;
}

/* ---------- Fact row (hero) ---------- */
.fact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.fact-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #3c4359;
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px 13px;
  border-radius: 999px;
}

/* ---------- Model strip ---------- */
.model-strip {
  max-width: 1000px;
  margin: 0 auto;
  padding: 8px 24px 8px;
  text-align: center;
}

.model-strip p {
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.model-chips {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.model-chip {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #39415a;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 22px;
  min-width: 150px;
}

.model-chip em {
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}

/* ---------- Bento ---------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.bento-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -22px rgba(30, 41, 59, 0.25);
  border-color: #d7dcf0;
}

.bento-run { grid-column: span 3; }
.bento-version { grid-column: span 3; }
.bento-compare { grid-column: span 2; }
.bento-keys { grid-column: span 2; }
.bento-share { grid-column: span 2; }

.bento-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #eef2ff;
  color: #4f46e5;
}

.bento-card:nth-child(2) .bento-icon { background: #ecfeff; color: #0891b2; }
.bento-card:nth-child(3) .bento-icon { background: #f5f3ff; color: #7c3aed; }
.bento-card:nth-child(4) .bento-icon { background: #ecfdf5; color: #059669; }
.bento-card:nth-child(5) .bento-icon { background: #fff1f2; color: #e11d48; }

.bento-icon svg {
  width: 20px;
  height: 20px;
}

.bento-card h3 {
  font-size: 19px;
  margin: 4px 0 0;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.bento-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  flex: 1;
}

.bento-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stat-chip {
  font-size: 12px;
  background: #f4f5fa;
  border: 1px solid #e8eaf4;
  color: #4a5168;
  padding: 5px 10px;
  border-radius: 999px;
  font-weight: 600;
}

.timeline {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 8px;
}

.tl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c7cdf0;
}

.tl-dot.done { background: #4f46e5; }
.tl-dot.current { background: #4f46e5; box-shadow: 0 0 0 5px #eef2ff; }

.diff {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 8px;
}

.diff-block {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  background: #f8f9fd;
  border: 1px solid #eceef6;
  border-radius: 8px;
  padding: 9px 12px;
  color: #4a5168;
}

.diff-add { color: #047857; background: #ecfdf5; padding: 1px 4px; border-radius: 4px; }
.diff-del { color: #b91c1c; background: #fef2f2; padding: 1px 4px; border-radius: 4px; }

.keys-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 8px;
}

.keys-pill {
  font-size: 12px;
  font-weight: 600;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #d1fae5;
  padding: 5px 10px;
  border-radius: 999px;
}

.bento-card .preset-link {
  font-weight: 600;
  font-size: 14px;
}

/* ---------- How it works ---------- */
.how-it-works .section-head {
  margin-bottom: 36px;
}

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

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  position: relative;
}

.step-num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 18px;
  box-shadow: 0 10px 22px -8px rgba(99, 102, 241, 0.6);
}

.step h3 {
  font-size: 18px;
  margin: 0 0 8px;
}

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

/* ---------- Presets on landing ---------- */
body.landing-page .preset-card {
  border-radius: 16px;
  box-shadow: 0 8px 24px -18px rgba(30, 41, 59, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.landing-page .preset-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -20px rgba(30, 41, 59, 0.35);
}

/* ---------- Facts band ---------- */
.facts-band {
  margin-top: 96px;
  margin-bottom: 8px;
}

.facts-band {
  background: linear-gradient(135deg, #141a3f, #24135f 55%, #4c1d95);
  border-radius: 24px;
  padding: 52px 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.fact-metric {
  text-align: center;
  color: #fff;
}

.fact-metric strong {
  display: block;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(92deg, #c7d2fe, #f0abfc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fact-metric span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: #b9c0e6;
}

/* ---------- Pricing ---------- */
body.landing-page .price-card {
  border-radius: 18px;
  padding: 28px;
  position: relative;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px -22px rgba(30, 41, 59, 0.3);
}

body.landing-page .price-card.featured {
  border: 1.5px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #6366f1, #a855f7, #ec4899) border-box;
  box-shadow: 0 30px 70px -28px rgba(124, 58, 237, 0.5);
}

.featured-tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

body.landing-page .price-card .price {
  font-size: 40px;
}

body.landing-page .price-card button {
  width: 100%;
}

body.landing-page .price-card ul li {
  padding-left: 22px;
  position: relative;
}

body.landing-page .price-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 13px;
  height: 13px;
  background: #eef2ff;
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%234f46e5' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.5 3.5L13 4'/%3E%3C/svg%3E");
  background-size: 9px 9px;
  background-position: center;
  background-repeat: no-repeat;
}

.price-note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

/* ---------- Run packs ---------- */
.run-packs {
  margin-top: 56px;
  text-align: center;
}

.run-packs h3 {
  font-size: 22px;
  color: var(--ink);
  margin: 0 0 6px;
}

.run-packs-note {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 22px;
}

.run-packs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}

.run-pack {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 18px;
  background: #fff;
}

.run-pack.featured-pack {
  border: 1.5px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #6366f1, #a855f7, #ec4899) border-box;
  box-shadow: 0 24px 50px -26px rgba(124, 58, 237, 0.45);
}

.run-pack strong {
  font-size: 30px;
  color: var(--ink);
  line-height: 1;
}

.run-pack > span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}

.run-pack p {
  font-weight: 700;
  color: #4f46e5;
  margin: 0 0 14px;
}

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

/* ---------- FAQ ---------- */
body.landing-page .faq details {
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 18px 22px;
}

body.landing-page .faq summary {
  font-size: 15px;
  color: var(--ink);
  background: none;
  list-style: none;
}

body.landing-page .faq summary::-webkit-details-marker {
  display: none;
}

body.landing-page .faq summary::after {
  content: "+";
  float: right;
  font-size: 20px;
  color: var(--indigo);
}

body.landing-page .faq details[open] summary::after {
  content: "–";
}

body.landing-page .faq details p {
  color: var(--muted);
}

/* ---------- Final CTA ---------- */
.cta-panel {
  margin-top: 96px;
  margin-bottom: 96px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #161d43, #2c1657 60%, #581c87);
  border-radius: 26px;
  padding: 76px 36px;
  text-align: center;
}

.cta-glow {
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  left: 50%;
  top: -60%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(99, 102, 241, 0.4), transparent 70%);
  pointer-events: none;
}

.cta-panel h2 {
  position: relative;
  color: #fff;
  font-size: clamp(32px, 4.5vw, 48px);
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 12px;
}

.cta-panel p {
  position: relative;
  color: #c7cdea;
  font-size: 17px;
  margin: 0 0 30px;
}

.cta-link {
  position: relative;
  color: #c7d2fe;
  font-weight: 600;
}

.cta-panel .hero-actions {
  position: relative;
  justify-content: center;
  margin-top: 0;
}

/* ---------- Footer ---------- */
body.landing-page .site-footer {
  background: #0b0f2a;
  color: #b9bfd9;
  text-align: left;
  padding: 56px 32px 32px;
  margin-top: 0;
}

.footer-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-brand .logo {
  color: #fff;
  font-size: 17px;
}

.footer-brand p {
  margin-top: 12px;
  font-size: 14px;
  color: #8f97b8;
}

.footer-col h4 {
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
}

.footer-col a {
  display: block;
  color: #a5accc;
  font-size: 14px;
  margin-bottom: 10px;
  text-decoration: none;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  max-width: 1120px;
  margin: 44px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: #8f97b8;
}

/* ---------- Responsive ---------- */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid #3d4470;
  color: #e6e8f0;
  border-radius: 8px;
  padding: 8px 10px;
  line-height: 1;
  cursor: pointer;
  margin-left: auto;
}

@keyframes navDrop {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

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

  body.landing-page .usage-chip,
  body.landing-page .account-email {
    width: 100%;
    text-align: center;
    max-width: none;
  }

  .landing-page .hero {
    grid-template-columns: 1fr;
    padding-top: 44px;
    gap: 48px;
  }

  .browser-card {
    transform: none;
    max-width: 560px;
    margin: 0 auto;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-card,
  .bento-run,
  .bento-version,
  .bento-compare,
  .bento-keys,
  .bento-share {
    grid-column: span 1;
  }

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

  .facts-band {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .nav-toggle {
    display: inline-flex;
  }

  body.landing-page .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #0b0f2a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 20px 20px;
    box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.6);
  }

  body.landing-page .site-header.nav-open .header-nav {
    display: flex;
    animation: navDrop 0.18s ease-out;
  }

  body.landing-page .header-nav a,
  body.landing-page .header-nav .nav-cta,
  body.landing-page .site-header .ghost-btn,
  body.landing-page .site-header #header-signup {
    padding: 13px 16px;
    border-radius: 10px;
    font-size: 15px;
    width: 100%;
    text-align: center;
  }

  body.landing-page .site-header #header-signup {
    margin-top: 2px;
  }
}

@media (max-width: 560px) {
  body.landing-page .site-header {
    padding: 12px 16px;
  }

  body.landing-page .hero {
    padding: 36px 16px 56px;
  }

  body.landing-page .hero h1 {
    font-size: clamp(30px, 8vw, 40px);
  }

  body.landing-page .hero .lede {
    font-size: 16px;
  }

  .landing-page .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .landing-page .hero-actions .btn-primary {
    text-align: center;
  }

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

  .facts-band {
    grid-template-columns: 1fr;
    padding: 40px 24px;
  }

  .hero-visual .float-chip {
    display: none;
  }

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

  .model-chips {
    gap: 10px;
  }

  .model-chip {
    min-width: 0;
    width: 100%;
  }
}