/* ==========================================================================
   CTRBooster — Dark Performance Lab design system
   Space Grotesk (display) · Inter (body) · JetBrains Mono (labels)
   ========================================================================== */

/* --- Local fonts (WOFF2, no CDN) ---------------------------------------- */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/space-grotesk-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/space-grotesk-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/inter-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2');
}

/* --- Tokens -------------------------------------------------------------- */
:root {
  --bg:#07090C;
  --surface:#0E1218;
  --surface-2:#141A22;
  --line:#26303B;
  --text:#F3F4EE;
  --muted:#9AA6B2;
  --yellow:#E7FF3F;
  --red:#FF5A36;
  --cyan:#6EE7E7;

  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;

  --radius: 6px;
  --radius-lg: 12px;
  --maxw: 1120px;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.02) inset, 0 12px 32px rgba(0, 0, 0, 0.45);
}

/* --- Reset / base -------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: clip;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-image:
    radial-gradient(1000px 500px at 85% -10%, rgba(231, 255, 63, 0.06), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(110, 231, 231, 0.05), transparent 55%),
    linear-gradient(rgba(38, 48, 59, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38, 48, 59, 0.22) 1px, transparent 1px);
  background-size: auto, auto, 44px 44px, 44px 44px;
  background-color: var(--bg);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.4em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
  display: block;
}

ul,
ol {
  padding: 0;
  margin: 0;
  list-style: none;
}

em {
  font-style: normal;
}

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

/* --- Layout helpers ------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.container-narrow {
  max-width: 820px;
}

.section {
  padding: 72px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(14, 18, 24, 0.55), rgba(14, 18, 24, 0));
}

.section-head {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-head .section-sub {
  color: var(--muted);
  font-size: 1.05rem;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--yellow);
  flex: none;
}

/* --- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  padding: 14px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--yellow);
  color: #0a0d00;
  box-shadow: 0 0 0 1px rgba(231, 255, 63, 0.35), 0 8px 24px rgba(231, 255, 63, 0.18);
}

.btn-primary:hover {
  background: #f1ff6a;
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line);
}

.btn-secondary:hover {
  border-color: var(--muted);
  background: var(--surface-2);
}

.btn-sm {
  padding: 10px 16px;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* --- Skip link ----------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--yellow);
  color: #0a0d00;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 0 0 var(--radius) 0;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
}

/* --- Header / nav -------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(7, 9, 12, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.wordmark-mark {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: linear-gradient(180deg, var(--yellow), #c9e521);
  display: inline-block;
  position: relative;
  flex: none;
}

.wordmark-mark::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 13px;
  height: 13px;
  background:
    linear-gradient(#0a0d00, #0a0d00) 0 100% / 3px 5px no-repeat,
    linear-gradient(#0a0d00, #0a0d00) 5px 100% / 3px 8px no-repeat,
    linear-gradient(#0a0d00, #0a0d00) 10px 100% / 3px 12px no-repeat;
}

.wordmark-text em {
  color: var(--yellow);
}

.site-nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav-list a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: color 0.15s ease;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded='true'] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded='true'] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded='true'] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero ---------------------------------------------------------------- */
.hero {
  padding: 64px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.hero .lede {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 34rem;
  margin-bottom: 28px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  min-width: 0;
}

/* --- Trust strip --------------------------------------------------------- */
.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  background: rgba(14, 18, 24, 0.4);
}

.trust-strip .container {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.trust-list {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.trust-list li {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 22px;
}

.trust-list li:not(:last-child)::after {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0.6;
}

/* --- Cards & grids ------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: #37465a;
}

.card-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--yellow);
  margin-bottom: 16px;
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

.card-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}

.feature-card .card-icon {
  color: var(--cyan);
}

/* --- Steps --------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 26px 26px 26px;
}

.step-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--yellow);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.step h3 {
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
  margin: 0;
}

/* --- Deep dive ----------------------------------------------------------- */
.deep-dive {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.deep-dive-panel {
  min-width: 0;
}

.deep-dive-copy .section-sub {
  color: var(--muted);
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 24px;
}

.feature-list li {
  display: grid;
  gap: 2px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature-list strong {
  font-weight: 600;
}

.feature-list span {
  color: var(--muted);
  font-size: 0.92rem;
}

/* --- Dashboard mockup ---------------------------------------------------- */
.panel {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.dashboard-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 9, 12, 0.5);
}

.dots {
  display: inline-flex;
  gap: 6px;
}

.dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}

.dots i:nth-child(1) {
  background: var(--red);
}
.dots i:nth-child(2) {
  background: var(--yellow);
}
.dots i:nth-child(3) {
  background: var(--cyan);
}

.dashboard-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  flex: 1;
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 0 rgba(231, 255, 63, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(231, 255, 63, 0.55);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(231, 255, 63, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(231, 255, 63, 0);
  }
}

.dashboard-body {
  padding: 16px;
  display: grid;
  gap: 16px;
}

.campaign-list {
  display: grid;
  gap: 10px;
}

.campaign-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.campaign-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 0.9rem;
  min-width: 0;
}

.chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 4px;
  flex: none;
}

.chip-maps {
  color: var(--cyan);
  background: rgba(110, 231, 231, 0.12);
  border: 1px solid rgba(110, 231, 231, 0.3);
}
.chip-google {
  color: var(--yellow);
  background: rgba(231, 255, 63, 0.1);
  border: 1px solid rgba(231, 255, 63, 0.3);
}
.chip-youtube {
  color: var(--red);
  background: rgba(255, 90, 54, 0.12);
  border: 1px solid rgba(255, 90, 54, 0.3);
}

.campaign-metric {
  display: grid;
  gap: 2px;
  text-align: right;
}

.metric-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.metric-value {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
}

.metric-value.up {
  color: var(--yellow);
}

.campaign-status {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
}

.campaign-status.ok {
  color: var(--yellow);
  background: rgba(231, 255, 63, 0.1);
  border: 1px solid rgba(231, 255, 63, 0.25);
}

.campaign-status.warm {
  color: var(--red);
  background: rgba(255, 90, 54, 0.1);
  border: 1px solid rgba(255, 90, 54, 0.25);
}

.signal-chart {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.chart-legend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.legend-yellow,
.legend-cyan {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  display: inline-block;
}

.legend-yellow {
  background: var(--yellow);
}
.legend-cyan {
  background: var(--cyan);
  margin-left: 8px;
}

.spark {
  width: 100%;
  height: 96px;
}

.spark-grid {
  stroke: var(--line);
  stroke-width: 1;
}

.spark-area {
  fill: url(#spark-fill);
}

.spark-line {
  fill: none;
  stroke: var(--yellow);
  stroke-width: 2;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.spark-line2 {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.6;
  stroke-linecap: round;
  opacity: 0.8;
  vector-effect: non-scaling-stroke;
}

.device-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.device-strip .metric-label {
  margin-right: 4px;
}

.device-chip {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

/* --- Pricing ------------------------------------------------------------- */
.pricing-wrap {
  display: flex;
  justify-content: center;
}

.plan-card {
  width: 100%;
  max-width: 460px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  position: relative;
}

.plan-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--yellow), var(--red));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.plan-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

.plan-badge {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow);
  padding: 4px 9px;
  border: 1px solid rgba(231, 255, 63, 0.3);
  border-radius: 4px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}

.price-suffix {
  color: var(--muted);
  font-size: 0.9rem;
}

.price-plus {
  color: var(--muted);
  font-family: var(--font-mono);
  margin: 0 2px;
}

.price-mo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
}

.price-mo .per {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 400;
}

.price-compare {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.price-compare s {
  color: var(--red);
}

.plan-inclusions {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.plan-inclusions li {
  position: relative;
  padding-left: 24px;
  color: var(--text);
  font-size: 0.95rem;
}

.plan-inclusions li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--yellow);
  border-bottom: 2px solid var(--yellow);
  transform: rotate(-45deg);
}

.plan-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  margin: 14px 0 0;
}

/* --- FAQ ----------------------------------------------------------------- */
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.15s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--yellow);
}

.faq-toggle {
  position: relative;
  width: 18px;
  height: 18px;
  flex: none;
}

.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  background: var(--muted);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.faq-toggle::before {
  left: 0;
  top: 8px;
  width: 18px;
  height: 2px;
}

.faq-toggle::after {
  left: 8px;
  top: 0;
  width: 2px;
  height: 18px;
}

.faq-item[open] .faq-toggle::after {
  transform: rotate(90deg);
}

.faq-item[open] .faq-toggle::before,
.faq-item[open] .faq-toggle::after {
  background: var(--yellow);
}

.faq-answer {
  padding: 0 20px 20px;
}

.faq-answer p {
  color: var(--muted);
  margin: 0;
}

/* --- Final CTA ----------------------------------------------------------- */
.final-cta {
  padding: 80px 0;
  text-align: center;
  background:
    radial-gradient(600px 260px at 50% 0%, rgba(231, 255, 63, 0.1), transparent 70%),
    var(--surface);
  border-top: 1px solid var(--line);
}

.final-cta h2 {
  margin-bottom: 12px;
}

.final-cta p {
  color: var(--muted);
  max-width: 30rem;
  margin: 0 auto 24px;
}

/* --- Footer -------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 56px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-brand .wordmark {
  margin-bottom: 14px;
}

.footer-tagline {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 22rem;
  margin: 0;
}

.footer-heading {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 0.15s ease;
}

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

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-bottom p {
  margin: 0;
}

/* --- Enterprise extras & feature checklist (homepage) -------------------- */
.enterprise-extras {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.enterprise-extras li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.enterprise-extras li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(-45deg);
}

.feature-checks {
  margin-top: 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.feature-checks h3 {
  margin-bottom: 16px;
}

.check-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--text);
  font-size: 0.92rem;
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--yellow);
  border-bottom: 2px solid var(--yellow);
  transform: rotate(-45deg);
}

.cheat-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.cheat-note a {
  color: var(--yellow);
}

/* --- Testimonials -------------------------------------------------------- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial-quote {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
}

.testimonial-author strong {
  color: var(--text);
  font-weight: 600;
}

.testimonial-author span {
  color: var(--muted);
  font-size: 0.82rem;
}

/* --- Facts list ---------------------------------------------------------- */
.facts-list {
  display: grid;
  gap: 14px;
  counter-reset: facts;
}

.facts-list li {
  position: relative;
  padding: 16px 18px 16px 52px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.95rem;
}

.facts-list li::before {
  counter-increment: facts;
  content: counter(facts, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 16px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--yellow);
}

/* --- Statistics grid ----------------------------------------------------- */
.stat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: -0.02em;
}

.stat-label {
  color: var(--muted);
  font-size: 0.9rem;
}

/* --- Responsive: tablet (≥768px) ---------------------------------------- */
@media (min-width: 768px) {
  .section {
    padding: 96px 0;
  }

  .card-grid.grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid.grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid.grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .feature-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .check-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .enterprise-extras {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 2fr repeat(3, 1fr);
  }
}

/* --- Responsive: desktop (≥1024px) -------------------------------------- */
@media (min-width: 1024px) {
  .site-nav-list {
    gap: 20px;
  }

  .site-nav-list a {
    font-size: 0.9rem;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .deep-dive {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .card-grid.grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-grid.grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .check-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .stat-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .campaign-row {
    grid-template-columns: 1fr 110px 110px 90px;
  }
}

/* --- Responsive: mobile nav (≤768px) ------------------------------------ */
@media (max-width: 768px) {
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: 72px;
    right: 0;
    width: min(84vw, 320px);
    height: calc(100vh - 72px);
    background: var(--surface);
    border-left: 1px solid var(--line);
    padding: 24px;
    transform: translateX(100%);
    transition: transform 0.24s ease;
    z-index: 70;
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .site-nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .site-nav-list a {
    display: block;
    padding: 12px 0;
    font-size: 1.05rem;
    color: var(--text);
    border-bottom: 1px solid var(--line);
    width: 100%;
  }

  .campaign-row {
    grid-template-columns: 1fr auto;
    grid-auto-rows: auto;
  }

  .campaign-metric {
    text-align: right;
  }

  .campaign-status {
    justify-self: start;
  }
}

/* --- Responsive: small phone (≤390px) ----------------------------------- */
@media (max-width: 390px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    padding: 40px 0 40px;
  }

  .section {
    padding: 56px 0;
  }

  h1 {
    font-size: 2rem;
  }

  .trust-list {
    gap: 14px;
  }

  .campaign-row {
    gap: 10px;
    padding: 10px;
  }

  .campaign-name {
    font-size: 0.82rem;
  }

  .plan-card {
    padding: 24px;
  }

  .price {
    font-size: 2.5rem;
  }
}

/* --- Reduced motion ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ==========================================================================
   Subpage components — callouts, tutorials, changelog (Tasks 10)
   ========================================================================== */

/* --- Page hero (subpages) ------------------------------------------------ */
.page-hero {
  padding-bottom: 0;
}

/* --- Callouts (notices, groups, cheat sheet) ----------------------------- */
.callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}

.callout h2,
.callout h3 {
  margin-bottom: 12px;
}

.callout p {
  color: var(--muted);
  margin: 0 0 12px;
}

.callout p:last-child {
  margin-bottom: 0;
}

.callout a {
  color: var(--yellow);
  overflow-wrap: anywhere;
}

.group-link {
  display: inline-block;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.group-link:hover {
  text-decoration: underline;
}

.callout-alert {
  border-left: 3px solid var(--red);
}

.callout-accent {
  border-left: 3px solid var(--yellow);
}

.callout-group {
  border-left: 3px solid var(--cyan);
}

.callout-note {
  border-left: 3px solid var(--yellow);
}

.fine-print {
  font-size: 0.8rem;
  color: var(--muted);
}

/* --- Video tutorial grid ------------------------------------------------- */
.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.video-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.video-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.video-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--yellow);
  padding-top: 4px;
  flex: none;
}

.video-title {
  margin: 0;
  font-size: 1.05rem;
}

.video-note {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
}

.video-link {
  align-self: flex-start;
  color: var(--yellow);
  font-weight: 600;
  font-size: 0.9rem;
}

.video-link:hover {
  text-decoration: underline;
}

/* --- Numbered setup steps ------------------------------------------------ */
.setup-steps {
  display: grid;
  gap: 12px;
}

.setup-steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.setup-steps .step-num {
  display: inline;
  margin-bottom: 0;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--yellow);
  letter-spacing: 0.1em;
  flex: none;
  padding-top: 2px;
}

.setup-steps li span:last-child {
  color: var(--text);
  font-size: 0.95rem;
}

/* --- Changelog release list --------------------------------------------- */
.release-list {
  display: grid;
  gap: 16px;
}

.release {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.release-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.release-version {
  margin: 0;
  font-size: 1.25rem;
}

.release-meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.release-changes {
  display: grid;
  gap: 8px;
}

.release-changes li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.release-changes li::before {
  content: '\2013';
  position: absolute;
  left: 0;
  color: var(--yellow);
}

/* --- Responsive: subpage grids ------------------------------------------- */
@media (min-width: 768px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .video-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   Contact & bug report pages (Task 11)
   ========================================================================== */

/* --- Contact prose ------------------------------------------------------- */
.contact-copy {
  font-size: 1.05rem;
}

.contact-copy p {
  margin-bottom: 1.1em;
}

.contact-copy a {
  color: var(--yellow);
  overflow-wrap: anywhere;
}

.contact-copy a:hover {
  text-decoration: underline;
}

/* --- Mailto draft form --------------------------------------------------- */
.mailto-form {
  display: grid;
  gap: 20px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

.field input,
.field textarea {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 14px;
  transition: border-color 0.15s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--yellow);
}

.field textarea {
  resize: vertical;
  min-height: 160px;
}

.field-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.field-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.field code {
  font-family: var(--font-mono);
  color: var(--yellow);
  font-size: 0.85em;
}

.field input[type='file'] {
  padding: 8px;
  color: var(--muted);
}

.field input[type='file']::file-selector-button {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  cursor: pointer;
  margin-right: 12px;
}

.field input[type='file']::file-selector-button:hover {
  border-color: var(--muted);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.form-status {
  margin: 0;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

/* ==========================================================================
   Legal pages (Task 12)
   ========================================================================== */

/* --- Legal prose --------------------------------------------------------- */
.legal-content {
  color: var(--text);
  font-size: 1rem;
}

.legal-content h2 {
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  margin: 2em 0 0.6em;
  padding-top: 0;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1.05rem;
  margin: 1.6em 0 0.6em;
}

.legal-content p {
  color: var(--muted);
  margin: 0 0 1.1em;
  overflow-wrap: anywhere;
}

.legal-content a {
  color: var(--yellow);
  overflow-wrap: anywhere;
}

.legal-content a:hover {
  text-decoration: underline;
}

.last-updated {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 24px;
}

/* --- Legal lists (native markers, overriding the site reset) ------------- */
.legal-list {
  list-style: decimal outside;
  padding-left: 1.5em;
  margin: 0 0 1.5em;
}

.legal-list ul,
ul.legal-list {
  list-style: disc outside;
}

.legal-list li {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.6em;
}

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