:root {
  --bg: #0e0d14;
  --page-text: #f4f1fb;
  --muted: #b7afca;
  --border: #2a263b;
  --purple: #7957fa;
}

body {
  color: var(--page-text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.container {
  width: min(calc(100% - 2 * clamp(1.25rem, 6.94vw, 6.25rem)), 77.5rem);
  margin-inline: auto;
}

.site-header, .brand, .hero-actions, .closing-content {
  display: flex;
  align-items: center;
}

.site-header {
  justify-content: space-between;
  gap: 1rem;
  min-height: 92px;
}

.brand { gap: .75rem; }
.wordmark { font-size: 1.5rem; font-weight: 850; letter-spacing: -.05em; }
.brand-tag {
  padding: .25rem .65rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: .8125rem;
}

.booking {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: .625rem 1.5rem;
  border: 1px solid transparent;
  border-radius: .7rem;
  background: var(--purple);
  color: white;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}

.booking:hover { background: #6b49eb; }
.header-booking { min-height: 44px; padding-inline: 1.2rem; }
.booking.secondary { background: transparent; border-color: #3b344f; }
.booking.secondary:hover { background: #201a32; }

:focus-visible { outline: 3px solid #bbabff; outline-offset: 3px; }

.hero { padding-block: 3.5rem 4rem; }
.eyebrow {
  margin: 0 0 .75rem;
  color: #c3adff;
  font-size: .8125rem;
  font-weight: 750;
  letter-spacing: .11em;
  text-transform: uppercase;
}

h1, h2 { margin: 0; letter-spacing: -.045em; }
h1 { margin-top: 1.15rem; font-size: clamp(2.65rem, 5.1vw, 4.5rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 3.1vw, 2.75rem); line-height: 1.07; }

.summary {
  max-width: 43rem;
  margin: 1.4rem 0 1.75rem;
  color: #ccc4db;
  font-size: clamp(1.0625rem, 1.55vw, 1.3125rem);
  line-height: 1.45;
}
.summary strong { color: white; }
.hero-actions { flex-wrap: wrap; gap: .75rem; }

.clip-section { margin-top: 3rem; }
.clip-heading { margin: 0 0 .85rem; color: var(--muted); font-size: .875rem; }
.clip-heading strong {
  display: inline-block;
  margin-right: .35rem;
  padding: .15rem .45rem;
  border-radius: .35rem;
  background: var(--purple);
  color: white;
  font-size: .75rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.clip-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .875rem; }
.clip, .screen-card { min-width: 0; margin: 0; }

.clip-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 237 / 368;
  border: 1px solid var(--border);
  border-radius: .875rem;
  background: linear-gradient(#28203b, #181522);
}

.clip-media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.clip-age, .clip-play {
  position: absolute;
  left: .65rem;
  background: rgb(16 13 24 / .85);
  color: white;
}
.clip-age { top: .65rem; padding: .25rem .45rem; border-radius: .35rem; font-size: .75rem; font-weight: 700; }
.clip-play {
  bottom: .85rem;
  left: .85rem;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  padding: 0;
  border: 2px solid #f4f1fb;
  border-radius: 50%;
  cursor: pointer;
}
.clip-play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 2px;
  border: .43rem solid transparent;
  border-right: 0;
  border-left: .65rem solid currentColor;
}
.clip-play[aria-pressed="true"]::before {
  width: .29rem;
  height: .72rem;
  margin: 0;
  border: 0 solid currentColor;
  border-inline-width: .16rem;
  box-sizing: content-box;
}

.clip figcaption, .screen-card figcaption { margin-top: .55rem; }
.clip figcaption { font-size: .875rem; }
.clip figcaption span, .screen-card figcaption span {
  display: block;
  margin-top: .2rem;
  color: var(--muted);
  font-size: .8125rem;
  line-height: 1.4;
}

.proof { background: #151422; border-block: 1px solid #221f33; }
.section-space { padding-block: 4.5rem; }
.section-intro { margin: 1rem 0 2.5rem; color: #ccc4db; font-size: 1.125rem; line-height: 1.5; }

.screen-grid, .metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.screen-card { text-align: center; }
.screen-card .phone {
  width: min(100%, 240px);
  height: auto;
  aspect-ratio: 240 / 508;
  margin-inline: auto;
  padding: 0;
  overflow: hidden;
  border: 6px solid #2b273e;
  border-radius: 34px;
  background: #0b0b0d;
  box-shadow: none;
  container-type: inline-size;
}
.screen-card .phone::before { display: none; }
.screen-card .phone-screen {
  width: 363px;
  height: 794px;
  border-radius: 0;
  text-align: left;
  zoom: calc(100cqw / 363px);
}
.screen-card figcaption { max-width: 15rem; margin: .8rem auto 0; }
.screen-card figcaption span { font-size: .875rem; }

.features { display: grid; grid-template-columns: minmax(0, 17.7rem) minmax(0, 1fr); gap: clamp(1.25rem, 4vw, 3rem); align-items: center; }
#perchClip .clip-media { aspect-ratio: 9 / 16; border-radius: 1.1rem; }
.video-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 1.25rem 0 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: .875rem;
  background: #11101a;
}
.video-details div { min-width: 0; padding: 1rem 1.1rem; }
.video-details div:nth-child(even) { border-left: 1px solid var(--border); }
.video-details div:nth-child(n + 3) { border-top: 1px solid var(--border); }
.video-details dt { color: var(--muted); font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; }
.video-details dd { margin: .32rem 0 0; font-weight: 700; }
.details-note { margin: 0; padding: 1.1rem; border-radius: .75rem; background: #1d1831; color: #e5dcfa; line-height: 1.45; }

.metrics { margin: 4.5rem 0 1.4rem; }
.metrics div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.35rem;
  border: 1px solid var(--border);
  border-radius: .875rem;
  text-align: center;
}
.metrics dt { font-size: clamp(1.5rem, 2.65vw, 2.3rem); font-weight: 780; line-height: 1.2; letter-spacing: -.04em; }
.metrics dd { margin: .4rem 0 0; color: var(--muted); font-size: .875rem; line-height: 1.45; }
.partners { margin: 0; color: #ccc4db; font-size: .9375rem; line-height: 1.45; text-align: center; }

.closing { background: var(--purple); color: white; }
.closing-content { justify-content: space-between; gap: 1.5rem; padding-block: 4.25rem; }
.closing-content h2 { font-size: clamp(1.8rem, 2.85vw, 2.5rem); }
.closing-content p { margin: .75rem 0 0; font-size: 1.125rem; }
.closing-booking { background: white; color: #3d1bcc; white-space: nowrap; }
.closing-booking:hover { background: #eee8ff; }
.site-footer { padding-block: 1.75rem; color: #a69bbf; font-size: .8125rem; }

@media (max-width: 800px) {
  .desktop-break { display: none; }
  .clip-grid {
    grid-template-columns: repeat(5, minmax(9.5rem, 1fr));
    overflow-x: auto;
    padding: .25rem .25rem .75rem;
    margin-inline: -.25rem;
    scroll-snap-type: x proximity;
  }
  .clip-grid .clip { scroll-snap-align: start; }
  .screen-grid, .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.75rem; }
  .features { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
}

@media (max-width: 540px) {
  .site-header { min-height: 72px; }
  .header-booking { max-width: 10rem; padding-inline: .5rem; font-size: .75rem; }
  .hero { padding-block: 2.25rem 3rem; }
  .section-space { padding-block: 3rem; }
  .features { grid-template-columns: minmax(0, 1fr); }
  #perchClip { width: min(58%, 14rem); }
  .video-details div, .metrics div { padding: .8rem; }
  .metrics { margin-top: 2.5rem; }
  .closing-content { align-items: flex-start; flex-direction: column; padding-block: 3rem; }
  .screen-card .phone { border-width: 4px; border-radius: 20px; }
}
