@font-face {
  font-family: Unbounded;
  src: url("assets/fonts/unbounded-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: "Golos Text";
  src: url("assets/fonts/golos-text-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Golos Text";
  src: url("assets/fonts/golos-text-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  color-scheme: light;
  --paper: #f7f1e5;
  --ink: #211d18;
  --secondary: #574e43;
  --orange: #f06524;
  --rust: #b83c17;
  --moss: #61734a;
  --line: #d8d0c2;
  --paper-lift: #fcf8f0;
  --body: "Golos Text", system-ui, sans-serif;
  --display: Unbounded, "Arial Black", var(--body);
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --gutter: clamp(48px, 5vw, 80px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 400 1rem/1.5 var(--body);
}
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.frame { width: min(1328px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.download svg, .join svg, .copy svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.masthead {
  min-height: 78px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--ink);
}
.wordmark, .download {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
.wordmark { font: 750 .95rem/1.2 var(--display); letter-spacing: -.045em; white-space: nowrap; }
.download { font-weight: 600; font-size: .9rem; transition: color 190ms var(--ease); }
.download svg { width: 17px; height: 17px; }
.download:hover { color: var(--rust); }

.hero {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 20px;
  padding-block: 36px 44px;
}
.hero-content { grid-column: 1 / 8; align-self: center; position: relative; z-index: 1; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  color: var(--secondary);
  font-size: .74rem;
  font-weight: 680;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.separator { color: var(--rust); }
.meter { display: inline-flex; height: 15px; align-items: center; gap: 2px; margin-right: 4px; }
.meter i { display: block; width: 2px; background: var(--rust); }
.meter i:nth-child(1) { height: 6px; }
.meter i:nth-child(2) { height: 10px; }
.meter i:nth-child(3) { height: 15px; }
.meter i:nth-child(4) { height: 8px; }

.title {
  margin: 0 0 26px -.05em;
  font: 870 clamp(3.6rem, 8.18vw, 8.15rem)/.87 var(--display);
  letter-spacing: -.049em;
}
.title span { display: block; color: var(--rust); }
.tagline {
  margin: 0;
  font-size: clamp(1.35rem, 2.15vw, 2rem);
  font-weight: 680;
  line-height: 1.16;
  letter-spacing: -.045em;
}
.intro {
  margin: 10px 0 26px;
  max-width: 38ch;
  color: var(--secondary);
  font-size: clamp(1rem, 1.27vw, 1.12rem);
}

.connection { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; }
.join, .copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 54px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease), transform 170ms var(--ease);
}
.join {
  border: 1px solid var(--ink);
  padding: 0 16px;
  background: var(--orange);
  color: var(--ink);
  font-weight: 720;
  text-decoration: none;
}
.join:hover { background: var(--ink); color: var(--paper); }
.join:active, .copy:active { transform: translateY(2px); }
.address-entry { position: relative; }
.address-copy {
  display: flex;
  align-items: stretch;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper-lift);
}
.address-text { display: grid; align-content: center; padding: 5px 12px; }
.address-label { font-size: .69rem; font-weight: 650; color: var(--secondary); letter-spacing: .055em; text-transform: uppercase; }
code { font: 600 .96em/1.35 var(--mono); white-space: nowrap; }
.address-text code { font-size: .94rem; user-select: all; }
.copy {
  width: 126px;
  min-height: 52px;
  padding-inline: 8px;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0 3px 3px 0;
  background: transparent;
  color: var(--ink);
  font-size: .81rem;
  font-weight: 650;
}
.copy:hover { background: #eae2d4; }
.copy[aria-disabled="true"] { opacity: .63; cursor: wait; }
.copy [class$="-icon"] { width: 17px; height: 17px; }
.copy .check-icon, .copy.is-copied .copy-icon { display: none; }
.copy.is-copied .check-icon { display: block; }
.copy.is-copied { background: #e2e8d7; color: #3e4f30; }
.feedback { position: absolute; inset: 100% auto auto 0; width: max-content; max-width: min(30ch, 100%); margin: 5px 0 0; color: var(--secondary); font-size: .75rem; }
.feedback:empty { display: none; }
.feedback.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.poster {
  grid-column: 8 / -1;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 440px;
  margin: 0;
  border: 1px solid var(--ink);
  background: var(--orange);
}
.poster-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("assets/print-grid.svg") repeat;
  opacity: .49;
}
.signal {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #f7f1e5;
  stroke-width: 1.4;
  opacity: .78;
}
.mascot {
  display: block;
  width: min(91%, 475px);
  height: auto;
  max-height: 510px;
  object-fit: contain;
  transform-origin: 50% 84%;
  animation: tune-in 8s 1.2s ease-in-out infinite;
}
@keyframes tune-in {
  0%, 66%, 100% { transform: translateY(0) rotate(0); }
  78% { transform: translateY(-4px) rotate(-1.3deg); }
  89% { transform: translateY(-1px) rotate(.6deg); }
}
@keyframes arrive {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-content, .poster { animation: arrive 280ms var(--ease) both; }
.poster { animation-delay: 50ms; }

.guide {
  display: grid;
  grid-template-columns: minmax(210px, 1.07fr) minmax(0, 3fr);
  gap: 28px;
  border-top: 1px solid var(--ink);
  padding-block: 24px 27px;
}
.guide h2 { margin: 0; font-size: clamp(1.52rem, 2.3vw, 2.13rem); font-weight: 670; line-height: 1.12; letter-spacing: -.06em; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; margin: 0; list-style: none; }
.steps li { display: flex; flex-direction: column; gap: 6px; padding: 0 16px; border-left: 1px solid var(--line); font-size: .98rem; line-height: 1.35; }
.step-index { font: 670 1.75rem/1.05 var(--display); letter-spacing: -.075em; color: var(--rust); }
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  border-top: 1px solid var(--line);
  color: var(--secondary);
  font-size: .83rem;
}
.footer-name { display: inline-flex; gap: 8px; align-items: center; }
.footer-name strong { color: var(--ink); }

@media (min-width: 1120px) {
  .hero { padding-block: 44px 48px; }
  .poster { min-height: 496px; }
}
@media (max-width: 1050px) {
  .poster { align-self: stretch; min-height: 405px; }
}
@media (max-width: 840px) {
  :root { --gutter: 24px; }
  .hero { gap: 30px 12px; padding-block: 28px 32px; }
  .hero-content, .poster { grid-column: 1 / -1; }
  .title { display: flex; flex-wrap: wrap; gap: 0 .025em; margin-bottom: 18px; font-size: clamp(2.4rem, 8.6vw, 5.3rem); }
  .title span { display: inline; }
  .intro { margin-bottom: 19px; }
  .poster { min-height: 0; aspect-ratio: 1.32; }
  .mascot { width: min(76%, 430px); max-height: 94%; }
  .guide { grid-template-columns: 1fr; gap: 19px; }
}
@media (max-width: 520px) {
  :root { --gutter: 20px; }
  .masthead { min-height: 64px; gap: 6px; }
  .wordmark { font-size: .79rem; gap: 6px; }
  .wordmark img { width: 28px; height: 28px; }
  .download { font-size: .76rem; gap: 5px; }
  .download svg { width: 14px; height: 14px; }
  .eyebrow { font-size: .66rem; gap: 6px; margin-bottom: 16px; letter-spacing: .09em; }
  .meter { margin-right: 1px; }
  .title { font-size: clamp(2.02rem, 9.5vw, 3.2rem); }
  .tagline { max-width: 25ch; }
  .intro { font-size: .97rem; }
  .connection { width: 100%; }
  .join, .address-entry { width: 100%; }
  .address-copy { justify-content: space-between; }
  .poster { aspect-ratio: 1.15; }
  .mascot { width: 85%; }
  .steps { grid-template-columns: 1fr; }
  .steps li { flex-direction: row; align-items: center; gap: 13px; padding: 12px 0; border-left: 0; border-top: 1px solid var(--line); }
  .step-index { min-width: 42px; font-size: 1.38rem; }
  .footer { gap: 8px; font-size: .72rem; }
  .footer-name { gap: 5px; }
  .footer-name img { width: 17px; height: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
