:root {
  color-scheme: dark;
  --paper: #101114;
  --ink: #f0f0f3;
  --muted: #a1a1ac;
  --line: #2b2c33;
  --coral: #ef9394;
  --teal: #86bfc7;
  --gold: #e5be70;
  --violet: #a39bce;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; }
main { display: grid; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 5px;
}

.wrap {
  max-width: 1240px;
  width: calc(100% - 96px);
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -1px;
}

.brand img { border-radius: 9px; }
.hero-brand { margin-bottom: 32px; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  color: #242429;
  background: linear-gradient(#f8f8fa, #d9d9df);
  border: 1px solid #ffffffb3;
  border-radius: 8px;
  box-shadow: 0 0 0 4px #ffffff05, 0 2px 8px #0005, inset 0 1px white;
  font-size: 14px;
  font-weight: 550;
  padding: 12px 18px;
  transition: box-shadow .18s, transform .18s;
}

.button:hover {
  color: #101114;
  box-shadow: 0 0 0 4px #ffffff0d, 0 3px 20px #ffffff12, inset 0 1px white;
  transform: translateY(-1px);
}

.opening {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(30px, 4vw, 64px);
  align-items: center;
  padding-block: 64px;
}

.hero { position: relative; z-index: 1; }
h1 {
  font-size: clamp(48px, 5.4vw, 78px);
  white-space: nowrap;
  line-height: .98;
  font-weight: 600;
  letter-spacing: -.065em;
  margin: 0 0 26px;
}

h1 span { color: var(--coral); }
.hero-copy {
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.6;
  color: var(--muted);
  letter-spacing: -.3px;
  margin: 0 0 29px;
}

.release { margin: 17px 0 0; font-size: 11px; color: #8c8c99; }
.release span { margin-inline: 6px; }

.product {
  position: relative;
  width: 100%;
  max-width: calc((100svh - 270px) * 1.3);
  justify-self: center;
  border-radius: 9px;
  box-shadow: 0 36px 70px -25px #000b;
  isolation: isolate;
}

.product::before, .product::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
  border-radius: 24px;
}

.product::before {
  inset: -38px -24px 35%;
  background: linear-gradient(115deg, #d0797a24 0 59%, #76a7b020 59%);
  border: 1px solid #edb1b113;
  box-shadow: 0 0 85px #dc818110;
  transform: rotate(-5deg);
}

.product::after {
  inset: 38% 15px -36px -32px;
  background: linear-gradient(110deg, #d7af681c 0 36%, #9c94c61f 36%);
  border: 1px solid #c8b2e012;
  transform: rotate(4deg);
}

.app-capture img {
  display: block;
  width: 100%;
  height: auto;
}

footer { border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; padding-block: 48px; }
.copyright, footer > a:last-child { font-size: 12px; color: var(--muted); }
.skip { position: fixed; top: -100px; left: 16px; padding: 12px; background: #24252c; z-index: 10; }
.skip:focus { top: 16px; }

@media (max-width: 900px) {
  .wrap { width: calc(100% - 48px); }
  .opening { gap: 28px; }
  h1 { font-size: clamp(42px, 5.5vw, 64px); }
  footer { padding-block: 24px; }
}

@media (max-width: 680px) {
  .wrap { width: calc(100% - 40px); }
  .brand { font-size: 22px; }
  .brand img { width: 31px; height: 31px; }
  .opening {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 34px;
    padding-block: 34px;
  }
  .hero { text-align: center; }
  .hero-brand { justify-content: center; margin-bottom: 20px; }
  h1 { font-size: clamp(42px, 12vw, 76px); margin: 0 0 17px; }
  .hero-copy { font-size: 15px; line-height: 1.5; margin-bottom: 20px; }
  .release { font-size: 10px; margin-top: 12px; }
  .button { padding: 10px 16px; font-size: 13px; }
  .product { max-width: min(100%, calc((100svh - 380px) * 1.3)); }
  .product::before { inset: -15px -9px 35%; border-radius: 14px; }
  .product::after { inset: 38% 8px -16px -9px; border-radius: 14px; }
  footer { padding-block: 20px; }
}

@media (max-height: 650px) and (min-width: 681px) {
  .opening { padding-block: 40px; }
  .product { max-width: calc((100svh - 240px) * 1.4); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
