:root {
  --navy: #07162f;
  --blue: #0b2b58;
  --cyan: #19c9ee;
  --gold: #ffc52c;
  --white: #fff;
  --paper: #f5f8fc;
  --ink: #10213c;
  --muted: #64748b;
  --line: #dce5f0;
  --max: 1080px
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65
}

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

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

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto
}

main p a:not(.button),
main li a:not(.button),
main details a:not(.button) {
  color: #075ea8;
  font-weight: 800;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(7, 94, 168, .38);
  text-underline-offset: 3px;
  border-radius: 3px;
  transition: color .18s, background-color .18s, text-decoration-color .18s
}

main p a:not(.button):hover,
main li a:not(.button):hover,
main details a:not(.button):hover {
  color: #064b86;
  background: #edf7fb;
  text-decoration-color: #064b86
}

main p a:not(.button):focus-visible,
main li a:not(.button):focus-visible,
main details a:not(.button):focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  text-decoration-color: transparent
}

.header {
  height: 76px;
  background: var(--navy);
  display: flex;
  align-items: center
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between
}

.brand {
  width: 205px
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #d9e8fb;
  font-size: .84rem;
  font-weight: 700
}

.nav a:hover,
.nav a[aria-current=page] {
  color: var(--cyan)
}

.login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 21px;
  border-radius: 7px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800
}

.mobile-nav {
  display: none;
  position: relative
}

.mobile-nav summary {
  list-style: none;
  width: 42px;
  height: 42px;
  border: 1px solid #496485;
  border-radius: 7px;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  cursor: pointer
}

.mobile-nav summary::-webkit-details-marker {
  display: none
}

.mobile-menu {
  position: absolute;
  right: 0;
  top: 49px;
  width: 220px;
  padding: 10px;
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .22);
  display: flex;
  flex-direction: column;
  color: var(--ink);
  z-index: 5
}

.mobile-menu a {
  padding: 10px 12px;
  border-radius: 6px;
  font-size: .88rem;
  font-weight: 700
}

.mobile-menu a:hover {
  background: var(--paper)
}

.page-hero {
  padding: 75px 0;
  background: linear-gradient(115deg, var(--navy), #0a3270);
  color: #fff
}

.breadcrumb {
  font-size: .78rem;
  color: #b8cbe2;
  margin-bottom: 18px
}

.breadcrumb a {
  color: var(--cyan)
}

h1,
h2,
h3,
p {
  margin-top: 0
}

h1 {
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  margin-bottom: 18px
}

.page-hero p {
  max-width: 680px;
  color: #d6e4f4;
  font-size: 1.05rem;
  margin: 0
}

.content {
  padding: 78px 0
}

.content h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 14px
}

.content-lead {
  max-width: 700px;
  color: var(--muted);
  margin-bottom: 38px
}

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

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

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px
}

.card p {
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: 0
}

.card a {
  display: inline-block;
  margin-top: 15px;
  color: #075ea8;
  font-weight: 800
}

.feature-image {
  margin-top: 45px;
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 12px
}

.notice {
  margin-top: 35px;
  padding: 22px;
  background: #edf7fb;
  border-radius: 10px;
  color: #34546d;
  overflow-wrap: anywhere
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 7px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800
}

.card .button {
  color: var(--navy)
}

.footer {
  background: #1b0344;
  color: #bfc8dc;
  padding: 52px 0
}

.footer-panel {
  padding: 48px 50px 24px;
  border: 1px solid rgba(106, 171, 255, .16);
  border-radius: 28px 28px 0 0;
  background: linear-gradient(135deg, #10105b, #080333 72%);
  box-shadow: 0 -18px 55px rgba(6, 3, 36, .25)
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) repeat(3, minmax(135px, .8fr));
  gap: 52px
}

.footer-intro p {
  max-width: 290px;
  margin: 20px 0 22px;
  color: #aebed3;
  font-size: .88rem;
  line-height: 1.7
}

.footer-brand {
  display: block;
  width: 210px
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px
}

.footer-badges span {
  padding: 7px 11px;
  border: 1px solid rgba(25, 201, 238, .42);
  border-radius: 999px;
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px
}

.footer-nav h2 {
  margin: 4px 0 10px;
  color: #fff;
  font-size: 1.05rem
}

.footer-nav a,
.footer-nav span {
  color: #c4cee1;
  font-size: .85rem;
  line-height: 1.35
}

.footer-nav a:hover {
  color: var(--cyan)
}

.footer-bottom {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .3);
  color: #93a5c0;
  font-size: .74rem
}

.footer-bottom a {
  color: #fff;
  font-weight: 700
}

.footer-bottom span:last-child {
  margin-left: auto
}

@media(max-width:900px) {

  .nav,
  .login {
    display: none
  }

  .mobile-nav {
    display: block
  }

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

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

  .footer-intro {
    grid-column: 1 / -1
  }
}

@media(max-width:600px) {
  .shell {
    width: min(calc(100% - 28px), var(--max))
  }

  .header {
    height: 68px
  }

  .brand {
    width: 170px
  }

  .page-hero {
    padding: 55px 0
  }

  .content {
    padding: 58px 0
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px
  }

  .footer-intro {
    grid-column: auto
  }

  .footer-panel {
    padding: 38px 24px 22px;
    border-radius: 20px 20px 0 0
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px
  }

  .footer-bottom span:last-child {
    margin-left: 0
  }
}

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

/* Download page */
.download-hero-inner {
  display: grid;
  grid-template-columns: 1fr 260px;
  align-items: center;
  gap: 60px
}

.hero-download {
  margin-top: 26px
}

.hero-file-note {
  margin-top: 12px !important;
  font-size: .78rem !important;
  color: #aebfda !important
}

.download-app-icon {
  width: 240px;
  margin-left: auto
}

.article {
  max-width: 900px
}

.article-section {
  margin-bottom: 72px
}

.article-section:last-child {
  margin-bottom: 0
}

.article-section h2 {
  margin-bottom: 12px
}

.article-section h3 {
  margin: 30px 0 7px
}

.article-section>p {
  color: var(--muted)
}

.article-section ul,
.article-section ol {
  padding-left: 24px
}

.article-section li {
  padding: 4px 0
}

.platform-list {
  list-style: none;
  padding: 0 !important;
  margin: 28px 0 0
}

.platform-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 16px 0
}

.platform-list div {
  display: flex;
  flex-direction: column
}

.platform-list span {
  color: var(--muted);
  font-size: .86rem
}

.platform-list .button {
  flex: 0 0 auto
}

.status-pending {
  background: #e8edf4;
  color: #58687c !important;
  padding: 7px 11px;
  border-radius: 6px;
  font-weight: 700;
  white-space: nowrap
}

.detail-list {
  padding-left: 20px !important
}

.checksum {
  overflow-wrap: anywhere
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 25px
}

.source-box {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px
}

.source-box h3 {
  margin: 0 0 14px
}

.source-button {
  display: inline-flex;
  min-height: 40px;
  padding: 0 16px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-size: .84rem;
  font-weight: 800
}

.article-section details {
  padding: 13px 0
}

.article-section summary {
  cursor: pointer;
  font-weight: 700
}

.article-section details p {
  color: var(--muted);
  margin: 9px 0 0
}

.article-section details a {
  display: inline-block;
  margin-top: 8px;
  color: #075ea8;
  font-weight: 800
}

.final-download {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 34px;
  padding: 34px;
  background: var(--navy);
  color: #fff;
  border-radius: 12px
}

.final-download img {
  width: 150px
}

.final-download h2 {
  color: #fff
}

.final-download p {
  color: #c4d2e4
}

.final-download small {
  display: block;
  color: #9eb0c7;
  margin-top: 14px
}

@media(max-width:700px) {
  .download-hero-inner {
    grid-template-columns: 1fr;
    text-align: center
  }

  .download-app-icon {
    width: 190px;
    margin: 0 auto;
    order: -1
  }

  .platform-list li {
    align-items: flex-start;
    flex-direction: column
  }

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

  .final-download {
    grid-template-columns: 1fr;
    text-align: center
  }

  .final-download img {
    width: 130px;
    margin: auto
  }

  .final-download .button {
    width: 100%
  }
}

/* Fixed contact sidebar */
.contact-sidebar {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 10px 0 0 10px;
  box-shadow: 0 8px 28px rgba(2, 12, 30, .28);
  transform: translateY(-50%)
}

.contact-sidebar-link {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  color: #fff;
  transition: filter .2s ease, transform .2s ease
}

.contact-sidebar-link svg {
  width: 31px;
  height: 31px;
  fill: currentColor
}

.contact-sidebar-whatsapp {
  background: #25d366
}

.contact-sidebar-telegram {
  background: #229ed9
}

.contact-sidebar-link:hover {
  filter: brightness(1.08);
  transform: translateX(-4px)
}

.contact-sidebar-link:focus-visible {
  position: relative;
  z-index: 1;
  outline: 3px solid #fff;
  outline-offset: -5px
}

@media(max-width:600px) {
  .contact-sidebar {
    top: auto;
    bottom: 84px;
    transform: none
  }

  .contact-sidebar-link {
    width: 52px;
    height: 52px
  }

  .contact-sidebar-link svg {
    width: 27px;
    height: 27px
  }
}

@media(prefers-reduced-motion:reduce) {
  .contact-sidebar-link {
    transition: none
  }
}

/* Homepage */
.home {
  --max: 1160px
}

.home .brand {
  width: 210px
}

.home .nav a:hover {
  color: var(--cyan)
}

.home .header-cta,
.home .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 7px;
  font-weight: 800;
  transition: transform .2s, filter .2s
}

.home .header-cta {
  min-height: 42px;
  color: var(--navy);
  background: var(--gold)
}

.home .mobile-nav-menu {
  position: absolute;
  right: 0;
  top: 49px;
  width: 220px;
  padding: 10px;
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .22);
  display: flex;
  flex-direction: column;
  color: var(--ink);
  z-index: 5
}

.home .mobile-nav-menu a {
  padding: 10px 12px;
  border-radius: 6px;
  font-size: .88rem;
  font-weight: 700
}

.home .mobile-nav-menu a:hover {
  background: var(--paper)
}

.home .button:hover,
.home .header-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.05)
}

.home .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  padding: 108px 0
}

.home .hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("assets/mega888-hero-reflection.webp") center/cover no-repeat
}

.home .hero:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #07162f 0%, rgba(7, 22, 47, .97) 30%, rgba(7, 22, 47, .65) 52%, rgba(7, 22, 47, .04) 78%)
}

.home .hero-content {
  width: min(55%, 620px)
}

.home .label {
  display: inline-block;
  color: var(--cyan);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 14px
}

.home h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -.035em;
  margin-bottom: 22px;
  max-width: 680px
}

.home h1 span {
  color: var(--gold)
}

.home .hero-copy {
  font-size: 1.08rem;
  color: #d7e4f4;
  max-width: 590px;
  margin-bottom: 30px
}

.home .actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.home .button-primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 4px 0 #d89000
}

.home .button-outline {
  border: 1px solid #7d9bc2;
  color: var(--white)
}

.home .hero-notes {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 25px;
  color: #b9cbe2;
  font-size: .8rem
}

.home .hero-notes span:before {
  content: "✓";
  color: var(--cyan);
  font-weight: 900;
  margin-right: 7px
}

.home .button-whatsapp {
  background: #25d366;
  color: #062d17;
  box-shadow: 0 4px 0 #128c4a;
  animation: contact-pulse 2.8s ease-in-out infinite
}

.home .button-telegram {
  background: #229ed9;
  color: #fff;
  box-shadow: 0 4px 0 #147aa9;
  animation: contact-pulse 2.8s ease-in-out .35s infinite
}

.home .button-whatsapp:hover,
.home .button-telegram:hover {
  animation-play-state: paused;
  transform: translateY(-3px) scale(1.02)
}

@keyframes contact-pulse {

  0%,
  70%,
  100% {
    transform: translateY(0);
    filter: brightness(1)
  }

  80% {
    transform: translateY(-4px);
    filter: brightness(1.08)
  }

  90% {
    transform: translateY(0);
    filter: brightness(1)
  }
}

.home .section {
  padding: 88px 0
}

.home .section-alt {
  background: var(--paper)
}

.home .heading {
  max-width: 690px;
  margin-bottom: 42px
}

.home .heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -.025em;
  margin-bottom: 12px
}

.home .heading p {
  color: var(--muted);
  margin: 0
}

.home .category-list {
  margin: 0;
  padding-left: 24px;
  max-width: 780px
}

.home .category-list li {
  padding: 5px 0 5px 7px
}

.home .category-list li::marker {
  color: #087994
}

.home .principles {
  margin: 0;
  padding-left: 24px;
  max-width: 780px
}

.home .principle {
  padding: 8px 0 13px 7px
}

.home .principle::marker {
  color: #087994;
  font-weight: 800
}

.home .principle h3 {
  font-size: 1.05rem;
  margin: 0 0 4px
}

.home .principle p {
  color: var(--muted);
  font-size: .9rem;
  margin: 0
}

.home .home-about {
  background: #fff
}

.home .home-about-inner {
  display: block;
  max-width: 900px
}

.home .home-about-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 42px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line)
}

.home .home-about-cta>div {
  display: flex;
  flex-direction: column
}

.home .home-about-cta strong {
  color: var(--ink);
  font-size: .95rem
}

.home .home-about-cta span {
  margin-top: 2px;
  color: var(--muted);
  font-size: .82rem
}

.home .home-about-cta .button {
  flex: 0 0 auto
}

.home .home-about-heading {
  margin-bottom: 28px
}

.home .home-about-heading .label {
  color: #087994
}

.home .home-about-heading h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -.03em
}

.home .home-about-content>p {
  color: var(--muted);
  max-width: 820px
}

.home .home-about-lead {
  color: var(--ink) !important;
  font-size: 1.08rem;
  line-height: 1.65
}

.home .home-about-list {
  max-width: 820px;
  margin: 28px 0 0;
  padding-left: 25px
}

.home .home-about-list li {
  padding: 6px 0 10px 5px;
  color: var(--muted)
}

.home .home-about-list li::marker {
  color: #087994;
  font-weight: 800
}

.home .home-about-list strong {
  color: var(--ink)
}

.home .download {
  background: var(--navy);
  color: var(--white)
}

.home .download-inner {
  display: block;
  max-width: 900px
}

.home .download h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -.03em;
  margin-bottom: 18px
}

.home .download-copy>p {
  color: #c7d6e9;
  max-width: 760px
}

.home .identity-list {
  max-width: 760px;
  margin: 24px 0;
  padding-left: 24px
}

.home .identity-list li {
  padding: 5px 0 7px 7px;
  color: #c7d6e9
}

.home .identity-list li::marker {
  color: var(--cyan)
}

.home .identity-list strong {
  color: #fff
}

.home .steps {
  margin: 0;
  padding-left: 24px;
  max-width: 780px
}

.home .step {
  padding: 8px 0 13px 7px
}

.home .step::marker {
  color: #087994;
  font-weight: 800
}

.home .step h3 {
  font-size: 1.05rem;
  margin-bottom: 8px
}

.home .step p {
  color: var(--muted);
  font-size: .9rem;
  margin: 0
}

.home .responsible {
  background: #eef3f9
}

.home .responsible-inner {
  display: block
}

.home .responsible h2 {
  font-size: 1.3rem;
  margin-bottom: 7px
}

.home .responsible p,
.home .responsible li {
  color: #5f6f84;
  font-size: .88rem
}

.home .responsible ul {
  margin: 12px 0 0;
  padding-left: 24px
}

.home .responsible li {
  padding: 4px 0
}

.home .footer {
  padding-bottom: 90px
}

.home .mobile-action {
  display: none
}

.home .home-mobile-guide {
  background: var(--navy);
  color: #fff
}

.home .home-mobile-inner {
  display: block;
  max-width: 900px
}

.home .home-mobile-copy {
  max-width: 760px
}

.home .home-mobile-copy h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  margin-bottom: 15px
}

.home .home-mobile-copy>p {
  color: #c5d5e8
}

.home .home-benefit-list {
  margin: 28px 0;
  padding-left: 24px
}

.home .home-benefit-list li {
  padding: 5px 0 8px 7px
}

.home .home-benefit-list li::marker {
  color: var(--cyan)
}

.home .home-benefit-list strong {
  display: block;
  font-size: .93rem
}

.home .home-benefit-list span {
  display: block;
  color: #aebfd4;
  font-size: .84rem
}

.home .home-text-cta {
  border: 1px solid #7894b7;
  color: #fff
}

.home .home-faq-layout {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 75px;
  align-items: start
}

.home .home-faq-layout .heading {
  position: sticky;
  top: 24px;
  margin: 0
}

.home .home-faq {
  margin: 0;
  padding-left: 25px
}

.home .home-faq li {
  padding: 0 0 18px 7px
}

.home .home-faq li::marker {
  color: #087994;
  font-weight: 800
}

.home .home-faq h3 {
  margin: 0 0 7px;
  font-size: 1rem
}

.home .home-faq p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem
}

.home .home-faq a {
  color: #075ea8;
  font-weight: 700
}

@media(max-width:900px) {
  .home .header-cta {
    display: none
  }

  .home .download-inner,
  .home .home-mobile-inner,
  .home .home-about-inner {
    grid-template-columns: 1fr;
    gap: 45px
  }

  .home .download-logo {
    width: 300px;
    margin: auto
  }

  .home .home-device-card {
    width: min(100%, 360px);
    margin: auto
  }

  .home .home-faq-layout {
    grid-template-columns: 1fr;
    gap: 30px
  }

  .home .home-faq-layout .heading,
  .home .home-about-heading {
    position: static
  }

  .home .home-about-points {
    grid-template-columns: 1fr
  }
}

@media(max-width:600px) {
  .home .brand {
    width: 170px
  }

  .home .hero {
    padding: 72px 0
  }

  .home .hero:before {
    background-position: 66% center;
    opacity: .42
  }

  .home .hero:after {
    background: rgba(7, 22, 47, .72)
  }

  .home .hero-content {
    width: 100%;
    text-align: center
  }

  .home .hero-copy {
    font-size: .96rem;
    margin-inline: auto
  }

  .home .actions {
    justify-content: center
  }

  .home .button {
    width: 100%
  }

  .home .hero-notes {
    justify-content: center;
    gap: 10px 15px
  }

  .home .section {
    padding: 66px 0
  }

  .home .category-list {
    display: block
  }

  .home .category-list li {
    padding: 5px 0 5px 7px
  }

  .home .download-copy,
  .home .home-mobile-copy {
    text-align: left
  }

  .home .download .actions {
    justify-content: flex-start
  }

  .home .home-benefit-list {
    text-align: left
  }

  .home .responsible-inner {
    gap: 15px
  }

  .home .mobile-action {
    display: block;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 10;
    background: #06152e;
    padding: 10px 14px max(10px, env(safe-area-inset-bottom))
  }

  .home .mobile-action .button {
    min-height: 48px
  }
}

@media(prefers-reduced-motion:reduce) {

  .home .button,
  .home .header-cta {
    transition: none
  }

  .home .button-whatsapp,
  .home .button-telegram {
    animation: none
  }
}

/* Guide page */
.guide-hero-inner {
  display: grid;
  grid-template-columns: 1fr 220px;
  align-items: center;
  gap: 60px
}

.guide-hero-inner>img {
  width: 210px;
  margin-left: auto
}

.guide-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px
}

.guide-secondary {
  color: #fff;
  font-weight: 800
}

.guide-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 70px;
  align-items: start
}

.guide-nav {
  position: sticky;
  top: 24px;
  padding: 20px;
  background: var(--paper);
  border-radius: 10px
}

.guide-nav strong {
  display: block;
  margin-bottom: 10px
}

.guide-nav ul {
  list-style: none;
  margin: 0;
  padding: 0
}

.guide-nav li {
  padding: 5px 0
}

.guide-nav a {
  color: #36516f;
  font-size: .84rem
}

.guide-nav a:hover {
  color: #075ea8
}

.guide-article {
  min-width: 0
}

.guide-article section {
  margin-bottom: 68px;
  scroll-margin-top: 24px
}

.guide-article section:last-child {
  margin-bottom: 0
}

.guide-article h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  line-height: 1.18;
  margin-bottom: 14px
}

.guide-article h3 {
  font-size: 1.15rem;
  margin: 28px 0 8px
}

.guide-article p,
.guide-article li {
  color: #53647c
}

.guide-article ul,
.guide-article ol {
  padding-left: 24px
}

.guide-article li {
  padding: 5px 0
}

.guide-article li strong,
.guide-article p strong {
  color: var(--ink)
}

.guide-article a:not(.button) {
  color: #075ea8;
  font-weight: 700
}

.guide-note {
  padding: 18px;
  background: #edf7fb;
  border-radius: 8px
}

.guide-download {
  margin-top: 14px
}

.guide-article details {
  padding: 13px 0
}

.guide-article summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink)
}

.guide-article details p {
  margin: 9px 0 0
}

.guide-link {
  display: inline-block;
  margin-top: 8px
}

.guide-responsible {
  padding: 26px;
  background: #eef3f9;
  border-radius: 10px
}

.guide-responsible h2 {
  font-size: 1.35rem
}

.guide-responsible p {
  margin-bottom: 0
}

@media(max-width:850px) {
  .guide-layout {
    grid-template-columns: 1fr;
    gap: 45px
  }

  .guide-nav {
    position: static
  }

  .guide-nav ul {
    columns: 2
  }
}

@media(max-width:600px) {
  .guide-hero-inner {
    grid-template-columns: 1fr;
    text-align: center
  }

  .guide-hero-inner>img {
    width: 170px;
    margin: 0 auto;
    order: -1
  }

  .guide-actions {
    flex-direction: column
  }

  .guide-actions .button {
    width: 100%
  }

  .guide-nav ul {
    columns: 1
  }
}

/* Customer review page */
.review-content {
  max-width: 850px
}

.review-content>section {
  margin-bottom: 68px
}

.review-content>section:last-child {
  margin-bottom: 0
}

.review-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  line-height: 1.18;
  margin-bottom: 14px
}

.review-content h3 {
  font-size: 1.2rem;
  margin-bottom: 9px
}

.review-content p,
.review-content li {
  color: #53647c
}

.review-content ul,
.review-content ol {
  padding-left: 24px
}

.review-content li {
  padding: 5px 0
}

.review-snapshot {
  display: flex;
  gap: 45px;
  flex-wrap: wrap;
  margin: 30px 0
}

.review-snapshot div {
  display: flex;
  flex-direction: column
}

.review-snapshot strong {
  font-size: 1.7rem;
  color: var(--ink)
}

.review-snapshot span {
  color: var(--muted);
  font-size: .82rem
}

.review-disclosure,
.review-note {
  font-size: .84rem
}

.review-source-link,
.public-feedback a {
  color: #075ea8;
  font-weight: 800
}

.public-feedback {
  margin-top: 25px;
  padding: 26px;
  background: var(--paper);
  border-radius: 10px
}

.feedback-source {
  color: #087994;
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 10px
}

.public-feedback p {
  margin-bottom: 10px
}

.review-checklist {
  max-width: 760px
}

.review-submit[disabled] {
  margin-top: 12px;
  background: #dfe6ef;
  color: #65758a;
  cursor: not-allowed
}

.review-responsible {
  padding: 26px;
  background: #eef3f9;
  border-radius: 10px
}

.review-responsible h2 {
  font-size: 1.35rem
}

.review-responsible p {
  margin-bottom: 0
}

.review-faq details,
.asset-faq details {
  padding: 16px 0;
  border-bottom: 1px solid var(--line)
}

.review-faq summary,
.asset-faq summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 800
}

.review-faq details p,
.asset-faq details p {
  margin: 10px 0 0;
  color: var(--muted)
}

@media(max-width:600px) {
  .review-snapshot {
    gap: 24px
  }

  .review-snapshot div {
    flex: 1 1 120px
  }

  .public-feedback,
  .review-responsible {
    padding: 21px
  }
}

/* Brand assets page */
.assets-hero-inner {
  display: grid;
  grid-template-columns: 1fr 230px;
  align-items: center;
  gap: 60px
}

.assets-hero-inner>img {
  width: 220px;
  margin-left: auto
}

.assets-package-button {
  margin-top: 26px
}

.assets-hero small {
  display: block;
  color: #aebfda;
  margin-top: 12px
}

.assets-content {
  max-width: 1000px
}

.asset-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 72px
}

.asset-jump a {
  padding: 8px 13px;
  background: var(--paper);
  border-radius: 6px;
  color: #38516f;
  font-size: .82rem;
  font-weight: 700
}

.asset-section {
  margin-bottom: 82px;
  scroll-margin-top: 24px
}

.asset-section:last-child {
  margin-bottom: 0
}

.asset-section h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.7rem);
  line-height: 1.15;
  margin-bottom: 13px
}

.asset-section h3 {
  font-size: 1.15rem;
  margin: 28px 0 9px
}

.asset-section>p,
.asset-section li {
  color: #53647c
}

.asset-section ul {
  padding-left: 24px
}

.asset-section li {
  padding: 4px 0
}

.logo-assets {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 20px;
  margin-top: 30px
}

.logo-assets article {
  min-width: 0
}

.logo-preview {
  height: 230px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  padding: 35px
}

.logo-preview-dark {
  background: var(--navy)
}

.logo-preview-light {
  background: var(--paper)
}

.logo-preview-dark img {
  width: 100%
}

.logo-preview-light img {
  height: 160px
}

.logo-assets h3 {
  margin: 18px 0 7px
}

.logo-assets ul {
  display: flex;
  gap: 17px;
  flex-wrap: wrap;
  margin: 0 0 14px;
  padding: 0;
  list-style: none
}

.logo-assets li {
  font-size: .78rem;
  color: var(--muted)
}

.asset-download {
  display: inline-flex;
  min-height: 42px;
  padding: 0 17px;
  align-items: center;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-size: .84rem;
  font-weight: 800
}

.asset-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 30px
}

.asset-gallery figure {
  margin: 0;
  min-width: 0
}

.asset-gallery figure>img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 9px;
  background: var(--navy)
}

.asset-gallery figcaption {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  padding-top: 11px
}

.asset-gallery figcaption strong {
  font-size: .92rem
}

.asset-gallery figcaption span {
  grid-column: 1;
  color: var(--muted);
  font-size: .76rem
}

.asset-gallery figcaption a {
  grid-column: 2;
  grid-row: 1/3;
  align-self: center;
  color: #075ea8;
  font-size: .82rem;
  font-weight: 800
}

.clear-space-example {
  margin-top: 30px;
  padding: 55px;
  background: var(--navy);
  border-radius: 10px;
  display: grid;
  place-items: center
}

.clear-space-example img {
  width: min(100%, 650px)
}

.colour-list {
  list-style: none;
  padding: 0 !important;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 28px;
  max-width: 720px
}

.colour-list li {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 12px
}

.swatch {
  width: 36px;
  height: 36px;
  border-radius: 7px
}

.swatch-navy {
  background: #07162f
}

.swatch-blue {
  background: #0b2b58
}

.swatch-cyan {
  background: #19c9ee
}

.swatch-gold {
  background: #ffc52c
}

.swatch-orange {
  background: #ff6a24
}

.swatch-paper {
  background: #f5f8fc;
  border: 1px solid var(--line)
}

.colour-list code {
  color: var(--muted)
}

.asset-permission {
  padding: 30px;
  background: var(--paper);
  border-radius: 10px
}

.permission-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 24px
}

.permission-actions>a:not(.button) {
  color: #075ea8;
  font-weight: 800;
  font-size: .86rem
}

.logo-meaning {
  padding: clamp(28px, 5vw, 52px);
  border-radius: 16px;
  background: var(--navy);
  color: #fff;
  overflow: hidden
}

.logo-meaning .meaning-intro {
  max-width: 720px
}

.logo-meaning .meaning-label {
  display: block;
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase
}

.logo-meaning .meaning-intro>p {
  color: #c5d5e8
}

.meaning-logo {
  margin: 34px 0;
  padding: 40px clamp(22px, 5vw, 60px);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  background: linear-gradient(135deg, #0b2b58, #081a38);
  box-shadow: inset 0 1px rgba(255, 255, 255, .06)
}

.meaning-logo img {
  display: block;
  width: 100%;
  margin: auto
}

.meaning-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 32px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  overflow: hidden
}

.meaning-grid article {
  padding: 25px;
  background: #0a1d3d
}

.meaning-grid .meaning-number {
  color: var(--gold);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em
}

.meaning-grid h3 {
  margin: 12px 0 8px;
  color: #fff
}

.meaning-grid p {
  margin: 0;
  color: #b9cbe0;
  font-size: .88rem
}

.meaning-feeling {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 42px;
  align-items: center;
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .14)
}

.meaning-feeling h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.4rem, 3vw, 2rem)
}

.meaning-feeling p {
  margin: 0;
  color: #c5d5e8
}

.logo-meaning .meaning-note {
  margin: 25px 0 0;
  color: #8198b5;
  font-size: .75rem
}

@media(max-width:700px) {
  .assets-hero-inner {
    grid-template-columns: 1fr;
    text-align: center
  }

  .assets-hero-inner>img {
    width: 180px;
    margin: 0 auto;
    order: -1
  }

  .asset-gallery,
  .logo-assets,
  .meaning-grid,
  .meaning-feeling {
    grid-template-columns: 1fr
  }

  .logo-preview {
    height: 200px
  }

  .asset-gallery figure>img {
    height: 200px
  }

  .meaning-logo {
    padding: 28px 18px
  }

  .meaning-feeling {
    gap: 16px
  }

  .colour-list {
    grid-template-columns: 1fr
  }

  .permission-actions {
    align-items: stretch;
    flex-direction: column
  }

  .permission-actions .button {
    width: 100%
  }
}

/* Top-up guide */
.topup-hero {
  padding: 86px 0
}

.topup-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: center;
  gap: 80px
}

.topup-eyebrow,
.topup-heading>span,
.topup-final span {
  display: block;
  margin-bottom: 11px;
  color: var(--cyan);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase
}

.topup-hero h1 {
  max-width: 720px
}

.topup-hero p {
  max-width: 650px
}

.topup-hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 28px
}

.topup-hero-actions>a:not(.button) {
  color: #fff;
  font-size: .88rem;
  font-weight: 800
}

.topup-hero small {
  display: block;
  margin-top: 18px;
  color: #9fb3cc
}

.topup-hero-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  background: rgba(12, 45, 91, .78);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .2)
}

.topup-hero-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase
}

.topup-hero-card strong {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .92rem
}

.topup-hero-card strong:before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: rgba(25, 201, 238, .16);
  color: var(--cyan);
  font-size: .7rem
}

.topup-content {
  max-width: 1000px
}

.topup-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 76px
}

.topup-jump a {
  padding: 8px 13px;
  border-radius: 6px;
  background: var(--paper);
  color: #38516f;
  font-size: .8rem;
  font-weight: 700
}

.topup-section {
  margin-bottom: 88px;
  scroll-margin-top: 24px
}

.topup-heading {
  max-width: 720px;
  margin-bottom: 32px
}

.topup-heading>span {
  color: #087994
}

.topup-heading h2,
.topup-final h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.7rem);
  line-height: 1.15;
  margin-bottom: 13px
}

.topup-heading p {
  margin: 0;
  color: var(--muted)
}

.topup-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none
}

.topup-steps li {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff
}

.topup-steps>li>span {
  display: block;
  margin-bottom: 24px;
  color: #087994;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .1em
}

.topup-steps h3 {
  margin-bottom: 8px;
  font-size: 1.08rem
}

.topup-steps p,
.payment-grid p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem
}

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

.payment-grid article {
  padding: 23px;
  border-radius: 11px;
  background: var(--paper)
}

.payment-grid i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 21px;
  border-radius: 9px;
  background: var(--navy);
  color: var(--gold);
  font-size: .67rem;
  font-style: normal;
  font-weight: 900
}

.payment-grid h3 {
  font-size: 1rem;
  margin-bottom: 8px
}

.topup-caption {
  margin: 17px 0 0;
  color: var(--muted);
  font-size: .76rem
}

.topup-check-section {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 60px;
  padding: 40px;
  border-radius: 14px;
  background: #edf7fb
}

.topup-check-section .topup-heading {
  margin-bottom: 0
}

.topup-checklist {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none
}

.topup-checklist li {
  position: relative;
  padding: 12px 14px 12px 43px;
  border-radius: 8px;
  background: #fff;
  color: #40546e;
  font-size: .9rem
}

.topup-checklist li:before {
  content: "✓";
  position: absolute;
  left: 15px;
  color: #087994;
  font-weight: 900
}

.status-list {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden
}

.status-list>div {
  display: grid;
  grid-template-columns: 12px 170px 1fr;
  align-items: center;
  gap: 15px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line)
}

.status-list>div:last-child {
  border-bottom: 0
}

.status-list p {
  margin: 0;
  color: var(--muted);
  font-size: .87rem
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%
}

.status-pending-dot {
  background: #e5a416
}

.status-success-dot {
  background: #159568
}

.status-failed-dot {
  background: #c54e4e
}

.status-review-dot {
  background: #537dc4
}

.topup-faq details {
  padding: 17px 0;
  border-bottom: 1px solid var(--line)
}

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

.topup-faq p {
  max-width: 780px;
  margin: 10px 0 0;
  color: var(--muted)
}

.security-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 42px;
  border-radius: 15px;
  background: var(--navy);
  color: #fff
}

.security-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 23px;
  border: 1px solid rgba(255, 197, 44, .5);
  border-radius: 50%;
  color: var(--gold);
  font-size: 1.3rem;
  font-weight: 900
}

.security-panel h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.15
}

.security-panel p,
.security-panel li {
  color: #bacbe0
}

.security-panel ul {
  margin: 0;
  padding-left: 22px;
  align-self: center
}

.security-panel li {
  padding: 6px 0
}

.spending-panel {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 30px;
  border-radius: 12px;
  background: #fff4de;
  border-left: 4px solid var(--gold)
}

.spending-panel .age {
  font-size: 2rem;
  font-weight: 900;
  color: #a84b22;
  white-space: nowrap
}

.spending-panel h2 {
  font-size: 1.3rem;
  margin-bottom: 7px
}

.spending-panel p {
  margin: 0;
  color: #665744
}

.topup-final {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
  padding: 42px;
  border-radius: 15px;
  background: linear-gradient(120deg, #0b2b58, var(--navy));
  color: #fff
}

.topup-final>div:first-child {
  max-width: 620px
}

.topup-final h2 {
  color: #fff
}

.topup-final p {
  margin: 0;
  color: #bdcee2
}

.topup-final-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto
}

.topup-final-actions>a:not(.button) {
  color: #fff;
  font-size: .84rem;
  font-weight: 800
}

@media(max-width:850px) {
  .topup-hero-inner {
    grid-template-columns: 1fr;
    gap: 42px
  }

  .topup-hero-card {
    max-width: 500px
  }

  .topup-steps {
    grid-template-columns: 1fr
  }

  .payment-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .topup-check-section,
  .security-panel {
    grid-template-columns: 1fr;
    gap: 30px
  }

  .topup-final {
    align-items: flex-start;
    flex-direction: column
  }

  .topup-final-actions {
    align-items: flex-start;
    flex-direction: row
  }
}

@media(max-width:520px) {
  .topup-hero {
    text-align: center;
    padding: 62px 0
  }

  .topup-hero-actions {
    justify-content: center
  }

  .topup-hero-card {
    text-align: left
  }

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

  .topup-check-section,
  .security-panel,
  .topup-final {
    padding: 27px
  }

  .status-list>div {
    grid-template-columns: 12px 1fr
  }

  .status-list p {
    grid-column: 2
  }

  .spending-panel {
    gap: 16px
  }

  .topup-final-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch
  }

  .topup-final-actions .button {
    width: 100%
  }

  .topup-final-actions>a:not(.button) {
    text-align: center
  }
}

/* Login and account access */
.login-hero {
  padding: 86px 0
}

.login-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: center;
  gap: 90px
}

.login-eyebrow,
.login-heading>span {
  display: block;
  margin-bottom: 11px;
  color: var(--cyan);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase
}

.login-hero h1 {
  max-width: 700px
}

.login-hero p {
  max-width: 650px
}

.login-hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 28px
}

.login-hero-actions>a {
  color: #fff;
  font-size: .88rem;
  font-weight: 800
}

.login-shield {
  padding: 31px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(13, 52, 107, .9), rgba(8, 27, 57, .9));
  box-shadow: 0 20px 40px rgba(0, 0, 0, .22)
}

.shield-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  border: 1px solid rgba(25, 201, 238, .45);
  border-radius: 50% 50% 44% 44%;
  background: rgba(25, 201, 238, .1);
  color: var(--cyan);
  font-size: 1.25rem;
  font-weight: 900
}

.login-shield>strong {
  display: block;
  font-size: 1.15rem
}

.login-shield ul {
  margin: 17px 0 0;
  padding: 0;
  list-style: none
}

.login-shield li {
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: #bdcee2;
  font-size: .85rem
}

.login-shield li:before {
  content: "✓";
  margin-right: 9px;
  color: var(--gold);
  font-weight: 900
}

.login-content {
  max-width: 1000px
}

.login-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 76px
}

.login-jump a {
  padding: 8px 13px;
  border-radius: 6px;
  background: var(--paper);
  color: #38516f;
  font-size: .8rem;
  font-weight: 700
}

.login-section {
  margin-bottom: 88px;
  scroll-margin-top: 24px
}

.login-heading {
  max-width: 730px;
  margin-bottom: 32px
}

.login-heading>span {
  color: #087994
}

.login-heading h2,
.otp-section h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.7rem);
  line-height: 1.15;
  margin-bottom: 13px
}

.login-heading p {
  margin: 0;
  color: var(--muted)
}

.prelogin-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none
}

.prelogin-grid li {
  display: flex;
  gap: 18px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 11px
}

.prelogin-grid>li>span {
  color: #087994;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em
}

.prelogin-grid strong {
  display: block;
  margin-bottom: 6px
}

.prelogin-grid p {
  margin: 0;
  color: var(--muted);
  font-size: .87rem
}

.account-details {
  padding: 42px;
  border-radius: 15px;
  background: var(--paper)
}

.account-term-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--line);
  overflow: hidden
}

.account-term-grid article {
  padding: 24px;
  background: #fff
}

.account-term-grid article>span {
  color: #087994;
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase
}

.account-term-grid h3 {
  margin: 14px 0 8px;
  font-size: 1.02rem
}

.account-term-grid p {
  margin: 0;
  color: var(--muted);
  font-size: .86rem
}

.login-faq details {
  padding: 17px 0;
  border-bottom: 1px solid var(--line)
}

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

.login-faq p {
  max-width: 790px;
  margin: 10px 0 0;
  color: var(--muted)
}

.recovery-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 42px;
  border-radius: 15px;
  background: #edf7fb
}

.recovery-panel .login-heading {
  margin: 0
}

.recovery-panel ol {
  display: grid;
  gap: 9px;
  align-self: center;
  margin: 0;
  padding: 0;
  list-style: none
}

.recovery-panel li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 14px;
  border-radius: 8px;
  background: #fff
}

.recovery-panel li>span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-size: .7rem;
  font-weight: 900
}

.recovery-panel p {
  margin: 0;
  color: #465b74;
  font-size: .88rem
}

.otp-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 42px;
  border-radius: 15px;
  background: var(--navy);
  color: #fff
}

.otp-mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 197, 44, .45);
  border-radius: 10px;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: .12em
}

.otp-section h2 {
  color: #fff
}

.otp-section p,
.otp-section li {
  color: #bdcee2
}

.otp-section ul {
  align-self: center;
  margin: 0;
  padding-left: 22px
}

.otp-section li {
  padding: 6px 0
}

.never-share {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px
}

.never-share>div {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 130px;
  padding: 20px;
  border: 1px solid #f0d6d1;
  border-radius: 10px;
  background: #fff8f6
}

.never-share span {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #f4d8d2;
  color: #a94332;
  font-weight: 900
}

.never-share strong {
  font-size: .86rem
}

.protect-account {
  margin-top: 20px;
  padding: 27px;
  border-radius: 11px;
  background: var(--paper)
}

.protect-account h3 {
  margin-bottom: 13px
}

.protect-account ul {
  columns: 2;
  column-gap: 45px;
  margin: 0;
  padding-left: 21px
}

.protect-account li {
  break-inside: avoid;
  padding: 4px 0;
  color: var(--muted);
  font-size: .88rem
}

.login-responsible {
  display: flex;
  align-items: flex-start;
  gap: 26px;
  padding: 30px;
  border-radius: 12px;
  background: #fff4de;
  border-left: 4px solid var(--gold)
}

.login-responsible .age {
  color: #a84b22;
  font-size: 2rem;
  font-weight: 900;
  white-space: nowrap
}

.login-responsible h2 {
  font-size: 1.3rem;
  margin-bottom: 7px
}

.login-responsible p {
  margin: 0;
  color: #665744
}

@media(max-width:850px) {
  .login-hero-inner {
    grid-template-columns: 1fr;
    gap: 42px
  }

  .login-shield {
    max-width: 500px
  }

  .account-term-grid {
    grid-template-columns: 1fr
  }

  .recovery-panel,
  .otp-section {
    grid-template-columns: 1fr;
    gap: 30px
  }

  .never-share {
    grid-template-columns: repeat(3, 1fr)
  }
}

@media(max-width:600px) {
  .login-hero {
    text-align: center;
    padding: 62px 0
  }

  .login-hero-actions {
    justify-content: center
  }

  .login-shield {
    text-align: left
  }

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

  .account-details,
  .recovery-panel,
  .otp-section {
    padding: 27px
  }

  .never-share {
    grid-template-columns: repeat(2, 1fr)
  }

  .protect-account ul {
    columns: 1
  }

  .login-responsible {
    gap: 16px
  }
}

/* Site-wide mobile hardening */
html {
  overflow-x: clip
}

body {
  min-width: 0
}

main,
section,
article,
nav,
div {
  min-width: 0
}

p,
li,
summary,
h1,
h2,
h3,
a,
strong,
span {
  overflow-wrap: anywhere
}

.button,
.login,
.header-cta,
.asset-download,
.source-button {
  max-width: 100%;
  text-align: center;
  line-height: 1.25;
  white-space: normal
}

.mobile-nav summary,
.mobile-menu a,
.mobile-nav-menu a,
.asset-jump a,
.topup-jump a,
.login-jump a {
  min-height: 44px
}

.mobile-menu,
.home .mobile-nav-menu {
  max-width: calc(100vw - 28px)
}

.asset-gallery figcaption,
.colour-list li,
.status-list>div {
  min-width: 0
}

.asset-gallery figcaption strong,
.asset-gallery figcaption span,
.colour-list li>* {
  min-width: 0
}

/* Shared FAQ presentation */
.faq-list {
  max-width: 820px;
  margin: 24px 0 0;
  padding-left: 25px
}

.faq-list>li {
  padding: 0 0 20px 7px
}

.faq-list>li::marker {
  color: #087994;
  font-weight: 800
}

.faq-list h3 {
  margin: 0 0 7px;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ink)
}

.faq-list p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem
}

.faq-list a {
  color: #075ea8;
  font-weight: 700
}

/* Consistent homepage content alignment */
.home .home-about-inner,
.home .download-inner,
.home .home-mobile-inner,
.home .responsible-inner {
  max-width: none
}

.home .home-about-heading,
.home .home-about-content,
.home .download-copy,
.home .home-mobile-copy,
.home .responsible-inner>div {
  max-width: 820px
}

.home .home-faq-layout {
  display: block
}

.home .home-faq-layout .heading {
  position: static;
  max-width: 820px;
  margin: 0 0 30px
}

.home .home-faq {
  max-width: 820px
}

.home main .section.shell,
.home main .section>.shell {
  width: min(calc(100% - 40px), 820px);
  margin-inline: auto
}

@media(max-width:600px) {

  .home main .section.shell,
  .home main .section>.shell {
    width: min(calc(100% - 28px), 820px)
  }

  .home .home-about-cta {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
    padding: 18px 0
  }

  .home .home-about-cta .button {
    width: 100%
  }

  h1,
  .home h1 {
    font-size: clamp(2.15rem, 11vw, 3.15rem);
    line-height: 1.08
  }

  .content h2,
  .asset-section h2,
  .topup-heading h2,
  .topup-final h2,
  .login-heading h2,
  .otp-section h2 {
    font-size: clamp(1.65rem, 8vw, 2.15rem)
  }

  .page-hero p {
    font-size: .96rem
  }

  .breadcrumb {
    margin-bottom: 14px
  }

  .content {
    padding: 50px 0
  }

  .article-section,
  .guide-article section,
  .review-content>section {
    margin-bottom: 54px
  }

  .asset-section,
  .topup-section,
  .login-section {
    margin-bottom: 62px
  }

  .asset-jump,
  .topup-jump,
  .login-jump {
    margin-bottom: 52px
  }

  .card,
  .topup-steps li,
  .public-feedback,
  .review-responsible {
    padding: 20px
  }

  .topup-hero-actions,
  .login-hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 12px
  }

  .topup-hero-actions .button,
  .login-hero-actions .button {
    width: 100%
  }

  .platform-list .button,
  .asset-download,
  .source-button {
    min-height: 44px
  }

  .asset-gallery figcaption {
    grid-template-columns: minmax(0, 1fr) auto
  }

  .clear-space-example {
    padding: 30px 20px
  }

  .colour-list li {
    grid-template-columns: 36px minmax(0, 1fr) auto
  }

  .footer {
    padding-bottom: max(34px, env(safe-area-inset-bottom))
  }
}

@media(max-width:420px) {
  .shell {
    width: min(calc(100% - 24px), var(--max))
  }

  .header-inner {
    gap: 12px
  }

  .brand,
  .home .brand {
    width: 150px
  }

  .mobile-menu,
  .home .mobile-nav-menu {
    right: 0;
    width: min(260px, calc(100vw - 24px))
  }

  .home .category-list {
    grid-template-columns: 1fr
  }

  .home .hero-notes {
    align-items: flex-start;
    flex-direction: column;
    text-align: left
  }

  .home .download-logo {
    width: min(100%, 220px)
  }

  .home .responsible-inner,
  .spending-panel,
  .login-responsible {
    flex-direction: column
  }

  .never-share {
    grid-template-columns: 1fr
  }

  .topup-check-section,
  .security-panel,
  .topup-final,
  .account-details,
  .recovery-panel,
  .otp-section,
  .asset-permission {
    padding: 22px
  }

  .topup-hero-card,
  .login-shield {
    padding: 23px
  }

  .status-list>div {
    padding: 16px
  }

  .asset-gallery figcaption {
    grid-template-columns: 1fr
  }

  .asset-gallery figcaption span,
  .asset-gallery figcaption a {
    grid-column: 1;
    grid-row: auto
  }

  .asset-gallery figcaption a {
    min-height: 44px;
    display: flex;
    align-items: center
  }

  .colour-list li {
    grid-template-columns: 36px minmax(0, 1fr)
  }

  .colour-list code {
    grid-column: 2
  }

  .meaning-grid article,
  .logo-preview {
    padding: 20px
  }
}

/* Featured direct-download source */
.source-featured {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  margin-top: 28px;
  padding: 26px;
  border: 1px solid #b9cce2;
  border-left: 4px solid var(--cyan);
  border-radius: 10px;
  background: #f6faff
}

.source-featured>div {
  max-width: 650px
}

.source-featured span {
  display: block;
  margin-bottom: 6px;
  color: #087994;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase
}

.article-section .source-featured h3 {
  margin: 0 0 7px
}

.source-featured p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem
}

.source-featured .source-button {
  flex: 0 0 auto
}

.source-featured+.source-grid {
  margin-top: 16px
}

@media(max-width:700px) {
  .source-featured {
    align-items: stretch;
    flex-direction: column;
    gap: 20px
  }

  .source-featured .source-button {
    width: 100%
  }
}

/* Compact mobile download and source grids */
@media(max-width:700px) {
  .platform-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px
  }

  .platform-list li {
    display: flex;
    justify-content: space-between;
    min-height: 190px;
    padding: 16px 14px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff
  }

  .platform-list div {
    gap: 3px
  }

  .platform-list strong {
    font-size: .9rem;
    line-height: 1.3
  }

  .platform-list span {
    font-size: .75rem;
    line-height: 1.45
  }

  .platform-list .button {
    width: 100%;
    min-height: 44px;
    margin-top: 14px;
    padding: 8px 9px;
    font-size: .76rem
  }

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

  .source-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 132px;
    padding: 12px 8px
  }

  .article-section .source-box h3 {
    margin: 0 0 10px;
    font-size: .76rem;
    line-height: 1.3
  }

  .source-box .source-button {
    width: 100%;
    min-height: 44px;
    padding: 7px 5px;
    font-size: .65rem;
    line-height: 1.2;
    overflow-wrap: anywhere
  }
}
