.landing {
  --ink: #f8f6ff;
  --muted: #d1c9e4;
  --lime: #c6fa2a;
  --mint: #93edda;
  --line: #d1c9e433;
  --focus: #efffa5;
  background: #100e20;
  font-family: "Avenir Next", Avenir, system-ui, sans-serif;
}

html:has(.landing) {
  background: #100e20;
}

.landing .shell {
  width: min(100% - 3.5rem, 74rem);
}

.landing .site-header,
.landing .site-footer {
  border-color: var(--line);
  background: #100e20;
}

.landing .site-header {
  padding: .7rem 0;
}

.landing .site-header .shell,
.landing .site-footer .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .35rem 1.5rem;
}

.landing .brand {
  gap: .55rem;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -.025em;
}

.landing .brand img {
  width: 2.5rem;
  height: 2.5rem;
}

.landing .site-header .brand {
  gap: .7rem;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
}

.landing .site-header .brand img {
  width: clamp(3rem, 4.5vw, 3.5rem);
  height: auto;
  border-radius: 24%;
}

.landing nav {
  gap: .2rem 1.35rem;
  margin: 0;
}

.landing nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: .92rem;
  font-weight: 650;
  text-decoration: none;
}

.landing a:hover {
  color: var(--lime);
}

.landing main {
  padding: 0;
}

.hero {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(0deg, #100e20 0%, transparent 25%),
    linear-gradient(90deg, #100e20 6%, #101023c9 32%, #1813320d 68%),
    radial-gradient(ellipse at 74% 36%, #6257bd 0%, #302457 34%, #100e20 72%);
}

.hero::before,
.features::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
}

.hero::before {
  background: url("/assets/court-at-dusk.jpg") 57% 53% / cover no-repeat;
  mask-image: linear-gradient(to bottom, #000 60%, transparent);
  opacity: .9;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  align-items: center;
  min-height: 42rem;
  gap: 2rem;
  padding-block: 4rem 5rem;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.1rem, 6vw, 5.65rem);
  line-height: .98;
  letter-spacing: -.068em;
  font-weight: 800;
}

.hero h1 em {
  display: block;
  color: var(--lime);
  font-style: normal;
}

.hero p {
  max-width: 34ch;
  margin: 1.3rem 0 1.6rem;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.65vw, 1.27rem);
}

.site-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: .65rem 1.35rem;
  border: 1px solid var(--lime);
  border-radius: 999px;
  background: var(--lime);
  color: #151321;
  font-weight: 800;
  text-decoration: none;
}

.landing .site-button:hover {
  background: #e0ff73;
  color: #151321;
}

.release-note {
  display: block;
  margin-top: .85rem;
  color: var(--muted);
  font-size: .875rem;
}

.hero-phones {
  position: relative;
  display: grid;
  align-items: center;
  min-width: 0;
  min-height: clamp(26rem, 43vw, 34rem);
}

.phone {
  --rim: #868395;
  --angle: 0deg;
  display: block;
  position: relative;
  min-width: 0;
  padding: 5px;
  border: 2px solid var(--rim);
  border-radius: 14% / 6.5%;
  background: #0c0b17;
  box-shadow: 0 0 0 1px #11101f, 0 1.7rem 3.25rem #070611a8, inset 0 0 0 2px #222233;
  transform: rotate(var(--angle));
}

.phone::before,
.phone::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.phone::before {
  inset: 2.1% auto auto 50%;
  z-index: 1;
  width: 27%;
  height: 3.2%;
  border: 1px solid #201f32;
  border-radius: 999px;
  background: #07060d;
  transform: translateX(-50%);
}

.phone::after {
  top: 17%;
  right: -5px;
  width: 3px;
  height: 12%;
  border-radius: 0 2px 2px 0;
  background: var(--rim);
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 13% / 6%;
  background: #1c1946;
}

.hero-phone {
  position: absolute;
  width: clamp(10rem, 21.5vw, 15.2rem);
}

.hero-phone--front {
  --angle: -9deg;
  --rim: #a7a2bf;
  left: 9%;
  top: 1%;
}

.hero-phone--back {
  left: 44%;
  top: 13%;
  overflow: hidden;
  aspect-ratio: 350 / 701;
  border-radius: 15% / 7.7%;
  box-shadow: 0 1.7rem 3.25rem #070611a8;
  transform: rotate(12deg);
}

.hero-phone--back img {
  /* Frame the phone at (195, 73) in the supplied 1264 × 848 artwork. */
  position: absolute;
  top: -10.4%;
  left: -55.71%;
  width: 361.14%;
  max-width: none;
  height: auto;
}

.features,
.method,
.watch {
  scroll-margin-top: 1rem;
}

.features {
  isolation: isolate;
  position: relative;
  padding: 2.7rem 0 4rem;
  background:
    radial-gradient(ellipse at 14% 42%, #24264a 0, transparent 53%),
    radial-gradient(ellipse at 85% 55%, #153637 0, transparent 48%),
    #100e20;
}

.features::before {
  background:
    linear-gradient(0deg, #100e20ba 4%, transparent 38%),
    url("/assets/phone-stage.jpg") center 48% / cover no-repeat;
  mask-image: linear-gradient(0deg, transparent, #000 30% 74%, transparent);
  opacity: .55;
}

.landing h2 {
  margin: 0 0 clamp(1.8rem, 4vw, 3rem);
  font-size: clamp(2.35rem, 5.4vw, 4.65rem);
  letter-spacing: -.061em;
  line-height: 1;
}

.features h2 {
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.7rem, 5vw, 4.5rem);
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature:nth-child(2) {
  padding-top: 2.5rem;
}

.feature:nth-child(3) {
  padding-top: .6rem;
}

.feature-phone {
  width: min(100%, 14rem);
  transition: transform .22s ease, border-color .22s ease;
}

.feature-phone:hover {
  transform: translateY(-.45rem);
  border-color: var(--mint);
}

.phone:focus-visible {
  border-radius: 14% / 6.5%;
}

.site-button:focus-visible,
.video-link:focus-visible {
  border-radius: 1.6rem;
}

.feature-copy {
  max-width: 29ch;
  margin-top: clamp(1.3rem, 3vw, 2.2rem);
  text-align: center;
}

.feature h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  line-height: 1.13;
  letter-spacing: -.04em;
}

.feature p,
.method p,
.watch p {
  color: var(--muted);
  margin: .6rem 0 0;
}

.method {
  display: grid;
  grid-template-columns: minmax(0, .65fr) minmax(0, 1fr);
  gap: 2rem;
  padding-block: clamp(3rem, 7vw, 6rem);
}

.method h2 {
  max-width: 7ch;
}

.method-list {
  margin: 0;
}

.method-list > div {
  display: grid;
  grid-template-columns: minmax(0, .52fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.method-list > div:last-child {
  border-bottom: 1px solid var(--line);
}

.method dt {
  color: var(--mint);
  font-size: 1.05rem;
  font-weight: 750;
}

.method dd {
  margin: 0;
}

.method strong {
  font-size: 1.05rem;
  line-height: 1.3;
}

.method p {
  margin-top: .35rem;
}

.watch {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 6vw, 5rem);
  padding-block: 1rem clamp(3rem, 7vw, 6rem);
}

.watch-visual {
  isolation: isolate;
  position: relative;
}

.watch-visual::before {
  position: absolute;
  z-index: -1;
  inset: -12% 0;
  background: radial-gradient(ellipse, #5d37a176, transparent 70%);
  content: "";
}

.watch-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2rem;
  box-shadow: 0 1.2rem 2.6rem #080713a3;
}

.watch h2 {
  max-width: 11ch;
  margin-bottom: .95rem;
  font-size: clamp(2.2rem, 4.8vw, 4.05rem);
}

.video-link {
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: .8rem;
  margin-top: 1.1rem;
  padding: .75rem .9rem;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  color: var(--ink);
  text-decoration: none;
  background: #ad96ff0d;
}

.video-link:hover {
  border-color: var(--mint);
}

.video-link small {
  display: block;
  color: var(--mint);
  font-size: .89rem;
  margin-top: .08rem;
}

.play-icon {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  background: var(--lime);
}

.play-icon::before {
  content: "";
  margin-left: 3px;
  border-block: 7px solid transparent;
  border-left: 11px solid #19152e;
}

.brand-art {
  display: flex;
  justify-content: center;
  padding-bottom: clamp(2.5rem, 7vw, 4.5rem);
}

.brand-art img {
  display: block;
  width: min(100%, 30rem);
  height: auto;
  border-radius: 1.65rem;
}

.landing .site-footer {
  padding: .85rem 0;
}

.landing .site-footer .brand img {
  width: 2rem;
  height: 2rem;
}

@media (max-width: 55rem) {
  .hero-inner {
    min-height: 35rem;
    gap: 1.15rem;
    padding-block: 3rem 4rem;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 6.2vw, 4.45rem);
  }

  .hero-phone {
    width: clamp(9.5rem, 21vw, 13rem);
  }
}

@media (max-width: 42rem) {
  .landing .shell {
    width: min(100% - 2.25rem, 32rem);
  }

  .hero-inner,
  .method,
  .watch {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero::before {
    background:
      linear-gradient(180deg, #100e2099 0%, #100e20a8 39%, transparent 68%),
      url("/assets/court-at-dusk.jpg") 65% center / cover no-repeat;
    mask-image: linear-gradient(0deg, transparent, #000 17% 64%, transparent 94%);
  }

  .hero-inner {
    gap: .75rem;
    padding-block: 2.4rem 1.4rem;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 10vw, 4.45rem);
  }

  .hero p {
    margin-top: 1.05rem;
  }

  .hero-phones {
    min-height: clamp(21rem, 99vw, 29rem);
  }

  .hero-phone {
    width: clamp(9rem, 40.5vw, 13rem);
  }

  .hero-phone--front {
    left: 11%;
    top: 6%;
  }

  .hero-phone--back {
    left: 45%;
    top: 12%;
  }

  .features {
    padding-top: 1.2rem;
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .feature,
  .feature:nth-child(2),
  .feature:nth-child(3) {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
    gap: 1rem;
    padding-top: 0;
  }

  .feature:nth-child(2) {
    grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  }

  .feature:nth-child(2) .feature-copy {
    grid-column: 1;
    grid-row: 1;
  }

  .feature-copy {
    margin-top: 0;
    text-align: left;
  }

  .method {
    gap: .25rem;
    padding-top: 1.5rem;
  }

  .method h2,
  .watch h2 {
    max-width: none;
  }

  .watch img {
    border-radius: 1.4rem;
  }
}

@media (max-width: 25rem) {
  .feature,
  .feature:nth-child(2),
  .feature:nth-child(3) {
    gap: .8rem;
  }

  .method-list > div {
    grid-template-columns: minmax(0, 1fr);
    gap: .3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-phone {
    transition: none;
  }
}
