/**
 * Lupus Coming Soon — standalone landing styles (ported from the Claude Design
 * "Coming Soon.dc.html"). Self-contained: no theme CSS is loaded on this page.
 * @license AFL-3.0
 */
*{ box-sizing: border-box; }
html, body { margin: 0; }
body { background: #0a100c; }
a { color: #c9b27e; text-decoration: none; }
a:hover { color: #e3cf9d; }
::selection { background: #8c2f28; color: #f1e9d2; }
*::-webkit-scrollbar { width: 11px; height: 11px; }
*::-webkit-scrollbar-track { background: #0a100c; }
*::-webkit-scrollbar-thumb { background: #243a2d; border-radius: 6px; border: 2px solid #0a100c; }

@keyframes lifUnfurl { from { opacity: 0; transform: translateY(16px) scaleY(.98); } to { opacity: 1; transform: none; } }
@keyframes lifStamp { 0% { opacity: 0; transform: scale(1.7) rotate(-14deg); } 55% { opacity: 1; transform: scale(.9) rotate(4deg); } 100% { transform: scale(1) rotate(0); } }
@keyframes lifFade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes lifFloat { 0%,100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-9px) rotate(-1.5deg); } }
@keyframes lifShine { 0% { transform: translateX(-140%) skewX(-12deg); } 100% { transform: translateX(320%) skewX(-12deg); } }
@keyframes lifPulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .3; transform: scale(.65); } }

/* ---- shell ---- */
.lifcs-bg {
  position: relative; overflow: hidden; min-height: 100vh;
  font-family: 'Spectral', serif; color: #ece7db; -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(85% 60% at 50% -6%, rgba(201,178,126,.18), transparent 60%),
    radial-gradient(120% 120% at 90% 4%, rgba(31,157,84,.12), transparent 52%),
    radial-gradient(100% 110% at 2% 106%, rgba(12,96,49,.2), transparent 50%),
    #0a100c;
}
.lifcs-grain { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .05; mix-blend-mode: overlay; pointer-events: none; }
.lifcs-grain--parch { opacity: .09; mix-blend-mode: multiply; }
.lifcs-wrap { position: relative; max-width: 760px; margin: 0 auto; padding: clamp(34px,5vw,58px) 22px 60px; }

.lifcs-logo { text-align: center; margin-bottom: clamp(26px,4vw,40px); }
.lifcs-logo img { height: clamp(84px,12vw,116px); width: auto; filter: drop-shadow(0 8px 26px rgba(0,0,0,.55)); }

.lifcs-scroll { position: relative; animation: lifUnfurl .7s ease both; }
.lifcs-dowel {
  position: relative; height: 27px; margin: 0 -16px; border-radius: 15px;
  background: linear-gradient(180deg,#1c1208,#4a3520 16%,#82602f 40%,#c2974f 53%,#6e5230 74%,#1f1305);
  box-shadow: 0 13px 26px -12px rgba(0,0,0,.75), inset 0 1px 0 rgba(255,222,168,.35);
}
.lifcs-dowel--bottom { box-shadow: 0 20px 32px -14px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,222,168,.35); }
.lifcs-dowel__cap { position: absolute; top: 50%; transform: translateY(-50%); width: 16px; height: 35px; border-radius: 50%; background: radial-gradient(circle at 42% 36%,#7d5d34,#1f1305); }
.lifcs-dowel__cap--l { left: -9px; }
.lifcs-dowel__cap--r { right: -9px; }

.lif-parch {
  position: relative;
  background:
    radial-gradient(130% 120% at 50% 0%, rgba(255,250,236,.55), transparent 46%),
    linear-gradient(180deg,#efe3c2,#e7d6ae 56%,#dcc99d);
  box-shadow: 0 42px 80px -36px rgba(0,0,0,.85), inset 0 16px 26px -16px rgba(74,52,26,.5), inset 0 -16px 26px -16px rgba(74,52,26,.5);
  padding: clamp(30px,5vw,52px) clamp(24px,6vw,72px) clamp(38px,6vw,60px);
  overflow: hidden;
}
.lif-parch__vignette { position: absolute; inset: 0; box-shadow: inset 0 0 110px rgba(74,52,26,.4); pointer-events: none; }
.lif-parch__inner { position: relative; }
.lif-parch input::placeholder { color: #a98f5e; opacity: .85; font-style: italic; }

/* ---- socials + divider ---- */
.lifcs-socials { display: flex; justify-content: center; gap: 13px; }
.lifcs-social {
  width: 44px; height: 44px; border-radius: 11px; border: 1px solid rgba(58,43,24,.3);
  background: rgba(58,43,24,.04); display: flex; align-items: center; justify-content: center;
  color: #9c7c3a; transition: border-color .2s, color .2s, transform .2s;
}
.lifcs-social:hover { border-color: #8c2f28; color: #8c2f28; transform: translateY(-3px); }
.lifcs-divider { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 14px 0 26px; color: #9c7c3a; }
.lifcs-divider__line { height: 1px; width: 92px; }
.lifcs-divider__line--l { background: linear-gradient(90deg,transparent,#9c7c3a); }
.lifcs-divider__line--r { background: linear-gradient(270deg,transparent,#9c7c3a); }
.lifcs-divider__star { font-size: 13px; }

/* ---- shared text ---- */
.lifcs-view { animation: lifFade .45s ease both; }
.lifcs-center { text-align: center; }
.lifcs-h1 { font-family: 'Cinzel', serif; font-weight: 800; font-size: clamp(32px,5.6vw,54px); line-height: 1.04; margin: 0; color: #33240f; text-wrap: balance; }
.lifcs-h2 { font-family: 'Cinzel', serif; font-weight: 800; font-size: clamp(28px,4.6vw,42px); line-height: 1.06; margin: 0; color: #33240f; }
.lifcs-lead { font-family: 'Spectral', serif; font-style: italic; font-size: clamp(15px,2.4vw,17.5px); color: #6b573a; max-width: 456px; margin: 18px auto 0; line-height: 1.6; text-wrap: pretty; }
.lifcs-lead--sm { font-size: 15px; max-width: 430px; margin-top: 14px; line-height: 1.55; }
.lifcs-eyebrow { font-family: 'Spectral SC','Spectral',serif; font-weight: 600; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: #9c7c3a; margin-bottom: 12px; }
.lifcs-err { text-align: center; font-family: 'Spectral', serif; font-style: italic; font-size: 14px; color: #8c2f28; margin-top: 22px; }

/* ---- buttons ---- */
.lifcs-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: clamp(32px,4.5vw,46px); }
.lifcs-btn { cursor: pointer; font-family: 'Cinzel', serif; font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; padding: 15px 30px; border-radius: 4px; transition: background .2s, border-color .2s, color .2s; display: inline-block; text-align: center; }
.lifcs-btn--green { border: none; background: #2f6b3d; color: #f1e9d2; }
.lifcs-btn--green:hover { background: #3a8049; color: #f1e9d2; }
.lifcs-btn--ghost { background: transparent; color: #33240f; font-weight: 600; border: 1.5px solid rgba(58,43,24,.4); }
.lifcs-btn--ghost:hover { border-color: #8c2f28; color: #8c2f28; }
.lifcs-btn--block { display: block; width: 100%; padding: 16px; font-size: 15px; letter-spacing: .1em; border: none; }
/* mobile: stack the two hero CTAs full-width & equal-size (no ragged wrap) */
@media (max-width: 440px) {
  .lifcs-cta { flex-direction: column; align-items: center; flex-wrap: nowrap; }
  .lifcs-cta .lifcs-btn { width: 100%; max-width: 320px; }
}

/* ---- promo (home): the real 3D card as a teaser, no border ---- */
.lifcs-promo { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: clamp(28px,4vw,44px); }
.lifcs-promo__real { width: 100%; }
.lifcs-promo__card { position: relative; flex: none; width: clamp(100px,18vw,132px); aspect-ratio: 3/4; border-radius: 8px; overflow: hidden; border: 1px solid rgba(58,43,24,.5); box-shadow: 0 16px 30px -12px rgba(40,28,12,.6); transform: rotate(-6deg); background: radial-gradient(135% 95% at 78% 4%, rgba(201,178,126,.5), transparent 58%), linear-gradient(165deg,#1a2a21,#090f0b); }
.lifcs-promo__top { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg,#c9b27e,#1f9d54); }
.lifcs-promo__shine { position: absolute; top: -30%; left: 0; width: 42%; height: 160%; background: linear-gradient(90deg,transparent,rgba(255,246,224,.4),transparent); animation: lifShine 3.6s linear infinite; pointer-events: none; }
.lifcs-promo__live { position: absolute; top: 9px; left: 9px; display: flex; align-items: center; gap: 5px; font-family: 'Spectral SC','Spectral',serif; font-weight: 600; font-size: 8px; letter-spacing: .16em; text-transform: uppercase; color: #e7dcc3; }
.lifcs-promo__dot { width: 6px; height: 6px; border-radius: 50%; background: #e0524d; box-shadow: 0 0 6px #e0524d; animation: lifPulse 1.4s ease-in-out infinite; }
.lifcs-promo__ghost { position: absolute; right: -10px; bottom: -24px; font-family: 'Cinzel', serif; font-weight: 900; font-size: 128px; line-height: .8; color: rgba(201,178,126,.16); }
.lifcs-promo__name { position: absolute; left: 10px; right: 10px; bottom: 10px; font-family: 'Cinzel', serif; font-weight: 700; font-size: 13px; line-height: 1.1; color: #f3eee2; }
.lifcs-promo__text { text-align: center; max-width: 460px; }
.lifcs-promo__title { font-family: 'Cinzel', serif; font-weight: 700; font-size: clamp(19px,3.2vw,24px); color: #33240f; line-height: 1.14; }
.lifcs-promo__p { font-family: 'Spectral', serif; font-size: clamp(13.5px,1.9vw,15px); line-height: 1.6; color: #6b573a; margin: 10px 0 0; text-wrap: pretty; }

/* ---- forms ---- */
.lifcs-back { text-align: center; margin-bottom: 6px; }
.lifcs-back a { font-family: 'Spectral SC','Spectral',serif; font-weight: 600; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: #2f6b3d; }
.lifcs-back a:hover { color: #8c2f28; }
.lifcs-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 22px 24px; margin-top: 34px; }
.lifcs-narrow { max-width: 400px; margin: 34px auto 0; display: flex; flex-direction: column; gap: 24px; }
.lifcs-field { display: block; }
.lifcs-field--full { grid-column: 1 / -1; display: block; }
.lifcs-label { display: inline-block; font-family: 'Spectral SC','Spectral',serif; font-weight: 600; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: #9c7c3a; margin-bottom: 7px; }
.lifcs-label--block { display: block; margin-bottom: 12px; }
.lifcs-form input[type=email],
.lifcs-form input[type=text],
.lifcs-form input[type=password] {
  width: 100%; background: transparent; border: none; border-bottom: 1.5px solid rgba(58,43,24,.32);
  padding: 7px 2px; font-family: 'Spectral', serif; font-size: 16px; color: #33240f; outline: none;
}
.lifcs-form input:focus { border-color: #8c2f28; }
.lifcs-hint { display: block; font-family: 'Spectral', serif; font-style: italic; font-size: 11.5px; color: #7a6748; margin-top: 6px; }
.lifcs-forgot { display: block; text-align: right; margin-top: 8px; }
.lifcs-forgot a { font-family: 'Spectral', serif; font-style: italic; font-size: 12.5px; color: #7a6748; }
.lifcs-forgot a:hover { color: #8c2f28; }

/* interest pills (radio) */
.lifcs-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.lifcs-pill { position: relative; cursor: pointer; }
.lifcs-pill input { position: absolute; opacity: 0; pointer-events: none; }
.lifcs-pill span { display: inline-block; border: 1.5px solid rgba(58,43,24,.28); background: transparent; color: #5e4a2c; font-family: 'Spectral', serif; font-size: 14px; padding: 9px 16px; border-radius: 3px; transition: border-color .18s, color .18s, background .18s; }
.lifcs-pill:hover span { border-color: #8c2f28; color: #8c2f28; }
.lifcs-pill input:checked + span { border-color: #8c2f28; background: rgba(140,47,40,.12); color: #8c2f28; }

/* consent */
.lifcs-consent { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.lifcs-consent input { position: absolute; opacity: 0; pointer-events: none; }
.lifcs-consent__box { width: 20px; height: 20px; border-radius: 4px; flex: none; margin-top: 1px; display: flex; align-items: center; justify-content: center; font-size: 12px; color: #f1e9d2; border: 1.5px solid rgba(58,43,24,.4); background: transparent; transition: background .18s, border-color .18s; }
.lifcs-consent__box::after { content: '✓'; opacity: 0; }
.lifcs-consent input:checked + .lifcs-consent__box { background: #2f6b3d; border-color: #2f6b3d; }
.lifcs-consent input:checked + .lifcs-consent__box::after { opacity: 1; }
.lifcs-consent__txt { font-family: 'Spectral', serif; font-size: 14px; line-height: 1.5; color: #5e4a2c; }

/* Turnstile slot: in production the widget is invisible (interaction-only), so
   keep the reserved space minimal; it grows only when a challenge is shown. */
.lifcs-ts { display: flex; justify-content: center; margin: 4px 0 0; }
.lifcs-ts:empty { display: none; }
.lifcs-ts .cf-turnstile:not(:empty) { margin-top: 18px; }

/* seal (register submit) */
.lifcs-seal-wrap { display: flex; flex-direction: column; align-items: center; text-align: center; margin-top: 34px; }
.lifcs-seal {
  position: relative; width: 150px; height: 150px; border-radius: 50%; cursor: pointer; border: none; padding: 0;
  background: radial-gradient(circle at 38% 30%,#b54b3e,#8c2f28 46%,#6c211b 78%,#4f1611);
  box-shadow: 0 18px 34px -12px rgba(40,10,8,.7), inset 0 4px 9px rgba(255,185,165,.4), inset 0 -12px 20px rgba(45,10,7,.6);
  display: flex; align-items: center; justify-content: center; transition: transform .15s ease, box-shadow .15s ease;
}
.lifcs-seal:hover { transform: translateY(3px) scale(.99); box-shadow: 0 9px 18px -12px rgba(40,10,8,.7), inset 0 4px 9px rgba(255,185,165,.35), inset 0 -10px 18px rgba(45,10,7,.6); }
.lifcs-seal__ring { position: absolute; inset: 11px; border-radius: 50%; border: 1.5px solid rgba(255,205,190,.22); }
.lifcs-seal__dash { position: absolute; inset: 17px; border-radius: 50%; border: 1px dashed rgba(70,18,14,.5); }
.lifcs-seal__mark { font-family: 'Cinzel', serif; font-weight: 900; font-size: 48px; line-height: 1; color: #5b1a14; text-shadow: 0 1px 0 rgba(255,195,180,.42), 0 -1px 1px rgba(40,8,6,.55); }
.lifcs-seal__label { font-family: 'Cinzel', serif; font-weight: 700; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; color: #33240f; margin-top: 20px; }
.lifcs-seal__hint { font-family: 'Spectral', serif; font-style: italic; font-size: 12.5px; color: #7a6748; margin-top: 10px; }
.lifcs-alt { font-family: 'Spectral', serif; font-size: 13px; color: #6b573a; margin-top: 20px; }
.lifcs-alt a { color: #2f6b3d; font-weight: 600; }
.lifcs-alt a:hover { color: #8c2f28; }

/* stamp (sealed) */
.lifcs-stamp-wrap { display: flex; justify-content: center; margin-bottom: 24px; }
.lifcs-stamp { position: relative; width: 128px; height: 128px; border-radius: 50%; background: radial-gradient(circle at 38% 30%,#b54b3e,#8c2f28 46%,#6c211b 78%,#4f1611); box-shadow: 0 18px 34px -12px rgba(40,10,8,.7), inset 0 4px 9px rgba(255,185,165,.4), inset 0 -12px 20px rgba(45,10,7,.6); display: flex; align-items: center; justify-content: center; animation: lifStamp .7s cubic-bezier(.2,.8,.3,1.25) both; }
.lifcs-stamp__mark { font-family: 'Cinzel', serif; font-weight: 900; font-size: 44px; color: #5b1a14; text-shadow: 0 1px 0 rgba(255,195,180,.42), 0 -1px 1px rgba(40,8,6,.55); }
.lifcs-facts { display: inline-flex; flex-wrap: wrap; justify-content: center; margin: 32px auto 0; border: 1.5px solid rgba(58,43,24,.3); border-radius: 3px; overflow: hidden; }
.lifcs-fact { padding: 16px 26px; }
.lifcs-fact__k { font-family: 'Spectral SC','Spectral',serif; font-weight: 600; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: #9c7c3a; margin-bottom: 5px; }
.lifcs-fact__v { font-family: 'Cinzel', serif; font-weight: 800; font-size: 22px; letter-spacing: .03em; color: #33240f; }
.lifcs-fact__sep { width: 1px; background: rgba(58,43,24,.22); }

/* account — stack the (large) 3D card above the store pass, both centred */
.lifcs-cards { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 4px; }
.lifcs-cardcol { display: flex; flex-direction: column; align-items: center; width: 100%; }
.lifcs-cardcol__title { font-family: 'Spectral SC','Spectral',serif; font-weight: 600; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #9c7c3a; margin-bottom: 18px; }
.lifcs-pass { background: #f5ecd4; border: 1.5px solid rgba(58,43,24,.35); border-radius: 8px; padding: 14px; box-shadow: 0 12px 26px -16px rgba(40,28,12,.5); max-width: 100%; }
.lifcs-pass__bc { display: block; width: 100%; max-width: 300px; height: auto; }
.lifcs-pass__no { font-family: 'Cinzel', serif; font-weight: 800; font-size: 18px; letter-spacing: .03em; color: #33240f; margin-top: 16px; }
.lifcs-pass__hint { font-family: 'Spectral', serif; font-size: 13px; color: #7a6748; margin-top: 6px; max-width: 224px; text-align: center; line-height: 1.5; text-wrap: pretty; }
.lifcs-logout { text-align: center; margin-top: 40px; }
.lifcs-logout__btn { background: none; border: none; cursor: pointer; font-family: 'Spectral SC','Spectral',serif; font-weight: 600; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: #8c2f28; }
.lifcs-logout__btn:hover { color: #5b1a14; }

/* legal */
.lifcs-legal { text-align: center; margin-top: 36px; font-family: 'Spectral', serif; font-size: 12.5px; color: #5c6a56; line-height: 1.75; }
.lifcs-legal a { color: #9c7c3a; border-bottom: 1px solid rgba(156,124,58,.4); }
.lifcs-legal a:hover { color: #c9b27e; }

/* separator between the card and the store pass (account) + newsletter opt-in */
.lifcs-divider--cards { width: 100%; margin: 0; }
/* "già ritirato" note inside the card, under the set name (black, readable) */
.lupusfc-note { margin-top: 6px; font-family: 'Barlow', sans-serif; font-size: 12px; font-weight: 700; color: #1b1b1d; line-height: 1.25; }
.lifcs-newsletter { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 6px auto 0; max-width: 460px; text-align: center; }
.lifcs-newsletter__txt { font-family: 'Spectral', serif; font-style: italic; font-size: 14px; color: #6b573a; line-height: 1.5; }
.lifcs-btn--sm { padding: 11px 22px; font-size: 12px; }
.lifcs-consents { display: flex; flex-direction: column; gap: 14px; }

/* ---- embedded freecard 3D card (home teaser + account) ----
   The freecard card is a fixed 540×430 3D scene. We scale the sensor down and
   CLIP with a plain 2D wrapper (.lifcs-cardstage) — clipping on the perspective
   element (.lupusfc-scene) itself is unreliable in Safari and lets the tilted /
   floating card bleed up into the heading. The float animation is disabled here
   so nothing crosses the clip. Stage heights ≈ 430 (card) × scale + tilt buffer. */
.lifcs-cardstage {
  position: relative; width: 100%; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  transform: translateZ(0);           /* flat, own layer → clipping is honoured */
}
.lifcs-home .lupusfc-scene, .lifcs-account .lupusfc-scene {
  width: 100%; min-height: 0; height: auto; overflow: visible; /* the stage clips */
}
.lifcs-home .lupusfc-sensor, .lifcs-account .lupusfc-sensor {
  height: 430px; margin: 0 auto; transform-origin: center center;
}
/* the subtle vertical bob is what pushes the card past the clip — disable it here */
.lifcs-cardstage .lupusfc-floaty { animation: none; }

/* account card sizing (≈ 430 × scale + buffer for the tilt's vertical asymmetry) */
.lifcs-account .lupusfc-sensor { transform: scale(.66); }
.lifcs-account .lifcs-cardstage { height: 324px; }
@media (max-width: 760px) { .lifcs-account .lupusfc-sensor { transform: scale(.6); } .lifcs-account .lifcs-cardstage { height: 290px; } }
@media (max-width: 430px) { .lifcs-account .lupusfc-sensor { transform: scale(.46); } .lifcs-account .lifcs-cardstage { height: 230px; } }

/* home teaser card sizing (a touch smaller) */
.lifcs-home .lupusfc-sensor { transform: scale(.62); }
.lifcs-home .lifcs-cardstage { height: 308px; }
@media (max-width: 520px) { .lifcs-home .lupusfc-sensor { transform: scale(.5); } .lifcs-home .lifcs-cardstage { height: 250px; } }
@media (max-width: 380px) { .lifcs-home .lupusfc-sensor { transform: scale(.42); } .lifcs-home .lifcs-cardstage { height: 215px; } }

/* teaser: blur ONLY the QR and the code text (labels stay crisp) — a code exists
   but can't be shown yet. */
.lifcs-cardstage--teaser .lupusfc-qr,
.lifcs-cardstage--teaser .lupusfc-code { filter: blur(6px); pointer-events: none; user-select: none; }

/* in-card "Ritira" button overlaying the blurred code panel */
.lifcs-reveal { position: absolute; left: 50%; top: 73%; transform: translate(-50%, -50%); z-index: 4; text-align: center; }
.lifcs-reveal__btn { cursor: pointer; border: none; background: #2f6b3d; color: #f1e9d2; font-family: 'Cinzel', serif; font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; padding: 13px 30px; border-radius: 5px; box-shadow: 0 10px 24px -8px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.15); transition: background .2s, transform .12s; }
.lifcs-reveal__btn:hover { background: #3a8049; transform: translateY(-1px); }
.lifcs-reveal__btn:disabled { opacity: .6; cursor: default; }
.lifcs-reveal--msg { background: rgba(15,20,15,.72); color: #f1e9d2; font-family: 'Spectral', serif; font-size: 13px; padding: 8px 14px; border-radius: 6px; }

/* card status note under the card */
.lifcs-cardnote { font-family: 'Spectral', serif; font-size: 13px; color: #6b573a; margin: 12px auto 0; text-align: center; max-width: 260px; line-height: 1.5; }
.lifcs-cardnote--done { color: #2f6b3d; font-weight: 600; }
