/* =========================================================
   Meta Ads Change Log — Landing Page
   Bundled Geist fonts (OFL, Vercel) — offline-safe
   Matches extension design tokens (dark slate + electric indigo)
   ========================================================= */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/Geist-Light.woff2") format("woff2");
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/Geist-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/Geist-Medium.woff2") format("woff2");
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/Geist-SemiBold.woff2") format("woff2");
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/Geist-Bold.woff2") format("woff2");
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/GeistMono-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/GeistMono-Medium.woff2") format("woff2");
}

/* ---------- Design tokens (dark default, mirrored from extension) ---------- */
:root {
  --bg0: #0B0D12;
  --bg1: #10141B;
  --bg2: #161B24;
  --bg3: #1E2530;
  --bg4: #2A3342;

  --line: rgba(255, 255, 255, 0.06);
  --line-strong: rgba(255, 255, 255, 0.10);
  --line-accent: rgba(99, 102, 241, 0.35);

  --tx0: #F3F5F9;
  --tx1: #C8CEDA;
  --tx2: #9AA3B5;
  --tx3: #7A8296;

  --accent: #6366F1;
  --accent-hi: #818CF8;
  --accent-lo: #4F46E5;
  --accent-bg: rgba(99, 102, 241, 0.14);
  --accent-glow: rgba(99, 102, 241, 0.28);

  --good: #34D399;
  --good-bg: rgba(52, 211, 153, 0.14);
  --warn: #FBBF24;
  --warn-bg: rgba(251, 191, 36, 0.14);
  --bad:  #F87171;
  --bad-bg:  rgba(248, 113, 113, 0.14);
  --info: #60A5FA;
  --info-bg: rgba(96, 165, 250, 0.14);

  --shadow-panel: 0 24px 60px -20px rgba(0,0,0,0.55), 0 8px 24px -8px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.04);
  --shadow-pop:   0 12px 32px -12px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.06);
  --shadow-accent: 0 20px 48px -16px rgba(99, 102, 241, 0.45);

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-2xl: 32px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-std: cubic-bezier(0.4, 0, 0.2, 1);

  --maxw: 1200px;
}

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

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

body {
  margin: 0;
  padding: 0;
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--tx1);
  background: var(--bg0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "ss02", "cv11";
}

/* Nebula-style background — layered radials + fine grid + grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 600px at 15% -5%, rgba(99, 102, 241, 0.18), transparent 55%),
    radial-gradient(ellipse 900px 700px at 85% 10%, rgba(79, 70, 229, 0.12), transparent 60%),
    radial-gradient(ellipse 700px 500px at 50% 110%, rgba(129, 140, 248, 0.08), transparent 60%),
    linear-gradient(180deg, #0B0D12 0%, #0A0C11 100%);
  z-index: -2;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 56px 56px;
  z-index: -1;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 1200px 800px at 50% 0%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 1200px 800px at 50% 0%, #000 20%, transparent 80%);
}

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

a {
  color: var(--accent-hi);
  text-decoration: none;
  transition: color 180ms var(--ease-std);
}

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

h1, h2, h3, h4 {
  font-family: "Geist", sans-serif;
  color: var(--tx0);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 0.5em;
}

h1 { font-weight: 600; }
h2 { font-weight: 600; letter-spacing: -0.025em; }
h3 { font-weight: 600; letter-spacing: -0.015em; }

p {
  margin: 0 0 1em;
  color: var(--tx1);
  max-width: 65ch;
}

code, .mono {
  font-family: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.92em;
}

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

.section {
  padding: 96px 0;
}

.section--tight { padding: 64px 0; }
.section--hero  { padding: 48px 0 88px; }

@media (max-width: 960px) {
  .section       { padding: 72px 0; }
  .section--tight{ padding: 48px 0; }
  .section--hero { padding: 32px 0 64px; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section   { padding: 56px 0; }
  .section--hero { padding: 24px 0 48px; }
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(11, 13, 18, 0.72);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--tx0);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 15px;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px -6px var(--accent-glow);
  line-height: 0;
}
.brand-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 14px;
}

.nav-links a {
  color: var(--tx2);
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--r-md);
  background: linear-gradient(180deg, var(--accent-hi), var(--accent));
  color: #fff !important;
  font-weight: 500;
  font-size: 14px;
  box-shadow: var(--shadow-accent), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 26px 56px -18px rgba(99, 102, 241, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.nav-cta:active {
  transform: translateY(0);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--tx0);
  border-radius: var(--r-sm);
  padding: 8px 10px;
  cursor: pointer;
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 60px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: flex-start;
    background: var(--bg2);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-lg);
    padding: 16px 18px;
    gap: 14px;
    box-shadow: var(--shadow-pop);
  }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--r-md);
  font-family: inherit;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 180ms var(--ease-out), background 180ms, border-color 180ms, box-shadow 180ms;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(180deg, var(--accent-hi), var(--accent));
  color: #fff;
  box-shadow: var(--shadow-accent), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 30px 64px -18px rgba(99, 102, 241, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  color: #fff;
}

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

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--tx0);
  border-color: var(--line-strong);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--tx0);
}

.btn-lg {
  padding: 15px 26px;
  font-size: 16px;
  border-radius: 14px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Geist Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-hi);
  background: var(--accent-bg);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-accent);
  margin-bottom: 20px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-hi);
  box-shadow: 0 0 12px var(--accent-hi);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(0.85); }
}

.hero h1 {
  font-size: clamp(2.2rem, 5.2vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin-bottom: 22px;
}

.hero h1 .accent {
  background: linear-gradient(135deg, #a5b4fc 0%, #818cf8 50%, #6366f1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--tx2);
  max-width: 560px;
  margin-bottom: 28px;
  line-height: 1.55;
}

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

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  color: var(--tx3);
  font-size: 13px;
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-trust-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--tx3);
}

.hero-trust svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--accent-hi);
}

/* ---------- Hero mockup (split-screen) ---------- */
.mockup {
  position: relative;
  border-radius: var(--r-xl);
  overflow: visible;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.5));
}

.mock-ads {
  background: var(--bg2);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  padding: 18px 20px 22px;
  box-shadow: var(--shadow-panel);
  position: relative;
}

.mock-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}

.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mock-dot--r { background: #ff5f57; }
.mock-dot--y { background: #febc2e; }
.mock-dot--g { background: #28c840; }

.mock-title {
  margin-left: 12px;
  font-size: 12px;
  color: var(--tx3);
  font-family: "Geist Mono", monospace;
}

.mock-head {
  display: grid;
  grid-template-columns: 1fr 70px 80px 70px;
  gap: 16px;
  padding: 8px 10px;
  font-size: 10.5px;
  color: var(--tx3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: "Geist Mono", monospace;
}

.mock-row {
  display: grid;
  grid-template-columns: 1fr 70px 80px 70px;
  gap: 16px;
  align-items: center;
  padding: 12px 10px;
  border-radius: 10px;
  font-size: 13px;
  position: relative;
}

.mock-row:hover { background: rgba(255, 255, 255, 0.03); }

.mock-row + .mock-row { border-top: 1px solid var(--line); }

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

.mock-campaign-name {
  color: var(--tx0);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-family: "Geist Mono", monospace;
  padding: 2px 8px;
  border-radius: 999px;
  width: fit-content;
}

.mock-badge--warn { background: var(--warn-bg); color: var(--warn); border: 1px solid rgba(251, 191, 36, 0.25); }
.mock-badge--bad  { background: var(--bad-bg);  color: var(--bad);  border: 1px solid rgba(248, 113, 113, 0.25); }
.mock-badge--info { background: var(--info-bg); color: var(--info); border: 1px solid rgba(96, 165, 250, 0.25); }

.mock-status {
  font-size: 11.5px;
  color: var(--tx2);
  font-family: "Geist Mono", monospace;
}

.mock-num {
  font-family: "Geist Mono", monospace;
  color: var(--tx1);
  text-align: right;
  font-size: 12.5px;
}

/* Slack alert pop */
.mock-slack {
  position: absolute;
  right: -28px;
  bottom: -48px;
  width: 300px;
  background: var(--bg3);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: 16px;
  box-shadow: var(--shadow-pop), 0 30px 60px -20px rgba(99, 102, 241, 0.35);
  animation: slackSlide 0.9s var(--ease-out) 0.2s both;
}

@keyframes slackSlide {
  from { opacity: 0; transform: translate(-12px, 12px) scale(0.96); }
  to   { opacity: 1; transform: translate(0, 0) scale(1); }
}

.mock-slack-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--tx2);
  font-family: "Geist Mono", monospace;
  margin-bottom: 10px;
}

.mock-slack-channel { color: var(--tx1); }

.mock-slack-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--tx0);
  font-weight: 500;
  margin-bottom: 4px;
}

.mock-slack-title svg { color: var(--bad); width: 16px; height: 16px; }

.mock-slack-meta {
  font-size: 12px;
  color: var(--tx3);
  margin-bottom: 12px;
}

.mock-slack-impact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  background: var(--bad-bg);
  border-radius: 10px;
  border: 1px solid rgba(248, 113, 113, 0.2);
  margin-bottom: 12px;
}

.mock-slack-impact-label {
  font-size: 11px;
  color: var(--tx3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: "Geist Mono", monospace;
}

.mock-slack-impact-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--bad);
  font-family: "Geist Mono", monospace;
}

.mock-slack-actions {
  display: flex;
  gap: 8px;
}

.mock-slack-btn {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--tx1);
  border: 1px solid var(--line-strong);
  font-family: inherit;
  cursor: pointer;
  flex: 1;
  text-align: center;
}

.mock-slack-btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

@media (max-width: 700px) {
  .mock-slack {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 20px;
  }
  .mockup { filter: none; }
  .mock-head, .mock-row {
    grid-template-columns: 1fr 66px 62px;
  }
  .mock-head > :nth-child(3),
  .mock-row  > :nth-child(3) { display: none; }
}

/* ---------- Problem section ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

@media (max-width: 900px) {
  .problem-grid { grid-template-columns: 1fr; }
}

.problem-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.problem-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 200px at 0% 0%, rgba(99, 102, 241, 0.08), transparent);
  pointer-events: none;
}

.problem-label {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-hi);
  margin-bottom: 14px;
}

.problem-time {
  font-family: "Geist Mono", monospace;
  font-size: 13px;
  color: var(--tx3);
  margin-bottom: 8px;
}

.problem-quote {
  font-size: 17px;
  color: var(--tx0);
  margin: 0 0 10px;
  font-weight: 500;
  line-height: 1.35;
}

.problem-card p {
  font-size: 14px;
  color: var(--tx2);
  line-height: 1.55;
}

/* ---------- Section headers ---------- */
.section-head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.section-head p {
  font-size: 1.08rem;
  color: var(--tx2);
  margin: 0 auto;
  max-width: 620px;
}

/* ---------- Moat layers (3 feature blocks) ---------- */
.moat {
  display: grid;
  gap: 24px;
}

.moat-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

.moat-row:first-child { border-top: none; padding-top: 0; }

.moat-row.reverse { direction: rtl; }
.moat-row.reverse > * { direction: ltr; }

@media (max-width: 900px) {
  .moat-row {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 0;
  }
  .moat-row.reverse { direction: ltr; }
}

.moat-copy .eyebrow { margin-bottom: 16px; }

.moat-copy h3 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.moat-copy p {
  color: var(--tx2);
  font-size: 1rem;
  line-height: 1.6;
}

.moat-copy ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}

.moat-copy li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--tx1);
}

.moat-copy li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--good);
  margin-top: 2px;
}

.moat-visual {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008));
  border: 1px solid var(--line-strong);
  border-radius: var(--r-2xl);
  padding: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-panel);
  min-height: 280px;
}

.moat-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 300px at 50% -10%, rgba(99, 102, 241, 0.14), transparent 60%);
  pointer-events: none;
}

/* Inline badge demo */
.visual-inline {
  position: relative;
  z-index: 1;
}

.visual-inline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-size: 13px;
}

.visual-inline-row + .visual-inline-row { margin-top: 8px; }

.visual-inline-campaign { color: var(--tx0); font-weight: 500; }
.visual-inline-num { font-family: "Geist Mono", monospace; color: var(--tx1); font-size: 12.5px; }

.visual-inline-badges {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

/* Slack visual */
.visual-slack {
  background: var(--bg3);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: 18px;
  box-shadow: var(--shadow-pop);
  position: relative;
  z-index: 1;
}

.visual-slack .mock-slack-title { margin-bottom: 8px; }

.visual-slack-diff {
  font-family: "Geist Mono", monospace;
  font-size: 12.5px;
  color: var(--tx1);
  background: rgba(0, 0, 0, 0.25);
  padding: 10px 12px;
  border-radius: 8px;
  margin-top: 12px;
  line-height: 1.6;
}

.diff-del { color: var(--bad); }
.diff-add { color: var(--good); }

/* Correlation visual (mini chart) */
.visual-corr {
  position: relative;
  z-index: 1;
  height: 230px;
  display: flex;
  align-items: flex-end;
  gap: 0;
}

.corr-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.corr-line {
  fill: none;
  stroke: var(--accent-hi);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.6));
}

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

.corr-edit {
  stroke: var(--bad);
  stroke-width: 2;
  stroke-dasharray: 4 4;
}

.corr-edit-label {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  fill: var(--bad);
}

.corr-delta {
  font-family: "Geist Mono", monospace;
  font-size: 24px;
  fill: var(--bad);
  font-weight: 600;
}

.corr-delta-label {
  font-family: "Geist Mono", monospace;
  font-size: 10.5px;
  fill: var(--tx3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
}

.step {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  position: relative;
}

.step-num {
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-hi);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-num::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--line-accent);
}

.step h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--tx0);
}

.step p {
  font-size: 14.5px;
  color: var(--tx2);
  margin: 0;
}

/* ---------- Pricing ---------- */
.pricing-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--bg2);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 4px;
  margin: 0 auto 40px;
  font-size: 13.5px;
  font-weight: 500;
}

.pricing-toggle-wrap {
  display: flex;
  justify-content: center;
}

.pricing-toggle button {
  background: transparent;
  border: none;
  color: var(--tx2);
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  transition: background 180ms, color 180ms;
}

.pricing-toggle button.active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px -4px var(--accent-glow);
}

.pricing-toggle-save {
  margin-left: 8px;
  font-size: 11.5px;
  color: var(--good);
  font-family: "Geist Mono", monospace;
  font-weight: 500;
}

.tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 12px;
}

@media (max-width: 1060px) {
  .tiers { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .tiers { grid-template-columns: 1fr; }
}

.tier {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.005));
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.tier--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 30px 60px -20px rgba(99, 102, 241, 0.4);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.08), rgba(99, 102, 241, 0.015));
}

.tier-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Geist Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
  font-weight: 500;
}

.tier-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--tx0);
  margin-bottom: 4px;
}

.tier-desc {
  font-size: 13px;
  color: var(--tx3);
  margin-bottom: 18px;
  min-height: 34px;
}

.tier-price {
  display: baseline;
  margin-bottom: 18px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.tier-price-num {
  font-size: 38px;
  font-weight: 600;
  color: var(--tx0);
  letter-spacing: -0.03em;
  font-family: "Geist", sans-serif;
}

.tier-price-unit {
  font-size: 14px;
  color: var(--tx3);
  font-family: "Geist Mono", monospace;
}

.tier-annual {
  font-size: 12px;
  color: var(--tx3);
  margin-top: -10px;
  margin-bottom: 14px;
  font-family: "Geist Mono", monospace;
  min-height: 16px;
}

.tier-annual .good { color: var(--good); }

.tier .btn {
  width: 100%;
  margin-bottom: 20px;
}

.tier-feats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  font-size: 13.5px;
  color: var(--tx1);
}

.tier-feats li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.45;
}

.tier-feats li svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent-hi);
}

.tier-feats .feat-head {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tx3);
  margin-top: 6px;
}

.tier-feats .feat-head::before { content: none; }

.pricing-footnote {
  text-align: center;
  margin-top: 28px;
  font-size: 13px;
  color: var(--tx3);
}

.pricing-footnote strong { color: var(--tx1); font-weight: 500; }

/* ---------- Feature matrix ---------- */
.matrix-wrap {
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  margin-top: 12px;
  -webkit-overflow-scrolling: touch;
}

.matrix {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 13.5px;
}

.matrix th,
.matrix td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.matrix thead th {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--tx2);
  background: rgba(255, 255, 255, 0.02);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: "Geist Mono", monospace;
  padding: 16px 18px;
}

.matrix thead th.highlight {
  color: var(--accent-hi);
  background: rgba(99, 102, 241, 0.08);
}

.matrix tbody tr:last-child td { border-bottom: none; }

.matrix tbody tr:hover td { background: rgba(255, 255, 255, 0.015); }

.matrix td:first-child {
  color: var(--tx1);
  font-weight: 500;
}

.matrix td.highlight { background: rgba(99, 102, 241, 0.05); color: var(--tx0); }

.matrix .check svg {
  width: 16px;
  height: 16px;
  color: var(--good);
}

.matrix .dash { color: var(--tx3); font-family: "Geist Mono", monospace; }

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 12px;
  margin-top: 32px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color 200ms var(--ease-std);
}

.faq-item[open] { border-color: rgba(99, 102, 241, 0.3); }

.faq-item summary {
  list-style: none;
  padding: 20px 22px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--tx0);
  transition: background 180ms;
}

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

.faq-item summary:hover { background: rgba(255, 255, 255, 0.02); }

.faq-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--accent-bg);
  color: var(--accent-hi);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 240ms var(--ease-out);
}

.faq-item[open] .faq-icon { transform: rotate(45deg); }

.faq-body {
  padding: 0 22px 22px;
  color: var(--tx2);
  font-size: 15px;
  line-height: 1.6;
}

.faq-body p { color: var(--tx2); max-width: none; }
.faq-body p:last-child { margin-bottom: 0; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background:
    radial-gradient(600px 280px at 20% 0%, rgba(99, 102, 241, 0.22), transparent 60%),
    radial-gradient(500px 300px at 90% 100%, rgba(129, 140, 248, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(99, 102, 241, 0.05), rgba(79, 70, 229, 0.02));
  border: 1px solid var(--line-accent);
  border-radius: var(--r-2xl);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.cta-banner p {
  color: var(--tx2);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto 28px;
}

.cta-banner .hero-ctas { justify-content: center; }

.cta-trust {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 22px;
  font-size: 13px;
  color: var(--tx3);
}

@media (max-width: 640px) {
  .cta-banner { padding: 40px 24px; }
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
  color: var(--tx3);
  font-size: 13.5px;
}

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

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tx2);
  font-weight: 500;
  font-family: "Geist Mono", monospace;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-col a {
  color: var(--tx2);
  font-size: 13.5px;
}
.footer-col a:hover { color: var(--tx0); }

.footer-about {
  color: var(--tx2);
  line-height: 1.55;
  max-width: 340px;
  margin-top: 12px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  color: var(--tx3);
  font-size: 12.5px;
  font-family: "Geist Mono", monospace;
}

/* ---------- Utility: Entrance animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.85s var(--ease-out) forwards;
}

.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.16s; }
.delay-3 { animation-delay: 0.24s; }
.delay-4 { animation-delay: 0.32s; }
.delay-5 { animation-delay: 0.40s; }

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

@media (prefers-reduced-motion: reduce) {
  .fade-up,
  .mock-slack,
  .eyebrow-dot {
    animation: none;
    opacity: 1;
    transform: none;
  }
  html { scroll-behavior: auto; }
}

/* ---------- Privacy page ---------- */
.doc {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.doc h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.doc .doc-meta {
  color: var(--tx3);
  font-family: "Geist Mono", monospace;
  font-size: 13px;
  margin-bottom: 32px;
}

.doc h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 40px 0 14px;
  color: var(--tx0);
}

.doc h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 24px 0 10px;
  color: var(--tx0);
}

.doc p, .doc li {
  color: var(--tx1);
  line-height: 1.65;
}

.doc ul, .doc ol {
  padding-left: 22px;
  margin: 0 0 18px;
}

.doc li { margin-bottom: 6px; }

.doc hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 40px 0;
}

.doc code {
  background: var(--bg2);
  border: 1px solid var(--line);
  padding: 2px 6px;
  border-radius: 6px;
  color: var(--tx0);
  font-size: 0.88em;
}

.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 22px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.doc th, .doc td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.doc th {
  background: rgba(255, 255, 255, 0.03);
  color: var(--tx0);
  font-weight: 500;
  font-size: 13px;
}

.doc tr:last-child td { border-bottom: none; }

.doc a { text-decoration: underline; text-underline-offset: 3px; }

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

/* Focus styles for a11y */
:focus-visible {
  outline: 2px solid var(--accent-hi);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ============================= TESTIMONIALS ============================= */
.section-testimonials {
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.03) 0%, transparent 100%);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
@media (max-width: 960px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}
.tcard {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}
.tcard:hover {
  transform: translateY(-2px);
  border-color: rgba(129, 140, 248, 0.25);
  background: rgba(255, 255, 255, 0.04);
}
.tcard-stars {
  color: #F59E0B;
  font-size: 14px;
  letter-spacing: 3px;
  line-height: 1;
}
.tcard-quote {
  font-size: 15px;
  line-height: 1.55;
  color: var(--tx1);
  margin: 0;
  font-weight: 400;
}
.tcard-by {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.tcard-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Geist", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
  background: linear-gradient(135deg, #6366F1, #A5B4FC);
}
.tcard-avatar[data-a="M"] { background: linear-gradient(135deg, #6366F1, #A5B4FC); }
.tcard-avatar[data-a="S"] { background: linear-gradient(135deg, #EC4899, #F9A8D4); }
.tcard-avatar[data-a="J"] { background: linear-gradient(135deg, #14B8A6, #5EEAD4); }
.tcard-avatar[data-a="D"] { background: linear-gradient(135deg, #F59E0B, #FCD34D); }
.tcard-avatar[data-a="E"] { background: linear-gradient(135deg, #0EA5E9, #7DD3FC); }
.tcard-avatar[data-a="R"] { background: linear-gradient(135deg, #8B5CF6, #C4B5FD); }
.tcard-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--tx1);
  line-height: 1.3;
}
.tcard-role {
  font-size: 12px;
  color: var(--tx3);
  line-height: 1.4;
}
