@font-face {
  font-family: Golos;
  src: url('./golos-cyr.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Golos;
  src: url('./golos-lat.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f5f2e8;
  --ink: #172d25;
  --muted: #4a5d51;
  --line: #c7cec0;
  --lime: #d4f36c;
  --side: clamp(20px, 5vw, 88px);
  color: var(--ink);
  background: var(--paper);
  font: 400 1rem/1.55 Golos, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, p, dl, dd { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.22em; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }

.wrap { width: min(calc(100% - 2 * var(--side)), 1344px); margin-inline: auto; }
.skip { position: absolute; z-index: 1; top: 8px; left: 8px; padding: 10px 14px; background: var(--paper); }
.skip:not(:focus) { clip-path: inset(50%); }

.masthead, .footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.masthead { min-height: 76px; border-bottom: 1px solid var(--line); }
.masthead nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 36px); }
.wordmark { display: inline-flex; align-items: center; gap: 9px; font-size: 1.55rem; font-weight: 800; letter-spacing: -0.055em; text-decoration: none; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; font-size: 0.92rem; font-weight: 650; }
.text-link:hover { text-decoration-thickness: 2px; }

.hero {
  display: grid;
  justify-items: center;
  gap: clamp(28px, 3vw, 44px);
  padding-block: clamp(32px, 3.7vw, 54px) clamp(40px, 3.4vw, 54px);
}
.hero-copy { display: grid; justify-items: center; text-align: center; }
h1, h2 { font-weight: 800; letter-spacing: -0.04em; line-height: 1.04; }
h1 { max-width: 19ch; font-size: clamp(2.25rem, 6.3vw, 5rem); text-wrap: balance; }
h1 span { white-space: nowrap; }
h2 { font-size: clamp(2.15rem, 4.25vw, 4.3rem); }
.hero-deck { max-width: 48ch; margin-top: 16px; font-size: clamp(1.02rem, 1.7vw, 1.25rem); text-wrap: balance; }
.hero-action { display: grid; justify-items: center; gap: 8px; margin-top: 24px; }
.hero-note, .instructions { color: var(--muted); font-size: 0.9rem; }
.hero-note { text-wrap: balance; }
.hero-access { max-width: 48ch; margin-top: 12px; color: var(--muted); font-size: 0.93rem; text-wrap: balance; }
.hero-access a { display: inline-block; font-weight: 650; }
.instructions { margin-top: 12px; }

.hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  width: min(100%, 1120px);
  min-height: clamp(280px, 25vw, 344px);
  overflow: hidden;
  border-radius: 14px;
  background: var(--ink);
}
.hero-art {
  position: absolute;
  inset: 0 auto 0 0;
  width: 64%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 66%;
  mask-image: linear-gradient(to right, #000 72%, transparent);
}
.hero-screen {
  position: relative;
  grid-column: 2;
  justify-self: center;
  width: min(84%, 352px);
  height: auto;
  border: 1px solid #789083;
  border-radius: 12px;
  box-shadow: 0 14px 35px #0b1c16a8;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 12px 18px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}
.button svg { flex: none; }
.button:focus-visible { outline-color: var(--ink); }
.button:hover { background: #2d473b; }
.button:active { transform: translateY(1px); }

.details { background: var(--ink); color: var(--paper); padding-block: clamp(48px, 7vw, 92px); }
.details h2 { max-width: 19ch; }
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 56px);
  margin-top: 32px;
}
.features div { padding-top: 15px; border-top: 1px solid #577168; }
.features dt { font-size: 1.14rem; font-weight: 750; }
.features dd { margin-top: 4px; color: #cddbd1; }

.roadmap { padding-block: clamp(48px, 7vw, 92px); }
.roadmap-label { margin-bottom: 10px; color: var(--muted); font-size: 0.94rem; font-weight: 700; }
.roadmap h2 { max-width: 19ch; }
.roadmap .features div { border-color: var(--line); }
.roadmap .features dd, .roadmap-app { color: var(--muted); }
.roadmap-app { margin-top: 26px; }

.early { background: var(--lime); padding-block: clamp(50px, 8vw, 114px); }
.early-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.75fr); align-items: end; gap: clamp(22px, 6vw, 82px); }
.early-inner > div > p:first-child { max-width: 37ch; margin-bottom: 20px; font-size: 1.12rem; }
.early .instructions { color: var(--ink); }
.footer { min-height: 77px; }
.footer span { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.05em; }

@media (min-width: 761px) and (max-height: 830px) {
  .hero { gap: 24px; padding-block: 28px 36px; }
  h1 { font-size: clamp(2.75rem, 5.4vw, 3.75rem); }
  .hero-stage { min-height: clamp(244px, 35svh, 288px); }
  .hero-screen { width: min(78%, 315px); }
}

@media (min-width: 761px) and (min-height: 831px) {
  .hero { min-height: calc(100svh - 76px); align-content: center; }
}

@media (max-width: 760px) {
  .masthead { min-height: 64px; }
  .hero-deck { margin-top: 12px; }
  .hero-action { margin-top: 20px; }
  .features, .early-inner { grid-template-columns: minmax(0, 1fr); }
  .features { gap: 17px; margin-top: 24px; }
}

@media (max-width: 540px) {
  .masthead .features-link { display: none; }
  .hero { padding-block: 32px 40px; }
  h1 { font-size: clamp(1.93rem, 9.5vw, 2.95rem); }
  .hero-stage { grid-template-columns: minmax(0, 1fr); min-height: clamp(240px, 69vw, 320px); }
  .hero-art { width: 100%; object-position: 50% 14%; mask-image: none; }
  .hero-screen { grid-column: 1; justify-self: end; align-self: end; width: min(72%, 290px); margin: 16px; border-radius: 9px; }
}

@media (max-width: 360px) {
  .hero { gap: 22px; padding-top: 26px; }
  .hero-stage { min-height: 208px; }
}

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