/* Stoic Widgets web funnel. Palette, stickers and widget previews follow the 1.39 app onboarding. */
:root {
  --bg: #f3eadb;
  --bg-light: #f8f4eb;
  --card: #fbf7ef;
  --card-line: #e6d8bf;
  --selected: #eddcc0;
  --ink: #29251d;
  --soft: #6f6048;
  --muted: #95836a;
  --gold: #b88624;
  --gold-deep: #925d00;
  --gold-light: #e6bd65;
  --button: #2a241c;
  --night: #15130f;
  --content: 430px;
  --heading: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua",
    Georgia, serif;
  --k: 1;
  font-family: var(--heading);
  color: var(--ink);
  background: var(--bg);
}
* {
  box-sizing: border-box;
}
html {
  min-height: 100%;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100svh;
  background: radial-gradient(
      120% 60% at 50% 0%,
      var(--bg-light) 0%,
      transparent 70%
    ),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
a,
label {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
p,
figure,
blockquote,
ul,
ol {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
.option-card:has(input:focus-visible),
.plan-card:has(input:focus-visible) {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
h1:focus {
  outline: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.icon {
  width: 22px;
  height: 22px;
  flex: none;
}

/* ─── Shell ─────────────────────────────────────────────────────────────── */
.funnel-shell {
  min-height: 100dvh;
  overflow-x: clip;
  display: flex;
  flex-direction: column;
  padding: 0 max(20px, env(safe-area-inset-right)) 0
    max(20px, env(safe-area-inset-left));
}
.funnel-header {
  width: min(100%, var(--content));
  margin: 0 auto;
  padding-top: env(safe-area-inset-top);
  height: calc(60px + env(safe-area-inset-top));
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 5;
}
.brand {
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand img,
.header-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  box-shadow: 0 2px 6px #3d2b1026;
}
.back-button {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--card-line);
  background: var(--card);
  color: var(--ink);
}
.back-button .icon {
  width: 19px;
  height: 19px;
}
.progress-track {
  flex: 1;
  height: 5px;
  border-radius: 9px;
  background: #e2d3b8;
  overflow: hidden;
}
.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #c9a15f, var(--gold-deep));
  transition: width 0.35s ease;
}
.screen {
  flex: 1;
  width: min(100%, var(--content));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.screen h1,
.summary-row span,
.plan-main {
  overflow-wrap: anywhere;
}
.screen-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 6px 0 22px;
  animation: fade-in 0.38s ease both;
}
.screen h1 {
  font-family: var(--heading);
  font-size: clamp(25px, 7.2vw, 30px);
  line-height: 1.13;
  letter-spacing: -0.035em;
  font-weight: 800;
  text-wrap: balance;
}
.subheading {
  margin-top: 12px;
  max-width: 340px;
  color: var(--soft);
  font-size: 16px;
  line-height: 1.45;
  text-wrap: pretty;
}
.eyebrow {
  margin-bottom: 8px;
  color: var(--gold-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.action-footer {
  position: sticky;
  bottom: 0;
  z-index: 4;
  margin: 0 -20px;
  padding: 14px 20px max(18px, env(safe-area-inset-bottom));
  background: linear-gradient(transparent, var(--bg) 26%);
  flex-shrink: 0;
}
.primary-button {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  color: #fbf6ec;
  background: var(--button);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: 0 10px 22px #2a241c2e;
  transition:
    opacity 0.2s,
    background-color 0.2s;
}
.copy-gold {
  color: var(--gold-deep);
}
.screen h1 .copy-gold {
  color: #b07b00;
}
.question-hint {
  margin-top: 10px;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.4;
}
.multiple-options .selection-check {
  border-radius: 7px;
}
.kind-commitment .screen-content {
  justify-content: center;
  gap: 22px;
}
.kind-commitment .trio {
  height: calc(138px * var(--k));
  margin-bottom: 8px;
}
.kind-commitment .trio-center {
  --s: 128px;
}
.kind-commitment .trio-side {
  --s: 78px;
}
.commitment-intro {
  color: var(--soft);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.kind-commitment .commitment-intro + h1 {
  margin-top: -10px;
}
.kind-commitment .primary-button {
  padding: 14px 20px;
  line-height: 1.3;
  font-size: 16px;
}
.primary-button .icon {
  width: 20px;
  height: 20px;
}
.primary-button:disabled {
  opacity: 0.38;
  box-shadow: none;
}
.primary-button.gold {
  color: #2a1e0b;
  background: linear-gradient(180deg, #e5c88f, #c49a56);
  box-shadow:
    0 10px 24px #a07a3b45,
    inset 0 1px 0 #fff5;
}
.text-button {
  margin-top: 10px;
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  background: none;
  color: var(--soft);
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ─── Stickers ──────────────────────────────────────────────────────────── */
.sticker {
  width: calc(var(--s, 64px) * var(--k));
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 6px 6px #3d2b1029);
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}
.pop {
  animation: pop-in 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.3) backwards;
  animation-delay: calc(var(--i, 0) * 70ms + 90ms);
}
.trio {
  height: calc(84px * var(--k));
  margin: 0 0 14px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.trio-center {
  --s: 82px;
  position: relative;
  z-index: 2;
}
.trio-side {
  --s: 54px;
  margin: 0 -8px 6px;
}
.trio-left {
  rotate: -14deg;
}
.trio-right {
  rotate: 13deg;
}
.card-sticker {
  --s: 62px;
  position: absolute;
  z-index: 3;
}
.card-sticker-tl {
  top: -22px;
  left: -14px;
  rotate: -14deg;
}
.card-sticker-tr {
  top: -24px;
  right: -12px;
  rotate: 14deg;
}
.card-sticker-bl {
  bottom: -22px;
  left: -14px;
  rotate: -12deg;
}
.card-sticker-br {
  bottom: -22px;
  right: -12px;
  rotate: 12deg;
}


/* ─── Welcome (1.39 sticker opening) ────────────────────────────────────── */
.kind-welcome .screen-content {
  display: grid;
  grid-template-rows: minmax(150px, 1fr) auto minmax(150px, 1fr);
  align-items: stretch;
  padding: 0;
  animation: none;
}
.welcome-band {
  position: relative;
  margin: 0 -20px;
}
.ws {
  position: absolute;
  translate: -50% -50%;
  width: calc(var(--s) * var(--k));
  filter: drop-shadow(0 7px 7px #3d2b1033);
}
.ws-widget .mw {
  box-shadow: 0 2px 0 #fff9 inset;
}
.welcome-copy {
  position: relative;
  z-index: 2;
  padding: 6px 4px;
}
.kind-welcome h1 {
  font-size: clamp(32px, 9.4vw, 40px);
  line-height: 1.06;
  letter-spacing: -0.045em;
}
.kind-welcome .subheading {
  margin: 12px auto 0;
  font-size: 17px;
}
.laureled {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--gold);
}
.branch {
  width: 22px;
  height: auto;
  flex: none;
}
.branch-right {
  scale: -1 1;
}
.rating-line {
  margin-top: 16px;
}
.rating-line .branch {
  width: 21px;
}
.rating-line-copy {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  column-gap: 8px;
  color: var(--ink);
}
.rating-line strong {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.rating-line small {
  grid-column: 1 / -1;
  color: var(--soft);
  font-size: 12px;
  font-weight: 700;
}
.stars {
  display: inline-flex;
  gap: 1px;
  color: #d39b2a;
}
.stars svg {
  width: 15px;
  height: 15px;
}
.welcome-joined {
  margin-top: 10px;
  color: var(--soft);
  font-size: 14px;
}
.welcome-joined strong {
  color: var(--ink);
}

/* ─── Widget previews (mirror the app's OnbWidget) ─────────────────────── */
.mw {
  container-type: inline-size;
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 21%;
  color: #f6f0e4;
  background: #121210;
  box-shadow: 0 8px 18px #2a1c0a38;
}
.mw > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mw-sisyphus::after,
.mw-quote::after,
.mw-temple::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 38%, #0b0906d9);
}
.mw-sisyphus span {
  position: absolute;
  z-index: 1;
  left: 8cqw;
  right: 8cqw;
  bottom: 9cqw;
  font-family: var(--serif);
  font-size: 11cqw;
  line-height: 1.12;
  font-weight: 600;
}
.mw-temple span {
  position: absolute;
  z-index: 1;
  left: 10cqw;
  right: 10cqw;
  bottom: 19cqw;
  text-align: left;
  font-family: var(--serif);
  font-size: 10cqw;
  line-height: 1.22;
}
.mw-temple small {
  position: absolute;
  z-index: 1;
  left: 10cqw;
  bottom: 9cqw;
  color: #e3c892;
  font-size: 5cqw;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.mw-memento {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #10100e;
}
.mw-memento small {
  font-size: 6.4cqw;
  letter-spacing: 0.12em;
  color: #cfc6b5;
  font-weight: 700;
}
.mw-memento strong {
  margin: 4cqw 0 2cqw;
  font-family: var(--serif);
  font-size: 22cqw;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.mw-body {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
}
.mw-year {
  background: #121212;
}
.mw-year .mw-body {
  padding: 8cqw;
}
.mw-year-head {
  display: flex;
  justify-content: space-between;
  text-align: left;
  font-size: 5.4cqw;
  color: #a9a196;
  line-height: 1.15;
}
.mw-year-head span:last-child {
  text-align: right;
}
.mw-year-head b {
  display: block;
  color: #f5f1e8;
  font-size: 9cqw;
}
.mw-dots {
  margin-top: 5cqw;
  display: grid;
  grid-template-columns: repeat(19, 1fr);
  gap: 1.3cqw;
}
.mw-dots i {
  aspect-ratio: 1;
  border-radius: 50%;
  background: #3b3a37;
}
.mw-dots i.done {
  background: #e9e4da;
}
.mw-quote .mw-body {
  align-items: center;
  justify-content: center;
  padding: 9cqw 11cqw;
}
.mw-quote::after {
  background: linear-gradient(#0807059e, #080705e0);
}
.mw-quote p {
  font-family: var(--serif);
  font-size: 8.4cqw;
  line-height: 1.28;
  text-wrap: balance;
}
.mw-quote small {
  margin-top: 5cqw;
  color: #e3c892;
  font-size: 4.8cqw;
  font-weight: 700;
  letter-spacing: 0.12em;
}

/* ─── Social proof ──────────────────────────────────────────────────────── */
.rating-hero {
  position: relative;
  width: 272px;
  margin: 2px auto 14px;
  padding: 8px 0 4px;
}
.hero-laurels {
  gap: 10px;
}
.hero-laurels .branch {
  width: 46px;
}
.rating-hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--ink);
}
.rating-hero-copy strong {
  font-size: 54px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.05em;
}
.stars-lg svg {
  width: 21px;
  height: 21px;
}
.rating-hero-copy small {
  margin-top: 6px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 700;
}
.rating-sticker {
  --s: 62px;
  position: absolute;
  top: 34%;
}
.rating-sticker-left {
  left: -24px;
  rotate: -12deg;
}
.rating-sticker-right {
  right: -24px;
  rotate: 12deg;
}
.stat-row {
  width: 100%;
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.stat-row li {
  padding: 13px 6px 12px;
  border: 1px solid var(--card-line);
  border-radius: 18px;
  background: var(--card);
}
.stat-row strong {
  display: block;
  font-size: 21px;
  letter-spacing: -0.04em;
}
.stat-row span {
  display: block;
  margin-top: 3px;
  color: var(--soft);
  font-size: 12px;
  line-height: 1.25;
}
.review-card {
  width: 100%;
  margin-top: 14px;
  padding: 16px 18px 18px;
  border: 1.5px solid #d9bd86;
  border-radius: 22px;
  background: #fdf8ec;
  box-shadow: 0 10px 26px #6b4d2a14;
}
.review-laurels {
  gap: 10px;
}
.review-laurels .branch {
  width: 18px;
}
.review-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.review-top small {
  color: var(--gold-deep);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.review-card blockquote {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.38;
  text-wrap: balance;
}
.review-card figcaption {
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
}

/* ─── Name ──────────────────────────────────────────────────────────────── */
.name-field {
  width: 100%;
  margin-top: 26px;
}
.name-field input {
  width: 100%;
  min-height: 62px;
  padding: 0 20px;
  border: 1.5px solid var(--card-line);
  border-radius: 20px;
  background: var(--card);
  font-size: 21px;
  font-weight: 700;
  text-align: center;
  color: var(--ink);
  box-shadow: 0 8px 20px #6b4d2a0f;
}
.name-field input::placeholder {
  color: #b5a68c;
  font-weight: 600;
}
.name-field input:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 4px #b08a4e2e;
}

/* ─── Questions ─────────────────────────────────────────────────────────── */
.kind-question h1 {
  font-size: clamp(22px, 6.3vw, 26px);
}
.options {
  width: 100%;
  margin: 22px 0 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 10px;
}
.option-card {
  position: relative;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px 8px 10px;
  border: 1.5px solid var(--card-line);
  border-radius: 20px;
  background: var(--card);
  text-align: left;
  cursor: pointer;
  transition:
    background-color 0.18s,
    border-color 0.18s;
}
.option-card.is-selected {
  border-color: var(--gold);
  background: var(--selected);
}
.option-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.option-sticker {
  --s: 44px;
  flex: none;
}
.option-copy {
  flex: 1;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.selection-check {
  width: 24px;
  height: 24px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1.5px solid #cdbb9b;
  border-radius: 50%;
  transition:
    background-color 0.18s,
    border-color 0.18s;
}
.selection-check .icon {
  width: 14px;
  height: 14px;
  color: #fff;
  opacity: 0;
}
.is-selected .selection-check {
  border-color: var(--gold-deep);
  background: var(--gold-deep);
}
.is-selected .selection-check .icon {
  opacity: 1;
}
.option-note {
  min-height: 44px;
  margin-top: 14px;
  color: var(--gold-deep);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  max-width: 340px;
}

/* ─── Affirmations ──────────────────────────────────────────────────────── */
.kind-affirm .screen-content {
  justify-content: center;
}
.kind-affirm h1,
.kind-statement h1,
.kind-proof h1 {
  font-size: clamp(23px, 6.5vw, 27px);
  line-height: 1.18;
}
.affirm-art {
  height: calc(140px * var(--k));
  display: flex;
  align-items: center;
  justify-content: center;
}
.affirm-main {
  --s: 128px;
  position: relative;
  z-index: 2;
}
.affirm-side {
  --s: 72px;
}
.affirm-left {
  margin-right: -18px;
  rotate: -16deg;
  translate: 0 18px;
}
.affirm-right {
  margin-left: -18px;
  rotate: 14deg;
  translate: 0 -14px;
}
.you-said {
  margin: 10px auto 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 6px 16px 6px 8px;
  border: 1px solid var(--card-line);
  border-radius: 999px;
  background: var(--card);
  text-align: left;
}
.you-said-sticker {
  --s: 34px;
}
.you-said span {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}
.you-said small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ─── First line ────────────────────────────────────────────────────────── */
.kind-quote .eyebrow {
  margin-top: 4px;
}
.quote-card {
  position: relative;
  width: 100%;
  margin-top: 10px;
  padding: 44px 28px 30px;
  border-radius: 28px;
  color: #f6efe2;
  background: #15120d;
  box-shadow: 0 18px 36px #2a1c0a40;
}
.quote-card-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  opacity: 0.55;
}
.quote-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(#0e0c0866, #0e0c08d9);
}
.quote-card blockquote,
.quote-card figcaption {
  position: relative;
  z-index: 1;
}
.screen .first-line {
  font-family: var(--serif);
  font-size: clamp(27px, 7.6vw, 32px);
  line-height: 1.22;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.quote-card figcaption {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.quote-card figcaption b {
  color: #e3c892;
  font-size: 12px;
  letter-spacing: 0.16em;
}
.quote-card figcaption small {
  color: #cdbfa5;
  font-size: 12px;
}
.why-card {
  width: 100%;
  margin-top: 26px;
  display: flex;
  gap: 12px;
  padding: 16px 16px 16px 12px;
  border: 1px solid var(--card-line);
  border-radius: 22px;
  background: var(--card);
  text-align: left;
}
.why-sticker {
  --s: 50px;
  flex: none;
}
.why-card strong {
  font-size: 15px;
}
.why-card p {
  margin-top: 4px;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.45;
}

/* ─── Proof ─────────────────────────────────────────────────────────────── */
.kind-proof .screen-content {
  justify-content: center;
}
.calm-card {
  position: relative;
  width: 100%;
  margin: 34px 0 24px;
  padding: 30px 12px 12px;
  border-radius: 28px;
  color: #fbf6ec;
  background: radial-gradient(120% 90% at 85% 10%, #3a2d18 0%, #17140f 60%);
  box-shadow: 0 20px 40px #2a1c0a4d;
}
.calm-card .card-sticker {
  --s: 58px;
  top: -30px;
  bottom: auto;
}
.calm-card .card-sticker-br {
  right: -8px;
  left: auto;
}
.calm-card .proof-label {
  color: #d9c7a5;
  font-size: 15px;
  font-weight: 700;
}
.calm-card svg {
  width: 100%;
  height: auto;
  margin-top: 4px;
  overflow: visible;
}
.calm-card .grid {
  stroke: #ffffff1c;
  stroke-dasharray: 3 5;
}
.calm-card .axis {
  fill: #8f8470;
  font-size: 10px;
  font-weight: 700;
}
.calm-card .axis-x {
  fill: #a99b82;
  font-size: 12px;
  font-weight: 800;
}
.calm-card .axis-x.is-hero {
  fill: #f6d58f;
}
.guide {
  stroke: #ffffff40;
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
}
.calm-glow {
  fill: none;
  stroke: #e8b85f;
  stroke-width: 12;
  stroke-linecap: round;
  opacity: 0.55;
}
.calm-line {
  fill: none;
  stroke: url(#calm-line);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 400;
  animation: draw-calm 1.3s cubic-bezier(0.3, 0.7, 0.2, 1) 0.2s backwards;
}
.jump {
  stroke: #f6d58f;
  stroke-width: 2.5;
}
.jump-head {
  fill: none;
  stroke: #f6d58f;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.jump-label rect {
  fill: #f6d58f;
}
.jump-label text {
  fill: #2a1e0b;
  font-size: 19px;
  font-weight: 800;
}
.dot-low {
  fill: #17140f;
  stroke: #8f8470;
  stroke-width: 3.5;
}
.dot-ring {
  fill: #f6d58f40;
  transform-box: fill-box;
  transform-origin: center;
  animation: ring 2.2s ease-out 1.2s infinite;
}
.dot-high {
  fill: #fff;
  stroke: #e8b85f;
  stroke-width: 5;
}
.val-low {
  fill: #a99b82;
  font-size: 16px;
  font-weight: 800;
}
.val-high rect {
  fill: #e8b85f;
}
.val-high text {
  fill: #1f170b;
  font-size: 19px;
  font-weight: 800;
}
.val-high,
.jump-label {
  transform-box: fill-box;
  transform-origin: center;
  animation: pop-in 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.3) 1.1s backwards;
}
.routine-art {
  position: relative;
  margin: 10px 0 26px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  padding-bottom: 34px;
}
.routine-sticker {
  --s: 96px;
}
.routine-sticker.is-dim {
  opacity: 0.32;
  filter: grayscale(1) drop-shadow(0 6px 6px #3d2b1014);
}
.routine-figure {
  position: absolute;
  bottom: 0;
  left: 50%;
  translate: -50% 0;
  padding: 6px 16px;
  border-radius: 999px;
  color: #fbf6ec;
  background: var(--button);
  font-size: 18px;
  font-weight: 800;
  white-space: nowrap;
}

/* ─── Remembering: three widgets fanned like the app paywall ─────────── */
.kind-statement .screen-content {
  justify-content: center;
}
.fan {
  position: relative;
  width: 100%;
  margin: 18px auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fan > .mw {
  flex: none;
  width: calc(31% * var(--k));
}
.fan .fan-left {
  margin-right: -10px;
  rotate: -8deg;
  translate: 0 10px;
}
.fan .fan-center {
  z-index: 2;
  width: calc(36% * var(--k));
}
.fan .fan-right {
  margin-left: -10px;
  rotate: 8deg;
  translate: 0 10px;
}
.fan .fan-center p {
  font-size: 9.6cqw;
}
.fan-sticker {
  --s: 56px;
  position: absolute;
  z-index: 3;
  top: -30px;
}
.fan-sticker-left {
  left: 2px;
  rotate: -14deg;
}
.fan-sticker-right {
  right: 2px;
  rotate: 16deg;
}

/* ─── Phone previews ───────────────────────────────────────────────────── */
.kind-phone .screen-content {
  padding-top: 2px;
}
.kind-phone h1 {
  font-size: clamp(23px, 6.6vw, 27px);
  margin-bottom: 16px;
}
.phone-stage {
  --pw: min(68vw, 280px, max(174px, calc((100svh - 260px) * 0.43)));
  position: relative;
  width: calc(var(--pw) + 84px);
  max-width: 100%;
  display: flex;
  justify-content: center;
}
[data-step="phone_preview"] .phone-stage {
  --pw: min(68vw, 280px, max(174px, calc((100svh - 330px) * 0.43)));
}
.phone-sticker {
  --s: 72px;
  position: absolute;
  z-index: 0;
}
.phone-sticker-left {
  left: -6px;
  bottom: 18%;
  rotate: -14deg;
}
.phone-sticker-right {
  right: -6px;
  top: 14%;
  rotate: 13deg;
}
.phone-panels [hidden] {
  display: none;
}
.phone {
  position: relative;
  z-index: 1;
  width: var(--pw);
  padding: calc(var(--pw) * 0.028);
  border-radius: calc(var(--pw) * 0.17);
  background: linear-gradient(145deg, #4b4741, #1b1a18 30%, #2d2a26 70%, #57524a);
  box-shadow:
    0 26px 48px #2a1c0a52,
    inset 0 0 0 1.5px #ffffff26;
  font-size: calc(var(--pw) / 28);
}
.phone-screen {
  position: relative;
  aspect-ratio: 9 / 19.5;
  overflow: hidden;
  border-radius: calc(var(--pw) * 0.145);
  background: #000;
  color: #fff;
}
.phone-wallpaper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.phone-island {
  position: absolute;
  top: 0.95em;
  left: 50%;
  width: 8.4em;
  height: 2.4em;
  translate: -50% 0;
  border-radius: 2em;
  background: #000;
}
.home-indicator {
  position: absolute;
  bottom: 0.7em;
  left: 50%;
  width: 9.5em;
  height: 0.42em;
  translate: -50% 0;
  border-radius: 1em;
  background: #fffe;
}
.status-bar {
  position: relative;
  height: 4.3em;
  padding: 1.35em 2.3em 0 2.6em;
  display: flex;
  justify-content: space-between;
  font-size: 1em;
  font-weight: 700;
}
.status-bar > span:first-child {
  font-size: 1.35em;
  letter-spacing: -0.02em;
}
.status-icons {
  display: flex;
  align-items: center;
  gap: 0.45em;
  height: 1.6em;
}
.status-icons svg {
  height: 1em;
  width: auto;
  fill: currentColor;
}
.status-icons .wifi {
  fill: none;
}
.status-icons .battery {
  height: 1.05em;
}
.home-ui,
.lock-ui {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
}
.home-ui::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #0000002e;
}
.home-ui > * {
  position: relative;
}
.home-grid {
  margin-top: 0.6em;
  padding: 0 1.8em;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 1.55em;
  row-gap: 0.9em;
}
.home-widget {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35em;
}
.home-widget.wide {
  grid-column: 1 / -1;
}
.home-widget.wide .mw {
  aspect-ratio: 2.12;
  border-radius: 9.6% / 20.4%;
}
.home-widget.wide .mw-body {
  padding: 4cqw 10cqw;
}
.home-widget.wide .mw-quote::after {
  background: linear-gradient(#080705a6, #080705d9);
}
.home-widget.wide .mw-quote p {
  font-size: 5.6cqw;
  line-height: 1.24;
}
.home-widget.wide .mw-quote small {
  margin-top: 2.8cqw;
  font-size: 3.1cqw;
}
.home-widget small,
.home-app small {
  font-size: 0.86em;
  font-weight: 600;
  text-shadow: 0 1px 2px #0008;
  white-space: nowrap;
}
.home-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35em;
}
.ios-icon {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 22.37%;
  box-shadow: 0 0.2em 0.5em #0004;
}
.ios-calendar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #111;
}
.ios-calendar small {
  color: #f0443a;
  font-size: 0.78em;
  font-weight: 700;
}
.ios-calendar b {
  font-size: 2.1em;
  line-height: 1;
  font-weight: 400;
}
.ios-notes {
  display: flex;
  flex-direction: column;
  gap: 12%;
  padding: 30% 14% 0;
  background: linear-gradient(#ffd54a 0 24%, #fff 24%);
}
.ios-notes i {
  height: 5%;
  border-radius: 1em;
  background: #d9d6cf;
}
.ios-camera {
  color: #1d1d1f;
  background: linear-gradient(#e9e9eb, #b9b9bd);
}
.ios-camera svg {
  width: 58%;
}
.ios-phone,
.ios-music,
.ios-camera {
  display: grid;
  place-items: center;
  color: #fff;
}
.ios-phone {
  background: linear-gradient(#62f17a, #23c23f);
}
.ios-music {
  background: linear-gradient(#fd6377, #f2264b);
}
.ios-phone svg,
.ios-music svg {
  width: 58%;
}
.home-search {
  margin: auto auto 0.95em;
  display: flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.42em 0.95em;
  border-radius: 1em;
  background: #ffffff38;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.95em;
  font-weight: 600;
}
.home-search svg {
  width: 0.95em;
  height: 0.95em;
}
.dock {
  margin: 0 0.9em 2.1em;
  padding: 0.95em 1.05em;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.55em;
  border-radius: 2.6em;
  background: #ffffff3d;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.lock-ui {
  align-items: center;
  text-shadow: 0 1px 6px #0003;
}
.lock-ui::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(#0000004d, transparent 45%, #00000059);
}
.lock-ui > * {
  position: relative;
}
.lock-ui .status-bar {
  width: 100%;
}
.lock-glyph .icon {
  width: 1.5em;
  height: 1.5em;
}
.lock-date {
  margin-top: 0.4em;
  font-size: 1.45em;
  font-weight: 600;
  opacity: 0.9;
}
.lock-clock {
  font-family: "SF Pro Rounded", ui-rounded, var(--heading);
  font-size: 7.3em;
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -0.035em;
  opacity: 0.95;
}
.lock-widget {
  width: 19.5em;
  margin-top: 0.85em;
  padding: 0.75em 1em;
  border-radius: 1.3em;
  background: #ffffff26;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-align: center;
}
.lock-widget p {
  font-family: var(--serif);
  font-size: 1.22em;
  line-height: 1.26;
  font-weight: 600;
}
.lock-widget small {
  display: block;
  margin-top: 0.35em;
  font-size: 0.82em;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
}
.lock-spacer {
  flex: 1;
}
.notification {
  width: calc(100% - 1.8em);
  display: flex;
  gap: 0.8em;
  padding: 0.95em 1.05em;
  border-radius: 1.9em;
  background: #f4f0e9d1;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #1d1a15;
  text-align: left;
  text-shadow: none;
  box-shadow: 0 0.3em 1em #0003;
}
.notification img {
  width: 3em;
  height: 3em;
  flex: none;
  border-radius: 0.75em;
}
.notification p {
  font-size: 1.08em;
  line-height: 1.28;
}
.notification-head {
  display: flex;
  justify-content: space-between;
}
.notification-head span {
  color: #6f6a62;
  font-size: 0.92em;
}
.lock-tools {
  width: 100%;
  margin: 1.3em 0 2.2em;
  padding: 0 3em;
  display: flex;
  justify-content: space-between;
}
.lock-tools span {
  width: 3.9em;
  height: 3.9em;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #0000004d;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.lock-tools svg {
  width: 1.6em;
  height: 1.6em;
}
.phone-tabs {
  width: min(100%, 290px);
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border: 1px solid var(--card-line);
  border-radius: 999px;
  background: var(--card);
}
.phone-tabs button {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--soft);
  font-size: 14px;
  font-weight: 800;
}
.phone-tabs button[aria-selected="true"] {
  color: #fbf6ec;
  background: var(--button);
}
.preview-caption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

/* ─── Plan ready chart ─────────────────────────────────────────────────── */
.kind-chart h1 {
  font-size: clamp(24px, 6.8vw, 28px);
}
.chart-card {
  width: 100%;
  margin-top: 18px;
  padding: 16px 12px 12px;
  border: 1px solid var(--card-line);
  border-radius: 24px;
  background: var(--card);
}
.chart-card svg {
  width: 100%;
  height: auto;
  overflow: visible;
}
.chart-card .grid {
  stroke: #e6dac4;
  stroke-width: 1;
  stroke-dasharray: 3 5;
}
.chart-card text {
  fill: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.chart-line {
  stroke-dasharray: 600;
  animation: draw 1.4s cubic-bezier(0.3, 0.7, 0.2, 1) 0.2s backwards;
}
.pt,
.pt-start {
  fill: #fff;
  stroke: var(--gold);
  stroke-width: 3;
}
.pt-start {
  stroke: #c46a4a;
}
.pt-hero {
  fill: #fff;
  stroke: var(--gold-deep);
  stroke-width: 5;
}
.bubble {
  fill: var(--button);
}
.chart-card .bubble-text {
  fill: #fbf6ec;
  font-size: 11px;
}
.chart-card figcaption {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--card-line);
  color: var(--soft);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}
.chart-card figcaption strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
}
.chart-card figcaption span {
  display: block;
  margin-top: 5px;
  font-weight: 400;
  line-height: 1.45;
}
.summary-card {
  width: 100%;
  margin-top: 12px;
  padding: 14px 16px 6px;
  border: 1px solid var(--card-line);
  border-radius: 22px;
  background: var(--card);
  text-align: left;
}
.summary-title {
  margin-bottom: 4px;
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.summary-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid #efe4d1;
  font-size: 15px;
  font-weight: 700;
}
.summary-row:nth-child(2) {
  border-top: 0;
}
.summary-sticker {
  --s: 34px;
  flex: none;
}
.summary-row small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ─── Included ─────────────────────────────────────────────────────────── */
.benefits {
  width: 100%;
  margin-top: 20px;
  display: grid;
  gap: 8px;
  text-align: left;
}
.benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 10px;
  border: 1px solid var(--card-line);
  border-radius: 20px;
  background: var(--card);
}
.benefit-sticker {
  --s: 46px;
  flex: none;
}
.benefits li > div {
  flex: 1;
}
.benefits strong {
  font-size: 15px;
}
.benefits p {
  margin-top: 2px;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.35;
}
.benefit-check {
  width: 24px;
  height: 24px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--gold-deep);
}
.benefit-check .icon {
  width: 14px;
  height: 14px;
}

/* ─── Offer ─────────────────────────────────────────────────────────────── */
.kind-offer .screen-content {
  justify-content: center;
}
.offer-badge {
  position: relative;
  width: 250px;
  height: 170px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  color: var(--gold);
}
.laurel-offer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.offer-badge-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--ink);
}
.offer-badge-copy strong {
  font-size: 74px;
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.06em;
}
.offer-badge-copy span {
  margin-top: 2px;
  color: var(--gold-deep);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.24em;
}
.offer-sticker {
  --s: 74px;
  position: absolute;
  top: -12px;
}
.offer-sticker-left {
  left: -56px;
  rotate: -14deg;
}
.offer-sticker-right {
  right: -56px;
  rotate: 12deg;
}
.offer-prices {
  width: 100%;
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.offer-prices p {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 8px 14px;
  border: 1.5px solid var(--card-line);
  border-radius: 22px;
  background: var(--card);
}
.offer-plan {
  color: var(--soft);
  font-size: 14px;
  font-weight: 800;
}
.offer-prices .slash {
  margin-top: 8px;
  font-size: 22px;
}
.offer-prices b {
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.offer-prices small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.offer-tag {
  position: absolute;
  top: -11px;
  right: 12px;
  padding: 3px 9px;
  border-radius: 999px;
  color: #fff;
  background: #b5402a;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}
.slash {
  position: relative;
  display: inline-block;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}
.slash::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  top: 52%;
  height: 2.5px;
  border-radius: 2px;
  background: #c2412d;
  rotate: -12deg;
}

/* ─── Paywall ──────────────────────────────────────────────────────────── */
.kind-paywall .screen-content {
  padding-top: 0;
}
.paywall-body,
.purchase-actions {
  width: 100%;
}
.decline-pill {
  display: block;
  min-height: 44px;
  margin: 16px auto 4px;
  padding: 9px 22px;
  border: 1.5px solid #bbaa8c;
  border-radius: 999px;
  background: var(--card);
  color: var(--soft);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.save-reveal .save-beat {
  animation: save-appear .35s ease both;
}
.save-reveal .save-beat-1 { animation-delay: .05s; }
.save-reveal .save-beat-2 {
  animation-name: save-pop;
  animation-delay: .3s;
}
.save-reveal .save-beat-3 { animation-delay: .65s; }
.save-reveal .save-was::after {
  transform-origin: left;
  animation: grow .3s ease .85s both;
}
.save-reveal .save-beat-4 { animation-delay: 1s; }
.save-reveal .save-beat-5 { animation-delay: 1.3s; }
.save-reveal .purchase-actions:focus-within {
  animation: none;
}
.pw-hero {
  position: relative;
  width: 100%;
  min-height: 214px;
  overflow: hidden;
  border-radius: 28px;
  background: #0d0b08;
  color: #fbf6ec;
  text-align: left;
  box-shadow: 0 18px 36px #2a1c0a3d;
}
.pw-bust {
  position: absolute;
  right: -34px;
  bottom: -38px;
  width: 210px;
  height: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
}
.pw-hero-copy {
  position: relative;
  max-width: 68%;
  padding: 22px 0 20px 20px;
}
.pw-eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.kind-paywall .pw-hero h1 {
  margin-top: 12px;
  font-size: clamp(27px, 7.6vw, 32px);
  line-height: 1.06;
}
.pw-proof {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 6px;
  color: #d8ccb6;
  font-size: 12px;
}
.pw-proof .stars svg {
  width: 12px;
  height: 12px;
}
.pw-proof b {
  color: #fff;
}
.pw-icons {
  width: 100%;
  margin: 14px 0 6px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.pw-icons li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--soft);
}
.pw-icon-sticker {
  --s: 50px;
}
.plan-grid {
  width: 100%;
  margin: 16px 0 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 12px;
}
.plan-card {
  position: relative;
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1.5px solid var(--card-line);
  border-radius: 22px;
  background: var(--card);
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.18s,
    background-color 0.18s;
}
.plan-card.is-selected {
  border: 2px solid var(--gold-deep);
  background: #f6ead3;
  box-shadow: 0 10px 24px #8d6a3524;
}
.plan-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.plan-radio {
  width: 22px;
  height: 22px;
  flex: none;
  border: 2px solid #c6b393;
  border-radius: 50%;
}
.is-selected .plan-radio {
  border: 6px solid var(--gold-deep);
  background: #fff;
}
.plan-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.plan-main strong {
  font-size: 18px;
}
.plan-main small {
  margin-top: 3px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 600;
}
.plan-main .slash {
  margin-right: 4px;
}
.plan-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.plan-price b {
  font-size: 28px;
  letter-spacing: -0.04em;
  line-height: 1;
}
.plan-price small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}
.plan-tag {
  position: absolute;
  top: -11px;
  right: 16px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fbf6ec;
  background: #3b4a33;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.billing-note {
  margin-top: 12px;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.4;
}
.checkout-error:empty {
  display: none;
}
.checkout-error {
  margin-top: 10px;
  color: #9b3523;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}
.checkout-button {
  margin-top: 14px;
}
.checkout-trust {
  width: 100%;
  margin-top: 14px;
  padding: 14px 12px 12px;
  border: 1px solid var(--card-line);
  border-radius: 20px;
  background: var(--card);
}
.trust-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 15px;
  flex-wrap: wrap;
}
.trust-head .icon {
  width: 17px;
  height: 17px;
  color: #4a6a3f;
}
.trust-head span {
  color: var(--muted);
  font-size: 13px;
}
.payment-logos {
  margin-top: 11px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}
.payment-logos img {
  width: 46px;
  height: 30px;
  padding: 3px;
  border: 1px solid #e3d6be;
  border-radius: 6px;
  background: #fff;
  object-fit: contain;
}
.trust-note {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--soft);
  font-size: 13px;
  flex-wrap: wrap;
}
.trust-note .icon {
  width: 15px;
  height: 15px;
}
.pw-section {
  width: 100%;
  margin-top: 26px;
  text-align: left;
}
.pw-section h2 {
  font-size: 21px;
  letter-spacing: -0.03em;
}
.pw-section .benefits {
  margin-top: 12px;
}
.timeline {
  margin-top: 14px;
  display: grid;
  gap: 0;
}
.timeline li {
  position: relative;
  padding: 0 0 18px 26px;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 5px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px #b08a4e2e;
}
.timeline li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 20px;
  bottom: 0;
  width: 1.5px;
  background: #dccbab;
}
.timeline span {
  color: var(--gold-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.timeline strong {
  display: block;
  margin-top: 2px;
  font-size: 16px;
}
.timeline p {
  margin-top: 2px;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.4;
}
.faq {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}
.faq details {
  border: 1px solid var(--card-line);
  border-radius: 18px;
  background: var(--card);
}
.faq summary {
  position: relative;
  padding: 15px 44px 15px 16px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 800;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 2px solid var(--gold-deep);
  border-bottom: 2px solid var(--gold-deep);
  rotate: 45deg;
  transition: rotate 0.2s;
}
.faq details[open] summary::after {
  rotate: 225deg;
  margin-top: -2px;
}
.faq details p {
  padding: 0 16px 16px;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.5;
}
.pw-final {
  min-height: 0;
}
.pw-final .pw-bust {
  width: 225px;
  opacity: .22;
  right: -60px;
}
.pw-final .pw-hero-copy {
  max-width: 100%;
  padding: 24px 16px;
  text-align: center;
}
.pw-final-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  color: #2a1e0b;
  background: linear-gradient(180deg, #ebd09b, #c99a56);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.pw-final-percent {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #f3d79c;
  font-size: clamp(92px, 30vw, 140px);
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: -0.06em;
}
.pw-final-percent span {
  color: #fbf6ec;
  font-size: 25px;
  letter-spacing: 0.22em;
}
.pw-final-sub {
  margin-top: 10px;
  color: #fbf6ec;
  font-size: 17px;
  font-weight: 800;
}
.final-price {
  margin: 20px 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.final-price .slash {
  font-size: 34px;
}
.final-price .slash::after {
  height: 4px;
}
.final-arrow {
  width: 28px;
  height: 28px;
  color: var(--gold-deep);
}
.final-price b {
  color: var(--ink);
  font-size: 58px;
  line-height: 1;
  letter-spacing: -0.05em;
}
.screen .final-heading {
  margin-top: 8px;
  font-size: clamp(21px, 6vw, 25px);
  line-height: 1.22;
}
.legal-links {
  margin: 18px 0 10px;
  color: var(--muted);
  font-size: 13px;
}
.legal-links a {
  color: inherit;
}
.kind-paywall .review-card {
  margin-top: 18px;
}
.exit-choices {
  width: 100%;
  margin-top: 22px;
  display: grid;
  gap: 10px;
}
.exit-choices .option-card {
  min-height: 60px;
  padding-left: 18px;
  font-family: inherit;
}
.exit-arrow {
  color: var(--gold-deep);
}
.goodbye-card {
  width: 100%;
  margin: 22px 0 22px;
  padding: 26px 24px;
  border-radius: 24px;
  color: #f6efe2;
  background: #17140f;
}
.goodbye-card blockquote {
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.3;
}
.goodbye-card figcaption {
  margin-top: 12px;
  color: #e3c892;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.kind-paywall .trio + h1 {
  margin-bottom: 4px;
}

/* ─── Local review controls ────────────────────────────────────────────── */
#review-controls {
  position: fixed;
  z-index: 100;
  right: 12px;
  top: max(62px, calc(env(safe-area-inset-top) + 62px));
  bottom: auto;
  border: 1px solid #938267;
  background: #fffbf3;
  color: #1c1a17;
  border-radius: 14px;
  font:
    12px/1.4 "Hanken Grotesk",
    sans-serif;
  box-shadow: 0 4px 22px #0002;
  max-width: 265px;
  padding: 10px 14px;
  max-height: calc(100dvh - 150px);
  overflow-y: auto;
}
#review-controls summary {
  cursor: pointer;
  font-weight: 800;
}
#review-controls p {
  font-size: 11px;
  color: #71624e;
  margin: 10px 0;
}
#review-controls label {
  display: block;
  margin: 9px 0;
}
#review-controls select {
  display: block;
  width: 100%;
  margin-top: 3px;
  padding: 6px;
}
#review-controls button {
  margin-top: 6px;
  padding: 7px 10px;
  border: 1px solid #938267;
  border-radius: 8px;
  background: #fff;
}

/* ─── Motion ───────────────────────────────────────────────────────────── */
@keyframes fade-in {
  from {
    opacity: 0;
  }
}
@keyframes save-appear {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes save-pop {
  from { opacity: 0; transform: scale(.85); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes pop-in {
  from {
    opacity: 0;
    scale: 0.35;
  }
}
@keyframes grow {
  from {
    transform: scaleX(0);
  }
}
@keyframes draw-calm {
  from {
    stroke-dashoffset: 400;
  }
}
@keyframes ring {
  0% {
    scale: 0.6;
    opacity: 1;
  }
  100% {
    scale: 1.8;
    opacity: 0;
  }
}
@keyframes draw {
  from {
    stroke-dashoffset: 600;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ─── Sizes ────────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  #review-controls {
    top: max(12px, env(safe-area-inset-top));
    right: 12px;
    padding: 9px 10px;
  }
  body:has(#review-controls) .funnel-header {
    padding-right: 152px;
  }
  body:has(#review-controls) .brand {
    font-size: 13px;
    gap: 6px;
    white-space: nowrap;
  }
}
@media (max-width: 360px) {
  :root {
    --k: 0.86;
  }
  .funnel-shell {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
  .action-footer {
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .stat-row strong {
    font-size: 18px;
  }
  .stat-row span {
    font-size: 11px;
  }
  .pw-icons li {
    font-size: 10.5px;
  }
  .payment-logos {
    gap: 4px;
  }
  .payment-logos img {
    width: 40px;
    height: 27px;
  }
  .offer-sticker-left {
    left: -36px;
  }
  .offer-sticker-right {
    right: -36px;
  }
  .rating-sticker-left {
    left: -12px;
  }
  .rating-sticker-right {
    right: -12px;
  }
  .fan {
    width: min(270px, 100%);
  }
}
@media (max-height: 760px) {
  :root {
    --k: 0.84;
  }
  .trio {
    margin-bottom: 8px;
  }
  .options {
    margin-top: 16px;
    gap: 8px;
  }
  .option-card {
    min-height: 58px;
  }
  .rating-hero {
    margin-bottom: 8px;
    padding: 14px 0 12px;
  }
  .rating-hero-copy strong {
    font-size: 44px;
  }
}
@media (max-height: 640px) {
  :root {
    --k: 0.72;
  }
  .kind-welcome .screen-content {
    grid-template-rows: minmax(120px, 1fr) auto minmax(120px, 1fr);
  }
  .kind-welcome h1 {
    font-size: 30px;
  }
}
@media (min-width: 700px) {
  .funnel-shell {
    padding-top: 12px;
  }
  .welcome-band {
    margin: 0 -60px;
  }
}
.routine-grid { display:grid; grid-template-columns:repeat(10,minmax(0,1fr)); gap:6px; width:100%; max-width:440px; margin:12px auto 24px; }
.routine-person { display:block; border-radius:8px; padding:3px; }
.routine-person.is-gold { background:#d4a84e; }
.routine-person.is-muted { opacity:.28; filter:grayscale(1); }
.routine-statue { width:100%; height:auto; display:block; }
.research-disclosure { font-size:12px; line-height:1.5; margin:16px auto; max-width:420px; color:inherit; }
.research-disclosure summary { cursor:pointer; text-align:center; text-decoration:underline; }
