/* Slopless site — brand tokens from the extension itself */
:root {
  --paper: #F8F7FD;
  --ink: #1B1729;
  --muted: #6B6290;
  --border: #E0DBEE;
  --purple: #7040C8;
  --purple-deep: #2C2447;
  --night: #130F1E;
  --lav: #EAE6F7;
  --max: 1060px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans", -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Bricolage Grotesque", -apple-system, sans-serif;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}

a { color: var(--purple); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
  border-radius: 2px;
}

.mono {
  font-family: "Spline Sans Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
header.site {
  border-bottom: 1px solid var(--border);
  background: var(--paper);
}
header.site .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: 20px;
}
.brand img { width: 28px; height: 28px; border-radius: 7px; }
nav.site {
  margin-left: auto;
  display: flex;
  gap: 26px;
  align-items: center;
}
nav.site a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}
nav.site a:hover { color: var(--purple); }
nav.site a.btn { color: #fff; }

.btn {
  display: inline-block;
  background: var(--purple);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
}
.btn:hover { background: #5D34A8; }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
}
.btn.ghost:hover { border-color: var(--muted); background: #fff; }

/* ---------- hero ---------- */
.hero { padding: 84px 0 72px; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.1rem);
  font-weight: 800;
}
/* the redaction: brand icon motif applied to the word itself */
.redact {
  position: relative;
  white-space: nowrap;
}
.redact::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  top: 52%;
  height: 0.34em;
  background: var(--purple);
  border-radius: 0.17em;
  transform: translateY(-50%) rotate(-1.2deg);
  transform-origin: left center;
  animation: sweep 0.5s 0.55s cubic-bezier(0.6, 0, 0.2, 1) backwards;
}
@keyframes sweep {
  from { transform: translateY(-50%) rotate(-1.2deg) scaleX(0); }
}
.hero p.lede {
  font-size: 19px;
  color: var(--muted);
  max-width: 46ch;
  margin: 22px 0 30px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.store-note {
  font-size: 14px;
  color: var(--muted);
}

/* ---------- feed demo (signature) ---------- */
.demo {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 24px 60px -30px rgba(43, 22, 92, 0.35);
  overflow: hidden;
}
.demo-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--paper);
}
.demo-bar .mono { color: var(--muted); }
.demo-toggle {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: "Spline Sans Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink);
  padding: 4px;
}
.demo-toggle .track {
  width: 34px;
  height: 20px;
  border-radius: 10px;
  background: var(--purple);
  position: relative;
  transition: background 0.2s;
}
.demo-toggle .track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 17px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.2s;
}
.demo.off .demo-toggle .track { background: var(--border); }
.demo.off .demo-toggle .track::after { left: 3px; }

.demo ul { list-style: none; margin: 0; padding: 6px 0; }
.demo li {
  padding: 13px 18px;
  border-bottom: 1px solid var(--paper);
}
.demo li:last-child { border-bottom: none; }
.demo .r-title { font-weight: 600; font-size: 15px; }
.demo .r-meta { font-size: 13px; color: var(--muted); }

.demo li.slop {
  position: relative;
  transition: opacity 0.35s, filter 0.35s;
}
.demo li.slop .r-title { position: relative; display: inline-block; }
.demo li.slop .r-title::after {
  content: "";
  position: absolute;
  left: -3px;
  right: -3px;
  top: 50%;
  height: 9px;
  border-radius: 5px;
  background: var(--purple);
  transform: translateY(-50%) scaleX(1);
  transform-origin: left center;
  transition: transform 0.3s cubic-bezier(0.6, 0, 0.2, 1);
}
.demo li.slop .tag {
  font-family: "Spline Sans Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 1px 6px;
  margin-left: 8px;
  vertical-align: 2px;
}
.demo li.slop { opacity: 0.42; }
.demo.off li.slop { opacity: 1; }
.demo.off li.slop .r-title::after { transform: translateY(-50%) scaleX(0); }
.demo.off li.slop .tag { visibility: hidden; }

/* ---------- sections ---------- */
section.band { padding: 76px 0; }
section.band.alt { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
section.band h1, section.band h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; margin-bottom: 14px; }
section.band > .wrap > p { max-width: 62ch; color: var(--muted); }
.teaser-cta { margin-top: 26px; }

/* layers — a real pipeline, numbered because order matters */
.layers { list-style: none; margin: 36px 0 0; padding: 0; }
.layers li {
  display: grid;
  grid-template-columns: 72px 240px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  align-items: baseline;
}
.layers .lnum {
  font-family: "Spline Sans Mono", monospace;
  font-size: 13px;
  color: var(--purple);
  letter-spacing: 0.1em;
}
.layers .lname { font-weight: 600; }
.layers .ldesc { color: var(--muted); font-size: 15.5px; }
.layers-note { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* platform chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; max-width: 760px; }
.chips span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--border);
  background: var(--paper);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 14.5px;
}
.chips span.more { border-style: dashed; color: var(--muted); }
.chip-icon { width: 14px; height: 14px; flex: none; fill: currentColor; }

/* privacy band */
.band.night { background: var(--night); color: var(--lav); }
.band.night h2 { color: #fff; }
.band.night > .wrap > p { color: #9087B6; }
.band.night a { color: #9B6AEC; }

/* ---------- pricing ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
  align-items: stretch;
}
.plan {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
}
.plan.featured { border: 2px solid var(--purple); }
.plan.linked { outline: 2px solid var(--purple); outline-offset: 4px; }
.plan h3 { font-size: 1.25rem; }
.plan .price {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  margin: 14px 0 2px;
}
.plan .price small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.plan .subprice { font-size: 14px; color: var(--muted); min-height: 21px; }
.plan.featured .subprice { color: var(--purple); font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 28px; flex: 1; }
.plan li {
  padding: 7px 0 7px 26px;
  position: relative;
  font-size: 15px;
}
.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 14px;
  height: 6px;
  border-radius: 3px;
  background: var(--purple);
}
.plan li.na { color: var(--muted); }
.plan li.na::before { background: var(--border); }
.plan-note { font-size: 12.5px; color: var(--muted); margin: 0 0 10px; }
.plan .btn { text-align: center; }
.pricing-fineprint {
  margin-top: 30px;
  font-size: 14px;
  color: var(--muted);
  max-width: 70ch;
}

/* ---------- legal pages ---------- */
.legal { max-width: 720px; margin: 0 auto; padding: 64px 24px 90px; }
.legal h1 { font-size: 2.2rem; font-weight: 700; margin-bottom: 6px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 40px; }
.legal h2 { font-size: 1.25rem; font-weight: 600; margin: 38px 0 10px; }
.legal p, .legal li { font-size: 16px; color: #3A3352; }
.legal ul { padding-left: 22px; }

/* ---------- footer ---------- */
footer.site {
  border-top: 1px solid var(--border);
  padding: 40px 0 52px;
  background: var(--paper);
}
footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
}
footer.site nav { display: flex; gap: 22px; flex-wrap: wrap; margin-left: auto; }
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--purple); }

/* ---------- motion + responsive ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .redact::after { animation: none; }
  .demo li.slop, .demo li.slop .r-title::after, .demo-toggle .track, .demo-toggle .track::after { transition: none; }
}

@media (max-width: 880px) {
  .hero { padding: 56px 0 56px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .layers li { grid-template-columns: 56px 1fr; }
  .layers .ldesc { grid-column: 2; }
  .plans { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
  nav.site { gap: 16px; }
  nav.site a.hide-sm { display: none; }
}
