@font-face {
  font-family: Onest;
  src: url("/assets/onest-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Onest;
  src: url("/assets/onest-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  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;
}

:root {
  color-scheme: dark;
  font-family: Onest, sans-serif;
  color: #f5f3f2;
  background: #0b0c10;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scrollbar-color: #ff7d6d #171a20;
  --ink: #f5f3f2;
  --muted: #b9bbc3;
  --quiet: #a3a6b0;
  --bg: #0b0c10;
  --surface: #171a20;
  --line: #30333c;
  --coral: #ff7d6d;
  --coral-soft: #33201f;
  --coral-text: #281819;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

::selection { color: var(--coral-text); background: var(--coral); }
a { color: inherit; text-underline-offset: 0.24em; }
button { font: inherit; }

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 5;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 10px;
  background: var(--coral);
  color: var(--coral-text);
  font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

main {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 30px);
  padding: clamp(14px, 2.8vh, 32px) 22px;
}

.app-card {
  width: min(100%, 1060px);
  overflow: hidden;
  border: 1px solid #292c34;
  border-radius: 24px;
  background: #111319;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 26px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.025em;
}
.brand img { display: block; width: 42px; height: 42px; border-radius: 12px; }

.card-content {
  display: grid;
  grid-template-columns: minmax(260px, 0.76fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(30px, 5vw, 66px);
  padding: 0 clamp(24px, 4vw, 48px) clamp(28px, 4vw, 48px);
}

.product-visual { width: min(100%, 320px); justify-self: center; min-width: 0; margin: 0; }
.product-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 19px;
  background: var(--surface);
}
.carousel { width: 100%; }
.carousel-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 688 / 888;
  overflow: hidden;
  border-radius: 19px;
  background: var(--surface);
  touch-action: pan-y;
}
.carousel-slide { 
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 320ms ease, visibility 320ms ease;
}
.carousel-slide.is-active { z-index: 1; opacity: 1; visibility: visible; }
.carousel-slide img { width: 100%; height: 100%; border-radius: 0; object-fit: cover; }
.prompt-slide { background: #101218; }
.prompt-showcase {
  container-type: inline-size;
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(14px, 5.1%, 24px);
  background:
    radial-gradient(ellipse at 90% 6%, rgb(255 125 109 / 16%), transparent 34%),
    linear-gradient(155deg, #171a22 0%, #101218 68%);
  color: var(--ink);
}
.prompt-showcase-header {
  display: flex;
  min-height: 22px;
  align-items: center;
  gap: 7px;
  color: #e8e6e7;
  font-size: clamp(9px, 3.5cqi, 12px);
  font-weight: 650;
}
.prompt-showcase-mark { color: var(--coral); font-size: 18px; line-height: 1; }
.prompt-showcase-count { margin-left: auto; color: #777b86; font-size: 8px; letter-spacing: .1em; }
.prompt-showcase-title { margin: clamp(13px, 5%, 24px) 0 11px; }
.prompt-showcase-title > span {
  color: var(--coral);
  font-size: clamp(7px, 2.7cqi, 9px);
  font-weight: 700;
  letter-spacing: .15em;
}
.prompt-showcase-title h2 {
  margin: 5px 0 3px;
  font-size: clamp(20px, 8.5cqi, 28px);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.05;
}
.prompt-showcase-title p { margin: 0; color: var(--muted); font-size: clamp(9px, 3.5cqi, 12px); line-height: 1.4; }
.prompt-examples { display: grid; gap: clamp(7px, 2.8%, 10px); min-height: 0; }
.prompt-example {
  min-width: 0;
  border: 1px solid #30333c;
  border-radius: 11px;
  padding: clamp(7px, 2.5cqi, 10px);
  background: linear-gradient(110deg, rgb(255 255 255 / 4%), rgb(255 255 255 / 1%));
  cursor: default;
}
.prompt-example-kind { display: block; color: var(--coral); font-size: clamp(7px, 2.55cqi, 9px); font-weight: 750; letter-spacing: .09em; }
.prompt-example h3 { margin: 4px 0 2px; color: var(--ink); font-size: clamp(11px, 4.3cqi, 14px); font-weight: 650; line-height: 1.2; }
.prompt-example p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #b9bbc3;
  font-size: clamp(8px, 3.05cqi, 10px);
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.prompt-showcase-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: auto 0 0;
  padding-top: 10px;
  color: #898c95;
  font-size: clamp(8px, 3cqi, 10px);
}
.prompt-showcase-note span { color: var(--coral); }
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin-top: 5px;
}
.carousel-control {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 9px;
  padding: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.carousel-control:hover { background: var(--surface); color: var(--ink); }
.carousel-control svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.carousel-control .play-icon { display: none; fill: currentColor; stroke: none; }
.carousel-control[aria-pressed="false"] .pause-icon { display: none; }
.carousel-control[aria-pressed="false"] .play-icon { display: block; }
.carousel-pagination { display: flex; align-items: center; gap: 1px; }
.carousel-dot {
  display: grid;
  width: 23px;
  height: 30px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: transparent;
  cursor: pointer;
}
.carousel-dot::before {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #565962;
  content: "";
  transition: width 180ms ease, background 180ms ease;
}
.carousel-dot[aria-current="true"]::before { width: 17px; background: var(--coral); }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}
.product-visual figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 5px 12px;
  margin: 11px 3px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}
.product-visual figcaption span { color: var(--quiet); }

.product-copy { max-width: 520px; padding-block: 6px; }
h1 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(2.15rem, 4.25vw, 3.6rem);
  font-weight: 720;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
}
.intro {
  max-width: 58ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.58;
}

.features {
  display: grid;
  gap: 11px;
  margin: 23px 0 0;
  padding: 0;
  color: #d8d9de;
  font-size: 14px;
  line-height: 1.5;
  list-style: none;
}
.features li { position: relative; padding-left: 18px; }
.features li::before {
  position: absolute;
  top: 0.63em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
  content: "";
}

.download-button {
  display: flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  margin-top: 19px;
  border: 0;
  border-radius: 14px;
  padding: 12px 18px;
  background: var(--coral);
  color: var(--coral-text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}
.download-button:disabled { cursor: not-allowed; opacity: 1; }
a.download-button { transition: background 160ms ease, transform 160ms ease; }
a.download-button:hover { transform: translateY(-1px); background: #ff9385; }
.product-actions { display: grid; gap: 10px; margin-top: 19px; }
.product-actions .download-button { margin-top: 0; }
.telegram-button {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 18px;
  background: var(--surface);
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}
.telegram-button svg { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: var(--coral); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.telegram-button:hover { transform: translateY(-1px); border-color: var(--coral); background: var(--coral-soft); }
.store-status {
  margin: 11px 0 0;
  color: var(--quiet);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px 24px;
  padding: 0 18px 21px;
  color: var(--quiet);
  font-size: 12px;
}
.site-footer a { text-decoration-color: #676a74; }
.site-footer a:hover { color: var(--ink); }

.seo-section {
  width: min(100%, 1060px);
  border: 1px solid #292c34;
  border-radius: 24px;
  padding: clamp(22px, 4vw, 38px);
  background:
    radial-gradient(ellipse at 92% 0%, rgb(255 125 109 / 7%), transparent 36%),
    #111319;
}
.seo-section-heading { max-width: 690px; margin-bottom: 22px; }
.seo-eyebrow {
  margin: 0 0 8px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.seo-section h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.13;
  text-wrap: balance;
}
.seo-section-heading > p:last-child {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.seo-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.seo-feature {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: linear-gradient(135deg, rgb(255 255 255 / 2.5%), transparent 70%), #15171d;
}
.seo-feature h3, .seo-steps h3 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.35;
}
.seo-feature p, .seo-steps p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
}
.seo-howto .seo-section-heading { margin-bottom: 18px; }
.seo-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.seo-steps li {
  display: flex;
  min-width: 0;
  gap: 12px;
  border-radius: 15px;
  padding: 16px;
  background: #171a20;
}
.seo-steps li > span {
  flex: 0 0 auto;
  color: var(--coral);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .04em;
}
.seo-faq { display: grid; gap: 10px; }
.seo-faq .seo-section-heading { margin-bottom: 8px; }
.seo-faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 15px 17px;
  background: #15171d;
}
.seo-faq summary {
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.45;
  cursor: pointer;
}
.seo-faq details p {
  max-width: 72ch;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.seo-faq details[open] { border-color: #5a3c3b; }

@media (max-width: 700px) {
  main { justify-content: flex-start; gap: 14px; padding: 18px 14px 22px; }
  .app-card { width: min(100%, 520px); border-radius: 20px; }
  .brand { gap: 10px; padding: 17px 18px; font-size: 19px; }
  .brand img { width: 38px; height: 38px; }
  .card-content { grid-template-columns: 1fr; gap: 23px; padding: 0 18px 23px; }
  .product-visual { width: min(100%, 360px); justify-self: center; }
  .product-visual img { border-radius: 16px; }
  .carousel-slides { border-radius: 16px; }
  .carousel-slide img { border-radius: 0; }
  .product-visual figcaption { font-size: 11px; }
  .product-copy { max-width: none; padding: 0; }
  h1 { max-width: 18ch; font-size: clamp(2rem, 8vw, 2.8rem); }
  .intro { margin-top: 13px; font-size: 15px; }
  .features { gap: 9px; margin-top: 18px; font-size: 13px; }
  .bonus { margin-top: 18px; }
  .download-button { min-height: 53px; margin-top: 15px; }
  .store-status { margin-top: 9px; }
  .seo-section { border-radius: 19px; padding: 20px 17px; }
  .seo-section-heading { margin-bottom: 17px; }
  .seo-section-heading > p:last-child { font-size: 14px; }
  .seo-feature-grid, .seo-steps { grid-template-columns: 1fr; gap: 9px; }
  .seo-feature { border-radius: 14px; padding: 15px; }
  .seo-feature h3, .seo-steps h3 { font-size: 15px; }
  .seo-feature p, .seo-steps p, .seo-faq details p { font-size: 13px; }
  .seo-steps li { gap: 10px; padding: 14px; }
  .seo-faq details { padding: 14px; }
  .seo-faq summary { font-size: 14px; }
  .site-footer { gap: 8px 16px; padding: 0 16px 17px; font-size: 11px; }
}

@media (max-width: 360px) {
  main { padding-inline: 10px; }
  .brand { padding-inline: 14px; }
  .card-content { padding-inline: 14px; }
  h1 { font-size: 1.9rem; }
  .features { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
