/* ============================================================
   Followers — Unfollowers report · followersapp.pro
   Design system: "Audience Ledger"
   Piazzolla (display serif) · Onest (body) · JetBrains Mono (data)
   ============================================================ */

:root {
  --paper: #FBFAFF;
  --paper-warm: #F6F4FE;
  --ink: #191527;
  --ink-soft: #5C5674;
  --ink-faint: #6E6787;
  --card: #FFFFFF;
  --line: #E6E1F4;
  --line-strong: #D5CEEC;

  --accent: #6D5AE6;
  --accent-deep: #4F3ED9;
  --accent-wash: #EFEBFF;
  --pink-wash: #FFE9F2;
  --peri-wash: #DDD6FA;

  --lost: #B03418;
  --lost-wash: #FDE5DF;
  --gain: #1E7A46;
  --gain-wash: #DFF3E6;

  --ghost: #9A93B5;

  --serif: "Piazzolla", "Iowan Old Style", Georgia, serif;
  --sans: "Onest", "Avenir Next", -apple-system, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", Menlo, monospace;

  --radius: 24px;
  --radius-sm: 14px;
  --shadow-soft: 0 2px 6px rgba(50, 35, 120, 0.05), 0 18px 44px -18px rgba(50, 35, 120, 0.18);
  --shadow-phone: 0 4px 12px rgba(35, 22, 90, 0.10), 0 42px 80px -24px rgba(35, 22, 90, 0.35);

  --wrap: 1160px;
  --gutter: clamp(20px, 4vw, 44px);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.privacy :focus-visible { outline-color: #C9BDFF; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- type utilities ---------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--accent);
  display: inline-block;
}

.display {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 640;
  line-height: 1.04;
  letter-spacing: -0.015em;
}

.display em {
  font-style: italic;
  font-weight: 560;
  color: var(--accent-deep);
}

.lede {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 56ch;
}

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

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 255, 0.82);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-head.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -18px rgba(50, 35, 120, 0.25);
}

.site-head .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16.5px;
  letter-spacing: -0.01em;
  margin-right: auto;
}
.brand svg { flex: none; }
.brand .brand-sub {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.site-nav a:hover { color: var(--ink); }
.site-nav .nav-link { padding: 10px 2px; }

.site-nav .lang-switch {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-soft);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 9px 15px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.site-nav .lang-switch:hover { border-color: var(--accent); color: var(--accent-deep); background: var(--accent-wash); }

@media (max-width: 860px) {
  .site-nav .nav-link { display: none; }
}
@media (max-width: 640px) {
  .brand .brand-sub { display: none; }
  .brand { font-size: 15.5px; white-space: nowrap; }
  .site-head .wrap { gap: 12px; height: 62px; }
  .site-nav { gap: 10px; }
  .btn-sm { padding: 9px 16px; font-size: 14px; }
  .feature-copy .feature-list li { display: block; }
  .feature-copy .feature-list li::before { margin-right: 9px; }
  .feature-copy .feature-list li .desc { margin-left: 5px; }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  padding: 15px 28px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(25, 21, 39, 0.5);
}
.btn-primary:hover { transform: translateY(-2px); background: #241E38; box-shadow: 0 20px 38px -12px rgba(25, 21, 39, 0.55); }
.btn-primary svg { flex: none; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

.btn-sm { padding: 10px 20px; font-size: 14.5px; }

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

.hero {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(1100px 620px at 12% -8%, var(--pink-wash) 0%, transparent 55%),
    radial-gradient(1000px 700px at 88% 4%, var(--peri-wash) 0%, transparent 58%),
    linear-gradient(180deg, #F4F1FD 0%, var(--paper) 92%);
}
.hero::after {
  /* film grain */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.2 0 0 0 0 0.15 0 0 0 0 0.4 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-top: clamp(56px, 8vw, 104px);
  padding-bottom: clamp(40px, 6vw, 60px);
}

.hero h1 {
  font-size: clamp(40px, 6.2vw, 74px);
  margin: 20px 0 22px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 30px;
}
.trust-row li {
  list-style: none;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.trust-row li::before {
  content: "✓";
  color: var(--gain);
  font-weight: 700;
}

/* phone */

.hero-visual {
  position: relative;
  justify-self: center;
  width: min(320px, 78vw);
}

.phone {
  position: relative;
  border-radius: 44px;
  padding: 11px;
  background: linear-gradient(160deg, #2A2438, #17131F 60%);
  box-shadow: var(--shadow-phone);
}
.phone::before {
  /* side sheen */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(255,255,255,0.5), rgba(255,255,255,0.06) 30%, rgba(255,255,255,0.18));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.phone img {
  border-radius: 34px;
  width: 100%;
}

/* CSS-built dashboard mockup (no real user data) */
.app-mock {
  border-radius: 34px;
  overflow: hidden;
  background: #F2F1F8;
  font-family: var(--sans);
  user-select: none;
}
.am-head {
  background: linear-gradient(125deg, #FFE9F2 0%, #E4DEFB 55%, #D8D2F8 100%);
  padding: 22px 18px 18px;
  text-align: center;
}
.am-user {
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: -0.01em;
}
.am-user::after { content: " ⌄"; font-weight: 400; color: var(--ink-soft); }
.am-profile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding: 0 6px;
}
.am-ava {
  width: 56px; height: 56px;
  border-radius: 50%;
  background:
    radial-gradient(14px 14px at 34% 32%, rgba(255,255,255,0.55), transparent 60%),
    linear-gradient(140deg, #9C8CFF 0%, #F49CC8 100%);
  border: 2.5px solid rgba(255, 255, 255, 0.85);
}
.am-stat { text-align: center; }
.am-stat b { display: block; font-size: 19px; letter-spacing: -0.02em; }
.am-stat span { font-size: 10.5px; color: var(--ink-soft); }
.am-body { padding: 14px 12px 18px; }
.am-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0 4px 10px;
}
.am-row strong { font-size: 13px; letter-spacing: -0.01em; }
.am-row span { font-size: 9.5px; color: var(--ink-faint); }
.am-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.am-card {
  background: #fff;
  border-radius: 14px;
  padding: 12px 12px 10px;
}
.am-card b {
  font-size: 20px;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.am-card span { display: block; font-size: 9.5px; color: var(--ink-soft); margin-top: 10px; }
.am-badge {
  font-style: normal;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  border-radius: 5px;
  padding: 2px 5px;
}
.am-badge.up { color: var(--gain); background: var(--gain-wash); }
.am-badge.down { color: var(--lost); background: var(--lost-wash); }
.am-ghost {
  background: #fff;
  border-radius: 14px;
  padding: 12px 12px 14px;
  margin-top: 8px;
}
.am-ghost .am-row { padding-bottom: 8px; }
.am-bar {
  height: 10px;
  border-radius: 999px;
  background: var(--ghost);
  overflow: hidden;
}
.am-bar i {
  display: block;
  height: 100%;
  width: 42%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #9C8CFF);
}
.am-legend {
  display: flex;
  gap: 14px;
  margin-top: 9px;
  font-size: 9.5px;
  color: var(--ink-soft);
}
.am-legend i {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  margin-right: 5px;
}
.am-legend .la i { background: var(--accent); }
.am-legend .lg i { background: var(--ghost); }

.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px 15px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  white-space: nowrap;
  animation: chip-float 5.2s ease-in-out infinite;
}
.float-chip .delta {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  border-radius: 7px;
  padding: 3px 7px;
}
.delta.down { color: var(--lost); background: var(--lost-wash); }
.delta.up { color: var(--gain); background: var(--gain-wash); }
.delta.mid { color: var(--accent-deep); background: var(--accent-wash); }

/* status chips in the diff card */
.row-chip {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  border-radius: 7px;
  padding: 3px 8px;
  margin-left: auto;
}

.chip-lost { top: 7%; left: -36%; animation-delay: 0s; }
.chip-new { top: 38%; right: -33%; animation-delay: 1.4s; }
.chip-ghost { bottom: 17%; left: -38%; animation-delay: 2.6s; }

@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@media (max-width: 600px) {
  .chip-lost { left: -6px; }
  .chip-new { right: -6px; }
  .chip-ghost { left: -6px; }
}

/* hero responsive collapse */
@media (max-width: 900px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    padding-top: clamp(40px, 7vw, 64px);
  }
  .hero-visual { order: 2; margin-top: 20px; }
  .hero h1 { font-size: clamp(38px, 10vw, 56px); }
}

/* ---------- ledger marquee ---------- */

.ledger {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #FFFFFF;
  overflow: hidden;
  padding: 15px 0;
  position: relative;
}
.ledger::before, .ledger::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}
.ledger::before { left: 0; background: linear-gradient(90deg, #fff, transparent); }
.ledger::after { right: 0; background: linear-gradient(-90deg, #fff, transparent); }

.ledger-track {
  display: flex;
  gap: 44px;
  width: max-content;
  animation: ledger-scroll 38s linear infinite;
}
.ledger:hover .ledger-track { animation-play-state: paused; }

.ledger-track span {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-soft);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ledger-track b { font-weight: 700; }
.ledger-track .neg b { color: var(--lost); }
.ledger-track .pos b { color: var(--gain); }
.ledger-track .dot { color: var(--line-strong); }

@keyframes ledger-scroll {
  to { transform: translateX(-50%); }
}

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

.section { padding: clamp(64px, 9vw, 120px) 0; }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 {
  font-size: clamp(30px, 4vw, 48px);
  margin: 16px 0 16px;
}

/* how it works */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px 28px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: var(--line-strong); }
.step .num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 56px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.85;
}
.step h3 { font-size: 19px; font-weight: 700; margin: 18px 0 8px; letter-spacing: -0.01em; }
.step p { font-size: 15.5px; color: var(--ink-soft); }
.step .mono-tag {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent-deep);
  background: var(--accent-wash);
  border-radius: 8px;
  padding: 5px 10px;
}

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

/* feature blocks */

.feature-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding: clamp(40px, 6vw, 72px) 0;
  border-top: 1px solid var(--line);
}
.feature-block:first-of-type { border-top: none; padding-top: 0; }
.feature-block.flip .feature-copy { order: 2; }
.feature-block.flip .feature-art { order: 1; }
@media (max-width: 900px) {
  .feature-block { grid-template-columns: 1fr; }
  .feature-block.flip .feature-copy { order: 1; }
  .feature-block.flip .feature-art { order: 2; }
}

.feature-copy h3 {
  font-family: var(--serif);
  font-weight: 640;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 14px 0 14px;
}
.feature-copy > p { color: var(--ink-soft); max-width: 52ch; }

.feature-list {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}
.feature-list li {
  list-style: none;
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 15.5px;
}
.feature-list li b { font-weight: 650; }
.feature-list li span.desc { color: var(--ink-soft); }
.feature-list li::before {
  content: "→";
  font-family: var(--mono);
  color: var(--accent);
  flex: none;
}

.premium-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7A5B00;
  background: #FFF0C2;
  border: 1px solid #F2DE9C;
  border-radius: 999px;
  padding: 5px 12px;
  margin-left: 10px;
  vertical-align: middle;
}

/* screenshot cards in feature art */

.feature-art { position: relative; }
.shot-card {
  width: min(300px, 72vw);
  margin: 0 auto;
  border-radius: 36px;
  padding: 9px;
  background: linear-gradient(160deg, #2A2438, #17131F 60%);
  box-shadow: var(--shadow-phone);
  transform: rotate(var(--tilt, -2.5deg));
  transition: transform 0.35s ease;
}
.shot-card:hover { transform: rotate(0deg) scale(1.015); }
.shot-card img { border-radius: 28px; }

/* ghost visual */

.ghost-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 34px 32px;
  max-width: 430px;
  margin: 0 auto;
}
.ghost-panel .gp-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}
.ghost-panel .gp-head strong { font-size: 17px; font-weight: 700; }
.ghost-panel .gp-head span { font-family: var(--mono); font-size: 12px; color: var(--ink-faint); }
.ghost-stat {
  font-family: var(--serif);
  font-weight: 640;
  font-size: 58px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.ghost-stat small {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0;
}
.ghost-bar {
  height: 14px;
  border-radius: 999px;
  background: var(--ghost);
  overflow: hidden;
  margin: 22px 0 14px;
}
.ghost-bar i {
  display: block;
  height: 100%;
  width: 42%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #9C8CFF);
  animation: bar-grow 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-play-state: paused;
}
.is-visible .ghost-bar i { animation-play-state: running; }
@keyframes bar-grow { from { width: 4%; } }

.ghost-legend {
  display: flex;
  gap: 20px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.ghost-legend i {
  display: inline-block;
  width: 9px; height: 9px;
  border-radius: 50%;
  margin-right: 7px;
}
.ghost-legend .l-active i { background: var(--accent); }
.ghost-legend .l-ghost i { background: var(--ghost); }

/* ---------- privacy (dark) ---------- */

.privacy {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(109, 90, 230, 0.35), transparent 60%),
    radial-gradient(700px 500px at 8% 110%, rgba(199, 62, 34, 0.12), transparent 55%),
    #17131F;
  color: #F2EFFA;
  border-radius: clamp(24px, 4vw, 44px);
  margin: 0 clamp(10px, 1.6vw, 24px);
}
.privacy::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
.privacy .wrap { position: relative; z-index: 1; }
.privacy .eyebrow { color: #B9ACFF; }
.privacy .eyebrow::before { background: #B9ACFF; }
.privacy h2 {
  font-size: clamp(32px, 4.6vw, 56px);
  max-width: 17ch;
  margin: 18px 0 18px;
}
.privacy h2 em { color: #C9BDFF; }
.privacy .lede { color: #B7B0CC; }

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: clamp(36px, 5vw, 56px);
}
@media (max-width: 820px) { .privacy-grid { grid-template-columns: 1fr; } }

.privacy-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 20px;
  padding: 28px 26px;
  backdrop-filter: blur(4px);
  transition: background 0.25s, transform 0.25s;
}
.privacy-card:hover { background: rgba(255, 255, 255, 0.075); transform: translateY(-3px); }
.privacy-card .pc-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(185, 172, 255, 0.14);
  border: 1px solid rgba(185, 172, 255, 0.25);
  margin-bottom: 18px;
}
.privacy-card h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.privacy-card p { font-size: 14.5px; color: #B7B0CC; line-height: 1.6; }
.privacy-card code {
  font-family: var(--mono);
  font-size: 12.5px;
  color: #C9BDFF;
  background: rgba(185, 172, 255, 0.12);
  padding: 2px 6px;
  border-radius: 6px;
}

/* ---------- pricing ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 820px) { .plans { grid-template-columns: 1fr; } }

.plan {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.plan.is-hot { border-color: var(--accent); border-width: 1.5px; }
.plan .plan-badge {
  position: absolute;
  top: -12px;
  left: 26px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  padding: 4px 12px;
}
.plan h3 { font-size: 15px; font-weight: 600; color: var(--ink-soft); }
.plan .plan-name {
  font-family: var(--serif);
  font-weight: 640;
  font-size: 30px;
  letter-spacing: -0.015em;
  margin: 6px 0 12px;
}
.plan p { font-size: 14.5px; color: var(--ink-soft); }
.plan .plan-trial {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gain);
  background: var(--gain-wash);
  border-radius: 8px;
  padding: 5px 10px;
}

.billing-note {
  margin-top: 26px;
  font-size: 13.5px;
  color: var(--ink-faint);
  max-width: 68ch;
}
.billing-note a { color: var(--ink-soft); }

/* ---------- FAQ ---------- */

.faq { max-width: 780px; }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 4px;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 650;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.faq summary:hover { color: var(--accent-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  line-height: 1;
  color: var(--accent);
  flex: none;
  transition: transform 0.3s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body {
  padding: 0 4px 26px;
  color: var(--ink-soft);
  max-width: 62ch;
}
.faq .faq-body a { color: var(--accent-deep); }

/* ---------- final CTA ---------- */

.cta-final { text-align: center; }
.cta-final h2 {
  font-size: clamp(34px, 5vw, 58px);
  max-width: 20ch;
  margin: 16px auto;
}
.cta-final .lede { margin: 0 auto 8px; }
.cta-final .hero-ctas { justify-content: center; }

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

.site-foot {
  border-top: 1px solid var(--line);
  background: var(--paper-warm);
  padding: 52px 0 40px;
  font-size: 14px;
  color: var(--ink-soft);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr; } }

.foot-grid h4 {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 14px;
}
.foot-grid ul { list-style: none; display: grid; gap: 10px; }
.foot-grid a { color: var(--ink-soft); text-decoration: none; display: inline-block; padding: 3px 0; }
.foot-grid a:hover { color: var(--ink); text-decoration: underline; }
.foot-brand p { max-width: 34ch; margin-top: 12px; }

.foot-legal {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: grid;
  gap: 10px;
  font-size: 12.5px;
  color: var(--ink-faint);
}
.foot-legal .disclaimer { max-width: 90ch; }

/* ---------- scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
  transition-delay: var(--d, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   Legal pages
   ============================================================ */

.legal-page { background: var(--paper); }

.legal-hero {
  background: linear-gradient(180deg, #F4F1FD, var(--paper));
  border-bottom: 1px solid var(--line);
  padding: clamp(48px, 7vw, 88px) 0 clamp(32px, 5vw, 56px);
}
.legal-hero h1 {
  font-family: var(--serif);
  font-weight: 640;
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: -0.015em;
  line-height: 1.06;
  margin: 14px 0 14px;
}
.legal-hero .meta {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-faint);
}

.legal-body {
  padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 100px);
}
.legal-body .wrap {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 880px) {
  .legal-body .wrap { grid-template-columns: 1fr; }
  .legal-toc { position: static !important; display: none; }
}

.legal-toc {
  position: sticky;
  top: 96px;
  font-size: 13.5px;
}
.legal-toc h4 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 12px;
}
.legal-toc ol { list-style: none; display: grid; gap: 8px; }
.legal-toc a { color: var(--ink-soft); text-decoration: none; }
.legal-toc a:hover { color: var(--accent-deep); }

.prose { max-width: 72ch; font-size: 16px; }
.prose h2 {
  font-family: var(--serif);
  font-weight: 640;
  font-size: 27px;
  letter-spacing: -0.01em;
  margin: 44px 0 14px;
  scroll-margin-top: 92px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; font-weight: 700; margin: 28px 0 10px; }
.prose p { color: #3E3854; margin-bottom: 14px; }
.prose ul, .prose ol { margin: 0 0 16px 22px; color: #3E3854; }
.prose li { margin-bottom: 7px; }
.prose a { color: var(--accent-deep); }
.prose strong { color: var(--ink); }
.prose code {
  font-family: var(--mono);
  font-size: 13.5px;
  background: var(--accent-wash);
  color: var(--accent-deep);
  padding: 1px 6px;
  border-radius: 6px;
}

.prose .callout {
  background: var(--accent-wash);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin: 20px 0;
  font-size: 15px;
}
.prose .callout.warn {
  background: #FFF6E5;
  border-color: #F2DE9C;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 18px 0 24px;
}
.prose th {
  text-align: left;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border-bottom: 1.5px solid var(--line-strong);
  padding: 10px 12px 8px 0;
}
.prose td {
  border-bottom: 1px solid var(--line);
  padding: 11px 12px 11px 0;
  vertical-align: top;
  color: #3E3854;
}
.prose .table-scroll { overflow-x: auto; }

.back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.back-home:hover { color: var(--accent-deep); }
