:root {
  --page: #eee9ff;
  --page-deep: #ded5ff;
  --card: #ffffff;
  --text: #201a32;
  --muted: #625b75;
  --line: #e7e1f5;
  --gold: #d6a63d;
  --green: #10a45f;
  --green-dark: #087a45;
  --blue: #2186e8;
  --blue-dark: #1261b4;
  --soft: #f8f5ff;
  --shadow: 0 8px 24px rgba(76, 56, 127, 0.08);
  --radius: 22px;
  --radius-sm: 16px;
  --mobile: 520px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, var(--page) 0%, #f7f4ff 46%, var(--page-deep) 100%);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.58;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

.page-wrap,
.site-header,
.site-footer {
  width: min(100% - 24px, var(--mobile));
  margin: 0 auto;
}

.site-shell {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 16px;
  box-sizing: border-box;
}

.site-header {
  position: sticky;
  top: 10px;
  z-index: 20;
  padding-top: 10px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.logo {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: var(--text);
  font-weight: 900;
  text-decoration: none;
}

.logo-img {
  display: block;
  width: 150px;
  height: 72px;
  object-fit: cover;
  object-position: center;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid #d9d0f1;
  border-radius: 14px;
  background: var(--soft);
  color: var(--text);
  cursor: pointer;
  font-weight: 900;
  letter-spacing: 0;
}

.nav-toggle span {
  display: none;
}

.nav-toggle::before {
  content: "MENU";
}

.main-nav {
  display: none;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.main-nav.is-open {
  display: block;
}

.main-nav ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  display: block;
  padding: 12px 10px;
  border-radius: 14px;
  background: var(--soft);
  color: var(--text);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.main-nav a.active {
  background: #fff3cc;
  color: #5f4207;
}

.header-download {
  display: none;
}

.page-wrap {
  padding: 18px 0 26px;
}

.site-shell > .header-inner,
.site-shell > .main-nav,
.site-shell > .card,
.site-shell > .footer-inner {
  margin-bottom: 14px;
}

.site-shell > .footer-inner {
  margin-bottom: 0;
}

.section,
.hero,
.page-hero {
  padding: 0;
  background: transparent;
  border: 0;
}

.container,
.hero-inner,
.footer-inner {
  width: 100%;
  margin: 0;
}

.container,
.hero-inner {
  display: grid;
  gap: 16px;
}

.card,
.dark-card,
.hero-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--text);
  box-shadow: var(--shadow);
}

.site-shell .card {
  padding: 18px;
  margin-bottom: 14px;
}

.dark-card {
  background: var(--card);
}

.card + .card,
.dark-card + .dark-card {
  margin-top: 0;
}

h1,
h2,
h3 {
  margin: 0 0 10px;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: 0;
}

h1 {
  font-size: 2.25rem;
}

h2 {
  font-size: 1.45rem;
}

h3 {
  font-size: 1.1rem;
}

p {
  margin: 0 0 14px;
}

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

.lead,
.card p,
.card li,
.dark-card p,
.dark-card li {
  color: var(--muted);
}

.eyebrow,
.badge {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff2c7;
  color: #6b4b06;
  font-size: 0.78rem;
  font-weight: 900;
}

.app-strip {
  display: grid;
  gap: 12px;
  margin: 16px 0;
  padding: 16px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, #6b5df3 0%, #9d6cf4 48%, #24b879 100%);
  color: #ffffff;
}

.app-strip strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1.05;
}

.app-strip span {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.banner-image {
  display: grid;
  min-height: 190px;
  margin: 14px 0 12px;
  padding: 18px;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 231, 160, 0.92), rgba(122, 89, 238, 0.86) 52%, rgba(16, 164, 95, 0.88)),
    #7b63ee;
  color: #ffffff;
  overflow: hidden;
  position: relative;
}

.banner-image::after {
  position: absolute;
  right: -22px;
  bottom: -34px;
  width: 160px;
  height: 160px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.22);
  transform: rotate(14deg);
  content: "";
}

.banner-image strong {
  position: relative;
  z-index: 1;
  align-self: end;
  max-width: 260px;
  font-size: 2rem;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(42, 22, 91, 0.18);
}

.banner-image span {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 800;
}

.page-banner-img {
  display: block;
  width: 100%;
  height: auto;
  margin: 14px 0 12px;
  border-radius: 22px;
}

.app-card-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 10px;
  border-radius: 18px;
  background: #f4f0ff;
  color: var(--text);
  font-size: 1.75rem;
  font-weight: 900;
}

.spec-list {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.spec-list div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fbf9ff;
  color: var(--muted);
}

.spec-list strong {
  color: var(--text);
}

.mini-phone {
  display: grid;
  gap: 7px;
  width: 116px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.2);
}

.mini-phone i {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
}

.mini-phone i:nth-child(2) {
  width: 72%;
}

.mini-phone i:nth-child(3) {
  width: 48%;
}

.hero-actions,
.cta-row,
.button-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 14px;
  border: 0;
  border-radius: 16px;
  color: #ffffff;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  box-shadow: none;
}

.btn:hover,
.btn:focus {
  text-decoration: none;
  filter: brightness(0.98);
}

.btn-green {
  background: linear-gradient(180deg, var(--green), var(--green-dark));
}

.btn-blue {
  background: linear-gradient(180deg, var(--blue), var(--blue-dark));
}

.btn-gold {
  background: linear-gradient(180deg, #f4c85f, #d49a25);
  color: #2d1d03;
}

.btn-dark,
.btn-light {
  background: #f4f0ff;
  color: var(--text);
}

.btn-wide {
  grid-column: 1 / -1;
  width: 100%;
}

.download-actions {
  gap: 12px;
}

.download-btn {
  position: relative;
  flex-direction: column;
  gap: 2px;
  min-height: 64px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 20px;
  box-shadow: 0 14px 28px rgba(48, 31, 105, 0.18);
  font-size: 0.92rem;
  letter-spacing: 0;
  text-transform: uppercase;
  isolation: isolate;
}

.download-btn small {
  display: block;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: none;
}

.download-btn::after {
  position: absolute;
  inset: 1px;
  border-radius: 19px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0));
  content: "";
  pointer-events: none;
}

.download-apk {
  background: linear-gradient(135deg, #21142f 0%, #6b45e9 55%, #f4bd44 100%);
}

.download-ios {
  background: linear-gradient(135deg, #101a3f 0%, #6478ff 48%, #22c7d6 100%);
}

.card > .download-btn.btn-wide {
  margin-top: 14px;
}

.support-actions .btn {
  min-height: 48px;
  border-radius: 16px;
  box-shadow: none;
  font-size: 0.95rem;
}

.cta-note {
  margin: 8px 0 10px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.info-table,
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
}

.info-table th,
.info-table td,
.compare-table th,
.compare-table td {
  padding: 12px;
  border: 0;
  text-align: left;
  vertical-align: top;
}

.info-table th,
.compare-table th {
  width: 36%;
  border-radius: 12px 0 0 12px;
  background: #f4f0ff;
  color: var(--text);
  font-weight: 900;
}

.info-table td,
.compare-table td {
  border-radius: 0 12px 12px 0;
  background: #fbf9ff;
  color: var(--muted);
}

.quick-card,
.download-tile {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 18px;
  background: #faf8ff;
  text-decoration: none;
}

.quick-card strong,
.download-tile strong {
  color: var(--text);
  font-size: 1.08rem;
}

.quick-card span,
.download-tile span {
  color: var(--muted);
}

.grid,
.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.two-up {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.two-up + .two-up {
  margin-top: 10px;
}

.check-list,
.step-list,
.link-list {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.step-list li,
.link-list li {
  position: relative;
  padding: 12px 12px 12px 40px;
  border-radius: 14px;
  background: #fbf9ff;
  color: var(--muted);
}

.check-list li::before,
.step-list li::before,
.link-list li::before {
  position: absolute;
  top: 12px;
  left: 12px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 900;
  content: "+";
}

.step-list {
  counter-reset: steps;
}

.step-list li {
  counter-increment: steps;
}

.step-list li::before {
  background: var(--gold);
  color: #2d1d03;
  content: counter(steps);
}

.link-list li::before {
  background: var(--blue);
  content: ">";
}

.notice {
  padding: 14px;
  border-radius: 16px;
  background: #fff5d8;
  color: #6b4b06;
  font-weight: 700;
}

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

.faq details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbf9ff;
}

.faq summary {
  cursor: pointer;
  padding: 14px;
  color: var(--text);
  font-weight: 900;
}

.faq details p {
  padding: 0 14px 14px;
  color: var(--muted);
}

.breadcrumb {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li:not(:last-child)::after {
  margin-left: 6px;
  color: var(--gold);
  content: "/";
}

.breadcrumb a {
  color: var(--blue-dark);
  font-weight: 800;
}

.form-card label {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  color: var(--text);
  font-weight: 900;
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbf9ff;
  color: var(--text);
  font: inherit;
}

.form-card textarea {
  min-height: 120px;
  resize: vertical;
}

.form-card .btn {
  width: 100%;
}

.site-footer {
  padding-bottom: 22px;
}

.footer-inner {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--muted);
  box-shadow: var(--shadow);
}

.footer-grid {
  display: grid;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  padding: 8px 10px;
  border-radius: 999px;
  background: #f4f0ff;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.footer-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

@media (min-width: 680px) {
  .page-wrap,
  .site-header,
  .site-footer {
    width: min(100% - 40px, 560px);
  }

  h1 {
    font-size: 2.55rem;
  }
}

@media (max-width: 380px) {
  .page-wrap,
  .site-header,
  .site-footer {
    width: min(100% - 18px, var(--mobile));
  }

  .hero-actions,
  .cta-row,
  .button-grid {
    grid-template-columns: 1fr;
  }

  .logo-img {
    width: 132px;
    height: 64px;
  }
}
