@font-face {
  font-family: "Benzin";
  src: url("/fonts/benzin-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: #000;
  background: #fff8e9;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; overflow-x: clip; }
body { margin: 0; position: relative; background: #fff8e9; }
.landing {
  height: 100vh;
  height: 100dvh;
  position: relative;
  display: grid;
  place-items: center;
  padding: max(64px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(92px, calc(76px + env(safe-area-inset-bottom))) max(24px, env(safe-area-inset-left));
}
.hero { width: 100%; text-align: center; }
.logo { display: block; width: 166px; height: auto; margin: 0 auto; }
h1 {
  margin: 28px 0 0;
  font-family: "Benzin", "Arial Black", sans-serif;
  font-size: 136px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}
h1 span { display: block; white-space: nowrap; }
.actions { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 44px; }
.platform {
  height: 72px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font: inherit;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}
.platform img { display: block; flex: none; }
.platform--telegram { width: 221px; padding: 16px 23px; gap: 14px; background: #087ff5; cursor: pointer; font-size: 24px; }
.platform--telegram img { filter: brightness(0) invert(1); }
.soon-wrap { position: relative; display: inline-flex; }
.platform--ios, .platform--android { width: 72px; padding: 0; cursor: default; }
.platform--ios { background: #000; }
.platform--android { background: #04331f; }
.platform--telegram img { width: 26px; height: 21px; }
.platform--ios img { width: 27px; height: 33px; }
.platform--android img { width: 29px; height: 32px; transform: translateX(2px); }
.tooltip {
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%;
  padding: 6px 9px;
  border-radius: 7px;
  background: #000;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity 150ms ease, transform 150ms ease;
}
.platform:focus-visible, .footer a:focus-visible { outline: 3px solid #087ff5; outline-offset: 5px; }
.platform:active { transform: scale(.96); }
.footer {
  position: absolute;
  bottom: calc(20px + env(safe-area-inset-bottom));
  left: max(24px, env(safe-area-inset-left));
  right: max(24px, env(safe-area-inset-right));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: #6b7179;
  font-size: 12px;
  line-height: 20px;
}
.footer a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; }

@media (hover: hover) {
  .platform:hover { transform: translateY(-3px) scale(1.025); box-shadow: 0 10px 22px rgba(0, 0, 0, .12); }
  .soon-wrap:hover .tooltip { opacity: 1; transform: translate(-50%, 0); }
  .footer a:hover { color: #04331f; }
}

@media (max-width: 1400px) {
  h1 { font-size: 9.44vw; }
}

@media (max-width: 600px) {
  .landing { padding: max(24px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) calc(100px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
  h1 { margin-top: 30px; font-size: min(10.5vw, 53px); line-height: 1.12; }
  .actions { margin-top: 36px; gap: min(3vw, 12px); }
  .platform { height: min(14vw, 56px); flex: none; font-size: min(4.67vw, 18.67px); }
  .platform--telegram { width: min(42.98vw, 171.9px); padding: 0; gap: min(2.72vw, 10.89px); font-size: min(4.67vw, 18.67px); }
  .platform--telegram img { width: min(5.06vw, 20.22px); height: min(4.08vw, 16.33px); }
  .platform--ios, .platform--android { width: min(14vw, 56px); }
  .platform--ios img { width: min(5.25vw, 21px); height: min(6.42vw, 25.67px); }
  .platform--android img { width: min(5.64vw, 22.56px); height: min(6.22vw, 24.89px); }
  .footer { max-width: 340px; margin-inline: auto; text-align: center; font-size: 11px; line-height: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); }
}

@media (max-width: 600px) and (max-height: 550px) {
  .landing { padding-top: max(16px, env(safe-area-inset-top)); padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  h1 { margin-top: 18px; font-size: min(10.5vw, 8dvh); }
  .actions { margin-top: 20px; }
}

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

.platform picture { display: contents; }

/* Figma 165:177 — desktop 1440 × 900. */
@media (min-width: 601px) {
  @font-face {
    font-family: "Benzin";
    src: url("/fonts/Benzin-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
  }
  @font-face {
    font-family: "Poppins";
    src: url("/fonts/Poppins-Medium.ttf") format("truetype");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
  }
  .landing { display: grid; padding: 0 24px; }
  .hero { width: 100%; }
  .logo { width: 164px; height: 22.85px; margin: 0 auto; }
  h1 { margin: 44.15px 0 0; font-family: "Benzin", sans-serif; font-size: 128px; font-weight: 700; line-height: 128px; color: #000; text-align: center; }
  h1 span { white-space: nowrap; }
  .actions { width: 397px; height: 72px; margin: 45px auto 0; gap: 16px; justify-content: flex-start; }
  .platform { height: 72px; border-radius: 512px; flex: none; }
  .platform--telegram { position: relative; width: 221px; padding: 0; gap: 0; background: #007cff; font-family: "Poppins", sans-serif; font-size: 24px; font-weight: 500; letter-spacing: .24px; }
  .platform--telegram picture { display: block; position: absolute; left: 24px; top: 26px; width: 26px; height: 21px; }
  .platform--telegram img { width: 26px; height: 21px; filter: none; }
  .platform--telegram > span { position: absolute; left: 64px; top: 19px; line-height: normal; }
  .platform--ios, .platform--android { width: 72px; padding: 0; }
  .platform--ios { background: #000; }
  .platform--android { background: #042d1a; }
  .platform--ios img { width: 27px; height: 33px; }
  .platform--android img { width: 29px; height: 32px; transform: translateX(2px); }
}

@media (min-width: 601px) and (max-width: 1199px) {
  h1 { font-size: 8.89vw; line-height: 1; }
}

@media (min-width: 601px) and (max-height: 799px) {
  .landing { padding-top: env(safe-area-inset-top); padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  h1 { margin-top: 28px; font-size: min(128px, 8.89vw, calc((100dvh - 250px) / 3)); line-height: 1; }
  .actions { margin-top: 28px; }
}
