:root {
  color-scheme: only light;
  --heritage-gold: #d4af37;
  --heritage-grey: rgb(245, 245, 247);
}

* {
  box-sizing: border-box;
}

html {
  background: #fff;
}

body {
  margin: 0;
  color: #1f2430;
  font-family: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont,
    "Helvetica Neue", Arial, sans-serif;
}

.site-header {
  display: flex;
  align-items: center;
  min-height: 88px;
  padding: 9px clamp(20px, 4vw, 64px);
}

.site-header a {
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
}

.site-header a:focus-visible {
  outline: 3px solid #86691b;
  outline-offset: 4px;
}

.site-header img {
  display: block;
  width: 185px;
  height: 70px;
  object-fit: cover;
  object-position: center;
}

main {
  padding: 18px clamp(16px, 4vw, 64px) 48px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.showcase {
  display: flex;
  align-items: center;
  justify-content: center;
  height: min(710px, calc(100dvh - 154px));
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(ellipse 55% 65% at 20% 86%, rgba(212, 175, 55, 0.26), transparent 88%),
    radial-gradient(ellipse 56% 72% at 84% 26%, rgba(190, 190, 194, 0.48), transparent 88%),
    radial-gradient(ellipse 46% 42% at 16% 12%, rgba(255, 249, 231, 0.92), transparent 90%),
    var(--heritage-grey);
}

.phone {
  /* Scale the portrait video to the available viewport height on shorter screens. */
  width: min(100%, 270px, calc(46.2dvh - 96px));
  padding: 8px;
  border: 2px solid #e4e8ee;
  border-radius: 47px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 2px 2px rgba(255, 255, 255, 0.86) inset,
    0 24px 50px rgba(41, 53, 91, 0.22),
    0 4px 12px rgba(41, 53, 91, 0.11);
}

.phone video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1170 / 2532;
  border-radius: 38px;
  clip-path: inset(0 round 38px);
  background: #fff;
  object-fit: cover;
}

@media (max-width: 600px) {
  .site-header {
    min-height: 74px;
    padding: 7px 16px;
  }

  .site-header img {
    width: 155px;
    height: 60px;
  }

  main {
    padding: 8px 12px 24px;
  }

  .showcase {
    height: calc(100dvh - 106px);
    padding: 24px 16px;
  }

  .phone {
    width: min(100%, 320px, calc(46.2dvh - 63px));
  }
}
