@font-face {
  font-family: Manrope;
  src: url("assets/manrope-medium.woff") format("woff");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("assets/manrope-bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("assets/manrope-extrabold.woff") format("woff");
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --canvas: #f6f5f1;
  --ink: #1a2028;
  --muted: #515963;
  --yellow: #fdc622;
  --white: #fff;
  font-family: Manrope, system-ui, sans-serif;
  font-weight: 500;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: radial-gradient(ellipse at 22% 0%, #fff3cd 0%, transparent 45%), var(--canvas);
}

.page {
  width: min(100%, 1100px);
  margin: 0 auto;
  padding: max(24px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}

.brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 1px 20px;
}

.brand-identity {
  display: flex;
  align-items: center;
  gap: 9px;
}

.brand-identity img {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 11px;
}

.brand-identity strong {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -.055em;
}

.brand span {
  color: #3c434a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.layout {
  display: grid;
  gap: 25px;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 250px;
  padding: 28px 20px;
  border: 1px solid #eab72b;
  border-radius: 30px;
  background: linear-gradient(140deg, #ffdb65 0%, var(--yellow) 56%, #f7ba0b 100%);
  box-shadow: inset 0 1px 0 #fff7d082, 0 12px 26px #634e0a19;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -16%;
  bottom: -49%;
  width: 76%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffe690;
  box-shadow: 0 0 0 1px #fff3b7b3, 0 0 0 18px #ffe78480, 0 0 0 19px #ffea9fa6;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: 60%;
}

.hero h1 {
  margin: 0;
  font-size: clamp(28px, 8.5vw, 53px);
  line-height: 1.01;
  font-weight: 800;
  letter-spacing: -.064em;
}

.hero p {
  margin: 14px 0 0;
  max-width: 15ch;
  color: #322b1f;
  font-size: clamp(13px, 3.4vw, 16px);
  font-weight: 700;
  line-height: 1.5;
}

.hero-master {
  position: absolute;
  right: -4%;
  bottom: -30%;
  width: 53%;
  height: auto;
  filter: drop-shadow(-5px 8px 12px #5c3c1344);
}

.sparkle {
  position: absolute;
  top: 13%;
  right: 9%;
  width: 25px;
  color: #fff5c5;
}

.platforms h2 {
  margin: 0 0 12px 2px;
  font-size: 19px;
  line-height: 1.23;
  font-weight: 800;
  letter-spacing: -.036em;
}

.platform-list {
  display: grid;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.platform {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 76px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #1a202811;
  border-radius: 22px;
  box-shadow: 0 6px 15px #1a20280a;
  text-decoration: none;
  touch-action: manipulation;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.platform:focus-visible {
  outline: 3px solid #076ca9;
  outline-offset: 4px;
}

.platform:active { transform: translateY(1px); }

@media (hover: hover) {
  .platform:hover {
    transform: translateY(-2px);
    box-shadow: 0 11px 21px #1a202821;
  }
}

.platform-icon {
  display: grid;
  flex: 0 0 47px;
  width: 47px;
  height: 47px;
  place-items: center;
  border-radius: 15px;
}

.platform-icon svg {
  width: 25px;
  height: 25px;
}

.telegram-icon {
  color: var(--white);
  background: linear-gradient(160deg, #38bdf0, #0879c4);
}

.play-icon { background: #f3f5f7; }

.app-store-icon {
  color: var(--white);
  background: linear-gradient(170deg, #38bdf5, #0869e5);
}

.platform-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
  margin-right: auto;
}

.platform-copy strong {
  font-size: 17px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.024em;
}

.platform-copy > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.arrow {
  display: grid;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--ink);
  background: #f0f0eb;
  border-radius: 50%;
}

.arrow::before {
  content: "";
  width: 14px;
  height: 14px;
  background: currentColor;
  mask: url("assets/arrow.svg") center / contain no-repeat;
}

.footer {
  margin-top: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

@media (min-width: 490px) and (max-width: 819px) {
  .page { max-width: 550px; }
  .hero { min-height: 305px; padding: 34px 29px; }
}

@media (min-width: 820px) {
  body { display: grid; align-items: center; }

  .page { padding: 56px 30px 30px; }
  .brand { margin-bottom: 28px; }
  .brand-identity img { width: 52px; height: 52px; border-radius: 13px; }
  .brand-identity strong { font-size: 28px; }
  .brand span { font-size: 12px; }
  .layout {
    grid-template-columns: 1.3fr 1fr;
    gap: clamp(35px, 5vw, 66px);
    align-items: center;
  }
  .hero {
    min-height: 446px;
    padding: 39px 33px;
    border-radius: 36px;
  }
  .hero-copy { width: 70%; }
  .hero h1 { font-size: clamp(46px, 5.4vw, 64px); }
  .hero p { font-size: 18px; max-width: 16ch; }
  .hero-master { width: 57%; right: -3%; bottom: -22%; }
  .sparkle { top: 17%; right: 14%; width: 33px; }
  .platforms h2 { font-size: 26px; margin-bottom: 16px; }
  .platform { min-height: 86px; padding: 13px 16px; gap: 16px; }
  .platform-copy strong { font-size: 19px; }
  .platform-copy > span { font-size: 13px; }
  .footer { margin-top: 35px; }
}

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