/* ============================================================
   Picstreak — Landing page styles
   Brand: dark #0A0A0B base · streak gradient #FF6B35 → #F72585
   Type:  Bricolage Grotesque (display) · system SF (body) · JetBrains Mono (labels)
   ============================================================ */

:root {
  /* dark base */
  --bg:        #0A0A0B;
  --bg-elev:   #111113;
  --surface:   #161618;
  --surface-2: #1F1F22;
  --text:      #FFFFFF;
  --text-2:    #97979E;
  --text-3:    #6A6A70;
  --border:    rgba(255,255,255,0.09);
  --border-2:  rgba(255,255,255,0.05);

  /* accents */
  --accent:    #5B5BFF;
  --keep:      #2ECC71;
  --del:       #FF3B5C;

  /* streak gradient — tweakable */
  --s1: #FF6B35;
  --s2: #F72585;
  --streak: linear-gradient(115deg, var(--s1), var(--s2));

  /* light section palette */
  --l-bg:      #FAFAF9;
  --l-surface: #FFFFFF;
  --l-text:    #0A0A0B;
  --l-text-2:  #6B6B70;
  --l-border:  rgba(10,10,11,0.09);

  --maxw: 1180px;
  --font-display: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

/* ---------- a11y: skip link + focus ring ---------- */
.skip-link {
  position: absolute; top: 8px; left: 8px; z-index: 10000;
  padding: 10px 16px; border-radius: 10px;
  background: #fff; color: #000;
  font-family: var(--font-ui); font-weight: 600; font-size: 14px;
  transform: translateY(-150%); transition: transform .15s ease;
}
.skip-link:focus { transform: translateY(0); outline: 3px solid #FF6B35; outline-offset: 3px; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #FF6B35; outline-offset: 3px; border-radius: 4px;
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(247,37,133,0.3); }

/* ---------- layout primitives ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(76px, 11vw, 150px) 0; position: relative; }
.section--light { background: var(--l-bg); color: var(--l-text); }
.section--tight { padding: clamp(60px, 8vw, 110px) 0; }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
}
.section--light .eyebrow { color: var(--l-text-2); }
.eyebrow .grad { -webkit-text-fill-color: transparent; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; margin: 0; }
.h1 {
  font-size: clamp(44px, 6.6vw, 78px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.h2 {
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.025em;
}
.h3 {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--text-2); line-height: 1.6; }
.section--light .lead { color: var(--l-text-2); }
.muted { color: var(--text-2); }
.section--light .muted { color: var(--l-text-2); }
.grad {
  background: var(--streak);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.center { text-align: center; }
.section-head { max-width: 720px; margin: 0 auto clamp(48px, 6vw, 76px); }
.section-head.center { text-align: center; }

/* ---------- wordmark — matches the app's `custom` Wordmark variant:
   dotted lowercase, gradient flame as the tittle of the i, thin
   gradient underline under "treak" (no squircle). ---------- */
.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--text);
  display: inline-flex;
  align-items: baseline;
  position: relative;
}
.wordmark .wm { position: relative; display: inline-flex; align-items: baseline; }
.wordmark .wm-i { position: relative; display: inline-block; }
.wordmark .wm-flame {
  position: absolute; top: -0.42em; left: 50%; transform: translateX(-50%);
  width: 0.5em; height: 0.5em; line-height: 0; pointer-events: none;
}
.wordmark .wm-flame svg { width: 100%; height: 100%; display: block; overflow: visible; }
.wordmark .wm-flame .fg0 { stop-color: var(--s1); }
.wordmark .wm-flame .fg1 { stop-color: var(--s2); }
.wordmark .wm-underline {
  position: absolute; bottom: -0.03em; right: 0.05em;
  width: 1.78em; height: 2.5px;
  background: var(--streak); border-radius: 3px; opacity: 0.92;
}
.section--light .wordmark { color: var(--l-text); }

/* ---------- buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-store {
  display: inline-flex; align-items: center; gap: 11px;
  background: #fff; color: #000;
  padding: 13px 22px 13px 18px; border-radius: 14px;
  font-family: var(--font-ui);
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease;
  box-shadow: 0 6px 22px rgba(0,0,0,0.28);
}
.btn-store:hover { transform: scale(1.04); box-shadow: 0 12px 34px rgba(0,0,0,0.4); }
.btn-store svg { width: 26px; height: 26px; flex: none; }
.btn-store .bs-txt { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.btn-store .bs-sm { font-size: 11px; letter-spacing: 0.02em; opacity: 0.7; }
.btn-store .bs-lg { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.btn-store.dark { background: #000; color: #fff; }
.btn-store.outline { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--border); }
.section--light .btn-store.outline { color: var(--l-text); box-shadow: inset 0 0 0 1px var(--l-border); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 14px;
  font-weight: 600; font-size: 16px;
  box-shadow: inset 0 0 0 1px var(--border);
  transition: background .2s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.05); }
.subline { font-size: 14px; color: var(--text-3); margin-top: 14px; }
.section--light .subline { color: var(--l-text-2); }

/* ---------- phone frame ---------- */
.phone {
  position: relative;
  width: var(--pw, 290px);
  flex: none;
  border-radius: 13.5% / 6.2%;
  background: linear-gradient(155deg, #2a2a2e, #050506 60%);
  padding: 2.6%;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 2px 2px rgba(255,255,255,0.10) inset,
    0 50px 90px -28px rgba(0,0,0,0.7);
}
.phone__screen {
  position: relative;
  border-radius: 10.5% / 5%;
  overflow: hidden;
  background: #000;
  aspect-ratio: 1320 / 2868;
}
.phone__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone__island {
  position: absolute; top: 2.4%; left: 50%; transform: translateX(-50%);
  width: 30%; height: 3.1%; background: #000; border-radius: 999px; z-index: 3;
  min-height: 18px;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10,10,11,0.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a.nav-link { font-size: 15px; color: var(--text-2); transition: color .2s; }
.nav__links a.nav-link:hover { color: var(--text); }
.nav__cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: #000; padding: 9px 17px; border-radius: 11px;
  font-weight: 600; font-size: 14px; transition: transform .2s;
}
.nav__cta:hover { transform: scale(1.04); }
@media (max-width: 760px) {
  .nav__links { gap: 18px; }
  .nav__links .nav-link { display: none; }
  .nav__links .nav-link[href="#pricing"] { display: inline; font-size: 14px; }
}

/* ============================================================
   §1 HERO
   ============================================================ */
.hero { position: relative; padding-top: 132px; padding-bottom: clamp(60px, 8vw, 110px); overflow: hidden; }
.hero__glow {
  position: absolute; z-index: 0; pointer-events: none;
  width: 720px; height: 720px; border-radius: 50%;
  right: -120px; top: 40px;
  background: radial-gradient(circle, rgba(247,37,133,0.42), rgba(255,107,53,0.18) 42%, transparent 68%);
  filter: blur(20px);
  opacity: 0.85;
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center;
}
.hero__copy { max-width: 580px; }
.badge-row {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--border);
  font-size: 13.5px; color: var(--text-2); margin-bottom: 26px;
}
.badge-row .stars { color: #FFB020; letter-spacing: 1px; font-size: 12px; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { max-width: 500px; margin-bottom: 32px; }
.hero__proof { margin-top: 26px; display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text-3); }
.proof-avatars { display: flex; }
.proof-avatars span {
  width: 28px; height: 28px; border-radius: 50%; margin-left: -9px;
  border: 2px solid var(--bg); background: var(--surface-2);
  display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff;
}
.proof-avatars span:first-child { margin-left: 0; }

.hero__phone { display: flex; justify-content: center; position: relative; }
.hero__phone .phone { --pw: 320px; animation: floaty 5s ease-in-out infinite; }
.keep-tag {
  position: absolute; z-index: 5; top: 20%; right: 4%;
  padding: 9px 18px; border-radius: 12px; transform: rotate(11deg);
  background: rgba(46,204,113,0.16); color: var(--keep);
  font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: 0.04em;
  box-shadow: inset 0 0 0 2.5px var(--keep), 0 8px 24px rgba(0,0,0,0.3);
  backdrop-filter: blur(4px);
  animation: wobble 4s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(-6px); } 50% { transform: translateY(6px); } }
@keyframes wobble { 0%,100% { transform: rotate(11deg); } 50% { transform: rotate(6deg); } }

/* hero LIGHT variant (tweak) */
.hero[data-theme="light"] { background: var(--l-bg); color: var(--l-text); }
.hero[data-theme="light"] .lead { color: var(--l-text-2); }
.hero[data-theme="light"] .badge-row { background: #fff; box-shadow: inset 0 0 0 1px var(--l-border); color: var(--l-text-2); }
.hero[data-theme="light"] .hero__proof { color: var(--l-text-2); }
.hero[data-theme="light"] .proof-avatars span { border-color: var(--l-bg); }
.hero[data-theme="light"] .btn-store { background: #000; color: #fff; }
.hero[data-theme="light"] .hero__glow { opacity: 0.5; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .hero__copy { max-width: 600px; margin: 0 auto; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .badge-row, .btn-row, .hero__proof { justify-content: center; }
  .hero__phone .phone { --pw: 280px; }
}

/* ============================================================
   §2 NUMBERS
   ============================================================ */
.numbers { background: var(--bg-elev); border-top: 1px solid var(--border-2); border-bottom: 1px solid var(--border-2); }
.numbers__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 8px 28px; text-align: center; position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 12%; bottom: 12%; width: 1px; background: var(--border);
}
.stat__num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(40px, 5vw, 60px); line-height: 1; letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.stat__label { font-size: 14px; color: var(--text-2); line-height: 1.4; }
.stat__label b { color: var(--text); font-weight: 600; display: block; }
@media (max-width: 760px) {
  .numbers__grid { grid-template-columns: repeat(2, 1fr); gap: 36px 0; }
  .stat:nth-child(3)::before { display: none; }
}

/* ============================================================
   §3 PROBLEM
   ============================================================ */
.problem__intro { text-align: center; font-size: clamp(20px, 2.4vw, 30px); color: var(--text-2); max-width: 640px; margin: 0 auto clamp(44px, 5vw, 64px); font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em; }
.problem__intro b { color: var(--text); font-weight: 600; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pcard {
  background: var(--surface); border: 1px solid var(--border); border-radius: 22px;
  padding: 32px 30px; transition: transform .3s ease, border-color .3s ease;
}
.pcard:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.16); }
.pcard__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  font-size: 28px; margin-bottom: 22px; position: relative;
  background: var(--surface-2);
}
.pcard h3 { font-size: 22px; margin-bottom: 12px; }
.pcard p { color: var(--text-2); font-size: 16px; margin: 0; }
@media (max-width: 820px) { .cards-3 { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

/* ============================================================
   §4 HOW IT WORKS  (light)
   ============================================================ */
.step { display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.step + .step { margin-top: clamp(80px, 9vw, 130px); }
.step:nth-child(even) .step__media { order: -1; }
.step__num {
  font-family: var(--font-display); font-weight: 800; font-size: 72px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(91,91,255,0.35);
  margin-bottom: 18px;
}
.step h3 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 18px; letter-spacing: -0.025em; }
.step p { color: var(--l-text-2); font-size: 18px; margin: 0 0 24px; max-width: 460px; }
.swipe-legend { display: flex; flex-direction: column; gap: 12px; }
.swipe-legend .sl {
  display: inline-flex; align-items: center; gap: 12px; font-size: 15.5px; color: var(--l-text);
}
.sl .pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 999px;
  font-weight: 700; font-size: 13px; font-family: var(--font-ui);
}
.sl .pill.keep { background: rgba(46,204,113,0.14); color: #1c9c56; }
.sl .pill.del { background: rgba(255,59,92,0.13); color: #e02546; }
.sl .pill.sort { background: rgba(91,91,255,0.12); color: var(--accent); }
.swipe-note { margin-top: 16px; font-size: 14.5px; color: var(--l-text-2); max-width: 42ch; }
.streak-inline { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; color: var(--l-text); background: #fff; padding: 10px 16px; border-radius: 12px; box-shadow: 0 2px 16px rgba(0,0,0,0.06); }
.step__media { display: flex; justify-content: center; }
.step__media .phone { --pw: 270px; }
.trash-cta { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,59,92,0.1); color: #e02546; padding: 11px 18px; border-radius: 12px; font-weight: 700; font-size: 15px; }
@media (max-width: 820px) {
  .step { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .step:nth-child(even) .step__media { order: 0; }
  .step p { margin-left: auto; margin-right: auto; }
  .swipe-legend { align-items: center; }
  .step__num { font-size: 60px; }
}

/* ============================================================
   §5 SWIPE DEMO
   ============================================================ */
.swipe-demo { display: flex; flex-direction: column; align-items: center; }
.demo-progress { width: 280px; max-width: 80vw; height: 4px; border-radius: 999px; background: var(--surface-2); margin-bottom: 26px; overflow: hidden; }
.demo-progress i { display: block; height: 100%; width: 0%; background: var(--streak); border-radius: 999px; transition: width .5s cubic-bezier(.4,0,.2,1); }
.demo-stage { position: relative; width: 300px; max-width: 86vw; aspect-ratio: 3 / 4; overflow: clip; }
.demo-card {
  position: absolute; inset: 0; border-radius: 26px; overflow: hidden;
  background: var(--surface); box-shadow: 0 30px 60px -20px rgba(0,0,0,0.7), 0 0 0 1px var(--border);
  will-change: transform, opacity;
}
.demo-card img { width: 100%; height: 100%; object-fit: cover; }
.demo-card .tint { position: absolute; inset: 0; opacity: 0; transition: opacity .2s; }
.demo-card .tint.keep { background: rgba(46,204,113,0.4); }
.demo-card .tint.del { background: rgba(255,59,92,0.4); }
.demo-stamp {
  position: absolute; top: 26px; padding: 8px 18px; border-radius: 12px;
  font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: 0.05em;
  opacity: 0; transition: opacity .15s;
}
.demo-stamp.keep { right: 22px; color: var(--keep); box-shadow: inset 0 0 0 3px var(--keep); transform: rotate(10deg); }
.demo-stamp.del { left: 22px; color: var(--del); box-shadow: inset 0 0 0 3px var(--del); transform: rotate(-10deg); }
.demo-counter { margin-top: 26px; font-family: var(--font-mono); font-size: 13px; color: var(--text-3); letter-spacing: 0.04em; }
.demo-hint { margin-top: 8px; font-size: 14px; color: var(--text-3); }

/* ============================================================
   §6 GALLERY
   ============================================================ */
.gallery-scroll {
  display: flex; gap: 28px; overflow-x: auto; padding: 10px 24px 30px; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.gallery-scroll::-webkit-scrollbar { display: none; }
.gallery-scroll .g-item { scroll-snap-align: center; flex: none; display: flex; flex-direction: column; align-items: center; gap: 16px; transition: transform .3s ease; }
.gallery-scroll .g-item .phone { --pw: 240px; }
.gallery-scroll .g-item:hover { transform: translateY(-6px); }
.g-caption { font-size: 14px; color: var(--text-2); text-align: center; max-width: 230px; }
.g-caption b { color: var(--text); font-weight: 600; display: block; font-size: 15px; margin-bottom: 2px; }
.gallery-hint { text-align: center; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--text-3); margin-top: 6px; }

/* ============================================================
   §7 STREAK MECHANICS
   ============================================================ */
.streak-sec { position: relative; }
.streak-sec::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--streak); }
.streak__grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.streak__copy p { color: var(--text-2); font-size: 18px; margin: 0 0 18px; max-width: 480px; }
.streak__copy p:last-child { margin-bottom: 0; }
.streak__copy strong { color: var(--text); font-weight: 600; }
.streak-viz {
  background: var(--surface); border: 1px solid var(--border); border-radius: 28px;
  padding: 40px 36px; text-align: center;
}
.streak-flame { font-size: 52px; line-height: 1; filter: drop-shadow(0 6px 18px rgba(247,37,133,0.4)); }
.streak-count { font-family: var(--font-display); font-weight: 800; font-size: clamp(64px, 9vw, 92px); line-height: 1; letter-spacing: -0.04em; margin: 4px 0 0; }
.streak-count-label { font-size: 14px; color: var(--text-2); letter-spacing: 0.04em; margin-bottom: 30px; }
.heatmap { display: grid; grid-template-columns: repeat(8, 1fr); gap: 7px; max-width: 280px; margin: 0 auto 24px; }
.heatmap i { aspect-ratio: 1; border-radius: 5px; background: var(--surface-2); transition: background .4s ease, transform .4s ease; }
.heatmap i.on { background: var(--streak); }
.streak-best { font-size: 14px; color: var(--text-3); font-family: var(--font-mono); letter-spacing: 0.02em; }
.streak-best b { color: var(--text); }
@media (max-width: 820px) { .streak__grid { grid-template-columns: 1fr; gap: 40px; } }

/* ============================================================
   §8 REVIEWS (light)
   ============================================================ */
.rating-line { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--l-text-2); margin-top: 26px; }
.rating-line .stars { color: #FFB020; letter-spacing: 1px; }
.review-featured {
  background: var(--l-surface); border-radius: 24px; padding: clamp(34px, 5vw, 56px);
  box-shadow: 0 4px 40px rgba(0,0,0,0.07); margin-bottom: 22px; text-align: center;
  max-width: 820px; margin-left: auto; margin-right: auto;
}
.review-featured .stars { color: #FFB020; letter-spacing: 2px; font-size: 15px; margin-bottom: 20px; }
.review-featured blockquote { font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 3vw, 34px); line-height: 1.25; letter-spacing: -0.02em; margin: 0 0 24px; color: var(--l-text); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rcard {
  background: var(--l-surface); border-radius: 20px; padding: 30px 28px;
  box-shadow: 0 2px 24px rgba(0,0,0,0.06); display: flex; flex-direction: column;
}
.rcard .stars { color: #FFB020; letter-spacing: 1.5px; font-size: 13px; margin-bottom: 16px; }
.rcard .rquote { font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; color: var(--l-text); margin: 0 0 14px; }
.rcard .rtext { font-size: 15.5px; color: var(--l-text-2); margin: 0 0 22px; flex: 1; }
.rauthor { display: flex; align-items: center; gap: 12px; }
.rauthor .av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 15px; flex: none; }
.rauthor .who { line-height: 1.3; }
.rauthor .who b { font-size: 15px; color: var(--l-text); font-weight: 600; }
.rauthor .who span { font-size: 13px; color: var(--l-text-2); display: block; }
.rauthor .who .verified { color: #1c9c56; font-weight: 600; }
@media (max-width: 880px) { .reviews-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }

/* ============================================================
   §9 PRICING (light)
   ============================================================ */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; align-items: stretch; }
.plan {
  background: var(--l-surface); border-radius: 24px; padding: 38px 34px;
  box-shadow: 0 2px 26px rgba(0,0,0,0.06); position: relative; display: flex; flex-direction: column;
}
.plan--pro { box-shadow: 0 14px 50px rgba(247,37,133,0.18); }
.plan--pro::before {
  content: ""; position: absolute; inset: 0; border-radius: 24px; padding: 2px;
  background: var(--streak);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.plan__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--streak); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  padding: 6px 16px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(247,37,133,0.4);
}
.plan__name { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--l-text-2); margin-bottom: 16px; }
.plan__price { font-family: var(--font-display); font-weight: 800; font-size: 46px; line-height: 1; letter-spacing: -0.03em; color: var(--l-text); }
.plan__price .grad { font-size: inherit; }
.plan__per { font-size: 14px; color: var(--l-text-2); margin-top: 8px; }
.plan__feats { list-style: none; padding: 0; margin: 26px 0 28px; display: flex; flex-direction: column; gap: 13px; border-top: 1px solid var(--l-border); padding-top: 26px; }
.plan__feats li { display: flex; align-items: flex-start; gap: 11px; font-size: 15.5px; color: var(--l-text); }
.plan__feats li.off { color: #b3b3b8; }
.plan__feats .ic { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.plan .btn-store, .plan .plan-btn { width: 100%; justify-content: center; margin-top: auto; }
.plan-btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px; border-radius: 13px; font-weight: 600; font-size: 16px; transition: transform .2s, box-shadow .2s; }
.plan-btn.primary { background: var(--streak); color: #fff; box-shadow: 0 8px 24px rgba(247,37,133,0.3); }
.plan-btn.primary:hover { transform: scale(1.02); }
.plan-btn.secondary { background: #f0efec; color: var(--l-text); }
.plan-btn.secondary:hover { background: #e8e7e3; }
.pricing-fine { text-align: center; margin-top: 30px; font-size: 13.5px; color: var(--l-text-2); }
@media (max-width: 980px) { .pricing-grid { grid-template-columns: 1fr; max-width: 420px; } }

/* ============================================================
   §10 FINAL CTA
   ============================================================ */
.final-cta { position: relative; overflow: hidden; text-align: center; background: var(--bg); }
.final-cta__blob {
  position: absolute; z-index: 0; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 900px; height: 900px; max-width: 130vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(247,37,133,0.5), rgba(255,107,53,0.28) 38%, transparent 66%);
  filter: blur(30px);
}
.final-cta .container { position: relative; z-index: 1; }
.final-cta h2 { max-width: 760px; margin: 0 auto 22px; }
.final-cta .lead { color: rgba(255,255,255,0.78); max-width: 460px; margin: 0 auto 36px; }
.final-cta .btn-row { justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg); border-top: 1px solid var(--border); padding: 70px 0 36px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand .wordmark { margin-bottom: 16px; }
.footer__brand p { color: var(--text-2); font-size: 15px; max-width: 240px; margin: 0; }
.footer__col h4 { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin: 0 0 16px; font-weight: 600; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.footer__col a { font-size: 15px; color: var(--text-2); transition: color .2s; }
.footer__col a:hover { color: var(--text); }
.footer__socials { display: flex; gap: 10px; margin-bottom: 18px; }
.footer__socials a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); color: var(--text-2); transition: color .2s, background .2s; }
.footer__socials a:hover { color: var(--text); background: var(--surface-2); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 54px; padding-top: 26px; border-top: 1px solid var(--border-2); font-size: 13.5px; color: var(--text-3); }
@media (max-width: 820px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ============================================================
   scroll reveal — visible by default; animation gated behind
   html.anim (added by JS only when motion is allowed) so content
   never stays hidden for no-JS / print / reduced-motion / capture.
   ============================================================ */
.reveal { opacity: 1; transform: none; }
html.anim .reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
html.anim .reveal.in { opacity: 1; transform: none; }
html.anim .reveal.d1 { transition-delay: .08s; }
html.anim .reveal.d2 { transition-delay: .16s; }
html.anim .reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Tweaks panel (vanilla, mirrors host protocol)
   ============================================================ */
.twk-panel {
  position: fixed; right: 16px; bottom: 16px; z-index: 2147483646; width: 264px;
  background: rgba(20,20,22,0.82); color: #f2f2f4;
  -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%);
  border: 0.5px solid rgba(255,255,255,0.12); border-radius: 14px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 18px 50px rgba(0,0,0,0.5);
  font: 12px/1.4 var(--font-ui); overflow: hidden;
}
.twk-panel[hidden] { display: none; }
.twk-hd { display: flex; align-items: center; justify-content: space-between; padding: 12px 10px 12px 15px; cursor: move; user-select: none; }
.twk-hd b { font-size: 12.5px; font-weight: 600; }
.twk-x { border: 0; background: transparent; color: rgba(255,255,255,0.5); width: 24px; height: 24px; border-radius: 6px; cursor: pointer; font-size: 13px; }
.twk-x:hover { background: rgba(255,255,255,0.08); color: #fff; }
.twk-body { padding: 4px 15px 16px; display: flex; flex-direction: column; gap: 16px; }
.twk-sect { font-size: 10px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: rgba(255,255,255,0.42); margin-bottom: -6px; }
.twk-lbl { font-weight: 500; color: rgba(255,255,255,0.8); margin-bottom: 9px; }
.twk-seg { display: flex; padding: 2px; border-radius: 9px; background: rgba(255,255,255,0.08); gap: 2px; }
.twk-seg button { flex: 1; border: 0; background: transparent; color: rgba(255,255,255,0.6); font: inherit; font-weight: 500; padding: 6px 4px; border-radius: 7px; cursor: pointer; transition: background .15s, color .15s; }
.twk-seg button[data-on="1"] { background: rgba(255,255,255,0.92); color: #18181a; }
.twk-chips { display: flex; gap: 8px; }
.twk-chip { flex: 1; height: 40px; border: 0; border-radius: 9px; cursor: pointer; position: relative; box-shadow: 0 0 0 1px rgba(255,255,255,0.12); transition: transform .12s, box-shadow .12s; }
.twk-chip:hover { transform: translateY(-1px); }
.twk-chip[data-on="1"] { box-shadow: 0 0 0 2px #fff, 0 4px 12px rgba(0,0,0,0.4); }

/* ============================================================
   Cookie consent banner (analytics.js)
   ============================================================ */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 2147483645;
  max-width: 720px; margin: 0 auto;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 16px 18px;
  background: rgba(20,20,22,0.86);
  -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%);
  border: 0.5px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 18px 50px rgba(0,0,0,0.5);
  animation: consent-in .35s cubic-bezier(.16,1,.3,1);
}
@keyframes consent-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.consent__text { flex: 1 1 300px; margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--text-2); }
.consent__text a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.consent__actions { display: flex; gap: 10px; flex: 0 0 auto; }
.consent__btn { border: 0; font: inherit; font-weight: 600; font-size: 14px; padding: 9px 18px; border-radius: 10px; cursor: pointer; transition: transform .12s, background .15s, box-shadow .15s; }
.consent__btn:hover { transform: translateY(-1px); }
.consent__btn--ghost { background: rgba(255,255,255,0.08); color: var(--text-2); }
.consent__btn--ghost:hover { background: rgba(255,255,255,0.14); color: var(--text); }
.consent__btn--primary { background: var(--streak); color: #fff; box-shadow: 0 4px 14px rgba(247,37,133,0.28); }
@media (max-width: 480px) {
  .consent { gap: 12px; padding: 14px 16px; }
  .consent__actions { width: 100%; }
  .consent__btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .consent { animation: none; } }
