/* Backlot — landing styles.
 *
 * Design system: dark / OLED, cinematic, content-first. Black surface,
 * rose-red accent (#E11D48 — deliberately NOT Netflix's trademarked
 * #E50914), Inter at multiple weights. Recommended by ui-ux-pro-max
 * for streaming/entertainment + dark-mode pairing.
 *
 * The accent is the "play red" you associate with streaming UIs without
 * actually copying any one brand's color. Pairs with deep indigo
 * (#1E1B4B) for elevated surfaces and pure black for the canvas. */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Surfaces */
  --bg: #000000;
  --bg-elev-1: #0a0a0a;
  --bg-card: #141414;
  --bg-card-hover: #1f1f1f;
  --bg-indigo: #1e1b4b;
  --border: #232323;
  --border-strong: #2e2e2e;

  /* Text */
  --text: #f8fafc;
  --text-muted: #a3a3a3;
  --text-dim: #6b7280;

  /* Accent — rose-red, not Netflix red */
  --accent: #e11d48;
  --accent-hover: #be123c;
  --accent-glow: rgba(225, 29, 72, 0.32);
  --accent-glow-soft: rgba(225, 29, 72, 0.12);
  --accent-text: #fb7185;

  /* Layout */
  --max-width: 1200px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 18px;

  /* Type scale */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --font-mono: 'SF Mono', Menlo, Monaco, 'Cascadia Code', 'Roboto Mono', monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Subtle film-grain noise overlay — very low opacity so it reads as
     texture, not visual noise. Inline SVG turbulence keeps it dependency-free. */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a {
  color: var(--accent-text);
  text-decoration: none;
  transition: color 0.15s ease;
}

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

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.15em 0.4em;
  color: var(--accent-text);
}

pre {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text);
}

pre code {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 3rem 0;
}

/* ─── Layout ─────────────────────────────────────── */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.brand:hover {
  color: var(--text);
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  box-shadow: 0 0 16px var(--accent-glow);
  position: relative;
}

.brand-mark svg {
  width: 18px;
  height: 18px;
  color: #ffffff;
}

.brand-text {
  font-size: 0.95rem;
}

.brand-version {
  font-size: 0.7rem;
  color: var(--text-dim);
  font-weight: 500;
  margin-left: 0.45rem;
  padding: 0.18rem 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav a {
  color: var(--text-muted);
}

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

/* ─── Hero ───────────────────────────────────────── */

.hero {
  position: relative;
  padding: 7rem 0 4rem;
  text-align: center;
  overflow: hidden;
}

/* Drifting cinematic glow — radial gradient that slowly pans across the
   hero, giving the page subtle motion without a video. Respect reduced-
   motion preference (rule from ui-ux-pro-max). */
.hero::before {
  content: '';
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(ellipse 50% 40% at 20% 30%, var(--accent-glow-soft), transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 70%, rgba(30, 27, 75, 0.4), transparent 60%);
  z-index: 0;
  animation: ambient-drift 22s ease-in-out infinite alternate;
  pointer-events: none;
}

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

@keyframes ambient-drift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-3%, 2%) scale(1.06); }
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
  background: var(--accent-glow-soft);
  border: 1px solid rgba(225, 29, 72, 0.28);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  margin-bottom: 1.75rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 1.5rem;
  font-weight: 800;
  background: linear-gradient(180deg, #ffffff 25%, #c8c8c8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .lede {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 38rem;
  margin: 0 auto 2.5rem;
  line-height: 1.55;
  font-weight: 400;
}

.cta-row {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
  cursor: pointer;
}

.cta-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 6px 24px var(--accent-glow);
}

.cta-primary:hover {
  background: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 10px 32px var(--accent-glow);
}

.cta-secondary {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.cta-secondary:hover {
  color: var(--text);
  background: var(--bg-card-hover);
  border-color: var(--accent);
  transform: translateY(-1px);
}

/* Status badge variant — used for "Coming soon to Chrome Web Store" while the
   listing is in review. Not interactive; reads as a passive announcement. */
.cta-soon {
  background: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--border-strong);
  cursor: default;
}

.cta-soon-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
  animation: status-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes status-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.45; }
}

.cta svg {
  width: 16px;
  height: 16px;
}

.hero-meta {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.hero-meta a {
  color: var(--text-muted);
  border-bottom: 1px dashed var(--border-strong);
}

.hero-meta a:hover {
  color: var(--accent-text);
  border-bottom-color: var(--accent);
}

/* ─── Demo / Visual ─────────────────────────────── */

.demo {
  padding: 0 0 6rem;
  position: relative;
}

.demo-frame {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border-strong);
  /* Cinematic shadow + accent rim light around a real screenshot */
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 80px rgba(225, 29, 72, 0.06);
}

.demo-image {
  display: block;
  width: 100%;
  height: auto;
}

/* ─── Sections ──────────────────────────────────── */

.section {
  padding: 5.5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.25rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 0.85rem;
}

.section h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  letter-spacing: -0.025em;
  margin: 0 0 1rem;
  font-weight: 700;
  color: var(--text);
}

.section-lede {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 38rem;
  margin: 0 auto;
  line-height: 1.6;
}

/* ─── Catalogue gallery — 3-up screenshots showing breadth ─────────── */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 880px;
  margin: 0 auto;
}

.gallery-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.gallery-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border-strong);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.02);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover .gallery-frame {
  transform: translateY(-3px);
  border-color: rgba(225, 29, 72, 0.32);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 60px rgba(225, 29, 72, 0.08);
}

.gallery-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.gallery-card figcaption {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-muted);
  text-align: center;
}

/* ─── Features ──────────────────────────────────── */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.85rem;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.feature:hover {
  border-color: rgba(225, 29, 72, 0.35);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--accent-glow-soft);
  border: 1px solid rgba(225, 29, 72, 0.28);
  color: var(--accent-text);
  margin-bottom: 1.1rem;
}

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

.feature h3 {
  font-size: 1.1rem;
  margin: 0 0 0.55rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
}

.feature p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

.feature p strong {
  color: var(--text);
  font-weight: 600;
}

/* ─── Pricing ──────────────────────────────────── */

.pricing {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 880px;
  margin: 0 auto;
}

.plan {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem 1.85rem 1.85rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.plan:hover {
  border-color: rgba(225, 29, 72, 0.32);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

/* Featured tier — accent rim + soft glow so the eye lands on Pro
   without a second hover. Same hover lift as the free card. */
.plan-featured {
  border-color: rgba(225, 29, 72, 0.45);
  background: linear-gradient(180deg, rgba(225, 29, 72, 0.06), var(--bg-card) 70%);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(225, 29, 72, 0.12),
    0 0 80px rgba(225, 29, 72, 0.08);
}

.plan-featured:hover {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(225, 29, 72, 0.09), var(--bg-card-hover) 70%);
}

.plan-ribbon {
  position: absolute;
  top: -0.65rem;
  right: 1.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--accent);
  border-radius: 999px;
  padding: 0.32rem 0.75rem;
  box-shadow: 0 6px 18px var(--accent-glow);
}

.plan-header {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.plan-name {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.plan-price-amount {
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  line-height: 1;
}

.plan-price-period {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

.plan-tagline {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.plan-tagline strong {
  color: var(--text);
  font-weight: 600;
}

.plan-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  flex-grow: 1;
}

.plan-features li {
  position: relative;
  padding-left: 1.55rem;
}

/* Inline rose-red checkmark to keep the markup dependency-free. */
.plan-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.85rem;
  height: 0.85rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fb7185' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

.plan-features li strong {
  color: var(--text);
  font-weight: 600;
}

.plan-cta {
  display: flex;
  justify-content: center;
  margin-top: 0.25rem;
}

.plan-cta .cta {
  width: 100%;
  justify-content: center;
}

.pricing-fineprint {
  text-align: center;
  margin: 1.85rem auto 0;
  max-width: 38rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ─── Install steps ─────────────────────────────── */

.install {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.75rem;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
  display: grid;
  gap: 1.75rem;
}

.step {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 1.1rem;
  align-items: start;
  counter-increment: step;
}

.step::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  margin-top: 0.05rem;
  box-shadow: 0 0 16px var(--accent-glow);
}

.step-body h4 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.015em;
}

.step-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.step-body p + p,
.step-body p + pre,
.step-body pre + p {
  margin-top: 0.55rem;
}

/* ─── About ──────────────────────────────────────── */

.about {
  text-align: center;
}

.about-body {
  max-width: 38rem;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.about-body p {
  margin: 0 0 1rem;
}

.about-body p:last-child {
  margin: 0;
}

.about-body em {
  color: var(--text);
  font-style: italic;
  font-weight: 500;
}

/* ─── Footer ─────────────────────────────────────── */

.site-footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  margin-top: 4rem;
  font-size: 0.875rem;
  color: var(--text-dim);
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-weight: 500;
}

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

/* ─── Legal pages (privacy / terms) ─────────────── */

.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 4.5rem 0 2rem;
}

.legal h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.025em;
  margin: 0 0 0.6rem;
  font-weight: 700;
}

.legal-meta {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}

.legal h2 {
  font-size: 1.4rem;
  letter-spacing: -0.015em;
  margin: 2.75rem 0 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.legal h3 {
  font-size: 1.05rem;
  margin: 1.85rem 0 0.55rem;
  font-weight: 600;
  color: var(--text);
}

.legal p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.legal ul {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.legal ul li {
  margin-bottom: 0.45rem;
}

.legal ul li strong {
  color: var(--text);
  font-weight: 600;
}

.legal a {
  color: var(--accent-text);
  border-bottom: 1px dashed rgba(251, 113, 133, 0.35);
}

.legal a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Tally feedback embed — Tally's embed.js auto-resizes the iframe to its
 * content. We render it on a light card surface (the dark page background
 * was bleeding through with transparentBackground=1, dropping Tally's text
 * to unreadable contrast). The card visually delineates "this is the form"
 * against the dark page chrome. */
.feedback-embed {
  margin: 2.25rem 0 0;
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04);
}

.feedback-embed iframe {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
}

/* ─── Responsive ─────────────────────────────────── */

@media (max-width: 900px) {
  .hero {
    padding: 5rem 0 3rem;
  }

  .gallery {
    grid-template-columns: 1fr;
    max-width: 540px;
    gap: 1.5rem;
  }

  .pricing {
    grid-template-columns: 1fr;
    max-width: 480px;
    gap: 1.25rem;
  }
}

@media (max-width: 700px) {
  .nav {
    gap: 1.1rem;
    font-size: 0.85rem;
  }

  .demo-mock {
    grid-template-columns: 200px 1fr;
  }

  .install {
    padding: 1.85rem;
  }

  .site-footer .container {
    flex-direction: column;
    text-align: center;
  }

  .legal {
    padding: 3rem 0 2rem;
  }

  /* Feature list — drop card chrome, switch to icon-left rows with hairline
     separators. Tighter type, no hover affordances. Phone-native feel. */
  .features {
    gap: 0;
  }

  .feature {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    padding: 1.1rem 0;
    display: grid;
    grid-template-columns: 36px 1fr;
    grid-template-rows: auto auto;
    column-gap: 0.85rem;
    row-gap: 0.3rem;
  }

  .feature:last-child {
    border-bottom: none;
  }

  .feature:hover {
    background: transparent;
    border-color: var(--border);
    transform: none;
  }

  .feature-icon {
    width: 36px;
    height: 36px;
    margin: 0;
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .feature-icon svg {
    width: 18px;
    height: 18px;
  }

  .feature h3 {
    grid-column: 2;
    grid-row: 1;
    font-size: 1rem;
    margin: 0;
    align-self: center;
  }

  .feature p {
    grid-column: 2;
    grid-row: 2;
    font-size: 0.88rem;
    line-height: 1.5;
  }

  /* Section headers tighten up too — less air on small screens. */
  .section {
    padding: 3rem 0 2.25rem;
  }

  .section h2 {
    font-size: 1.55rem;
  }

  .section-lede {
    font-size: 0.95rem;
  }
}

@media (max-width: 500px) {
  .nav .nav-link-extra {
    display: none;
  }

  .demo-mock {
    grid-template-columns: 160px 1fr;
  }

  .demo-panel {
    padding: 0.95rem 0.75rem;
  }

  .demo-photo {
    width: 28px;
    height: 28px;
  }

  .demo-name {
    font-size: 0.74rem;
  }

  .demo-character {
    font-size: 0.66rem;
  }
}

/* Respect prefers-reduced-motion (ui-ux-pro-max accessibility rule §1) */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero::before {
    animation: none;
  }
}

/* ──────────────────────────────────────────────────────────────────────
 * Uninstall survey (landing/uninstall.html)
 * One-tap reason grid. Each tile is a button rather than a form input —
 * Chrome opens this page in a fresh tab when the extension is removed,
 * so we want zero-friction telemetry: one click and you're done.
 * ──────────────────────────────────────────────────────────────────── */
.uninstall-reasons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 24px 0 8px;
}
.uninstall-reasons button {
  font: inherit;
  text-align: left;
  padding: 16px 18px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease, transform 80ms ease;
}
.uninstall-reasons button:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}
.uninstall-reasons button:active:not(:disabled) {
  transform: scale(0.985);
}
.uninstall-reasons button:disabled {
  opacity: 0.35;
  cursor: default;
}
.uninstall-reasons button.chosen {
  opacity: 1;
  background: rgba(225, 29, 72, 0.18);
  border-color: rgba(225, 29, 72, 0.5);
}
