@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #12151b;
  color: #E1E6EC;
  font-family: "Geist", system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.top {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 24px 0;
}

.name {
  font-weight: 500;
  font-size: 15px;
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 24px 64px;
}

h1 {
  font-weight: 600;
  font-size: clamp(30px, 4.5vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 20ch;
}

.deck {
  margin-top: 24px;
  font-size: 18px;
  max-width: 58ch;
}

/* The two frames, side by side on a wide screen: the desk takes the rest,
   the phone keeps a real phone proportion. Below 1280 they stack, phone first. */
.pair {
  display: grid;
  gap: 28px;
  margin-top: 48px;
}

.shot {
  min-width: 0;
}

.shot-phone {
  order: -1;
}

@media (min-width: 1280px) {
  .pair {
    grid-template-columns: minmax(0, 1fr) 292px;
    align-items: start;
  }
  .shot-phone {
    grid-column: 2;
    grid-row: 1;
  }
  .shot-desk {
    grid-column: 1;
    grid-row: 1;
  }
}

/* Glass, for the device frames only. */
.frame {
  background: rgba(30, 35, 43, .62);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .35);
  padding: 10px;
}

.frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: #6F7A86;
}

.beat {
  margin-top: 96px;
}

.claude {
  margin-top: 48px;
  max-width: 58ch;
  color: #A6B0BB;
}

.features {
  margin-top: 40px;
  list-style: none;
  max-width: 58ch;
}

.features li + li {
  margin-top: 28px;
}

.features h2 {
  font-weight: 500;
  font-size: 16px;
}

.features h2.needs-you {
  color: #FAB219;
}

.features p {
  margin-top: 4px;
  color: #A6B0BB;
}

.close {
  margin-top: 96px;
  color: #A6B0BB;
}

/* One short fade of the hero frames on load; reduced motion shows them immediately. */
@media (prefers-reduced-motion: no-preference) {
  main > .pair .frame {
    animation: fade .5s ease-out both;
  }
  main > .pair .shot-phone .frame {
    animation-delay: .1s;
  }
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
