/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0f0f23;
  --bg-alt: #14142e;
  --surface: #1c1c38;
  --surface-glass: rgba(28, 28, 56, 0.6);
  --border: rgba(255, 255, 255, 0.08);
  --coral: #FF6B4A;
  --coral-dim: rgba(255, 107, 74, 0.15);
  --amber: #FFB347;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --font-head: 'Syne', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* === SKIP LINK === */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 12px 20px;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border-radius: 0 0 8px 0;
}
.skip-link:focus,
.skip-link:focus-visible {
  left: 0;
}

/* === FOCUS VISIBLE === */
:focus-visible { outline: none; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface); border-radius: 3px; }

/* === NAV === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 48px;
  display: flex;
  align-items: center;
  background: rgba(15, 15, 35, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: #fff;
}
.nav-link .nav-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral);
  background: var(--coral-dim);
  border: 1px solid rgba(255, 107, 74, 0.3);
  border-radius: 999px;
  vertical-align: middle;
  line-height: 1.6;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 48px 80px;
  position: relative;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(255, 107, 74, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(99, 102, 241, 0.05) 0%, transparent 60%),
    var(--bg);
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: start;
}
.hero-badge {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral);
  background: var(--coral-dim);
  border: 1px solid rgba(255, 107, 74, 0.3);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(52px, 6vw, 88px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 460px;
  line-height: 1.65;
  margin-bottom: 36px;
}
.hero-gradient-line {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--coral), var(--amber), transparent);
  opacity: 0.3;
}

/* === SCREEN FRAME === */
.screen-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,107,74,0.1), inset 0 1px 0 rgba(255,255,255,0.05);
  max-width: 380px;
}
.screen-topbar {
  background: rgba(0,0,0,0.3);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border);
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }
.live-tag {
  margin-left: auto;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  color: var(--coral);
  letter-spacing: 0.08em;
}
.screen-body {
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: center;
  min-height: 200px;
}
.avatar-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.avatar-glow-ring {
  width: 90px; height: 90px;
  animation: spin-slow 20s linear infinite;
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.avatar-head {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  position: relative;
  box-shadow: 0 0 24px rgba(99,102,241,0.4);
}
.avatar-face {
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 28px; height: 24px;
  background: rgba(255,255,255,0.2);
  border-radius: 50% 50% 40% 40%;
}
.avatar-hair {
  position: absolute;
  top: -4px; left: -2px; right: -2px;
  height: 24px;
  background: rgba(0,0,0,0.3);
  border-radius: 12px 12px 0 0;
}
.avatar-label {
  font-size: 10px;
  color: var(--text-muted);
  font-family: var(--font-head);
  text-align: center;
}
.comment-stack {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.comment {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  border: 1px solid var(--border);
}
.comment-avatar-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
}
.comment-text {
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.1);
}
.screen-footer {
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.viewer-count {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
}
.platform-tag {
  font-family: var(--font-head);
  font-size: 10px;
  color: var(--text-muted);
  background: rgba(255,255,255,0.06);
  padding: 3px 8px;
  border-radius: 4px;
}

/* === HERO RIGHT === */
.hero-right {
  padding-top: 8px;
}
.stat-block {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.stat-block:last-child { border-bottom: none; }
.stat-number {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 800;
  color: var(--coral);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.4;
}

/* === HOW IT WORKS === */
.howitworks {
  padding: 100px 48px;
  background: var(--bg-alt);
  position: relative;
}
.howitworks::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.section-header {
  max-width: 680px;
  margin: 0 auto 64px;
  text-align: center;
}
.section-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.15;
}
.section-sub {
  color: var(--text-muted);
  margin-top: 12px;
  font-size: 16px;
}
.steps-grid {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}
.step-card {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.step-card:hover {
  border-color: rgba(255,107,74,0.3);
  box-shadow: 0 0 40px rgba(255,107,74,0.05);
}
.step-number {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  color: var(--coral);
  letter-spacing: 0.1em;
  opacity: 0.6;
  margin-bottom: 16px;
}
.step-icon {
  margin-bottom: 20px;
}
.step-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.step-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
.step-connector {
  padding: 0 8px;
  flex-shrink: 0;
}

/* === PERSONAS === */
.personas {
  padding: 100px 48px;
  background: var(--bg);
}
.persona-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.persona-card {
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: border-color 0.3s, transform 0.3s;
}
.persona-card:hover {
  border-color: rgba(255,107,74,0.25);
  transform: translateY(-2px);
}
.p-avatar-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.persona-name {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.persona-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* === MANIFESTO === */
.manifesto {
  padding: 100px 48px;
  background: var(--bg-alt);
  position: relative;
}
.manifesto::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.manifesto-inner {
  max-width: 680px;
  margin: 0 auto;
}
.manifesto-label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 20px;
  margin-top: 40px;
}
.manifesto-label:first-child { margin-top: 0; }
.manifesto-statement {
  font-family: var(--font-head);
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.manifesto-statement em {
  font-style: normal;
  color: var(--coral);
}
.manifesto-accent { color: var(--text-muted); font-size: 0.85em; }
.manifesto-break {
  width: 40px;
  height: 2px;
  background: var(--coral);
  margin: 48px 0;
  border-radius: 1px;
}

/* === CLOSING === */
.closing {
  padding: 120px 48px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.closing-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.closing-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse at center, rgba(255,107,74,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.closing-headline {
  font-family: var(--font-head);
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.closing-sub {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto 40px;
}
.closing-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 20px;
  border-radius: 20px;
}

.thanks-steps {
  list-style: decimal;
  padding-left: 20px;
  max-width: 520px;
  margin: 24px auto 0;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  text-align: left;
}
.thanks-steps li {
  margin-bottom: 12px;
  padding-left: 6px;
}
.thanks-steps li strong {
  color: #fff;
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}
.contact-form {
  max-width: 640px;
  margin: 48px auto 0;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-align: left;
}
.contact-form-field { margin-bottom: 20px; }
.contact-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px var(--coral-dim);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-muted); }

/* === FOOTER === */
.footer {
  padding: 40px 48px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: var(--bg-alt);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
}
.footer-tagline {
  font-family: var(--font-head);
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}
.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}
.footer-copy a {
  color: var(--coral);
  text-decoration: none;
}
.footer-copy a:hover { text-decoration: underline; }

/* === SHOWCASE === */
.showcase {
  padding: 100px 48px;
  background: var(--bg-alt);
  text-align: center;
}
.showcase-video-wrap {
  max-width: 720px;
  margin: 48px auto 0;
}
.showcase-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,107,74,0.1), inset 0 1px 0 rgba(255,255,255,0.05);
}
.showcase-iframe-ratio {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.showcase-iframe-ratio iframe,
.showcase-iframe-ratio video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.showcase-iframe-ratio video {
  opacity: 0;
  transition: opacity .25s ease;
}
.showcase-iframe-ratio.is-playing video,
.showcase-iframe-ratio:hover video,
.showcase-iframe-ratio:focus-within video {
  opacity: 1;
}
.showcase-caption {
  margin-top: 24px;
  font-size: 15px;
  color: var(--text-muted);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.showcase-cta {
  margin-top: 28px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .showcase { padding: 64px 24px; }
  .hero { padding: 100px 24px 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { display: none; }
  .steps-grid { flex-direction: column; gap: 16px; }
  .step-connector { transform: rotate(90deg); padding: 0; }
  .persona-grid { grid-template-columns: 1fr; }
  .howitworks, .personas, .manifesto, .closing { padding: 64px 24px; }
  .contact-form { margin-top: 32px; padding: 24px; }
  .nav { padding: 16px 24px; }
  .screen-frame { max-width: 100%; }
  .footer { padding: 32px 24px; }
  .pricing-table-wrap { padding: 0 16px; }
  .pricing-table th,
  .pricing-table td { padding: 12px 12px; font-size: 13px; }
  .pricing-table__tier { font-size: 16px; }
  .pricing-table__price { font-size: 24px; }
}

@media (max-width: 600px) {
  .pricing-table thead { display: none; }
  .pricing-table,
  .pricing-table tbody,
  .pricing-table tr,
  .pricing-table th,
  .pricing-table td { display: block; }
  .pricing-table tbody tr { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .pricing-table tbody tr:last-child { border-bottom: none; }
  .pricing-table__feature { padding: 4px 12px 8px; font-size: 14px; }
  .pricing-table__cell { padding: 8px 12px; font-size: 13px; display: flex; align-items: center; gap: 10px; }
  .pricing-table__cell::before {
    content: attr(data-tier);
    text-transform: capitalize;
    font-weight: 600;
    color: var(--coral);
    min-width: 110px;
  }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 44px; }
  .persona-card { flex-direction: column; }
  .step-card { padding: 24px 20px; }
  .hero-waitlist { flex-direction: column; }
  .contact-form { padding: 20px; }
  .contact-form .btn-primary { width: 100%; }
  .pricing-table-wrap { padding: 0 12px; }
  .pricing-table__cell::before { min-width: 90px; font-size: 12px; }
}

/* === HERO CTA === */
.hero-cta-wrap {
  margin-top: 8px;
}

/* === BUTTONS === */
.btn-primary {
  display: inline-block;
  background: var(--coral);
  color: #fff;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: filter 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  filter: brightness(1.1);
}
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--coral);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  border: 1.5px solid var(--coral);
  transition: background 0.2s, color 0.2s;
}
.btn-secondary:hover {
  background: var(--coral);
  color: #fff;
}
.btn-nav-cta {
  display: inline-block;
  background: var(--coral);
  color: #fff;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  transition: filter 0.2s;
}
.btn-nav-cta:hover {
  filter: brightness(1.1);
}

/* === HERO IMAGE === */
.hero-img-wrap {
  max-width: 1100px;
  margin: 48px auto 0;
  width: 100%;
}
.hero-img {
  width: 100%;
  max-width: 1100px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(0,0,0,0.4);
  display: block;
}

/* === FEATURES === */
.features {
  padding: 100px 48px;
  background: var(--bg-alt);
}
.features .section-header {
  max-width: 680px;
  margin: 0 auto 64px;
  text-align: center;
}
.features-cta {
  text-align: center;
  margin-top: 48px;
}
.feature-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.3s, transform 0.3s;
}
.feature-card:hover {
  border-color: rgba(255,107,74,0.3);
  transform: translateY(-2px);
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--coral-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-title {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.feature-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* === PRICING === */
.pricing {
  padding: 100px 48px;
  background: var(--bg);
}
.pricing .section-header {
  max-width: 680px;
  margin: 0 auto 64px;
  text-align: center;
}
.pricing-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.pricing-highlight {
  border-color: var(--coral);
  box-shadow: 0 0 40px rgba(255,107,74,0.15);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--coral);
  color: #fff;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pricing-tier {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--coral);
  margin-bottom: 2px;
}
.pricing-sublabel {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--coral);
  opacity: 0.65;
  margin-bottom: 8px;
}
.pricing-price {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 24px;
}
.pricing-period {
  font-size: 18px;
  color: var(--text-muted);
  font-weight: 600;
}
.pricing-feature-list {
  list-style: none;
  margin: 0 0 28px;
  flex: 1;
}
.pricing-feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  padding: 6px 0;
}
.pricing-feature-list li svg {
  flex-shrink: 0;
}
.pricing-cta {
  width: 100%;
  text-align: center;
}
.pricing-grid--two {
  max-width: 720px;
  grid-template-columns: repeat(2, 1fr);
}
.pricing-waitlist-counter {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0 auto 1rem;
}

/* === PRICING COMPARISON TABLE === */
.pricing-table-wrap {
  max-width: 960px;
  margin: 64px auto 0;
  padding: 0 24px;
}
.pricing-table__heading {
  margin-bottom: 24px;
}
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.pricing-table th,
.pricing-table td {
  padding: 14px 18px;
  text-align: left;
  font-family: var(--font-body);
  color: var(--text-muted);
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.pricing-table th {
  color: var(--text);
  background: rgba(28, 28, 56, 0.4);
}
.pricing-table thead th {
  border-bottom: 1px solid var(--border);
}
.pricing-table tbody tr:nth-child(odd) th,
.pricing-table tbody tr:nth-child(odd) td {
  background: rgba(255, 255, 255, 0.02);
}
.pricing-table tbody tr:last-child th,
.pricing-table tbody tr:last-child td {
  border-bottom: none;
}
.pricing-table__feature-head {
  width: 40%;
}
.pricing-table__tier-head {
  width: 30%;
  text-align: center;
}
.pricing-table__tier {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  margin-bottom: 4px;
}
.pricing-table__sublabel {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--coral);
  opacity: 0.75;
  margin-bottom: 12px;
}
.pricing-table__price {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 12px;
}
.pricing-table__period {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
}
.pricing-table__cta {
  display: inline-block;
  width: auto;
  margin-top: 4px;
  text-align: center;
}
.pricing-table__cta-form { display: inline; margin: 0; padding: 0; }
.pricing-table__feature {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--text);
  text-align: left;
}
.pricing-table__cell {
  text-align: center;
}
.pricing-table__check {
  display: inline-block;
  vertical-align: middle;
}
.pricing-table__dash {
  color: var(--text-muted);
  opacity: 0.5;
  font-weight: 600;
}

/* === PRICING - BILLING CADENCE TOGGLE === */
.pricing-billing-toggle {
  max-width: 960px;
  margin: 36px auto 0;
  padding: 0 24px;
  display: flex;
  justify-content: center;
}
.pricing-billing-toggle__inner {
  display: inline-flex;
  align-items: stretch;
  gap: 4px;
  padding: 6px;
  background: rgba(28, 28, 56, 0.6);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-body, 'DM Sans', sans-serif);
}
.pricing-billing-toggle__btn {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--text-muted);
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}
.pricing-billing-toggle__btn[aria-pressed="true"] {
  background: var(--coral, #FF6B4A);
  color: #fff;
  box-shadow: 0 2px 8px rgba(255, 107, 74, 0.25);
}
.pricing-billing-toggle__btn:focus-visible {
  outline: 2px solid var(--coral, #FF6B4A);
  outline-offset: 2px;
}
.pricing-toggle__savings-badge {
  display: inline-block;
  background: rgba(28, 28, 56, 0.55);
  border: 1px solid rgba(255, 107, 74, 0.35);
  color: var(--coral, #FF6B4A);
  font-family: var(--font-head, 'Syne', sans-serif);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  margin-left: 4px;
}
.pricing-billing-toggle__btn[aria-pressed="true"] .pricing-toggle__savings-badge {
  background: #fff;
  color: var(--coral, #FF6B4A);
  border-color: transparent;
}

/* Cadence-driven FAQ hiding — the inline script sets `data-active-cadence`
   on the wrapping root; CSS does the actual hide so the JS stays thin. */
.faq-answer--cadence[hidden] { display: none; }

/* === PRICING - WAITLIST FORM (Free-tier CTA) === */
.pricing-soon form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.pricing-soon input[type="email"] {
  flex: 1 1 200px;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  font: inherit;
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 14px;
}
.pricing-soon input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.pricing-soon form .pricing-cta {
  width: auto;
  flex: 0 0 auto;
  padding: 10px 18px;
  font-size: 13px;
}
.pricing-soon-error {
  color: #fca5a5;
  font-size: 13px;
  margin-top: 8px;
}
.pricing-soon-success {
  color: #c4b5fd;
  font-size: 14px;
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 8px;
  background: rgba(168, 85, 247, 0.08);
}

/* === NAV LINKS === */
.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}
.nav-link {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover {
  color: #fff;
}

/* === RESPONSIVE UPDATES === */
@media (max-width: 768px) {
  .feature-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-grid--two { grid-template-columns: 1fr; }
  .features, .pricing { padding: 64px 24px; }
  .hero-img-wrap { margin-top: 32px; }
}
@media (max-width: 480px) {
  .pricing-price { font-size: 36px; }
  .nav-links { gap: 12px; }
}

/* === TESTIMONIALS === */
.testimonials {
  padding: 100px 48px;
  background: var(--bg);
}
.testimonial-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 640px;
  margin: 0 auto 64px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 40px;
}
.testimonial-stat {
  flex: 1;
  text-align: center;
}
.testimonial-stat-num {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  color: var(--coral);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}
.testimonial-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}
.testimonial-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}
.testimonial-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  transition: border-color 0.3s, transform 0.3s;
}
.testimonial-card:hover {
  border-color: rgba(255, 107, 74, 0.3);
  transform: translateY(-2px);
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-bottom: 14px;
}
.testimonial-name {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.testimonial-role {
  font-size: 11px;
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 12px;
}
.testimonial-quote {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}

@media (max-width: 1024px) {
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .testimonials { padding: 64px 24px; }
  .testimonial-stats { flex-direction: column; gap: 20px; padding: 24px; }
  .testimonial-stat-divider { width: 60px; height: 1px; }
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* === SOCIAL PROOF === */
.social-proof {
  padding: 100px 48px;
  background: var(--bg-alt);
}
.social-proof-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.social-proof-card {
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.3s, transform 0.3s;
}
.social-proof-card:hover {
  border-color: rgba(255, 107, 74, 0.3);
  transform: translateY(-2px);
}
.social-proof-quote {
  font-size: 16px;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 16px;
}
.social-proof-attribution {
  font-family: var(--font-head);
  font-size: 13px;
  color: var(--text-muted);
}
.social-proof-attribution strong {
  color: #fff;
  font-weight: 600;
}
.social-proof-logos {
  max-width: 1100px;
  margin: 48px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.social-proof-logo {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  opacity: 0.6;
  padding: 10px 20px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}
@media (max-width: 768px) {
  .social-proof { padding: 64px 24px; }
  .social-proof-grid { grid-template-columns: 1fr; }
}

/* === HERO WAITLIST === */
.hero-waitlist {
  margin-top: 18px;
  display: flex;
  gap: 8px;
}
.hero-waitlist input[type="email"] {
  flex: 1;
  max-width: 460px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: inherit;
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 14px;
}
.hero-waitlist-msg {
  margin-top: 10px;
  font-size: 13px;
  color: #22c55e;
}
.hero-waitlist-msg[data-state="error"] {
  color: #ef4444;
}

/* === FAQ === */
.faq {
  padding: 100px 48px;
  background: var(--bg);
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  transition: border-color 0.2s;
}
.faq-item:hover {
  border-color: rgba(255, 107, 74, 0.25);
}
.faq-question {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  color: #fff;
  font-size: 19px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  letter-spacing: -0.01em;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-item > .faq-question::after {
  content: '+';
  color: var(--coral);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  font-family: var(--font-body);
  transition: transform 0.2s;
}
.faq-item[open] > .faq-question::after {
  content: '−';
}
.faq-answer {
  color: var(--text-muted);
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 15px;
  line-height: 1.7;
}
@media (max-width: 768px) {
  .faq { padding: 80px 24px; }
}
@media (max-width: 480px) {
  .faq-question { font-size: 16px; padding-right: 8px; }
  .faq-item { padding: 16px; }
}

/* === 404 === */
.notfound-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
@media (max-width: 480px) {
  .notfound-cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .notfound-cta .btn-primary,
  .notfound-cta .btn-secondary { width: 100%; text-align: center; }
}

/* === BLOG INDEX === */
.blog-index-card {
  text-decoration: none;
  color: inherit;
}
.blog-index-card:hover { transform: translateY(-2px); }
.blog-index-date {
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 8px;
}
.blog-index-excerpt {
  margin-top: 6px;
}

/* === BLOG POST === */
.blog-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 101;
  width: 100%;
  height: 3px;
  background: var(--surface);
  pointer-events: none;
}
.blog-reading-progress-fill {
  width: 0%;
  height: 100%;
  background: var(--coral);
  transition: width 0.1s linear;
}
.blog-post-main { padding-top: 96px; }
.blog-post {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 48px 48px;
}
.blog-post-header { margin-bottom: 40px; }
.blog-post-meta {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.blog-post-title {
  font-family: var(--font-head);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
}
.blog-post-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.blog-post-share-label {
  flex: 0 0 100%;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.blog-post-share-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid rgba(255, 107, 74, 0.45);
  border-radius: 6px;
  background: transparent;
  color: var(--coral);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.blog-post-share-control:hover {
  background: var(--coral);
  color: #fff;
}
.blog-post-share-status {
  flex: 1 1 100%;
  min-width: 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.blog-heading-anchor {
  position: relative;
}
.blog-heading-anchor > h1,
.blog-heading-anchor > h2,
.blog-heading-anchor > h3,
.blog-heading-anchor > h4,
.blog-heading-anchor > h5,
.blog-heading-anchor > h6 {
  scroll-margin-top: 112px;
}
.blog-heading-copy {
  position: absolute;
  top: 0.35em;
  left: -36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: transparent;
  color: var(--coral);
  font-family: var(--font-head);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
}
.blog-heading-anchor:hover .blog-heading-copy,
.blog-heading-anchor:focus-within .blog-heading-copy,
.blog-heading-copy:focus-visible {
  opacity: 1;
  pointer-events: auto;
}
.blog-heading-copy:hover {
  background: var(--coral);
  color: #fff;
}
.blog-heading-copy:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}
.blog-heading-copy-status {
  position: absolute;
  top: 50%;
  left: calc(100% + 8px);
  max-width: 220px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
  pointer-events: none;
  transform: translateY(-50%);
}
.blog-post-body p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 24px;
}
.blog-post-body p a {
  color: var(--coral);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.blog-post-body p a:hover { color: var(--amber); }
@media (max-width: 768px) {
  .blog-post { padding: 48px 24px 32px; }
  .blog-post-body p { font-size: 17px; }
  .blog-heading-copy {
    right: 0;
    left: auto;
    opacity: 1;
    pointer-events: auto;
  }
  .blog-heading-copy-status {
    top: calc(100% + 4px);
    right: 0;
    left: auto;
    transform: none;
  }
}

.blog-post-related {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.blog-post-related-heading {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 16px;
}
.blog-post-related-grid {
  max-width: none;
  gap: 12px;
}
.blog-post-related-grid .persona-card {
  padding: 18px;
  gap: 14px;
}
.blog-post-related-grid .p-avatar-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}
.blog-post-related-grid .p-avatar-icon svg {
  width: 22px;
  height: 22px;
}
.blog-post-related-grid .persona-name {
  font-size: 15px;
  margin-bottom: 4px;
}
.blog-post-related-grid .blog-index-excerpt {
  font-size: 12px;
  line-height: 1.45;
}
.blog-post-related-article {
  display: block;
  color: inherit;
  text-decoration: none;
}
.blog-post-related-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  min-width: 0;
}
.blog-post-related-tag {
  display: inline-block;
  max-width: 100%;
  padding: 4px 8px;
  background: var(--surface);
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 11px;
  line-height: 1.35;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.blog-post-breadcrumb {
  max-width: 720px;
  margin: 0 auto 0;
  padding: 0 48px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.blog-post-breadcrumb ol {
  display: flex;
  align-items: center;
  min-width: 0;
  list-style: none;
}
.blog-post-breadcrumb li {
  min-width: 0;
}
.blog-post-breadcrumb li + li::before {
  content: '/';
  display: inline-block;
  margin: 0 10px;
  color: var(--text-muted);
}
.blog-post-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}
.blog-post-breadcrumb a:hover { color: var(--coral); }
.blog-post-breadcrumb [aria-current="page"] {
  flex: 1 1 auto;
  overflow: hidden;
  color: var(--text-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .blog-post-breadcrumb { padding: 0 24px; }
}

/* Article newsletter CTA */
.blog-post-newsletter {
  position: relative;
  margin-top: 48px;
  padding: 24px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.blog-post-newsletter .closing-inner {
  max-width: none;
  text-align: left;
}
.blog-post-newsletter .closing-glow {
  top: 50%;
  left: auto;
  right: -120px;
  width: 360px;
  height: 240px;
}
.blog-post-newsletter .closing-headline {
  position: relative;
  font-family: var(--font-head);
  margin-bottom: 8px;
  font-size: clamp(22px, 3vw, 30px);
  color: var(--text);
}
.blog-post-newsletter .closing-sub {
  position: relative;
  font-family: var(--font-body);
  max-width: none;
  margin: 0 0 20px;
  font-size: 15px;
  color: var(--text-muted);
}
.blog-post-newsletter .blog-subscribe-form {
  position: relative;
  flex-wrap: nowrap;
  max-width: none;
  margin: 0;
}
.blog-post-newsletter .blog-subscribe-form input[type="email"] {
  background: var(--bg);
  border-color: var(--border);
  color: var(--text);
  font-family: var(--font-body);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.blog-post-newsletter .blog-subscribe-form input[type="email"]:hover {
  border-color: rgba(255, 255, 255, 0.28);
}
.blog-post-newsletter .blog-subscribe-form input[type="email"]:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px var(--coral-dim);
}
.blog-post-newsletter .blog-subscribe-form .btn-primary {
  position: relative;
  background: var(--coral);
  font-family: var(--font-head);
  white-space: nowrap;
}
.blog-post-newsletter .blog-subscribe-form .btn-primary:hover {
  filter: brightness(1.1);
}
.blog-post-newsletter .blog-subscribe-error,
.blog-post-newsletter .blog-subscribe-already,
.blog-post-newsletter .blog-subscribe-success {
  position: relative;
  margin-bottom: 0;
}
@media (max-width: 600px) {
  .blog-post-newsletter {
    margin-top: 36px;
    padding: 20px;
  }
  .blog-post-newsletter .blog-subscribe-form {
    flex-direction: column;
    align-items: stretch;
  }
  .blog-post-newsletter .blog-subscribe-form input[type="email"],
  .blog-post-newsletter .blog-subscribe-form .btn-primary {
    width: 100%;
  }
}

/* === BLOG SUBSCRIBE FORM (footer of /blog + /blog/[slug]) === */
.blog-subscribe .hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 0;
  width: 0;
  opacity: 0;
  pointer-events: none;
}
.blog-subscribe-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.blog-subscribe-form input[type="email"] {
  flex: 1 1 200px;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  font: inherit;
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 14px;
}
.blog-subscribe-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.blog-subscribe-form .btn-primary {
  width: auto;
  flex: 0 0 auto;
  padding: 10px 18px;
  font-size: 13px;
}
.blog-subscribe-error {
  color: #fca5a5;
  font-size: 13px;
  margin-top: 12px;
}
.blog-subscribe-already {
  color: #93c5fd;
  font-size: 14px;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 8px;
  background: rgba(59, 130, 246, 0.08);
}
.blog-subscribe-success {
  color: #c4b5fd;
  font-size: 14px;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 8px;
  background: rgba(168, 85, 247, 0.08);
}
@media (max-width: 480px) {
  .blog-subscribe-form { flex-direction: column; }
  .blog-subscribe-form input[type="email"],
  .blog-subscribe-form .btn-primary { width: 100%; }
}

/* === BLOG SEARCH (client-side ?q= filter) === */
.blog-search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 24px;
  width: 100%;
  max-width: 520px;
  flex-wrap: wrap;
}
.blog-search-input {
  flex: 1 1 200px;
  min-width: 0;
  padding: 14px 18px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 16px;
  outline: none;
  transition: border-color 0.15s ease;
}
.blog-search-input::placeholder { color: var(--text-muted); }
.blog-search-input:hover { border-color: rgba(255, 255, 255, 0.18); }
.blog-search-clear {
  flex: 0 0 auto;
  padding: 10px 14px;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}
.blog-search-clear:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.18); }
.blog-filter-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: -12px 0 24px;
  width: 100%;
}
.blog-tags {
  display: flex;
  flex: 1 1 220px;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  min-width: 0;
  width: auto;
}
.blog-clear-filters[hidden] { display: none; }
.blog-tag-button {
  padding: 7px 12px;
  background: var(--surface);
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 13px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.blog-tag-button:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.18);
}
.blog-tag-button[aria-pressed="true"] {
  color: var(--coral);
  background: var(--coral-dim);
  border-color: rgba(255, 107, 74, 0.3);
}
.blog-search-empty {
  margin: 24px 0;
  color: var(--text-muted);
  font-size: 16px;
}
.blog-search-empty-clear {
  background: none;
  border: none;
  color: var(--coral);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}
.blog-search-empty-clear:hover { color: #fff; }
@media (max-width: 480px) {
  .blog-tags { flex-basis: 100%; }
}
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto !important; }
  /* Entrance fade on showcase demo video — apply final state immediately. */
  .showcase-iframe-ratio video,
  .showcase-iframe-ratio.is-playing video { opacity: 1 !important; }
}
