/* Replix Captions standalone product landing */

:root {
  --canvas: #0c0b0a;
  --surface: #1a1712;
  --surface-raised: #211e18;
  --cream: #f4ecdc;
  --body: #c8c2b6;
  --dim: #9c968a;
  --muted: #9a9488;
  --amber: #f6c453;
  --hairline: rgba(244, 236, 220, 0.11);
  --hairline-strong: rgba(244, 236, 220, 0.18);
  --page-gutter: clamp(16px, 4vw, 48px);
  --font-display: "Archivo Black", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-telugu: "Noto Sans Telugu", "Inter", system-ui, sans-serif;
  --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(244, 236, 220, 0.06);
  --gold-glow: 0 0 24px rgba(246, 196, 83, 0.22), 0 8px 28px rgba(246, 196, 83, 0.14);
  --gold-glow-hover: 0 0 32px rgba(246, 196, 83, 0.32), 0 12px 36px rgba(246, 196, 83, 0.2);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--canvas);
  width: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--canvas);
  color: var(--body);
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

:focus-visible {
  outline: 2px solid rgba(246, 196, 83, 0.55);
  outline-offset: 3px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* No browser-default purple links anywhere on dark UI */
a:link,
a:visited {
  color: var(--amber);
  text-decoration: none;
}

a:hover {
  color: var(--cream);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 78% 12%, rgba(246, 196, 83, 0.07), transparent 55%),
    radial-gradient(ellipse 50% 40% at 12% 88%, rgba(244, 236, 220, 0.04), transparent 50%);
}

.mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 11, 10, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
  overflow: visible;
}

.site-header-inner {
  width: 100%;
  max-width: none;
  padding: 14px var(--page-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-wrap: nowrap;
  color: inherit;
  flex: 0 0 auto;
  overflow: visible;
}

.logo-wordmark {
  display: block;
  height: 24px;
  width: calc(24px * 268 / 28);
  min-width: calc(24px * 268 / 28);
  flex: 0 0 auto;
  object-fit: fill;
  object-position: left center;
}

.logo-group:link,
.logo-group:visited {
  color: inherit;
}

.logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--cream);
  letter-spacing: -0.01em;
  white-space: nowrap;
  padding-block: 2px;
}

.logo-light {
  color: var(--amber);
}

.beta-pill {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.65px;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid rgba(246, 196, 83, 0.35);
  background: rgba(246, 196, 83, 0.08);
  border-radius: 999px;
  padding: 4px 10px;
  flex-shrink: 0;
}

.header-signin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  text-decoration: none;
  background: transparent;
  border: 1px solid var(--hairline-strong);
  color: var(--cream);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  min-height: 44px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.header-signin:hover {
  border-color: rgba(246, 196, 83, 0.4);
  background: rgba(246, 196, 83, 0.06);
}

.header-link {
  color: var(--dim, #8a8478);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  padding: 10px 12px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color 0.15s ease;
}

.header-link:hover {
  color: var(--cream, #f4ecdc);
}

.header-nav {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-shrink: 0;
}

.landing {
  width: 100%;
  max-width: none;
  padding: 0 var(--page-gutter) clamp(64px, 6vw, 120px);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, auto);
  gap: clamp(16px, 2.5vw, 36px);
  align-items: center;
  padding: clamp(40px, 6vh, 80px) 0 clamp(56px, 8vh, 96px);
  animation: fadeUp 0.7s ease both;
}

.hero-copy .section-label {
  margin-bottom: 12px;
}

.hero-copy {
  min-width: 0;
  overflow: visible;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.125rem, 4vw + 0.5rem, 5.75rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 16px;
  max-width: 14em;
}

.hero-copy .hero-sub {
  font-size: clamp(15px, 1.2vw + 12px, 22px);
  color: var(--dim);
  line-height: 1.55;
  max-width: 42ch;
  margin-bottom: 20px;
}

.hero-copy .lead {
  font-size: clamp(15px, 2.2vw, 17px);
  color: var(--body);
  line-height: 1.6;
  max-width: 46ch;
  margin-bottom: 24px;
}

.hero-note {
  font-size: 13px;
  color: var(--dim);
  margin-top: 14px;
}

.hero-cta-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.hero-cta-row .btn-primary {
  min-width: min(100%, 280px);
}

.btn-ghost-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 4px;
  background: transparent;
  border: none;
  color: var(--dim);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
}

.btn-ghost-inline:hover {
  color: var(--cream);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  text-decoration: none;
  min-height: 52px;
  padding: 0 28px;
  background: var(--cream);
  color: #0c0b0a;
  font-size: clamp(15px, 0.6vw + 12px, 18px);
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: var(--gold-glow);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

a.btn-primary:link,
a.btn-primary:visited,
a.btn-primary:hover,
a.btn-primary:active {
  color: #0c0b0a;
  text-decoration: none;
}

a.header-signin:link,
a.header-signin:visited,
a.header-signin:hover,
a.header-signin:active {
  color: var(--cream);
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--gold-glow-hover);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .btn-primary:hover {
    animation: ctaGlowPulse 1.8s ease-in-out infinite;
  }
}

@keyframes ctaGlowPulse {
  0%, 100% { box-shadow: var(--gold-glow-hover); }
  50% { box-shadow: 0 0 40px rgba(246, 196, 83, 0.38), 0 14px 40px rgba(246, 196, 83, 0.24); }
}

.btn-primary:active { transform: translateY(0); }

.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* Signed-in "Open app" — cream CTA + subtle always-on glow */
.btn-open-app {
  box-shadow:
    0 0 0 1px rgba(244, 236, 220, 0.14),
    0 0 22px rgba(246, 196, 83, 0.2),
    0 8px 24px rgba(246, 196, 83, 0.12);
}

.header-nav .btn-open-app {
  min-height: 44px;
  padding: 0 18px;
  font-size: 13px;
}

@media (prefers-reduced-motion: no-preference) {
  .btn-open-app {
    animation: openAppGlow 2.8s ease-in-out infinite;
  }
}

@keyframes openAppGlow {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(244, 236, 220, 0.12),
      0 0 18px rgba(246, 196, 83, 0.16),
      0 6px 20px rgba(246, 196, 83, 0.1);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(244, 236, 220, 0.18),
      0 0 28px rgba(246, 196, 83, 0.26),
      0 10px 28px rgba(246, 196, 83, 0.14);
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .btn-open-app:hover {
    animation: none;
    box-shadow:
      0 0 0 1px rgba(244, 236, 220, 0.2),
      0 0 32px rgba(246, 196, 83, 0.32),
      0 12px 32px rgba(246, 196, 83, 0.18);
  }
}

.btn-full { width: 100%; }

[hidden] {
  display: none !important;
}

.btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px;
  background: #fff;
  color: #1f1f1f;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-google:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.modal-divider {
  font-size: 12px;
  color: var(--dim);
  text-align: center;
  margin: 14px 0;
}

/* Hero visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  min-width: 0;
}

.phone-mockup {
  width: min(300px, 100%);
  aspect-ratio: 9 / 16;
  border-radius: 28px;
  padding: 10px;
  background: linear-gradient(145deg, #2a2620 0%, #1a1712 50%, #0c0b0a 100%);
  border: 1px solid var(--hairline-strong);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55), 0 0 48px rgba(246, 196, 83, 0.06);
  flex-shrink: 0;
}

.phone-mockup { position: relative; }

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: linear-gradient(180deg, #1f1c17 0%, #0c0b0a 100%);
  display: block;
  padding: 0;
  overflow: hidden;
}

.demo-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  background: #0c0b0a;
}

.demo-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(12, 11, 10, 0.58);
  border: 1px solid rgba(246, 196, 83, 0.32);
  color: var(--cream);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(10px);
}

.demo-badge[data-mode="native"] {
  border-color: rgba(244, 236, 220, 0.34);
  font-family: var(--font-telugu);
  font-size: 13px;
  line-height: 1.25;
  padding: 8px 12px;
}

.demo-badge.is-fading {
  opacity: 0;
  transition: opacity 0.2s ease-out;
}

.demo-label {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 56px;
  z-index: 2;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
  pointer-events: none;
}

.demo-mute {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  min-width: 52px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(244, 236, 220, 0.22);
  background: rgba(12, 11, 10, 0.56);
  color: var(--cream);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.demo-mute:hover {
  transform: translateY(-1px);
  background: rgba(244, 236, 220, 0.14);
}

.demo-mute.is-unmuted {
  background: var(--cream);
  border-color: transparent;
  color: #0c0b0a;
}

/* Sections */
.section-label {
  font-size: clamp(10px, 0.45vw + 8px, 13px);
  font-weight: 600;
  letter-spacing: 0.85px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
  text-shadow: 0 0 18px rgba(246, 196, 83, 0.18);
}

.section-reviews {
  padding: clamp(40px, 4vw, 80px) 0 clamp(36px, 3.5vw, 72px);
  border-top: 1px solid var(--hairline);
}

.section-founder {
  padding: clamp(36px, 4vw, 72px) 0;
  border-top: 1px solid var(--hairline);
  animation: fadeUp 0.7s ease 0.1s both;
}

.founder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 360px);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

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

.section-founder h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2vw + 0.5rem, 2.75rem);
  color: var(--cream);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-founder p {
  font-size: clamp(15px, 2vw, 17px);
  color: var(--body);
  line-height: 1.65;
  max-width: 58ch;
  border-left: 3px solid rgba(246, 196, 83, 0.65);
  padding-left: 16px;
}

.section-founder h2,
.section-founder p,
.section-founder .founder-stats,
.section-founder .founder-photo {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.section-founder h2.is-visible,
.section-founder p.is-visible,
.section-founder .founder-stats.is-visible,
.section-founder .founder-photo.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.founder-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.founder-stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(246, 196, 83, 0.28);
  background: rgba(246, 196, 83, 0.08);
  color: var(--cream);
  text-decoration: none;
  font-size: 13px;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.founder-stat:hover {
  border-color: rgba(246, 196, 83, 0.5);
  background: rgba(246, 196, 83, 0.12);
  color: var(--cream);
  transform: translateY(-1px);
}

.founder-stat-icon {
  display: inline-flex;
  color: var(--amber);
}

.founder-stat-text strong {
  color: var(--amber);
  font-weight: 700;
}

.founder-visual {
  display: flex;
  justify-content: center;
}

.founder-photo {
  width: min(100%, 320px);
  aspect-ratio: 1;
  border-radius: 20px;
  object-fit: cover;
  border: 1px solid var(--hairline-strong);
  box-shadow:
    var(--card-shadow),
    0 0 40px rgba(246, 196, 83, 0.12);
}

.section-steps {
  padding: clamp(40px, 4vw, 80px) 0;
  border-top: 1px solid var(--hairline);
  animation: fadeUp 0.7s ease 0.18s both;
}

.section-steps h2,
.section-reviews h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.8vw + 0.35rem, 2.25rem);
  color: var(--cream);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.reviews-lead {
  font-size: clamp(15px, 1vw + 12px, 20px);
  color: var(--dim);
  line-height: 1.55;
  max-width: 52ch;
  margin-bottom: 28px;
}

.reviews-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

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

.reviews-marquee {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}

.reviews-marquee-row {
  overflow: hidden;
  width: 100%;
}

.reviews-marquee-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: reviewsMarquee 42s linear infinite;
}

.reviews-marquee-row--rev .reviews-marquee-track {
  animation-direction: reverse;
  animation-duration: 48s;
}

.reviews-marquee:hover .reviews-marquee-track,
.reviews-marquee:focus-within .reviews-marquee-track {
  animation-play-state: paused;
}

@keyframes reviewsMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.reviews-creators-marquee .review-card--spotlight {
  width: min(340px, 82vw);
  flex-shrink: 0;
}

.reviews-general {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
}

.reviews-general-lead {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 16px;
  letter-spacing: 0.2px;
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 22px 20px;
  flex-shrink: 0;
  box-shadow: var(--card-shadow);
}

.review-card--spotlight {
  background: var(--surface-raised);
  transform: translateY(18px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease,
    border-color 0.2s ease;
  padding: 24px 22px;
}

.reviews-marquee .review-card--spotlight,
.reviews-marquee .review-card--spotlight.is-visible {
  opacity: 1;
  transform: none;
}

.review-card--spotlight:not(.is-visible) {
  opacity: 0;
}

.review-card--spotlight.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.review-card--spotlight:nth-child(1) { transition-delay: 0ms; }
.review-card--spotlight:nth-child(2) { transition-delay: 80ms; }
.review-card--spotlight:nth-child(3) { transition-delay: 160ms; }

.review-card--compact {
  width: min(360px, 82vw);
  padding: 16px 14px;
}

.review-card--compact .review-top {
  margin-bottom: 10px;
}

.review-card--compact .review-avatar {
  width: 40px;
  height: 40px;
}

.review-card--compact .review-quote {
  font-size: 14px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--hairline-strong);
}

.review-avatar--initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  font-weight: 500;
  color: var(--amber);
  background: rgba(246, 196, 83, 0.08);
}

.review-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.review-name-row {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.review-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--cream);
  text-decoration: none;
  line-height: 1.3;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}

.review-verified-icon {
  display: block;
  border-radius: 50%;
}

a.review-name:hover { color: var(--amber); }

.review-followers {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.2px;
}

.review-quote {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--body);
}

.review-card--spotlight .review-quote {
  font-size: clamp(16px, 2.1vw, 18px);
  color: var(--cream);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .review-card--spotlight.is-visible:hover {
    transform: translateY(-3px);
    border-color: rgba(246, 196, 83, 0.35);
    box-shadow: var(--card-shadow), 0 0 24px rgba(246, 196, 83, 0.1);
  }

  .review-card--compact:hover {
    transform: translateY(-2px);
    border-color: var(--hairline-strong);
  }

  .review-card--compact {
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  }
}

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

.step-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: var(--card-shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .step-card.is-visible:hover {
    transform: translateY(-3px);
    border-color: rgba(246, 196, 83, 0.28);
    box-shadow: var(--card-shadow), 0 0 20px rgba(246, 196, 83, 0.08);
  }
}

.step-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.step-card:not(.is-visible) {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.step-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 12px;
  letter-spacing: 0.08em;
  text-shadow: 0 0 14px rgba(246, 196, 83, 0.25);
}

.caption-signature {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 20px 0 32px;
  max-width: 46ch;
  overflow: visible;
  padding-bottom: 4px;
}

.caption-signature-word {
  font-size: clamp(16px, 2.4vw, 18px);
  font-weight: 600;
  color: rgba(244, 236, 220, 0.72);
  opacity: 1;
  line-height: 1.45;
  transition: color 0.15s ease, text-shadow 0.15s ease;
}

.caption-signature-word.is-active {
  color: var(--amber);
  text-shadow: 0 0 16px rgba(246, 196, 83, 0.35);
  box-shadow: inset 0 -3px 0 var(--amber);
}

.caption-signature-word.is-telugu {
  font-family: var(--font-telugu);
  font-weight: 700;
}

.step-shot {
  display: block;
  width: 100%;
  margin-top: 16px;
  border-radius: 12px;
  border: 1px solid var(--hairline-strong);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  background: var(--surface-raised);
}

.step-shot--contain {
  aspect-ratio: auto;
  max-height: 320px;
  object-fit: contain;
  object-position: center center;
  background: #0c0b0a;
  padding: 10px;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.step-card p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.5;
}

.price-int {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 13px;
  color: var(--dim);
  margin-left: 4px;
}

.pricing-foot {
  margin-top: 16px;
  color: var(--dim);
  font-size: 13px;
}

.section-access {
  padding: clamp(48px, 5vw, 96px) 0 clamp(24px, 2.5vw, 48px);
  border-top: 1px solid var(--hairline);
  animation: fadeUp 0.7s ease 0.26s both;
}

.access-card {
  background: var(--surface-raised);
  border: 1px solid var(--hairline-strong);
  border-radius: 20px;
  padding: clamp(28px, 5vw, 40px);
  text-align: center;
  box-shadow: var(--card-shadow);
}

.access-card h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2vw + 14px, 40px);
  color: var(--cream);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.access-card p {
  font-size: clamp(15px, 0.9vw + 12px, 19px);
  color: var(--body);
  max-width: 42ch;
  margin: 0 auto 24px;
  line-height: 1.55;
}

.access-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.access-card:not(.is-visible) {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.landing-footer {
  margin-top: clamp(40px, 4vw, 72px);
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
  animation: fadeUp 0.7s ease 0.32s both;
}

.footer-links a,
.footer-links a:link,
.footer-links a:visited {
  color: var(--dim);
  text-decoration: none;
  margin-right: 16px;
}

.footer-links a:hover { color: var(--cream); }

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  text-align: right;
}

.footer-tag { color: var(--muted); font-size: 11px; }

.footer-creator,
.footer-creator:link,
.footer-creator:visited {
  color: var(--dim);
  text-decoration: none;
}

.footer-creator:hover { color: var(--cream); }

/* Modal */
.modal-backdrop {
  display: flex;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--hairline-strong);
  border-radius: 18px;
  padding: 28px 24px;
  opacity: 0;
  transform: translateY(14px) scale(0.97);
  transition: transform 0.26s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.26s ease;
}

.modal-backdrop.open .modal-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.modal-card h2 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--cream);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.modal-sub {
  font-size: 14px;
  color: var(--dim);
  margin-bottom: 20px;
  line-height: 1.5;
}

.modal-sub a {
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}

.modal-card input[type="email"],
.modal-card input[type="password"] {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  border-radius: 12px;
  border: 1px solid var(--hairline-strong);
  background: var(--canvas);
  color: var(--cream);
  font-family: inherit;
  margin-bottom: 14px;
  outline: none;
}

.modal-card input[type="email"]:focus,
.modal-card input[type="password"]:focus {
  border-color: rgba(246, 196, 83, 0.45);
}

.auth-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 0 0 14px;
  padding: 4px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: rgba(12, 11, 10, 0.48);
}

.auth-toggle button {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--dim);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.auth-toggle button.active {
  background: var(--cream);
  color: var(--canvas);
}

.auth-link {
  display: block;
  width: fit-content;
  margin: -4px 0 10px auto;
  border: 0;
  background: transparent;
  color: var(--amber);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.auth-link:hover {
  color: var(--cream);
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-fineprint {
  font-size: 12px;
  color: var(--dim);
  line-height: 1.45;
  text-align: center;
  margin: 14px 0 0;
}

.modal-fineprint a {
  color: var(--amber);
  text-decoration: none;
}

.modal-fineprint a:hover {
  text-decoration: underline;
}

.turnstile-slot {
  margin: 4px 0 12px;
  min-height: 65px;
  display: flex;
  justify-content: center;
}

.turnstile-slot[hidden] {
  display: none;
}

.cookie-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom, 0px));
  z-index: 9000;
  display: none;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 12px 16px;
  background: rgba(20, 18, 14, 0.96);
  border: 1px solid rgba(244, 236, 220, 0.12);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  font-size: 13px;
  color: var(--dim);
}

.cookie-banner.visible { display: flex; }

.cookie-banner a {
  color: var(--amber);
  text-decoration: none;
}

.cookie-banner a:hover { text-decoration: underline; }

.cookie-banner button {
  flex: 0 0 auto;
  padding: 10px 16px;
  min-height: 44px;
  background: var(--cream);
  color: #0c0b0a;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}

.modal-msg {
  font-size: 13px;
  color: var(--dim);
}

.modal-msg:empty { display: none; }

/* Prominent inline alert (sits ABOVE the submit button) — impossible to miss. */
.modal-msg.error,
.modal-msg.ok {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0 0 14px;
  padding: 11px 13px;
  border-radius: 11px;
  font-size: 13.5px;
  line-height: 1.45;
  animation: msgShake 0.34s ease both;
}

.modal-msg.error {
  color: #ffd9d4;
  background: rgba(220, 64, 52, 0.13);
  border: 1px solid rgba(220, 64, 52, 0.42);
}

.modal-msg.error::before {
  content: "!";
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(220, 64, 52, 0.9);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.modal-msg a,
.modal-msg a:link,
.modal-msg a:visited {
  color: var(--amber);
  text-decoration: none;
  font-weight: 500;
}

.modal-msg a:hover {
  color: var(--cream);
  text-decoration: underline;
}

.modal-msg.ok {
  color: var(--amber);
  background: rgba(246, 196, 83, 0.1);
  border: 1px solid rgba(246, 196, 83, 0.32);
  animation: none;
}

.pw-req {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--dim);
  margin: 0 0 12px;
  transition: color 0.15s ease;
}

.pw-req-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.pw-req-dot::after {
  content: "";
  width: 4px;
  height: 7px;
  margin-top: -1px;
  border: solid transparent;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.pw-req.met { color: #5fbf80; }
.pw-req.met .pw-req-dot { background: #5fbf80; border-color: #5fbf80; }
.pw-req.met .pw-req-dot::after { border-color: #0e0d0b; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.btn-ghost {
  background: transparent;
  border: none;
  color: var(--dim);
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  padding: 12px;
  min-height: 44px;
}

.btn-ghost:hover { color: var(--cream); }

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

/* ── Button loading spinner ───────────────────────────────────────────── */
@keyframes btnSpin { to { transform: rotate(360deg); } }

.btn-loading {
  color: transparent !important;
  pointer-events: none;
  position: relative;
}
.btn-loading > * { opacity: 0; }
.btn-loading::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  top: 50%;
  left: 50%;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  border: 2px solid rgba(12, 11, 10, 0.25);
  border-top-color: #0c0b0a;
  animation: btnSpin 0.6s linear infinite;
}
.btn-google.btn-loading::after { border-color: rgba(31, 31, 31, 0.25); border-top-color: #1f1f1f; }
.btn-ghost.btn-loading::after { border-color: rgba(244, 236, 220, 0.3); border-top-color: var(--cream); }

/* ── Inline-alert shake ───────────────────────────────────────────────── */
@keyframes msgShake {
  0% { transform: translateX(0); }
  18% { transform: translateX(-5px); }
  38% { transform: translateX(4px); }
  58% { transform: translateX(-3px); }
  78% { transform: translateX(2px); }
  100% { transform: translateX(0); }
}

/* ── Toast pop-up ─────────────────────────────────────────────────────── */
.toast-host {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  pointer-events: none;
  width: max-content;
  max-width: 92vw;
}
.toast {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--cream);
  background: var(--surface);
  border: 1px solid var(--hairline-strong);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
  animation: toastIn 0.26s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.toast.leaving { animation: toastOut 0.22s ease both; }
.toast.error { border-color: rgba(220, 64, 52, 0.5); }
.toast.success { border-color: rgba(246, 196, 83, 0.45); }
.toast::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dim);
}
.toast.error::before { background: #e0584c; }
.toast.success::before { background: var(--amber); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-10px); } }

/* ── Micro-interactions ───────────────────────────────────────────────── */
.modal-card input[type="email"],
.modal-card input[type="password"] {
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.modal-card input[type="email"]:focus,
.modal-card input[type="password"]:focus {
  box-shadow: 0 0 0 3px rgba(246, 196, 83, 0.14);
}
.btn-primary:active:not(:disabled),
.btn-google:active { transform: translateY(0) scale(0.98); }
.auth-toggle button { transition: color 0.15s ease, background 0.18s ease; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .review-card--spotlight {
    opacity: 1;
    transform: none;
  }

  .reviews-marquee-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
  }

  .reviews-marquee {
    mask-image: none;
  }

  html {
    scroll-behavior: auto;
  }

  .step-card:not(.is-visible),
  .access-card:not(.is-visible) {
    opacity: 1;
    transform: none;
  }
}

/* Desktop: copy left, phone right — no expanding empty middle column */
@media (min-width: 900px) {
  .hero {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: clamp(20px, 3vw, 48px);
  }

  .hero-copy {
    flex: 1 1 480px;
    min-width: min(480px, 52vw);
    max-width: 720px;
  }

  .hero-visual {
    flex: 0 0 auto;
    width: auto;
    justify-content: flex-end;
    gap: 12px;
  }

  .phone-mockup {
    width: min(340px, 42vw);
  }
}

@media (min-width: 1200px) {
  .hero-copy {
    flex-basis: 560px;
    max-width: 780px;
  }

  .hero-copy h1 {
    max-width: 14em;
  }

  .phone-mockup {
    width: 400px;
  }
}

/* Mobile */
@media (max-width: 899px) {
  .site-header-inner {
    padding: 14px var(--page-gutter);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: left;
  }

  .hero-copy h1 { max-width: none; }

  .hero-visual {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .phone-mockup {
    width: min(280px, 84vw);
    aspect-ratio: 9 / 16;
  }

  .reviews-spotlight {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    margin: 0 calc(-1 * var(--page-gutter));
    padding-left: var(--page-gutter);
    padding-right: var(--page-gutter);
  }

  .reviews-marquee .reviews-marquee-track {
    animation: none;
    width: 100%;
    flex-wrap: nowrap;
  }

  .reviews-marquee,
  .reviews-general-marquee,
  .reviews-creators-marquee {
    mask-image: none;
    overflow: visible;
  }

  .reviews-general-marquee .reviews-marquee-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    animation: none;
    width: auto;
    margin: 0 calc(-1 * var(--page-gutter));
    padding: 0 var(--page-gutter) 4px;
  }

  .review-card--compact {
    flex: 0 0 min(78vw, 300px);
    scroll-snap-align: start;
  }

  .reviews-creators-marquee .reviews-marquee-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    margin: 0 calc(-1 * var(--page-gutter));
    padding-left: var(--page-gutter);
    padding-right: var(--page-gutter);
  }

  .review-card--spotlight {
    flex: 0 0 min(82vw, 300px);
    scroll-snap-align: start;
  }

  .btn-primary {
    width: 100%;
    min-height: 56px;
  }

  .landing {
    padding-bottom: max(80px, env(safe-area-inset-bottom, 0px) + 72px);
  }

  .reviews-marquee-row--rev {
    display: none;
  }

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

  .footer-meta {
    align-items: flex-start;
    text-align: left;
    width: 100%;
  }
}

@media (max-width: 480px) {
  :root { --page-gutter: 16px; }
  .landing:not(.roadmap-page) { padding: 0 var(--page-gutter) 64px; }
  .landing.roadmap-page {
    padding: 0 var(--page-gutter) max(96px, env(safe-area-inset-bottom, 0px) + 80px);
  }
  .logo { font-size: 18px; }
  .logo-light { display: none; }
  .beta-pill { font-size: 8px; padding: 3px 8px; }
  .modal-backdrop { padding: 12px; }
  .modal-card { padding: 22px 18px; }
  .site-header-inner { flex-wrap: nowrap; gap: 8px; }
  .header-nav { gap: 6px; }
  .header-link { padding: 8px 8px; font-size: 12px; }
  .header-link[href="/support"] { display: none; }
  .header-signin {
    padding: 8px 12px;
    font-size: 12px;
    flex-shrink: 0;
  }
  .founder-grid {
    grid-template-columns: 1fr;
  }
  .founder-visual {
    order: -1;
  }
  .founder-photo {
    width: min(72vw, 260px);
  }
}

@media (max-width: 420px) {
  .site-header-inner {
    padding: 12px var(--page-gutter);
    gap: 8px;
  }

  .logo-wordmark {
    height: 20px;
    width: calc(20px * 268 / 28);
    min-width: calc(20px * 268 / 28);
  }

  .logo-group {
    gap: 8px;
    flex: 0 0 auto;
  }

  .logo-group .beta-pill {
    display: none;
  }

  .header-nav {
    gap: 4px;
    margin-left: auto;
  }

  .header-link {
    font-size: 12px;
    padding: 8px 6px;
    min-height: 40px;
  }

  .header-signin {
    font-size: 12px;
    padding: 8px 12px;
    min-height: 40px;
    white-space: nowrap;
  }

  .header-nav .btn-open-app {
    font-size: 12px;
    padding: 8px 14px;
    min-height: 40px;
    white-space: nowrap;
  }
}

/* Landscape phones: tighten vertical spacing */
@media (max-height: 480px) and (orientation: landscape) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(200px, auto);
    gap: 24px;
    padding: 24px 0 32px;
  }

  .hero-copy h1 {
    font-size: clamp(1.5rem, 4vh + 0.5rem, 2.25rem);
    margin-bottom: 10px;
  }

  .hero-copy .hero-sub {
    margin-bottom: 12px;
  }

  .phone-mockup {
    width: min(180px, 32vh);
  }

  .section-founder,
  .section-reviews,
  .section-steps,
  .section-access {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .section-reviews {
    padding-bottom: 28px;
  }

  .section-access {
    padding-bottom: 20px;
  }

  .landing {
    padding-bottom: 48px;
  }

  .site-header-inner {
    padding-block: 10px;
  }
}

/* Roadmap page — subway-map timeline */
.roadmap-page {
  padding-bottom: max(96px, env(safe-area-inset-bottom, 0px) + 80px);
}

.roadmap-hero {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px var(--page-gutter) 20px;
  text-align: center;
}

.roadmap-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 12px;
}

.roadmap-lead {
  color: var(--body);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

.roadmap-timeline-wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 8px var(--page-gutter) 0;
}

.roadmap-updated {
  font-size: 12px;
  color: var(--dim);
  text-align: center;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.roadmap-timeline {
  --rm-rail: 50%;
  position: relative;
  padding: 0;
}

.roadmap-track {
  position: absolute;
  left: var(--rm-rail);
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(244, 236, 220, 0.08);
  border-radius: 2px;
  overflow: hidden;
  z-index: 0;
}

.roadmap-track-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(
    180deg,
    #6ee7a0 0%,
    var(--amber) 100%
  );
  border-radius: 2px;
  transition: height 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.roadmap-timeline.is-drawn .roadmap-track-fill {
  height: 100%;
}

.roadmap-segment {
  position: relative;
  margin-bottom: 12px;
}

.roadmap-segment:last-child {
  margin-bottom: 0;
}

.roadmap-station-chip {
  display: flex;
  justify-content: center;
  margin: 0 0 22px;
  position: relative;
  z-index: 2;
}

.roadmap-station-name {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--surface);
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  padding: 6px 16px;
  box-shadow: var(--card-shadow);
}

.roadmap-station-chip--shipped .roadmap-station-name {
  border-color: rgba(110, 231, 160, 0.35);
}

.roadmap-station-chip--planned .roadmap-station-name {
  border-color: rgba(246, 196, 83, 0.35);
}

.roadmap-stops {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.roadmap-stop {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  column-gap: 20px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.roadmap-stop-node {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 20px;
}

.roadmap-stop--left .roadmap-card {
  grid-column: 1;
  grid-row: 1;
}

.roadmap-stop--right .roadmap-card {
  grid-column: 3;
  grid-row: 1;
}

.roadmap-node {
  position: relative;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.roadmap-node--shipped {
  background: #6ee7a0;
  box-shadow: 0 0 0 4px rgba(110, 231, 160, 0.16);
}

.roadmap-node-mark {
  display: block;
  flex-shrink: 0;
}

.roadmap-node--planned {
  background: var(--canvas);
  border: 2px solid rgba(246, 196, 83, 0.7);
  box-shadow: 0 0 0 4px rgba(246, 196, 83, 0.1);
}

.roadmap-card {
  position: relative;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 14px 16px 12px;
  box-shadow: var(--card-shadow);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.2s ease;
}

.roadmap-stop--left .roadmap-card {
  transform: translateX(-10px);
}

.roadmap-stop--right .roadmap-card {
  transform: translateX(10px);
}

.roadmap-card.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.roadmap-card-pointer {
  position: absolute;
  top: 22px;
  width: 10px;
  height: 10px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  transform: rotate(45deg);
  z-index: 1;
}

.roadmap-card--left .roadmap-card-pointer {
  right: -6px;
  border-left: none;
  border-bottom: none;
}

.roadmap-card--right .roadmap-card-pointer {
  left: -6px;
  border-right: none;
  border-top: none;
}

.roadmap-card-head {
  margin-bottom: 10px;
}

.roadmap-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.roadmap-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(246, 196, 83, 0.08);
  border: 1px solid rgba(246, 196, 83, 0.18);
  border-radius: 999px;
  padding: 2px 8px;
}

.roadmap-date {
  font-size: 11px;
  color: var(--dim);
}

.roadmap-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 4px;
  line-height: 1.3;
}

.roadmap-card-desc {
  font-size: 0.9rem;
  color: var(--body);
  line-height: 1.45;
}

.roadmap-vote {
  border-top: 1px solid var(--hairline);
  padding-top: 10px;
}

.roadmap-vote-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
}

.roadmap-vote-prompt {
  font-size: 12px;
  color: var(--dim);
}

.roadmap-vote-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}

.roadmap-vote-btn {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--surface-raised);
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  padding: 5px 11px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.roadmap-vote-btn:hover {
  border-color: rgba(246, 196, 83, 0.45);
}

.roadmap-vote-btn.is-selected {
  background: rgba(246, 196, 83, 0.12);
  border-color: rgba(246, 196, 83, 0.5);
}

.rm-swap-viewport {
  display: block;
  height: 28px;
  overflow: hidden;
}

.rm-swap-track {
  display: block;
  transform: translate3d(0, 0, 0);
  transition: transform 0.4s cubic-bezier(0.34, 1.45, 0.64, 1);
  will-change: transform;
}

.rm-swap[data-state="noted"] .rm-swap-track {
  transform: translate3d(0, -28px, 0);
}

.rm-swap-panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  height: 28px;
  min-height: 28px;
}

.rm-swap-done {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5fbf80;
}

.roadmap-ideas {
  max-width: 640px;
  margin: 40px auto 0;
  padding: 0 var(--page-gutter) 24px;
  text-align: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.roadmap-ideas.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.roadmap-ideas h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  color: var(--cream);
  margin-bottom: 8px;
}

.roadmap-ideas-lead {
  color: var(--body);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.roadmap-idea-form {
  text-align: left;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--surface);
  padding: 14px;
  box-shadow: var(--card-shadow);
}

.roadmap-idea-form textarea {
  width: 100%;
  min-height: 96px;
  resize: vertical;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--cream);
  background: var(--surface-raised);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 10px;
}

.roadmap-idea-form textarea::placeholder {
  color: var(--dim);
}

.roadmap-idea-form textarea:focus {
  outline: none;
  border-color: rgba(246, 196, 83, 0.45);
}

.roadmap-idea-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.roadmap-idea-submit {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: #0c0b0a;
  background: var(--amber);
  border: none;
  border-radius: 999px;
  padding: 9px 18px;
  cursor: pointer;
  transition: filter 0.15s ease, opacity 0.15s ease;
}

.roadmap-idea-submit:hover:not(:disabled) {
  filter: brightness(1.06);
}

.roadmap-idea-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.roadmap-idea-error {
  font-size: 12px;
  color: #e88;
  margin-top: 8px;
}

.roadmap-modal-check {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(110, 231, 160, 0.14);
  border: 1px solid rgba(110, 231, 160, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.roadmap-modal-check svg {
  display: block;
}

.header-link--active {
  color: var(--cream);
}

@media (max-width: 719px) {
  .roadmap-hero {
    padding-top: 40px;
  }

  .roadmap-timeline-wrap {
    max-width: 640px;
    padding-inline: max(var(--page-gutter), 20px);
  }

  .roadmap-timeline {
    --rm-rail: 16px;
  }

  .roadmap-station-chip {
    margin-bottom: 26px;
  }

  .roadmap-stops {
    margin-bottom: 40px;
  }

  .roadmap-stop {
    grid-template-columns: 32px 1fr;
    column-gap: 12px;
  }

  .roadmap-stop-node {
    grid-column: 1;
    padding-top: 16px;
    justify-content: center;
    width: 32px;
  }

  .roadmap-stop--left .roadmap-card,
  .roadmap-stop--right .roadmap-card {
    grid-column: 2;
    transform: none;
  }

  .roadmap-card--left .roadmap-card-pointer,
  .roadmap-card--right .roadmap-card-pointer {
    left: -6px;
    right: auto;
    border: 1px solid var(--hairline);
    border-right: none;
    border-top: none;
  }

  .roadmap-vote-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .roadmap-ideas {
    margin-bottom: 24px;
    padding-bottom: max(24px, env(safe-area-inset-bottom, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .roadmap-card,
  .roadmap-ideas {
    opacity: 1;
    transform: none !important;
    transition: none;
  }

  .roadmap-track-fill {
    height: 100% !important;
    transition: none;
  }

  .rm-swap-track {
    transition: none;
  }
}

.auth-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--dim);
  line-height: 1.5;
  cursor: pointer;
  user-select: none;
  margin: 12px 0 0;
  text-align: left;
}

.auth-consent a {
  color: var(--gold);
  text-decoration: none;
}

.auth-consent a:hover {
  text-decoration: underline;
}

.auth-consent.shake {
  animation: consentShake 0.4s ease;
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 0 0 2px rgba(246, 196, 83, 0.55);
}

@keyframes consentShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}
