:root {
  --nav-height: 76px;
  --ink: #f7f2ec;
  --muted: #c9c1c7;
  --dark: #080915;
  --panel: #101724;
  --panel-soft: #172131;
  --line: rgba(247, 242, 236, 0.18);
  --amber: #f1bd73;
  --cyan: #50d5f2;
  --blue: #2d55d9;
  --wrap: min(1180px, calc(100% - 48px));
  --display: "Aptos Display", "Segoe UI", system-ui, sans-serif;
  --sans: "Aptos", "Inter", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--dark); }
body {
  margin: 0;
  padding-top: var(--nav-height);
  overflow-x: hidden;
  background: var(--dark);
  color: var(--ink);
  font-family: var(--sans);
  letter-spacing: 0;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: var(--wrap); margin-inline: auto; }

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: var(--nav-height);
  border-bottom: 1px solid rgba(247, 242, 236, 0.12);
  background: rgba(8, 9, 21, 0.86);
  backdrop-filter: blur(18px);
}

.nav-inner {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto minmax(78px, 1fr);
  align-items: center;
  height: 100%;
  gap: 22px;
}

.brand,
.footer-brand,
.main-menu a,
.legal-links a,
.back-link,
.button { text-decoration: none; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 850;
}

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

.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.main-menu {
  display: flex;
  gap: clamp(16px, 2.8vw, 36px);
  justify-content: center;
  font-size: 14px;
  font-weight: 760;
  white-space: nowrap;
}

.main-menu a,
.legal-links a,
.footer-brand,
.back-link {
  color: var(--muted);
  transition: color 160ms ease;
}

.main-menu a:hover,
.legal-links a:hover,
.footer-brand:hover,
.back-link:hover { color: var(--amber); }

.language-select {
  justify-self: end;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(247, 242, 236, 0.06);
  color: var(--ink);
  font: 800 13px/1 var(--sans);
}

h1, h2, h3, p, figure { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 {
  font-family: var(--display);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
}
h1 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(48px, 7vw, 96px);
}
h1 span { display: block; color: var(--amber); }
.hero-copy h1 span {
  margin-top: 12px;
  font-size: 0.56em;
  line-height: 1.08;
}
h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 5.2vw, 72px);
}
h3 {
  margin-bottom: 10px;
  font-size: clamp(20px, 2.1vw, 27px);
  line-height: 1.1;
}

.lead,
.hero-intro {
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.58;
  text-wrap: pretty;
}

.eyebrow,
.badge {
  margin-bottom: 18px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.badge {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid rgba(241, 189, 115, 0.42);
  border-radius: 999px;
  background: rgba(111, 66, 43, 0.34);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary {
  border: 1px solid var(--amber);
  background: var(--amber);
  color: #171018;
}
.button.secondary {
  border: 1px solid rgba(247, 242, 236, 0.28);
  color: var(--ink);
  background: rgba(247, 242, 236, 0.07);
}

.hero-section {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - var(--nav-height));
  background: #04050c;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 9, 21, 0.98), rgba(8, 9, 21, 0.80) 46%, rgba(8, 9, 21, 0.30)),
    url("/assets/live.jpg?v=bm-040-20260824");
  background-size: cover;
  background-position: center;
  filter: saturate(0.85);
  opacity: 0.7;
}

.hero-bg::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 64% 28%, rgba(80, 213, 242, 0.22), transparent 24rem),
    linear-gradient(0deg, #080915 0, transparent 32%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: clamp(34px, 6vw, 86px);
  min-height: calc(100svh - var(--nav-height));
  padding-block: clamp(54px, 7vw, 92px);
}

.hero-intro {
  max-width: 610px;
  margin: 24px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
}

.trust-strip span {
  padding: 8px 11px;
  border: 1px solid rgba(247, 242, 236, 0.22);
  border-radius: 999px;
  color: #e6e0e7;
  background: rgba(16, 23, 36, 0.62);
  font-size: 12px;
  font-weight: 800;
}

.phone-cluster {
  position: relative;
  min-height: 650px;
}

.phone {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(247, 242, 236, 0.22);
  border-radius: 34px;
  background: #050710;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.55);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.phone-front {
  top: 0;
  right: 11%;
  z-index: 2;
  width: min(300px, 48%);
  aspect-ratio: 576 / 1280;
}

.phone-back {
  bottom: 38px;
  left: 5%;
  width: min(270px, 43%);
  aspect-ratio: 576 / 1280;
  opacity: 0.82;
  transform: rotate(-7deg);
}

.phone-cluster p {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 320px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.how-section,
.features-section,
.legal-page { background: #0d111c; }

.how-section,
.screens-section,
.features-section,
.privacy-section,
.closing-section {
  position: relative;
  padding: clamp(72px, 9vw, 126px) 0;
  scroll-margin-top: calc(var(--nav-height) + 16px);
}

.split,
.features-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.75fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: end;
}

.split .lead { margin-bottom: 8px; }

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

.steps article,
.feature-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(23, 33, 49, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.steps article { padding: 24px; }

.steps span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: rgba(241, 189, 115, 0.18);
  color: var(--amber);
  font-weight: 900;
}

.steps p,
.feature-list p,
.legal-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.screens-section {
  overflow: hidden;
  background: #080915;
}

.screens-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 5vw, 82px);
  align-items: end;
  margin-bottom: 46px;
}

.screens-copy .lead { margin-bottom: 8px; }

.screen-ribbon {
  display: flex;
  gap: clamp(14px, 2vw, 24px);
  width: max-content;
  margin-left: max(24px, calc((100vw - 1180px) / 2));
  padding-right: 24px;
  animation: drift 38s linear infinite;
}

.screen-ribbon figure {
  overflow: hidden;
  width: min(260px, 62vw);
  margin: 0;
  border: 1px solid rgba(247, 242, 236, 0.18);
  border-radius: 28px;
  background: #050710;
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.4);
}

.screen-ribbon img {
  width: 100%;
  aspect-ratio: 576 / 1280;
  object-fit: cover;
  object-position: top center;
}

@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(-170px); }
}

.features-section {
  background: linear-gradient(180deg, #0d111c, #121a28);
}

.features-grid { align-items: start; }

.features-copy {
  position: sticky;
  top: calc(var(--nav-height) + 34px);
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-list article { padding: 22px 24px; }
.feature-list h3 { font-size: 24px; }

.privacy-section { background: #11131f; }

.privacy-inner {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  max-width: 940px;
}

.privacy-inner img {
  width: 170px;
  border-radius: 38px;
  box-shadow: 0 22px 58px rgba(80, 213, 242, 0.16);
}

.privacy-inner .lead { max-width: 720px; }

.closing-section {
  text-align: center;
  background: linear-gradient(180deg, #11131f, #070811);
}

.closing-inner { max-width: 820px; }
.closing-inner .lead {
  max-width: 660px;
  margin-inline: auto;
}

.support-form {
  display: grid;
  gap: 14px;
  max-width: 720px;
  margin: 34px auto 0;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 23, 36, 0.78);
  text-align: left;
}

.support-form h3 { margin-bottom: 2px; }
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.support-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.support-form input,
.support-form textarea {
  width: 100%;
  border: 1px solid rgba(247, 242, 236, 0.22);
  border-radius: 8px;
  background: rgba(8, 9, 21, 0.66);
  color: var(--ink);
  font: 16px/1.4 var(--sans);
}

.support-form input { min-height: 46px; padding: 0 12px; }
.support-form textarea {
  resize: vertical;
  min-height: 112px;
  padding: 12px;
}

.support-form .check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.support-form .check input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.support-form .button {
  width: fit-content;
  min-width: 150px;
}

.hidden-field {
  position: absolute;
  left: -10000px;
}

.form-status {
  margin-bottom: 2px;
  padding: 11px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}

.form-status.ok {
  border: 1px solid rgba(38, 211, 124, 0.36);
  background: rgba(38, 211, 124, 0.1);
  color: #aaf0c8;
}

.form-status.error {
  border: 1px solid rgba(241, 189, 115, 0.42);
  background: rgba(241, 189, 115, 0.12);
  color: #ffd99f;
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  background: #070811;
  color: var(--muted);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  font-size: 12px;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.copyright {
  justify-self: end;
  white-space: nowrap;
}

.legal-page {
  min-height: calc(100svh - var(--nav-height));
  padding: clamp(62px, 9vw, 118px) 0;
}

.legal-inner { max-width: 900px; }

.back-link {
  display: inline-block;
  margin-bottom: 34px;
  font-size: 14px;
  font-weight: 850;
}

.legal-page h1 {
  margin-bottom: 20px;
  font-size: clamp(42px, 7vw, 76px);
}

.legal-page .lead {
  max-width: 730px;
  margin-bottom: 46px;
}

.legal-copy section {
  padding: 25px 0;
  border-top: 1px solid var(--line);
}

.legal-copy section:last-child { border-bottom: 1px solid var(--line); }
.legal-copy h2 {
  margin-bottom: 10px;
  font-size: clamp(23px, 3vw, 32px);
}

a:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible,
button:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 900px) {
  :root {
    --nav-height: 116px;
    --wrap: calc(100% - 32px);
  }

  .nav-inner {
    grid-template-areas: "brand language" "menu menu";
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 66px 50px;
    gap: 0 16px;
  }

  .brand { grid-area: brand; }
  .main-menu {
    grid-area: menu;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 6px;
  }
  .language-select { grid-area: language; }
  .hero-grid,
  .split,
  .screens-copy,
  .features-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; }
  .phone-cluster { min-height: 570px; }
  .phone-front {
    right: 3%;
    width: min(270px, 52%);
  }
  .phone-back {
    left: 2%;
    width: min(230px, 44%);
  }
  .steps { grid-template-columns: 1fr; }
  .features-copy { position: static; }
  .footer-inner { grid-template-columns: 1fr; }
  .legal-links { justify-content: flex-start; }
  .copyright {
    justify-self: start;
    white-space: normal;
  }
}

@media (max-width: 560px) {
  :root { --wrap: calc(100% - 26px); }
  .brand span { font-size: 15px; }
  .main-menu {
    gap: 18px;
    font-size: 13px;
  }
  h1 { font-size: clamp(42px, 13vw, 58px); }
  h2 { font-size: clamp(35px, 11vw, 50px); }
  .hero-section { min-height: 0; }
  .phone-cluster { min-height: 430px; }
  .phone { border-radius: 24px; }
  .phone-front { width: min(210px, 56%); }
  .phone-back {
    bottom: 30px;
    width: min(180px, 47%);
  }
  .phone-cluster p {
    right: auto;
    left: 0;
    font-size: 12px;
  }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .screen-ribbon { animation-duration: 44s; }
  .screen-ribbon figure {
    width: 210px;
    border-radius: 22px;
  }
  .privacy-inner { grid-template-columns: 1fr; }
  .privacy-inner img {
    width: 118px;
    border-radius: 26px;
  }
  .form-row { grid-template-columns: 1fr; }
  .support-form .button { width: 100%; }
}
