:root {
  color-scheme: dark;
  --ink: #f5fbff;
  --muted: #a7bdd0;
  --line: rgba(143, 196, 229, 0.18);
  --panel: #102f46;
  --panel-strong: #123a57;
  --accent: #18aaf5;
  --accent-dark: #087bb8;
  --success: #62df9e;
  font-family: Inter, Roboto, "Noto Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: #08243a;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: #08243a;
  line-height: 1.65;
}

a {
  color: inherit;
}

.site-header,
main,
footer {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img,
.final-action img {
  display: block;
  width: 150px;
  height: auto;
}

.language-menu {
  position: relative;
  z-index: 4;
}

.language-menu summary,
.footer-languages summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
}

.language-menu summary::-webkit-details-marker,
.footer-languages summary::-webkit-details-marker {
  display: none;
}

.language-menu summary {
  min-height: 42px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.language-menu summary span {
  color: var(--accent);
}

.language-menu nav {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  width: min(620px, calc(100vw - 40px));
  max-height: 62vh;
  padding: 12px;
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  background: #0c2a41;
  border: 1px solid rgba(56, 175, 239, 0.35);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.language-menu nav a,
.footer-languages nav a {
  min-width: 0;
  padding: 8px 9px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.language-menu nav a span,
.footer-languages nav a span {
  min-width: 0;
  color: #e8f4fb;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.language-menu nav a small,
.footer-languages nav a small {
  color: #7894a9;
  font-size: 11px;
  text-align: end;
}

.language-menu nav a:hover,
.language-menu nav a[aria-current="page"],
.footer-languages nav a:hover,
.footer-languages nav a[aria-current="page"] {
  color: #fff;
  background: rgba(24, 170, 245, 0.14);
}

.hero {
  min-height: 590px;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
  padding: 70px 0 64px;
}

.eyebrow,
.section-number {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.18;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  margin: 24px 0 30px;
  color: #c3d5e3;
  font-size: 19px;
}

.download-button {
  min-height: 54px;
  padding: 13px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #041827;
  background: var(--success);
  border: 1px solid #8af4bb;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(98, 223, 158, 0.18);
  font-weight: 900;
  text-decoration: none;
}

.download-button:hover {
  background: #82edb4;
  transform: translateY(-1px);
}

.feature-list {
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  color: var(--muted);
  list-style: none;
  font-size: 14px;
}

.feature-list li::before {
  content: "✓";
  margin-inline-end: 7px;
  color: var(--success);
  font-weight: 900;
}

.app-panel {
  min-height: 440px;
  display: grid;
  place-items: center;
  background: #0b2b43;
  border: 1px solid var(--line);
}

.phone {
  width: min(250px, 70%);
  aspect-ratio: 9 / 17;
  padding: 62px 24px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  background: #123a57;
  border: 8px solid #061b2a;
  border-radius: 28px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.38);
}

.phone::before {
  content: "";
  width: 72px;
  height: 5px;
  margin: -42px 0 60px;
  background: #071d2d;
  border-radius: 5px;
}

.phone img {
  width: 130px;
  height: auto;
  margin-bottom: 34px;
}

.phone span {
  color: var(--muted);
  font-size: 14px;
}

.phone strong {
  margin: 3px 0 40px;
  color: var(--accent);
  font-size: 46px;
  line-height: 1;
}

.phone i {
  width: 80%;
  height: 8px;
  margin: 7px 0;
  display: block;
  background: rgba(174, 209, 230, 0.14);
}

.content-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.content-band > div {
  min-height: 350px;
  padding: clamp(34px, 5vw, 62px);
}

.content-band > div + div {
  border-inline-start: 1px solid var(--line);
  background: var(--panel);
}

.content-band p:not(.section-number),
.info-grid p {
  color: var(--muted);
}

.steps {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  position: relative;
  min-height: 42px;
  margin-top: 15px;
  padding-inline-start: 52px;
  counter-increment: steps;
}

.steps li::before {
  content: counter(steps);
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #031723;
  background: var(--accent);
  font-weight: 900;
}

.info-grid {
  padding: 64px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.info-grid article {
  min-height: 230px;
  padding: 34px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.info-grid .notice {
  border-top: 3px solid var(--accent);
}

.final-action {
  margin-bottom: 64px;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--panel-strong);
  border: 1px solid rgba(56, 175, 239, 0.28);
}

footer {
  padding: 30px 0 44px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.footer-languages {
  margin-top: 18px;
}

.footer-languages nav {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2px;
}

@media (max-width: 760px) {
  .site-header,
  main,
  footer {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    min-height: 68px;
  }

  .brand img {
    width: 120px;
  }

  .language-menu summary {
    max-width: 180px;
    font-size: 13px;
  }

  .language-menu summary span {
    max-width: 78px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .language-menu nav {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 52px 0 36px;
  }

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

  .lead {
    font-size: 17px;
  }

  .app-panel {
    min-height: 330px;
  }

  .phone {
    width: 190px;
  }

  .content-band,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .content-band > div {
    min-height: auto;
    padding: 34px 24px;
  }

  .content-band > div + div {
    border-inline-start: 0;
    border-top: 1px solid var(--line);
  }

  .info-grid {
    padding: 36px 0;
  }

  .info-grid article {
    min-height: auto;
    padding: 26px 24px;
  }

  .final-action {
    align-items: stretch;
    flex-direction: column;
    margin-bottom: 36px;
    padding: 28px 24px;
  }

  .download-button {
    width: 100%;
  }

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

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

  .download-button:hover {
    transform: none;
  }
}
