:root {
  color-scheme: dark;
  --canvas: #0b0e10;
  --elevated: #12181a;
  --accent: #5cb8ad;
  --text: #f5f7f8;
  --muted: #9eb2b3;
  --max: 1120px;
  --copy: 40rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  background: var(--canvas);
  color: var(--text);
  line-height: 1.55;
}
a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}
header.site {
  position: relative;
  z-index: 5;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
body.home {
  --page-gutter: clamp(1.75rem, 5vw, 3rem);
}
body.home .wrap {
  width: min(100% - (2 * var(--page-gutter)), var(--max));
}
body.home header.site {
  position: absolute;
  inset: 0 0 auto;
  width: min(100% - (2 * var(--page-gutter)), var(--max));
  left: 50%;
  transform: translateX(-50%);
  padding-top: 22px;
}
body.home .hero-inner {
  grid-template-columns: 1fr 1fr;
}
body.home .hero .phone {
  justify-self: center;
  width: min(100%, 240px);
}
.brand {
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.4rem;
  color: var(--text);
  text-decoration: none;
}
nav.site { display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: flex-end; }
nav.site a {
  color: color-mix(in srgb, var(--text) 78%, transparent);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}
nav.site a:hover { color: var(--accent); }

/* —— Hero —— */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  /* Softer scrim so the living room reads; denser only behind copy (left). */
  background:
    linear-gradient(105deg, rgba(11,14,16,.62) 0%, rgba(11,14,16,.28) 46%, rgba(11,14,16,.1) 100%),
    linear-gradient(to top, rgba(11,14,16,.42) 0%, transparent 40%),
    url("/assets/hero/atmosphere.png") center / cover no-repeat;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0,0,0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: 6.5rem 0 3rem;
}
.hero-copy { max-width: min(36rem, 100%); }
.hero-copy .eyebrow {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  animation: rise 0.8s ease 0.1s both;
}
.hero h1 {
  margin: 0;
  font-size: clamp(1.7rem, 4.6vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
  font-weight: 800;
  animation: rise 0.9s ease 0.2s both;
}
.hero h1 .line {
  display: block;
  white-space: nowrap;
}
.hero h1 .accent {
  color: var(--accent);
  margin-top: 0.72em;
}
.hero .lede {
  margin: 1.15rem 0 0;
  color: color-mix(in srgb, var(--text) 82%, var(--muted));
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  max-width: 32rem;
  animation: rise 0.9s ease 0.35s both;
}
.audience {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  animation: rise 0.9s ease 0.45s both;
}
.badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 1.6rem;
  animation: rise 0.9s ease 0.55s both;
}
.badges a {
  display: inline-block;
  line-height: 0;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.badges a:hover { transform: translateY(-2px); filter: brightness(1.08); }
.badge-app,
.badge-play {
  height: 40px;
  width: auto;
  display: block;
}

.phone {
  justify-self: end;
  width: min(100%, 280px);
  animation: risePhone 1s ease 0.4s both;
}
.phone-frame {
  border-radius: 28px;
  padding: 10px;
  background: linear-gradient(160deg, #2a3336, #0a0d0f 60%);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--accent) 28%, transparent),
    0 40px 80px rgba(0,0,0,.55);
}
.phone-frame img {
  border-radius: 20px;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top center;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes risePhone {
  from { opacity: 0; transform: translateY(36px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg { animation: none; }
  .hero-copy .eyebrow,
  .hero h1,
  .hero .lede,
  .audience,
  .badges,
  .phone {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* —— Scroll bands with living-room atmospheres —— */
.band {
  position: relative;
  isolation: isolate;
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  overflow: hidden;
}
.band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  filter: brightness(1.08) contrast(1.04) saturate(1.06);
}
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Left-weighted veil: room shows on the right; copy stays on a darker lane. */
  background:
    linear-gradient(90deg, rgba(11,14,16,.78) 0%, rgba(11,14,16,.48) 38%, rgba(11,14,16,.28) 72%, rgba(11,14,16,.34) 100%),
    linear-gradient(180deg, rgba(11,14,16,.28) 0%, rgba(11,14,16,.4) 100%);
}
.band-media::before { background-image: url("/assets/hero/media-room.png"); }
.band-loft::before { background-image: url("/assets/hero/loft.png"); }
.band-den::before { background-image: url("/assets/hero/den.png"); }
.band-inner { position: relative; }
.band h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.65rem, 3.4vw, 2.35rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
  font-weight: 800;
  max-width: 22ch;
  text-shadow: 0 1px 2px rgba(0,0,0,.55), 0 8px 28px rgba(0,0,0,.4);
}
.band h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.band .lede,
.band .prose p {
  color: color-mix(in srgb, var(--text) 92%, var(--muted));
  font-size: 1.08rem;
  max-width: var(--copy);
  margin: 0 0 1rem;
  text-shadow: 0 1px 2px rgba(0,0,0,.5), 0 6px 22px rgba(0,0,0,.35);
}
.band .story-grid p {
  text-shadow: 0 1px 2px rgba(0,0,0,.45), 0 4px 16px rgba(0,0,0,.3);
}
.band .lede { margin-bottom: 1.75rem; }
.band .prose p:last-child { margin-bottom: 0; }

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
  max-width: 44rem;
}
.story-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* —— Sections —— */
section.block {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}
section.block + section.block {
  border-top: 1px solid color-mix(in srgb, var(--muted) 14%, transparent);
}
.block h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.65rem, 3.4vw, 2.35rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
  font-weight: 800;
  max-width: 18ch;
}
.block .lede,
.block .prose p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: var(--copy);
  margin: 0 0 1rem;
}
.block .prose p:last-child { margin-bottom: 0; }
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.split .phone { justify-self: center; width: min(100%, 240px); }

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.gallery .phone { width: 100%; justify-self: stretch; opacity: 1; animation: none; }

.faq details {
  border-top: 1px solid color-mix(in srgb, var(--muted) 22%, transparent);
  padding: 1rem 0;
  max-width: 40rem;
}
.faq details:last-of-type {
  border-bottom: 1px solid color-mix(in srgb, var(--muted) 22%, transparent);
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq p { color: var(--muted); margin: 0.55rem 0 0; }

.cta-band {
  position: relative;
  isolation: isolate;
  text-align: center;
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    url("/assets/hero/atmosphere.png") center / cover no-repeat;
  filter: brightness(1.02) contrast(1.04) saturate(1.05);
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(700px 280px at 50% 40%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
    linear-gradient(180deg, rgba(11,14,16,.42), rgba(11,14,16,.68));
}
.cta-band h2,
.cta-band .lede {
  text-shadow: 0 1px 2px rgba(0,0,0,.55), 0 8px 28px rgba(0,0,0,.4);
}
.cta-inner { position: relative; }
.cta-band h2 {
  max-width: 16ch;
  margin: 0 auto 1rem;
  font-size: clamp(1.65rem, 3.4vw, 2.35rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
  font-weight: 800;
}
.cta-band .lede {
  margin: 0 auto 1.5rem;
  color: var(--muted);
  max-width: 36rem;
  font-size: 1.08rem;
}
.cta-band .badges {
  justify-content: center;
  animation: none;
  opacity: 1;
}

footer.site {
  padding: 2.5rem 0 3.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid color-mix(in srgb, var(--muted) 14%, transparent);
  background: var(--canvas);
}
footer.site a { color: var(--accent); text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
.foot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 720px) {
  .hero-inner,
  .split,
  .gallery,
  .story-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: auto;
  }
  /* Copy sits on top on mobile — darken that lane, keep room visible lower/behind phone. */
  .hero-bg {
    background:
      linear-gradient(180deg, rgba(11,14,16,.82) 0%, rgba(11,14,16,.58) 38%, rgba(11,14,16,.28) 68%, rgba(11,14,16,.4) 100%),
      linear-gradient(90deg, rgba(11,14,16,.35) 0%, transparent 75%),
      url("/assets/hero/atmosphere.png") center / cover no-repeat;
    animation: none;
    transform: scale(1.06);
  }
  .hero-inner {
    padding-top: 5.25rem;
    padding-bottom: 2rem;
    gap: 1.25rem;
  }
  .phone { justify-self: center; }
  .hero .phone {
    order: 2;
    width: min(46%, 200px);
    margin: 0 auto;
  }
  .hero-copy { order: 1; }
  .hero h1 {
    font-size: clamp(1.55rem, 7.2vw, 2.15rem);
    text-shadow: 0 1px 2px rgba(0,0,0,.65), 0 6px 20px rgba(0,0,0,.45);
  }
  .hero .lede,
  .audience {
    text-shadow: 0 1px 2px rgba(0,0,0,.55), 0 4px 16px rgba(0,0,0,.35);
  }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .badge-app,
  .badge-play {
    height: 40px;
  }
  .band h2 { max-width: none; }
  /* Full-width copy on phones: slightly stronger top veil, still show the room. */
  .band::after {
    background:
      linear-gradient(180deg, rgba(11,14,16,.72) 0%, rgba(11,14,16,.52) 45%, rgba(11,14,16,.42) 100%),
      linear-gradient(90deg, rgba(11,14,16,.4) 0%, transparent 90%);
  }
  .band h2,
  .band .lede,
  .band .prose p,
  .band .story-grid p {
    text-shadow: 0 1px 3px rgba(0,0,0,.7), 0 8px 24px rgba(0,0,0,.45);
  }
  .cta-band::after {
    background:
      radial-gradient(520px 220px at 50% 35%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%),
      linear-gradient(180deg, rgba(11,14,16,.55), rgba(11,14,16,.72));
  }
}

/* —— Inner pages (guides / creators / privacy) —— */
body.inner {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  background: var(--canvas);
}
body.inner::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(11,14,16,.55) 0%, rgba(11,14,16,.78) 42%, rgba(11,14,16,.92) 100%),
    url("/assets/hero/atmosphere.png") center / cover no-repeat;
  transform: scale(1.04);
}
body.inner header.site {
  position: relative;
  z-index: 5;
  padding: 22px 0 0;
}
body.inner main.wrap {
  position: relative;
  padding: 1.25rem 0 3rem;
  max-width: min(100% - 2.5rem, 44rem);
}
body.inner main.wrap.wide {
  max-width: min(100% - 2.5rem, var(--max));
}
body.inner h1 {
  font-size: clamp(1.85rem, 5.2vw, 2.75rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin: 2rem 0 0.85rem;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0,0,0,.55), 0 8px 28px rgba(0,0,0,.35);
}
body.inner > .lede,
body.inner main > .lede {
  margin: 0 0 1.5rem;
  color: color-mix(in srgb, var(--text) 82%, var(--muted));
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  max-width: 36rem;
}
body.inner .meta {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
}
body.inner h2 {
  font-size: 1.15rem;
  margin: 1.75rem 0 0.55rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.guide-list { list-style: none; padding: 0; margin: 1.5rem 0 2.5rem; }
.guide-list li {
  margin: 0 0 14px;
  padding: 1rem 0 1.1rem;
  border-bottom: 1px solid color-mix(in srgb, var(--muted) 18%, transparent);
}
.guide-list a {
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  font-size: 1.05rem;
}
.guide-list a:hover { color: var(--accent); }
.guide-list p { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.95rem; }

/* —— Guides hub (homepage-style image + phrase rows) —— */
body.guides-hub {
  --guides-gutter: clamp(1.75rem, 5vw, 2.75rem);
}
body.guides-hub .wrap {
  width: min(100% - (2 * var(--guides-gutter)), var(--max));
}
body.guides-hub header.site.wrap {
  width: min(100% - (2 * var(--guides-gutter)), var(--max));
}
body.guides-hub .guides-hero {
  min-height: min(72vh, 640px);
}
body.guides-hub .guides-hero h1 .line { white-space: normal; }
body.guides-hub .hero-inner {
  grid-template-columns: 1fr 1fr;
}
body.guides-hub .hero .phone {
  justify-self: center;
  width: min(100%, 240px);
}
.guides-more {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 0 3rem;
}
.guides-more h2 {
  margin: 0 0 0.85rem;
  font-size: 1.15rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.guides-more .guide-list {
  margin: 0;
}

/* How-to bites on Guides hub */
body.guides-hub .howto-intro h2 { max-width: 22ch; }
body.guides-hub .howto-note {
  color: color-mix(in srgb, var(--text) 88%, var(--muted));
  font-size: 1.02rem;
  max-width: var(--copy);
  margin: 0 0 1.25rem;
  text-shadow: 0 1px 2px rgba(0,0,0,.45);
}
body.guides-hub .step-kicker {
  margin: 0 0 0.4rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
body.guides-hub .howto-steps {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
  max-width: var(--copy);
  color: color-mix(in srgb, var(--text) 90%, var(--muted));
  font-size: 1.02rem;
}
body.guides-hub .howto-steps li + li { margin-top: 0.55rem; }
body.guides-hub .howto-aside {
  margin: 1rem 0 0;
  max-width: var(--copy);
  color: var(--muted);
  font-size: 0.95rem;
}
body.guides-hub .shot-caption {
  margin: 0.65rem 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}
body.guides-hub .phone-needed {
  aspect-ratio: 9 / 19.5;
  display: grid;
  place-content: center;
  gap: 0.4rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  background:
    repeating-linear-gradient(
      -45deg,
      color-mix(in srgb, var(--elevated) 90%, transparent),
      color-mix(in srgb, var(--elevated) 90%, transparent) 10px,
      color-mix(in srgb, var(--canvas) 70%, transparent) 10px,
      color-mix(in srgb, var(--canvas) 70%, transparent) 20px
    );
}
body.guides-hub .phone-needed-id {
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: color-mix(in srgb, var(--accent) 80%, var(--muted));
}
body.guides-hub .band .phone { justify-self: center; width: min(100%, 240px); }
a.guide-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  text-decoration: none;
  color: inherit;
}
a.guide-card .phone { justify-self: center; width: min(100%, 240px); }
a.guide-card h2 {
  transition: color 0.2s ease;
}
a.guide-card:hover h2,
a.guide-card:focus-visible h2 {
  color: var(--accent);
}
a.guide-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 8px;
  border-radius: 12px;
}
.guide-more {
  display: inline-block;
  margin-top: 0.35rem;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}
a.guide-card:hover .guide-more {
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 720px) {
  a.guide-card {
    grid-template-columns: 1fr;
  }
  a.guide-card .phone {
    order: 2;
    width: min(46%, 200px);
    margin: 0 auto;
  }
  a.guide-card > div:not(.phone) { order: 1; }
}
.prose { max-width: 40rem; }
.prose p, .prose li { color: var(--muted); }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose strong { color: var(--text); }
.accent { color: var(--accent); }
.note { font-size: 0.9rem; color: var(--muted); margin-top: 1.75rem; }
.note a { color: var(--accent); text-decoration: none; }
.note a:hover { text-decoration: underline; }
body.inner .badges {
  margin-top: 1.75rem;
  animation: none;
  opacity: 1;
}
body.inner footer.site {
  position: relative;
  background: transparent;
  border-top-color: color-mix(in srgb, var(--muted) 20%, transparent);
}
nav.site a[aria-current="page"] {
  color: var(--accent);
}
nav.site a.nav-btn {
  color: #0b0e10;
  background: var(--accent);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.2;
}
nav.site a.nav-btn:hover { color: #0b0e10; filter: brightness(1.08); }
nav.site a.nav-btn[aria-current="page"] {
  color: #0b0e10;
  box-shadow: inset 0 0 0 2px color-mix(in srgb, #0b0e10 28%, transparent);
}
.howto-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 1.75rem;
}
.howto-jump a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  background: color-mix(in srgb, var(--elevated) 80%, transparent);
}
.howto-jump a:hover { color: var(--accent); }
.prose ol li { margin: 0.35rem 0; }
.prose ol li + li { margin-top: 0.55rem; }
