:root {
  --ink: #090b14;
  --ink-soft: #111522;
  --panel: #181d2d;
  --panel-light: #f3f6f8;
  --text: #f7f9fc;
  --muted: #aeb8c9;
  --dark-text: #171b24;
  --dark-muted: #5f6877;
  --cyan: #58e7ee;
  --cyan-deep: #0aa5b4;
  --yellow: #ffc248;
  --coral: #ee5c58;
  --line: rgba(255, 255, 255, 0.14);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: white;
  color: black;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  right: 0;
  left: 0;
  background: rgba(7, 8, 14, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  width: min(var(--max-width), calc(100% - 40px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  color: #e7ebf2;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--cyan);
}

.menu-button {
  display: none;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: white;
  font: inherit;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: min(860px, 92svh);
  padding-top: 68px;
  isolation: isolate;
  overflow: hidden;
  background: #161042;
}

.hero__art,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__art {
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__shade {
  z-index: -1;
  background: rgba(5, 7, 15, 0.28);
  box-shadow: inset 0 -250px 180px rgba(5, 7, 15, 0.78);
}

.hero__content {
  width: min(var(--max-width), calc(100% - 40px));
  min-height: calc(min(860px, 92svh) - 68px);
  margin: 0 auto;
  padding: 72px 0 54px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero__copy {
  width: min(590px, 100%);
  margin: 0;
  color: #f2f5fb;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.35;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.65);
}

.hero__actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 50px;
  padding: 13px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 850;
}

.button--primary {
  background: var(--yellow);
  color: #1a1507;
  box-shadow: 0 6px 0 #9c6014;
}

.button--primary:hover,
.button--primary:focus-visible {
  transform: translateY(2px);
  box-shadow: 0 4px 0 #9c6014;
}

.button--secondary {
  background: rgba(7, 10, 19, 0.7);
  border-color: rgba(255, 255, 255, 0.36);
  color: white;
}

.button--secondary:hover,
.button--secondary:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan);
}

.button__store {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.button__store small {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.section {
  padding: 88px 0;
}

.section--light {
  background: var(--panel-light);
  color: var(--dark-text);
}

.section--violet {
  background: #271559;
}

.section__inner {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

.section-heading {
  width: min(720px, 100%);
  margin-bottom: 42px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.section--light .section-heading p:not(.eyebrow) {
  color: var(--dark-muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature {
  min-height: 250px;
  padding: 28px;
  border-radius: 8px;
  background: white;
  border: 1px solid #dfe4ea;
  box-shadow: 0 14px 36px rgba(20, 27, 41, 0.08);
}

.feature__number {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--cyan);
  color: #062f35;
  font-weight: 950;
}

.feature:nth-child(2) .feature__number {
  background: var(--yellow);
  color: #392304;
}

.feature:nth-child(3) .feature__number {
  background: var(--coral);
  color: white;
}

.feature h3 {
  margin: 24px 0 8px;
  font-size: 24px;
  line-height: 1.15;
}

.feature p {
  margin: 0;
  color: var(--dark-muted);
}

.arsenal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.arsenal-item {
  min-height: 168px;
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 10, 23, 0.38);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}

.arsenal-item img {
  width: 82px;
  height: 82px;
  flex: 0 0 82px;
  object-fit: contain;
  border-radius: 8px;
}

.arsenal-item h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.15;
}

.arsenal-item p {
  margin: 7px 0 0;
  color: #c8cde0;
  font-size: 15px;
  line-height: 1.45;
}

.cta-band {
  padding: 70px 0;
  background: var(--yellow);
  color: #171308;
}

.cta-band__inner {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.cta-band h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
}

.cta-band p {
  max-width: 650px;
  margin: 12px 0 0;
  font-size: 18px;
}

.cta-band .button {
  flex: 0 0 auto;
  background: var(--ink);
  color: white;
}

.site-footer {
  padding: 56px 0 28px;
  background: #07080d;
  border-top: 1px solid var(--line);
}

.site-footer__inner {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

.site-footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.site-footer__title {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 900;
}

.site-footer__contact {
  margin: 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 24px;
}

.footer-links a {
  color: #dde2ed;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--cyan);
}

.site-footer__bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #7e8797;
  font-size: 13px;
}

.legal-page {
  background: #edf1f5;
  color: var(--dark-text);
}

.legal-page .site-header {
  background: #080a11;
}

.legal-hero {
  padding: 138px 0 56px;
  background: #1e1545;
  color: white;
}

.legal-hero__inner,
.legal-content {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1;
  letter-spacing: 0;
}

.legal-hero p {
  margin: 14px 0 0;
  color: #cbd1e2;
}

.legal-content {
  padding: 58px 0 84px;
}

.legal-summary {
  margin-bottom: 42px;
  padding: 20px 22px;
  border-left: 5px solid var(--cyan-deep);
  border-radius: 6px;
  background: white;
  box-shadow: 0 8px 24px rgba(25, 32, 46, 0.08);
}

.legal-content h2 {
  margin: 38px 0 10px;
  font-size: 25px;
  line-height: 1.2;
}

.legal-content h3 {
  margin: 24px 0 8px;
  font-size: 19px;
}

.legal-content p,
.legal-content ul {
  margin: 9px 0;
  color: #343b48;
}

.legal-content li + li {
  margin-top: 7px;
}

.legal-content a {
  color: #087b89;
  font-weight: 700;
}

.legal-note {
  margin-top: 32px;
  padding: 18px 20px;
  border: 1px solid #ccd4df;
  border-radius: 6px;
  background: #e4e9ef;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.support-item {
  padding: 22px;
  border: 1px solid #d5dce5;
  border-radius: 8px;
  background: white;
}

.support-item h2 {
  margin-top: 0;
  font-size: 21px;
}

@media (max-width: 820px) {
  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: fixed;
    top: 68px;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 32px 24px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: rgba(7, 8, 14, 0.98);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 0;
    font-size: 20px;
  }

  .feature-grid,
  .arsenal-grid {
    grid-template-columns: 1fr;
  }

  .feature {
    min-height: 0;
  }

  .cta-band__inner,
  .site-footer__top {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .site-header__inner,
  .hero__content,
  .section__inner,
  .cta-band__inner,
  .site-footer__inner,
  .legal-hero__inner,
  .legal-content {
    width: min(100% - 28px, var(--max-width));
  }

  .brand span {
    display: none;
  }

  .hero {
    min-height: 88svh;
  }

  .hero__art {
    object-position: 62% center;
  }

  .hero__shade {
    background: rgba(5, 7, 15, 0.42);
    box-shadow: inset 0 -320px 180px rgba(5, 7, 15, 0.82);
  }

  .hero__content {
    min-height: calc(88svh - 68px);
    padding: 44px 0 38px;
  }

  .hero__copy {
    font-size: 18px;
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .section {
    padding: 66px 0;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .feature {
    padding: 22px;
  }

  .arsenal-item {
    min-height: 0;
    padding: 18px;
  }

  .arsenal-item img {
    width: 70px;
    height: 70px;
    flex-basis: 70px;
  }

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

@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;
  }
}
