:root {
  color-scheme: light;
  --bg: #f5f8fc;
  --surface: #ffffff;
  --surface-2: #eef5fb;
  --ink: #07111f;
  --muted: #526172;
  --line: #d9e3ee;
  --blue: #1267f1;
  --blue-dark: #0746ad;
  --cyan: #22b8d7;
  --green: #19a974;
  --amber: #f2a900;
  --shadow: 0 16px 48px rgba(16, 43, 80, 0.12);
  --radius: 0;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

section {
  scroll-margin-top: 110px;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 18px;
  align-items: center;
  width: min(var(--max), calc(100% - 32px));
  min-height: 76px;
  margin: 14px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(217, 227, 238, 0.86);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 36px rgba(9, 26, 51, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #07111f;
}

.brand__mark img {
  width: 46px;
  height: 46px;
  object-fit: cover;
}

.brand__text {
  display: grid;
  gap: 0;
}

.brand__text strong {
  font-size: 18px;
  line-height: 1.05;
}

.brand__text small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
  min-width: 0;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 0;
  color: #263649;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: #edf5ff;
  color: var(--blue);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 42px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #ffffff;
}

.language-switch button {
  min-width: 38px;
  min-height: 32px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.language-switch button.is-active {
  background: var(--blue);
  color: #ffffff;
}

.button,
.download-action,
.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 0;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover,
.download-action:hover,
.contact-link:hover {
  transform: translateY(-1px);
}

.button--primary,
.download-action--primary {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(18, 103, 241, 0.22);
}

.button--primary:hover,
.download-action--primary:hover {
  background: var(--blue-dark);
}

.button--secondary {
  border-color: var(--line);
  background: #ffffff;
  color: var(--ink);
}

.button--compact {
  min-height: 42px;
  padding: 0 16px;
}

.icon-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #ffffff;
  color: var(--ink);
}

.menu-button {
  place-items: center;
  gap: 4px;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 0;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(620px, 82vh, 760px);
  margin-top: -90px;
  overflow: hidden;
  background: #07111f;
  color: #ffffff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(7, 17, 31, 0.96) 0%, rgba(7, 17, 31, 0.74) 44%, rgba(7, 17, 31, 0.34) 100%), url("../icons/logo.png");
  background-position: center, right 9vw center;
  background-repeat: no-repeat;
  background-size: cover, min(540px, 62vw);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 170px;
  background: linear-gradient(180deg, rgba(7, 17, 31, 0), var(--bg));
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 152px 0 104px;
}

.hero__content {
  max-width: 690px;
}

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

.hero h1,
.section-head h2,
.band h2 {
  margin: 0;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.98;
}

.hero__text {
  max-width: 600px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 2vw, 21px);
}

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

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 640px;
  margin-top: 46px;
}

.fact {
  min-height: 92px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.fact strong {
  display: block;
  font-size: 25px;
  line-height: 1.1;
}

.fact span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.band {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 82px 0;
}

.band--tight {
  padding-top: 38px;
}

.band--surface {
  width: 100%;
  max-width: none;
  background: var(--surface-2);
}

.band--surface > * {
  width: min(var(--max), calc(100% - 32px));
  margin-right: auto;
  margin-left: auto;
}

.section-head {
  display: grid;
  gap: 12px;
  max-width: 720px;
  margin-bottom: 30px;
}

.section-head h2,
.band h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.06;
}

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

.trust-panel,
.download-panel,
.support-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.trust-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 26px;
  align-items: center;
  padding: 30px;
}

.trust-panel h2 {
  font-size: clamp(28px, 4vw, 46px);
}

.metric-grid,
.goal-grid,
.contact-grid {
  display: grid;
  gap: 14px;
}

.metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric,
.feature-card,
.download-card,
.goal-card,
.mini-card,
.step-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.metric {
  min-height: 118px;
  padding: 18px;
}

.metric strong {
  display: block;
  color: var(--blue);
  font-size: 24px;
}

.metric span,
.feature-card p,
.goal-card,
.mini-card p,
.step-card,
.download-card p {
  color: var(--muted);
}

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

.feature-card,
.mini-card {
  padding: 22px;
}

.feature-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 0;
  background: #e8f3ff;
  color: var(--blue);
  font-size: 22px;
  font-weight: 900;
}

.icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.download-card__platform .icon svg {
  width: 30px;
  height: 30px;
}

.mini-card__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 0;
  background: #e8f3ff;
  color: var(--blue);
}

.feature-card h3,
.download-card h3,
.mini-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.2;
}

.feature-card p,
.mini-card p,
.download-card p {
  margin: 0;
}

.download-panel {
  padding: 34px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.download-card {
  display: grid;
  min-height: 250px;
  padding: 22px;
}

.download-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.download-card__platform {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  border-radius: var(--radius);
  background: #07111f;
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
}

.download-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 0;
  background: #e9f8f1;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.download-badge--soon {
  background: #eef2f6;
  color: #5d6b7d;
}

.download-card__body {
  align-self: end;
}

.download-action {
  width: 100%;
  margin-top: 18px;
}

.download-card--disabled {
  background: #f8fafc;
}

.download-card--disabled .download-card__platform {
  background: #334155;
}

.download-action--disabled,
.download-action--disabled:hover {
  cursor: default;
  transform: none;
  border-color: var(--line);
  background: #e8eef5;
  color: #5d6b7d;
  box-shadow: none;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 38px;
  align-items: center;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: #243449;
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 0;
  background: var(--green);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  width: 8px;
  height: 4px;
  border-bottom: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  transform: rotate(-45deg);
}

.step-grid {
  display: grid;
  gap: 14px;
}

.step-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  min-height: 86px;
  padding: 18px;
  font-weight: 700;
}

.step-card span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 0;
  background: var(--blue);
  color: #ffffff;
  font-weight: 900;
}

.goal-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.goal-card {
  min-height: 78px;
  padding: 18px;
  font-weight: 800;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.policy-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 34px;
}

.policy-updated {
  margin: -14px 0 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.policy-notice,
.policy-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.policy-notice {
  display: grid;
  gap: 10px;
  padding: 18px;
  margin-bottom: 24px;
}

.policy-notice p {
  margin: 0;
  color: #243449;
  font-weight: 700;
}

.policy-grid {
  display: grid;
  gap: 14px;
}

.policy-section {
  padding: 22px;
}

.policy-section h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.2;
}

.policy-section p {
  margin: 0;
  color: var(--muted);
}

.policy-section ul {
  margin: 14px 0 0;
}

.legal-list {
  margin: 14px 0 0;
  padding-left: 22px;
  color: var(--muted);
}

.legal-list li {
  margin: 8px 0;
  padding-left: 0;
  color: var(--muted);
  font-weight: 500;
}

.legal-list li::before,
.legal-list li::after {
  content: none;
}

.support-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 28px;
  align-items: center;
  padding: 34px;
}

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

.contact-link {
  justify-content: flex-start;
  min-height: 64px;
  border-color: var(--line);
  background: #ffffff;
}

.contact-link span {
  display: block;
}

.contact-link small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 42px;
  color: var(--muted);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.site-footer a {
  color: var(--ink);
  font-weight: 800;
}

.is-hidden {
  display: none !important;
}

@media (max-width: 1040px) {
  html {
    scroll-padding-top: 94px;
  }

  .site-header {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
  }

  .icon-button {
    display: grid;
  }

  .site-nav {
    position: fixed;
    top: 92px;
    right: 16px;
    left: 16px;
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    min-height: 48px;
  }

  .header-cta {
    display: none;
  }

  .language-switch {
    grid-column: auto;
  }

  .trust-panel,
  .split-section,
  .support-panel {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 640px;
  }

  .hero__content {
    max-width: 620px;
  }

  .download-grid,
  .goal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .policy-panel {
    padding: 28px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 84px;
  }

  .site-header {
    width: calc(100% - 20px);
    min-height: 66px;
    margin-top: 10px;
  }

  .brand {
    min-width: 0;
  }

  .brand__text small {
    display: none;
  }

  .hero {
    min-height: 680px;
  }

  .hero::before {
    background-image: linear-gradient(180deg, rgba(7, 17, 31, 0.98) 0%, rgba(7, 17, 31, 0.82) 52%, rgba(7, 17, 31, 0.56) 100%), url("../icons/logo.png");
    background-position: center, center bottom 70px;
    background-size: cover, min(380px, 92vw);
  }

  .hero__inner {
    width: calc(100% - 28px);
    padding: 134px 0 62px;
  }

  .hero h1 {
    font-size: clamp(38px, 13vw, 52px);
  }

  .hero__facts,
  .metric-grid,
  .download-grid,
  .goal-grid,
  .mini-grid,
  .policy-notice {
    grid-template-columns: 1fr;
  }

  .band,
  .band--surface > * {
    width: calc(100% - 28px);
  }

  .band {
    padding: 58px 0;
  }

  .band--surface {
    width: 100%;
  }

  .trust-panel,
  .download-panel,
  .support-panel,
  .policy-panel {
    padding: 22px;
  }

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

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

@media (max-width: 480px) {
  .site-header {
    width: calc(100% - 16px);
    gap: 8px;
    padding: 8px;
  }

  .brand__mark {
    width: 40px;
    height: 40px;
  }

  .brand__mark img {
    width: 40px;
    height: 40px;
  }

  .brand__text strong {
    font-size: 16px;
  }

  .language-switch button {
    min-width: 34px;
  }

  .hero {
    min-height: 640px;
  }

  .hero__inner {
    width: calc(100% - 22px);
  }

  .hero__actions .button {
    width: 100%;
  }

  .band,
  .band--surface > * {
    width: calc(100% - 22px);
  }

  .download-panel,
  .trust-panel,
  .support-panel,
  .policy-panel {
    padding: 18px;
  }
}

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

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