:root {
  --brand: #6c5ce7;
  --brand-dark: #211a72;
  --ink: #17172f;
  --muted: #74748f;
  --soft: #f5f6fb;
  --card: #ffffff;
  --teal: #13c6b3;
  --green: #2fb36f;
  --red: #ef4e58;
  --amber: #f2aa32;
  --line: #e7e8f3;
  --shadow: 0 24px 70px rgba(29, 24, 83, 0.14);
  color-scheme: light;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Nunito, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--soft);
  max-width: 100%;
  overflow-x: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 58px);
  background: rgba(245, 246, 251, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(231, 232, 243, 0.78);
}

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

.brand-logo {
  width: 142px;
  height: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-left: auto;
}

.nav a, .lang-toggle {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--muted);
  font-weight: 800;
  font-size: 14px;
}

.nav a:hover, .nav a.active, .lang-toggle:hover {
  color: var(--brand);
  background: rgba(108, 92, 231, 0.1);
}

.nav .nav-cta {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 14px 30px rgba(108, 92, 231, 0.25);
}

.nav .nav-cta:hover {
  color: #fff;
  background: #5d4de0;
}

.lang-toggle {
  cursor: pointer;
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.section {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 4vw, 58px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.97fr);
  align-items: center;
  gap: clamp(32px, 6vw, 78px);
  min-height: calc(100vh - 76px);
  padding-top: clamp(34px, 6vw, 72px);
  padding-bottom: 42px;
  overflow: hidden;
}

.hero > *, .legal-layout > *, .contact-panel > *, .showcase > * {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  border: 1px solid rgba(19, 198, 179, 0.28);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(19, 198, 179, 0.12);
  color: #087c72;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

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

h1 {
  max-width: 820px;
  margin-top: 22px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: normal;
}

.lead {
  max-width: 660px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.45;
  overflow-wrap: normal;
}

.hero-actions, .button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 1px solid transparent;
  border-radius: 18px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover { transform: translateY(-1px); }

.button.primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 18px 36px rgba(108, 92, 231, 0.28);
}

.button.secondary {
  color: var(--brand);
  background: #fff;
  border-color: rgba(108, 92, 231, 0.24);
}

.button.store {
  min-width: 180px;
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 660px;
  margin-top: 34px;
}

.proof-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.proof-card strong {
  display: block;
  font-size: 22px;
}

.proof-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.phone-stage {
  position: relative;
  min-height: 680px;
}

.glow {
  position: absolute;
  inset: 8% -18% auto 4%;
  height: 360px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.36), rgba(19, 198, 179, 0.18), transparent 68%);
  filter: blur(20px);
}

.phone {
  position: relative;
  width: min(380px, 78vw);
  margin: 0 auto;
  border: 12px solid #17172f;
  border-radius: 48px;
  background: #17172f;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 2;
  width: 92px;
  height: 24px;
  border-radius: 999px;
  background: #17172f;
  transform: translateX(-50%);
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
}

.floating-card {
  position: absolute;
  right: 2%;
  bottom: 12%;
  width: min(260px, 48vw);
  border: 1px solid rgba(108, 92, 231, 0.16);
  border-radius: 28px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.floating-card strong {
  display: block;
  font-size: 15px;
}

.floating-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.section-head {
  max-width: 860px;
  margin: 0 auto 30px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.05;
}

.section-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

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

.card {
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(31, 27, 70, 0.06);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  margin-bottom: 16px;
  background: rgba(108, 92, 231, 0.12);
  color: var(--brand);
  font-size: 22px;
  font-weight: 900;
}

.card h3 {
  font-size: 21px;
  line-height: 1.15;
}

.card p, .legal-card p, .faq p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.6;
}

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

.support-action-card,
.support-topic-card {
  display: flex;
  min-width: 0;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 14px 38px rgba(31, 27, 70, 0.06);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.support-action-card:hover,
.support-topic-card:hover {
  transform: translateY(-2px);
  border-color: rgba(108, 92, 231, 0.28);
  box-shadow: 0 24px 56px rgba(31, 27, 70, 0.11);
}

.support-action-card {
  min-height: 124px;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  border-radius: 24px;
  padding: 16px;
}

.support-action-card strong {
  display: block;
  font-size: 17px;
  line-height: 1.18;
}

.support-action-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.support-topic-card {
  min-height: 188px;
  flex-direction: column;
  border-radius: 28px;
  padding: 24px;
}

.support-topic-card h3 {
  margin-top: 2px;
  font-size: 21px;
  line-height: 1.15;
}

.support-topic-card p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.58;
}

.support-topic-card .link-hint,
.support-action-card .link-hint {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: auto;
  padding-top: 16px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
}

.route-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.route-pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid rgba(108, 92, 231, 0.22);
  border-radius: 999px;
  padding: 0 14px;
  color: var(--brand);
  background: rgba(108, 92, 231, 0.08);
  font-size: 13px;
  font-weight: 900;
}

.showcase {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
  border-radius: 42px;
  padding: clamp(24px, 5vw, 48px);
  background: linear-gradient(135deg, #18172d, #33269d 54%, #13c6b3);
  color: #fff;
}

.showcase h2 {
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.08;
}

.showcase p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.screens {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.screen-shot {
  width: min(210px, 32vw);
  border-radius: 34px;
  border: 8px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.28);
}

.screen-shot:nth-child(2) {
  margin-top: 38px;
}

.page-hero {
  padding-top: clamp(48px, 8vw, 90px);
  padding-bottom: 20px;
  text-align: center;
}

.page-hero h1 {
  margin-left: auto;
  margin-right: auto;
}

.page-hero .lead {
  margin-left: auto;
  margin-right: auto;
}

.content-wrap {
  max-width: 1120px;
  margin: 0 auto;
}

.legal-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 14px;
  background: #fff;
}

.toc a {
  display: block;
  border-radius: 14px;
  padding: 10px 12px;
  color: var(--muted);
  font-weight: 800;
  font-size: 14px;
}

.toc a:hover {
  color: var(--brand);
  background: rgba(108, 92, 231, 0.1);
}

.legal-stack {
  display: grid;
  gap: 16px;
}

.legal-card {
  scroll-margin-top: 96px;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 24px;
  background: #fff;
}

.legal-card h2 {
  font-size: 24px;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  background: #fff;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #fff;
  background: var(--brand);
  font-weight: 900;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-box {
  border-radius: 30px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px 20px;
  background: #fff;
}

.faq summary {
  cursor: pointer;
  font-weight: 900;
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  padding: 0 12px;
  color: var(--brand);
  background: rgba(108, 92, 231, 0.1);
  font-weight: 900;
  font-size: 13px;
}

.notice {
  border: 1px solid rgba(242, 170, 50, 0.38);
  border-radius: 24px;
  padding: 18px;
  background: rgba(242, 170, 50, 0.12);
  color: #75500d;
  line-height: 1.55;
}

.footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  padding: 42px clamp(18px, 4vw, 58px);
  color: rgba(255, 255, 255, 0.72);
  background: #111126;
}

.footer-brand {
  display: block;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
}

.footer p {
  margin-top: 12px;
  line-height: 1.55;
}

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

.footer-grid a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.fineprint {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

@media (max-width: 940px) {
  .site-header {
    flex-wrap: wrap;
    overflow: hidden;
  }

  .nav {
    order: 3;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    white-space: nowrap;
    padding-bottom: 4px;
  }

  .hero, .showcase, .legal-layout, .contact-panel, .footer {
    grid-template-columns: 1fr;
  }

  .phone-stage {
    min-height: 590px;
  }

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

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

  .toc {
    position: static;
  }
}

@media (max-width: 620px) {
  .section {
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
  }
  .brand { min-width: auto; }
  .brand-logo { width: 112px; }
  .hero-proof, .grid {
    grid-template-columns: 1fr;
  }
  .support-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .hero-proof {
    display: none;
  }
  .hero {
    width: 100%;
    min-height: auto;
    padding-top: 36px;
    gap: 26px;
  }
  .hero-copy {
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
  }
  h1 {
    font-size: 32px;
    line-height: 1.05;
    max-width: min(330px, calc(100vw - 40px));
  }
  .lead {
    font-size: 17px;
    max-width: min(342px, calc(100vw - 40px));
  }
  .page-hero h1,
  .page-hero .lead,
  .toc,
  .legal-card,
  .notice,
  .contact-box {
    width: min(330px, calc(100vw - 40px));
    max-width: min(330px, calc(100vw - 40px));
    margin-right: 0;
    margin-left: 0;
  }
  .page-hero {
    text-align: left;
  }
  .page-hero .eyebrow {
    margin-left: 0;
  }
  .legal-card,
  .notice,
  .contact-box {
    overflow-wrap: break-word;
  }
  .nav a, .lang-toggle {
    padding: 8px 7px;
    font-size: 11px;
  }
  .nav {
    gap: 4px;
  }
  .support-action-card {
    min-height: 126px;
    border-radius: 20px;
    padding: 14px;
  }
  .support-action-card strong {
    font-size: 14.5px;
  }
  .support-action-card span {
    font-size: 12px;
  }
  .support-action-card .icon {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    margin-bottom: 2px;
  }
  .phone-stage {
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
    min-height: 470px;
  }
  .phone {
    width: min(300px, calc(100vw - 72px));
    border-width: 10px;
    border-radius: 42px;
  }
  .floating-card {
    left: 4%;
    right: 4%;
    bottom: 0;
    width: auto;
  }
  .screen-shot:nth-child(2) {
    display: none;
  }
  .screen-shot {
    width: min(260px, 74vw);
  }
}
