@font-face {
  font-family: Inter;
  src: url("./assets/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: Inter, system-ui, sans-serif;
  color: #f7f5ff;
  background: #121116;
  --muted: #c1b8ca;
  --lavender: #c5a4ff;
  --rule: #383040;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
figure, h1, h2, p { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--lavender); outline-offset: 5px; }
.shell { width: min(1180px, calc(100% - 96px)); margin-inline: auto; }

.site-header {
  min-height: 85px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  border-bottom: 1px solid var(--rule);
}
.wordmark { width: fit-content; display: inline-block; }
.site-header nav, .footer nav { display: flex; flex-wrap: wrap; gap: 12px 30px; }
nav a, .header-action { text-decoration: none; font-size: .88rem; font-weight: 650; }
nav a { color: var(--muted); }
nav a:hover, .header-action:hover { color: var(--lavender); }
.header-action { justify-self: end; }
.header-action span { margin-left: 4px; color: var(--lavender); }

.hero {
  display: grid;
  grid-template-columns: 1.03fr 1fr;
  gap: 24px;
  align-items: center;
  min-height: 630px;
  padding-block: 34px 48px;
}
.hero h1 {
  font-size: clamp(3.55rem, 7.65vw, 7.5rem);
  line-height: .94;
  letter-spacing: -.055em;
  word-spacing: .035em;
  font-weight: 800;
}
.hero h1 em { color: var(--lavender); font-style: normal; }
.hero-copy p {
  max-width: 31rem;
  margin-block: 26px 30px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.6;
}
.button {
  display: inline-flex;
  min-height: 52px;
  gap: 24px;
  align-items: center;
  padding-inline: 20px;
  border-radius: 10px;
  background: var(--lavender);
  color: #171023;
  font-weight: 770;
  text-decoration: none;
}
.button:hover { background: #dbc3ff; }

.hero-art {
  min-width: 0;
  width: min(100%, 560px);
  aspect-ratio: 1.07;
  justify-self: end;
  position: relative;
  isolation: isolate;
}
.hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 64% 54%, #43234d 0%, transparent 72%);
}
.screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 469 / 944;
  border-radius: 5% / 2.5%;
  background: #121217;
}
.screen img, .snapshot-photo img {
  position: absolute;
  max-width: none;
  width: 153.5%;
  height: auto;
  left: -26.65%;
  top: -25.4%;
}
.hero-screen {
  position: absolute;
  top: 2%;
  left: 49%;
  width: 44%;
  transform: rotate(5deg);
  box-shadow: 12px 24px 65px #07060ab3;
}
.snapshot {
  position: absolute;
  top: 24%;
  left: 1%;
  width: 61%;
  padding: 2.6% 2.6% 6%;
  background: #e5d6e9;
  transform: rotate(-9deg);
  border-radius: 4px;
  box-shadow: 4px 18px 44px #08050bc9;
}
.snapshot-photo { position: relative; overflow: hidden; aspect-ratio: 1.29; background: #221929; }
.snapshot-photo img { width: 175.6%; top: -206.6%; left: -37.55%; }

.explore { padding-block: 46px 64px; border-top: 1px solid var(--rule); }
h2 { font-size: clamp(2.1rem, 4.7vw, 4.1rem); font-weight: 800; line-height: 1.02; letter-spacing: -.045em; word-spacing: .025em; }
.previews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.preview {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 24px;
  padding: 25px 20px 21px;
  border: 1px solid var(--rule);
  border-radius: 20px;
  background: radial-gradient(ellipse at 60% 12%, #322040, #19161f 75%);
}
.preview .screen { width: min(100%, 218px); justify-self: center; }
figcaption { display: grid; gap: 6px; align-content: start; min-height: 78px; }
figcaption strong { font-size: 1.15rem; letter-spacing: -.035em; }
figcaption span, .preview-note { color: var(--muted); font-size: .9rem; line-height: 1.5; }
.preview-note { margin-top: 15px; font-size: .75rem; }
.about { padding-bottom: 64px; }
.about-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  padding: clamp(24px, 4.5vw, 56px);
  border: 1px solid #53385e;
  border-radius: 20px;
  background: linear-gradient(130deg, #2c1c37, #1c1723 80%);
}
.about-panel p { max-width: 46ch; color: var(--muted); line-height: 1.65; }
.about-panel a { display: inline-block; margin-top: 14px; color: var(--lavender); overflow-wrap: anywhere; }
.footer {
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 30px;
  padding-block: 25px 35px;
}
.footer-brand { display: flex; gap: 16px; align-items: center; }
.footer small { color: var(--muted); }

@media (max-width: 930px) {
  .shell { width: calc(100% - 60px); }
  .hero { min-height: 480px; }
}
@media (max-width: 660px) {
  .shell { width: calc(100% - 36px); }
  .site-header { grid-template-columns: 1fr auto; min-height: 64px; gap: 12px; }
  .site-header .wordmark img { width: 104px; height: auto; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 18px; min-height: 0; padding-block: 36px 34px; }
  .hero h1 { font-size: clamp(3.25rem, 13vw, 5.5rem); }
  .hero-copy p { margin-block: 15px 19px; }
  .hero-art { width: min(100%, 400px); justify-self: center; }
  .explore { padding-block: 30px 36px; }
  .previews { grid-template-columns: 1fr; margin-top: 20px; }
  .preview { gap: 16px; padding: 20px; }
  .preview .screen { width: min(100%, 246px); }
  figcaption { min-height: 0; }
  .about { padding-bottom: 36px; }
  .about-panel { grid-template-columns: 1fr; gap: 12px; }
}
