:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: #302b23;
  background: #f6f1e6;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: radial-gradient(circle at top, #fffdf8 0, #f6f1e6 58%, #ede5d4 100%);
  line-height: 1.65;
}

main {
  width: min(780px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 80px;
}

header { margin-bottom: 36px; }
h1, h2 { line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 7vw, 4rem); margin: 0 0 8px; }
h2 { margin-top: 38px; }
a { color: #875b32; }
.eyebrow { color: #9b6a3c; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.card {
  margin: 24px 0;
  padding: 22px 24px;
  border: 1px solid rgba(83, 67, 45, .16);
  border-radius: 18px;
  background: rgba(255, 255, 255, .58);
  box-shadow: 0 16px 50px rgba(75, 57, 34, .08);
}
.muted { color: #756b5d; }
nav { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; }
footer { margin-top: 52px; color: #756b5d; font-size: .92rem; }
li + li { margin-top: 8px; }

.invite-page {
  min-height: 100vh;
  color: #f8f1df;
  background:
    radial-gradient(circle at 50% 20%, rgba(150, 99, 184, .28), transparent 38%),
    linear-gradient(160deg, #160922 0%, #090016 62%, #100617 100%);
}
.invite-shell {
  width: min(520px, calc(100% - 32px));
  min-height: 100vh;
  padding: 40px 0;
  display: grid;
  place-items: center;
}
.invite-card {
  width: 100%;
  padding: 38px 28px 30px;
  text-align: center;
  border: 1px solid rgba(255, 213, 132, .2);
  border-radius: 30px;
  background: rgba(24, 12, 35, .84);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .38);
}
.invite-card h1 { font-size: clamp(2rem, 9vw, 3.1rem); margin: 10px 0 12px; }
.invite-card .muted { color: rgba(248, 241, 223, .7); }
.invite-mark { height: 74px; display: flex; justify-content: center; align-items: end; gap: 0; }
.invite-mark span {
  width: 36px;
  height: 66px;
  margin: 0 -5px;
  border: 2px solid #f4c96d;
  border-radius: 80% 15% 80% 15%;
  transform: rotate(-34deg);
}
.invite-mark span:nth-child(2) { height: 74px; transform: rotate(0); }
.invite-mark span:nth-child(3) { transform: rotate(34deg) scaleX(-1); }
.room-label { margin-top: 28px; color: #caa96a; font-size: .78rem; font-weight: 800; letter-spacing: .18em; }
.room-code { margin: 4px 0 24px; font-size: 2.25rem; font-weight: 800; letter-spacing: .18em; }
.primary-action, .store-actions a {
  display: block;
  padding: 14px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}
.primary-action { color: #24150c; background: linear-gradient(135deg, #ffe39a, #d39a42); }
.primary-action.disabled { opacity: .45; pointer-events: none; }
.store-prompt { margin: 26px 0 12px; color: rgba(248, 241, 223, .66); font-size: .9rem; }
.store-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.store-actions a { color: #f8f1df; border: 1px solid rgba(248, 241, 223, .25); }
.download-actions { margin-top: 30px; }
.invite-help { margin: 22px auto 0; max-width: 390px; color: rgba(248, 241, 223, .52); font-size: .8rem; line-height: 1.5; }

/* Public app showcase */
.download-page {
  min-height: 100vh;
  overflow-x: hidden;
  color: #f8f1df;
  background:
    radial-gradient(circle at 74% 8%, rgba(181, 111, 202, .18), transparent 24rem),
    radial-gradient(circle at 8% 36%, rgba(244, 201, 109, .10), transparent 28rem),
    #08030e;
  line-height: 1.55;
}
.download-page a { color: inherit; }
.download-nav {
  position: relative;
  z-index: 5;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fffaf0;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 750;
  letter-spacing: .02em;
}
.brand img { width: 68px; height: 68px; object-fit: contain; }
.nav-download {
  padding: 9px 18px;
  border: 1px solid rgba(244, 201, 109, .42);
  border-radius: 999px;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 700;
}
.download-main { width: 100%; margin: 0; padding: 0; }
.download-hero {
  width: min(1180px, calc(100% - 40px));
  min-height: 670px;
  margin: 0 auto;
  padding: 58px 0 82px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
  gap: 72px;
  align-items: center;
}
.hero-copy { position: relative; z-index: 2; }
.hero-copy .eyebrow,
.download-page .eyebrow { color: #d8b269; font-size: .75rem; letter-spacing: .19em; }
.hero-copy h1 {
  max-width: 760px;
  margin: 16px 0 22px;
  color: #fffaf0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 7vw, 6.7rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .94;
}
.hero-copy > p {
  max-width: 610px;
  margin: 0;
  color: rgba(248, 241, 223, .72);
  font-size: clamp(1rem, 2vw, 1.2rem);
}
.official-store-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.official-store-actions a {
  display: flex;
  align-items: center;
  height: 58px;
  transition: transform .2s ease, filter .2s ease;
}
.official-store-actions a:hover { transform: translateY(-2px); filter: brightness(1.08); }
.official-store-actions img { display: block; width: auto; height: 100%; object-fit: contain; }
.official-store-actions img[data-media="googlePlayBadge"] {
  height: 86px;
  margin-inline: -14px;
}
.hero-copy .hero-note {
  margin-top: 13px;
  color: rgba(248, 241, 223, .48);
  font-size: .78rem;
}
.hero-visual { position: relative; display: grid; place-items: center; min-height: 570px; }
.hero-glow {
  position: absolute;
  width: min(420px, 90vw);
  height: min(420px, 90vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(210, 148, 229, .34), rgba(93, 48, 132, .12) 52%, transparent 72%);
  filter: blur(10px);
}
.phone-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 32px;
  background: #0b0610;
  box-shadow: 0 34px 88px rgba(0, 0, 0, .48);
}
.phone-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-phone {
  position: relative;
  width: min(310px, 72vw);
  aspect-ratio: 1320 / 2868;
  transform: rotate(3deg);
  box-shadow: 0 38px 100px rgba(0, 0, 0, .55), 0 0 70px rgba(186, 127, 213, .12);
}
.benefit-strip {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.benefit-strip article {
  min-height: 142px;
  padding: 22px 20px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 22px;
  background: rgba(255, 255, 255, .035);
}
.benefit-strip span { display: block; color: #f4c96d; font-size: 1.4rem; }
.benefit-strip strong { display: block; margin-top: 12px; color: #fffaf0; font-size: .95rem; }
.benefit-strip small {
  display: block;
  margin-top: 4px;
  color: rgba(248, 241, 223, .54);
  font-size: .78rem;
  line-height: 1.4;
}
.showcase-section {
  padding: 105px max(20px, calc((100vw - 1180px) / 2));
  overflow: hidden;
  background: #f6f1e6;
  color: #302b23;
}
.section-heading {
  margin-bottom: 38px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.section-heading h2,
.final-cta h2 {
  max-width: 720px;
  margin: 8px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  font-weight: 500;
  letter-spacing: -.035em;
}
.carousel-controls { display: flex; gap: 10px; }
.carousel-controls button {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(48, 43, 35, .2);
  border-radius: 50%;
  color: #3b3329;
  background: rgba(255, 255, 255, .55);
  font-size: 1.2rem;
  cursor: pointer;
}
.carousel-controls button:hover { background: #fff; }
.screenshot-carousel {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  padding: 8px 4px 32px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #b69873 transparent;
  overscroll-behavior-x: contain;
}
.screenshot-card { flex: 0 0 min(292px, 76vw); margin: 0; scroll-snap-align: start; }
.screenshot-card .phone-frame {
  width: 100%;
  aspect-ratio: 1320 / 2868;
  border: 7px solid #201a22;
  border-radius: 38px;
  box-shadow: 0 26px 54px rgba(55, 38, 23, .18);
}
.screenshot-card figcaption { padding: 20px 5px 0; }
.screenshot-card figcaption strong {
  display: block;
  color: #302b23;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}
.screenshot-card figcaption span {
  display: block;
  margin-top: 5px;
  color: #756b5d;
  font-size: .86rem;
  line-height: 1.45;
}
.reel-section {
  padding: 110px max(20px, calc((100vw - 1180px) / 2)) 120px;
  background: linear-gradient(165deg, #13091c, #08030e 60%);
}
.centered-heading { justify-content: center; text-align: center; }
.centered-heading h2 { margin-inline: auto; color: #fffaf0; }
.centered-heading p {
  max-width: 640px;
  margin: 16px auto 0;
  color: rgba(248, 241, 223, .6);
}
.reel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.reel-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 26px;
  background: rgba(255, 255, 255, .045);
  box-shadow: 0 28px 64px rgba(0, 0, 0, .25);
}
.reel-card video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #0b0610;
}
.reel-card > div { padding: 22px; }
.reel-card h3 {
  margin: 0;
  color: #fffaf0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 500;
}
.reel-card p { margin: 7px 0 0; color: rgba(248, 241, 223, .57); font-size: .86rem; }
.final-cta {
  padding: 112px 20px 122px;
  color: #302b23;
  background: radial-gradient(circle at 50% 20%, #fffdfa, #f6f1e6 62%, #eadfca);
  text-align: center;
}
.final-cta > img { width: 108px; height: 108px; object-fit: contain; }
.final-cta h2 { margin-inline: auto; }
.final-cta > p { max-width: 560px; margin: 16px auto 0; color: #756b5d; }
.centered-actions { justify-content: center; }
.download-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 34px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(248, 241, 223, .48);
  font-size: .8rem;
}
.download-footer nav { margin: 0; gap: 20px; }
.download-footer a { text-decoration: none; }
.reveal-section {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-section.is-visible { opacity: 1; transform: none; }

@media (max-width: 820px) {
  .download-hero { grid-template-columns: 1fr; gap: 26px; padding-top: 42px; text-align: center; }
  .hero-copy > p { margin-inline: auto; }
  .official-store-actions { justify-content: center; }
  .hero-visual { min-height: 490px; }
  .benefit-strip { grid-template-columns: 1fr 1fr; }
  .reel-grid { grid-template-columns: 1fr; max-width: 390px; margin: 0 auto; }
  .download-footer { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 520px) {
  .download-nav { padding-top: 18px; }
  .brand img { width: 62px; height: 62px; }
  .download-hero { width: min(100% - 28px, 1180px); min-height: auto; padding: 42px 0 64px; }
  .hero-copy h1 { font-size: clamp(3.2rem, 17vw, 4.8rem); }
  .official-store-actions { flex-direction: column; }
  .official-store-actions a { height: 52px; }
  .official-store-actions img[data-media="googlePlayBadge"] {
    height: 77px;
    margin-inline: -13px;
  }
  .benefit-strip { grid-template-columns: 1fr; width: min(100% - 28px, 1180px); }
  .benefit-strip article { min-height: 0; }
  .showcase-section,
  .reel-section { padding-top: 76px; padding-bottom: 86px; }
  .section-heading { align-items: center; }
  .carousel-controls button { width: 42px; height: 42px; }
  .final-cta { padding-top: 82px; padding-bottom: 92px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* Ivory Dream landing-page theme */
.download-page {
  color: #35304e;
  background:
    radial-gradient(circle at 86% 4%, rgba(252, 183, 212, .38), transparent 24rem),
    radial-gradient(circle at 10% 30%, rgba(188, 216, 228, .48), transparent 28rem),
    radial-gradient(circle at 56% 82%, rgba(234, 213, 245, .58), transparent 30rem),
    #fffaf4;
}
.download-page::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  opacity: .42;
  background-image: radial-gradient(rgba(108, 89, 172, .18) .65px, transparent .65px);
  background-size: 17px 17px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}
.download-page > * { position: relative; z-index: 1; }
.download-nav {
  border-bottom: 1px solid rgba(87, 67, 129, .12);
}
.brand { color: #352c50; }
.nav-download {
  border-color: rgba(105, 80, 178, .32);
  color: #fff;
  background: linear-gradient(135deg, #765ec2, #a64cae);
  box-shadow: 0 10px 22px rgba(104, 75, 168, .22);
}
.hero-copy .eyebrow,
.download-page .eyebrow { color: #7863ba; }
.hero-copy h1 { color: #342a50; }
.hero-copy > p { color: #655f77; }
.hero-copy .hero-note { color: #807991; }
.hero-visual { isolation: isolate; }
.hero-glow {
  width: min(500px, 92vw);
  height: min(500px, 92vw);
  background: radial-gradient(circle, rgba(244, 104, 176, .22), rgba(137, 110, 205, .17) 49%, transparent 72%);
  filter: blur(2px);
}
.phone-frame {
  border-color: rgba(118, 92, 184, .2);
  background: #fffdfb;
  box-shadow: 0 34px 88px rgba(79, 60, 115, .2);
}
.hero-phone {
  box-shadow: 0 38px 100px rgba(79, 60, 115, .24), 0 0 70px rgba(228, 105, 172, .17);
}
.benefit-strip article {
  border-color: rgba(113, 89, 176, .17);
  background: rgba(255, 255, 255, .66);
  box-shadow: 0 14px 34px rgba(94, 72, 143, .08);
  backdrop-filter: blur(10px);
}
.benefit-strip article:nth-child(2) { background: rgba(243, 238, 255, .77); }
.benefit-strip article:nth-child(3) { background: rgba(255, 237, 246, .74); }
.benefit-strip article:nth-child(4) { background: rgba(236, 248, 246, .76); }
.benefit-strip span { color: #765ec2; }
.benefit-strip article:nth-child(3) span { color: #d25396; }
.benefit-strip article:nth-child(4) span { color: #278f8a; }
.benefit-strip strong { color: #393152; }
.benefit-strip small { color: #716a82; }
.showcase-section {
  background:
    radial-gradient(circle at 15% 12%, rgba(213, 194, 239, .34), transparent 26rem),
    linear-gradient(180deg, rgba(255, 253, 249, .76), rgba(250, 245, 253, .94));
  color: #37304f;
}
.section-heading h2,
.final-cta h2 { color: #352b50; }
.carousel-controls button {
  border-color: rgba(112, 89, 172, .25);
  color: #644dab;
  background: rgba(255, 255, 255, .72);
}
.carousel-controls button:hover { background: #fff; }
.screenshot-carousel { scrollbar-color: #9b84d3 transparent; }
.screenshot-card .phone-frame {
  border-color: #fefcff;
  box-shadow: 0 26px 54px rgba(90, 67, 135, .19), 0 0 0 1px rgba(118, 92, 184, .14);
}
.screenshot-card figcaption strong { color: #393152; }
.screenshot-card figcaption span { color: #716a82; }
.reel-section {
  background:
    radial-gradient(circle at 82% 16%, rgba(251, 178, 209, .34), transparent 27rem),
    radial-gradient(circle at 11% 64%, rgba(174, 208, 226, .4), transparent 28rem),
    #eee7f5;
}
.centered-heading h2 { color: #352b50; }
.centered-heading p { color: #6d6680; }
.reel-card {
  border-color: rgba(117, 91, 180, .17);
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 28px 64px rgba(91, 66, 138, .14);
}
.reel-card video { background: #f8f3fb; }
.reel-card h3 { color: #393152; }
.reel-card p { color: #716a82; }
.final-cta {
  background:
    radial-gradient(circle at 50% 15%, rgba(251, 187, 217, .42), transparent 20rem),
    radial-gradient(circle at 18% 74%, rgba(181, 215, 232, .42), transparent 24rem),
    #fffaf4;
}
.final-cta > p { color: #716a82; }
.download-footer {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 28px max(20px, calc((100vw - 1180px) / 2)) 36px;
  color: rgba(255, 250, 244, .72);
  background: #352b50;
}
.download-footer a { color: #fffaf4; }
