:root {
  --bg: #07080d;
  --bg2: #0e1119;
  --panel: rgba(17, 21, 33, 0.74);
  --line: rgba(197, 172, 126, 0.22);
  --gold: #d8b679;
  --gold-2: #f1d7a3;
  --ink: #ece8de;
  --muted: #9f9cae;
  --accent: #4cb0a6;
  --accent-dim: rgba(76, 176, 166, 0.15);
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}


/* ── Grain overlay ── */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 999;
  opacity: 0.14;
  background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0);
  background-size: 3px 3px;
}


/* ── Animated background gradient ── */
.bg-gradient {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 95% -5%, rgba(42, 32, 52, 0.7) 0%, transparent 55%),
    radial-gradient(ellipse 60% 45% at -5% 110%, rgba(18, 52, 58, 0.5) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(7, 10, 20, 0.3) 0%, transparent 70%),
    var(--bg);
  animation: bgPulse 18s ease-in-out infinite;
}
@keyframes bgPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.82; }
}


/* ── Decorative frame lines ── */
.frame {
  position: fixed; left: 20px; right: 20px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  z-index: 10; pointer-events: none;
}
.frame-top { top: 16px; }
.frame-bottom { bottom: 16px; }


/* ── Layout ── */
.wrap {
  max-width: 1180px; margin: 0 auto; padding: 0 24px 100px;
  position: relative; z-index: 1;
}

/* ══════════════════════════════════
   TOPBAR — architectural nav
   ══════════════════════════════════ */
.topbar {
  position: relative; z-index: 50;
  max-width: 1180px; margin: 0 auto;
  padding: 28px 24px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}

.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }

.brand-mark {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cinzel', serif; font-weight: 800; font-size: 16px;
  color: var(--gold-2);
  background: linear-gradient(135deg, rgba(216,182,121,0.08), rgba(241,215,163,0.04));
  backdrop-filter: blur(8px);
  box-shadow: 0 0 20px rgba(216,182,121,0.1), inset 0 1px 0 rgba(255,255,255,0.05);
  transition: box-shadow 0.3s, transform 0.3s;
  flex-shrink: 0;
}
.brand-mark:hover {
  box-shadow: 0 0 30px rgba(216,182,121,0.25), inset 0 1px 0 rgba(255,255,255,0.08);
  transform: scale(1.06);
}

.brand-text h1 {
  font: 700 20px/1.1 'Cinzel', serif; letter-spacing: 0.04em; color: var(--ink);
}
.brand-text p {
  margin-top: 3px; color: var(--muted); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.2em;
}

/* Nav */
nav { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
nav a {
  color: var(--muted); text-decoration: none; font-size: 13px;
  font-weight: 600; padding: 8px 14px; border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
nav a:hover { color: var(--gold-2); background: rgba(216,182,121,0.06); }


/* ── HERO — Cinematic title sequence ── */
.hero-section {
  position: relative; overflow: hidden;
  margin: 40px 0 0;
  padding: 80px 56px 72px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(165deg, rgba(24,28,43,0.9) 0%, rgba(11,14,23,0.95) 100%);
  backdrop-filter: blur(12px);
  box-shadow: 0 40px 120px rgba(0,0,0,0.5), 0 0 0 1px rgba(197,172,126,0.08) inset;
}


/* Corner accent marks */
.hero-section::before,
.hero-section::after {
  content: '';
  position: absolute;
  width: 60px; height: 60px;
  border-color: rgba(216,182,121,0.25);
  border-style: solid;
}
.hero-section::before {
  top: -1px; left: -1px;
  border-width: 2px 0 0 2px;
  border-radius: 24px 0 0 0;
}
.hero-section::after {
  bottom: -1px; right: -1px;
  border-width: 0 2px 2px 0;
  border-radius: 0 0 24px 0;
}


/* Animated orb background */
.hero-orbs {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.orb {
  position: absolute; border-radius: 50%; filter: blur(80px);
  mix-blend-mode: screen; opacity: 0.4;
}
.orb-1 {
  width: 480px; height: 480px;
  top: -120px; left: -100px;
  background: radial-gradient(circle, #d8b679 0%, rgba(216,182,121,0) 70%);
  animation: orbFloat 12s ease-in-out infinite;
  opacity: 0.55;
}
.orb-2 {
  width: 420px; height: 420px;
  top: 15%; right: -80px;
  background: radial-gradient(circle, #4cb0a6 0%, rgba(76,176,166,0) 70%);
  animation: orbFloat 10s ease-in-out infinite reverse;
  animation-delay: -3s;
  opacity: 0.5;
}
.orb-3 {
  width: 280px; height: 280px;
  bottom: -80px; left: 35%;
  background: radial-gradient(circle, #86efac 0%, rgba(134,239,172,0) 70%);
  animation: orbFloat 14s ease-in-out infinite;
  animation-delay: -6s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-15px, 15px) scale(0.97); }
}


/* Scan line effect */
.scanline {
  position: absolute; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(241,215,163,0.7), transparent);
  animation: scanDown 8s linear infinite;
  top: 0;
}
@keyframes scanDown {
  0% { top: 0; opacity: 0; }
  5% { opacity: 1; }
  95% { opacity: 0.5; }
  100% { top: 100%; opacity: 0; }
}

.hero-mesh {
  position: absolute; inset: -30px; pointer-events: none; z-index: 0;
  background-image:
    radial-gradient(circle at 22% 12%, rgba(216,182,121,0.14), transparent 55%),
    radial-gradient(circle at 78% 35%, rgba(76,176,166,0.18), transparent 45%),
    linear-gradient(135deg, rgba(255,255,255,0.05), rgba(241,215,163,0));
  background-size: 420px 420px, 380px 380px, 120% 120%;
  animation: meshShift 24s linear infinite;
}
/* ── Staggered hero text reveal ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes barFill {
  from { width: 0; }
  to   { width: var(--fill, 75%); }
}
@keyframes metricPop {
  0%   { opacity: 0; transform: scale(0.85); }
  60%  { transform: scale(1.06); }
  100% { opacity: 1; transform: scale(1); }
}


/* ── Hero content animations ── */
.eyebrow {
  opacity: 0;
  animation: fadeIn 0.6s ease forwards 0.15s;
}
.hero-title {
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(.22,1,.36,1) forwards 0.3s;
}
.hero-copy {
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(.22,1,.36,1) forwards 0.48s;
}
.hero-action-cluster {
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(.22,1,.36,1) forwards 0.64s;
}
.hero-steps {
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(.22,1,.36,1) forwards 0.78s;
}
.cred-row {
  opacity: 0;
  animation: fadeIn 0.6s ease forwards 0.92s;
}
.hero-card {
  opacity: 0;
  animation: metricPop 0.6s cubic-bezier(.34,1.56,.64,1) forwards 0.4s;
}
.metric-val {
  animation: metricPop 0.5s cubic-bezier(.34,1.56,.64,1) forwards;
}
.metric-row:nth-child(1) .metric-val { animation-delay: 0.55s; }
.metric-row:nth-child(2) .metric-val { animation-delay: 0.65s; }
.metric-row:nth-child(3) .metric-val { animation-delay: 0.75s; }
.metric-bar-fill {
  animation: barFill 1.2s cubic-bezier(.22,1,.36,1) forwards;
  --fill: 75%;
}
.metric-row:nth-child(1) .metric-bar-fill { --fill: 75%; animation-delay: 0.7s; }
.metric-row:nth-child(2) .metric-bar-fill { --fill: 100%; animation-delay: 0.85s; }
.metric-row:nth-child(3) .metric-bar-fill { --fill: 88%; animation-delay: 1.0s; }
.metric-row:nth-child(4) .metric-bar-fill { --fill: 60%; animation-delay: 1.15s; }


/* ── Scroll-triggered reveals — staggered cascade ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.65s cubic-bezier(.22,1,.36,1),
              transform 0.65s cubic-bezier(.22,1,.36,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* Stagger delays — apply to direct .card children within .reveal */
.features-grid .card:nth-child(1) { transition-delay: 0.05s; }
.features-grid .card:nth-child(2) { transition-delay: 0.15s; }
.features-grid .card:nth-child(3) { transition-delay: 0.25s; }
.features-grid .card:nth-child(4) { transition-delay: 0.35s; }
.features-grid .card:nth-child(5) { transition-delay: 0.45s; }
.features-grid .card:nth-child(6) { transition-delay: 0.55s; }


/* Pricing tiers stagger */
.pricing-grid .price-card:nth-child(1) { transition-delay: 0.08s; }
.pricing-grid .price-card:nth-child(2) { transition-delay: 0.2s; }
.pricing-grid .price-card:nth-child(3) { transition-delay: 0.32s; }


/* Subtle slide-in from left for odd cards */
.card:nth-child(odd) {
  transform: translateY(40px) translateX(-16px);
}
.card:nth-child(even) {
  transform: translateY(40px) translateX(16px);
}
.reveal.visible .card:nth-child(odd)  { transform: translateY(0) translateX(0); }
.reveal.visible .card:nth-child(even) { transform: translateY(0) translateX(0); }


/* How-it-works card subtle scale */
.how-card {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(.34,1.56,.64,1);
}
.how-card.visible {
  opacity: 1;
  transform: scale(1);
}


/* ── Hover: dramatic depth + lift ── */
.card {
  transform: perspective(1200px) rotateX(0deg) rotateY(0deg) translateZ(0);
  transition: transform 0.35s cubic-bezier(.34,1.56,.64,1),
              box-shadow 0.35s ease,
              border-color 0.3s ease;
  will-change: transform;
}
.card:hover {
  transform: perspective(1200px) rotateX(-2deg) rotateY(2deg) translateZ(12px) translateY(-8px);
  box-shadow:
    0 40px 80px rgba(0,0,0,0.5),
    0 0 0 1px rgba(216,182,121,0.4),
    0 0 40px rgba(216,182,121,0.12),
    0 20px 40px rgba(76,176,166,0.08) inset;
  border-color: rgba(216,182,121,0.45);
}
/* top shimmer sweep */
.card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(216,182,121,0.7), transparent);
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(.34,1.56,.64,1);
  transform-origin: center;
}
.card:hover::after { transform: scaleX(1); }

.card-icon {
  transition: transform 0.3s cubic-bezier(.34,1.56,.64,1), box-shadow 0.3s;
}
.card:hover .card-icon {
  transform: scale(1.12) rotate(-5deg);
  box-shadow: 0 0 20px rgba(216,182,121,0.25);
}


/* ── Primary CTA: shimmer sweep + ambient glow pulse ── */
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 4px 20px rgba(216,182,121,0.2), 0 0 0 0 rgba(216,182,121,0); }
  50%       { box-shadow: 0 4px 24px rgba(216,182,121,0.35), 0 0 0 4px rgba(216,182,121,0.08); }
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(216,182,121,0.4); }
  50%       { box-shadow: 0 0 0 8px rgba(216,182,121,0); }
}
.btn-solid {
  animation: ctaGlow 3s ease-in-out infinite;
}
.btn-solid:hover {
  animation: ctaPulse 1.2s ease-in-out infinite;
}
.btn-solid::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.35) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.5s ease;
  border-radius: inherit;
}
.btn-solid:hover::before {
  transform: translateX(120%);
}
/* Ghost button: border shimmer on hover */
.btn:not(.btn-solid):hover {
  background: rgba(216,182,121,0.06);
  border-color: rgba(216,182,121,0.55);
  color: var(--gold-2);
  box-shadow: 0 0 16px rgba(216,182,121,0.12);
}


/* ── Nav link underline slide ── */
nav a {
  position: relative;
}
nav a::after {
  content: '';
  position: absolute; bottom: 4px; left: 14px; right: 14px;
  height: 1px; background: var(--gold-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
nav a:hover::after {
  transform: scaleX(1);
}

@keyframes meshShift {
  0% { transform: translateY(0) scale(1); opacity: 0.82; }
  50% { transform: translateY(-18px) scale(1.04); opacity: 0.9; }
  100% { transform: translateY(0) scale(1); opacity: 0.82; }
}


/* Hero content grid */
.hero-grid {
  display: grid; grid-template-columns: 1fr 360px; gap: 48px;
  align-items: center; position: relative; z-index: 2;
}

.hero-content { max-width: 680px; }


.diagonal-divider {
  position: absolute; width: 280px; height: 220px;
  top: 50%; right: calc(360px + 20px); transform: translateY(-50%) rotate(14deg);
  border-bottom: 2px solid rgba(216,182,121,0.45);
  border-right: 2px solid rgba(216,182,121,0.12);
  z-index: 0;
  filter: drop-shadow(0 0 12px rgba(216,182,121,0.3));
}

.hero-card-stack {
  position: relative; z-index: 1; display: flex; justify-content: flex-end;
}

.hero-card-shadow {
  position: absolute; top: 14px; right: 0; width: 100%; height: 100%;
  border-radius: 20px; background: rgba(7,10,17,0.82);
  box-shadow:
    0 40px 80px rgba(0,0,0,0.7),
    0 0 60px rgba(76,176,166,0.3),
    0 0 120px rgba(216,182,121,0.1);
  filter: blur(1px);
  z-index: 0;
}


/* Eyebrow tag */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 20px;
  color: var(--gold-2); font-size: 10px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
}
.eyebrow::before {
  content: '';
  display: block; width: 32px; height: 1px;
  background: var(--gold-2);
}


/* Main headline — tighter leading, bolder weight */
.hero-title {
  font: 800 clamp(32px, 5vw, 68px)/1.05 'Cinzel', serif;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin-bottom: 20px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.5);
}
/* Body: improve rhythm and readability */
body { line-height: 1.65; }
p, .hero-copy { line-height: 1.72; }
.card p, .card li { line-height: 1.65; }


/* Section headings — tighter, bolder */
.section-head h3 {
  font: 700 clamp(26px, 3.2vw, 42px)/1.08 'Cinzel', serif;
  letter-spacing: 0.02em;
}
/* Sub-labels and eyebrow: tighter tracking */
.eyebrow { letter-spacing: 0.18em; font-size: 9px; }
.tier-name { letter-spacing: 0.08em; }
.price-num { letter-spacing: -0.5px; }
.hero-title .accent { color: var(--gold-2); }


/* Sub copy */
.hero-copy {
  font-size: 17px; line-height: 1.7; color: #c4c0d2;
  max-width: 580px; margin-bottom: 36px;
}


/* CTA row */
.hero-action-cluster { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }


/* Credentials pills */
.cred-row {
  display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px;
}
.cred-row span {
  border: 1px solid rgba(197,172,126,0.3); border-radius: 999px;
  padding: 6px 14px; font-size: 11px; color: var(--muted);
  font-weight: 600; letter-spacing: 0.06em;
}


/* Hero sidebar card */
.hero-card {
  position: relative;
  border: 1px solid rgba(197,172,126,0.25);
  border-radius: 20px;
  background: rgba(7,10,17,0.88);
  backdrop-filter: blur(10px);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 0;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.4),
    0 0 0 1px rgba(197,172,126,0.06) inset,
    0 0 50px rgba(216,182,121,0.12),
    0 0 100px rgba(76,176,166,0.06);
}

.hero-card-title {
  font-family: 'Cinzel', serif; font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-2); margin-bottom: 20px;
}

.metric-row {
  display: flex; justify-content: space-between; align-items: flex-end;
  padding: 14px 0; border-bottom: 1px solid rgba(197,172,126,0.12);
}
.metric-row:last-of-type { border-bottom: none; margin-bottom: 16px; }

.metric-val {
  font-size: 28px; font-weight: 800; letter-spacing: -0.5px;
  color: var(--ink); line-height: 1;
}
.metric-val .small { font-size: 13px; font-weight: 600; color: var(--muted); margin-left: 3px; }

.metric-lbl {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--muted); text-align: right;
}

.metric-bar {
  width: 100%; height: 3px; border-radius: 99px;
  background: rgba(197,172,126,0.15); margin-top: 6px; overflow: hidden;
}
.metric-bar-fill {
  height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
}


/* ── BUTTONS ── */
.btn {
  border: 1px solid var(--line); background: transparent;
  color: var(--ink); border-radius: 12px;
  padding: 12px 20px; text-decoration: none;
  font-weight: 700; font-size: 14px; cursor: pointer;
  font-family: 'Manrope', sans-serif;
  transition: all 0.25s ease;
  display: inline-flex; align-items: center; gap: 8px;
  position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.05), transparent);
  opacity: 0; transition: opacity 0.2s;
}
.btn:hover::after { opacity: 1; }

.btn:hover {
  border-color: rgba(216,182,121,0.6); color: var(--gold-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(216,182,121,0.12);
}
.btn:active { transform: translateY(0); }

.btn-solid {
  background: linear-gradient(135deg, #d8b679 0%, #f1d7a3 50%, #d8b679 100%);
  background-size: 200% auto;
  color: #07080d; border-color: transparent;
  font-weight: 800;
}
.btn-solid:hover {
  color: #07080d;
  background-position: right center;
  box-shadow: 0 8px 30px rgba(216,182,121,0.3);
}


/* ── SECTIONS ── */
.section { margin-top: 80px; }

.section-head {
  margin-bottom: 40px;
  display: flex; flex-direction: column; gap: 10px;
}
.section-head h3 {
  font: 700 clamp(28px, 3.5vw, 46px)/1.1 'Cinzel', serif;
  letter-spacing: 0.02em;
}
.section-head p { color: var(--muted); font-size: 15px; max-width: 560px; }

.section-divider {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 99px;
}


/* ── FAQ Grid ── */
.faq-grid { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }

.faq-item { border-bottom: 1px solid var(--line); transition: background 0.25s; }
.faq-item:last-child { border-bottom: none; }
.faq-item:hover { background: rgba(216,182,121,0.03); }

.faq-q {
  display: grid; grid-template-columns: 40px 1fr 24px; align-items: center; gap: 0;
  padding: 22px 28px; cursor: pointer; user-select: none; list-style: none;
  transition: background 0.2s;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::marker { display: none; list-style: none; }
details.faq-item[open] > .faq-q { background: rgba(216,182,121,0.05); }
.faq-item:hover > .faq-q { background: rgba(216,182,121,0.04); }

.faq-num {
  font-family: 'Cinzel', serif; font-size: 10px; font-weight: 800;
  color: var(--gold); letter-spacing: 0.1em; opacity: 0.8;
}
.faq-question { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.faq-icon { display: flex; align-items: center; justify-content: center; color: var(--muted); transition: transform 0.3s cubic-bezier(.34,1.56,.64,1), color 0.2s; }
.faq-item[open] .faq-icon { transform: rotate(45deg); color: var(--gold-2); }

.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.45s cubic-bezier(.22,1,.36,1), padding 0.3s;
  padding: 0 28px 0 68px;
}
.faq-item[open] .faq-a { max-height: 200px; padding-bottom: 22px; padding-top: 4px; }
.faq-a p { color: var(--muted); line-height: 1.7; font-size: 14px; }


/* Stagger reveal for FAQ items */
.faq-item { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s cubic-bezier(.22,1,.36,1), background 0.25s; }
details.faq-item.revealed { opacity: 1; transform: translateY(0); }
details.faq-item:nth-of-type(1) { transition-delay: 0.05s; }
details.faq-item:nth-of-type(2) { transition-delay: 0.12s; }
details.faq-item:nth-of-type(3) { transition-delay: 0.19s; }
details.faq-item:nth-of-type(4) { transition-delay: 0.26s; }

@media (max-width: 600px) {
  .faq-q { grid-template-columns: 32px 1fr 20px; padding: 18px 20px; }
  .faq-a { padding-left: 52px; }
  .beta-strip-inner { flex-direction: column; }
  .beta-strip-actions { flex-direction: column; }
}


/* ── Final conversion close ── */
.final-close {
  max-width: 1160px;
  margin: 70px auto 0;
  padding: 0 22px;
  position: relative;
  z-index: 2;
  opacity: 1;
  transform: none;
}
.final-close-grid {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(197,172,126,0.28);
  border-radius: 26px;
  background:
    linear-gradient(115deg, rgba(13,17,28,0.94), rgba(7,8,13,0.96) 48%, rgba(21,34,39,0.82)),
    radial-gradient(circle at 8% 12%, rgba(216,182,121,0.2), transparent 34%),
    radial-gradient(circle at 92% 86%, rgba(76,176,166,0.18), transparent 38%);
  box-shadow: 0 36px 110px rgba(0,0,0,0.54), 0 0 0 1px rgba(255,255,255,0.04) inset;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  gap: 28px;
  padding: clamp(30px, 5vw, 58px);
}
.final-close-grid::before {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(197,172,126,0.12);
  border-radius: 18px;
  pointer-events: none;
}
.final-close-grid::after {
  content: '';
  position: absolute;
  inset: -60px;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(197,172,126,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197,172,126,0.08) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  opacity: 0.34;
  transform: rotate(-2deg);
}
.final-close-copy,
.final-proof-wall {
  position: relative;
  z-index: 2;
}
.final-kicker {
  margin: 0 0 14px;
  color: var(--gold-2);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.final-close-copy h3 {
  max-width: 700px;
  margin: 0;
  font: 800 clamp(30px, 4.4vw, 58px)/1.05 'Cinzel', serif;
  color: var(--ink);
  text-wrap: balance;
}
.final-close-copy > p:not(.final-kicker) {
  max-width: 590px;
  margin: 20px 0 0;
  color: #c9c4d2;
  font-size: 16px;
  line-height: 1.72;
}
.final-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.final-proof-wall {
  display: grid;
  gap: 14px;
  align-content: center;
}
.final-proof-card {
  border: 1px solid rgba(197,172,126,0.22);
  border-radius: 18px;
  background: rgba(7,10,17,0.68);
  backdrop-filter: blur(10px);
  padding: 20px 20px 18px;
  box-shadow: 0 18px 46px rgba(0,0,0,0.28);
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}
.final-proof-card:hover {
  transform: translateX(-4px);
  border-color: rgba(216,182,121,0.46);
  background: rgba(13,18,30,0.82);
}
.final-proof-card.main {
  margin-left: -24px;
  border-color: rgba(216,182,121,0.46);
  background: linear-gradient(135deg, rgba(216,182,121,0.13), rgba(7,10,17,0.72));
}
.final-proof-card span {
  display: inline-flex;
  margin-bottom: 12px;
  color: rgba(241,215,163,0.68);
  font: 800 10px/1 'Cinzel', serif;
  letter-spacing: 0.16em;
}
.final-proof-card strong {
  display: block;
  color: var(--gold-2);
  font: 800 16px/1.2 'Cinzel', serif;
  letter-spacing: 0.02em;
}
.final-proof-card p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 860px) {
  .final-close-grid {
    grid-template-columns: 1fr;
    padding: 30px 22px;
  }
  .final-proof-card.main { margin-left: 0; }
}


/* ── FEATURES — Magazine grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  border: 1px solid var(--line); border-radius: 18px;
  background: var(--panel); padding: 26px 24px;
  backdrop-filter: blur(8px);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216,182,121,0.4), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.card:hover {
  border-color: rgba(216,182,121,0.45);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.card:hover::before { opacity: 1; }

.card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 16px;
  background: rgba(216,182,121,0.08);
  border: 1px solid rgba(216,182,121,0.15);
}

.card h4 {
  font: 700 20px/1.2 'Cinzel', serif; color: var(--gold-2);
  margin-bottom: 10px;
}
.card p { color: #c2bfd0; line-height: 1.6; font-size: 14px; }


/* ══════════════════════════════════
   HOW IT WORKS — 6-step cinematic flow
   ══════════════════════════════════ */
.how-steps {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr 40px 1fr 40px 1fr 40px 1fr;
  gap: 0 0;
  align-items: stretch;
  margin-bottom: 32px;
}
.how-step {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  backdrop-filter: blur(8px);
  padding: 22px 18px;
  position: relative;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.how-step:hover {
  border-color: rgba(216,182,121,0.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35), 0 0 20px rgba(216,182,121,0.08);
}
.how-num {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold-2);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.how-icon {
  font-size: 28px;
  margin-bottom: 10px;
  display: block;
  filter: drop-shadow(0 0 8px rgba(216,182,121,0.3));
}
.how-step h4 {
  font: 700 14px/1.2 'Cinzel', serif;
  color: var(--gold-2);
  margin-bottom: 8px;
}
.how-step p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}
.how-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(216,182,121,0.4);
  font-size: 20px;
  padding: 0 4px;
}
/* Explainer CTA card */
.how-explain-card {
  border: 1px solid rgba(216,182,121,0.25);
  border-radius: 20px;
  background: rgba(7,10,17,0.85);
  backdrop-filter: blur(12px);
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.35s cubic-bezier(.34,1.56,.64,1);
}
.how-explain-card:hover {
  border-color: rgba(216,182,121,0.45);
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 40px rgba(216,182,121,0.1);
}
.how-explain-inner { position: relative; z-index: 2; }
.how-explain-title {
  font: 700 clamp(22px, 3vw, 32px)/1.2 'Cinzel', serif;
  color: var(--gold-2);
  margin: 0 0 14px;
}
.how-explain-sub {
  color: #c2bfd0;
  font-size: 15px;
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto;
}
/* Mobile: collapse to vertical */
@media (max-width: 900px) {
  .how-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .how-arrow { display: none; }
}


/* ── Press proof strip ── */
.press-proof-section {
  margin-top: 10px;
}
.press-proof-shell {
  border: 1px solid rgba(197,172,126,0.2);
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 20%, rgba(216,182,121,0.13), transparent 30%),
    linear-gradient(135deg, rgba(13,16,25,0.94), rgba(7,8,13,0.86));
  box-shadow: 0 24px 70px rgba(0,0,0,0.34);
  padding: clamp(24px, 4vw, 42px);
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
  overflow: hidden;
  position: relative;
}
.press-proof-shell::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 18px;
  pointer-events: none;
}
.press-proof-copy {
  position: relative;
  z-index: 1;
}
.press-proof-copy h3 {
  font: 800 clamp(30px, 4.5vw, 56px)/1.02 "Cinzel", serif;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
.press-proof-copy p:not(.eyebrow) {
  color: #c7c2d1;
  font-size: 15px;
  line-height: 1.75;
  max-width: 560px;
  margin: 18px 0 0;
}
.press-logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.press-logo-row span {
  border: 1px solid rgba(216,182,121,0.24);
  border-radius: 999px;
  background: rgba(216,182,121,0.06);
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 11px;
}
.press-cover-rail {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(92px, 1fr));
  gap: clamp(8px, 1.4vw, 14px);
  align-items: end;
}
.press-cover-card {
  margin: 0;
  transform: translateY(10px);
}
.press-cover-card.tall {
  transform: translateY(-8px);
}
.press-cover-card img {
  display: block;
  width: 100%;
  aspect-ratio: 13 / 17;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 40px rgba(0,0,0,0.38);
  background: rgba(255,255,255,0.04);
}
.press-cover-card figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}
@media (max-width: 960px) {
  .press-proof-shell {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .press-proof-shell {
    border-radius: 18px;
    padding: 22px;
  }
  .press-cover-rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .press-cover-card,
  .press-cover-card.tall {
    transform: none;
  }
  .press-cover-card.hide-small {
    display: none;
  }
  .press-cover-card figcaption {
    font-size: 9px;
  }
}


/* ── PRICING — Enhanced billing toggle ── */
.billing-toggle {
  display: inline-flex; gap: 6px;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 5px; background: rgba(13,18,32,0.85);
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}
/* Sliding indicator pill */
.billing-toggle::before {
  content: '';
  position: absolute; top: 5px; left: 5px;
  width: calc(50% - 5px); height: calc(100% - 10px);
  background: linear-gradient(135deg, #d8b679 0%, #f1d7a3 50%, #d8b679);
  background-size: 200% auto;
  border-radius: 999px;
  transition: transform 0.3s cubic-bezier(.34,1.56,.64,1), left 0.3s cubic-bezier(.34,1.56,.64,1);
  box-shadow: 0 2px 12px rgba(216,182,121,0.3);
  z-index: 0;
}
.billing-toggle.annual::before { transform: translateX(100%); }
.billing-btn {
  border: 1px solid transparent; border-radius: 999px;
  background: transparent; color: var(--muted);
  padding: 9px 18px; font-weight: 700; font-size: 13px;
  cursor: pointer; font-family: 'Manrope', sans-serif;
  transition: color 0.2s; position: relative; z-index: 1;
}
.billing-btn.active { color: #07080d; }
.billing-btn:hover:not(.active) { color: var(--ink); }
.save-pill {
  margin-left: 6px; border: 1px solid rgba(216,182,121,0.5);
  border-radius: 999px; padding: 2px 8px; font-size: 10px;
  color: var(--gold-2); font-weight: 700;
}

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

.price-card {
  border: 1px solid var(--line); border-radius: 20px;
  background: var(--panel); backdrop-filter: blur(8px);
  padding: 30px 26px; position: relative;
  transition: all 0.3s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(0,0,0,0.4); }

.price-card.featured {
  border-color: rgba(216,182,121,0.5);
  box-shadow: 0 0 0 1px rgba(216,182,121,0.3), 0 20px 70px rgba(216,182,121,0.15);
  transform: scale(1.02);
}
.price-card.featured:hover { transform: scale(1.02) translateY(-4px); }


/* Featured badge */
.featured-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #d8b679, #f1d7a3);
  color: #07080d; font-size: 10px; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 16px; border-radius: 999px;
  white-space: nowrap;
}

.tier-name {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 12px;
}
.price-num {
  font-size: 52px; font-weight: 800; letter-spacing: -1px;
  color: var(--ink); line-height: 1;
}
.price-num span { font-size: 16px; font-weight: 600; color: var(--muted); margin-left: 4px; }
.price-note { color: var(--muted); font-size: 12px; margin: 8px 0 20px; }

.price-features { list-style: none; margin: 0 0 24px; }
.price-features li {
  padding: 8px 0; border-bottom: 1px solid rgba(197,172,126,0.1);
  color: #c2bfd0; font-size: 13px; display: flex; align-items: flex-start; gap: 10px;
}
.price-features li::before {
  content: '◆'; color: var(--gold); font-size: 8px; margin-top: 5px; flex-shrink: 0;
}
.price-features li:last-child { border-bottom: none; }


/* ── CHAT ── */
.chat-shell {
  border: 1px solid var(--line); border-radius: 20px;
  background: rgba(10,12,18,0.9); overflow: hidden;
  box-shadow: 0 20px 70px rgba(0,0,0,0.4);
}
.chat-header {
  padding: 18px 22px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(15,19,32,0.8);
}
.chat-header h4 { font: 700 16px 'Cinzel', serif; color: var(--gold-2); }
.chat-status { font-size: 11px; color: var(--muted); }

.chat { height: 460px; overflow: auto; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.chat::-webkit-scrollbar { width: 4px; }
.chat::-webkit-scrollbar-thumb { background: rgba(216,182,121,0.3); border-radius: 99px; }


/* Bubble system */
.bubble-wrap { display: flex; flex-direction: column; gap: 2px; max-width: 78%; animation: bubbleIn 0.25s ease-out; }
.bubble-wrap.user { align-self: flex-end; align-items: flex-end; }
.bubble-wrap.assistant { align-self: flex-start; align-items: flex-start; }

.bubble {
  border-radius: 16px; padding: 12px 16px; line-height: 1.6;
  white-space: pre-wrap; word-break: break-word; max-width: 100%;
  font-size: 14px;
}
.bubble.user {
  background: linear-gradient(135deg, #1a2744, #0f1c35);
  border: 1px solid rgba(216,182,121,0.2);
  border-bottom-right-radius: 4px;
}
.bubble.assistant {
  background: rgba(15,19,32,0.92);
  border: 1px solid rgba(197,172,126,0.18);
  border-bottom-left-radius: 4px;
}

.bubble-ts { font-size: 10px; color: rgba(159,156,174,0.5); padding: 0 4px; }
.bubble-sender { display: flex; align-items: center; gap: 8px; padding: 0 2px 4px; }
.bubble-avatar {
  width: 24px; height: 24px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font: 700 10px/1 Manrope, sans-serif; letter-spacing: 0.04em;
  color: #0c0f17;
  background: linear-gradient(135deg, var(--gold-2,#d8b679), #f4dfb6);
  border: 1px solid rgba(216,182,121,0.45);
  box-shadow: 0 4px 12px rgba(216,182,121,0.18);
}
.bubble-sender-name {
  font: 800 11px/1 'Cinzel', serif;
  color: var(--gold-2,#d8b679);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


/* Typing indicator */
.typing-bubble { display: flex; gap: 5px; align-items: center; padding: 14px 18px !important; }
.typing-bubble .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold-2);
  animation: typingBounce 1.2s ease-in-out infinite;
}
.typing-bubble .dot:nth-child(2) { animation-delay: 0.18s; }
.typing-bubble .dot:nth-child(3) { animation-delay: 0.36s; }
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-6px); opacity: 1; }
}
@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}


/* Quick actions */
.quick-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 0; }
.qa-chip {
  border: 1px solid rgba(216,182,121,0.4);
  background: rgba(216,182,121,0.06);
  color: var(--gold-2); border-radius: 999px;
  padding: 7px 14px; font-size: 12px; font-weight: 700;
  cursor: pointer; font-family: 'Manrope', sans-serif;
  transition: all 0.2s;
}
.qa-chip:hover {
  background: rgba(216,182,121,0.14);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(216,182,121,0.15);
}


/* Chat composer */
.composer {
  display: flex; gap: 10px; padding: 14px 16px;
  border-top: 1px solid var(--line);
  background: rgba(10,12,18,0.8);
}
.input {
  width: 100%; border: 1px solid var(--line); border-radius: 12px;
  background: #0d1220; color: var(--ink);
  padding: 12px 14px; font-size: 14px;
  font-family: 'Manrope', sans-serif;
  transition: border-color 0.2s;
}
.input:focus { outline: none; border-color: rgba(216,182,121,0.6); }
.input::placeholder { color: var(--muted); }


/* ── FAQ ── */
.faq details {
  border-bottom: 1px solid var(--line); padding: 16px 0;
  transition: background 0.2s;
}
.faq details:last-child { border-bottom: 0; }
.faq details[open] { background: rgba(216,182,121,0.03); padding-left: 12px; padding-right: 12px; border-radius: 12px; }
.faq summary {
  cursor: pointer; font-weight: 700; font-size: 15px;
  color: var(--gold-2); list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::after { content: '+'; font-size: 22px; font-weight: 300; color: var(--muted); transition: transform 0.3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin-top: 12px; color: var(--muted); line-height: 1.65; }


/* ── TESTIMONIALS ── */
.testimonial-card {
  border: 1px solid var(--line); border-radius: 18px;
  background: var(--panel); padding: 24px;
  backdrop-filter: blur(8px); position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute; top: 12px; left: 18px;
  font: 800 60px 'Cinzel', serif; color: rgba(216,182,121,0.15);
  line-height: 1;
}
.testimonial-card blockquote {
  font-size: 15px; line-height: 1.65; color: #c4c0d2;
  margin-bottom: 16px; padding-top: 24px;
}
.testimonial-card cite {
  font-style: normal; display: flex; flex-direction: column; gap: 3px;
}
.testimonial-card cite strong { font-size: 14px; color: var(--ink); }
.testimonial-card cite span { font-size: 12px; color: var(--muted); }


/* ── PROMO / MANAGE ── */
.promo-row {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
}


/* ── OFFER MODAL ── */
.offer-overlay {
  position: fixed; inset: 0; display: none;
  align-items: center; justify-content: center; padding: 18px;
  background: rgba(6,8,14,0.78); backdrop-filter: blur(6px);
  z-index: 300;
}
.offer-overlay.visible { display: flex; }
.offer-modal {
  width: min(620px, 100%);
  border: 1px solid rgba(216,182,121,0.35);
  border-radius: 22px;
  background: linear-gradient(155deg, rgba(18,23,36,0.98), rgba(11,14,22,0.98));
  padding: 32px 28px;
  box-shadow: 0 30px 100px rgba(0,0,0,0.65), 0 0 0 1px rgba(216,182,121,0.1) inset;
  position: relative; animation: modalIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.offer-close {
  position: absolute; right: 16px; top: 14px;
  border: 1px solid var(--line); background: rgba(255,255,255,0.03);
  color: var(--ink); width: 36px; height: 36px;
  border-radius: 50%; font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.offer-close:hover { border-color: rgba(216,182,121,0.5); color: var(--gold-2); }
.offer-eyebrow {
  margin-bottom: 10px; color: var(--gold-2); font-size: 10px;
  font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
}
.offer-modal h3 {
  font: 700 clamp(22px, 3vw, 32px)/1.15 'Cinzel', serif; color: var(--gold-2); margin-bottom: 12px;
}
.offer-copy { color: #c4c0d2; line-height: 1.65; margin-bottom: 22px; }
.offer-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.offer-actions .btn { flex: 1; justify-content: center; }


/* ── URGENCY BAR ── */
#urgency-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: rgba(7,8,13,0.97);
  border-top: 1px solid rgba(216,182,121,0.3);
  padding: 12px 24px;
  display: flex; align-items: center; justify-content: center; gap: 20px;
  font-size: 14px; font-weight: 600;
  backdrop-filter: blur(10px);
  animation: slideUp 0.4s ease-out;
}
#urgency-bar span { color: var(--gold-2); }
@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}


/* ── MOBILE STICKY CTA ── */
.mobile-pricing-cta {
  display: none;
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 120;
  border: 1px solid var(--line); border-radius: 16px;
  background: rgba(13,18,32,0.97); backdrop-filter: blur(10px);
  padding: 12px 14px;
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  box-shadow: 0 16px 50px rgba(0,0,0,0.5);
}
.mobile-pricing-copy { font-size: 12px; color: #c7c3d2; line-height: 1.35; margin: 0; }


/* ── BETA STRIP ── */
.beta-strip {
  border: 1px solid rgba(216,182,121,0.4) !important;
  background: linear-gradient(135deg, rgba(216,182,121,0.06), rgba(241,215,163,0.03));
  border-radius: 18px; padding: 28px 24px;
}
.beta-strip h4 { font: 700 20px/1.2 'Cinzel', serif; color: var(--gold-2); margin-bottom: 10px; }
.beta-strip p { color: #c2bfd0; margin-bottom: 16px; }


/* ── SECTION REVEAL ANIMATION ── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }


/* Staggered card reveals */
.features-grid .card:nth-child(1) { transition-delay: 0s; }
.features-grid .card:nth-child(2) { transition-delay: 0.1s; }
.features-grid .card:nth-child(3) { transition-delay: 0.2s; }
.features-grid .card:nth-child(4) { transition-delay: 0.05s; }
.features-grid .card:nth-child(5) { transition-delay: 0.15s; }
.features-grid .card:nth-child(6) { transition-delay: 0.25s; }


/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-card { max-width: 440px; }
  .hero-section { padding: 56px 36px 52px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-4px); }
}

@media (max-width: 768px) {
  .topbar { align-items: flex-start; flex-direction: column; }
  nav { gap: 6px; }
  nav a { font-size: 12px; padding: 7px 10px; }
  .hero-section { padding: 36px 20px 40px; border-radius: 18px; }
  .hero-title { font-size: clamp(30px, 8vw, 52px); }
  .features-grid { grid-template-columns: 1fr; }
  .section { margin-top: 56px; }
  .section-head { margin-bottom: 28px; }
  .cred-row { gap: 8px; }
  .cred-row span { font-size: 10px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .offer-modal { padding: 22px 18px; }
  .offer-actions { flex-direction: column; }
  .offer-actions .btn { width: 100%; justify-content: center; }
  .frame { left: 10px; right: 10px; }
}


/* ── Mobile Nav Drawer ── */
.nav-overlay {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  background: rgba(7,8,13,0.7); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity 0.3s;
}
.nav-overlay.open { opacity: 1; pointer-events: all; }

.mobile-nav {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100;
  width: min(320px, 88vw);
  background: linear-gradient(165deg, rgba(24,28,43,0.98) 0%, rgba(11,14,23,0.99) 100%);
  border-left: 1px solid var(--line);
  backdrop-filter: blur(20px);
  padding: 80px 28px 40px;
  transform: translateX(100%); transition: transform 0.4s cubic-bezier(.22,1,.36,1);
  display: flex; flex-direction: column; gap: 4px;
  box-shadow: -20px 0 60px rgba(0,0,0,0.5);
}
.mobile-nav.open { transform: translateX(0); }

.mobile-nav-close {
  position: absolute; top: 20px; right: 20px;
  background: none; border: 1px solid var(--line); border-radius: 10px;
  color: var(--muted); cursor: pointer; padding: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: color 0.2s, border-color 0.2s;
}
.mobile-nav-close:hover { color: var(--gold-2); border-color: rgba(216,182,121,0.5); }

.mobile-nav a {
  color: var(--muted); text-decoration: none; font-size: 15px;
  font-weight: 700; padding: 14px 16px; border-radius: 12px;
  transition: color 0.2s, background 0.2s;
  display: block; letter-spacing: 0.03em;
}
.mobile-nav a:hover { color: var(--gold-2); background: rgba(216,182,121,0.07); }
.mobile-nav a:last-child { margin-top: auto; }

.mobile-nav .btn-solid { text-align: center; margin-top: 16px; }


/* Hamburger button */
.hamburger {
  display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
  color: var(--muted); cursor: pointer; padding: 8px 10px;
  align-items: center; justify-content: center; gap: 5px;
  transition: color 0.2s, border-color 0.2s;
}
.hamburger:hover { color: var(--gold-2); border-color: rgba(216,182,121,0.5); }
.hamburger-line { display: block; width: 18px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform 0.3s; }
.hamburger.open .hamburger-line:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.hamburger.open .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger.open .hamburger-line:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 600px) {
  .mobile-pricing-cta { display: flex !important; }
  .wrap { padding-bottom: 140px; }
  .chat { height: 360px; }
  .bubble-wrap { max-width: 90%; }
  nav { display: none; }
  .hamburger { display: flex; flex-direction: column; gap: 4px; }
  .topbar { flex-direction: row; justify-content: space-between; }
  .topbar::after { display: none; }
  .pricing-grid { gap: 14px; }
  .price-card { padding: 22px 18px; }
  .price-num { font-size: 40px; }
}


/* ══════════════════════════════════════════════════════════
   PART 2 — Animations, Footer, & Refinements
   ══════════════════════════════════════════════════════════ */


/* ── Animated background pulse ── */
@keyframes bgPulse {
  0%, 100% {
    opacity: 1;
    background: radial-gradient(80% 60% at 80% -10%, #2a2034 0%, transparent 50%),
                radial-gradient(60% 40% at -10% 120%, #12343a 0%, transparent 55%),
                var(--bg);
  }
  50% {
    opacity: 0.85;
    background: radial-gradient(85% 65% at 82% -5%, #332545 0%, transparent 52%),
                radial-gradient(65% 45% at -8% 118%, #0e2d36 0%, transparent 58%),
                var(--bg);
  }
}

/* Last-mile mobile overflow guard. This intentionally sits after all previous
   historical overrides. */
@media (max-width: 700px) {
  .trial-hero {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .trial-copy h1 {
    max-width: min(10.5ch, calc(100vw - 72px)) !important;
    font-size: clamp(28px, 8.6vw, 34px) !important;
    line-height: 1.06 !important;
    text-wrap: normal !important;
    overflow-wrap: anywhere !important;
  }

  .trial-copy p:not(.eyebrow) {
    max-width: 22ch !important;
    font-size: 15px !important;
    line-height: 1.62 !important;
    overflow-wrap: anywhere !important;
  }
}

@media (max-width: 600px) {
  .hero-title {
    max-width: min(23ch, calc(100vw - 76px)) !important;
    font-size: clamp(21px, 6.2vw, 25px) !important;
    line-height: 1.1 !important;
    text-wrap: normal !important;
    overflow-wrap: anywhere !important;
  }

  .hero-title .word,
  .hero-title .word-wrap,
  .hero-title span {
    display: inline !important;
    font-size: inherit !important;
    line-height: inherit !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  .hero-copy {
    max-width: min(32ch, calc(100vw - 76px)) !important;
  }
}

/* Current design tightening — May 2026
   Final scoped overrides to stabilize the live marketing page. */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.wrap,
.topbar,
.site-footer {
  width: min(1180px, calc(100% - 32px));
}

.topbar,
.wrap {
  padding-left: 0;
  padding-right: 0;
}

.hero-section {
  padding: clamp(34px, 4.5vw, 56px);
}

.hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: clamp(24px, 4vw, 44px);
}

.hero-title {
  max-width: 720px;
  font-size: clamp(36px, 4.05vw, 58px) !important;
  line-height: 1.04;
}

.word {
  font-size: inherit !important;
  animation-duration: 0.46s;
  margin-right: 0.18em;
}

.w1 { animation-delay: 0.08s; }
.w2 { animation-delay: 0.13s; }
.w3 { animation-delay: 0.18s; }
.w4 { animation-delay: 0.23s; }
.w5 { animation-delay: 0.28s; }
.w6 { animation-delay: 0.33s; }
.w7 { animation-delay: 0.38s; }
.w8 { animation-delay: 0.43s; }
.w9 { animation-delay: 0.48s; }
.w10 { animation-delay: 0.53s; }
.w11 { animation-delay: 0.58s; }
.w12 { animation-delay: 0.63s; }
.w13 { animation-delay: 0.68s; }
.w14 { animation-delay: 0.73s; }
.w15 { animation-delay: 0.78s; }

#hero-sub { animation-delay: 0.82s; }
.hero-action-cluster { animation-delay: 0.94s; }
.hero-steps,
.cred-row {
  animation-delay: 1.04s;
}

.reveal.visible .how-card,
.reveal.visible .faq-item {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.price {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.price .plan-cta {
  margin-top: auto;
}

.recommended-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  border: 1px solid rgba(76,176,166,0.38);
  border-radius: 999px;
  background: rgba(76,176,166,0.1);
  color: #9ee7df;
  padding: 5px 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

  .hero-card {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .wrap,
  .topbar,
  .site-footer {
    width: min(100% - 20px, 1180px);
  }

  .hero-section {
    padding: 26px 14px 104px;
    border-radius: 18px;
  }

  .hero-title {
    max-width: 100% !important;
    font-size: clamp(25px, 8.2vw, 34px) !important;
    line-height: 1.08 !important;
    overflow-wrap: normal !important;
  }

  .hero-copy {
    max-width: 100% !important;
    font-size: 14px;
  }

  .hero-action-cluster,
  .hero-action-cluster .btn,
  .mobile-pricing-cta .btn {
    width: 100%;
  }

  .hero-action-cluster .btn,
  .mobile-pricing-cta .btn {
    justify-content: center;
  }

  .hero-card {
    display: grid;
    grid-template-columns: 1fr;
  }

  #urgency-bar {
    display: none;
  }

  .mobile-pricing-cta {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .floating-chat-btn {
    bottom: 94px;
  }

  .section-head h3 {
    font-size: clamp(24px, 8vw, 34px);
    overflow-wrap: anywhere;
  }
}

@media (hover: none) {
  .card:hover,
  .how-step:hover,
  .how-explain-card:hover,
  .final-proof-card:hover {
    transform: none;
  }
}

/* Design audit tightening — May 2026
   Keep the cinematic direction, but remove fragile clipping and overflow. */
.hero-card-shadow {
  display: none;
}

.hero-card-stack {
  justify-content: flex-start;
  min-width: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-title {
  max-width: 780px;
  font-size: clamp(34px, 4.1vw, 56px);
  line-height: 1.03;
  text-wrap: balance;
}

.hero-title .word,
.hero-title .word-wrap,
.hero-title span {
  clip-path: none !important;
}

.hero-copy {
  max-width: 64ch;
}

.hero-section {
  min-height: auto;
}

.trial-page,
.onboarding-page {
  overflow-x: hidden;
}

.trial-copy {
  min-width: 0;
}

.trial-copy h1 {
  max-width: 12ch;
  overflow-wrap: normal;
  text-wrap: balance;
}

.trial-copy p:not(.eyebrow) {
  max-width: 56ch;
}

.trial-panel {
  min-width: 0;
}

.trial-panel-head strong {
  text-wrap: balance;
}

.marketing-landing {
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 12%, rgba(216,182,121,0.16), transparent 32%),
    radial-gradient(circle at 84% 72%, rgba(76,176,166,0.16), transparent 36%),
    var(--bg);
}

.marketing-shell {
  width: min(1120px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  align-items: center;
  padding: 72px 0;
}

.marketing-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(197,172,126,0.26);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(13,17,28,0.92), rgba(7,8,13,0.98));
  padding: clamp(32px, 7vw, 76px);
  box-shadow: 0 36px 120px rgba(0,0,0,0.5);
}

.marketing-panel::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(197,172,126,0.12);
  border-radius: 20px;
  pointer-events: none;
}

.marketing-kicker {
  position: relative;
  margin: 0 0 18px;
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.marketing-panel h1 {
  position: relative;
  max-width: 900px;
  margin: 0;
  font: 800 clamp(42px, 8vw, 92px)/0.98 "Cinzel", serif;
  text-wrap: balance;
}

.marketing-panel h1 span {
  color: var(--gold-2);
  font-style: italic;
}

.marketing-panel p:not(.marketing-kicker) {
  position: relative;
  max-width: 680px;
  margin: 24px 0 0;
  color: #c4c0d2;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.7;
}

.marketing-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.marketing-proof {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 44px;
}

.marketing-proof div {
  border: 1px solid rgba(197,172,126,0.18);
  border-radius: 16px;
  background: rgba(7,10,17,0.58);
  padding: 16px;
}

.marketing-proof strong {
  display: block;
  color: var(--gold-2);
  font: 800 12px/1.2 "Cinzel", serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.marketing-proof span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.marketing-press-proof {
  position: relative;
  margin-top: 18px;
  border: 1px solid rgba(197,172,126,0.18);
  border-radius: 18px;
  background: rgba(7,10,17,0.5);
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: center;
}
.marketing-press-proof h2 {
  margin: 0;
  color: var(--ink);
  font: 800 clamp(24px, 3vw, 38px)/1.04 "Cinzel", serif;
  text-wrap: balance;
}
.marketing-panel .marketing-press-proof p:not(.marketing-kicker) {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.65;
}
.marketing-cover-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
}
.marketing-cover-row img {
  width: 100%;
  aspect-ratio: 13 / 17;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 42px rgba(0,0,0,0.34);
}
.marketing-cover-row img:nth-child(odd) {
  transform: translateY(-8px);
}

@media (max-width: 700px) {
  .marketing-press-proof {
    grid-template-columns: 1fr;
  }
  .marketing-cover-row img:nth-child(odd) {
    transform: none;
  }

  .trial-topbar {
    width: 100%;
    max-width: 100%;
    padding: 20px 16px 10px;
    overflow: hidden;
  }

  .trial-topbar nav {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .trial-topbar nav a,
  .trial-topbar nav .btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }

  .trial-shell {
    width: min(100% - 24px, 1180px);
    padding: 18px 0 120px;
  }

  .trial-hero {
    min-height: auto;
    padding: 28px 16px;
    overflow: hidden;
  }

  .trial-copy h1 {
    max-width: min(10.5ch, calc(100vw - 72px));
    font-size: clamp(28px, 8.6vw, 34px) !important;
    line-height: 1.06;
    overflow-wrap: anywhere;
    word-break: normal;
    text-wrap: normal;
  }

  .trial-copy p:not(.eyebrow) {
    max-width: 22ch;
    font-size: 15px;
    line-height: 1.62;
  }

  .trial-panel {
    padding: 20px;
  }

  .trial-panel-head {
    display: grid;
    gap: 6px;
  }

  .marketing-shell {
    width: min(100% - 28px, 1120px);
    padding: 26px 0 110px;
  }

  .marketing-panel {
    border-radius: 20px;
    padding: 30px 22px;
  }

  .marketing-panel h1 {
    font-size: clamp(36px, 12vw, 54px);
  }

  .marketing-actions,
  .marketing-actions .btn {
    width: 100%;
  }

  .marketing-actions .btn {
    justify-content: center;
  }

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

@media (max-width: 600px) {
  .hero-title {
    max-width: min(23ch, calc(100vw - 76px));
    font-size: clamp(21px, 6.2vw, 25px) !important;
    line-height: 1.1;
    text-wrap: normal;
    overflow-wrap: anywhere;
  }

  .hero-title .word,
  .hero-title .word-wrap,
  .hero-title span {
    display: inline !important;
    font-size: inherit !important;
    line-height: inherit !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  .hero-copy {
    max-width: min(32ch, calc(100vw - 76px));
  }

  .hero-section {
    padding-bottom: 126px;
  }

  #urgency-bar {
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

/* Last-mile mobile overflow guard. This intentionally sits after all previous
   historical overrides. */
@media (max-width: 700px) {
  .trial-hero {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .trial-copy h1 {
    max-width: min(10.5ch, calc(100vw - 72px)) !important;
    font-size: clamp(28px, 8.6vw, 34px) !important;
    line-height: 1.06 !important;
    text-wrap: normal !important;
    overflow-wrap: anywhere !important;
  }

  .trial-copy p:not(.eyebrow) {
    max-width: 22ch !important;
    font-size: 15px !important;
    line-height: 1.62 !important;
    overflow-wrap: anywhere !important;
  }
}

@media (max-width: 600px) {
  .hero-title {
    max-width: min(23ch, calc(100vw - 76px)) !important;
    font-size: clamp(21px, 6.2vw, 25px) !important;
    line-height: 1.1 !important;
    text-wrap: normal !important;
    overflow-wrap: anywhere !important;
  }

  .hero-title .word,
  .hero-title .word-wrap,
  .hero-title span {
    display: inline !important;
    font-size: inherit !important;
    line-height: inherit !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  .hero-copy {
    max-width: min(32ch, calc(100vw - 76px)) !important;
  }
}
.bg-gradient {
  position: fixed; inset: 0; pointer-events: none; z-index: -2;
  animation: bgPulse 9s ease-in-out infinite;
  background: radial-gradient(80% 60% at 80% -10%, #2a2034 0%, transparent 50%),
              radial-gradient(60% 40% at -10% 120%, #12343a 0%, transparent 55%), var(--bg);
}


/* ── Section divider bar ── */
.section-divider {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--gold-2), transparent);
  border-radius: 2px;
  margin-bottom: 14px;
}


/* ── Hero section ── */
.hero-section {
  margin-top: 16px;
  padding: 0 0 10px;
  position: relative;
  overflow: hidden;
}
.hero-orbs {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  overflow: hidden;
}
.orb {
  position: absolute; border-radius: 999px; filter: blur(80px);
  mix-blend-mode: screen; opacity: 0.55;
}
.orb-1 {
  width: 380px; height: 380px;
  top: -120px; left: -80px;
  background: radial-gradient(circle, #f1d7a3 0%, rgba(241,215,163,.0) 70%);
  animation: orbFloat 9s ease-in-out infinite;
}
.orb-2 {
  width: 300px; height: 300px;
  top: -60px; right: -60px;
  background: radial-gradient(circle, #7dd3fc 0%, rgba(125,211,252,.0) 70%);
  animation: orbFloat 11s ease-in-out infinite reverse;
}
.orb-3 {
  width: 260px; height: 260px;
  bottom: -40px; left: 40%;
  background: radial-gradient(circle, #86efac 0%, rgba(134,239,172,.0) 70%);
  animation: orbFloat 14s ease-in-out infinite 3s;
}
.scanline {
  position: absolute; left: 0; right: 0; height: 1px;
  top: 0;
  background: linear-gradient(90deg, transparent, rgba(241,215,163,.5), transparent);
  animation: scanMove 7s linear infinite;
  opacity: 0.7;
}
@keyframes scanMove {
  0% { top: -2px; opacity: 0; }
  5% { opacity: 0.8; }
  95% { opacity: 0.6; }
  100% { top: 100%; opacity: 0; }
}
@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  35% { transform: translateY(-22px) scale(1.04); }
  70% { transform: translateY(12px) scale(0.97); }
}


/* ── Hero grid layout ── */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: center;
  position: relative; z-index: 2;
}
.hero-content { display: flex; flex-direction: column; gap: 0; }
.hero-title {
  font: 800 clamp(28px, 4.5vw, 62px)/1.08 'Cinzel', serif;
  color: var(--ink);
  margin: 10px 0 16px;
  letter-spacing: 0.01em;
}
.hero-title .accent {
  color: var(--gold-2);
  font-style: italic;
}
.hero-copy {
  font-size: clamp(14px, 1.5vw, 17px);
  color: #c2bfd0;
  line-height: 1.7;
  margin: 0 0 20px;
  max-width: 600px;
}


/* ── Clip-path text reveal for hero title (supports) ── */
@supports (clip-path: inset(0 0 0 0)) {
  .hero-title span {
    clip-path: inset(0 0 100% 0);
    animation: textReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.7s forwards;
    display: inline-block;
  }
}
@keyframes textReveal {
  to { clip-path: inset(0 0 0 0); }
}


/* ── Mobile sticky CTA bar ── */
.mobile-pricing-cta {
  display: none;
}
.mobile-pricing-copy { font-size: 12px; color: #c2bfd0; line-height: 1.3; }


/* ── Urgency bar ── */
#urgency-bar {
  display: flex;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: rgba(7,8,13,0.97);
  border-top: 1px solid rgba(216,182,121,0.35);
  padding: 12px 20px;
  align-items: center; justify-content: center; gap: 18px;
  font-size: 13px; font-weight: 600;
  backdrop-filter: blur(10px);
  animation: slideUp 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
#urgency-bar span { color: var(--gold-2); }
@keyframes slideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}


/* ── Responsive ── */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-card { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; align-items: center; }
  .hero-card-title { grid-column: 1/-1; }
  .metric-val { font-size: 22px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .topbar { align-items: flex-start; flex-direction: column; gap: 8px; }
  nav { gap: 6px; flex-wrap: wrap; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-card { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .mobile-pricing-cta {
    display: flex; align-items: center; justify-content: space-between;
    position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 120;
    border: 1px solid var(--line); border-radius: 14px;
    background: rgba(13,18,32,0.96); backdrop-filter: blur(10px);
    padding: 12px 14px; gap: 10px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  }
  .offer-modal { padding: 20px; }
  .offer-actions { flex-direction: column; }
  .offer-actions .btn { width: 100%; justify-content: center; }
  .chat-header { flex-direction: column; gap: 6px; align-items: flex-start; }
  .cred-row { flex-direction: column; gap: 4px; }
  .submit-wrap { grid-template-columns: 1fr 1fr; }
  #urgency-bar { flex-direction: column; gap: 8px; text-align: center; padding: 14px 16px; }
  #urgency-bar .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(26px, 10vw, 38px); }
  .money-value { font-size: 40px; }
  .pricing-grid { gap: 10px; }
  .hero-card { grid-template-columns: 1fr; }
  .footer-grid { gap: 20px; }
}


/* ── Hero steps ── */
.hero-steps {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.hero-steps div {
  border: 1px solid rgba(255,255,255,0.08);
  padding: 14px 12px;
  border-radius: 16px;
  background: rgba(11,14,23,0.5);
}
.hero-steps div strong {
  display: block;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 6px;
}
.hero-steps div span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

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


/* ── Pricing trust strip ── */
.pricing-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid rgba(197,172,126,0.25);
  border-radius: 14px;
  padding: 14px 20px;
  margin-bottom: 20px;
  background: rgba(11,14,23,0.6);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 18px;
  font-size: 13px;
  color: var(--muted);
}
.trust-item strong { color: var(--gold-2); }
.trust-icon { font-size: 16px; flex-shrink: 0; }
.trust-divider {
  width: 1px; height: 28px;
  background: rgba(197,172,126,0.2);
  flex-shrink: 0;
}


/* ── Pricing inline testimonial ── */
.pricing-testimonial {
  border: 1px solid rgba(197,172,126,0.2);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  background: rgba(216,182,121,0.04);
  padding: 18px 22px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pricing-testimonial p {
  font-size: 15px;
  color: var(--ink);
  font-style: italic;
  line-height: 1.6;
  margin: 0;
}
.pricing-testimonial cite {
  font-size: 12px;
  color: var(--muted);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.04em;
}


/* ── Floating chat launcher ── */
.floating-chat-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 150;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d8b679 0%, #f1d7a3 50%, #d8b679 100%);
  background-size: 200% auto;
  border: 2px solid rgba(255,255,255,0.25);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(216,182,121,0.4), 0 0 0 1px rgba(216,182,121,0.1) inset;
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
  color: #07080d;
  animation: floatBounce 3s ease-in-out infinite;
}
.floating-chat-btn:hover {
  transform: scale(1.12) translateY(-2px);
  box-shadow: 0 16px 48px rgba(216,182,121,0.5), 0 0 0 2px rgba(216,182,121,0.3) inset;
  background-position: right center;
}
.floating-chat-btn:active {
  transform: scale(1.04);
}
.floating-chat-pulse {
  position: absolute;
  top: -3px; right: -3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #4cb0a6;
  border: 2px solid #07080d;
  animation: chatPulse 2s ease-in-out infinite;
}
.floating-chat-btn svg {
  width: 28px; height: 28px;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}
.floating-chat-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  right: 0;
  background: rgba(11,14,23,0.95);
  border: 1px solid rgba(197,172,126,0.3);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  color: #f1d7a3;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px) scale(0.95);
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}
.floating-chat-btn:hover .floating-chat-tooltip {
  opacity: 1;
  transform: translateY(0) scale(1);
}
@keyframes chatPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
@keyframes floatBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@media (max-width: 800px) {
  .pricing-trust-strip { flex-direction: column; gap: 8px; }
  .trust-divider { width: 40px; height: 1px; }
  .trust-item { padding: 2px 0; }
  .floating-chat-btn { bottom: 80px; right: 14px; }
}


/* ── Hero metrics sidebar card ── */
.hero-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(12,15,24,0.88);
  backdrop-filter: blur(12px);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 20px 80px rgba(0,0,0,0.5), inset 0 1px 0 rgba(241,215,163,0.1);
}
.hero-card-title {
  font: 500 11px/1 'Manrope', sans-serif;
  color: var(--gold-2);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin: 0;
}
.metric-row { display: flex; flex-direction: column; gap: 4px; }
.metric-val {
  font: 800 28px/1 'Cinzel', serif;
  color: var(--ink);
  letter-spacing: -0.5px;
}
.metric-val .small { font-size: 12px; font-weight: 500; opacity: 0.6; font-family: 'Manrope', sans-serif; }
.metric-bar {
  height: 3px; background: rgba(255,255,255,0.06); border-radius: 99px; overflow: hidden;
}
.metric-bar-fill {
  height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.metric-lbl {
  font-size: 11px; color: var(--muted); text-transform: uppercase;
  letter-spacing: 0.1em;
}


/* ── Features grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card-icon {
  font-size: 32px;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 12px rgba(241,215,163,0.4));
}


/* ── Pricing grid ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 24px;
  border-radius: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(216,182,121,0.3);
}
.price-card:hover::before {
  opacity: 1;
}
.price-card::before {
  content: '';
  position: absolute; top: 0; left: 20%; right: 20%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.featured {
  border-color: rgba(216,182,121,0.45);
  box-shadow: 0 0 0 1px rgba(216,182,121,0.25), 0 20px 80px rgba(216,182,121,0.08);
}
.featured-badge {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #07080d;
  font: 700 10px/1 'Manrope', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.tier-name {
  font: 500 11px/1 'Manrope', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-2);
  margin: 0 0 8px;
}
.price-num {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}
.money-value {
  font: 800 52px/1 'Cinzel', serif;
  color: var(--ink);
  letter-spacing: -1px;
}
.money-period {
  font: 500 14px/1 'Manrope', sans-serif;
  color: var(--muted);
}
.price-note {
  color: var(--muted);
  font-size: 12px;
  margin: 0 0 16px;
}
.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #c2bfd0;
  font-size: 13.5px;
  line-height: 1.45;
}
.price-features li::before {
  content: '◆';
  color: var(--gold);
  font-size: 8px;
  margin-top: 5px;
  flex-shrink: 0;
}


/* ── Chat shell ── */
.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(12,15,24,0.7);
}
.chat-header h4 {
  font: 700 14px/1 'Manrope', sans-serif;
  color: var(--gold-2);
  margin: 0;
}
.chat-status {
  font-size: 11px;
  color: #86efac;
  display: flex;
  align-items: center;
  gap: 5px;
}
.chat-status::before {
  content: '';
  width: 7px; height: 7px; border-radius: 50%;
  background: #86efac;
  box-shadow: 0 0 6px #86efac;
  animation: statusPulse 2s ease-in-out infinite;
}
@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}


/* ── Beta strip ── */
.beta-strip {
  border-color: rgba(216,182,121,0.4);
  background: rgba(216,182,121,0.04);
}


/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(7,8,13,0.9);
  backdrop-filter: blur(8px);
  margin-top: 60px;
  padding: 40px 0 28px;
}
.footer-grid {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 22px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand-mark {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  font: 800 16px/1 'Cinzel', serif; color: var(--gold-2);
}
.footer-brand h3 {
  font: 700 18px/1.2 'Cinzel', serif;
  color: var(--ink); margin: 0;
}
.footer-brand p {
  font-size: 13px; color: var(--muted); line-height: 1.55;
  max-width: 260px; margin: 0;
}
.footer-col h5 {
  font: 700 11px/1 'Manrope', sans-serif;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--gold-2); margin: 0 0 14px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  color: var(--muted); text-decoration: none; font-size: 13px;
  transition: color 0.15s;
}
.footer-col ul li a:hover { color: var(--ink); }
.footer-bottom {
  max-width: 1160px; margin: 28px auto 0;
  padding: 20px 22px 0;
  border-top: 1px solid rgba(197,172,126,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 12px; color: var(--muted); margin: 0; }
.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom-links a { font-size: 12px; color: var(--muted); text-decoration: none; }
.footer-bottom-links a:hover { color: var(--gold-2); }
.footer-social { display: flex; gap: 12px; align-items: center; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--muted); text-decoration: none; font-size: 14px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.footer-social a:hover {
  border-color: rgba(216,182,121,0.5);
  color: var(--gold-2);
  background: rgba(216,182,121,0.06);
}


/* ── Scroll-driven card entrance animations ── */
@keyframes cardRevealUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
.card.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.card.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.card.reveal:nth-child(1) { transition-delay: 0ms; }
.card.reveal:nth-child(2) { transition-delay: 80ms; }
.card.reveal:nth-child(3) { transition-delay: 160ms; }
.card.reveal:nth-child(4) { transition-delay: 240ms; }
.card.reveal:nth-child(5) { transition-delay: 320ms; }
.card.reveal:nth-child(6) { transition-delay: 400ms; }


/* ── Hero load animation ── */
@keyframes heroReveal {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-section.reveal { opacity: 0; transition: none; }
.hero-section.reveal.visible {
  opacity: 1;
}
.hero-content > * {
  opacity: 0;
  animation: heroReveal 0.6s cubic-bezier(.22,1,.36,1) forwards;
}
/*** CINEMATIC CHAT WIDGET — v2 ***/
.chat-shell {
  border: 1px solid var(--line); border-radius: 24px;
  background: linear-gradient(165deg, rgba(24,28,43,0.95) 0%, rgba(11,14,23,0.98) 100%);
  backdrop-filter: blur(16px); overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5), 0 0 0 1px rgba(216,182,121,0.08) inset;
  position: relative;
}
.chat-shell::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216,182,121,0.4), transparent);
}
.chat-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; border-bottom: 1px solid var(--line);
  background: rgba(7,8,13,0.5); backdrop-filter: blur(8px);
}
.chat-header h4 { font: 700 16px 'Cinzel', serif; color: var(--gold-2); }
.chat-status { font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.chat-status::before {
  content: ''; display: block; width: 7px; height: 7px; border-radius: 50%;
  background: #4cb0a6; box-shadow: 0 0 6px rgba(76,176,166,0.7);
  animation: statusPulse 2s ease-in-out infinite;
}
@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 6px rgba(76,176,166,0.7); }
  50% { box-shadow: 0 0 12px rgba(76,176,166,1), 0 0 20px rgba(76,176,166,0.4); }
}
.chat { height: 460px; overflow: auto; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.chat::-webkit-scrollbar { width: 4px; }
.chat::-webkit-scrollbar-thumb { background: rgba(216,182,121,0.3); border-radius: 99px; }
.bubble-wrap { display: flex; flex-direction: column; gap: 3px; }
.bubble-wrap.assistant { align-items: flex-start; }
.bubble-wrap.user { align-items: flex-end; }
.bubble {
  max-width: 78%; padding: 10px 16px; border-radius: 16px;
  font-size: 14px; line-height: 1.55; word-break: break-word;
}
.bubble.assistant {
  background: rgba(76,176,166,0.1); border: 1px solid rgba(76,176,166,0.2);
  border-radius: 4px 16px 16px 16px; color: var(--ink);
}
.bubble.user {
  background: linear-gradient(135deg, rgba(216,182,121,0.15), rgba(216,182,121,0.08));
  border: 1px solid rgba(216,182,121,0.3); border-radius: 16px 4px 16px 16px; color: var(--ink);
}
.bubble-action { background: rgba(76,176,166,0.06); border: 1px dashed rgba(76,176,166,0.25); }
.bubble-ts { font-size: 10px; color: var(--muted); padding: 0 4px; opacity: 0.6; }
.typing-bubble { display: flex; gap: 4px; align-items: center; padding: 12px 16px; }
.typing-bubble .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--muted);
  animation: typingBounce 1.2s ease-in-out infinite;
}
.typing-bubble .dot:nth-child(2) { animation-delay: 0.2s; }
.typing-bubble .dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(-4px); opacity: 1; }
}
.quick-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.qa-chip {
  border: 1px solid rgba(76,176,166,0.3); background: rgba(76,176,166,0.05);
  color: var(--accent); border-radius: 999px; padding: 6px 14px;
  font-size: 12px; font-weight: 700; cursor: pointer; font-family: 'Manrope', sans-serif;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.qa-chip:hover { background: rgba(76,176,166,0.12); border-color: rgba(76,176,166,0.5); color: var(--ink); }
.composer {
  display: flex; gap: 10px; padding: 16px 20px;
  border-top: 1px solid var(--line); background: rgba(7,8,13,0.4); align-items: center;
}
.input {
  flex: 1; background: rgba(255,255,255,0.04); border: 1px solid var(--line);
  border-radius: 12px; padding: 11px 16px; color: var(--ink);
  font-size: 14px; font-family: 'Manrope', sans-serif; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input::placeholder { color: var(--muted); opacity: 0.7; }
.input:focus { border-color: rgba(216,182,121,0.5); box-shadow: 0 0 0 3px rgba(216,182,121,0.08); }
.slotwrap { border: 1px solid rgba(76,176,166,0.2); border-radius: 14px; padding: 14px; margin-top: 6px; background: rgba(76,176,166,0.05); }
.slotheader { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); margin-bottom: 10px; }
.slotmeta { font-size: 11px; color: var(--muted); margin-bottom: 10px; }
.slotday { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }
.slotday-label { font-size: 10px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; grid-column: 1/-1; }
.slot-btn {
  background: rgba(76,176,166,0.08); border: 1px solid rgba(76,176,166,0.2);
  color: var(--ink); border-radius: 8px; padding: 7px 4px; font-size: 12px; font-weight: 700;
  cursor: pointer; font-family: 'Manrope', sans-serif; text-align: center;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.slot-btn:hover:not(:disabled) { background: rgba(76,176,166,0.18); border-color: rgba(76,176,166,0.45); box-shadow: 0 0 10px rgba(76,176,166,0.15); }
.slot-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.slot-btn.selected { background: rgba(76,176,166,0.22); border-color: rgba(76,176,166,0.6); box-shadow: 0 0 12px rgba(76,176,166,0.2); }
@media (max-width: 600px) {
  .chat { height: 360px; }
  .floating-chat-btn { bottom: 80px; right: 14px; }
}


/*** HERO SPLIT-TEXT REVEAL — words drop + fade in ***/
.word-wrap { display: inline-block; overflow: hidden; vertical-align: bottom; }
.word {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%);
  animation: wordReveal 0.72s cubic-bezier(.22,1,.36,1) forwards;
  font: 800 clamp(36px, 5.5vw, 76px)/1.03 'Cinzel', serif;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin-right: 0.22em;
}
.word.accent { color: var(--gold-2); }
@keyframes wordReveal {
  to { opacity: 1; transform: translateY(0); }
}
/* stagger w1–w15 */
.w1  { animation-delay: 0.18s; }
.w2  { animation-delay: 0.30s; }
.w3  { animation-delay: 0.42s; }
.w4  { animation-delay: 0.54s; }
.w5  { animation-delay: 0.66s; }
.w6  { animation-delay: 0.78s; }
.w7  { animation-delay: 0.90s; }
.w8  { animation-delay: 1.02s; }
.w9  { animation-delay: 1.14s; }
.w10 { animation-delay: 1.26s; }
.w11 { animation-delay: 1.38s; }
.w12 { animation-delay: 1.50s; }
.w13 { animation-delay: 1.62s; }
.w14 { animation-delay: 1.74s; }
.w15 { animation-delay: 1.86s; }


/* eyebrow + sub copy + CTAs also choreographed on same timeline */
#hero-eyebrow { animation: fadeSlideUp 0.5s ease forwards; animation-delay: 0.05s; opacity: 0; }
#hero-sub     { animation: fadeSlideUp 0.5s ease forwards; animation-delay: 2.0s;  opacity: 0; }
.hero-action-cluster { animation: fadeSlideUp 0.5s ease forwards; animation-delay: 2.2s; opacity: 0; }
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ================================================================
   ADMIN PANEL — Cinematic Redesign
   ================================================================ */
:root {
  /* admin-specific tokens */
  --bg-base: #07080d;
  --bg-surface: #0e1119;
  --bg-elevated: #141825;
  --bg-input: #0a0d16;
  --border: rgba(197,172,126,0.22);
  --border-dim: rgba(197,172,126,0.10);
  --text: #ece8de;
  --text-muted: #9f9cae;
  --text-dim: #6b6a7a;
  --accent: #4cb0a6;
  --accent-glow: rgba(76,176,166,0.08);
  --accent-border: rgba(76,176,166,0.35);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-xs: 5px;
  --font-mono: ui-monospace, 'Cinzel', SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.admin-layout {
  display: grid;
  grid-template-columns: 264px 1fr;
  min-height: calc(100vh - 73px);
}

.admin-topbar {
  border-bottom: 1px solid rgba(197,172,126,0.14);
  padding-bottom: 18px;
}
.admin-brand {
  text-decoration: none;
}
.admin-brand-mark {
  width: 38px;
  height: 38px;
  font-size: 14px;
}
.admin-brand .brand-text h1 {
  font: 800 18px/1.1 'Cinzel', serif;
  letter-spacing: 0.04em;
}
.admin-brand .brand-text p {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-top: 2px;
}
.admin-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-ghost {
  background: rgba(197,172,126,0.03);
}


/* Sidebar */
.admin-sidebar {
  background: var(--bg-surface);
  border-right: 1px solid var(--border);
  position: sticky;
  top: 73px;
  height: calc(100vh - 73px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.admin-sidebar::-webkit-scrollbar { width: 4px; }
.admin-sidebar::-webkit-scrollbar-track { background: transparent; }
.admin-sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; }

.logo-sidebar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 20px 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
  text-decoration: none;
}
.logo-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(76,176,166,0.18), rgba(216,182,121,0.10));
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  box-shadow: 0 0 16px rgba(76,176,166,0.08);
  flex-shrink: 0;
}
.logo-sidebar-text {
  font: 800 15px/1.1 'Cinzel', serif;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.logo-sidebar-text small {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 2px;
}

.sidebar-section { margin-bottom: 4px; }
.section-title {
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-dim); padding: 10px 20px 6px;
}
.sidebar-item {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 20px;
  color: var(--text-muted); font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all 0.18s;
  border-left: 3px solid transparent;
  border-radius: 0;
}
.sidebar-item:hover {
  color: var(--text); background: rgba(197,172,126,0.04);
  border-left-color: rgba(197,172,126,0.25);
}
.sidebar-item.active {
  color: var(--gold-2);
  background: rgba(197,172,126,0.06);
  border-left-color: var(--gold);
}
.sidebar-item .icon { font-size: 15px; width: 22px; text-align: center; flex-shrink: 0; }
.sidebar-tag {
  font-size: 9px; padding: 2px 7px;
  background: rgba(76,176,166,0.12); color: var(--accent);
  border: 1px solid rgba(76,176,166,0.25);
  border-radius: 999px; margin-left: auto;
  font-weight: 700; letter-spacing: 0.04em;
}
.sidebar-tag.beta {
  background: rgba(139,92,246,0.12); color: #a78bfa;
  border-color: rgba(139,92,246,0.25);
}


/* Admin content */
.admin-content {
  padding: 28px 32px 48px;
  background:
    radial-gradient(circle at 82% 4%, rgba(76,176,166,0.08), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.015), transparent 220px);
}
.admin-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(197,172,126,0.24);
  border-radius: 22px;
  background:
    linear-gradient(128deg, rgba(17,21,33,0.9), rgba(7,8,13,0.96)),
    radial-gradient(circle at 8% 12%, rgba(216,182,121,0.18), transparent 34%);
  padding: 26px 28px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: flex-start;
  box-shadow: 0 24px 70px rgba(0,0,0,0.34), 0 0 0 1px rgba(255,255,255,0.035) inset;
}
.admin-hero::after {
  content: '';
  position: absolute;
  inset: -40px;
  background-image:
    linear-gradient(rgba(197,172,126,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197,172,126,0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.28;
  pointer-events: none;
}
.admin-hero > * {
  position: relative;
  z-index: 2;
}
.admin-kicker {
  margin: 0 0 9px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.admin-hero h2 {
  max-width: 760px;
  margin: 0;
  font: 800 clamp(24px, 3.4vw, 42px)/1.08 'Cinzel', serif;
  color: var(--ink);
  text-wrap: balance;
}
.admin-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.admin-hero-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  border: 1px solid rgba(76,176,166,0.3);
  border-radius: 999px;
  background: rgba(76,176,166,0.08);
  color: #9ff3df;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #72f0bd;
  box-shadow: 0 0 14px rgba(114,240,189,0.7);
}
.admin-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 28px; gap: 16px;
}
.admin-header h1 {
  font: 800 26px/1.1 'Cinzel', serif;
  letter-spacing: 0.02em; color: var(--ink); margin: 0;
}
.admin-header .breadcrumb { font-size: 12px; color: var(--text-muted); margin-top: 6px; font-weight: 500; }
.admin-note {
  font-size: 12px;
  color: var(--text-muted);
  margin: -14px 0 18px;
}
.admin-note.success { color: #86efac; }
.admin-note.error { color: #fca5a5; }
.admin-panel-host {
  min-height: 400px;
}


/* Tab pills */
.admin-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.tab-pill {
  padding: 7px 16px; border-radius: 999px;
  border: 1px solid var(--border-dim);
  background: transparent; color: var(--text-muted);
  font-size: 12px; font-weight: 700; cursor: pointer;
  font-family: 'Manrope', sans-serif; transition: all 0.18s;
}
.tab-pill:hover { border-color: var(--border); color: var(--text); }
.tab-pill.active {
  background: rgba(197,172,126,0.10);
  border-color: rgba(197,172,126,0.40);
  color: var(--gold-2);
}


/* Panels */
.panel-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden; margin-bottom: 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}
.panel-header {
  padding: 16px 22px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(197,172,126,0.03);
}
.panel-header h2 {
  font: 700 12px/1 'Cinzel', serif;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-2); margin: 0;
}
.panel-body { padding: 22px; }
.admin-editor-card textarea {
  min-height: 430px;
}
.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.admin-kpi {
  border: 1px solid rgba(197,172,126,0.16);
  border-radius: 14px;
  background: rgba(255,255,255,0.025);
  padding: 16px;
  min-height: 90px;
}
.admin-kpi span {
  display: block;
  margin-bottom: 11px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.admin-kpi strong {
  display: block;
  color: var(--ink);
  font: 800 26px/1 'Cinzel', serif;
  overflow-wrap: anywhere;
}
.admin-command-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 18px;
}
.admin-command-card {
  min-height: 360px;
}
.admin-brief {
  border: 1px solid rgba(76,176,166,0.2);
  border-radius: 14px;
  background: rgba(76,176,166,0.06);
  padding: 18px;
}
.admin-brief strong {
  display: block;
  color: var(--gold-2);
  font: 800 15px/1.25 'Cinzel', serif;
  margin-bottom: 8px;
}
.admin-brief p {
  margin: 0;
  color: #c7c3d2;
  font-size: 13px;
  line-height: 1.65;
}
.admin-json-preview {
  max-height: 430px;
  overflow: auto;
  margin: 0;
  border: 1px solid rgba(197,172,126,0.14);
  border-radius: 12px;
  background: #070a11;
  color: #d9d5c9;
  padding: 16px;
  font: 12px/1.55 var(--font-mono);
}
.admin-empty-state,
.admin-loading-card {
  border: 1px dashed rgba(197,172,126,0.28);
  border-radius: 18px;
  background: rgba(17,21,33,0.58);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 34px;
}
.admin-empty-state strong,
.admin-loading-card strong {
  color: var(--gold-2);
  font: 800 18px/1.2 'Cinzel', serif;
}
.admin-empty-state p,
.admin-loading-card p {
  color: var(--text-muted);
  margin: 8px 0 0;
}
.admin-empty-state.error {
  border-color: rgba(239,68,68,0.34);
}
.admin-loader {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(197,172,126,0.18);
  border-top-color: var(--gold-2);
  margin-bottom: 14px;
  animation: adminSpin 0.8s linear infinite;
}
@keyframes adminSpin {
  to { transform: rotate(360deg); }
}


/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-full { grid-column: 1 / -1; }
label {
  display: block; font-size: 11px; font-weight: 700;
  color: var(--text-muted); text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 6px;
}
.input {
  width: 100%; padding: 10px 14px;
  background: var(--bg-input);
  color: var(--text); border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 13px;
  font-family: 'Manrope', sans-serif;
  transition: border-color 0.18s, box-shadow 0.18s;
  box-sizing: border-box;
}
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
textarea {
  width: 100%; min-height: 320px;
  background: var(--bg-input); color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 14px; font-family: var(--font-mono); font-size: 12px;
  line-height: 1.6; resize: vertical; box-sizing: border-box;
}
textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }


/* Tables */
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; }
th {
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-dim);
  text-align: left; padding: 11px 14px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}
td {
  padding: 12px 14px; font-size: 13px;
  color: var(--text); border-bottom: 1px solid var(--border-dim);
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(197,172,126,0.03); }


/* Badges */
.badge {
  display: inline-block; padding: 3px 9px;
  border-radius: 999px; font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.badge.green { background: rgba(34,197,94,0.10); color: #4ade80; border: 1px solid rgba(34,197,94,0.22); }
.badge.yellow { background: rgba(245,166,35,0.10); color: #fbbf24; border: 1px solid rgba(245,166,35,0.22); }
.badge.blue { background: rgba(59,130,246,0.10); color: #60a5fa; border: 1px solid rgba(59,130,246,0.22); }
.badge.red { background: rgba(239,68,68,0.10); color: #f87171; border: 1px solid rgba(239,68,68,0.22); }


/* Metric tiles */
.metric-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; margin-bottom: 20px; }
.metric-tile {
  padding: 20px; border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  position: relative; overflow: hidden;
}
.metric-tile::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--accent));
}
.metric-tile .m-num { font-size: 28px; font-weight: 900; letter-spacing: -1px; color: var(--ink); line-height: 1; }
.metric-tile .m-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 6px; font-weight: 600; }


/* Inline form row */
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }


/* Save bar */
.save-bar {
  position: fixed; bottom: 0; left: 264px; right: 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding: 14px 28px;
  display: flex; align-items: center; justify-content: space-between;
  z-index: 50;
  backdrop-filter: blur(12px);
  box-shadow: 0 -8px 32px rgba(0,0,0,0.3);
}
.save-bar .save-msg { font-size: 13px; color: var(--text-muted); }


/* Buttons in admin */
.btn-admin {
  border: 1px solid var(--border); background: transparent;
  color: var(--text); border-radius: var(--radius-sm);
  padding: 8px 16px; font-size: 12px; font-weight: 700;
  cursor: pointer; font-family: 'Manrope', sans-serif;
  transition: all 0.18s;
}
.btn-admin:hover { border-color: var(--gold); color: var(--gold-2); background: rgba(197,172,126,0.06); }
.btn-admin.primary {
  background: linear-gradient(135deg, #d8b679, #f1d7a3);
  color: #07080d; border-color: transparent;
  font-weight: 800;
}
.btn-admin.primary:hover { box-shadow: 0 4px 20px rgba(216,182,121,0.25); }
.btn-admin.danger { border-color: rgba(239,68,68,0.3); color: #f87171; }
.btn-admin.danger:hover { background: rgba(239,68,68,0.08); }


/* Welcome banner */
.welcome-banner {
  background: linear-gradient(135deg, rgba(76,176,166,0.10), rgba(216,182,121,0.06));
  border-bottom: 1px solid rgba(76,176,166,0.20);
  padding: 14px 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  font-size: 13px;
}
.welcome-banner .wb-icon { font-size: 20px; }
.welcome-banner .wb-title { font-weight: 800; font-size: 14px; }
.welcome-banner .wb-sub { font-size: 12px; color: var(--text-muted); }
.banner-btn {
  padding: 6px 14px; border-radius: 6px;
  border: 1px solid rgba(76,176,166,0.3);
  background: rgba(76,176,166,0.08);
  color: var(--accent); font-size: 12px; font-weight: 700;
  text-decoration: none; transition: all 0.15s;
}
.banner-btn:hover { background: rgba(76,176,166,0.15); border-color: rgba(76,176,166,0.5); }
.banner-dismiss {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-dim);
  font-size: 12px;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  font-family: 'Manrope', sans-serif;
}
.banner-dismiss:hover {
  border-color: rgba(197,172,126,0.18);
  color: var(--gold-2);
}


/* Sidebar toggle for mobile */
.sidebar-toggle {
  display: none; position: fixed; bottom: 80px; right: 20px; z-index: 200;
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #07080d; border: none; border-radius: 50%;
  font-size: 20px; cursor: pointer;
  box-shadow: 0 4px 16px rgba(216,182,121,0.30);
  align-items: center; justify-content: center;
}


/* Mobile responsive */
@media (max-width: 768px) {
  .admin-layout { grid-template-columns: 1fr !important }
  .admin-sidebar {
    position: fixed; left: 0; top: 73px; width: 260px;
    height: calc(100vh - 73px); z-index: 100;
    transform: translateX(-100%); transition: transform 0.25s cubic-bezier(.22,1,.36,1);
    box-shadow: 8px 0 32px rgba(0,0,0,0.5);
  }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-content { padding: 16px !important }
  .admin-hero { flex-direction: column; padding: 22px; }
  .admin-hero-actions .btn-admin { width: 100%; text-align: center; }
  .admin-kpi-grid { grid-template-columns: 1fr; }
  .admin-command-grid { grid-template-columns: 1fr; }
  .save-bar { left: 0 }
  .admin-header h1 { font-size: 18px }
  .sidebar-toggle { display: flex; }
  .form-grid { grid-template-columns: 1fr; }
  .metric-row { grid-template-columns: repeat(2, 1fr); }
}


/* ── TESTIMONIALS CAROUSEL ── */
.t-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(197,172,126,0.26);
  background: linear-gradient(180deg, rgba(17,21,33,0.88), rgba(7,8,13,0.96));
  box-shadow: 0 30px 90px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.03) inset;
  backdrop-filter: blur(10px);
  background:
    linear-gradient(115deg, rgba(7,8,13,0.96), rgba(18,23,36,0.88)),
    radial-gradient(circle at 80% 20%, rgba(76,176,166,0.18), transparent 38%);
  backdrop-filter: blur(14px);
  box-shadow:
    0 30px 90px rgba(0,0,0,0.48),
    0 0 0 1px rgba(241,215,163,0.06) inset;
}
.t-carousel:focus-visible {
  outline: 2px solid rgba(241,215,163,0.7);
  outline-offset: 6px;
}
.t-carousel::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    linear-gradient(rgba(216,182,121,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216,182,121,0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
.t-carousel::after {
  content: '';
  position: absolute;
  inset: 18px;
  pointer-events: none;
  z-index: 2;
  border: 1px solid rgba(216,182,121,0.13);
  border-radius: 18px;
}
.t-ambient {
  position: absolute;
  inset: -30%;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 20%, rgba(216,182,121,0.2), transparent 34%),
    radial-gradient(circle at 80% 70%, rgba(76,176,166,0.18), transparent 30%);
  filter: blur(24px);
  animation: meshShift 22s ease-in-out infinite;
}
.t-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(.22,1,.36,1);
  will-change: transform;
  position: relative;
  z-index: 3;
}
.t-card {
  flex: 0 0 100%;
  padding: 48px 70px;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.t-card-shell {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}
.t-card-index {
  position: absolute;
  top: -12px;
  right: 0;
  font: 800 10px/1 'Cinzel', serif;
  letter-spacing: 0.16em;
  color: rgba(241,215,163,0.55);
}
.t-card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.t-card-kicker::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--accent);
}
.t-card-quote {
  max-width: 760px;
  font: 700 clamp(22px, 3vw, 36px)/1.28 'Cinzel', serif;
  color: var(--ink);
  position: relative;
  padding-left: 34px;
  text-wrap: balance;
}
.t-card-quote::before {
  content: '"';
  position: absolute;
  left: -4px; top: -18px;
  font: 800 100px/1 'Cinzel', serif;
  color: rgba(216,182,121,0.24);
  line-height: 1;
}
.t-card-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(197,172,126,0.16);
}
.t-card-avatar {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(216,182,121,0.25), rgba(76,176,166,0.18));
  border: 1px solid rgba(197,172,126,0.35);
  display: flex; align-items: center; justify-content: center;
  font: 800 16px/1 'Cinzel', serif; color: var(--gold-2);
  flex-shrink: 0;
}
.t-card-meta { flex: 1; }
.t-card-name {
  font: 700 14px/1.2 'Cinzel', serif; color: var(--gold-2); letter-spacing: 0.04em;
}
.t-card-role { font-size: 12px; color: var(--muted); margin-top: 3px; }
.t-stars {
  display: flex;
  gap: 3px;
  color: #d8b679;
  font-size: 14px;
  padding: 7px 10px;
  border: 1px solid rgba(197,172,126,0.18);
  border-radius: 999px;
  background: rgba(7,10,17,0.38);
}


/* Arrows */
.t-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 10;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(197,172,126,0.3);
  background: rgba(11,14,23,0.8);
  backdrop-filter: blur(8px);
  color: var(--gold-2);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.t-arrow:hover { background: rgba(216,182,121,0.12); border-color: rgba(216,182,121,0.6); box-shadow: 0 4px 24px rgba(216,182,121,0.15); }
.t-prev { left: 16px; }
.t-next { right: 16px; }


/* Dot indicators */
.t-dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 20px;
}
.t-dot {
  width: 8px; height: 8px; border-radius: 50%;
  border: 1px solid rgba(197,172,126,0.35);
  background: transparent; cursor: pointer;
  transition: all 0.25s;
}
.t-dot.active {
  background: var(--gold); border-color: var(--gold);
  box-shadow: 0 0 8px rgba(216,182,121,0.4);
  transform: scale(1.3);
}
.t-hint {
  margin: 10px 0 0;
  text-align: center;
  color: rgba(159,156,174,0.7);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


/* Submit card */
.t-submit-card {
  max-width: 680px;
  margin-left: auto; margin-right: auto;
}
.t-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}


/* Responsive */
@media (max-width: 700px) {
  .t-card { padding: 34px 24px 38px; min-height: 310px; }
  .t-card-index { position: static; margin-bottom: 12px; }
  .t-card-quote { font-size: 21px; padding-left: 22px; }
  .t-card-quote::before { font-size: 72px; top: -12px; }
  .t-card-footer { align-items: flex-start; flex-wrap: wrap; }
  .t-stars { width: 100%; justify-content: center; }
  .t-form-grid { grid-template-columns: 1fr; }
  .t-arrow { width: 36px; height: 36px; }
  .t-prev { left: 8px; }
  .t-next { right: 8px; }
}


/* ── Chat Terminal ── */
.chat-terminal {
  border: 1px solid rgba(197,172,126,0.25);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(7,10,17,0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(197,172,126,0.08) inset;
  position: relative;
}
.terminal-dot-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(14,17,25,0.98);
  border-bottom: 1px solid rgba(197,172,126,0.15);
}
.terminal-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.terminal-dot.red    { background: #ff5f57; }
.terminal-dot.yellow { background: #febc2e; }
.terminal-dot.green  { background: #28c840; }
.terminal-title {
  margin-left: 8px;
  font: 600 11px/1 'Manrope', monospace;
  color: rgba(159,156,174,0.6);
  letter-spacing: 0.06em;
}
.chat-header {
  background: rgba(24,28,43,0.95) !important;
  border-bottom: 1px solid rgba(197,172,126,0.2) !important;
}


/* ── Pricing Tier Badges & Counters ── */
.tier-badge {
  display: inline-block;
  border: 1px solid rgba(197,172,126,0.35);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 12px;
  background: rgba(216,182,121,0.08);
}
.pro-card .tier-badge {
  border-color: rgba(76,176,166,0.4);
  color: var(--accent);
  background: rgba(76,176,166,0.12);
}
.studio-card .tier-badge {
  border-color: rgba(134,239,172,0.4);
  color: #86efac;
  background: rgba(134,239,172,0.08);
}
.price-num {
  margin: 8px 0 4px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.money-value {
  font: 800 clamp(36px,4vw,52px)/1 'Cinzel', serif;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.price-num.annual-display {
  display: none;
}
.price-num.annual-display.active {
  display: flex;
}
.price-num.montly-display.hidden {
  display: none;
}
.price-note {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}
.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #c2bfd0;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.price-features li::before {
  content: '✓';
  color: var(--gold-2);
  font-weight: 700;
  flex-shrink: 0;
}
.pro-card .price-features li::before { color: var(--accent); }
.studio-card .price-features li::before { color: #86efac; }
.price-features li:hover {
  background: rgba(216,182,121,0.06);
  color: var(--ink);
}
.price-card {
  border: 1px solid rgba(197,172,126,0.2);
  border-radius: 20px;
  background: rgba(17,21,33,0.75);
  padding: 32px 28px;
  backdrop-filter: blur(10px);
  transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
  position: relative;
  overflow: hidden;
}
.price-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(216,182,121,0.5), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.price-card:hover::before { opacity: 1; }
.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(216,182,121,0.2);
}
.pro-card {
  border-color: rgba(76,176,166,0.3);
  background: rgba(17,21,33,0.85);
}
.pro-card::before {
  background: linear-gradient(90deg, transparent, rgba(76,176,166,0.6), transparent) !important;
}
.pro-card:hover {
  box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(76,176,166,0.3) !important;
}
.pro-card .tier-name {
  color: var(--accent) !important;
}
.annual-savings {
  font-size: 11px;
  color: #86efac;
  font-weight: 700;
  margin-top: 4px;
  display: none;
}
.billing-note.annual-note { display: none; }
.billing-note.annual-note.active { display: block; }
.billing-note.montly-note { display: block; }
.billing-note.montly-note.active { display: none; }

/* ══════════════════════════════════
   #7 PRICING — Tier badges + featured accents
   ══════════════════════════════════ */
.tier-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  font-family: 'Cinzel', serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bg);
  background: linear-gradient(135deg, #d8b679, #f1d7a3);
  border: 1px solid rgba(216,182,121,0.5);
  margin-bottom: 12px;
}
.pro-card {
  border-color: rgba(216,182,121,0.5) !important;
  box-shadow: 0 0 0 1px rgba(216,182,121,0.15), 0 20px 60px rgba(0,0,0,0.3) !important;
}
.pro-card:hover {
  border-color: rgba(216,182,121,0.7) !important;
  box-shadow: 0 0 0 1px rgba(216,182,121,0.25), 0 28px 80px rgba(216,182,121,0.15) !important;
}
.recommended-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  margin-left: 8px;
  vertical-align: middle;
}
.price-card .price-num {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}

/* Trial + onboarding conversion surfaces */
.trial-page,
.onboarding-page {
  min-height: 100vh;
}

.trial-topbar,
.onboarding-topbar {
  padding-top: 24px;
}

.trial-shell,
.onboarding-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.trial-shell {
  padding: 56px 0 96px;
}

.trial-hero {
  position: relative;
  min-height: 660px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 38px;
  align-items: center;
  padding: 54px;
  border: 1px solid rgba(197,172,126,0.22);
  border-radius: 26px;
  background:
    linear-gradient(118deg, rgba(9,12,20,0.96), rgba(17,21,33,0.78) 48%, rgba(7,8,13,0.98)),
    radial-gradient(circle at 18% 18%, rgba(216,182,121,0.18), transparent 34%),
    radial-gradient(circle at 86% 72%, rgba(76,176,166,0.16), transparent 38%);
  box-shadow: 0 40px 130px rgba(0,0,0,0.48), inset 0 1px 0 rgba(255,255,255,0.05);
  overflow: hidden;
}

.trial-hero::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(197,172,126,0.12);
  border-radius: 20px;
  pointer-events: none;
}

.trial-hero::after {
  content: "";
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(rgba(197,172,126,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197,172,126,0.08) 1px, transparent 1px);
  background-size: 52px 52px;
  transform: rotate(-8deg);
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 72%);
  opacity: 0.34;
  pointer-events: none;
}

.trial-copy,
.trial-panel,
.trial-radar {
  position: relative;
  z-index: 2;
}

.trial-copy h1,
.setup-rail h1,
.setup-panel h2 {
  font-family: "Cinzel", serif;
  letter-spacing: 0.01em;
}

.trial-copy h1 {
  max-width: 720px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  margin: 0 0 24px;
}

.trial-copy p:not(.eyebrow) {
  max-width: 620px;
  color: #c4c0d2;
  font-size: 17px;
  line-height: 1.75;
}

.trial-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.trial-proof-row span {
  border: 1px solid rgba(197,172,126,0.28);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--gold-2);
  background: rgba(216,182,121,0.06);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.trial-panel {
  border: 1px solid rgba(197,172,126,0.28);
  border-radius: 22px;
  background: rgba(7,10,17,0.84);
  backdrop-filter: blur(14px);
  padding: 28px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.42), inset 0 1px 0 rgba(255,255,255,0.05);
}

.trial-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(197,172,126,0.14);
}

.trial-panel-head span,
.setup-kicker,
.trial-field-group label,
.trial-plan span,
.brand-preview-panel span,
.setup-progress strong {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.trial-panel-head strong {
  color: var(--gold-2);
  font-family: "Cinzel", serif;
  font-size: 17px;
}

.trial-field-group {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

.trial-field-grid,
.setup-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.trial-page .input,
.onboarding-page .input {
  min-height: 48px;
  border-radius: 12px;
  border-color: rgba(197,172,126,0.24);
  background: rgba(8,11,19,0.88);
  color: var(--ink);
}

.trial-plan-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0;
}

.trial-plan {
  cursor: pointer;
  text-align: left;
  border: 1px solid rgba(197,172,126,0.2);
  border-radius: 14px;
  padding: 13px 14px;
  color: var(--ink);
  background: rgba(17,21,33,0.62);
  font-family: "Manrope", sans-serif;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.trial-plan strong {
  display: block;
  margin-top: 3px;
  color: var(--gold-2);
  font-size: 13px;
}

.trial-plan.active {
  border-color: rgba(216,182,121,0.62);
  background: rgba(216,182,121,0.1);
  box-shadow: 0 0 0 3px rgba(216,182,121,0.08);
}

.trial-plan:hover {
  transform: translateY(-2px);
}

.trial-submit {
  width: 100%;
  justify-content: center;
  min-height: 50px;
}

.trial-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.trial-message,
.setup-status {
  min-height: 20px;
  margin-top: 12px;
  color: var(--gold-2);
  font-size: 13px;
}

.trial-radar {
  grid-column: 1 / -1;
  height: 150px;
  margin-top: -14px;
}

.radar-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(680px, 80vw);
  aspect-ratio: 1;
  border: 1px solid rgba(76,176,166,0.24);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(76,176,166,0.08), transparent 60%);
  animation: radarPulse 5s ease-in-out infinite;
}

.radar-card {
  position: absolute;
  width: 210px;
  border: 1px solid rgba(197,172,126,0.22);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(9,12,20,0.9);
  box-shadow: 0 18px 46px rgba(0,0,0,0.32);
}

.radar-card span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
}

.radar-card strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 14px;
}

.radar-card-one { left: 7%; top: 34px; }
.radar-card-two { left: calc(50% - 105px); top: 0; }
.radar-card-three { right: 7%; top: 50px; }

@keyframes radarPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(0.94); opacity: 0.56; }
  50% { transform: translate(-50%, -50%) scale(1.04); opacity: 0.92; }
}

.onboarding-shell {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 26px;
  padding: 48px 0 92px;
}

.setup-rail,
.setup-stage {
  border: 1px solid rgba(197,172,126,0.22);
  background: rgba(7,10,17,0.72);
  backdrop-filter: blur(12px);
  box-shadow: 0 26px 90px rgba(0,0,0,0.36);
}

.setup-rail {
  position: sticky;
  top: 24px;
  align-self: start;
  border-radius: 22px;
  padding: 28px;
}

.setup-rail h1 {
  font-size: 30px;
  line-height: 1.12;
  margin: 12px 0 28px;
}

.setup-progress {
  margin-bottom: 26px;
}

.setup-track {
  height: 7px;
  border-radius: 999px;
  background: rgba(197,172,126,0.14);
  overflow: hidden;
  margin-bottom: 10px;
}

.setup-track span {
  display: block;
  height: 100%;
  width: 25%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--gold-2));
  transition: width 0.28s ease;
}

.setup-steps {
  list-style: none;
  display: grid;
  gap: 10px;
}

.setup-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(197,172,126,0.12);
  border-radius: 14px;
  color: var(--muted);
  background: rgba(17,21,33,0.42);
  font-size: 13px;
  font-weight: 800;
}

.setup-steps li span {
  color: var(--gold-2);
  font-family: "Cinzel", serif;
}

.setup-steps li.active,
.setup-steps li.done {
  color: var(--ink);
  border-color: rgba(216,182,121,0.3);
  background: rgba(216,182,121,0.08);
}

.setup-stage {
  border-radius: 24px;
  min-height: 660px;
  overflow: hidden;
}

.setup-panel {
  display: none;
  min-height: 660px;
  padding: 46px;
  position: relative;
}

.setup-panel.active {
  display: block;
  animation: setupPanelIn 0.36s ease both;
}

.setup-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 12%, rgba(216,182,121,0.16), transparent 32%),
    radial-gradient(circle at 12% 90%, rgba(76,176,166,0.14), transparent 34%);
  pointer-events: none;
}

.setup-panel > * {
  position: relative;
  z-index: 1;
}

.setup-panel h2 {
  max-width: 720px;
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.setup-subcopy {
  max-width: 650px;
  color: #c4c0d2;
  margin-bottom: 28px;
}

.setup-chat {
  min-height: 260px;
  max-height: 360px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(197,172,126,0.18);
  border-radius: 18px;
  background:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px),
    rgba(8,11,19,0.78);
  background-size: 28px 28px;
}

.setup-bubble {
  max-width: min(520px, 86%);
  border: 1px solid rgba(197,172,126,0.16);
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.55;
  background: rgba(17,21,33,0.72);
  color: var(--ink);
}

.setup-bubble.user {
  align-self: flex-end;
  border-color: rgba(76,176,166,0.32);
  background: rgba(76,176,166,0.14);
}

.setup-chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 14px;
}

.setup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.setup-actions.split {
  justify-content: space-between;
}

.setup-form-grid label {
  display: grid;
  gap: 7px;
  margin: 0;
}

.brand-preview-panel {
  margin-top: 18px;
  border: 1px solid rgba(197,172,126,0.2);
  border-radius: 18px;
  padding: 18px;
  background: rgba(8,11,19,0.74);
}

.brand-preview-panel strong {
  display: block;
  margin-top: 8px;
  color: var(--gold-2);
  font: 800 24px/1.1 "Cinzel", serif;
}

.brand-preview-panel p {
  margin-top: 7px;
  color: var(--muted);
}

.launch-checklist {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.launch-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 14px;
  text-decoration: none;
  border: 1px solid rgba(197,172,126,0.2);
  border-radius: 16px;
  padding: 16px;
  background: rgba(17,21,33,0.62);
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.launch-item:hover {
  transform: translateY(-3px);
  border-color: rgba(216,182,121,0.42);
  background: rgba(216,182,121,0.07);
}

.launch-item span {
  grid-row: span 2;
  color: var(--accent);
  font: 800 20px/1 "Cinzel", serif;
}

.launch-item strong {
  color: var(--gold-2);
}

.launch-item em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

@keyframes setupPanelIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .trial-hero,
  .onboarding-shell {
    grid-template-columns: 1fr;
  }

  .trial-hero {
    padding: 36px;
  }

  .setup-rail {
    position: relative;
    top: auto;
  }
}

@media (max-width: 700px) {
  .trial-shell,
  .onboarding-shell {
    width: min(100% - 24px, 1180px);
    padding-top: 26px;
  }

  .trial-hero,
  .setup-panel {
    padding: 24px;
  }

  .trial-field-grid,
  .trial-plan-row,
  .setup-form-grid,
  .setup-chat-form {
    grid-template-columns: 1fr;
  }

  .trial-radar {
    height: auto;
    display: grid;
    gap: 10px;
    margin-top: 10px;
  }

  .radar-ring {
    display: none;
  }

  .radar-card {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .setup-stage,
  .setup-panel {
    min-height: auto;
  }

  .setup-actions,
  .setup-actions.split {
    flex-direction: column;
  }

  .setup-actions .btn {
    justify-content: center;
  }
}


/* Trial + onboarding visual refinement */
.trial-hero, .setup-panel, .setup-rail { box-shadow: 0 28px 80px rgba(0,0,0,0.36); }
.trial-hero { border-radius: 28px; }
.trial-panel { background: rgba(10,14,22,0.72); }
.setup-rail { backdrop-filter: blur(18px); }
.setup-panel.active { border-color: rgba(216,182,121,0.42); }
.setup-chat { background: rgba(8,10,15,0.55); }
.trial-proof-row span { letter-spacing: .08em; }

/* Mobile QA fixes — keep the paid-customer path readable on phones. */
.hero-title .word {
  animation-name: wordReveal;
  animation-duration: 0.72s;
  animation-timing-function: cubic-bezier(.22,1,.36,1);
  animation-fill-mode: forwards;
}

@media (max-width: 600px) {
  .wrap {
    width: 100%;
    max-width: 100%;
    padding: 0 16px 132px;
    overflow: hidden;
  }

  .brand {
    min-width: 0;
  }

  .brand-text {
    min-width: 0;
  }

  .brand-text h1 {
    font-size: 18px;
  }

  .brand-text p {
    max-width: 230px;
    overflow-wrap: anywhere;
    letter-spacing: 0.12em;
  }

  .hero-section {
    margin-top: 24px;
    padding: 26px 18px 30px;
    border-radius: 16px;
  }

  .hero-section,
  .hero-grid,
  .hero-card-stack,
  .hero-content {
    min-width: 0;
    max-width: 100%;
  }

  .hero-card-stack {
    justify-content: flex-start;
  }

  .hero-content {
    width: 100%;
  }

  .hero-title {
    margin: 8px 0 12px;
    max-width: 292px;
  }

  .hero-title .word {
    font-size: clamp(23px, 7.4vw, 30px);
    line-height: 1.08;
    margin-right: 0.12em;
  }

  .hero-title .word,
  .hero-title .word-wrap {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    animation: none !important;
  }

  .hero-copy {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 16px;
    max-width: 31ch;
    overflow-wrap: anywhere;
  }

  .hero-action-cluster {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-action-cluster .btn,
  #urgency-bar .btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }

  .hero-steps {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 20px;
  }

  .hero-card {
    display: none;
  }
}

@media (max-width: 560px) {
  .onboarding-topbar {
    overflow: hidden;
  }

  .onboarding-topbar nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .onboarding-topbar nav a {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 768px) {
  .admin-topbar {
    width: 100%;
    max-width: 100%;
    padding: 20px 16px 16px;
    overflow: hidden;
  }

  .admin-top-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-top-actions .btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }

  .welcome-banner {
    padding: 14px 16px;
    overflow: hidden;
    align-items: stretch;
    flex-direction: column;
  }

  .welcome-banner > div {
    width: 100%;
    min-width: 0;
  }

  .welcome-banner > div:last-child {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 6px !important;
  }

  .welcome-banner .wb-title,
  .welcome-banner .wb-sub {
    overflow-wrap: anywhere;
  }

  .welcome-banner .banner-btn,
  .welcome-banner .banner-dismiss {
    width: 100%;
    max-width: 100%;
    text-align: center;
    white-space: normal;
  }

  .admin-content {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
  }

  .admin-hero h2 {
    font-size: clamp(24px, 7vw, 32px);
    overflow-wrap: anywhere;
  }

  .admin-panel-host,
  .panel-card,
  .panel-body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .table-wrap,
  .admin-json-preview {
    overflow-x: auto;
  }

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

/* Final design audit overrides — must stay at the bottom because this file has
   several historical design passes above. */
.hero-card-shadow {
  display: none !important;
}

.hero-card-stack {
  justify-content: flex-start;
  min-width: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-title {
  max-width: 780px;
  text-wrap: balance;
}

.hero-title .word,
.hero-title .word-wrap,
.hero-title span {
  clip-path: none !important;
}

.trial-page,
.onboarding-page {
  overflow-x: hidden;
}

.trial-copy,
.trial-panel {
  min-width: 0;
}

.trial-copy h1 {
  max-width: 12ch;
  text-wrap: balance;
}

.trial-copy p:not(.eyebrow) {
  max-width: 56ch;
}

@media (max-width: 700px) {
  .trial-topbar {
    width: 100%;
    max-width: 100%;
    padding: 20px 16px 10px;
    overflow: hidden;
  }

  .trial-topbar nav {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .trial-topbar nav a,
  .trial-topbar nav .btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }

  .trial-shell {
    width: min(100% - 24px, 1180px);
    padding: 18px 0 120px;
  }

  .trial-hero {
    min-height: auto;
    padding: 28px 20px;
    overflow: hidden;
  }

  .trial-copy h1 {
    max-width: 100%;
    font-size: clamp(34px, 11vw, 46px);
    line-height: 1.04;
  }

  .trial-copy p:not(.eyebrow) {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.62;
  }

  .trial-panel {
    padding: 20px;
  }

  .trial-panel-head {
    display: grid;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

/* Last-mile mobile overflow guard. This intentionally sits after all previous
   historical overrides. */
@media (max-width: 700px) {
  .trial-hero {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .trial-copy h1 {
    max-width: min(10.5ch, calc(100vw - 72px)) !important;
    font-size: clamp(28px, 8.6vw, 34px) !important;
    line-height: 1.06 !important;
    text-wrap: normal !important;
    overflow-wrap: anywhere !important;
  }

  .trial-copy p:not(.eyebrow) {
    max-width: 22ch !important;
    font-size: 15px !important;
    line-height: 1.62 !important;
    overflow-wrap: anywhere !important;
  }
}

@media (max-width: 600px) {
  .hero-title {
    max-width: min(23ch, calc(100vw - 76px)) !important;
    font-size: clamp(21px, 6.2vw, 25px) !important;
    line-height: 1.1 !important;
    text-wrap: normal !important;
    overflow-wrap: anywhere !important;
  }

  .hero-title .word,
  .hero-title .word-wrap,
  .hero-title span {
    display: inline !important;
    font-size: inherit !important;
    line-height: inherit !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  .hero-copy {
    max-width: min(32ch, calc(100vw - 76px)) !important;
  }
}

/* Live marketing page final pass — intentionally last. */
html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
.wrap, .topbar, .site-footer { width: min(1180px, calc(100% - 32px)); }
.topbar, .wrap { padding-left: 0; padding-right: 0; }
.hero-section { padding: clamp(34px, 4.5vw, 56px) !important; }
.hero-grid { grid-template-columns: minmax(0, 1fr) minmax(280px, 340px) !important; gap: clamp(24px, 4vw, 44px) !important; }
.hero-title { max-width: 720px !important; font-size: clamp(36px, 4.05vw, 58px) !important; line-height: 1.04 !important; }
.word { font-size: inherit !important; animation-duration: 0.46s !important; margin-right: 0.18em; }
.w1 { animation-delay: 0.08s !important; } .w2 { animation-delay: 0.13s !important; } .w3 { animation-delay: 0.18s !important; } .w4 { animation-delay: 0.23s !important; } .w5 { animation-delay: 0.28s !important; }
.w6 { animation-delay: 0.33s !important; } .w7 { animation-delay: 0.38s !important; } .w8 { animation-delay: 0.43s !important; } .w9 { animation-delay: 0.48s !important; } .w10 { animation-delay: 0.53s !important; }
.w11 { animation-delay: 0.58s !important; } .w12 { animation-delay: 0.63s !important; } .w13 { animation-delay: 0.68s !important; } .w14 { animation-delay: 0.73s !important; } .w15 { animation-delay: 0.78s !important; }
#hero-sub { animation-delay: 0.82s !important; } .hero-action-cluster { animation-delay: 0.94s !important; } .hero-steps, .cred-row { animation-delay: 1.04s !important; }
.reveal.visible .how-card, .reveal.visible .faq-item { opacity: 1 !important; transform: translateY(0) scale(1) !important; }
.price { display: flex; flex-direction: column; min-height: 100%; } .price .plan-cta { margin-top: auto; }
.recommended-badge { position: absolute; top: 14px; right: 14px; border: 1px solid rgba(76,176,166,0.38); border-radius: 999px; background: rgba(76,176,166,0.1); color: #9ee7df; padding: 5px 10px; font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
@media (max-width: 1080px) { .hero-grid { grid-template-columns: 1fr !important; } .hero-card { max-width: none; } }
@media (max-width: 760px) { .wrap, .topbar, .site-footer { width: min(100% - 20px, 1180px); } .hero-section { padding: 26px 14px 104px !important; border-radius: 18px; } .hero-title { max-width: 100% !important; font-size: clamp(25px, 8.2vw, 34px) !important; line-height: 1.08 !important; overflow-wrap: normal !important; } .hero-copy { max-width: 100% !important; font-size: 14px; } .section-head h3 { max-width: 100%; font-size: clamp(23px, 7.6vw, 32px) !important; line-height: 1.08 !important; overflow-wrap: anywhere; word-break: break-word; hyphens: auto; } .hero-action-cluster, .hero-action-cluster .btn, .mobile-pricing-cta .btn { width: 100%; } .hero-action-cluster .btn, .mobile-pricing-cta .btn { justify-content: center; } .hero-card { display: grid; grid-template-columns: 1fr; } #urgency-bar { display: none !important; } .mobile-pricing-cta { left: 10px; right: 10px; bottom: 10px; } .floating-chat-btn { bottom: 94px; } }
@media (hover: none) { .card:hover, .how-step:hover, .how-explain-card:hover, .final-proof-card:hover { transform: none !important; } }

/* Mobile metric card polish. */
@media (max-width: 760px) { .metric-row { align-items: stretch !important; } .metric-lbl { display: block; width: 100%; margin-top: 4px; text-align: left !important; letter-spacing: 0.06em; white-space: normal; overflow-wrap: anywhere; } .metric-val { font-size: 24px !important; } }

@media (max-width: 760px) {
  #urgency-bar {
    display: none !important;
  }

  .mobile-pricing-cta {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    left: 10px !important;
    right: 10px !important;
    bottom: 10px !important;
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + 18px));
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .mobile-pricing-cta.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-pricing-copy {
    text-align: left;
  }

  .mobile-pricing-cta .btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }

  .floating-chat-btn {
    bottom: 92px !important;
  }
}
