/* Thrift launching-soon page. Every colour comes from the tokens on :root. The page follows the device's light or
   dark setting (W20-R299): the dark values are the LP3 brief's table, under prefers-color-scheme. There is no
   switch and no stored choice; the swatches under the phone recolour only the phone (app-preview.css). System fonts
   only. */
@property --p {
  syntax: '<number>';
  inherits: true;
  initial-value: 0;
}

:root {
  --accent: #ff4d6a;
  --on-accent: #ffffff;
  /* W20-R307 2: icons on coral (the hero heart, the step badges, the success tick) stay white in both looks, as
     in the mockup; --on-accent turns to ink in dark for the main button's text only. 3.22:1 on coral. */
  --icon-on-accent: #ffffff;
  --soft: #fff0f2;
  --soft2: #ffe0e6;
  --bg: #ffffff;
  --surface: #fff0f2;
  --card: #ffffff;
  --line: #f6dce2;
  --ink: #1c0f1e;
  --muted: #5e5560;
  --accent-ink: #c8193d;
  --splash-fg: #ff2020;
  --coral-ink: #1c0f1e;
  --danger: #b3123a;
  --radius: 28px;
  --shadow: 0 1px 2px rgb(28 15 30 / 6%), 0 12px 32px -12px rgb(28 15 30 / 22%);
  --shadow-lg: 0 2px 4px rgb(28 15 30 / 6%), 0 30px 60px -20px rgb(28 15 30 / 35%);
  --shadow-print: 0 1px 2px rgb(28 15 30 / 6%), 0 28px 48px -18px rgb(28 15 30 / 38%);
  --ease-out: cubic-bezier(0.2, 0.7, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --serif: ui-serif, 'New York', 'Iowan Old Style', Georgia, serif;
  color-scheme: light dark;
}
/* Dark (LP3 brief, "Light and dark"): page, surface (cards, fields, pills), soft fills, hairline, text, muted text,
   accent text and the text on the coral button. Coral itself is unchanged. */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c0f1e;
    --card: #2b1b2e;
    --surface: #251628;
    --soft: #251628;
    --soft2: #3a2540;
    --line: #45324a;
    --ink: #ffffff;
    --muted: #d9cfdb;
    --accent-ink: #ff8fa3;
    --on-accent: #1c0f1e;
    --danger: #ffa3b1;
    --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 12px 32px -12px rgb(0 0 0 / 70%);
    --shadow-lg: 0 2px 4px rgb(0 0 0 / 40%), 0 30px 60px -20px rgb(0 0 0 / 80%);
    --shadow-print: 0 0 0 1px var(--line), 0 24px 60px -20px rgb(0 0 0 / 75%);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (min-width: 720px) {
  body {
    font-size: 1.0625rem;
    line-height: 1.5;
  }
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.08em;
}
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}
.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;
}
.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 50;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 700;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}
.wrap {
  width: min(1200px, 100% - 32px);
  margin-inline: auto;
}
.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.eyebrow {
  margin: 0;
  color: var(--accent-ink);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.section-title {
  margin: 12px 0 0;
  max-width: 760px;
  font-size: clamp(2.125rem, 1.2rem + 3.2vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
}

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 34px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 1.1875rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease-spring);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: scale(0.97);
}
.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 14px 28px -12px color-mix(in srgb, var(--accent) 75%, transparent);
}
.btn-small {
  min-height: 44px;
  padding: 0 20px;
  font-size: 1rem;
  background: var(--ink);
  color: var(--bg);
}

/* ---------- the plain pages' header (notice, 404) ---------- */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 18px;
}
.brand {
  display: inline-block;
  color: var(--accent);
  font-size: 2.1rem;
  text-decoration: none;
}
/* The wordmark is an outline (one path per letter, Inter Black, OFL 1.1), sized from the font size it replaces. */
.wm {
  display: block;
  width: 2.48em;
  max-width: 100%;
  height: 0.79em;
}

/* ---------- hero: the wordmark, one headline, one field ---------- */
/* W20-R307 1: above the preview section, so the arch's dome runs over its top edge in the same pink; the section's
   own content (.try-grid) sits above the hero again. */
.hero {
  position: relative;
  z-index: 1;
  isolation: isolate;
}
.hero .top {
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  gap: 10px;
  padding-block: 18px 0;
}
.hero .brand {
  font-size: 1.75rem;
}
@media (min-width: 720px) {
  .hero .top {
    padding-block: 22px;
  }
  .hero .brand {
    font-size: 2.125rem;
  }
}
/* the moving background (assets/js/silk.js); decoration only, under everything in the hero */
.silk {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-inner,
.fan {
  z-index: 1;
}
.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.soon {
  margin: 0;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
}
.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: clamp(12px, 2.6vh, 22px) 0 0;
}
@media (min-width: 720px) {
  .hero-title {
    margin-top: 8px;
  }
}
.hero-title .wm {
  margin: 0 auto 0.08em;
  color: var(--accent);
  font-size: clamp(6.25rem, 30vw, 16.5rem);
}
.wm-letter {
  transform-box: fill-box;
  transform-origin: 50% 100%;
}
.motion .hero-title .wm-letter {
  animation: letter-in 0.8s var(--ease-spring) both;
}
.motion .hero-title .wm-letter:nth-child(2) {
  animation-delay: 0.04s;
}
.motion .hero-title .wm-letter:nth-child(3) {
  animation-delay: 0.08s;
}
.motion .hero-title .wm-letter:nth-child(4) {
  animation-delay: 0.12s;
}
.motion .hero-title .wm-letter:nth-child(5) {
  animation-delay: 0.16s;
}
.motion .hero-title .wm-letter:nth-child(6) {
  animation-delay: 0.2s;
}
@keyframes letter-in {
  from {
    opacity: 0;
    transform: translateY(0.35em);
  }
}
.tagline {
  display: block;
  margin-top: 10px;
  font-size: clamp(1.75rem, 8vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
}
.tagline .serif {
  color: var(--accent);
}
.lede {
  max-width: 34ch;
  margin: 12px 0 0;
  color: var(--muted);
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}
@media (min-width: 720px) {
  .soon {
    padding: 8px 16px;
    font-size: 0.875rem;
  }
  .hero-title .wm {
    font-size: clamp(6.5rem, 19vw, 16.5rem);
  }
  .tagline {
    margin-top: 14px;
    font-size: clamp(1.875rem, 4.2vw, 3.75rem);
    line-height: 1.02;
  }
  .lede {
    max-width: 520px;
    margin-top: 18px;
    font-size: 1.1875rem;
  }
}

/* ---------- the one form ---------- */
.join {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin-top: 20px;
}
.join > .panel,
.join > .success {
  max-width: 620px;
  margin-inline: auto;
}
.form {
  text-align: left;
}
/* Email, number and Join wrap as the mockup does: one row on desktop, the two fields then Join on tablets, all
   three stacked on phones (W20-R299). Opening the form keeps those rows so nothing moves under the pointer
   (W20-R303). Everything else takes a whole row. The DOM, the tab order and the screen-reader order stay email,
   number, the opened part, then Join; only from 900 px, where Join sits in the row, does `order` draw it there. */
.form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
}
.form > * {
  flex: 1 1 100%;
}
.form > .email {
  flex: 5 1 250px;
}
.form > .tel {
  flex: 4 1 250px;
}
.form > .btn-join {
  flex: 1 0 auto;
  width: auto;
}
.form.is-open > .more {
  margin-top: 4px;
}
@media (max-width: 899.98px) {
  .form > .btn-join {
    flex-basis: 100%;
  }
}
@media (min-width: 900px) {
  .form.is-open > * {
    order: 1;
  }
  .form.is-open > :is(.email, .tel, .btn-join) {
    order: 0;
  }
}
/* Closed by default so nothing jumps when the script runs; assets/css/nojs.css opens it without JavaScript. */
.form:not(.is-open) .more {
  display: none;
}
@media (min-width: 720px) {
  .join {
    margin-top: 30px;
  }
  .more {
    padding: 24px 26px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--card);
    box-shadow: var(--shadow);
  }
}
.field {
  position: relative;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
:is(.email, .tel) input {
  width: 100%;
  height: 58px;
  padding: 0 24px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font: inherit;
  font-size: 1.125rem;
  box-shadow: 0 12px 28px -14px rgb(28 15 30 / 30%);
}
.form:not(.is-open) :is(.email, .tel) input {
  text-align: center;
}
/* the mockup's fit for the placeholders on the narrowest phones */
@media (max-width: 359.98px) {
  :is(.email, .tel) input {
    padding: 0 18px;
    font-size: 1.0625rem;
  }
}
@media (min-width: 720px) {
  :is(.email, .tel) input,
  .btn-join {
    height: 64px;
    font-size: 1.1875rem;
  }
  :is(.email, .tel) input {
    padding: 0 26px;
    text-align: left;
  }
}
:is(.email, .tel) input::placeholder {
  color: var(--muted);
  opacity: 1;
}
:is(.email, .tel) input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--soft2);
}
:is(.email, .tel) input:focus-visible {
  outline-offset: 6px;
}
.more {
  display: grid;
  gap: 18px;
  animation: rise 0.45s var(--ease-out) both;
}
.field[data-invalid] input {
  border-color: var(--danger);
}
.field-error {
  display: flex;
  gap: 6px;
  margin: 8px 2px 0;
  color: var(--danger);
  font-size: 0.95rem;
  font-weight: 700;
}
.field-error:empty {
  display: none;
}
.field-error::before {
  content: '!';
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--danger);
  color: var(--card);
  font-size: 0.8rem;
  font-weight: 900;
}
.check {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
}
.check input {
  appearance: none;
  -webkit-appearance: none;
  grid-row: 1;
  grid-column: 1;
  width: 28px;
  height: 28px;
  margin: 0;
  border: 2px solid var(--ink);
  border-radius: 9px;
  background: var(--card);
  cursor: pointer;
  transition: transform 0.3s var(--ease-spring);
}
.check input:checked {
  background: var(--ink);
  transform: scale(1.06);
}
.check .tick {
  position: relative;
  z-index: 1;
  grid-row: 1;
  grid-column: 1;
  width: 28px;
  height: 28px;
  padding: 5px;
  color: var(--card);
  pointer-events: none;
  opacity: 0;
  transform: scale(0.4);
  transition:
    opacity 0.15s ease,
    transform 0.35s var(--ease-spring);
}
.check input:checked ~ .tick {
  opacity: 1;
  transform: none;
}
.check label {
  grid-column: 2;
  padding-block: 2px;
  cursor: pointer;
  font-weight: 600;
}
.check .field-error {
  grid-column: 2;
  margin-top: 0;
}
/* the text box's disclosure, under its label */
.check-note {
  grid-column: 2;
  margin: -8px 0 0;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.45;
}
.notice-link,
.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
}
.notice-link a {
  display: inline-block;
  padding-block: 12px;
  margin-block: -12px;
  color: var(--ink);
  font-weight: 700;
}
.is-open .form-note {
  display: none;
}
.form:not(.is-open) .form-note {
  text-align: center;
}
@media (min-width: 720px) {
  .form-note {
    margin-top: 4px;
    font-size: 0.9375rem;
  }
}
.form-error {
  margin: 0;
  color: var(--danger);
  font-weight: 700;
}
.form-error:empty,
.turnstile:empty {
  display: none;
}
.btn-join {
  width: 100%;
  overflow: hidden;
}
.btn-join .spinner,
.btn-join .done {
  position: absolute;
  left: 50%;
  top: 50%;
  opacity: 0;
  pointer-events: none;
}
.btn-join .spinner {
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border: 3px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
}
.btn-join .done {
  width: 32px;
  height: 32px;
  margin: -16px 0 0 -16px;
  transform: scale(0.6);
  transition:
    opacity 0.2s ease,
    transform 0.45s var(--ease-spring);
}
.btn-join .btn-label {
  transition:
    opacity 0.2s ease,
    transform 0.3s var(--ease-out);
}
.btn-join.is-loading .btn-label,
.btn-join.is-done .btn-label {
  opacity: 0;
  transform: translateY(-14px);
}
.btn-join.is-loading .spinner {
  opacity: 1;
  animation: spin 0.8s linear infinite;
}
.btn-join.is-done .done {
  opacity: 1;
  transform: none;
}
.btn-join[disabled] {
  cursor: progress;
}
/* Join before the script has set it up: an inactive control, so it looks it (W20-R294) */
.btn-join[disabled]:not(.is-loading, .is-done) {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}
@keyframes spin {
  to {
    transform: rotate(1turn);
  }
}

/* panels the email links land on, and the success message (in the hero, above or instead of the form) */
.panel {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
  padding: 20px 22px;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: inset 0 0 0 2px var(--line);
  text-align: left;
}
.panel:focus {
  outline: none;
}
.panel:focus-visible {
  outline: 3px solid var(--ink);
}
.panel-title {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.panel p {
  margin: 0;
}
.panel .panel-note {
  color: var(--muted);
}
.panel form {
  margin-top: 8px;
}
.panel .panel-note:empty {
  display: none;
}
.confirm-view {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}
.panel .confirm-lead {
  font-weight: 700;
}
.confirm-terms {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.confirm-terms li,
.panel.good .panel-title {
  position: relative;
  padding-left: 30px;
  line-height: 1.45;
}
.confirm-terms li::before,
.panel.good .panel-title::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.3em;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  transform: rotate(-45deg);
}
.panel.good .panel-title {
  padding-left: 32px;
}
.success {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 8px 0;
}
.success:focus {
  outline: none;
}
.success-mark {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--icon-on-accent);
  animation: pop-in 0.6s var(--ease-spring) both;
}
.success-mark svg {
  width: 38px;
  height: 38px;
}
.success-title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-wrap: balance;
  animation: fade 0.5s ease 0.1s both;
}
.success-note {
  max-width: 44ch;
  margin: 0;
  color: var(--muted);
  animation: fade 0.5s ease 0.2s both;
}
@keyframes pop-in {
  from {
    transform: scale(0.6);
    opacity: 0;
  }
}
@keyframes fade {
  from {
    opacity: 0;
  }
}
[hidden] {
  display: none !important;
}

/* ---------- the arch at the foot of the hero (W20-R404: the photo cards and the heart that sat on it are gone) ----
   The soft pink dome rises just under the sign-up block and runs into the phone preview section below, drawn in
   the same pink; the band is only as tall as the dome's top, so the preview comes up right after the form. */
.fan {
  position: relative;
  height: 64px;
  margin-top: 28px;
  overflow-x: clip;
}
.arch {
  position: absolute;
  left: 50%;
  top: 16px;
  width: max(900px, 124%);
  height: 420px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: var(--surface);
  transform: translateX(-50%);
}
.badge {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--icon-on-accent);
  box-shadow: 0 12px 24px -10px color-mix(in srgb, var(--accent) 80%, transparent);
}
@media (min-width: 720px) {
  .fan {
    height: 80px;
    margin-top: 36px;
  }
  .arch {
    top: 20px;
  }
}

/* ---------- How Thrift works (under the phone preview, on the page background; W20-R299) ---------- */
.points {
  position: relative;
  padding-block: 64px 80px;
}
.point-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 24px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
.point {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--soft);
}
.point h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.point p {
  margin: 0;
  color: var(--muted);
}
.point .num {
  margin-top: 6px;
  color: var(--accent-ink);
  font-family: var(--serif);
  font-size: 1.375rem;
  font-style: italic;
  line-height: 1;
}
@media (min-width: 720px) {
  .points {
    padding-block: 96px 110px;
  }
  .point-list {
    margin-top: 56px;
  }
  .point {
    padding: 28px;
  }
  .point h3 {
    font-size: 1.625rem;
  }
}
.art {
  position: relative;
  height: 260px;
  overflow: hidden;
  border-radius: 22px;
  background: var(--soft2);
}
.art img {
  object-fit: cover;
}
.art-swipe img {
  position: absolute;
  top: 34px;
  width: 150px;
  height: 200px;
  border-radius: 18px;
  box-shadow: var(--shadow-print);
}
.art-swipe .a1 {
  left: calc(50% - 20px);
  transform: rotate(8deg);
}
.art-swipe .a2 {
  left: calc(50% - 120px);
  top: 26px;
  transform: rotate(-6deg);
}
.badge {
  position: absolute;
  width: 56px;
  height: 56px;
}
.badge svg {
  width: 26px;
  height: 26px;
}
.art-swipe .badge {
  left: calc(50% + 62px);
  top: 150px;
}
.phone {
  position: absolute;
  left: calc(50% - 84px);
  top: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 168px;
  height: 300px;
  padding: 10px;
  border: 5px solid var(--ink);
  border-radius: 30px;
  background: var(--card);
  box-shadow: var(--shadow-print);
}
.phone img {
  width: 100%;
  height: 118px;
  border-radius: 16px;
}
.bar {
  display: block;
  height: 10px;
  width: 78%;
  border-radius: 999px;
  background: var(--ink);
}
.bar.short {
  width: 52%;
  background: var(--line);
}
.pill-btn {
  height: 30px;
  border-radius: 999px;
  background: var(--accent);
}
.label {
  position: absolute;
  left: calc(50% - 115px);
  top: 52px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 230px;
  height: 156px;
  padding: 18px;
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow-print);
  transform: rotate(-4deg);
}
.label .bar {
  width: 64%;
}
.label .bar.short {
  width: 44%;
}
.code {
  flex-grow: 1;
  margin-top: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--ink) 0 3px,
    var(--card) 3px 6px,
    var(--ink) 6px 11px,
    var(--card) 11px 14px
  );
}
.art-ship .badge {
  left: calc(50% + 70px);
  top: 30px;
}

/* ---------- Try the deck: the phone preview, right under the hero (W20-R299). The soft pink lets the hero's
   arch run into it; the arch's lower edge, drawn over it in the same pink, does not show. ---------- */
.try {
  position: relative;
  padding-block: 72px;
  background: var(--surface);
}
.try-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .try {
    padding-block: 96px 110px;
  }
  .try-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}
.try-lede {
  max-width: 440px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.1875rem;
}
.try-show {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  min-width: 0;
}
.ap-themes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
}
.ap-themes-label {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 800;
}
.ap-swatches {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sw {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 68px;
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
}
/* on phones the six wrap three and three */
@media (max-width: 480px) {
  .ap-swatches {
    max-width: 300px;
  }
  .sw {
    width: 84px;
  }
}
.sw-dot {
  display: block;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform 0.3s var(--ease-spring);
}
.sw:hover .sw-dot {
  transform: scale(1.08);
}
.sw[aria-pressed='true'] {
  color: var(--ink);
  font-weight: 800;
}
.sw[aria-pressed='true'] .sw-dot {
  box-shadow:
    0 0 0 3px var(--surface),
    0 0 0 5px var(--ink);
}
.sw-classic .sw-dot {
  background: linear-gradient(135deg, #ff4d6a 50%, #ffffff 50%);
}
.sw-dark .sw-dot {
  background: linear-gradient(135deg, #fe99a0 50%, #101014 50%);
}
.sw-denim .sw-dot {
  background: linear-gradient(135deg, #2f5d8c 50%, #f4f7fb 50%);
}
.sw-sunset .sw-dot {
  background: linear-gradient(135deg, #bc4402 50%, #fff7ec 50%);
}
.sw-sage .sw-dot {
  background: linear-gradient(135deg, #3d7855 50%, #f5f8f4 50%);
}
.sw-blush .sw-dot {
  background: linear-gradient(135deg, #c92d68 50%, #fff6f7 50%);
}
/* the liked counter, under the section's paragraph */
.deck-count {
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  margin: 28px 0 0;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  font-size: 0.9375rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.deck-count .heart {
  display: inline-block;
  color: var(--accent);
}
.deck-count .heart svg {
  width: 16px;
  height: 16px;
}
.deck-count.pop .heart {
  animation: heart-pop 0.5s var(--ease-spring);
}
@keyframes heart-pop {
  40% {
    transform: scale(1.7) rotate(-12deg);
  }
}
.nudge {
  margin: 18px 0 0;
  animation: rise 0.6s var(--ease-spring) both;
}
.nudge a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 800;
  text-decoration: none;
}
.nudge a::after {
  content: '→';
}
.hint {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.875rem;
}

/* particles (like burst, success burst) */
.particle {
  position: absolute;
  z-index: 30;
  pointer-events: none;
  font-weight: 900;
  line-height: 1;
  animation: fly var(--t) var(--ease-out) both;
}
@keyframes fly {
  from {
    transform: scale(0.2);
  }
  55% {
    transform: translate(var(--dx), var(--dy)) scale(1.1);
    opacity: 1;
  }
  to {
    transform: translate(var(--dx), var(--dy)) translateY(40px) scale(0.6) rotate(var(--r));
    opacity: 0;
  }
}
.particle.dot {
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: var(--c);
}
.particle.heart {
  color: var(--c);
  font-size: var(--s);
}

/* ---------- the closing call to action (it focuses the one form; not a second form). A coral block keeps ink
   text in both looks; its button is the page's ink with the page colour on it. ---------- */
.cta {
  padding-bottom: 40px;
}
.cta-card {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding: 48px 28px;
  border-radius: 40px;
  background: var(--accent);
  color: var(--coral-ink);
}
.cta-card > div {
  flex: 1 1 420px;
  min-width: 0;
}
.cta-title {
  margin: 0;
  font-size: clamp(2.75rem, 1.4rem + 4.6vw, 5.75rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.92;
}
.cta-title .serif {
  letter-spacing: -0.03em;
}
.cta-lede {
  max-width: 460px;
  margin: 20px 0 0;
  font-size: 1.1875rem;
  font-weight: 600;
}
.cta-btn {
  min-height: 64px;
  padding: 0 36px;
  background: var(--ink);
  color: var(--bg);
}
.cta :focus-visible {
  outline-color: var(--coral-ink);
}
@media (min-width: 720px) {
  .cta-card {
    padding: 72px 56px;
  }
}

/* ---------- footer ---------- */
.foot {
  padding-block: 56px 36px;
}
.foot-word {
  color: var(--accent);
  font-size: clamp(5rem, 27vw, 25rem);
}
.foot-word .wm {
  margin: 0 auto;
}
.foot-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 28px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}
.foot-row p {
  margin: 0;
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
}
.foot-links a {
  display: inline-block;
  padding-block: 12px;
  color: var(--ink);
  font-weight: 700;
}

/* ---------- plain pages (notice, 404) ---------- */
.doc {
  width: min(720px, 100% - 32px);
  margin: 0 auto;
  padding: 24px 0 80px;
}
.doc h1 {
  margin: 28px 0 10px;
  font-size: clamp(2.3rem, 6vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}
.doc h2 {
  margin: 36px 0 8px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.doc p,
.doc li {
  max-width: 64ch;
}
.doc .muted {
  color: var(--muted);
}
.doc .btn {
  margin-top: 20px;
}

/* ---------- motion off ---------- */
/* ---------- motion (assets/js/motion.js, W20-R288): every hidden state below is an animation's first frame,
   only under .motion, which that script never sets under reduced motion. Transform and opacity only: an animated
   filter (blur) crashed WebKit's renderer (W19-R197), so the "blur-fades" fade without the blur. ---------- */
.motion [data-word] {
  display: inline-block;
  animation: word-in 0.9s var(--ease-out) calc(var(--i) * 80ms + 0.3s) both;
}
.motion .soon,
.motion .lede,
.motion .join {
  animation: blur-in 0.9s var(--ease-out) 0.6s both;
}
.motion .join {
  animation-delay: 0.75s;
}
.motion [data-reveal].in {
  animation: reveal 0.9s var(--ease-out) calc(var(--i) * 90ms) backwards;
}
.motion .foot-word.in .wm-letter {
  animation: letter-up 0.9s var(--ease-spring) calc(var(--i) * 70ms) backwards;
}
.motion .point {
  position: relative;
  transition: transform 0.25s ease-out;
}
.glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    420px circle at var(--gx, 50%) var(--gy, 50%),
    color-mix(in srgb, var(--accent) 16%, transparent),
    transparent 60%
  );
  transition: opacity 0.25s;
}
.point:hover .glare {
  opacity: 1;
}
@keyframes word-in {
  from {
    opacity: 0;
    transform: translateY(0.55em) rotate(5deg);
  }
}
@keyframes blur-in {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
}
@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(36px) scale(0.98);
  }
}
@keyframes letter-up {
  from {
    opacity: 0;
    transform: translateY(60%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .btn-join.is-loading .spinner {
    border-right-color: currentColor;
    opacity: 0.6;
  }
}

/* ---- app preview: the app's splash, then Home with example items being swiped (W20-R299, LP3 brief section B) ----
   Copied from the LP3 design files (lp3/app-preview/app-preview.css). Sizes and colours are copied from the app's
   Home screen and splash (mobile-html, combined head 1a4de7b7). The stage is the app's 390x844 screen, scaled down
   with --ap-s. Changes from the design file: the caption and the Pause button take the page's colour tokens (as the
   approved export page does), the photos are the four shipped ones, the progress dots are spans, and the in-phone
   focus ring takes the phone's text colour so it shows on every phone theme. W20-R307: these rules live here, in
   site.css, so no preview file can hold up the first paint; the splash is rounded like the screen (in Chromium its
   fading layer left the screen's bottom corners undrawn); and the controls wait for app-preview.js (data-ready). */
.ap:not([data-ready]) :is([data-ap-pass],[data-ap-like],.ap-pause),.ap:not([data-ready])~.ap-themes{visibility:hidden}
.ap{--ap-s:.8;--ap-accent:#FF4D6A;--ap-text:#1C0F1E;--ap-bg:#f5f5f5;--ap-surface:#fff;--ap-line:#f0f0f0;--ap-dim:#999;--ap-splash-bg:#fff;--ap-splash-fg:#FF2020;margin:0;display:flex;flex-direction:column;align-items:center;gap:18px}
.ap-phone{position:relative;padding:calc(13px*var(--ap-s));border-radius:calc(62px*var(--ap-s));background:#1C0F1E;box-shadow:0 0 0 1px #3a2a3d inset,0 2px 4px rgba(28,15,30,.2),0 50px 80px -30px rgba(28,15,30,.55)}
.ap-screen{position:relative;width:calc(390px*var(--ap-s));height:calc(844px*var(--ap-s));border-radius:calc(50px*var(--ap-s));overflow:hidden;background:var(--ap-bg)}
.ap-stage{position:absolute;left:0;top:0;width:390px;height:844px;transform:scale(var(--ap-s));transform-origin:0 0;font-family:system-ui,-apple-system,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;color:var(--ap-text);text-align:left;line-height:normal}
.ap-island{position:absolute;left:50%;top:calc(11px*var(--ap-s));width:calc(118px*var(--ap-s));height:calc(34px*var(--ap-s));margin-left:calc(-59px*var(--ap-s));border-radius:999px;background:#000;z-index:60}
.ap-home{position:absolute;inset:0;background:var(--ap-bg);transition:background .3s;display:flex;flex-direction:column;padding-bottom:72px}
.ap-status{position:absolute;left:0;right:0;top:0;height:48px;display:flex;align-items:center;justify-content:space-between;padding:6px 30px 0 38px;font:600 16px system-ui,sans-serif}
.ap-status-r{display:flex;align-items:center;gap:7px}
.ap-header{display:flex;align-items:center;justify-content:space-between;padding:58px 20px 8px}
.ap-hl{width:84px;display:flex;justify-content:flex-start}
.ap-hr{display:flex;justify-content:flex-end;gap:10px}
.ap-ic{width:36px;height:36px;display:flex;align-items:center;justify-content:center}
.ap-word{font:900 32px system-ui,sans-serif;color:var(--ap-accent);letter-spacing:-1px}
.ap-wm{display:block;width:2.48em;height:.79em}
.ap-deck{flex:1 1 0%;position:relative;margin:6px 14px 8px}
.ap-card{position:absolute;inset:0;border-radius:24px;overflow:hidden;background-color:#ece7e2;background-size:cover;background-repeat:no-repeat;box-shadow:0 4px 14px rgba(0,0,0,.12);display:flex;flex-direction:column;justify-content:space-between;will-change:transform}
.ap-card.is-next{inset:12px 6px 0;transform:scale(.96);opacity:.7;box-shadow:none}
.ap-card.is-hidden{visibility:hidden}
.ap-card.is-rising{transition:transform .28s ease-out,opacity .28s ease-out,inset .28s ease-out}
.ap-stamp{position:absolute;top:38%;padding:8px 16px;border-radius:8px;border:3px solid;font:900 24px system-ui,sans-serif;opacity:0;z-index:6}
.ap-like{right:20px;transform:rotate(15deg);color:#22c55e;border-color:#22c55e}
.ap-nope{left:20px;transform:rotate(-15deg);color:var(--ap-accent);border-color:var(--ap-accent)}
.ap-dots{display:flex;gap:4px;padding:12px 10px 0;position:relative;z-index:3}
.ap-dots span{flex:1 1 0%;height:3px;border-radius:2px;background:rgba(255,255,255,.35)}
.ap-dots span.on{background:#fff}
.ap-info{position:absolute;top:22px;right:16px;width:40px;height:40px;border-radius:20px;background:var(--ap-surface);display:flex;align-items:center;justify-content:center;box-shadow:0 1px 6px rgba(0,0,0,.12);font:900 15px system-ui,sans-serif;z-index:4}
.ap-seller{color:#1C0F1E;position:absolute;right:18px;bottom:150px;width:54px;height:54px;box-sizing:border-box;border-radius:27px;border:3px solid #fff;display:flex;align-items:center;justify-content:center;font:900 16px system-ui,sans-serif;box-shadow:0 2px 6px rgba(0,0,0,.25);z-index:4}
.ap-av-1{background:#ffd6d6}.ap-av-2{background:#a5d6b8}.ap-av-3{background:#cfd8ff}.ap-av-4{background:#ffe2b8}
.ap-sum{display:block;background:linear-gradient(transparent,rgba(0,0,0,.55));padding:60px 18px 86px;position:relative;z-index:3}
.ap-title{display:block;font:900 21px system-ui,sans-serif;color:#fff;text-shadow:0 2px 8px rgba(0,0,0,.8)}
.ap-meta{display:flex;align-items:center;gap:8px;margin-top:5px}
.ap-meta b{font:900 16px system-ui,sans-serif;color:#fff;text-shadow:0 2px 8px rgba(0,0,0,.8)}
.ap-meta span{font:600 12px system-ui,sans-serif;color:rgba(255,255,255,.9);text-shadow:0 1px 6px rgba(0,0,0,.8)}
.ap-actions{position:absolute;bottom:14px;left:0;right:0;display:flex;justify-content:center;align-items:center;gap:20px;z-index:5}
.ap-btn{width:56px;height:56px;padding:0;border:0;border-radius:28px;background:var(--ap-surface);color:var(--ap-accent);display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px rgba(0,0,0,.15);cursor:pointer;transition:transform .15s ease-out}
.ap-btn-bag{width:60px;height:60px;border-radius:30px;color:#22c55e;cursor:default}
.ap-btn.is-down{transform:scale(.86)}
.ap-btn:focus-visible{outline:3px solid var(--ap-text);outline-offset:3px}
.ap-nav{position:absolute;left:0;right:0;bottom:0;height:72px;background:var(--ap-surface);border-top:1px solid var(--ap-line);display:flex;align-items:center;z-index:20;color:var(--ap-dim);transition:background .3s}
.ap-nav span{flex:1 1 0%;display:flex;align-items:center;justify-content:center;padding:8px 0}
.ap-nav .ap-nav-t{font:900 26px/1 system-ui,sans-serif;color:var(--ap-accent);letter-spacing:-1px;height:22px;transform:translateY(-3.5px)}
/* example photos: one photo per class, a crop per card */
.ap-ph-women{background-image:url(/assets/img/women.webp)}.ap-ph-men{background-image:url(/assets/img/men.webp)}.ap-ph-kids{background-image:url(/assets/img/kids.webp)}.ap-ph-else{background-image:url(/assets/img/everything-else.webp)}
.ap-pos-1{background-position:44% 50%}.ap-pos-2{background-position:88% 50%}.ap-pos-3{background-position:58% 50%}.ap-pos-4{background-position:22% 50%}.ap-pos-5{background-position:50% 50%}.ap-pos-6{background-position:72% 50%}
/* splash, as in the app */
.ap-splash{position:absolute;inset:0;border-radius:50px;background:var(--ap-splash-bg);display:flex;align-items:center;justify-content:center;z-index:50}
.ap-splash[hidden]{display:none}
.ap-splash.play{animation:ap-splashFade 2.2s ease-in forwards}
.ap-splash-word{display:flex;align-items:center;position:relative;z-index:2}
.ap-splash.play .ap-splash-word{animation:ap-wordPop .45s ease-out .78s both}
.ap-splash-word span{font:900 72px system-ui,sans-serif;color:var(--ap-splash-fg);letter-spacing:2px}
.ap-splash.play .ap-splash-word span{animation:ap-letterIn .4s ease-out both}
.ap-splash.play .ap-splash-word span:nth-child(2){animation-delay:.1s}.ap-splash.play .ap-splash-word span:nth-child(3){animation-delay:.2s}.ap-splash.play .ap-splash-word span:nth-child(4){animation-delay:.3s}.ap-splash.play .ap-splash-word span:nth-child(5){animation-delay:.4s}.ap-splash.play .ap-splash-word span:nth-child(6){animation-delay:.5s}
.ap-burst{position:absolute;top:50%;left:50%;color:var(--ap-splash-fg);opacity:0}
.ap-splash.play .ap-burst{animation:ap-burstFly .85s cubic-bezier(.2,.8,.3,1.15) both;animation-delay:var(--bd,.75s)}
@keyframes ap-letterIn{0%{opacity:0;transform:translateY(30px)}60%{opacity:1;transform:translateY(-6px)}80%{transform:translateY(2px)}100%{opacity:1;transform:translateY(0)}}
@keyframes ap-wordPop{0%{transform:scale(1)}40%{transform:scale(1.15)}70%{transform:scale(.98)}100%{transform:scale(1)}}
@keyframes ap-burstFly{0%{opacity:0;transform:translate(-50%,-50%) translate(0,0) scale(0) rotate(0deg)}20%{opacity:.5;transform:translate(-50%,-50%) translate(calc(var(--bx)*.45),calc(var(--by)*.45)) scale(calc(var(--bs)*1.5)) rotate(calc(var(--br)*.5))}60%{opacity:.35;transform:translate(-50%,-50%) translate(calc(var(--bx)*.92),calc(var(--by)*.92)) scale(calc(var(--bs)*1.1)) rotate(var(--br))}100%{opacity:.3;transform:translate(-50%,-50%) translate(var(--bx),var(--by)) scale(var(--bs)) rotate(var(--br))}}
@keyframes ap-splashFade{0%,82%{opacity:1}100%{opacity:0}}
.ap-cap{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 14px;font-size:14px;color:var(--muted);text-align:center}
.ap-pause{min-height:32px;padding:6px 14px;border:1px solid var(--line);border-radius:999px;background:var(--card);color:var(--ink);font:700 13px system-ui,sans-serif;cursor:pointer}
.ap-pause:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
@media (max-width:480px){.ap{--ap-s:.72}}
@media (prefers-reduced-motion:reduce){.ap-pause{display:none}.ap-card.is-rising{transition:none}.ap-btn{transition:none}}
