@font-face {
  font-family: "Skolkovo";
  src: url("/assets/SkolkovoTypeface.otf") format("opentype");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #090b0d;
  --paper: #f4f7f8;
  --muted: #b2bac0;
  --mint: #9ce7c5;
  --cyan: #8ddcff;
  --coral: #ff715f;
  --line: rgba(244, 247, 248, 0.2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}
a { color: inherit; }

.hero {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}
.hero-media, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { z-index: -3; object-fit: cover; object-position: center; }
.hero-shade { z-index: -2; background: rgba(2, 4, 6, 0.18); }
.topbar, .hero-copy, .protocol-strip { width: min(100% - 48px, 1240px); margin-inline: auto; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: max(24px, env(safe-area-inset-top)) 0 20px;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-family: "Skolkovo", sans-serif;
  font-size: 25px;
  line-height: 1;
  text-decoration: none;
}
.status { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; }
.status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 16px rgba(156, 231, 197, 0.72);
}

.hero-copy { align-self: center; padding: 48px 0 56px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 720;
  text-transform: uppercase;
}
.eyebrow span { width: 28px; height: 2px; background: var(--coral); }
h1 {
  margin: 0;
  color: var(--paper);
  font-family: "Skolkovo", sans-serif;
  font-size: clamp(82px, 13vw, 188px);
  font-weight: 400;
  line-height: 0.78;
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.48);
}
.promise {
  margin: 30px 0 12px;
  color: var(--paper);
  font-size: clamp(26px, 3.4vw, 48px);
  font-weight: 660;
  line-height: 1.05;
}
.lead {
  max-width: 560px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.55;
}

.actions { display: flex; align-items: stretch; gap: 10px; }
.primary-action, .secondary-action {
  display: inline-flex;
  align-items: center;
  min-height: 64px;
  border: 1px solid rgba(244, 247, 248, 0.22);
  border-radius: 32px;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}
.primary-action {
  justify-content: space-between;
  gap: 30px;
  min-width: 310px;
  padding: 6px 7px 6px 24px;
  background: rgba(244, 247, 248, 0.96);
  color: #0a0d0f;
  font-size: 16px;
  font-weight: 760;
}
.action-icon, .secondary-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
}
.action-icon { background: var(--coral); color: #090b0d; font-size: 23px; }
.secondary-action {
  gap: 10px;
  padding: 6px 22px 6px 7px;
  background: rgba(9, 11, 13, 0.72);
  color: var(--paper);
  font-size: 14px;
  font-weight: 680;
}
.secondary-icon { background: var(--cyan); color: #081015; font-size: 20px; }
.primary-action:hover, .primary-action:focus-visible,
.secondary-action:hover, .secondary-action:focus-visible {
  border-color: var(--cyan);
  transform: translateY(-2px);
  outline: none;
}

.benefits {
  display: flex;
  gap: 28px;
  margin: 34px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 12px;
  list-style: none;
}
.benefits li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.benefits b { color: var(--mint); font-size: 10px; }
.protocol-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.protocol-strip span {
  min-width: 0;
  padding: 18px 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  text-align: center;
  text-transform: uppercase;
}
.protocol-strip span + span { border-left: 1px solid var(--line); }

@media (max-width: 720px) {
  .topbar, .hero-copy, .protocol-strip { width: min(100% - 28px, 1240px); }
  .hero-media { object-position: 66% center; opacity: 0.55; }
  .hero-shade { background: rgba(2, 4, 6, 0.38); }
  .hero-copy { padding: 38px 0 42px; }
  h1 { font-size: clamp(72px, 24vw, 108px); }
  .promise { margin-top: 24px; }
  .actions { flex-direction: column; }
  .primary-action, .secondary-action { width: 100%; }
  .secondary-action { justify-content: flex-start; }
  .benefits { justify-content: space-between; gap: 8px; }
  .benefits li { align-items: flex-start; flex-direction: column; gap: 3px; white-space: normal; }
  .protocol-strip span { padding: 14px 3px; font-size: 9px; }
}

@media (max-height: 620px) and (min-width: 600px) {
  .topbar { padding-top: 16px; padding-bottom: 12px; }
  .hero-copy { padding: 20px 0 22px; }
  .eyebrow { margin-bottom: 14px; }
  h1 { font-size: 76px; }
  .promise { margin-top: 18px; font-size: 26px; }
  .lead { max-width: 500px; margin-bottom: 18px; font-size: 14px; }
  .primary-action, .secondary-action { min-height: 50px; }
  .action-icon, .secondary-icon { width: 38px; height: 38px; }
  .benefits { display: none; }
  .protocol-strip span { padding-block: 10px; }
}

@media (max-height: 420px) and (min-width: 420px) {
  .topbar { padding: 10px 0 8px; }
  .wordmark { font-size: 18px; }
  .status { font-size: 10px; }
  .hero-media { object-position: 82% center; opacity: 0.6; }
  .hero-shade { background: rgba(2, 4, 6, 0.28); }
  .hero-copy { padding: 7px 0 9px; }
  .eyebrow { margin-bottom: 7px; font-size: 9px; }
  .eyebrow span { width: 20px; }
  h1 { font-size: 54px; }
  .promise { margin: 10px 0 11px; font-size: 20px; }
  .lead, .secondary-action, .benefits { display: none; }
  .actions { flex-direction: row; }
  .primary-action { width: 230px; min-width: 0; min-height: 40px; padding: 4px 5px 4px 16px; font-size: 12px; }
  .action-icon { width: 30px; height: 30px; font-size: 16px; }
  .protocol-strip span { padding-block: 7px; font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .primary-action, .secondary-action { transition: none; }
}
