@font-face {
  font-family: 'Onest';
  src: url('/marketing/a/onest.1bd1180da2.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Baloo';
  src: url('/marketing/a/baloo.fe09d766b1.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

/* Chirpy: the logo's purple bubble and amber beak, on a purple night. */
:root {
  --ink: #17122e;
  --dusk: #241b4d;
  --dusk-2: #352a6e;
  --brand: #7650db;
  --lamp: #ffb020;
  --lamp-deep: #f59a10;
  --neon: #b9a4ff;
  --violet: #b9a4ff;
  --paper: #fff7ec;
  --haze: #c3badf;
  --measure: 34rem;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 17px/1.6 'Onest', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: var(--violet);
}
:focus-visible {
  outline: 3px solid var(--lamp);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 10;
  background: var(--paper);
  color: var(--ink);
  padding: 8px 14px;
}

.wrap {
  width: min(1180px, 100% - 48px);
  margin-inline: auto;
}

h1,
h2,
h3 {
  font-family: 'Baloo', 'Onest', sans-serif;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.9rem, 6.2vw, 5.4rem);
}
h2 {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
}
h3 {
  font-size: 1.45rem;
  line-height: 1.15;
}
p {
  margin: 0;
  max-width: var(--measure);
}
.lede {
  font-size: 1.2rem;
  color: var(--haze);
  margin-top: 1.2rem;
}

/* buttons */
.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 15px 28px;
  font: 600 1.05rem/1 'Onest', sans-serif;
  text-decoration: none;
  cursor: pointer;
}
.button-lamp {
  background: var(--lamp);
  color: #2a1a00;
  box-shadow: 0 0 0 0 rgba(255, 196, 107, 0);
  transition:
    background 0.15s,
    box-shadow 0.25s;
}
.button-lamp:hover {
  background: #ffc24d;
  box-shadow: 0 8px 34px rgba(255, 176, 32, 0.35);
}
.button-quiet {
  color: var(--paper);
  padding-inline: 8px;
  text-decoration: underline;
  text-decoration-color: rgba(255, 243, 226, 0.35);
  text-underline-offset: 6px;
}
.button-quiet:hover {
  text-decoration-color: var(--paper);
}
.button-small {
  padding: 10px 18px;
  font-size: 0.95rem;
}
/* header */
.top {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-block: 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 700 1.6rem/1 'Baloo', sans-serif;
  color: var(--paper);
  text-decoration: none;
}
.brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
}
.top nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}
.top nav a {
  color: var(--haze);
  text-decoration: none;
  font-weight: 500;
}
.top nav a:hover {
  color: var(--paper);
}

/* hero: the night lounge, lights coming on */
.hero {
  display: grid;
  grid-template-columns: 5fr 7fr;
  align-items: center;
  gap: 24px;
  padding-block: 40px 96px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 2.1rem;
}
.fine {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: var(--haze);
}
.diorama {
  position: relative;
  margin: 0;
}
/* Lamp light spilling onto the ground under each room. */
.diorama::before {
  content: '';
  position: absolute;
  inset: 30% 6% -4%;
  background: radial-gradient(closest-side, rgba(118, 80, 219, 0.5), rgba(255, 176, 32, 0.12) 60%, transparent);
  filter: blur(18px);
  z-index: -1;
}
.hero .diorama img {
  width: 100%;
  margin-right: -40px;
}
/* A live look into a room, framed like a window. */
.hero-video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
  border: 1px solid rgba(185, 164, 255, 0.22);
  background: #2a2140;
  box-shadow:
    0 30px 80px rgba(8, 5, 24, 0.55),
    0 0 0 6px rgba(118, 80, 219, 0.12);
}
@media (prefers-reduced-motion: no-preference) {
  .hero .diorama .hero-video {
    animation: lights-on 1.3s cubic-bezier(0.3, 0, 0.2, 1) 0.25s both;
  }
}
/* Speech bubbles, like the logo, floating over the hero room. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.3rem;
  padding: 7px 16px 7px 8px;
  border-radius: 999px;
  background: rgba(118, 80, 219, 0.28);
  border: 1px solid rgba(185, 164, 255, 0.35);
  color: #e2d9ff;
  font-weight: 600;
  font-size: 0.95rem;
}
.eyebrow img {
  border-radius: 7px;
}
.chirp {
  position: absolute;
  z-index: 1;
  padding: 10px 17px;
  border-radius: 20px 20px 20px 5px;
  background: #fff;
  color: #2b2160;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(10, 6, 30, 0.35);
}
.chirp-1 {
  top: 9%;
  left: 3%;
}
.chirp-2 {
  top: 0;
  right: 8%;
  background: var(--brand);
  color: #fff;
  border-radius: 20px 20px 5px 20px;
}
.chirp-3 {
  bottom: 20%;
  right: 0;
  background: var(--lamp);
  color: #2a1a00;
  border-radius: 20px 20px 5px 20px;
}
@media (prefers-reduced-motion: no-preference) {
  .chirp {
    animation: chirp-in 0.5s cubic-bezier(0.2, 1.4, 0.4, 1) both;
  }
  .chirp-1 {
    animation-delay: 1.1s;
  }
  .chirp-2 {
    animation-delay: 1.6s;
  }
  .chirp-3 {
    animation-delay: 2.1s;
  }
}
@keyframes chirp-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.85);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero .diorama img {
    animation: lights-on 1.3s cubic-bezier(0.3, 0, 0.2, 1) 0.25s both;
  }
  .hero .diorama::before {
    animation: glow-on 1.6s ease-out 0.45s both;
  }
}
@keyframes lights-on {
  from {
    filter: brightness(0.28) saturate(0.6);
  }
  to {
    filter: none;
  }
}
@keyframes glow-on {
  from {
    opacity: 0;
  }
}

/* rooms */
.rooms {
  padding-block: 56px 96px;
}
.section-head {
  display: grid;
  gap: 1rem;
  margin-bottom: 3.5rem;
}
.room-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px 44px;
}
.room {
  display: grid;
  grid-template-rows: 260px auto auto;
  gap: 10px;
}
.room .diorama {
  display: grid;
  place-items: end center;
}
.room .diorama img {
  max-height: 260px;
  width: auto;
}
.room h3 {
  margin-top: 14px;
}
.room p {
  color: var(--haze);
}
/* The campfire is an open map, not a box: show it as a clearing. */
.room .clearing img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 50%;
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent);
  mask-image: radial-gradient(closest-side, #000 62%, transparent);
}

/* features: what you can do together */
.features {
  padding-block: 24px 112px;
}
.feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 26px 24px 28px;
  background: var(--dusk);
  border: 1px solid var(--dusk-2);
  border-radius: 24px 24px 24px 8px;
}
.feature p {
  color: var(--haze);
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 46px;
  margin-bottom: 6px;
  border-radius: 16px 16px 16px 5px;
  background: var(--brand);
}
.feature-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature-hot {
  background: linear-gradient(160deg, #3a1f5e, var(--dusk) 70%);
  border-color: rgba(255, 176, 32, 0.45);
}
.feature-hot .feature-icon {
  background: var(--lamp);
}
.feature-hot .feature-icon svg {
  stroke: #2a1a00;
}
.feature-soon {
  border-style: dashed;
  border-color: rgba(185, 164, 255, 0.4);
}
.soon {
  display: inline-block;
  vertical-align: middle;
  margin-left: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 176, 32, 0.16);
  color: var(--lamp);
  font: 600 0.78rem/1.2 'Onest', sans-serif;
  letter-spacing: 0.02em;
}

/* steps (a real sequence) */
.steps {
  background: var(--brand);
  border-radius: 40px;
  padding: 72px clamp(24px, 6vw, 80px);
}
.steps ol {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  display: grid;
  gap: 10px;
  align-content: start;
}
.steps li::before {
  content: counter(step);
  font: 700 1.3rem/1 'Baloo', sans-serif;
  color: var(--brand);
  background: #fff;
  width: 46px;
  height: 44px;
  border-radius: 22px 22px 22px 6px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
}
.steps li p {
  color: rgba(255, 255, 255, 0.86);
}

/* creators */
.creators {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: 56px;
  align-items: center;
  padding-block: 120px;
}
.creators .clearing img {
  width: 100%;
  aspect-ratio: 1.15;
  object-fit: cover;
  border-radius: 50%;
  -webkit-mask-image: radial-gradient(closest-side, #000 66%, transparent);
  mask-image: radial-gradient(closest-side, #000 66%, transparent);
}
.owner-list {
  list-style: none;
  margin: 1.6rem 0 2rem;
  padding: 0;
  display: grid;
  gap: 10px;
}
.owner-list li {
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.owner-list li::before {
  content: '';
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lamp);
  border-radius: 6px 6px 6px 2px;
  transform: translateY(-2px);
}

/* faq */
.faq {
  display: grid;
  grid-template-columns: 4fr 7fr;
  gap: 56px;
  padding-block: 40px 120px;
  border-top: 1px solid var(--dusk-2);
  padding-top: 96px;
}
.faq-list details {
  border-bottom: 1px solid var(--dusk-2);
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-weight: 600;
  font-size: 1.08rem;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: '+';
  font: 700 1.5rem/1 'Baloo', sans-serif;
  color: var(--lamp);
  transition: transform 0.2s;
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
}
.faq-list details p {
  color: var(--haze);
  padding-bottom: 22px;
  max-width: 40rem;
}

/* closing call + footer */
.closing {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 1.6rem;
  padding-block: 40px 120px;
}
.closing .diorama img {
  width: min(520px, 90vw);
}
footer {
  background: #100c22;
  padding-block: 56px 40px;
  color: var(--haze);
  font-size: 0.95rem;
}
.foot {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.foot h2 {
  font: 600 1rem/1.4 'Onest', sans-serif;
  color: var(--paper);
  margin-bottom: 12px;
}
.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.foot a {
  color: var(--haze);
  text-decoration: none;
}
.foot a:hover {
  color: var(--paper);
}
.foot .brand {
  margin-bottom: 12px;
}
.copyright {
  max-width: none;
  margin-top: 48px;
  font-size: 0.85rem;
}

/* narrow screens */
@media (max-width: 960px) {
  .hero,
  .creators,
  .faq {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 16px;
  }
  .hero .diorama {
    order: -1;
  }
  .hero .diorama img {
    margin-right: 0;
  }
  .room-grid,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps ol {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .creators {
    padding-block: 80px;
  }
  .faq {
    gap: 24px;
    padding-top: 72px;
  }
  .foot {
    grid-template-columns: 1fr 1fr;
  }
  .foot > :first-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 620px) {
  body {
    font-size: 16px;
  }
  .top nav {
    display: none;
  }
  .top .button {
    margin-left: auto;
  }
  .room-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .room {
    grid-template-rows: auto auto auto;
  }
  .room .diorama img,
  .room .clearing img {
    max-height: 230px;
  }
  .chirp {
    font-size: 0.85rem;
    padding: 8px 13px;
  }
  .steps {
    border-radius: 28px;
  }
}
