:root {
  --bg: #0d0b0a;
  --panel: #161210;
  --panel-2: #1d1714;
  --ink: #f3ece4;
  --muted: #a79a8d;
  --line: #2b231e;
  --coral: #ff5f45;
  --coral-soft: rgba(255, 95, 69, 0.12);
  --amber: #f5b544;
  --sage: #7fc7a1;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --radius: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 620px at 12% -12%, rgba(255, 95, 69, 0.14), transparent 64%),
    radial-gradient(720px 520px at 96% 10%, rgba(245, 181, 68, 0.07), transparent 70%),
    var(--bg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 85% 58% at 50% 0%, #000 8%, transparent 76%);
  mask-image: radial-gradient(ellipse 85% 58% at 50% 0%, #000 8%, transparent 76%);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

code {
  font-family: var(--mono);
  font-size: 0.9em;
  color: #ffc9bd;
}

::selection {
  background: var(--coral);
  color: #1a0c08;
}

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--coral);
  color: #1a0c08;
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: 1128px;
  margin: 0 auto;
  padding-left: 26px;
  padding-right: 26px;
}

/* ---------------------------------------------------------------- шапка */

.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 11, 10, 0.84);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.top-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 66px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 21px;
  height: 21px;
  fill: var(--coral);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  font-size: 13.5px;
  color: var(--muted);
}

.nav a {
  text-decoration: none;
  transition: color 0.18s ease;
}

.nav a:hover {
  color: var(--ink);
}

/* ---------------------------------------------------------------- кнопки */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--coral);
  color: #1a0c08;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  background: #ff745d;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-small {
  min-height: 38px;
  padding: 9px 16px;
  font-size: 13px;
  border-radius: 10px;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #453931;
}

/* ---------------------------------------------------------------- герой */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(30px, 6vw, 78px);
  padding-top: clamp(54px, 8vw, 104px);
  padding-bottom: clamp(34px, 5vw, 60px);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 5px 11px;
  border: 1px solid rgba(245, 181, 68, 0.22);
  border-radius: 999px;
  background: rgba(245, 181, 68, 0.07);
  color: var(--amber);
  font-size: 11.5px;
  font-weight: 650;
}

.kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--coral);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-family: var(--serif);
  font-size: clamp(46px, 6.6vw, 80px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h1 em {
  color: var(--coral);
  font-style: italic;
}

.lead {
  max-width: 56ch;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.66;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fine {
  margin: 16px 0 0;
  color: #82766b;
  font-size: 12px;
}

.fine a {
  color: #ff9a88;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.fine a:hover {
  color: var(--coral);
}

/* ---------------------------------------------------------------- телефон */

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
  animation: rise 0.7s ease both;
}

.phone-glow {
  position: absolute;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: rgba(255, 95, 69, 0.22);
  filter: blur(78px);
}

.phone {
  position: relative;
  width: min(306px, 78vw);
  aspect-ratio: 9 / 18.7;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 42px;
  background: linear-gradient(155deg, #332a24 0%, #15110f 38%, #080706 100%);
  box-shadow:
    0 44px 90px -28px rgba(0, 0, 0, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.phone::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 42px;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 95, 69, 0.13);
}

.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 3;
  width: 78px;
  height: 18px;
  border-radius: 999px;
  background: #050403;
  transform: translateX(-50%);
}

.screen {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 38px 14px 12px;
  overflow: hidden;
  border-radius: 34px;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(255, 95, 69, 0.08), transparent 60%),
    #100d0b;
}

.screen-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.screen-brand {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.screen-gear {
  position: relative;
  width: 16px;
  height: 16px;
  border: 1.5px solid #5e5147;
  border-radius: 50%;
}

.screen-gear::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #5e5147;
}

.screen-search {
  margin-bottom: 10px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #1a1512;
  color: #796d62;
  font-size: 10.5px;
}

.screen-chips {
  display: flex;
  gap: 5px;
  margin-bottom: 13px;
}

.screen-chips span {
  padding: 5px 9px;
  border-radius: 999px;
  background: #1a1512;
  color: #8c7f73;
  font-size: 9.5px;
  font-weight: 650;
}

.screen-chips .on {
  background: var(--coral);
  color: #1a0c08;
}

.screen-card {
  display: grid;
  grid-template-columns: 33px minmax(0, 1fr) 8px;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
  padding: 9px;
  border: 1px solid #241d19;
  border-radius: 12px;
  background: #181310;
}

.screen-icon {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border-radius: 9px;
  color: #150d0a;
  font-size: 13px;
  font-weight: 800;
}

.icon-a {
  background: linear-gradient(145deg, #ff8a64, #e9492f);
}

.icon-b {
  background: linear-gradient(145deg, #9be0b9, #4f9e74);
}

.icon-c {
  background: linear-gradient(145deg, #ffd985, #d99a2b);
}

.screen-text {
  min-width: 0;
}

.screen-text b,
.screen-text small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.screen-text b {
  font-size: 11px;
  font-weight: 700;
}

.screen-text small {
  margin-top: 2px;
  color: #897c70;
  font-size: 9.5px;
}

.site-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c, var(--coral));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c, var(--coral)) 16%, transparent);
}

.screen-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #241d19;
}

.screen-nav span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #51463d;
}

.screen-nav .on {
  width: 20px;
  border-radius: 999px;
  background: var(--coral);
}

.hz-badge {
  position: absolute;
  right: max(0px, calc(50% - 208px));
  bottom: 14%;
  padding: 8px 12px;
  border: 1px solid rgba(255, 95, 69, 0.3);
  border-radius: 999px;
  background: #1a1210;
  color: #ffb3a3;
  font-family: var(--mono);
  font-size: 10.5px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

/* ---------------------------------------------------------------- цифры */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(18px, 4vw, 38px);
  padding-top: 22px;
  padding-bottom: 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats div {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.stats div:first-child {
  padding-left: 0;
  border-left: 0;
}

.stats b {
  display: block;
  margin-bottom: 2px;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 600;
  line-height: 1;
}

.stats span {
  color: var(--muted);
  font-size: 12px;
}

/* ---------------------------------------------------------------- секции */

.section {
  padding-top: clamp(64px, 9vw, 108px);
  padding-bottom: clamp(18px, 3vw, 34px);
}

.section-head {
  max-width: 660px;
  margin-bottom: 34px;
}

.section-head h2,
.download h2 {
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: clamp(32px, 4.4vw, 48px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.section-head p,
.download-main > p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.section-head.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: end;
  gap: 36px;
  max-width: none;
}

.section-head.split > div {
  max-width: 520px;
}

.section-head.split > p {
  max-width: 420px;
  padding-bottom: 4px;
}

/* ---------------------------------------------------------------- возможности */

.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.feature {
  position: relative;
  min-height: 222px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.025), transparent 42%),
    var(--panel);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature:hover {
  border-color: rgba(255, 95, 69, 0.38);
  transform: translateY(-2px);
}

.feature-num {
  position: absolute;
  top: 24px;
  right: 24px;
  color: #61554b;
  font-family: var(--mono);
  font-size: 10.5px;
}

.feature-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 30px;
  fill: none;
  stroke: var(--coral);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.feature h3 {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.feature p {
  max-width: 46ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

/* ---------------------------------------------------------------- источники */

.sources {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sources li {
  display: grid;
  grid-template-columns: 26px 8px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  transition: border-color 0.18s ease;
}

.sources li:hover {
  border-color: #41352d;
}

.source-index {
  color: #61554b;
  font-family: var(--mono);
  font-size: 10.5px;
}

.sources b {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.sources div span {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 12px;
}

/* ---------------------------------------------------------------- скачать */

.btn-download {
  justify-content: flex-start;
  gap: 13px;
  min-height: 62px;
  padding: 12px 24px 12px 18px;
  text-align: left;
  box-shadow: 0 16px 34px -18px rgba(255, 95, 69, 0.9);
}

.btn-download:hover {
  box-shadow: 0 20px 42px -18px rgba(255, 95, 69, 1);
}

.btn-download span {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.btn-download b {
  font-size: 15px;
  font-weight: 800;
}

.btn-download small {
  color: rgba(26, 12, 8, 0.66);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
}

.dl-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(26px, 4.5vw, 42px);
  border: 1px solid rgba(255, 95, 69, 0.27);
  border-radius: 26px;
  background:
    radial-gradient(600px 260px at 0% 0%, rgba(255, 95, 69, 0.14), transparent 70%),
    var(--panel);
}

.download-main h2 {
  margin-bottom: 10px;
  font-size: clamp(30px, 3.8vw, 42px);
}

.download-main h2 em {
  color: var(--coral);
  font-style: italic;
}

.download-main p {
  max-width: 46ch;
  font-size: 13.5px;
}

.download-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex-shrink: 0;
}

.download-alt {
  color: #82766b;
  font-size: 11.5px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.download-alt:hover {
  color: var(--ink);
  border-bottom-color: var(--line);
}

/* ---------------------------------------------------------------- подвал */

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  margin-top: clamp(54px, 8vw, 96px);
  padding-top: 26px;
  padding-bottom: 42px;
  border-top: 1px solid var(--line);
  color: #82766b;
  font-size: 12px;
}

.foot p {
  margin: 0;
}

.foot a {
  color: var(--muted);
  text-decoration: none;
}

.foot a:hover {
  color: var(--ink);
}

.brand.small {
  font-size: 14px;
}

.brand.small .brand-mark {
  width: 17px;
  height: 17px;
}

/* ---------------------------------------------------------------- движение */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-copy {
  animation: rise 0.55s ease both;
}

/* ---------------------------------------------------------------- адаптив */

@media (max-width: 980px) {
  .hero {
    gap: 34px;
  }

  .hz-badge {
    right: 0;
  }

  .download {
    align-items: flex-start;
    flex-direction: column;
  }

  .download-side {
    align-items: flex-start;
  }
}

@media (max-width: 840px) {
  .nav {
    display: none;
  }

  .top-inner .btn {
    margin-left: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 46px;
  }

  .hero-art {
    min-height: 0;
    padding-top: 12px;
  }

  .hero-copy {
    max-width: 640px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 20px;
  }

  .stats div {
    padding-left: 20px;
  }

  .stats div:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .section-head.split {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .section-head.split > p {
    max-width: 560px;
  }

  .sources {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .features {
    grid-template-columns: 1fr;
  }

  .feature {
    min-height: 0;
  }

  .feature-icon {
    margin-bottom: 24px;
  }
}

@media (max-width: 560px) {
  .wrap {
    padding-left: 18px;
    padding-right: 18px;
  }

  .top-inner {
    min-height: 60px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 60px);
  }

  .lead {
    font-size: 15.5px;
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .actions .btn {
    width: 100%;
  }

  .hz-badge {
    right: 2px;
    bottom: 10%;
  }

  .stats b {
    font-size: 27px;
  }

  .download {
    padding: 24px;
  }

  .download-side {
    width: 100%;
  }

  .download-side .btn {
    width: 100%;
  }

  .foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
