/* =====================================================================
   1.7 teaser ("almost here"), the newsletter sign-up and the popup.
   Loaded after prism.css. Colours borrow the four Pro themes (Paper, Lilac, Peach, Night).
   ===================================================================== */

/* ---------------------------------------------------------------- nav: more room, everything on one centre line */
.nav { width: min(calc(100% - 28px), 1140px); gap: 36px; padding: 8px 8px 8px 20px; }
.nav .links { align-items: center; gap: 24px; }
.nav .links a { display: inline-flex; align-items: center; line-height: 1; padding: 6px 0; }
.nav .links a.nav-soon {
  gap: 7px; height: 28px; padding: 0 12px 0 10px; border-radius: 999px;
  font-size: .8rem; font-weight: 700; letter-spacing: .02em; line-height: 1;
  color: #efe9ff;
  background: linear-gradient(180deg, rgba(185, 163, 224, .2), rgba(127, 99, 173, .14));
  box-shadow: inset 0 0 0 1px rgba(185, 163, 224, .32), inset 0 1px 0 rgba(255, 255, 255, .12);
  transition: background .2s, box-shadow .2s, color .2s;
}
.nav .links a.nav-soon:hover { color: #fff; background: linear-gradient(180deg, rgba(185, 163, 224, .3), rgba(127, 99, 173, .22)); box-shadow: inset 0 0 0 1px rgba(185, 163, 224, .5), inset 0 1px 0 rgba(255, 255, 255, .16); }
.nav .links a.nav-soon i { width: 6px; height: 6px; flex: none; }
@media (max-width: 1240px) { .nav { gap: 28px; } .nav .links { gap: 20px; } .nav .links a.lp2 { display: none; } }
@media (max-width: 1040px) { .nav .links a.lp { display: none; } }
@media (max-width: 860px) { .nav .links { gap: 16px; font-size: .88rem; } }
.nav-soon i, .soon-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #B9A3E0; flex: none;
  box-shadow: 0 0 0 0 rgba(185, 163, 224, .7); animation: soonPulse 2s infinite;
}
@keyframes soonPulse { 70% { box-shadow: 0 0 0 9px rgba(185, 163, 224, 0); } 100% { box-shadow: 0 0 0 0 rgba(185, 163, 224, 0); } }

/* ---------------------------------------------------------------- section */
.soon-sec { position: relative; padding: 120px 20px 110px; overflow: hidden; isolation: isolate; }
.soon-glow {
  position: absolute; inset: -10% -20% auto; height: 760px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 46% at 26% 40%, rgba(185, 163, 224, .22), transparent 70%),
    radial-gradient(30% 40% at 74% 34%, rgba(231, 169, 140, .16), transparent 70%),
    radial-gradient(40% 50% at 50% 70%, rgba(127, 99, 173, .18), transparent 70%);
  filter: blur(20px);
  animation: soonDrift 18s ease-in-out infinite alternate;
}
@keyframes soonDrift { to { transform: translate3d(3%, -2%, 0) scale(1.06); } }
.soon-eyebrow { gap: 10px; }
.soon-eyebrow .soon-dot { margin-right: 2px; }
.soon-sec .section-head { margin-bottom: 40px; }
.soon-sec .section-head h2 {
  background: linear-gradient(180deg, #ffffff 0%, #ece4fc 46%, #b9a3e0 100%);
  -webkit-background-clip: text; background-clip: text;
}

/* countdown */
.soon-count { display: flex; justify-content: center; gap: 12px; margin: 0 auto 64px; }
.soon-count > div {
  position: relative; min-width: 96px; padding: 16px 10px 12px; border-radius: 22px; text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 0 0 1px rgba(255, 255, 255, .06), 0 30px 60px -30px rgba(0, 0, 0, .9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.soon-count b {
  display: block; font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff, #c9bdf0); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.soon-count span { display: block; margin-top: 8px; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.soon-count.done { display: none; }

/* cards */
.soon-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.soon-card {
  position: relative; padding: 18px 18px 22px; border-radius: 28px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), inset 0 0 0 1px rgba(255, 255, 255, .055), 0 40px 90px -50px rgba(0, 0, 0, .9);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s;
}
.soon-card:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 0 0 1px rgba(185, 163, 224, .25), 0 50px 100px -50px rgba(127, 99, 173, .6); }
.soon-card h3 { margin: 10px 2px 6px; font-family: var(--display); font-size: 1.22rem; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.soon-card p { margin: 0 2px; color: var(--ink-2); font-size: .93rem; line-height: 1.55; }
.soon-tag {
  display: inline-block; margin: 16px 2px 0; padding: 4px 9px; border-radius: 999px;
  font-size: .66rem; font-weight: 800; letter-spacing: .1em; color: #fff;
  background: linear-gradient(90deg, #A773FF, #6D3CE6);
}
.soon-tag-free { background: rgba(255, 255, 255, .1); color: var(--ink-2); }
.soon-art { position: relative; height: 150px; border-radius: 20px; overflow: hidden; display: grid; place-items: center; }

/* themes: four swatches that slowly take turns */
.soon-themes .soon-art { background: linear-gradient(160deg, #D9CDEB, #EBC9C6); animation: themeCycle 12s infinite; }
@keyframes themeCycle {
  0%, 20% { background: linear-gradient(160deg, #D9CDEB, #EBC9C6); }
  25%, 45% { background: linear-gradient(160deg, #B9A3E0, #7F63AD); }
  50%, 70% { background: linear-gradient(160deg, #E7A98C, #C9786E); }
  75%, 95% { background: linear-gradient(160deg, #2A1A55, #120A26); }
  100% { background: linear-gradient(160deg, #D9CDEB, #EBC9C6); }
}
.sw-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 92px; height: 20px; background: #050308; border-radius: 0 0 12px 12px; }
.sw-row { display: flex; gap: 10px; margin-top: 18px; filter: blur(.6px); }
.sw { width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 8px 18px -6px rgba(0, 0, 0, .4), inset 0 0 0 2px rgba(255, 255, 255, .5); }
.sw-paper { background: #F3EFE7; } .sw-lilac { background: #B9A3E0; } .sw-peach { background: #E7A98C; } .sw-night { background: #2A1A55; }

/* account */
.soon-acct .soon-art { background: radial-gradient(70% 70% at 30% 20%, rgba(185, 163, 224, .35), transparent 70%), #120A26; }
.ac-card { display: flex; align-items: center; gap: 10px; width: 78%; padding: 12px; border-radius: 16px; background: #050308; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
.ac-av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .85rem; color: #fff; background: linear-gradient(140deg, #B9A3E0, #7F63AD); }
.ac-lines { flex: 1; display: grid; gap: 6px; } .ac-lines i { height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .22); } .ac-lines i + i { width: 60%; background: rgba(255, 255, 255, .1); }
.ac-pill { font-size: .6rem; font-weight: 800; letter-spacing: .08em; padding: 3px 7px; border-radius: 999px; color: #fff; background: linear-gradient(90deg, #A773FF, #6D3CE6); }
.ac-pcs { position: absolute; bottom: 16px; display: flex; align-items: center; gap: 10px; color: #B9A3E0; }
.ac-pcs i { width: 34px; height: 22px; border-radius: 5px; border: 2px solid rgba(255, 255, 255, .35); position: relative; }
.ac-pcs i::after { content: ""; position: absolute; left: 50%; bottom: -7px; transform: translateX(-50%); width: 14px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .35); }
.ac-pcs svg { width: 18px; height: 18px; animation: acMove 2.4s ease-in-out infinite; }
@keyframes acMove { 50% { transform: translateX(4px); } }

/* saved looks */
.soon-looks .soon-art { background: linear-gradient(160deg, #FBFAF7, #E9E2D6); }
.lg-grid { display: grid; grid-template-columns: repeat(2, 64px); gap: 10px; }
.lg-grid i { position: relative; height: 42px; border-radius: 10px; box-shadow: 0 6px 14px -6px rgba(22, 12, 46, .4); transition: transform .4s; }
.lg-grid i::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 24px; height: 6px; border-radius: 0 0 4px 4px; background: #050308; }
.lg1 { background: linear-gradient(160deg, #8C72C4, #3B2766); } .lg2 { background: linear-gradient(160deg, #F2D9CC, #D88A86); }
.lg3 { background: linear-gradient(160deg, #120A26, #050308); } .lg4 { background: linear-gradient(160deg, #B9A3E0, #EEE8F5); }
.lg-grid i.on { box-shadow: 0 0 0 2.5px #FBFAF7, 0 0 0 4.5px #7F63AD, 0 8px 18px -6px rgba(22, 12, 46, .5); }
.soon-looks:hover .lg-grid i:nth-child(odd) { transform: translateY(-3px); }

/* the secret one */
.soon-secret .soon-art { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .03) 0 10px, transparent 10px 20px), #0d0b16; }
.sc-blur { display: grid; gap: 9px; width: 70%; filter: blur(5px); }
.sc-blur i { height: 14px; border-radius: 8px; background: linear-gradient(90deg, #B9A3E0, #E7A98C); opacity: .8; }
.sc-blur i:nth-child(2) { width: 70%; background: linear-gradient(90deg, #7F63AD, #B9A3E0); } .sc-blur i:nth-child(3) { width: 45%; }
.sc-lock { position: absolute; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: rgba(10, 9, 16, .6); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); backdrop-filter: blur(6px); }
.sc-lock svg { width: 20px; height: 20px; }

/* ---------------------------------------------------------------- sign-up form */
.soon-form { max-width: 560px; margin: 56px auto 0; text-align: center; }
.sf-row, .nl-row {
  display: flex; gap: 8px; padding: 7px; border-radius: 999px;
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), inset 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 60px -30px rgba(127, 99, 173, .6);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.sf-row input, .nl-row input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink);
  font: 500 1rem var(--text); padding: 0 18px;
}
.sf-row input::placeholder, .nl-row input::placeholder { color: var(--ink-3); }
.sf-row:focus-within { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), inset 0 0 0 1px rgba(185, 163, 224, .55), 0 30px 70px -30px rgba(127, 99, 173, .9); }
.sf-row .btn, .nl-row .btn { flex: none; }
.sf-note { margin: 14px 0 0; font-size: .86rem; color: var(--ink-3); }
.sf-note.ok { color: #c9f2d6; } .sf-note.err { color: #ffb4b4; }
[data-subscribe].done .sf-row, [data-subscribe].done input, [data-subscribe].done button[type=submit] { display: none; }
[data-subscribe].done .sf-note { font-size: 1rem; color: #e6defb; }

/* ---------------------------------------------------------------- popup */
.nl-pop {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px;
  background: rgba(5, 4, 10, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .35s ease;
}
.nl-pop[hidden] { display: none; }
.nl-pop.show { opacity: 1; }
.nl-card {
  position: relative; width: min(440px, 100%); padding: 34px 30px 22px; border-radius: 32px; text-align: center;
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(185, 163, 224, .22), transparent 70%),
    linear-gradient(180deg, #151026, #0c0916);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 0 0 1px rgba(255, 255, 255, .07), 0 60px 120px -40px rgba(0, 0, 0, .95), 0 0 80px -30px rgba(127, 99, 173, .7);
  transform: translateY(18px) scale(.97); transition: transform .5s cubic-bezier(.2, .9, .2, 1);
}
.nl-pop.show .nl-card { transform: none; }
.nl-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .07); color: var(--ink-2); font-size: 1.3rem; line-height: 1; }
.nl-x:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.nl-island {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 30px;
  min-width: 210px; padding: 9px 16px; margin-bottom: 22px; border-radius: 999px;
  background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 14px 30px -10px rgba(0, 0, 0, .9);
  font-size: .82rem; font-weight: 600; color: #fff;
  animation: nlGrow .9s cubic-bezier(.2, .9, .2, 1) both .15s;
}
@keyframes nlGrow { from { min-width: 120px; opacity: 0; transform: scale(.85); } }
.nl-isl-l { display: inline-flex; align-items: center; gap: 7px; } .nl-isl-l i { width: 8px; height: 8px; border-radius: 50%; background: #B9A3E0; animation: soonPulse 2s infinite; }
.nl-isl-r { color: #B9A3E0; }
.nl-card .eyebrow { display: flex; justify-content: center; }
.nl-card h3 { margin: 10px 0 8px; font-family: var(--display); font-size: 1.75rem; line-height: 1.1; font-weight: 600; letter-spacing: -.035em;
  background: linear-gradient(180deg, #fff, #d9cff7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nl-card > p { margin: 0 0 20px; color: var(--ink-2); font-size: .97rem; line-height: 1.55; }
.nl-row { align-items: center; }
.nl-row:focus-within { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), inset 0 0 0 1.5px rgba(185, 163, 224, .6), 0 0 0 5px rgba(185, 163, 224, .12); }
.nl-row input { height: 50px; padding: 0 20px; font-size: 1rem; }
.nl-row .btn { height: 50px; padding: 0 24px; border-radius: 999px; }
.nl-form .sf-note { margin: 12px 0 0; font-size: .8rem; }
[data-subscribe].done .nl-row { display: none; }
.nl-later { margin-top: 12px; border: 0; background: none; color: var(--ink-3); font: 500 .88rem var(--text); cursor: pointer; padding: 6px 10px; }
.nl-later:hover { color: var(--ink-2); }

/* ---------------------------------------------------------------- small screens */
@media (max-width: 1000px) { .soon-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .soon-sec { padding: 90px 16px 80px; }
  .soon-grid { grid-template-columns: 1fr; }
  .soon-count { gap: 8px; } .soon-count > div { min-width: 0; flex: 1; padding: 12px 4px 10px; border-radius: 18px; }
  .sf-row { flex-direction: column; border-radius: 28px; } .sf-row input { flex: none; height: 52px; text-align: center; font-size: 16px; } .sf-row .btn { height: 50px; } .sf-row .btn { justify-content: center; }
  .nl-card { padding: 30px 20px 18px; }
  .nl-row { flex-direction: column; align-items: stretch; gap: 10px; padding: 0; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nl-row:focus-within { box-shadow: none; }
  .nl-row input { flex: none; height: 56px; border-radius: 999px; padding: 0 22px; text-align: center; font-size: 16px;
    background: rgba(255, 255, 255, .06); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), inset 0 0 0 1px rgba(255, 255, 255, .14); }
  .nl-row input:focus { box-shadow: inset 0 0 0 1.5px rgba(185, 163, 224, .7), 0 0 0 5px rgba(185, 163, 224, .14); }
  .nl-row .btn { height: 54px; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .soon-glow, .soon-themes .soon-art, .nav-soon i, .soon-dot, .nl-island, .ac-pcs svg { animation: none; }
}

[hidden] { display: none !important; }

/* make-an-account-now links */
.soon-link { display: inline-flex; align-items: center; gap: 6px; margin: 12px 2px 0; font-size: .88rem; font-weight: 600; color: #cbbdf2; text-decoration: none; }
.soon-link span { transition: transform .2s; }
.soon-link:hover { color: #fff; } .soon-link:hover span { transform: translateX(3px); }
.soon-acct-cta { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; width: fit-content; max-width: min(780px, 100%); margin: 22px auto 0; padding: 12px 12px 12px 20px;
  border-radius: 999px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); color: var(--ink-2); font-size: .9rem; text-align: center; }
@media (max-width: 560px) { .soon-acct-cta { border-radius: 22px; padding: 14px 16px; } }
