/* siroon.app home. Loaded after site.css on the home page only. The page follows the app: its dark, its Playfair and
   Plus Jakarta Sans, its warm peach in Love and its rose in Passion (body[data-mode], switched in the hero).
   No inline styles anywhere: the page's Content-Security-Policy forbids them. */

.home {
  --bg: #09080c;
  --bg-2: #100e14;
  --panel: #141118;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --cream: #f5ede6;
  --soft: #cbbfc4;
  --dim: #918590;
  --accent: #f3b582;
  --accent-hi: #fdd3ad;
  --accent-ink: #24151a;
  --glow: rgba(243, 160, 110, 0.32);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1200px;
  background: var(--bg);
  color: var(--cream);
}
.home[data-mode='passion'] {
  --accent: #f07a9f;
  --accent-hi: #ffb3c8;
  --accent-ink: #2a0d18;
  --glow: rgba(226, 70, 120, 0.34);
}
.home main {
  overflow-x: clip;
}
.home .wrap {
  max-width: var(--max);
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Love or Passion: what belongs to the other mode stays out of sight (and out of the way). */
.home .for-passion,
.home[data-mode='passion'] .for-love {
  display: none;
}
.home[data-mode='passion'] .for-passion {
  display: revert;
}

/* ---- Header ------------------------------------------------------------------------------------ */

.home .site-header {
  position: fixed;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: background 0.35s ease, border-color 0.35s ease;
}
.home .site-header.scrolled {
  background: rgba(9, 8, 12, 0.72);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
}
.home .site-header .wrap {
  min-height: 72px;
}
.home .brand span {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5em;
}
.home .nav {
  align-items: center;
  gap: 4px 28px;
}
.home .nav a {
  color: var(--soft);
}
.home .nav a:hover {
  color: var(--cream);
}
.home .nav .nav-cta {
  margin-left: 6px;
  padding: 0 20px;
  border: 0;
  background: var(--cream);
  color: #140f13;
  font-weight: 600;
  transition: background 0.25s ease, transform 0.25s var(--ease);
}
.home .nav .nav-cta:hover {
  background: #fff;
  color: #140f13;
  transform: translateY(-1px);
}

/* ---- Type and buttons ----------------------------------------------------------------------- */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  transition: color 0.5s ease;
}
.title-xl,
.headline {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--cream);
  text-wrap: balance;
}
.title-xl {
  font-size: clamp(46px, 6.2vw, 88px);
  line-height: 1.02;
}
.headline {
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.08;
}
.headline.big {
  font-size: clamp(44px, 6vw, 84px);
}
.title-xl em,
.headline em,
.soon-card h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  transition: color 0.5s ease;
}
.lead {
  max-width: 34em;
  margin: 22px 0 0;
  font-size: clamp(16px, 1.25vw, 18.5px);
  line-height: 1.7;
  color: var(--soft);
  text-wrap: pretty;
}
.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6fdc9b;
  box-shadow: 0 0 0 0 rgba(111, 220, 155, 0.5);
  animation: live 2.4s ease-out infinite;
}
@keyframes live {
  to { box-shadow: 0 0 0 9px rgba(111, 220, 155, 0); }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  font: 600 15.5px/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.btn:focus-visible,
.mode-switch button:focus-visible,
.try-start:focus-visible {
  outline: 2px solid var(--accent-hi);
  outline-offset: 3px;
}
.btn-primary {
  color: var(--accent-ink);
  background: linear-gradient(135deg, var(--accent-hi), var(--accent));
  box-shadow: 0 12px 34px -12px var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-primary:hover {
  color: var(--accent-ink);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -12px var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-quiet {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.btn-quiet:hover {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.09);
}
.section-head {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}
.section-head .lead {
  margin-left: auto;
  margin-right: auto;
}

/* ---- The phone ------------------------------------------------------------------------------ */
/* A real screenshot of the app (390 x 800 points) under a drawn status bar, in a device frame. */

.phone {
  --w: 300px;
  position: relative;
  width: var(--w);
  padding: calc(var(--w) * 0.032);
  border-radius: calc(var(--w) * 0.165);
  background: linear-gradient(150deg, #3a353b 0%, #121014 22%, #0c0b0e 70%, #2c282e 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    inset 0 0 0 calc(var(--w) * 0.01) #050406,
    0 50px 90px -30px rgba(0, 0, 0, 0.9),
    0 30px 80px -40px var(--glow);
}
.phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--w) * 0.135);
  background: #0c0a0f;
  container-type: inline-size;
}
.sbar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  aspect-ratio: 390 / 50;
  padding: 1cqw 7cqw 0 9cqw;
  color: #fff;
  font: 600 4cqw/1 -apple-system, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif;
  letter-spacing: -0.01em;
}
.island {
  position: absolute;
  left: 50%;
  top: 2.8cqw;
  width: 29cqw;
  height: 8.6cqw;
  transform: translateX(-50%);
  border-radius: 99px;
  background: #000;
}
.sbar-icons {
  width: 17cqw;
  height: auto;
}
.phone-app {
  position: relative;
  aspect-ratio: 390 / 800;
}
.shot {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-bar {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 2.2cqw;
  width: 34cqw;
  height: 1.3cqw;
  border-radius: 9px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.55);
}

/* ---- Hero --------------------------------------------------------------------------------- */

.intro {
  position: relative;
  padding: clamp(112px, 15vh, 150px) 0 clamp(72px, 10vh, 120px);
  isolation: isolate;
}
.hero-glow {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(50% 55% at 75% 45%, var(--glow), transparent 70%),
    radial-gradient(40% 40% at 10% 0%, rgba(255, 255, 255, 0.04), transparent 70%);
  opacity: 0.55;
}
.hero-grid {
  display: grid;
  gap: 56px;
  align-items: center;
}
@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 72px;
  }
}
.hero-copy .lead {
  min-height: 3.4em;
}
.mode-switch {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 34px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.mode-switch button {
  position: relative;
  z-index: 1;
  min-width: 118px;
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--soft);
  font: 600 13px/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.4s ease;
}
.mode-switch button[aria-checked='true'] {
  color: var(--accent-ink);
}
.mode-thumb {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: calc(50% - 5px);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-hi), var(--accent));
  box-shadow: 0 8px 24px -8px var(--glow);
  transition: transform 0.55s var(--ease);
}
.home[data-mode='passion'] .mode-thumb {
  transform: translateX(100%);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  margin-top: 36px;
}
.hero-actions .cta {
  display: contents;
}
.hero-actions .waitlist {
  flex: 1 1 100%;
  max-width: 480px;
  margin: 0;
}

.hero-visual {
  position: relative;
  padding: 0 0 48px 64px;
}
.hero-photo {
  position: relative;
  margin: 0 0 0 auto;
  width: 100%;
  max-width: 470px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--line);
}
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}
.home .hero-photo img.for-passion,
.home .hero-photo img.for-love {
  display: block;
  opacity: 1;
  transition: opacity 0.8s ease;
}
.home .hero-photo img.for-passion,
.home[data-mode='passion'] .hero-photo img.for-love {
  opacity: 0;
}
.home[data-mode='passion'] .hero-photo img.for-passion {
  opacity: 1;
}
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 8, 12, 0.35) 0%, rgba(9, 8, 12, 0) 30%, rgba(9, 8, 12, 0) 55%, rgba(9, 8, 12, 0.7) 100%);
}
.hero-photo figcaption {
  position: absolute;
  z-index: 1;
  top: 20px;
  right: 20px;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(9, 8, 12, 0.55);
  box-shadow: inset 0 0 0 1px var(--line-2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cream);
}
.hero-phone {
  --w: 252px;
  position: absolute;
  left: 0;
  bottom: 0;
}
.home .hero-phone .shot.for-love,
.home .hero-phone .shot.for-passion {
  display: block;
  transition: opacity 0.6s ease;
}
.home .hero-phone .shot.for-passion,
.home[data-mode='passion'] .hero-phone .shot.for-love {
  opacity: 0;
}
.home[data-mode='passion'] .hero-phone .shot.for-passion {
  opacity: 1;
}

@media (max-width: 979px) {
  .intro {
    padding-top: 108px;
  }
  .hero-copy {
    text-align: center;
  }
  .hero-copy .lead {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-actions .waitlist {
    margin: 0 auto;
  }
  .hero-visual {
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
    padding: 0 0 40px 18%;
  }
  .hero-phone {
    --w: min(46vw, 250px);
  }
  .hero-photo figcaption {
    display: none;
  }
}
@media (max-width: 520px) {
  .home .nav .nav-cta {
    min-height: 40px;
    padding: 0 16px;
    font-size: 13.5px;
  }
  .kicker {
    letter-spacing: 0.16em;
  }
  .mode-switch button {
    min-width: 0;
  }
  .hero-actions .btn {
    flex: 1 1 100%;
  }
}

/* Entrance and reveals: soft and quick, never in the way. */
.js.motion [data-in] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--ease), transform 1s var(--ease);
}
.js.motion [data-in]:nth-child(2) { transition-delay: 0.08s; }
.js.motion [data-in]:nth-child(3) { transition-delay: 0.16s; }
.js.motion [data-in]:nth-child(4) { transition-delay: 0.24s; }
.js.motion [data-in]:nth-child(5) { transition-delay: 0.32s; }
.js.motion .hero-visual[data-in] {
  transform: translateY(28px);
  transition-delay: 0.2s;
}
.js.motion.ready [data-in] {
  opacity: 1;
  transform: none;
}
.js.motion [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js.motion [data-reveal].in {
  opacity: 1;
  transform: none;
}
.motion .hero-phone {
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  50% { translate: 0 -10px; }
}
.motion .hero-photo img {
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

/* ---- In short: a framed panel of four points, each with the app's own icon ----------------- */

.proof {
  position: relative;
  padding: 8px 0 24px;
}
.proof-list {
  position: relative;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-radius: 28px;
  background:
    radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  box-shadow:
    inset 0 0 0 1px var(--line),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 30px 80px -40px rgba(0, 0, 0, 0.8);
}
.proof-list li {
  position: relative;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 34px 32px 36px;
}
/* Dividers that fade out at both ends, inside the panel. */
.proof-list li + li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 28px;
  bottom: 28px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line-2) 30%, var(--line-2) 70%, transparent);
}
.proof-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
  border-radius: 50%;
  color: var(--accent);
  background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 72%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 38%, transparent), 0 0 24px -6px var(--glow);
  transition: color 0.5s ease, box-shadow 0.4s ease, transform 0.4s var(--ease);
}
.proof-icon svg {
  width: 24px;
  height: 24px;
}
.proof-list li:hover .proof-icon {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 60%, transparent), 0 0 30px -4px var(--glow);
}
.proof-list strong {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--cream);
}
.proof-text {
  max-width: 24em;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--dim);
}
@media (max-width: 979px) {
  .proof-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .proof-list li:nth-child(3)::before {
    display: none;
  }
  .proof-list li:nth-child(n + 3)::after {
    content: '';
    position: absolute;
    top: 0;
    left: 28px;
    right: 28px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line-2) 25%, var(--line-2) 75%, transparent);
  }
}
@media (max-width: 560px) {
  .proof-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .proof-list li {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 18px;
    row-gap: 4px;
    padding: 24px 22px;
  }
  .proof-list li::before {
    display: none;
  }
  .proof-list li + li::after {
    content: '';
    position: absolute;
    top: 0;
    left: 22px;
    right: 22px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line-2) 20%, var(--line-2) 80%, transparent);
  }
  .proof-icon {
    grid-row: span 2;
    margin: 2px 0 0;
  }
  .proof-list strong {
    font-size: 19px;
  }
}

/* ---- How it works: a phone that stays while the story scrolls past it ---------------------- */

.how {
  padding: 140px 0 60px;
}
.how-grid {
  display: grid;
  gap: 48px;
}
.how-stage {
  display: none;
}
.chapter {
  max-width: 520px;
  margin: 0 auto 88px;
  text-align: center;
}
.chapter-num {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.chapter-num span {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0;
  color: var(--dim);
}
.chapter h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.12;
  text-wrap: balance;
}
.chapter > p:not(.chapter-num) {
  margin: 16px auto 0;
  max-width: 30em;
  font-size: 17px;
  line-height: 1.7;
  color: var(--soft);
}
.chapter-phone .phone {
  --w: min(78vw, 300px);
  margin: 40px auto 0;
}
@media (min-width: 980px) {
  .how-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 64px;
  }
  .how-stage {
    display: block;
  }
  .how-sticky {
    position: sticky;
    top: calc(50vh - 330px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
  }
  .how-phone {
    --w: 316px;
  }
  .how-phone .shot {
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.6s ease, transform 0.8s var(--ease);
  }
  .how-phone .shot.on {
    opacity: 1;
    transform: none;
  }
  .how-dots {
    list-style: none;
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
  }
  .how-dots li {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--line-2);
    transition: background 0.4s ease, transform 0.4s var(--ease);
  }
  .how-dots li.on {
    background: var(--accent);
    transform: scale(1.5);
  }
  .chapter {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 480px;
    min-height: 78vh;
    margin: 0;
    text-align: left;
    opacity: 0.32;
    transition: opacity 0.5s ease;
  }
  .chapter.on {
    opacity: 1;
  }
  .chapter > p:not(.chapter-num) {
    margin-left: 0;
  }
  .chapter-phone {
    display: none;
  }
}

/* ---- Try it ------------------------------------------------------------------------------- */

.try {
  padding: 60px 0 140px;
}
.try-grid {
  position: relative;
  display: grid;
  gap: 48px;
  align-items: center;
  border-radius: 40px;
  background:
    radial-gradient(70% 90% at 85% 50%, var(--glow), transparent 70%),
    linear-gradient(160deg, #17131b, #0d0b10);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}
@media (min-width: 980px) {
  .try-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
    gap: 64px;
    padding: 72px;
  }
}
@media (max-width: 979px) {
  .home .try-grid {
    padding: 48px 22px;
    text-align: center;
  }
  .try-copy .lead {
    margin-left: auto;
    margin-right: auto;
  }
}
.try-steps {
  counter-reset: step;
  list-style: none;
  display: grid;
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
}
.try-steps li {
  counter-increment: step;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--soft);
  text-align: left;
}
.try-steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-family: var(--serif);
  font-size: 14px;
  color: var(--accent);
}
@media (max-width: 979px) {
  .try-steps {
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}
.fine-print {
  margin: 26px 0 0;
  font-size: 13px;
  color: var(--dim);
}
.try-device {
  display: flex;
  justify-content: center;
}
.try-phone {
  --w: min(84vw, 340px);
}
.try-frame {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.try-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 390px;
  height: 800px;
  border: 0;
  transform-origin: 0 0;
  background: #0b0a0f;
}
.try-start {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  padding: 0 24px;
  background: linear-gradient(180deg, rgba(9, 8, 12, 0.15), rgba(9, 8, 12, 0.72) 55%, rgba(9, 8, 12, 0.9));
  color: var(--cream);
  font-family: var(--sans);
  cursor: pointer;
}
.try-play {
  position: relative;
  width: 76px;
  height: 76px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-hi), var(--accent));
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.06), 0 18px 40px -10px var(--glow);
  transition: transform 0.3s var(--ease);
}
.try-play::after {
  content: '';
  position: absolute;
  left: 31px;
  top: 25px;
  border-style: solid;
  border-width: 13px 0 13px 21px;
  border-color: transparent transparent transparent var(--accent-ink);
}
.try-start:hover .try-play {
  transform: scale(1.06);
}
.try-start strong {
  font-size: 17px;
}
.try-start small {
  font-size: 12.5px;
  color: var(--soft);
}
.try-phone.running .try-start,
.try-phone.running .try-poster {
  display: none;
}
.motion .try-play {
  animation: beckon 2.8s ease-in-out infinite;
}
@keyframes beckon {
  0%, 100% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.06), 0 18px 40px -10px var(--glow); }
  50% { box-shadow: 0 0 0 18px rgba(255, 255, 255, 0.02), 0 18px 40px -10px var(--glow); }
}

/* ---- Two modes ------------------------------------------------------------------------------ */

.duo {
  padding: 40px 0 140px;
}
.mode-cards {
  display: grid;
  gap: 22px;
}
@media (min-width: 760px) {
  .mode-cards {
    grid-template-columns: 1fr 1fr;
  }
}
.mode-card {
  position: relative;
  min-height: clamp(420px, 52vw, 600px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: 0 0 0 1px var(--line);
  isolation: isolate;
}
.mode-card img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
  transition: transform 1.2s var(--ease);
}
.mode-card:hover img {
  transform: scale(1.04);
}
.mode-card::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 8, 12, 0) 35%, rgba(9, 8, 12, 0.92) 100%);
}
.mode-card-text {
  padding: 36px;
}
.mode-card .kicker {
  margin-bottom: 10px;
}
.mode-card.love .kicker {
  color: #f3b582;
}
.mode-card.passion .kicker {
  color: #f07a9f;
}
.mode-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 500;
  line-height: 1;
}
.mode-card p:last-child {
  max-width: 26em;
  margin: 14px 0 0;
  color: var(--soft);
  line-height: 1.65;
}

/* ---- Polls (assets/polls.js): shown only when the polls Worker answers ----------------------- */

.poll {
  position: relative;
  max-width: 720px;
  margin: 56px auto 0;
  padding: 36px;
  border-radius: 28px;
  background:
    radial-gradient(120% 120% at 50% 0%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 30px 80px -40px rgba(0, 0, 0, 0.8);
  text-align: center;
}
.poll[hidden] {
  display: none;
}
.poll-head .kicker {
  margin-bottom: 12px;
}
.poll h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 500;
  line-height: 1.1;
}
.poll-sub {
  margin: 10px 0 0;
  color: var(--soft);
}
.poll-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}
.poll-choice {
  display: grid;
  gap: 6px;
  padding: 22px 18px;
  border: 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--cream);
  font-family: var(--sans);
  text-align: center;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, background 0.3s ease;
}
.poll-choice strong {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
}
.poll-choice span {
  font-size: 14px;
  color: var(--dim);
}
.poll-choice.love strong {
  color: #f3b582;
}
.poll-choice.passion strong {
  color: #f07a9f;
}
.poll-choice:hover {
  transform: translateY(-2px);
}
.poll-choice.love:hover {
  background: rgba(243, 181, 130, 0.08);
  box-shadow: inset 0 0 0 1px rgba(243, 181, 130, 0.5), 0 14px 40px -18px rgba(243, 160, 110, 0.55);
}
.poll-choice.passion:hover {
  background: rgba(240, 122, 159, 0.08);
  box-shadow: inset 0 0 0 1px rgba(240, 122, 159, 0.5), 0 14px 40px -18px rgba(226, 70, 120, 0.55);
}
.poll-choice:focus-visible,
.poll select:focus-visible {
  outline: 2px solid var(--accent-hi);
  outline-offset: 3px;
}
.poll.busy {
  pointer-events: none;
}
.poll.busy .poll-choices,
.poll.busy .poll-ask {
  opacity: 0.55;
}
.poll-ask {
  text-align: left;
}
.poll-label {
  display: block;
  margin: 0 0 10px 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--soft);
}
.poll-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.poll select {
  flex: 1 1 240px;
  min-width: 0;
  height: 54px;
  padding: 0 44px 0 20px;
  border: 0;
  border-radius: 999px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23cbbfc4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 20px center / 12px 8px no-repeat,
    rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--cream);
  font: 15.5px var(--sans);
  -webkit-appearance: none;
  appearance: none;
}
.poll select option {
  background: #151219;
  color: var(--cream);
}
.poll-row .btn {
  flex: none;
  min-width: 120px;
}
@media (max-width: 520px) {
  .poll {
    padding: 28px 20px;
  }
  .poll-choices {
    grid-template-columns: 1fr;
  }
  .poll-row .btn {
    flex: 1 1 100%;
  }
}
.poll-results:empty {
  display: none;
}
.poll-language.answered .poll-results {
  margin-top: 0;
}
.poll-results {
  margin-top: 26px;
  text-align: left;
}
.poll-bars {
  list-style: none;
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
}
.poll-bar-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 15px;
}
.poll-bar-head span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
}
.poll-bar-head em {
  padding: 3px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--accent);
  font-size: 11.5px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.poll-bar-head strong {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
}
.poll-track {
  height: 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.poll-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 55%, transparent), var(--accent));
  transition: width 1.1s var(--ease);
}
.poll-bar.choice-love .poll-track span {
  background: linear-gradient(90deg, rgba(243, 181, 130, 0.5), #f3b582);
}
.poll-bar.choice-passion .poll-track span {
  background: linear-gradient(90deg, rgba(240, 122, 159, 0.5), #f07a9f);
}
.poll-bar:not(.mine) .poll-track span {
  opacity: 0.6;
}
.poll-message {
  margin: 0 0 18px;
  color: var(--soft);
  text-align: center;
}
.poll-message.error {
  color: #ff9a9a;
}
.poll-total {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--dim);
  text-align: center;
}
.poll-note {
  margin: 22px 0 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--dim);
}
.poll-check:empty {
  display: none;
}
.poll-check {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}
.duo .poll {
  margin-top: 64px;
}

/* ---- Languages ------------------------------------------------------------------------------ */

.langs {
  padding: 20px 0 140px;
}
.langs .section-head {
  margin-bottom: 0;
}
.langs .poll {
  margin-top: 44px;
}

/* ---- Safety ------------------------------------------------------------------------------- */

.safety {
  padding: 40px 0 140px;
}
.safety-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
}
.safety-grid li {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 28px 24px;
  border-radius: 24px;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
}
.safety-grid svg {
  width: 26px;
  height: 26px;
  margin-bottom: 10px;
  color: var(--accent);
  transition: color 0.5s ease;
}
.safety-grid strong {
  font-size: 16.5px;
}
.safety-grid span {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--dim);
}
.safety-link {
  margin: 36px 0 0;
  text-align: center;
}
.safety-link a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent);
}

/* ---- Join ----------------------------------------------------------------------------------- */

.join {
  position: relative;
  padding: 120px 0 150px;
  text-align: center;
  isolation: isolate;
}
.join-glow {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: min(900px, 120vw);
  aspect-ratio: 1.6;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, var(--glow), transparent);
  opacity: 0.6;
}
.join-inner {
  max-width: 760px;
}
.join .lead {
  margin-left: auto;
  margin-right: auto;
}
.join .cta {
  margin-top: 38px;
}

/* ---- Waitlist form ------------------------------------------------------------------------- */

.waitlist {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}
.waitlist-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.waitlist-full .waitlist-row {
  border-radius: 26px;
  padding: 12px;
}
.field {
  display: grid;
  gap: 6px;
  flex: 1 1 200px;
  min-width: 0;
}
.field-label {
  padding-left: 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--soft);
}
.optional {
  color: var(--dim);
  font-weight: 400;
}
.field input,
.field select {
  width: 100%;
  height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--cream);
  font: 15px var(--sans);
}
.waitlist-full .field input,
.waitlist-full .field select {
  background: rgba(255, 255, 255, 0.05);
}
.field select option {
  background: #151219;
}
.field input::placeholder {
  color: var(--dim);
}
.field input:focus-visible,
.field select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 0;
}
.field input[aria-invalid='true'] {
  outline: 2px solid #ff9a9a;
}
.waitlist-row .btn {
  min-height: 48px;
  flex: none;
}
.waitlist-full .waitlist-row .btn {
  flex: 1 1 100%;
}
@media (max-width: 520px) {
  .waitlist-row {
    border-radius: 26px;
  }
  .waitlist-row .btn {
    flex: 1 1 100%;
  }
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.consent {
  margin: 14px 8px 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--dim);
}
.consent a {
  color: var(--soft);
}
.form-status:empty {
  display: none;
}
.form-status {
  margin: 12px 8px 0;
  font-size: 14px;
}
.form-status.error {
  color: #ff9a9a;
}
.form-status.success {
  color: #a8e0bd;
}
.waitlist.done .waitlist-row {
  display: none;
}
.stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ---- "Opening soon" dialog ------------------------------------------------------------------ */

.soon {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 16px;
}
.soon:target,
.soon.open {
  display: grid;
}
.js .soon:not(.open) {
  display: none;
}
.soon-scrim {
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 7, 0.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  animation: fade 0.35s ease;
}
@keyframes fade {
  from { opacity: 0; }
}
.soon-card {
  position: relative;
  width: min(440px, 100%);
  padding: 40px 32px 32px;
  border-radius: 28px;
  background: radial-gradient(100% 70% at 50% 0%, var(--glow), transparent 70%), #141118;
  box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 120px -20px rgba(0, 0, 0, 0.9);
  text-align: center;
  animation: rise 0.5s var(--ease);
}
@keyframes rise {
  from { transform: translateY(16px); opacity: 0; }
}
.soon-card .kicker {
  margin-bottom: 14px;
  color: var(--soft);
}
.soon-card h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.12;
}
.soon-card p {
  color: var(--soft);
}
.soon-close {
  min-width: 160px;
  margin-top: 8px;
}
.soon-open {
  overflow: hidden;
}

/* ---- Footer ----------------------------------------------------------------------------------- */

.home .site-footer {
  margin-top: 0;
  background: var(--bg-2);
}
.home .site-footer p {
  margin: 12px 0 0;
  color: var(--dim);
  font-size: 14px;
}
.home .site-footer .fine {
  margin: 0;
}

/* ---- Reduced motion: nothing moves on its own ----------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .home *,
  .home *::before,
  .home *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}
