@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f9f7f1;
  --ink: #29232d;
  --muted: #625d64;
  --purple: #674383;
  --line: #d7d1cb;
  --serif: "Instrument Serif", Georgia, serif;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { color: var(--purple); }
:focus-visible { outline: 3px solid #7646a0; outline-offset: 4px; }
h1, h2, p, figure { margin: 0; }
.shell { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }

.skip {
  position: absolute;
  z-index: 3;
  background: white;
  padding: .7rem 1rem;
  transform: translateY(-140%);
}

.skip:focus { transform: translateY(0); }
.mast, .brand, nav, .hero-actions, .button, .platform, .section-heading, .duration, .footer, .footer-links { display: flex; align-items: center; }
.mast { justify-content: space-between; min-height: 78px; border-bottom: 1px solid var(--line); }
.brand { gap: 10px; font-weight: 700; font-size: 22px; letter-spacing: -.06em; text-decoration: none; }
.brand img { object-fit: contain; }
nav { gap: 30px; }
nav a, .footer-links a { font-size: 14px; font-weight: 500; text-decoration: none; }
nav a:hover, nav a[aria-current="page"], .footer-links a:hover { text-decoration: underline; }
nav a span { color: var(--purple); }

.hero {
  display: grid;
  grid-template-columns: 1.13fr 1fr;
  align-items: center;
  gap: 6%;
  padding: clamp(46px, 5.5vw, 80px) 0;
}

.platform, .compat, .duration, .updated {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}

.platform { gap: 10px; color: var(--purple); text-transform: uppercase; font-weight: 600; letter-spacing: .13em; }
.platform-mark { width: 17px; height: 12px; border: 1.5px solid; border-radius: 2px; position: relative; margin-right: 1px; }
.platform-mark::after { content: ""; position: absolute; width: 10px; left: 2px; bottom: -4px; border-bottom: 1.5px solid; }
h1, .section-heading h2, .features h2, .policy h2 { font-family: var(--serif); font-weight: 400; }
h1 { margin: 21px 0; font-size: clamp(64px, 6.65vw, 99px); line-height: .97; letter-spacing: -.043em; }
h1 em { color: var(--purple); font-weight: 400; }
.intro { max-width: 470px; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.55; color: #514c54; }
.hero-actions { gap: 17px; margin-top: 28px; }
.button {
  display: inline-flex;
  gap: 12px;
  padding: 13px 21px;
  border-radius: 9px;
  background: #214f39;
  color: white;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.button:hover { background: #2f6246; color: white; }
.play { width: 0; height: 0; border-block: 5px solid transparent; border-left: 8px solid currentColor; }
.compat, .duration, .updated { color: var(--muted); }
.art {
  isolation: isolate;
  position: relative;
  width: 100%;
  aspect-ratio: 1.26;
  display: grid;
  place-items: center;
}

.grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: radial-gradient(ellipse, #d9eab8 0, #e9eedd 37%, transparent 68%);
}

.grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#70567a66 .8px, transparent 1px);
  background-size: 12px 12px;
  mask-image: radial-gradient(ellipse, black 36%, transparent 78%);
}

.orbit { position: absolute; z-index: -1; aspect-ratio: 1; border: 1px solid #7659853b; border-radius: 50%; }
.orbit.outer { width: 74%; }
.orbit.inner { width: 62%; border-style: dashed; }
.art img { width: 76%; height: auto; filter: drop-shadow(0 18px 12px #35253a33); transform: rotate(6deg); }
.cross { position: absolute; width: 13px; height: 13px; background: linear-gradient(#967aa0, #967aa0) center/100% 1px no-repeat, linear-gradient(#967aa0, #967aa0) center/1px 100% no-repeat; }
.nw, .ne { top: 9%; }
.sw, .se { bottom: 9%; }
.nw, .sw { left: 5%; }
.ne, .se { right: 5%; }

.tour { border-top: 1px solid var(--line); padding-top: 24px; scroll-margin: 20px; }
.section-heading { justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 20px; }
.section-heading h2 { font-size: clamp(35px, 3.2vw, 47px); letter-spacing: -.035em; line-height: 1.08; }
.duration { gap: 8px; white-space: nowrap; }
.film-mark { width: 13px; height: 13px; border: 1px solid; border-radius: 50%; position: relative; }
.film-mark::before { content: ""; position: absolute; height: 4px; width: 3px; left: 5px; top: 2px; border-left: 1px solid; border-bottom: 1px solid; }

.stage {
  padding: clamp(16px, 3.8vw, 53px) clamp(14px, 5vw, 75px);
  border-radius: 16px;
  border: 1px solid #cbbbd1;
  background: radial-gradient(ellipse at 10% 100%, #ae92bd, transparent 55%), linear-gradient(120deg, #efe4ed 5%, #d8c3e3 58%, #bea3cf);
}

.window { overflow: hidden; border: 1px solid #4931524d; border-radius: 9px; box-shadow: 0 15px 35px -14px #4629547d; background: #f9fafb; }
.titlebar { height: 26px; position: relative; display: grid; place-items: center; background: #f4f3f3; border-bottom: 1px solid #ddd; color: #46424b; font-size: 11px; font-weight: 600; }
.lights { position: absolute; display: flex; gap: 5px; left: 10px; }
.lights i { width: 9px; height: 9px; border-radius: 50%; background: #eb766e; }
.lights i:nth-child(2) { background: #f1c360; }
.lights i:nth-child(3) { background: #79bd77; }
video { display: block; width: 100%; height: auto; aspect-ratio: 8/5; background: #1b1a20; }
figcaption { color: var(--muted); font-size: 14px; line-height: 1.5; padding-top: 12px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; padding: 55px 0 64px; }
.features section { border-top: 1px solid var(--line); padding-top: 16px; }
.features h2, .policy h2 { font-size: 33px; line-height: 1.15; letter-spacing: -.02em; }
.features p { margin-top: 9px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.footer { border-top: 1px solid var(--line); justify-content: space-between; align-items: flex-start; gap: 28px; padding-block: 25px 36px; }
.footer strong { font-weight: 700; font-size: 17px; letter-spacing: -.04em; }
.footer p { color: var(--muted); font-size: 12px; line-height: 1.6; margin-top: 4px; }
.footer-links { gap: 18px; flex-wrap: wrap; }
.policy { padding-block: 65px 75px; }
.policy article { max-width: 680px; margin: 0 auto; }
.policy h1 { margin: 18px 0; }
.policy .lede { font-size: 21px; margin-top: 32px; color: var(--ink); }
.policy h2 { margin: 35px 0 10px; }
.policy article > p:not(.platform, .updated) { line-height: 1.65; }
.policy article > p + p:not(.lede) { margin-top: 12px; }
.policy article a { color: var(--purple); }

@media (max-width: 760px) {
  .shell { width: calc(100% - 44px); }
  .mast { min-height: 65px; }
  nav { gap: 18px; }
  .hero { gap: 0; padding-block: 44px; grid-template-columns: 1.35fr 1fr; }
  h1 { font-size: clamp(56px, 8.2vw, 68px); }
  .features { gap: 20px; }
  .features h2 { font-size: 28px; }
  .footer { flex-direction: column; gap: 16px; }
}

@media (max-width: 570px) {
  .brand { font-size: 19px; gap: 6px; }
  .brand img { width: 28px; height: 28px; }
  nav { gap: 14px; }
  nav a { font-size: 13px; }
  .hero { grid-template-columns: 1fr; gap: 8px; padding-block: 35px 15px; }
  .hero h1 { font-size: clamp(57px, 14vw, 78px); }
  .art { width: min(100%, 370px); aspect-ratio: 1.82; justify-self: center; }
  .art img { width: 53%; }
  .orbit.outer { width: 53%; }
  .orbit.inner { width: 44%; }
  .hero-actions { margin-top: 20px; }
  .section-heading { margin-bottom: 14px; gap: 10px; }
  .duration { font-size: 11px; }
  .stage { border-radius: 10px; padding: 15px 10px; }
  .titlebar { height: 20px; }
  .lights i { width: 6px; height: 6px; }
  .features { grid-template-columns: 1fr; padding-block: 34px; }
  .policy { padding-block: 40px; }
}
