:root {
  --ink: #111318;
  --paper: #ffffff;
  --muted: #5b616e;
  --line: #e4e6eb;
  --night: #0d0b14;
  --accent: #c92f4b;
  --accent-ink: #ffffff;
  --radius: 10px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); background: var(--paper);
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2 { line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 16px; }
h1 { font-size: clamp(34px, 6vw, 60px); font-weight: 700; max-width: 14ch; }
h2 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 700; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.wrap--narrow { width: min(680px, 100% - 32px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hp { position: absolute; left: -9999px; }

/* header */
.top { position: absolute; inset: 0 0 auto; z-index: 2; }
.top__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; }
.logo img { width: 180px; }
.nav { display: flex; gap: 28px; }
.nav a { color: #fff; text-decoration: none; font-weight: 500; font-size: 15px; opacity: .9; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }

/* hero */
.hero {
  min-height: min(92vh, 820px); display: flex; align-items: center; color: #fff;
  background: linear-gradient(90deg, rgba(13,11,20,.88) 0%, rgba(13,11,20,.55) 55%, rgba(13,11,20,.25) 100%),
              url('/img/hero.jpg') center / cover no-repeat var(--night);
}
.hero__inner { padding: 140px 0 90px; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: 13px; font-weight: 600; opacity: .8; margin: 0 0 14px; }
.hero__soon { font-size: clamp(18px, 2.2vw, 22px); margin: 0 0 32px; opacity: .92; }

.btn {
  display: inline-block; border: 0; cursor: pointer; text-decoration: none;
  background: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 600; font-size: 15px;
  padding: 14px 28px; border-radius: 999px; transition: transform .15s ease, filter .15s ease;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }

/* about */
.about { padding: 110px 0; }
.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about__text p { color: var(--muted); margin: 0 0 16px; }
.about__img { border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

/* forms */
.contact { padding: 100px 0; background: #f6f7f9; }
.join { padding: 100px 0; background: var(--night); color: #fff; text-align: center; }
.join .lead { color: rgba(255,255,255,.75); }
.lead { color: var(--muted); margin: 0 0 32px; }
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.form input, .form textarea {
  font: inherit; font-size: 16px; font-weight: 400; color: var(--ink);
  border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 13px 14px; width: 100%;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.form .btn { justify-self: start; }
.form--inline { grid-template-columns: 1fr auto; max-width: 520px; margin: 0 auto; }
.form--inline .status { grid-column: 1 / -1; }
.note { font-size: 13px; color: var(--muted); margin: 0; }
.status { min-height: 1.4em; margin: 0; font-size: 15px; font-weight: 500; }
.status.ok { color: #1e7a3f; }
.status.err { color: #b3261e; }
.join .status.ok { color: #7fe0a3; }
.join .status.err { color: #ff9a8f; }

/* footer */
.foot { background: #07060c; color: rgba(255,255,255,.8); padding: 56px 0 28px; font-size: 15px; }
.foot__inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot__inner img { width: 150px; margin-bottom: 12px; }
.foot__legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 20px; font-size: 13px; color: rgba(255,255,255,.55); }

/* legal page */
.page { padding: 140px 0 90px; }
.page h1 { font-size: clamp(30px, 4vw, 42px); max-width: none; }
.page h2 { font-size: 20px; margin-top: 32px; }
.page p, .page li { color: var(--muted); }
.page--top { background: var(--night); }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { gap: 16px; }
  .nav a:nth-child(3) { display: none; }
  .logo img { width: 140px; }
  .about { padding: 72px 0; }
  .about__inner { grid-template-columns: 1fr; gap: 32px; }
  .contact, .join { padding: 72px 0; }
  .form .row, .form--inline { grid-template-columns: 1fr; }
  .form--inline .btn { justify-self: stretch; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
