/* SmutGenie v6 · Pop Genie design (fonts, colours, buttons and shapes from v3)
   with the v2 smoke genie. Generator-first homepage + pricing page. */

:root {
  --cream: #FFF3E4;
  --paper: #FFFBF5;
  --white: #FFFFFF;
  --ink: #26081D;          /* mascot plum outline: all body text */
  --wine: #890633;         /* mascot top */
  --magenta: #BA1155;
  --hotpink: #F03F6F;      /* display sizes only */
  --pink: #FF86B6;         /* bubblegum */
  --tangerine: #FF6B1A;
  --violet: #6B2EF0;       /* electric violet: 5.8:1 on cream */
  --violet-deep: #5420D0;
  --gold: #F6B93B;
  --night: #2A0A24;

  --display: 'Bagel Fat One', 'Arial Rounded MT Bold', 'Trebuchet MS', system-ui, sans-serif;
  --body: 'Nunito', 'Trebuchet MS', system-ui, sans-serif;

  /* one spacing scale */
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 40px;
  --s5: 64px;
  --s6: 104px;
  --s7: 152px;

  --r1: 14px;
  --r2: 22px;
  --r3: 34px;

  --line: 4px solid var(--ink);
  --sticker: 0 0 0 7px var(--white), 0 0 0 10px var(--ink);
  --pop: 0 0 0 7px var(--white), 0 0 0 10px var(--ink), 12px 14px 0 10px var(--ink);

  --gutter: clamp(16px, 5vw, 72px);
  --max: 1320px;

  --bounce: cubic-bezier(.34, 1.56, .64, 1);
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 18px/1.6 var(--body);
  overflow-x: clip;
}

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

h2 { font-size: clamp(34px, 1.6rem + 2.6vw, 60px); }
h3 { font-size: clamp(26px, 1.2rem + 1vw, 34px); }

p { margin: 0; }

a { color: var(--violet); text-decoration: none; }
a:hover { color: var(--violet-deep); }

:focus-visible {
  outline: 4px solid var(--violet);
  outline-offset: 4px;
  border-radius: 10px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: var(--s2);
  top: -80px;
  z-index: 50;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 20px;
  border-radius: var(--r1);
  font-weight: 800;
}
.skip:focus { top: var(--s2); color: var(--cream); }

.sub {
  font-size: clamp(18px, 1rem + .35vw, 22px);
  line-height: 1.5;
  max-width: 34ch;
  margin-top: var(--s3);
  font-weight: 600;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s1);
  min-height: 52px;
  padding: 14px 26px;
  border: 3px solid var(--ink);
  border-radius: 18px;
  background: var(--tangerine);
  color: var(--ink);
  font: 800 19px/1.1 var(--body);
  text-align: center;
  cursor: pointer;
  box-shadow: 0 6px 0 var(--ink);
  transition: transform .18s var(--bounce), box-shadow .18s var(--bounce), background-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-3px) rotate(-1deg); box-shadow: 0 9px 0 var(--ink); color: var(--ink); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink); }
.btn-big { min-height: 64px; padding: 18px 34px; font-size: 21px; }
.btn-small { min-height: 46px; padding: 10px 18px; font-size: 17px; box-shadow: 0 4px 0 var(--ink); }
.btn-ink { background: var(--ink); color: var(--cream); box-shadow: 0 6px 0 var(--violet); }
.btn-ink:hover { color: var(--cream); box-shadow: 0 9px 0 var(--violet); }
.btn-ink:active { box-shadow: 0 2px 0 var(--violet); }
.btn-quiet { background: var(--cream); }

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-weight: 800;
  font-size: 19px;
  color: var(--violet);
}
.as-button {
  background: none;
  border: 0;
  padding: 0 var(--s1);
  font-family: var(--body);
  cursor: pointer;
}

/* ---------- Gate ---------- */

.gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: var(--s2);
  background: rgba(255, 243, 228, .82);
}
.age-ok .gate { display: none; }
.age-check body { overflow: hidden; }
.age-check .site { filter: blur(22px); pointer-events: none; user-select: none; }

.gate-card {
  width: min(520px, 100%);
  background: var(--paper);
  border: var(--line);
  border-radius: var(--r3);
  box-shadow: var(--pop);
  padding: var(--s4) var(--s4) var(--s4);
  text-align: center;
  animation: pop-in .5s var(--bounce) both;
}
.gate-head { width: 132px; margin: calc(-1 * var(--s5) - 30px) auto var(--s2); animation: wobble 2.6s ease-in-out infinite; }
.gate-card { width: min(600px, 100%); }
.gate { overflow-y: auto; place-items: safe center; padding-top: var(--s6); }
.gate-title { font: 400 clamp(26px, 1.2rem + 1.4vw, 34px)/1.18 var(--display); letter-spacing: 0; }
.gate-text { margin-top: var(--s3); font-size: 18px; font-weight: 600; line-height: 1.55; }
.gate-text a { color: var(--violet); font-weight: 800; }
.gate-actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); margin-top: var(--s4); }
.gate-actions .btn { width: 100%; min-height: 64px; padding: 12px 14px; white-space: normal; text-align: center; justify-content: center; line-height: 1.2; }

@media (max-width: 480px) {
  .gate-card { padding: var(--s5) var(--s3) var(--s3); }
  .gate-head { width: 104px; margin-top: calc(-1 * var(--s5) - 10px); }
  .gate-actions { gap: var(--s1); }
  .gate-actions .btn { font-size: 17px; padding: 10px; }
}

/* Demo-mode note under the idea box */
.demo-note { margin-top: var(--s2); display: grid; gap: var(--s2); justify-items: start; }
.demo-note p { font-weight: 800; font-size: 19px; color: var(--ink); }

/* "Payments open soon" email dialog */
.wl {
  width: min(520px, calc(100% - 2 * var(--s2)));
  padding: 0;
  border: var(--line);
  border-radius: var(--r3);
  background: var(--paper);
  color: var(--ink);
}
.wl::backdrop { background: rgba(38, 8, 29, .55); }
.wl-form { display: grid; gap: var(--s2); padding: var(--s4); }
.wl-form h2 { font-size: clamp(28px, 1.2rem + 1.6vw, 38px); }
.wl-form p { font-size: 18px; font-weight: 600; }
.wl-form label { font-weight: 800; font-size: 18px; }
.wl-form input[type="email"] {
  width: 100%;
  min-height: 52px;
  padding: 10px 14px;
  border: 3px solid var(--ink);
  border-radius: var(--r1);
  background: var(--cream);
  color: var(--ink);
  font: 600 19px/1.3 var(--body);
}
.wl-form input[type="email"]:focus-visible { outline: 4px solid var(--violet); outline-offset: 3px; }
.wl-form .form-msg { margin-top: 0; }
.wl-actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s1); }
.wl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Top bar ---------- */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--s3) var(--gutter);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); min-height: 48px; flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand img { width: 52px; transition: transform .3s var(--bounce); }
.brand:hover img { transform: rotate(-10deg) scale(1.08); }
.brand span { font: 400 26px/1 var(--display); letter-spacing: 0; }
.topbar .btn-small { white-space: nowrap; }
.cta-short { display: none; }

.topnav { display: flex; align-items: center; gap: var(--s3); }
.nav-link { font-weight: 800; font-size: 19px; color: var(--ink); min-height: 48px; display: inline-flex; align-items: center; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--violet); }

/* ---------- Hero = generator ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr);
  column-gap: var(--s5);
  align-items: start;
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--s3) var(--gutter) var(--s6);
}
.hero-copy { scroll-margin-top: var(--s3); }

h1 {
  font-size: clamp(34px, 1rem + 2.7vw, 56px);
  line-height: 1.12;
  max-width: 21ch;
}
.lede {
  font-size: clamp(18px, 1rem + .35vw, 21px);
  line-height: 1.55;
  font-weight: 600;
  max-width: 50ch;
  margin-top: var(--s3);
}

.box {
  margin-top: var(--s4);
  background: var(--paper);
  border: var(--line);
  border-radius: var(--r3);
  box-shadow: var(--pop);
  padding: var(--s3);
}
.box textarea {
  display: block;
  width: 100%;
  min-height: 116px;
  resize: vertical;
  padding: 16px 18px;
  border: var(--line);
  border-radius: var(--r2);
  background: var(--cream);
  color: var(--ink);
  font: 600 20px/1.45 var(--body);
  box-shadow: inset 0 5px 0 rgba(38, 8, 29, .1);
}
.box textarea::placeholder { color: var(--wine); opacity: 1; }
.box textarea:focus-visible { outline: 4px solid var(--violet); outline-offset: 3px; }
.box-row { display: flex; justify-content: flex-end; margin-top: var(--s2); }
.btn[disabled] { cursor: progress; transform: none; box-shadow: 0 2px 0 var(--ink); background: var(--gold); }

.form-msg {
  margin-top: var(--s2);
  font-weight: 800;
  font-size: 19px;
  color: var(--magenta);
}

.starters { margin-top: var(--s3); padding-top: var(--s3); border-top: 3px dashed var(--ink); }
.starters-lead { font-weight: 800; font-size: 19px; }
.starter-list {
  list-style: none;
  margin: var(--s1) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--s3);
}
.starter {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--violet);
  font: 800 19px/1.3 var(--body);
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
  text-decoration-color: var(--pink);
  cursor: pointer;
  text-align: left;
}
.starter:hover { color: var(--violet-deep); text-decoration-color: var(--tangerine); }

.hero-art {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 1.12;
  justify-self: center;
  margin-top: var(--s2);
}
.hero-sun {
  position: absolute;
  inset: 16% 4% 6% 6%;
  border-radius: 50%;
  background: var(--violet);
  border: var(--line);
  box-shadow: 0 0 0 10px var(--white), 0 0 0 14px var(--ink);
}
.hero-genie {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: float 5s ease-in-out infinite;
  filter: drop-shadow(8px 10px 0 rgba(38, 8, 29, .25));
}
.is-writing .hero-genie { animation: float 1.6s ease-in-out infinite; }

/* ---------- Thread ---------- */

.thread { grid-column: 1 / -1; display: flex; justify-content: center; margin-top: var(--s5); scroll-margin-top: var(--s3); }
.thread-card {
  width: min(820px, 100%);
  background: var(--paper);
  border: var(--line);
  border-radius: var(--r3);
  box-shadow: var(--pop);
  padding: var(--s5) var(--s5) var(--s4);
}
.thread-title { font-size: clamp(30px, 1.2rem + 1.6vw, 44px); color: var(--violet); }
.thread-idea { margin-top: var(--s2); font-weight: 800; font-size: 19px; max-width: 60ch; }
.thread-idea::before { content: '\201C'; }
.thread-idea::after { content: '\201D'; }

.sections { margin-top: var(--s3); }
.section { padding: var(--s4) 0; border-top: 3px dashed var(--ink); }
.section-choice {
  font-weight: 800;
  font-size: 19px;
  color: var(--violet);
  margin-bottom: var(--s2);
}
.section-choice::before { content: '\2192\00a0'; }
.section-text p { font-size: clamp(18px, 1rem + .3vw, 20px); line-height: 1.75; max-width: 64ch; }
.section-text p + p { margin-top: var(--s2); }
.section.is-streaming .section-text p:last-child::after {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 6px;
  border-radius: 50%;
  background: var(--tangerine);
  border: 2px solid var(--ink);
  vertical-align: middle;
  animation: blink 1s ease-in-out infinite;
}

.controls { padding-top: var(--s4); border-top: 3px dashed var(--ink); }
.controls-top { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); }
.listen-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); }

.play {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 4px 20px 4px 4px;
  border: 3px solid var(--ink);
  border-radius: 40px;
  background: var(--violet);
  color: var(--cream);
  font: 800 19px/1 var(--body);
  cursor: pointer;
  box-shadow: 0 5px 0 var(--ink);
  transition: transform .18s var(--bounce);
}
.play:hover { transform: translateY(-2px); }
.play:active { transform: translateY(3px); }
.play-icon { position: relative; width: 40px; height: 40px; border-radius: 50%; background: var(--cream); flex: none; }
.play-icon::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 11px;
  border-left: 14px solid var(--ink);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
}
.play[aria-pressed="true"] .play-icon::before {
  left: 12px;
  top: 11px;
  width: 16px;
  height: 18px;
  border: 0;
  border-left: 5px solid var(--ink);
  border-right: 5px solid var(--ink);
}
.wave { display: inline-flex; align-items: center; gap: 4px; height: 32px; }
.wave i { width: 6px; height: 60%; border-radius: 3px; background: var(--tangerine); }
.wave i:nth-child(2) { height: 90%; }
.wave i:nth-child(3) { height: 45%; }
.wave i:nth-child(4) { height: 75%; }
.wave i:nth-child(5) { height: 35%; }
.wave.is-playing i { background: var(--violet); animation: bar .8s ease-in-out infinite alternate; }
.wave.is-playing i:nth-child(2n) { animation-delay: .3s; }
.wave.is-playing i:nth-child(3n) { animation-delay: .55s; }
.voice-label { font-weight: 800; font-size: 19px; }
.voice {
  min-height: 48px;
  padding: 8px 40px 8px 14px;
  border: 3px solid var(--ink);
  border-radius: 14px;
  background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%2326081D' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 10px center / 20px;
  -webkit-appearance: none;
  appearance: none;
  color: var(--ink);
  font: 800 19px/1.2 var(--body);
  cursor: pointer;
}

.next-title { margin-top: var(--s4); font-size: clamp(24px, 1.1rem + .8vw, 30px); }
.choices { list-style: none; margin: var(--s2) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--s2); }
.choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  width: 100%;
  min-height: 60px;
  padding: 12px 20px;
  border: 3px solid var(--ink);
  border-radius: var(--r2);
  background: var(--cream);
  color: var(--ink);
  font: 800 19px/1.3 var(--body);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 5px 0 var(--ink);
  transition: transform .18s var(--bounce), background-color .2s;
}
.choice::after {
  content: '';
  flex: none;
  width: 12px;
  height: 12px;
  border-right: 4px solid var(--ink);
  border-top: 4px solid var(--ink);
  transform: rotate(45deg);
}
.choice:hover { background: var(--pink); transform: translateY(-2px); }
.choice:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); }
.choice[disabled] { cursor: progress; }

.own { display: flex; gap: var(--s2); margin-top: var(--s3); }
.own input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 56px;
  padding: 10px 16px;
  border: 3px solid var(--ink);
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  font: 600 19px/1.3 var(--body);
}
.own input::placeholder { color: var(--wine); opacity: 1; }
.own input:focus-visible { outline: 4px solid var(--violet); outline-offset: 3px; }
.own .btn { flex: none; }

.start-over { margin-top: var(--s3); }

/* Paywall */
.paywall { border-top: 3px dashed var(--ink); }
.section-locked { border-top: 0; }
.unlock {
  position: relative;
  margin-top: var(--s2);
  background: var(--tangerine);
  border: 0;
  border-radius: var(--r3);
  padding: var(--s5) var(--s4) var(--s4);
}
.unlock-genie { position: absolute; top: -64px; right: 12px; width: 120px; transform: rotate(10deg); }
.unlock h3 { font-size: clamp(26px, 1.1rem + 1.3vw, 38px); max-width: 18ch; }
.unlock-plans { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--s3); margin-top: var(--s4); }
.unlock-plan {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: var(--r2);
  padding: var(--s3);
}
.unlock-first { background: var(--white); border: 0; }
.unlock-name { font: 400 clamp(24px, 1rem + 1vw, 30px)/1.1 var(--display); }
.unlock-price { font-weight: 800; font-size: 19px; }
.unlock-plan p:not(.unlock-name):not(.unlock-price) { font-weight: 600; }
.unlock-plan .btn { margin-top: auto; align-self: flex-start; }
.unlock-trust { margin-top: var(--s3); font-weight: 800; font-size: 19px; }
.unlock .text-link { color: var(--ink); text-decoration: none; }
.unlock .text-link:hover { color: var(--violet-deep); }

/* ---------- What you get ---------- */

.get {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  gap: var(--s5);
  align-items: start;
  background: var(--pink);
  border-block: var(--line);
  padding: var(--s6) max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
}
.get-copy h2 { max-width: 16ch; }
.get-list {
  list-style: none;
  margin: var(--s5) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s4) var(--s4);
}
.get-list h3 { font-size: clamp(24px, 1.1rem + .7vw, 30px); }
.get-list p { margin-top: var(--s1); font-weight: 600; max-width: 36ch; }
.get-art { position: sticky; top: var(--s4); }
.get-art img { width: 100%; max-width: 440px; margin: 0 auto; transform: rotate(-3deg); }

/* ---------- How it works ---------- */

.how {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--s6) var(--gutter);
}
.steps {
  list-style: none;
  counter-reset: step;
  margin: var(--s5) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s4);
}
.steps li {
  counter-increment: step;
  background: var(--paper);
  border: var(--line);
  border-radius: var(--r3);
  box-shadow: 0 8px 0 var(--ink);
  padding: var(--s4);
}
.steps li:nth-child(2) { transform: rotate(1.2deg); background: var(--white); }
.steps li:nth-child(3) { transform: rotate(-1deg); }
.steps h3 { display: flex; align-items: center; gap: var(--s2); font-size: clamp(24px, 1.1rem + .7vw, 30px); }
.steps h3::before {
  content: counter(step);
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--tangerine);
  border: 3px solid var(--ink);
  font: 400 24px/1 var(--display);
}
.steps p { margin-top: var(--s2); font-weight: 600; }

/* ---------- Pricing summary ---------- */

.price-sum {
  background: var(--violet);
  color: var(--cream);
  border-block: var(--line);
  padding: var(--s6) max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
}
.price-sum .sub { max-width: 44ch; }
.price-rows { list-style: none; margin: var(--s5) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--s2); }
.price-row {
  display: grid;
  grid-template-columns: minmax(150px, .8fr) minmax(0, 2fr) minmax(0, 1.1fr);
  gap: var(--s3);
  align-items: center;
  background: var(--paper);
  color: var(--ink);
  border: var(--line);
  border-radius: var(--r2);
  padding: var(--s3);
  box-shadow: 0 6px 0 var(--ink);
}
.price-row-first { background: var(--tangerine); }
.pr-name { font: 400 clamp(24px, 1rem + 1vw, 30px)/1.1 var(--display); }
.pr-what { font-weight: 600; }
.pr-price { font-weight: 800; text-align: right; }
.price-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); margin-top: var(--s5); }
.price-sum .text-link { color: var(--cream); }
.price-sum .text-link:hover { color: var(--gold); }
.price-sum .btn-ink { box-shadow: 0 6px 0 var(--tangerine); }

/* ---------- Pricing page ---------- */

.plans-page {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--s3) var(--gutter) var(--s6);
}
.plans-head h1 { max-width: 20ch; }
.plan-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr) minmax(0, 1.05fr) minmax(0, 1fr);
  gap: var(--s3);
  align-items: stretch;
  margin-top: var(--s6);
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: var(--line);
  border-radius: var(--r3);
  box-shadow: 0 8px 0 var(--ink);
  padding: var(--s4) var(--s3);
}
.plan h2 { font-size: clamp(26px, 1.1rem + 1vw, 34px); }
.price { margin-top: var(--s2); font-weight: 800; font-size: 19px; }
.amount { font: 400 clamp(34px, 1.4rem + 1.4vw, 46px)/1 var(--display); margin-right: 4px; }
.plan ul {
  list-style: none;
  margin: var(--s3) 0 var(--s4);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}
.plan li { padding-left: 30px; position: relative; font-weight: 600; }
.plan li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 7px;
  width: 16px;
  height: 10px;
  border-left: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
  transform: rotate(-45deg);
}
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan-first { background: var(--tangerine); box-shadow: var(--pop); transform: rotate(-1.2deg); }
.plan-first h2 { font-size: clamp(30px, 1.3rem + 1.3vw, 42px); }
.plan-genie {
  position: absolute;
  top: -70px;
  right: -14px;
  width: clamp(110px, 10vw, 140px);
  transform: rotate(12deg);
  transition: transform .4s var(--bounce);
}
.plan-first:hover .plan-genie { transform: rotate(-4deg) translateY(-8px) scale(1.05); }
.page-pricing .discreet { padding-top: var(--s5); }

/* ---------- Discretion ---------- */

.discreet {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s5);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--s6) var(--gutter);
}
.promises { list-style: none; margin: var(--s4) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--s2); }
.promises li { font-weight: 800; font-size: 19px; padding-left: 34px; position: relative; }
.promises li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--tangerine);
  border: 3px solid var(--ink);
}
.statement { display: flex; justify-content: center; }
.statement-paper {
  width: min(520px, 100%);
  background: var(--white);
  border: var(--line);
  border-bottom: 0;
  padding: var(--s4) var(--s4) var(--s5);
  transform: rotate(2deg);
  box-shadow: 12px 0 0 0 var(--ink);
  position: relative;
  -webkit-mask: radial-gradient(14px at 50% 100%, transparent 98%, #000) 0 0 / 28px 100%;
  mask: radial-gradient(14px at 50% 100%, transparent 98%, #000) 0 0 / 28px 100%;
}
.st-head { font: 400 24px/1.2 var(--display); padding-bottom: var(--s2); border-bottom: 3px solid var(--ink); }
.st-row {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: var(--s2);
  padding: var(--s2) 0;
  border-bottom: 2px dashed var(--ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.st-ours { font-weight: 800; }
.ring { position: absolute; inset: -6px -18px; width: calc(100% + 36px); height: calc(100% + 12px); overflow: visible; pointer-events: none; }
.ring path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s cubic-bezier(.6, 0, .3, 1) .3s; }
.statement.in .ring path { stroke-dashoffset: 0; }
/* ---------- FAQ ---------- */

.faq {
  max-width: 980px;
  margin: 0 auto;
  padding: var(--s6) var(--gutter);
}
.faq-list { margin-top: var(--s5); display: flex; flex-direction: column; gap: var(--s2); }
.faq details {
  background: var(--paper);
  border: var(--line);
  border-radius: var(--r2);
  box-shadow: 0 5px 0 var(--ink);
  transition: transform .2s var(--bounce);
}
.faq details[open] { background: var(--white); }
.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s2);
  min-height: 64px;
  padding: var(--s2) var(--s3);
  font: 800 clamp(19px, 1rem + .3vw, 21px)/1.3 var(--body);
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 14px 3px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 3px 14px no-repeat,
    var(--gold);
  transition: transform .35s var(--bounce);
}
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--pink); }
.faq summary:focus-visible { outline-offset: -2px; border-radius: var(--r2); }
.faq details p { padding: 0 var(--s3) var(--s3); max-width: 62ch; }

/* ---------- Final ---------- */

.final {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: var(--s5);
  background: var(--tangerine);
  border-top: var(--line);
  padding: var(--s6) max(var(--gutter), calc((100% - 1100px) / 2 + var(--gutter)));
}
.final-genie { width: clamp(160px, 20vw, 240px); transform: rotate(-8deg); }
.final h2 { font-size: clamp(38px, 1.2rem + 4.2vw, 72px); margin-bottom: var(--s4); }
/* ---------- Footer ---------- */

.footer {
  background: var(--ink);
  color: var(--cream);
  padding: var(--s5) max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--s3) var(--s5);
  align-items: center;
}
.brand-foot { color: var(--cream); }
.brand-foot:hover { color: var(--cream); }
.foot-note { font-weight: 600; }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); grid-column: 1 / -1; }
.foot-links a { color: var(--pink); font-weight: 800; display: inline-flex; min-height: 44px; align-items: center; }
.foot-links a:hover { color: var(--gold); }
.foot-dirs { grid-column: 1 / -1; }
.foot-dirs-title { font-weight: 800; margin-bottom: var(--s1); }
.foot-dirs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); }
.foot-dirs a { color: var(--cream); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; min-height: 32px; align-items: center; }
.foot-dirs a:hover { color: var(--gold); }
.foot-copy { grid-column: 1 / -1; font-weight: 600; }

/* ---------- Reveal ---------- */

.reveal { transition: transform .8s var(--bounce), opacity .5s; }
.js .reveal:not(.in) { opacity: 0; transform: translateY(40px) rotate(-2deg) scale(.96); }

/* ---------- Keyframes ---------- */

@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(1.5deg); } }
@keyframes wobble { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
@keyframes pop-in { from { opacity: 0; transform: scale(.7) rotate(-4deg); } to { opacity: 1; transform: none; } }
@keyframes bar { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
@keyframes blink { 0%, 100% { transform: scale(.7); } 50% { transform: scale(1.1); } }

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5) var(--s3); }
}

@media (max-width: 1080px) {
  .get { grid-template-columns: 1fr; }
  .get-art { position: static; order: -1; }
  .get-art img { max-width: 260px; margin: 0; }
  .unlock-plans { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: var(--s1); padding-bottom: var(--s5); }
  .hero-art { display: none; }
  .thread { margin-top: var(--s4); }
  .thread-card { padding: var(--s4) var(--s3) var(--s3); }
  .get, .price-sum, .how, .discreet, .faq, .final { padding-block: var(--s5); }
  .get-list { grid-template-columns: 1fr; gap: var(--s3); margin-top: var(--s4); }
  .steps { grid-template-columns: 1fr; gap: var(--s3); margin-top: var(--s4); }
  .steps li:nth-child(n) { transform: none; }
  .price-row { grid-template-columns: 1fr; gap: var(--s1); }
  .pr-price { text-align: left; }
  .discreet { grid-template-columns: 1fr; }
  .final { grid-template-columns: 1fr; justify-items: start; }
  .final-genie { width: 160px; }
  .footer { grid-template-columns: 1fr; }
  .plans-page { padding-top: var(--s1); padding-bottom: var(--s5); }
  .plan-grid { grid-template-columns: 1fr; margin-top: var(--s5); }
  .plan-first { transform: none; order: -1; }
}

@media (max-width: 560px) {
  .cta-long { display: none; }
  .cta-short { display: inline; }
  .topbar { padding-block: var(--s2); gap: var(--s1); }
  .topnav { gap: var(--s2); }
  .brand { gap: 6px; }
  .brand img { width: 38px; }
  .brand span { font-size: 22px; }
  .nav-link { font-size: 17px; }
  .topbar .btn-small { padding: 8px 12px; font-size: 16px; min-height: 44px; }
  .plan .price { font-size: 17px; }
  h1 { font-size: clamp(30px, 8.4vw, 40px); }
  .box { padding: var(--s2); box-shadow: var(--sticker); }
  .box textarea { font-size: 19px; min-height: 128px; }
  .box-row .btn { width: 100%; }
  .btn-big { width: 100%; }
  .thread-card { box-shadow: var(--sticker); padding-inline: var(--s2); }
  .own { flex-direction: column; }
  .own .btn { width: 100%; }
  .controls-top { gap: var(--s2); }
  .controls-top > .btn { width: 100%; }
  .unlock { padding: var(--s5) var(--s2) var(--s3); box-shadow: var(--sticker); }
  .unlock-genie { width: 96px; top: -52px; }
  .unlock-plan .btn { align-self: stretch; }
  .plan .btn { align-self: stretch; }
  .plan-genie { top: -52px; right: -4px; width: 100px; }
  .gate-card { padding: var(--s4) var(--s3); }
  .statement-paper { padding: var(--s3) var(--s3) var(--s5); }
  .st-row { font-size: 17px; }
  .ring { inset: -6px -10px; width: calc(100% + 20px); }
}

@media (max-width: 420px) {
  .topnav { gap: 12px; }
  .brand span { font-size: 19px; }
  .nav-link { font-size: 16px; }
  .topbar .btn-small { padding: 8px 10px; font-size: 15px; }
}

@media (max-width: 370px) {
  .brand span { font-size: 18px; }
  .brand img { width: 34px; }
  .topbar .btn-small { padding: 8px 10px; font-size: 15px; }
}

/* ---------- Reduced motion: final states only ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal:not(.in) { opacity: 1; transform: none; }
  .ring path { stroke-dashoffset: 0; }
}

@media (max-width: 600px) {
  .unlock { margin-inline: calc(-1 * var(--s2)); padding: var(--s5) var(--s3) var(--s3); }
  .unlock-plan { padding: var(--s3) var(--s2); }
}
