@font-face {
  font-family: Roboto;
  src: url('/assets/roboto.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: Poppins;
  src: url('/assets/poppins-bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('/assets/space-grotesk-medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --green-start: #ade446;
  --green-end: #13c93e;
  --green-gradient: radial-gradient(ellipse at bottom right, var(--green-end), var(--green-start) 90%);
  font-family: Roboto, Arial, sans-serif;
  color: #fff;
  background-color: #000;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--green-start); outline-offset: 5px; }

.site-header {
  position: relative;
  z-index: 1;
  background: #000;
}

.header-inner {
  width: min(100% - 48px, 89.1667%, 1284px);
  min-height: 108px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  font: 700 24px/1.5 Poppins, Arial, sans-serif;
  text-decoration: none;
}

.brand img { display: block; flex: none; }

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 3.3333vw, 48px);
  white-space: nowrap;
}

.site-nav a { padding-block: 10px; text-decoration: none; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-nav [aria-current='page'] { font-weight: 600; }

.download {
  justify-self: end;
  min-width: 142px;
  min-height: 49px;
  padding-inline: 20px;
  border: 0;
  border-radius: 999px;
  background: var(--green-gradient);
  color: #142307;
  cursor: pointer;
  font: 500 18px/1 Roboto, Arial, sans-serif;
}

.download:hover { filter: brightness(1.1); }

.download-status {
  inset: 84px max(24px, calc((100vw - 1284px) / 2)) auto auto;
  width: min(294px, calc(100% - 40px));
  margin: 0;
  padding: 16px 18px;
  border: 1px solid #41562e;
  border-radius: 14px;
  background: #161c13;
  color: #fff;
  box-shadow: 0 6px 24px #0008;
  line-height: 1.4;
}

.landing, .document { position: relative; isolation: isolate; }

.aurora {
  position: absolute;
  inset: 0 0 auto;
  height: var(--aurora-height, 1377px);
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.aurora-ambient {
  position: absolute;
  width: 119.39%;
  height: 111.57%;
  left: -9.69%;
  top: -11.47%;
}

.aurora-overlay {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000c;
  transform: scaleY(-1);
}

.aurora-glow {
  position: absolute;
  width: 210.28%;
  height: 387.8%;
  left: -82.71%;
  top: -201.46%;
}

.landing { --aurora-height: 100%; overflow: hidden; }

.ribbon {
  position: absolute;
  inset: 2.5084% 0 auto;
  height: 103.5959%;
  overflow: hidden;
}

.ribbon img {
  position: absolute;
  width: 116.53%;
  height: 120.43%;
  left: -8.26%;
}

.hero-art { height: clamp(380px, 47.2222vw, 680px); }

.phone {
  position: absolute;
  top: clamp(202px, 26.6292vw, 383.46px);
  left: 28.5767%;
  width: clamp(166px, 21.1944vw, 305.2px);
  aspect-ratio: 305.2 / 629.558;
  overflow: hidden;
  transform: translate(-50%, -50%) rotate(-12.58deg);
  border: clamp(2px, .23vw, 3.303px) solid rgb(79 79 79 / 86%);
  border-radius: clamp(14px, 1.606vw, 23.121px);
  background: black;
}

.phone-display {
  position: absolute;
  inset: 1px;
  overflow: hidden;
  border-radius: inherit;
  background: #131313;
}

.phone-display img {
  position: absolute;
  top: -6.13%;
  left: 0;
  width: 100%;
  height: 106.16%;
  object-fit: cover;
  transform: rotate(.55deg);
}

.intro {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(350px, 48.4028vw, 697px);
  padding: 59px 24px 0;
  background: linear-gradient(180deg, #0a0a0a00 0%, #0a0a0a 50%, #0a0a0ae6 75%, #0a0a0af2 100%);
}

.intro::before {
  content: '';
  position: absolute;
  inset: 0 50% 0 0;
  background: linear-gradient(239.188deg, #0a0a0a00, #0a0a0a33 65%, #000 100%);
}

.intro h1 {
  position: relative;
  max-width: 795px;
  margin: 0;
  text-align: center;
  font: 500 clamp(25px, 2.7778vw, 40px)/1.2 'Space Grotesk', Arial, sans-serif;
}

.document {
  min-height: calc(100vh - 108px);
  overflow: clip;
}

.document-content {
  width: min(100% - 48px, 83.3333%, 1200px);
  margin-inline: auto;
  padding-block: 72px 100px;
  font-size: 20px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.document-content h1 {
  width: fit-content;
  margin: 0 0 24px;
  color: var(--green-start);
  background: var(--green-gradient);
  background-clip: text;
  color: transparent;
  font-size: clamp(29px, 4vw, 36px);
  line-height: 1.17;
}

.document-content h2 { margin: 30px 0 8px; font-size: 1em; font-weight: 700; }
.document-content p { margin: 0 0 14px; }
.document-content a { text-underline-offset: 3px; }
.document-content a:hover { color: var(--green-start); }

@media (max-width: 780px) {
  .header-inner {
    width: calc(100% - 40px);
    min-height: auto;
    grid-template-columns: 1fr auto;
    gap: 8px 14px;
    padding-block: 16px 8px;
  }
  .brand { font-size: 20px; gap: 8px; }
  .brand img { width: 38px; height: 38px; }
  .download { grid-column: 2; grid-row: 1; min-width: 104px; min-height: 40px; font-size: 15px; }
  .download-status { inset: 64px 20px auto auto; }
  .site-nav { grid-column: 1 / -1; }
  .document-content { width: calc(100% - 40px); padding-block: 42px 64px; font-size: 17px; }
}

@media (max-width: 520px) {
  .site-nav { gap: clamp(12px, 4.2vw, 22px); font-size: 14px; }
  .hero-art { height: 348px; }
  .phone { width: 148px; top: 174px; left: 33%; }
  .ribbon { left: -30%; width: 153%; }
  .intro { min-height: 313px; padding-top: 20px; }
}

@media (forced-colors: active) {
  .document-content h1 { color: CanvasText; }
}
