/* =========================================================================
   AutoFunnelUGC — warm editorial wellness
   Retheme the whole page from the :root palette below.
   ========================================================================= */

:root {
  /* palette */
  --paper:      #fbf6ee;
  --paper-2:    #f4eadb;
  --paper-3:    #efe3d0;
  --ink:        #2b2118;
  --ink-soft:   #5c5043;
  --ink-mute:   #8a7d6c;
  --clay:       #c8643c;
  --clay-deep:  #a84e2c;
  --clay-soft:  #e8a04a;
  --forest:     #2f3a2b;
  --forest-2:   #3c4a33;
  --sage:       #6e7a5a;
  --gold:       #c9a14a;
  --line:       rgba(43, 33, 24, 0.12);
  --line-2:     rgba(43, 33, 24, 0.22);

  /* type */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Hanken Grotesk", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  /* shape */
  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(43, 33, 24, 0.06), 0 4px 14px rgba(43, 33, 24, 0.06);
  --shadow-md: 0 10px 30px rgba(43, 33, 24, 0.12);
  --shadow-lg: 0 24px 60px rgba(43, 33, 24, 0.20);

  /* layout */
  --wrap: 640px;
  --pad: clamp(18px, 5vw, 34px);

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- reset / base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--paper);
  /* subtle paper grain */
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.025 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--clay-deep); }
button { font-family: inherit; }

/* honor reduced motion globally */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* visible, on-brand focus */
:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---- layout ------------------------------------------------------------ */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

main { padding-bottom: 96px; } /* room for the sticky mobile bar */

section { padding-block: clamp(40px, 8vw, 64px); }
.section-rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

.eyebrow {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay-deep);
  margin: 0 0 12px;
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: var(--clay); display: inline-block; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; color: var(--ink); margin: 0; font-optical-sizing: auto; }
h1 { font-size: clamp(34px, 9vw, 52px); letter-spacing: -0.01em; }
h2 { font-size: clamp(27px, 6.5vw, 38px); letter-spacing: -0.01em; }
h3 { font-size: clamp(19px, 4.6vw, 23px); }
em, .ital { font-style: italic; }
.u-clay { color: var(--clay-deep); }

.section-head { margin-bottom: 26px; }
.section-num {
  font-family: var(--display); font-style: italic; color: var(--clay);
  font-size: 15px; opacity: 0.85;
}

/* ---- hero -------------------------------------------------------------- */
.hero { padding-top: clamp(28px, 7vw, 52px); text-align: center; }
.hero__cover {
  width: min(280px, 66%);
  margin: 0 auto 28px;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.5deg);
  transition: transform 0.5s var(--ease);
}
.hero__cover:hover { transform: rotate(0deg) translateY(-4px); }
.hero h1 { margin-bottom: 16px; text-wrap: balance; }
.hero__sub {
  font-size: clamp(16px, 4.4vw, 19px);
  color: var(--ink-soft);
  max-width: 30ch;
  margin: 0 auto;
  text-wrap: balance;
}

/* ---- price + CTA card -------------------------------------------------- */
.offer {
  margin-top: 26px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 6vw, 30px);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.price-row { display: flex; align-items: baseline; justify-content: center; gap: 12px; flex-wrap: wrap; }
.price-now { font-family: var(--display); font-weight: 600; font-size: clamp(40px, 12vw, 56px); color: var(--ink); line-height: 1; }
.price-was { font-size: 20px; color: var(--ink-mute); text-decoration: line-through; text-decoration-color: var(--clay); }
.badge {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink); background: var(--gold);
  padding: 5px 11px; border-radius: var(--radius-pill);
  transform: rotate(-2deg);
}
.offer__reassure { margin: 14px 0 0; font-size: 14px; color: var(--ink-soft); }
.offer__reassure strong { color: var(--ink); }

/* ---- buttons ----------------------------------------------------------- */
.btn {
  -webkit-appearance: none; appearance: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 16px 26px;
  font-size: 17px; font-weight: 700; letter-spacing: 0.01em;
  color: #fff; background: var(--clay);
  border: 1px solid var(--clay-deep);
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 18px rgba(168, 78, 44, 0.28), inset 0 1px 0 rgba(255,255,255,0.18);
  transition: transform 0.15s var(--ease), background 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.btn:hover { background: var(--clay-deep); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(168, 78, 44, 0.34); }
.btn:active { transform: translateY(0) scale(0.99); box-shadow: 0 6px 14px rgba(168, 78, 44, 0.3); }
.btn[disabled] { cursor: progress; opacity: 0.92; }
.btn--mini { width: auto; min-height: 44px; padding: 11px 18px; font-size: 15px; box-shadow: 0 6px 14px rgba(168,78,44,0.3); }
.offer .btn { margin-top: 18px; }

/* loading spinner inside button */
.btn__spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,0.45); border-top-color: #fff;
  animation: spin 0.7s linear infinite;
  display: none;
}
.btn.is-loading .btn__label { opacity: 0.7; }
.btn.is-loading .btn__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* inline error state */
.cta-error {
  display: none;
  margin-top: 12px;
  font-size: 14px;
  color: var(--clay-deep);
  background: rgba(200, 100, 60, 0.08);
  border: 1px solid rgba(200, 100, 60, 0.28);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}
.cta-error.is-shown { display: block; }
.cta-error button {
  background: none; border: 0; padding: 0; margin-left: 6px;
  color: var(--clay-deep); font-weight: 700; text-decoration: underline; cursor: pointer;
}

/* ---- trust row --------------------------------------------------------- */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.trust__item {
  display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center;
  font-size: 12.5px; font-weight: 600; color: var(--ink-soft); line-height: 1.25;
}
.trust__item svg { width: 24px; height: 24px; color: var(--sage); }

/* ---- testimonials ------------------------------------------------------ */
.tcards { display: grid; gap: 16px; }
.tcard {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.tcard__quote { font-family: var(--display); font-size: 19px; line-height: 1.4; color: var(--ink); margin: 0 0 16px; }
.tcard__quote .hl { background: linear-gradient(transparent 62%, rgba(201,161,74,0.45) 62%); padding: 0 2px; }
.tcard__who { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: 0 0 auto;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 600; font-size: 16px; color: var(--paper);
  background: var(--forest);
}
.avatar--clay { background: var(--clay); }
.avatar--sage { background: var(--sage); }
.tcard__name { font-weight: 700; font-size: 15px; color: var(--ink); }
.tcard__verified { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--sage); font-weight: 600; }
.tcard__verified svg { width: 14px; height: 14px; }

/* ---- pain / benefits --------------------------------------------------- */
.pain__hook { font-family: var(--display); font-size: clamp(20px, 5.4vw, 26px); line-height: 1.34; color: var(--ink); margin: 0 0 22px; text-wrap: pretty; }
.benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.benefits li { display: flex; gap: 13px; align-items: flex-start; font-size: 16.5px; color: var(--ink-soft); }
.benefits li b { color: var(--ink); font-weight: 700; }
.benefits li::before {
  content: ""; flex: 0 0 auto; margin-top: 3px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--clay) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---- what you get ------------------------------------------------------ */
.deliver { background: var(--forest); color: var(--paper); border-radius: 24px; padding: clamp(26px, 7vw, 40px); }
.deliver .eyebrow { color: var(--clay-soft); }
.deliver .eyebrow::before { background: var(--clay-soft); }
.deliver h2 { color: var(--paper); }
.deliver .section-num { color: var(--clay-soft); }
.getlist { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 13px; }
.getlist li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: #e9e2d2; }
.getlist li b { color: #fff; font-weight: 700; }
.getlist li svg { width: 21px; height: 21px; color: var(--clay-soft); flex: 0 0 auto; margin-top: 2px; }
.previews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; }
.previews figure { margin: 0; }
.previews img { border-radius: 10px; box-shadow: var(--shadow-md); border: 1px solid rgba(255,255,255,0.12); transition: transform 0.4s var(--ease); }
.previews figure:hover img { transform: translateY(-5px) rotate(0.5deg); }
.previews figcaption { font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: #cfc7b6; text-align: center; margin-top: 8px; }

/* ---- for / not for ----------------------------------------------------- */
.fit { display: grid; gap: 16px; }
.fit__col { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--paper); }
.fit__col h3 { margin-bottom: 14px; display: flex; align-items: center; gap: 9px; }
.fit__col--no { background: var(--paper-2); }
.fit__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.fit__list li { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; color: var(--ink-soft); }
.fit__list li svg { width: 19px; height: 19px; flex: 0 0 auto; margin-top: 2px; }
.fit--yes svg { color: var(--sage); }
.fit--no svg { color: var(--ink-mute); }

/* ---- FAQ accordion ----------------------------------------------------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 4px; min-height: 44px;
  font-family: var(--display); font-size: 18px; font-weight: 600; color: var(--ink);
}
.faq__icon { flex: 0 0 auto; width: 22px; height: 22px; position: relative; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; background: var(--clay); border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.faq__icon::before { top: 10px; left: 2px; width: 18px; height: 2.5px; }
.faq__icon::after  { left: 10px; top: 2px; width: 2.5px; height: 18px; }
.faq__item.is-open .faq__icon::after { transform: scaleY(0); opacity: 0; }
/* JS-on: collapse closed answers. (No-JS users see everything — see <noscript>.) */
.js .faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.32s var(--ease); }
.js .faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a-inner { overflow: hidden; }
.faq__a p { margin: 0 4px 22px; color: var(--ink-soft); font-size: 16px; }
.js .faq__item:not(.is-open) .faq__a p { margin-bottom: 0; }

/* ---- repeated CTA (dark) ----------------------------------------------- */
.closer { background: var(--forest); color: var(--paper); border-radius: 24px; padding: clamp(28px, 8vw, 44px); text-align: center; }
.closer .eyebrow { color: var(--clay-soft); }
.closer .eyebrow::before { background: var(--clay-soft); }
.closer h2 { color: var(--paper); margin-bottom: 8px; }
.closer p.closer__sub { color: #d8d0c0; margin: 0 auto 20px; max-width: 34ch; }
.closer .price-row { margin-bottom: 4px; }
.closer .price-now { color: #fff; }
.closer .price-was { color: #bcb3a2; }
.closer .offer__reassure { color: #cfc7b6; }

/* ---- footer ------------------------------------------------------------ */
.footer { background: var(--forest-2); color: #cfc7b6; padding-block: 40px; margin-top: 8px; }
.footer__brand { font-family: var(--display); font-style: italic; font-size: 20px; color: var(--paper); margin: 0 0 14px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 18px; padding: 0; margin: 0 0 18px; list-style: none; }
.footer__links a { color: #d8d0c0; text-decoration: none; font-size: 14px; }
.footer__links a:hover { color: #fff; text-decoration: underline; }
.footer__fine { font-size: 12.5px; color: #a59a86; margin: 0; }

/* ---- sticky mobile bar ------------------------------------------------- */
.stickybar {
  display: none;                       /* shown only on the product view (mobile) */
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(251, 246, 238, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-top: 1px solid var(--line-2);
  box-shadow: 0 -8px 24px rgba(43, 33, 24, 0.1);
  padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom));
  transition: transform 0.3s var(--ease);
}
body[data-view="product"] .stickybar { display: block; }
.stickybar__inner { max-width: var(--wrap); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.stickybar__price { display: flex; align-items: baseline; gap: 8px; }
.stickybar__now { font-family: var(--display); font-weight: 600; font-size: 22px; color: var(--ink); line-height: 1; }
.stickybar__was { font-size: 13px; color: var(--ink-mute); text-decoration: line-through; }
/* hidden while checkout is open, and on desktop */
body.checkout-open .stickybar { transform: translateY(110%); }

/* ---- checkout slide-over / modal --------------------------------------- */
.sheet {
  position: fixed; inset: 0; z-index: 100;
  display: none;
}
.sheet.is-open { display: block; }
.sheet__backdrop {
  position: absolute; inset: 0;
  background: rgba(43, 33, 24, 0.45);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; transition: opacity 0.3s ease;
}
.sheet.is-open .sheet__backdrop { opacity: 1; }
.sheet__panel {
  position: absolute; left: 0; right: 0; bottom: 0;
  max-height: 92vh;
  background: var(--paper);
  border-radius: 22px 22px 0 0;
  box-shadow: var(--shadow-lg);
  padding: 14px var(--pad) calc(20px + env(safe-area-inset-bottom));
  transform: translateY(100%);
  transition: transform 0.38s var(--ease);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.sheet.is-open .sheet__panel { transform: translateY(0); }
.sheet__grip { width: 42px; height: 5px; border-radius: 3px; background: var(--line-2); margin: 2px auto 8px; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.sheet__title { font-family: var(--display); font-size: 19px; font-weight: 600; }
.sheet__close {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: var(--paper-2); border: 1px solid var(--line); color: var(--ink);
}
.sheet__close:hover { background: var(--paper-3); }
.sheet__close svg { width: 20px; height: 20px; }
#checkout { min-height: 280px; }
.sheet__loading { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 48px 0; color: var(--ink-mute); }
.sheet__loading .btn__spinner { display: inline-block; border-color: rgba(168,78,44,0.3); border-top-color: var(--clay); }

/* ---- reveal animation -------------------------------------------------- */
/* Only hidden when JS is on (it adds .is-visible via IntersectionObserver).
   With JS off, content is always visible. */
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.is-visible { animation: rise 0.7s var(--ease) forwards; animation-delay: var(--d, 0ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal.is-visible { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* ---- desktop widening -------------------------------------------------- */
@media (min-width: 760px) {
  :root { --wrap: 720px; }
  body { font-size: 18px; }
  main { padding-bottom: 0; }
  body[data-view="product"] .stickybar { display: none; }  /* inline CTAs suffice on desktop */
  .hero { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; text-align: left; align-items: center; }
  .hero__media { order: 2; }
  .hero__cover { width: min(330px, 100%); margin: 0; }
  .hero__copy { order: 1; }
  .hero__sub { margin: 0; }
  .eyebrow { margin-left: 0; }
  .offer { text-align: left; }
  .offer .price-row { justify-content: flex-start; }
  .tcards { grid-template-columns: 1fr 1fr; }
  .tcards .tcard:first-child { grid-column: 1 / -1; }
  .fit { grid-template-columns: 1fr 1fr; }
  .sheet__panel {
    left: 50%; right: auto; bottom: auto; top: 50%;
    width: min(560px, 92vw);
    transform: translate(-50%, -46%) scale(0.98);
    border-radius: 22px;
    max-height: 88vh;
    opacity: 0;
    transition: transform 0.34s var(--ease), opacity 0.34s ease;
  }
  .sheet.is-open .sheet__panel { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  .sheet__grip { display: none; }
}

@media (min-width: 1024px) { :root { --wrap: 760px; } }

/* =========================================================================
   PLATFORM VIEWS (home / creator / product chip / 404)
   ========================================================================= */

/* the section wrappers shouldn't inherit the generic <section> padding */
.view { padding-block: 0; }
[hidden] { display: none !important; }

.btn--inline {
  width: auto; min-height: 52px; padding: 14px 28px; text-decoration: none;
  display: inline-flex;
}

/* ---- creator store ----------------------------------------------------- */
.view-creator { display: flex; flex-direction: column; min-height: 100svh; }
.creator { flex: 1 0 auto; padding-block: clamp(40px, 8vw, 72px); }
.creator__head { text-align: center; max-width: 540px; margin: 0 auto clamp(28px, 6vw, 44px); }
.creator__avatar {
  width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 18px; overflow: hidden;
  display: grid; place-items: center; background: var(--forest); color: var(--paper);
  font-family: var(--display); font-weight: 600; font-size: 32px; box-shadow: var(--shadow-md);
}
.creator__avatar img { width: 100%; height: 100%; object-fit: cover; }
.creator__name { font-size: clamp(28px, 7vw, 40px); margin-bottom: 6px; }
.creator__handle { color: var(--clay-deep); font-weight: 700; font-size: 14px; margin: 0 0 12px; letter-spacing: 0.01em; }
.creator__bio { color: var(--ink-soft); font-size: 17px; margin: 0; text-wrap: pretty; }
.creator__grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 620px) { .creator__grid { grid-template-columns: 1fr 1fr; } }

.pcard {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.2s var(--ease), box-shadow 0.2s ease;
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pcard__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--forest); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.pcard__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard__name { font-size: 20px; }
.pcard__price { display: flex; align-items: baseline; gap: 9px; }
.pcard__now { font-family: var(--display); font-weight: 600; font-size: 22px; color: var(--ink); }
.pcard__was { font-size: 14px; color: var(--ink-mute); text-decoration: line-through; text-decoration-color: var(--clay); }
.pcard__cta { margin-top: auto; color: var(--clay-deep); font-weight: 700; font-size: 14px; }

/* ---- product: creator backlink chip ------------------------------------ */
.pv-chip {
  display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink-soft);
  padding-top: 18px; margin-bottom: -6px; font-size: 14px;
}
.pv-chip__avatar {
  width: 30px; height: 30px; border-radius: 50%; overflow: hidden; flex: 0 0 auto;
  display: grid; place-items: center; background: var(--forest); color: var(--paper);
  font-family: var(--display); font-weight: 600; font-size: 13px;
}
.pv-chip__avatar img { width: 100%; height: 100%; object-fit: cover; }
.pv-chip__name { font-weight: 700; color: var(--ink); }
.pv-chip__back { margin-left: auto; color: var(--clay-deep); font-weight: 700; }
.pv-chip:hover .pv-chip__back { text-decoration: underline; }

/* ---- 404 --------------------------------------------------------------- */
.view-404 { display: flex; min-height: 100svh; }
.nf { margin: auto; text-align: center; padding-block: 80px; }
.nf__title { font-size: clamp(28px, 7vw, 40px); margin: 8px 0 10px; }
.nf__sub { color: var(--ink-soft); margin: 0 0 24px; }

/* =========================================================================
   PLATFORM HOME — waitlist / coming-soon. Its OWN brand identity (coral +
   blobs + Space Grotesk), fully scoped under #view-home so none of it leaks
   into the warm-editorial creator/product views.
   ========================================================================= */
#view-home {
  --h-bg:#FFF8EF; --h-ink:#1A1714; --h-muted:#6E655B; --h-accent:#FF5B3A;
  --h-accent-ink:#7A1E0C; --h-lemon:#FFD23F; --h-mint:#19C39A; --h-sky:#3A8DFF;
  --h-card:#FFFFFF; --h-line:rgba(26,23,20,.12); --h-radius:18px;
  position: relative; overflow: hidden; min-height: 100svh;
  background: var(--h-bg); color: var(--h-ink);
  font-family: "Space Grotesk", system-ui, sans-serif; line-height: 1.6;
}
.view-home { display: flex; }            /* shown (when not [hidden]) */

/* blobs (absolute => clipped by #view-home, no horizontal scroll) */
#view-home .h-blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .85; z-index: 0; pointer-events: none; }
#view-home .h-b1 { width: 300px; height: 300px; background: var(--h-lemon); top: -120px; right: -80px; }
#view-home .h-b2 { width: 240px; height: 240px; background: var(--h-mint); bottom: -110px; left: -90px; opacity: .7; }
#view-home .h-b3 { width: 120px; height: 120px; background: var(--h-sky); top: 38%; left: -50px; opacity: .55; }
@media (max-width: 560px) {
  #view-home .h-b1 { width: 200px; height: 200px; top: -90px; right: -60px; }
  #view-home .h-b2 { width: 170px; height: 170px; }
  #view-home .h-b3 { display: none; }
}

#view-home .h-wrap { position: relative; z-index: 1; width: 100%; max-width: 600px; margin: 0 auto; min-height: 100svh; display: flex; flex-direction: column; padding: 28px 22px 40px; }
#view-home header { display: flex; align-items: center; justify-content: space-between; }
#view-home .h-logo { font-family: var(--display); font-weight: 600; font-size: 24px; letter-spacing: -.02em; }
#view-home .h-logo span { color: var(--h-accent); }
#view-home .h-pill { font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; background: var(--h-ink); color: var(--h-bg); padding: 6px 12px; border-radius: 999px; }
#view-home .h-main { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 48px 0; }
#view-home .h-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--h-accent-ink); background: #FFE6DF; border: 1px solid #FFC9BB; padding: 6px 14px; border-radius: 999px; width: fit-content; margin-bottom: 22px; }
#view-home .h-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--h-accent); display: inline-block; }
#view-home h1 { font-family: var(--display); font-weight: 600; font-size: clamp(38px, 9vw, 60px); line-height: 1.04; letter-spacing: -.03em; margin-bottom: 18px; color: var(--h-ink); }
#view-home h1 em { font-style: italic; color: var(--h-accent); }
#view-home .h-lead { font-size: clamp(16px, 4.4vw, 19px); color: var(--h-muted); max-width: 34ch; margin-bottom: 34px; }
#view-home form { display: flex; flex-direction: column; gap: 12px; max-width: 420px; }
#view-home .h-row { display: flex; gap: 10px; }
#view-home input[type=email] { flex: 1; min-width: 0; font-family: inherit; font-size: 16px; color: var(--h-ink); background: var(--h-card); border: 1.5px solid var(--h-line); padding: 15px 16px; border-radius: 14px; outline: none; transition: border-color .15s, box-shadow .15s; }
#view-home input[type=email]::placeholder { color: #A89F94; }
#view-home input[type=email]:focus { border-color: var(--h-accent); box-shadow: 0 0 0 4px rgba(255,91,58,.16); }
#view-home button { font-family: inherit; font-size: 16px; font-weight: 500; cursor: pointer; background: var(--h-accent); color: #fff; border: none; min-height: auto; padding: 15px 22px; border-radius: 14px; white-space: nowrap; box-shadow: none; transition: transform .12s, background .15s, opacity .15s; }
#view-home button:hover { background: #F0431F; transform: none; box-shadow: none; }
#view-home button:active { transform: scale(.97); }
#view-home button:disabled { opacity: .6; cursor: wait; }
#view-home .h-hint { font-size: 13px; color: var(--h-muted); min-height: 18px; }
#view-home .h-hint.err { color: #C0291A; }
#view-home .h-hint.ok { color: #0E8C6C; }
#view-home .h-success { background: var(--h-card); border: 1.5px solid var(--h-line); border-radius: var(--h-radius); padding: 26px 24px; max-width: 420px; animation: homeRise .4s ease both; }
#view-home .h-success .h-check { width: 46px; height: 46px; border-radius: 50%; background: var(--h-mint); color: #06301f; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 14px; font-weight: 600; }
#view-home .h-success h2 { font-family: var(--display); font-weight: 600; font-size: 22px; margin-bottom: 6px; }
#view-home .h-success p { color: var(--h-muted); font-size: 15px; }
#view-home .h-feats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
#view-home .h-feat { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--h-ink); background: var(--h-card); border: 1px solid var(--h-line); padding: 9px 14px; border-radius: 999px; }
#view-home .h-feat b { font-weight: 500; }
#view-home .h-swatch { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
#view-home .h-foot { font-size: 13px; color: var(--h-muted); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
#view-home .h-foot a { color: var(--h-muted); text-decoration: none; border-bottom: 1px solid var(--h-line); }
#view-home .h-foot a:hover { color: var(--h-ink); }

@keyframes homeRise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
#view-home .h-reveal { opacity: 0; transform: translateY(14px); animation: homeRise .6s ease forwards; }
#view-home .h-reveal.d1 { animation-delay: .05s; }
#view-home .h-reveal.d2 { animation-delay: .15s; }
#view-home .h-reveal.d3 { animation-delay: .25s; }
#view-home .h-reveal.d4 { animation-delay: .35s; }
@media (prefers-reduced-motion: reduce) {
  #view-home .h-reveal, #view-home .h-success { animation: none; opacity: 1; transform: none; }
}
@media (max-width: 480px) {
  #view-home .h-row { flex-direction: column; }
  #view-home button { width: 100%; }
}

