@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/inter.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/inter-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/inter-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

:root {
  color-scheme: dark;
  --background: #100b1a;
  --surface: #1b1428;
  --text: #fbf8ff;
  --muted: #c6bacf;
  --rose: #ff91bf;
  --line: #382d48;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(ellipse 50rem 32rem at 15% 10%, #291842 0%, transparent 75%), var(--background);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 4px; }
.shell { width: min(calc(100% - 48px), 1120px); margin-inline: auto; }

.site-header { border-bottom: 1px solid var(--line); background: #110c1bcc; }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 72px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 1.2rem; font-weight: 700; letter-spacing: -.045em; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border-radius: 10px;
  background: linear-gradient(135deg, #9f65ff, #d01d66 70%, #e4552c);
  box-shadow: 0 5px 18px #d2347d42;
}
.brand-mark::after { content: ""; width: 10px; height: 12px; background: white; clip-path: polygon(0 0, 100% 50%, 0 100%); translate: 1px 0; }
.brand-accent { color: #f393cb; }
.languages { display: inline-flex; flex: none; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 10px; }
.languages a { padding: 6px 11px; border-radius: 6px; color: var(--muted); font-size: .875rem; }
.languages a:hover { color: var(--text); }
.languages a[aria-current] { color: var(--text); background: #39254b; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: clamp(30px, 5.3vw, 76px);
  align-items: center;
  padding-block: clamp(70px, 8.4vw, 115px) clamp(56px, 7.2vw, 92px);
}
.hero-copy { position: relative; }
.file-kind { width: fit-content; margin: 0 0 17px; padding: 4px 11px; border: 1px solid #65446d; border-radius: 100px; color: #f8c1e1; font-size: .875rem; font-weight: 600; }
.hero h1 {
  margin: 0;
  font-size: clamp(2.7rem, 6.05vw, 5rem);
  line-height: .99;
  font-weight: 750;
  letter-spacing: -.075em;
}
.hero h1 span {
  display: block;
  margin-top: .25em;
  font-size: .64em;
  line-height: 1.1;
  letter-spacing: -.05em;
  color: #ec98d4;
  background: linear-gradient(100deg, #e0afff, #f593be 75%, #ffb48d);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lead { max-width: 38ch; margin: 19px 0 0; color: var(--muted); font-size: 1.0625rem; }
.hero-actions { min-height: 54px; margin-top: 24px; }
.download-button {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 22px;
  border: 1px solid #fbb0ac55;
  border-radius: 12px;
  background: linear-gradient(105deg, #ba1e61, #b7401c);
  box-shadow: 0 12px 28px #be255b38;
  font-weight: 700;
  text-align: center;
}
.download-button:hover { background: linear-gradient(105deg, #cf276d, #c8421f); }
.download-icon { position: relative; display: inline-block; flex: none; width: 17px; height: 16px; border-bottom: 2px solid; }
.download-icon::before, .download-icon::after { content: ""; position: absolute; }
.download-icon::before { left: 8px; top: 0; width: 2px; height: 10px; background: currentColor; }
.download-icon::after { left: 5px; top: 3px; width: 8px; height: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.availability { margin: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--muted); }
.source-note { margin: 12px 0 0; color: var(--muted); font-size: .875rem; }

.hero-art {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  aspect-ratio: 1.33;
  isolation: isolate;
  box-shadow: 0 32px 88px #06030bbb;
  border: 1px solid #584360;
  border-radius: 20px;
  overflow: hidden;
  background: #17101f;
}
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #160b2288, transparent 60%); pointer-events: none; }
.hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; }

.help { display: grid; grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr); align-items: start; gap: 28px; padding: 33px 31px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.help h2 { max-width: 18ch; margin: 5px 0 0; font-size: clamp(1.4rem, 3vw, 2.15rem); line-height: 1.18; letter-spacing: -.035em; }
.help-questions details + details { border-top: 1px solid var(--line); }
.help-questions summary { position: relative; padding: 13px 30px 13px 0; font-weight: 600; cursor: pointer; list-style: none; }
.help-questions summary::-webkit-details-marker { display: none; }
.help-questions summary::after { content: "+"; position: absolute; right: 0; top: 10px; color: var(--rose); font-size: 1.25rem; }
.help-questions details[open] summary::after { content: "−"; }
.help-questions p { margin: 0 0 14px; color: var(--muted); }
.footer { display: flex; justify-content: space-between; gap: 15px; padding-block: 27px; margin-top: 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
.footer a:hover { color: var(--text); text-decoration: underline; }

@media (max-width: 740px) {
  .shell { width: calc(100% - 34px); }
  .header-inner { min-height: 63px; }
  .wordmark { gap: 7px; font-size: 1.1rem; }
  .brand-mark { width: 28px; height: 28px; border-radius: 8px; }
  .languages a { padding-inline: 8px; }
  .hero { grid-template-columns: 1fr; gap: 20px; padding-block: 38px 36px; }
  .hero h1 { font-size: clamp(2.55rem, 11.4vw, 4.2rem); }
  .lead { margin-top: 15px; }
  .download-button { width: 100%; }
  .hero-art { aspect-ratio: 1.72; border-radius: 14px; }
  .help { grid-template-columns: 1fr; gap: 8px; padding: 18px; border-radius: 15px; }
  .help h2 { max-width: none; }
  .footer { margin-top: 26px; }
}

@media (max-width: 360px) {
  .shell { width: calc(100% - 24px); }
  .header-inner { gap: 8px; flex-wrap: wrap; padding-block: 8px; }
  .wordmark { gap: 5px; font-size: 1rem; }
  .brand-mark { width: 25px; height: 25px; }
  .languages a { padding-inline: 5px; font-size: .8125rem; }
}
