:root {
  --bg: #0f1419;
  --panel: #1a202c;
  --panel-2: #161b25;
  --border: #2d3748;
  --text: #e2e8f0;
  --muted: #a0aec0;
  --blue: #2b6cb0;
  --blue-bright: #3182ce;
  --red: #e53e3e;
  --orange: #dd6b20;
  --purple: #805ad5;
  --teal: #2c7a7b;
  --green: #38a169;

  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --container: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

/* ---------- background texture ---------- */

.bg-glow {
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 800px;
  background: radial-gradient(ellipse at center, rgba(43, 108, 176, 0.22) 0%, rgba(43, 108, 176, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(246, 173, 85, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 173, 85, 0.13) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.ascii-fire {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 226px;
  pointer-events: none;
  z-index: 0;
}

.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  width: 210px;
  height: 210px;
  margin-left: -105px;
  margin-top: -105px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 173, 85, 0.09) 0%, rgba(229, 62, 62, 0.04) 45%, transparent 72%);
  transform: translate(var(--mx, -9999px), var(--my, -9999px));
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cursor-glow.is-active { opacity: 1; }

@media (hover: none) {
  .cursor-glow { display: none; }
  .hint-pointer { display: none; }
  .hint-touch { display: inline !important; }
}

@media (hover: hover) {
  .hint-touch { display: none; }
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(15, 20, 25, 0.75);
  border-bottom: 1px solid var(--border);
}

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

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

.brand-logo {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  object-fit: cover;
  position: relative;
  top: -4px;
}

.brand-name {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.2px;
}

.site-nav {
  display: flex;
  gap: 2rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

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

/* ---------- documentation ---------- */

.docs { padding: 3rem 0 5rem; }

.docs-inner {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

.docs-toc {
  position: sticky;
  top: 5.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.86rem;
}

.docs-toc-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 0.2rem;
}

.docs-toc a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

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

.docs-kicker { text-align: left; }

.docs-title {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.8rem;
}

.docs-lede {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 0 2.5rem;
}

.docs-content section {
  padding-top: 2.5rem;
  margin-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.docs-content section:first-of-type {
  padding-top: 0;
  margin-top: 0;
  border-top: none;
}

.docs-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.docs-content p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 1rem;
}

.docs-content strong { color: var(--text); }

.docs-content code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.1rem 0.35rem;
  color: var(--text);
}

.docs-content pre {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  overflow-x: auto;
  margin: 0 0 1.2rem;
}

.docs-content pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text);
}

.docs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.2rem;
  font-size: 0.88rem;
}

.docs-table th, .docs-table td {
  border-bottom: 1px solid var(--border);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.docs-table thead th {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.docs-table td { color: var(--muted); }
.docs-table td code { white-space: nowrap; }

.pricing-inner { grid-template-columns: minmax(0, 1fr); max-width: 900px; margin: 0 auto; }

.pricing-table { margin-bottom: 2.2rem; table-layout: fixed; width: 100%; }
.pricing-table thead th:first-child { color: var(--text); font-size: 0.95rem; letter-spacing: normal; font-family: var(--font-body); font-weight: 700; }
.pricing-col-feature { width: 65%; }
.pricing-col-tier { text-align: center; width: 11.66%; }
.pricing-col-pro { color: var(--orange); }
.pricing-col-agency { color: var(--purple); }
.pricing-table td.pricing-yes, .pricing-table td.pricing-no { text-align: center; }
.pricing-yes { color: var(--green); font-weight: 700; }
.pricing-no { color: var(--muted); }
.pricing-highlight { color: var(--text); text-align: center; }
.pricing-soon {
  display: block;
  margin: 0.4rem auto 0;
  width: max-content;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--orange) 18%, transparent);
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.pricing-badge {
  display: block;
  margin: 0.4rem auto 0;
  width: max-content;
  max-width: 100%;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--purple) 18%, transparent);
  color: var(--purple);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.03em;
  white-space: normal;
}
.pricing-footnote { color: var(--muted); font-size: 0.85rem; margin-top: 1.5rem; }

@media (max-width: 800px) {
  .docs-inner { grid-template-columns: 1fr; }
  .docs-toc {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.4rem 1.2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
  }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(90deg, var(--red), var(--orange));
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(221, 107, 32, 0.6);
}

.btn-primary:hover {
  background: linear-gradient(90deg, #f56565, #f6ad55);
  box-shadow: 0 10px 28px -6px rgba(221, 107, 32, 0.75);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

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

.btn-sm { padding: 0.55rem 1.15rem; font-size: 0.88rem; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  z-index: 1;
  padding: 5rem 0 3.5rem;
  text-align: center;
}

.tagline {
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0 0 1.1rem;
}

.tw { display: block; line-height: 1.15; }
.tw-ready { color: #f6ad55; }
.tw-aim { color: var(--orange); }
.tw-fire { color: var(--red); text-shadow: 0 0 24px rgba(229, 62, 62, 0.5); }

.kicker {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  background: linear-gradient(90deg, var(--red), var(--orange), #f6ad55);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.06em;
  margin-bottom: 1.4rem;
}

.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 1.4rem;
}

.hero-sub {
  max-width: 640px;
  margin: 0 auto 3rem;
  font-size: 1.15rem;
  color: var(--muted);
}

.hero-demo {
  max-width: 560px;
  margin: 0 auto 3rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.6rem 1.8rem;
  text-align: left;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}

.hero-demo-line {
  font-family: var(--font-mono);
  font-size: 1rem;
  padding: 0.4rem 0;
  color: var(--muted);
}

.hero-demo-line::before {
  content: "$ ";
  color: var(--border);
}

.scramble {
  color: var(--green);
  transition: color 0.4s ease;
}

.scramble.is-redacted { color: var(--blue-bright); }

.scramble-char { color: var(--muted); opacity: 0.7; }

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* ---------- sections shared ---------- */

section { position: relative; z-index: 1; }

.section-kicker {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 600;
  background: linear-gradient(90deg, var(--red), var(--orange), #f6ad55);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.04em;
  margin-bottom: 0.9rem;
  text-align: center;
}

.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 auto 1.1rem;
  max-width: 720px;
  text-align: center;
}

.section-lede {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto 2rem;
  text-align: center;
}

.section-lede em { color: var(--text); font-style: normal; font-weight: 600; }

/* ---------- scenario ---------- */

.scenario { padding: 3.25rem 0 1rem; }

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.scenario-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 1.4rem;
}

.scenario-old { opacity: 0.72; }

.scenario-redactifire {
  border-color: var(--orange);
  box-shadow: 0 0 0 1px var(--orange), 0 20px 40px -20px rgba(221, 107, 32, 0.4);
}

.scenario-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: var(--panel-2);
  border-radius: 5px;
  padding: 0.2rem 0.55rem;
  margin-bottom: 0.9rem;
}

.scenario-tag-accent {
  color: #fff;
  background: linear-gradient(90deg, var(--red), var(--orange));
}

.scenario-card h3 {
  font-size: 1.02rem;
  margin: 0 0 0.5rem;
}

.scenario-card p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0;
}

/* ---------- browser-chrome screenshot frame ---------- */

.showcase { padding: 3.25rem 0; }
.showcase-alt { background: var(--panel-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 0 0 2.5rem;
}

.trust-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.4rem 1.3rem;
}

.trust-card h3 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
}

.trust-card p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0;
}

.trust-caption {
  color: var(--muted);
  font-size: 0.88rem;
  max-width: 680px;
  margin: 1.25rem auto 0;
  text-align: center;
}

.browser-frame {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.65);
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  background: #10151c;
  border-bottom: 1px solid var(--border);
}

.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot-r { background: #ff5f56; }
.dot-y { background: #ffbd2e; }
.dot-g { background: #27c93f; }

.browser-chrome-title {
  margin: 0 auto;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
  transform: translateX(-15px);
}

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

/* ---------- feature cards ---------- */

.features { padding: 3.25rem 0; }

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.feature-card {
  flex: 1 1 220px;
  max-width: 250px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 12px;
  padding: 1.3rem 1.2rem;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: var(--accent);
  font-size: 1rem;
  margin: 0 auto 0.75rem;
}

.feature-card h3 {
  font-size: 0.98rem;
  margin: 0 0 0.5rem;
}

.badge-soon {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.12rem 0.5rem;
  margin-left: 0.3rem;
  vertical-align: middle;
  transform: translateY(-1px);
}

.feature-card p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
  margin: 0;
}

/* ---------- hover reveal table ---------- */

.reveal-section { padding: 3.25rem 0; position: relative; }

.reveal-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.reveal-section .wrap { position: relative; z-index: 1; }

.reveal-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel);
}

.reveal-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.reveal-table th,
.reveal-table td {
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding: 1rem 0.9rem;
  text-align: center;
}

.reveal-table th:last-child,
.reveal-table td:last-child { border-right: none; }

.reveal-table tbody tr:last-child th,
.reveal-table tbody tr:last-child td { border-bottom: none; }

.reveal-table thead th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent, var(--muted));
  background: var(--panel-2);
}

.reveal-level-head { color: var(--muted) !important; text-align: left; }

.reveal-table tbody th {
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--panel-2);
  white-space: nowrap;
}

.reveal-table tbody tr.reveal-row-full th,
.reveal-table tbody tr.reveal-row-full td { background: color-mix(in srgb, var(--red) 10%, var(--panel-2)); }

.reveal-table td {
  position: relative;
  cursor: default;
  overflow: hidden;
  transition: background-color 0.2s ease;
}

.reveal-table td:hover,
.reveal-table td.is-touched { background-color: color-mix(in srgb, var(--accent) 14%, transparent); }

.reveal-flip {
  position: relative;
  height: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.88rem;
}

.reveal-before, .reveal-after {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s ease, filter 0.25s ease;
  white-space: nowrap;
}

/* The redacted value shows by default; the original appears on hover or tap. */
.reveal-after { filter: blur(0); opacity: 1; color: var(--accent); }
.reveal-before { filter: blur(4px); opacity: 0; }

.reveal-table td:hover .reveal-after,
.reveal-table td.is-touched .reveal-after { filter: blur(4px); opacity: 0; }
.reveal-table td:hover .reveal-before,
.reveal-table td.is-touched .reveal-before { filter: blur(0); opacity: 1; }

.reveal-hint {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  opacity: 0.7;
}

.reveal-hint-center { text-align: center; margin: 0.9rem 0 0; }

/* ---------- why redactifire vs. others ---------- */

.comparison { padding: 3.25rem 0; }

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.comparison-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 1.5rem;
}

.comparison-card h3 {
  font-size: 1.05rem;
  margin: 0 0 0.9rem;
  text-align: center;
}

.comparison-line {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0 0 0.8rem;
}

.comparison-line:last-child { margin-bottom: 0; }

.comparison-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 5px;
  padding: 0.14rem 0.5rem;
  margin-right: 0.5rem;
  vertical-align: 1px;
}

.comparison-label-other { color: var(--muted); background: var(--panel-2); }
.comparison-label-us { color: #fff; background: linear-gradient(90deg, var(--red), var(--orange)); }

.comparison-card code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.05rem 0.35rem;
  color: var(--text);
}

.comparison-pitch {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.6;
}

/* ---------- cta ---------- */

.gradient-bar {
  position: relative;
  z-index: 1;
  height: 4px;
  margin: 0 auto;
  max-width: 720px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--red), var(--orange), #f6ad55, var(--orange), var(--red), transparent);
  box-shadow: 0 0 40px 4px rgba(221, 107, 32, 0.45);
}

.cta-section {
  padding: 3.5rem 0 4.5rem;
  text-align: center;
}

.cta-inner .section-title,
.cta-inner .section-lede {
  margin-left: auto;
  margin-right: auto;
}

.cta-inner .section-lede { margin-bottom: 2.5rem; }

/* ---------- mascot ---------- */

.mascot-section {
  padding: 1rem 0 3.5rem;
  text-align: center;
}

.mascot-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mascot-img {
  width: 260px;
  height: auto;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
}

.mascot-name {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--orange);
  letter-spacing: 0.3px;
}

.mascot-caption {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- footer ---------- */

.site-footer {
  position: relative;
  z-index: 1;
  background: linear-gradient(90deg, var(--red), var(--orange));
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: #fff;
  font-size: 0.85rem;
  text-align: center;
}

.footer-inner p { color: rgba(255, 255, 255, 0.85); }

.footer-inner .brand-name { font-size: 0.95rem; color: #fff; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .feature-card { flex-basis: 45%; }
  .site-nav { display: none; }
  .trust-grid { grid-template-columns: 1fr; }
  .scenario-grid { grid-template-columns: 1fr; }
  .comparison-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .feature-card { flex-basis: 100%; max-width: 320px; }
  .hero { padding: 5rem 0 4rem; }
  .wrap { padding: 0 1.25rem; }
  .hero-cta, .footer-inner { flex-direction: column; gap: 1rem; }
  .reveal-table { font-size: 0.85rem; }
  .reveal-table th, .reveal-table td { padding: 0.7rem 0.5rem; }
}


/* ---------- feature carousel ---------- */

.feature-carousel { margin-top: 2.5rem; }

.feature-spotlight {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--border);
  border-top: 4px solid var(--spot-accent, var(--orange));
  border-radius: 16px;
  padding: 2rem 2rem 2.75rem;
  display: grid;
  grid-template-columns: 80px 1fr;
  grid-template-rows: 1fr auto;
  gap: 0 1.5rem;
  align-items: start;
  min-height: 210px;
  margin-bottom: 1.5rem;
  transition: border-top-color 0.4s ease;
}

.feat-spot-icon {
  grid-column: 1;
  grid-row: 1 / 3;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: color-mix(in srgb, var(--spot-accent, var(--orange)) 15%, transparent);
  color: var(--spot-accent, var(--orange));
  font-size: 2rem;
  flex-shrink: 0;
  transition: background 0.4s ease, color 0.4s ease;
  margin-top: 0.25rem;
}

.feat-spot-body {
  grid-column: 2;
  grid-row: 1;
}

.feat-spot-title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.feat-spot-title-row h3 {
  font-size: 1.45rem;
  margin: 0;
  color: var(--text);
  line-height: 1.2;
}

#spot-desc {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
  max-width: 60ch;
}

.feat-spot-nav {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  justify-content: flex-end;
}

.feat-nav-btn {
  background: var(--panel-2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease, background 0.15s ease;
  flex-shrink: 0;
  line-height: 1;
}

.feat-nav-btn:hover {
  border-color: var(--spot-accent, var(--orange));
  background: color-mix(in srgb, var(--spot-accent, var(--orange)) 12%, var(--panel-2));
}

.feat-dots {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  flex: 1;
  justify-content: center;
}

.feat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.feat-dot.is-active {
  background: var(--spot-accent, var(--orange));
  transform: scale(1.5);
}

.feat-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--spot-accent, var(--orange));
  opacity: 0.55;
  transition: background 0.4s ease;
}

.feat-progress.is-running {
  animation: feat-pg 5s linear forwards;
}

@keyframes feat-pg {
  from { width: 0; }
  to { width: 100%; }
}

.badge-tier[hidden], [hidden].badge-tier { display: none; }

.badge-tier {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  border: 1px solid var(--spot-accent, var(--orange));
  color: var(--spot-accent, var(--orange));
  background: color-mix(in srgb, var(--spot-accent, var(--orange)) 12%, transparent);
  transition: color 0.4s ease, background 0.4s ease, border-color 0.4s ease;
  white-space: nowrap;
}

/* Scrollable tab row */
.feature-tabs {
  display: flex;
  gap: 0.625rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  scroll-snap-type: x proximity;
}

.feature-tab {
  flex: 0 0 auto;
  width: 118px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-top: 3px solid transparent;
  border-radius: 10px;
  padding: 0.8rem 0.6rem;
  text-align: center;
  cursor: pointer;
  transition: border-top-color 0.2s ease, background 0.2s ease;
  scroll-snap-align: start;
}

.feature-tab.is-active {
  border-top-color: var(--tab-accent);
  background: color-mix(in srgb, var(--tab-accent) 8%, var(--panel));
}

.feature-tab:hover:not(.is-active) {
  background: var(--panel-2);
}

.feature-tab-icon {
  display: block;
  font-size: 1.25rem;
  color: var(--tab-accent);
  margin-bottom: 0.35rem;
  line-height: 1;
}

.feature-tab-title {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

@media (max-width: 640px) {
  .feature-spotlight {
    grid-template-columns: 54px 1fr;
    gap: 0 1rem;
    padding: 1.5rem 1.25rem 2.25rem;
    min-height: 0;
  }
  .feat-spot-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    border-radius: 12px;
  }
  .feat-spot-title-row h3 { font-size: 1.15rem; }
  #spot-desc { font-size: 0.92rem; }
  .feature-tab { width: 100px; }
}

/* Center pricing table columns 2, 3, and 4 */
.pricing-table th:not(:first-child), .pricing-table td:not(:first-child) {
  text-align: center;
  vertical-align: middle;
}

/* Center text above pricing table */
.pricing-content .docs-kicker,
.pricing-content .docs-title,
.pricing-content .docs-lede {
  text-align: center;
}
.pricing-content .docs-lede {
  margin-left: auto;
  margin-right: auto;
}

/* Vertically center first column in pricing table */
.pricing-table th:first-child, .pricing-table td:first-child {
  text-align: left;
  vertical-align: middle;
}

/* ---------- design refresh (mockup, 2026-10-01) ---------- */

/* Hero: the Ready/Aim tagline leads, the headline carries the claim, and the
   calls to action sit above the fold, before the demo panel. */
.hero { padding: 4.5rem 0 3rem; }
.tagline { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 1.4rem; }
.tw { display: inline; }
.tw + .tw { margin-left: 0.5ch; }
.hero-sub { margin-bottom: 2rem; }
.hero .hero-cta { margin-bottom: 3rem; }
.hero-demo { margin-bottom: 0; }

/* Ghost buttons sit on the fire canvas, so they need a solid fill. */
.btn-ghost { background: var(--panel); }

/* How it works: three steps that mirror the app's Ready / Aim / Redactifire flow. */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 0 auto 2.5rem;
  padding: 0;
}

.step {
  background: var(--panel);
  border: 1px solid var(--border);
  border-top: 3px solid var(--step-accent);
  border-radius: 12px;
  padding: 1.2rem 1.3rem 1.3rem;
}

.step-ready { --step-accent: #f6ad55; }
.step-aim { --step-accent: var(--orange); }
.step-fire { --step-accent: var(--red); }

.step-word {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--step-accent);
}

.step p { color: var(--muted); font-size: 0.92rem; line-height: 1.5; margin: 0.45rem 0 0; }

/* Window chrome with column labels that line up with the split screenshot. */
.browser-chrome-split { position: relative; }
.browser-chrome-col {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  margin-left: 1.2rem;
}
.browser-chrome-col-after { position: absolute; left: 52.5%; margin-left: 0; color: var(--green); }

/* Features: every feature visible at once instead of a 14-step carousel. */
.feature-grid-all {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.25rem;
}

/* 14 features: the first two run wide, so the other 12 fill three full rows. */
.feature-tile:nth-child(-n+2) { grid-column: span 2; }
.feature-tile:nth-child(-n+2) h3 { font-size: 1.15rem; }
.feature-tile:nth-child(-n+2) p { font-size: 0.92rem; }

@media (max-width: 1000px) { .feature-grid-all { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .feature-grid-all { grid-template-columns: 1fr; }
  .feature-tile:nth-child(-n+2) { grid-column: auto; }
}

.feature-tile {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.15rem 1.2rem 1.25rem;
  transition: border-color 0.15s ease;
}

.feature-tile:hover { border-color: color-mix(in srgb, var(--tile-accent) 60%, var(--border)); }

.feature-tile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 1.6rem;
}

.feature-tile-icon { color: var(--tile-accent); font-size: 1.2rem; line-height: 1; }
.feature-tile .badge-tier { --spot-accent: var(--tile-accent); }
.feature-tile h3 { font-size: 1rem; margin: 0.7rem 0 0.4rem; }
.feature-tile p { color: var(--muted); font-size: 0.86rem; line-height: 1.5; margin: 0; }

@media (max-width: 780px) {
  .steps { grid-template-columns: 1fr; }
  .browser-chrome-col { display: none; }
}

/* Pricing: a feature that hasn't shipped shows its status label, not a check. */
.pricing-highlight > .pricing-soon:only-child { margin-top: 0; }
