/* The Founding Closet: drapmi.com/waitlist, /waitlist/closet and /waitlist/my-spot. Ported from the Next.js build (components/closet.css). Tokens come from base.css ([data-side="shop"]). Label-and-lookbook: flat blocks, hairlines, no shadows. */

.fc { background: var(--bg); color: var(--ink); min-height: 100vh; font-size: 16px; line-height: 24px; }
.fc a { color: var(--accent); text-underline-offset: 3px; }
.fc :is(button, a, summary, input):focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.fc-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── dark screens (hero, find my spot) ── */
.fc-dark { background: var(--forest-800); color: var(--moss-50); }
.fc-dark a { color: var(--neon-500); }
.fc-top { display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding-top: 8px; }
.fc-logo { display: inline-flex; align-items: center; min-height: 44px; }
.fc-logo img { height: 28px; width: auto; display: block; }
.fc-back { min-height: 44px; padding: 0; border: 0; background: none; color: var(--neon-500); font: 600 14px/20px var(--font-body); cursor: pointer; }
.fc-h1 { margin: 0; font-size: 44px; line-height: 48px; letter-spacing: -.02em; font-weight: 600; }
.fc-h1:focus { outline: none; }
.fc-lede { margin: 0; max-width: 520px; font-weight: 500; font-size: 16px; line-height: 24px; color: var(--forest-100); }

/* ── hero ── */
.fc-hero__in { padding-bottom: 64px; display: flex; flex-direction: column; gap: 32px; }
.fc-hero__grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.fc-hero__copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.fc-already { margin: -8px 0 0; font-weight: 500; font-size: 14px; line-height: 20px; color: var(--forest-100); }
.fc-phone { display: none; margin: 0; }

/* ── form ── */
.fc-form { display: flex; flex-direction: column; gap: 20px; background: var(--surface); color: var(--ink); border-radius: var(--r-xl); padding: 24px; max-width: 520px; width: 100%; }
.fc-fld { display: flex; flex-direction: column; gap: 8px; }
.fc-fld label { font-weight: 600; font-size: 14px; line-height: 20px; }
.fc-inp { width: 100%; height: 52px; padding: 0 16px; border: 2px solid var(--line-strong); border-radius: var(--r-md); background: #fff; color: var(--ink); font: 500 16px/24px var(--font-body); transition: border-color var(--dur-fast) var(--ease-out); }
.fc-inp::placeholder { color: var(--moss-500); }
.fc-inp:focus { outline: none; border-color: var(--accent); }
.fc-inp:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.fc-inp[readonly] { background: var(--surface-2); }
.fc-inp.is-err { border-color: #b3261e; }
.fc-inp--code { letter-spacing: .4em; font-weight: 600; text-align: center; }
.fc-err { display: flex; align-items: center; gap: 4px; font-weight: 500; font-size: 13px; line-height: 20px; color: #b3261e; }
.fc-banner { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-radius: var(--r-md); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; line-height: 20px; }
.fc-banner svg { flex: none; margin-top: 2px; }
.fc-small { margin: 0; font-weight: 500; font-size: 12px; line-height: 18px; color: var(--moss-500); }
.fc-small--dark { text-align: center; }
.fc-small .fc-lnk { min-height: 0; font-size: inherit; line-height: inherit; }

/* ── buttons & links ── */
.fc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 56px; padding: 0 24px; border: 0; border-radius: var(--r-pill); font: 600 16px/24px var(--font-body); cursor: pointer; white-space: nowrap; text-decoration: none; transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
.fc-btn:active { transform: scale(.97); }
.fc-btn:disabled { cursor: progress; }
.fc-btn--p { background: var(--accent); color: var(--on-accent) !important; width: 100%; }
.fc-btn--s { background: var(--surface); color: var(--accent) !important; box-shadow: inset 0 0 0 1px var(--line-strong); width: 100%; }
.fc-btn--o { background: transparent; color: var(--accent) !important; box-shadow: inset 0 0 0 2px var(--accent); justify-content: space-between; width: 100%; height: 56px; }
.fc-btn--n { background: var(--neon-500); color: var(--forest-800) !important; }
.fc-lnk { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; font: 600 14px/20px var(--font-body); color: var(--accent); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.fc-lnk--neon { color: var(--neon-500); padding: 0 4px; }
.fc-spin { animation: fc-spin .9s linear infinite; }
@keyframes fc-spin { to { transform: rotate(360deg); } }
@media (hover: hover) and (pointer: fine) {
  .fc-btn--p:hover { background: var(--forest-700); }
  .fc-btn--s:hover { box-shadow: inset 0 0 0 1px var(--accent); }
  .fc-btn--n:hover { background: var(--neon-300); }
}

/* ── body sections ── */
.fc-body { padding-bottom: 24px; }
.fc-sec { padding-top: 64px; display: flex; flex-direction: column; gap: 24px; }
.fc-h2 { margin: 0; font-size: 30px; line-height: 34px; letter-spacing: -.02em; font-weight: 600; }
.fc-sub { margin: -8px 0 0; font-weight: 500; font-size: 15px; line-height: 22px; color: var(--moss-700); }
.fc-photo { height: 380px; border-radius: 28px; background: var(--forest-900); overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
.fc-photo img { height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: bottom; display: block; }

.fc-two, .fc-col { display: flex; flex-direction: column; }
.fc-col { gap: 0; }

/* rewards rows: hairlines, free-standing brass, no tiles */
.fc-rw { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.fc-rw li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.fc-rw img { width: 64px; height: 64px; object-fit: contain; display: block; }
.fc-rw li > span { display: flex; flex-direction: column; gap: 2px; font-weight: 500; font-size: 14px; line-height: 22px; color: var(--moss-700); }
.fc-rw b { font-size: 22px; line-height: 26px; letter-spacing: -.01em; font-weight: 600; color: var(--ink); }
.fc-rw__chip { font-weight: 600; font-size: 13px; line-height: 20px; color: var(--forest-500); }

/* how it works: typeset numerals */
.fc-how { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.fc-how li { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: baseline; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); font-weight: 500; font-size: 16px; line-height: 24px; }
.fc-how__n { font-size: 28px; line-height: 28px; color: var(--accent); font-variant-numeric: tabular-nums; }

/* faq */
.fc-faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.fc-faq details { border-bottom: 1px solid var(--line); }
.fc-faq summary { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600; font-size: 16px; line-height: 24px; cursor: pointer; list-style: none; }
.fc-faq summary::-webkit-details-marker { display: none; }
.fc-faq summary i { flex: none; display: inline-flex; transition: transform var(--dur-base) var(--ease-out); }
.fc-faq details[open] summary i { transform: rotate(45deg); }
.fc-faq details > p, .fc-faq details > div { margin: 0 0 16px; font-weight: 500; font-size: 14px; line-height: 22px; color: var(--moss-700); display: flex; flex-direction: column; gap: 8px; }
.fc-faq details > div p { margin: 0; }

.fc-cta { margin-top: 64px; background: var(--forest-800); border-radius: 28px; padding: 40px 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.fc-cta h2 { margin: 0; font-size: 32px; line-height: 34px; letter-spacing: -.02em; font-weight: 600; color: var(--neon-500); }
.fc-footer { padding: 48px 0 64px; display: flex; flex-direction: column; gap: 12px; font-weight: 500; font-size: 13px; line-height: 20px; color: var(--moss-500); }
.fc-footer > span:first-child { display: flex; align-items: center; gap: 16px; }
.fc-footer .fc-logo img { height: 24px; }
.fc-footer__fine { max-width: 640px; }

/* ── rewards dialog: sheet on phones, dialog on desktop ── */
.fc-dlg { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; opacity: 0; transition: opacity .18s var(--ease-out); }
.fc-dlg.is-open { opacity: 1; }
.fc-dlg.is-closing { transition-duration: .14s; }
.fc-dlg__scrim { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(7, 18, 11, .64); cursor: pointer; }
.fc-dlg__box { position: relative; width: 100%; max-width: 480px; max-height: 92dvh; display: flex; flex-direction: column; background: var(--surface); color: var(--ink); border-radius: 28px 28px 0 0; }
.fc-dlg__box { transform: translateY(24px); opacity: 0; transition: transform .24s var(--ease-out), opacity .24s var(--ease-out); }
.fc-dlg.is-open .fc-dlg__box { transform: none; opacity: 1; }
.fc-dlg.is-closing .fc-dlg__box { transform: translateY(12px); opacity: 0; transition-duration: .14s; }
.fc-dlg__box:focus { outline: none; }
.fc-dlg__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 24px 20px 8px; }
.fc-dlg__head h2 { margin: 0 0 4px; font-size: 30px; line-height: 34px; letter-spacing: -.02em; font-weight: 600; }
.fc-dlg__head p { margin: 0; font-weight: 500; font-size: 14px; line-height: 22px; color: var(--moss-700); }
.fc-x { flex: none; width: 44px; height: 44px; border: 0; border-radius: var(--r-pill); background: var(--bg); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform var(--dur-fast) var(--ease-out); }
.fc-x:active { transform: scale(.94); }
.fc-dlg__list { flex: 1; min-height: 0; overflow-y: auto; padding: 0 20px; }
.fc-dlg__list .fc-rw { border-top: 0; }
.fc-dlg__list .fc-rw li:last-child { border-bottom: 0; }
.fc-dlg__foot { display: flex; flex-direction: column; gap: 12px; padding: 16px 20px 24px; border-top: 1px solid var(--line); }
.fc-dlg__foot p { margin: 0; font-weight: 500; font-size: 12px; line-height: 18px; color: var(--moss-500); }

/* ── find my spot ── */
.fc-find { min-height: 100vh; }
.fc-find__in { padding-bottom: 40px; display: flex; flex-direction: column; gap: 32px; max-width: 520px; }
.fc-find__head { display: flex; flex-direction: column; gap: 16px; }
.fc-newhere { margin: auto 0 0; text-align: center; font-weight: 500; font-size: 14px; line-height: 20px; color: var(--forest-100); }

/* ── after joining ── */
.fc-ok { min-height: 100vh; }
.fc-ok__in { max-width: 520px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 32px; }
.fc-ok__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fc-ok__head img { flex: none; width: 96px; height: 96px; object-fit: contain; }
.fc-ok__badge { margin: 12px 0 0; font-weight: 600; font-size: 14px; line-height: 20px; color: var(--forest-500); }
.fc-stats { margin: 0; display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); border-radius: var(--r-xl); padding: 24px 0; }
.fc-stats > div { padding: 0 24px; display: flex; flex-direction: column; gap: 2px; }
.fc-stats > div + div { border-left: 1px solid var(--line); }
.fc-stats dt { font-weight: 500; font-size: 13px; line-height: 20px; color: var(--moss-500); }
.fc-stats dd { margin: 0; font-size: 40px; line-height: 44px; font-weight: 600; }
.fc-share { display: flex; flex-direction: column; gap: 8px; }
.fc-share h2 { margin: 0; font-weight: 600; font-size: 20px; line-height: 28px; }
.fc-share p { margin: 0 0 12px; font-weight: 500; font-size: 14px; line-height: 22px; color: var(--moss-700); }
.fc-share__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fc-ok__link { text-align: center; font-weight: 500; font-size: 13px; line-height: 20px; color: var(--moss-500); margin-top: 4px; }
.fc-next { display: flex; flex-direction: column; gap: 8px; }
.fc-next > div:first-child { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; font-size: 13px; line-height: 20px; }
.fc-next > div:first-child span { color: var(--moss-500); }
.fc-prog { height: 8px; border-radius: var(--r-pill); background: var(--forest-100); overflow: hidden; }
.fc-prog i { display: block; height: 100%; border-radius: var(--r-pill); background: var(--accent); transition: width var(--dur-slow) var(--ease-out); }
.fc-ok__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; }

/* ── desktop ── */
@media (min-width: 768px) {
  .fc-dlg { align-items: center; padding: 24px; }
  .fc-dlg__box { max-width: 640px; max-height: calc(100dvh - 48px); border-radius: 32px; }
  .fc-dlg__head { padding: 32px 36px 12px; }
  .fc-dlg__head h2 { font-size: 40px; line-height: 42px; }
  .fc-dlg__head p { font-size: 15px; line-height: 24px; }
  .fc-dlg__list { padding: 0 36px; }
  .fc-dlg__foot { flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 36px 28px; }
  .fc-dlg__foot .fc-btn { width: auto; flex: none; }
}
@media (min-width: 1024px) {
  .fc-wrap { padding: 0 48px; }
  .fc-top { min-height: 72px; padding-top: 16px; }
  .fc-logo img { height: 32px; }
  .fc-hero__in { padding-bottom: 120px; gap: 48px; }
  .fc-hero__grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 80px; align-items: center; }
  .fc-hero__copy { gap: 32px; }
  .fc-h1--xl { font-size: 84px; line-height: 84px; }
  .fc-lede { font-size: 18px; line-height: 28px; }
  .fc-form { padding: 36px; border-radius: 28px; gap: 24px; }
  .fc-phone { display: flex; flex-direction: column; align-items: center; gap: 16px; }
  .fc-phone__screen { width: 400px; height: 560px; border-radius: 28px; background: var(--forest-900); overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
  .fc-phone__screen img { height: 100%; width: auto; object-fit: contain; object-position: bottom; display: block; }
  .fc-phone figcaption { max-width: 400px; text-align: center; font-weight: 500; font-size: 13px; line-height: 20px; color: var(--forest-100); }
  .fc-sec--find { display: none; }
  .fc-sec { padding-top: 96px; gap: 28px; }
  .fc-h2 { font-size: 44px; line-height: 46px; }
  .fc-two { flex-direction: row; gap: 96px; align-items: flex-start; }
  .fc-two > * { flex: 1 1 0; min-width: 0; }
  .fc-col { gap: 0; }
  .fc-cta { margin-top: 96px; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 56px 64px; border-radius: 32px; }
  .fc-cta h2 { font-size: 44px; line-height: 46px; }
  .fc-footer { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; padding: 72px 0; }
  .fc-footer__fine { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .fc-prog i, .fc-faq summary i, .fc-btn, .fc-x { transition: none; }
  .fc-spin { animation-duration: 2s; }
}

/* ── WordPress additions ── */
/* base.css still has the old, swapped --ease-out curve; the Closet uses the corrected one (strong ease-out for entering and pressing). */
.fc { --ease-out: cubic-bezier(.23, 1, .32, 1); }
.fc [hidden] { display: none !important; }
.fc-form [data-net]:empty { display: none; }
.fc-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.fc-invite { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; height: 32px; padding: 0 14px 0 12px; border-radius: var(--r-pill); background: var(--neon-500); color: var(--forest-800); font-size: 13px; line-height: 16px; font-weight: 600; }
.fc-invite i { width: 8px; height: 8px; border-radius: 50%; background: var(--forest-800); }
.fc-dark .fc-btn--n { color: var(--forest-800) !important; }
.fc-find__in > .fc-spin { align-self: center; margin-top: 96px; }
body.fc-lock { overflow: hidden; }
.fc-ok__foot .fc-lnk { text-align: left; }
@media (prefers-reduced-motion: reduce) {
  .fc-dlg, .fc-dlg__box { transition: none; }
}
