/* Publish landing.
   Own header and footer, matched to the page: blue ground, black frames, yellow button. */

html { scroll-padding-top: 84px; }

body.publish-landing {
  overflow-x: clip;
  --pub-max: 1040px;
  --pub-pad: 1.5rem;
  --pub-ink: #111111;
  --pub-muted: #2c2c2c;
  --pub-line: #111111;
  --pub-yellow: #ffe500;
  --pub-blue: #d7eefc;
  --pub-dark: #111111;
  --pub-bg: #d7eefc;
  --pub-display: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  --pub-body: Inter, system-ui, sans-serif;
  font-family: var(--pub-body);
  background: var(--pub-bg);
  color: var(--pub-ink);
  color-scheme: light;
}

body.publish-landing .mmorpg-bg { display: none; }

body.publish-landing .hl-main,
body.publish-landing .pub-main {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 1rem 0.85rem 1.35rem;
  background: var(--pub-bg);
}

body.publish-landing.home-light .pub-header.mmorpg-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0;
  background: var(--pub-bg);
  border-bottom: 0;
  box-shadow: none;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

body.publish-landing.home-light .pub-header.mmorpg-header.is-scrolled {
  background: #fff;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
}

.pub-header__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.7rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.pub-header__logo {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1 1 auto;
  text-decoration: none;
  color: #111;
}

.pub-header__logo img {
  display: block;
  width: auto;
  height: 32px;
  max-width: min(188px, 100%);
  object-fit: contain;
}

.pub-header__name,
.pub-footer__name {
  font-family: var(--pub-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #111;
}

.pub-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 0.5rem;
}

.pub-header .header-lang-wrap,
.pub-header .header-currency-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
}

.pub-header__locale {
  display: inline-flex;
  align-items: stretch;
  height: 36px;
  background: #fff;
  border: 2px solid #111;
  border-radius: 999px;
}

.pub-header__locale .header-lang-wrap {
  border-right: 2px solid #111;
}

.pub-header__locale .header-lang-wrap:only-child {
  border-right: 0;
}

.pub-header .header-lang-short {
  display: none;
}

body.publish-landing .pub-header .pub-header__pill,
body.publish-landing .pub-header .pub-btn.pub-header__cta {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  height: 42px;
  min-height: 42px;
  max-height: 42px;
  padding: 0 0.9rem;
  border: 2px solid #111;
  border-radius: 999px;
  box-shadow: none;
  color: #111;
  font-family: var(--pub-display);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: none;
  white-space: nowrap;
  flex: 0 0 auto;
  cursor: pointer;
}

body.publish-landing .pub-header .pub-header__pill {
  background: #fff;
}

body.publish-landing .pub-header .pub-header__locale .pub-header__pill {
  height: 100%;
  min-height: 0;
  max-height: none;
  padding: 0 0.7rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 800;
}

body.publish-landing .pub-header .pub-header__locale .header-lang-btn {
  padding-left: 0.4rem;
  border-radius: 999px 0 0 999px;
}

body.publish-landing .pub-header .pub-header__locale .header-currency-btn {
  min-width: 4.4rem;
  padding-right: 0.55rem;
  border-radius: 0 999px 999px 0;
}

body.publish-landing .pub-header .pub-header__locale .header-lang-wrap:only-child .header-lang-btn,
body.publish-landing .pub-header .pub-header__locale .header-currency-wrap:only-child .header-currency-btn {
  border-radius: 999px;
}

body.publish-landing .pub-header .pub-header__locale .pub-header__pill:hover,
body.publish-landing .pub-header .pub-header__locale .pub-header__pill[aria-expanded="true"] {
  background: #fff6c4;
}

body.publish-landing .pub-header .header-lang-chevron,
body.publish-landing .pub-header .header-currency-chevron {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  color: #111;
  opacity: 0.8;
}

body.publish-landing .pub-header .header-lang-flag {
  width: 16px;
  height: 16px;
  min-width: 16px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex: 0 0 auto;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.18);
}

body.publish-landing .pub-header .header-lang-flag.flag-round-tr {
  object-position: 15% center;
}

body.publish-landing .pub-header .header-lang-option img {
  width: 20px;
  height: 15px;
  border-radius: 2px;
  object-fit: cover;
  display: block;
  flex: 0 0 auto;
}

body.publish-landing .pub-header .pub-btn.pub-header__cta {
  background: var(--pub-yellow);
  padding: 0 1rem;
}

body.publish-landing .pub-header .pub-btn.pub-header__cta:hover {
  background: #ffef3a;
  color: #111;
  border-color: #111;
  transform: none;
  box-shadow: none;
}

body.publish-landing .pub-header .header-lang-dropdown,
body.publish-landing .pub-header .header-currency-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 70;
  display: block;
  min-width: 190px;
  max-height: 280px;
  overflow: auto;
  margin: 0;
  padding: 0.35rem;
  background: #fff;
  border: 3px solid #111;
  border-radius: 16px;
  box-shadow: 4px 4px 0 #111;
}

body.publish-landing .pub-header .header-lang-dropdown[hidden],
body.publish-landing .pub-header .header-currency-dropdown[hidden] {
  display: none;
}

body.publish-landing .pub-header .header-lang-option,
body.publish-landing .pub-header .header-currency-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.45rem 0.55rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #111;
  font-family: var(--pub-body);
  font-size: 0.92rem;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

body.publish-landing .pub-header .header-lang-option:hover,
body.publish-landing .pub-header .header-currency-option:hover,
body.publish-landing .pub-header .header-lang-option.is-active,
body.publish-landing .pub-header .header-currency-option.is-active {
  background: #fff6c4;
}

.pub-footer {
  background: var(--pub-bg);
  padding: 0 0.85rem 1.4rem;
}

.pub-footer__card {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem 3.5rem;
  padding: 1.85rem 1.85rem 1.7rem;
  background: #fff;
  border: 3px solid #111;
  border-radius: 28px;
  box-shadow: 6px 6px 0 #111;
}

.pub-footer__links {
  display: grid;
  grid-template-columns: max-content max-content;
  align-items: start;
  column-gap: clamp(2.75rem, 4.5vw, 4.75rem);
  flex: 0 0 auto;
}

.pub-footer__brand {
  min-width: 0;
  flex: 1 1 18rem;
  max-width: 24rem;
}

.pub-footer__logo {
  display: inline-flex;
  text-decoration: none;
}

.pub-footer__logo img {
  display: block;
  width: auto;
  height: 30px;
  max-width: 176px;
  object-fit: contain;
}

.pub-footer__tag {
  margin: 0.75rem 0 0;
  max-width: 22rem;
  color: #333;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
}

.pub-footer__emails {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.15rem;
  width: min(100%, 20rem);
  margin-top: 1.15rem;
  padding-top: 0.95rem;
  border-top: 2px solid #111;
}

.pub-footer__emails .pub-footer__title {
  margin-bottom: 0.45rem;
}

.pub-footer__email {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2rem;
  padding: 0.2rem 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #111;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.pub-footer__email i {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border: 2px solid #111;
  border-radius: 8px;
  background: #ffe500;
  font-size: 0.75rem;
}

.pub-footer__email:hover {
  color: #111;
}

.pub-footer__email:hover span {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pub-footer__col a {
  color: #111;
  font-weight: 700;
  text-decoration: none;
}

.pub-footer__col a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pub-footer__title {
  margin: 0 0 0.55rem;
  font-family: var(--pub-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.pub-footer__col > .pub-footer__title {
  margin: 0 0 0.7rem;
}

.pub-footer__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.46rem;
}

.pub-footer__col a {
  display: inline-block;
  max-width: 15.5rem;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.site-pay-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 1120px;
  margin: 0.85rem auto 0;
}
.site-pay-logo {
  display: block;
  height: 28px;
  border-radius: 8px;
  overflow: hidden;
  line-height: 0;
  background: #fff;
}
.site-pay-logo img {
  display: block;
  height: 28px;
  width: auto;
  border-radius: 8px;
}

.pub-footer__copy {
  max-width: 1120px;
  margin: 0.85rem auto 0;
  color: #222;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
}

.pub-wrap {
  width: 100%;
  max-width: var(--pub-max);
  margin: 0 auto;
  padding: 0 var(--pub-pad);
}

.pub-hero,
.pub-section,
.pub-close {
  max-width: 1120px;
  margin: 0 auto 0.85rem;
  border: 3px solid #111;
  border-radius: 28px;
  background: #fff;
}

.pub-section {
  padding: 3.4rem 0;
}

.pub-section-head { margin: 0 0 1.6rem; }

.pub-h2,
.pub-close__title,
.pub-hero__title,
.pub-step__title,
.pub-faq-item summary {
  font-family: var(--pub-display);
  color: var(--pub-ink);
}

.pub-h2 {
  margin: 0 0 0.5rem;
  max-width: 16em;
  font-size: clamp(1.85rem, 3.1vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.02;
  text-wrap: balance;
}

.pub-lead {
  margin: 0;
  max-width: 34rem;
  color: var(--pub-muted);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.5;
}

/* Buttons */

.pub-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0.75rem 1.35rem;
  border-radius: 16px;
  border: 3px solid #111;
  font-family: var(--pub-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  box-sizing: border-box;
  box-shadow: 4px 4px 0 #111;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.pub-btn--primary {
  background: var(--pub-yellow);
  color: #111;
}

.pub-btn--primary:hover {
  background: #ffef3a;
  color: #111;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #111;
}

.pub-btn:focus-visible {
  outline: 3px solid #111;
  outline-offset: 3px;
}

/* Hero */

.pub-hero {
  padding: clamp(3.4rem, 8vh, 5.4rem) 0;
  background: var(--pub-blue);
  color: #111;
}

.pub-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pub-hero__title {
  margin: 0 auto;
  max-width: 12em;
  color: #111;
  font-size: clamp(2.6rem, 6.2vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.92;
  text-wrap: balance;
}

.pub-hero__sub {
  margin: 1.15rem auto 0;
  max-width: none;
  color: #1a1a1a;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.45;
  white-space: nowrap;
}

.pub-hero-cta { margin-top: 1.7rem; }

@media (prefers-reduced-motion: no-preference) {
  .pub-hero__title,
  .pub-hero__sub,
  .pub-hero-cta {
    animation: pub-hero-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .pub-hero__sub { animation-delay: 0.08s; }
  .pub-hero-cta { animation-delay: 0.16s; }

  html.pub-motion .pub-reveal {
    opacity: 0;
    transition:
      opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
  }

  html.pub-motion .pub-reveal--up { transform: translate3d(0, 32px, 0); }
  html.pub-motion .pub-reveal--left { transform: translate3d(-36px, 0, 0); }
  html.pub-motion .pub-reveal--right { transform: translate3d(36px, 0, 0); }
  html.pub-motion .pub-reveal--scale { transform: scale(0.92); }
  html.pub-motion .pub-reveal--fade { transform: none; }

  html.pub-motion .pub-reveal.is-in {
    opacity: 1;
    transform: none;
  }

  html.pub-motion .pub-local__card:nth-child(2),
  html.pub-motion .pub-reach__card:nth-child(2),
  html.pub-motion .pub-payout__card:nth-child(2) {
    transition-delay: 0.1s;
  }

  html.pub-motion .pub-step:nth-child(2),
  html.pub-motion .pub-faq-item:nth-child(2) { transition-delay: 0.08s; }

  html.pub-motion .pub-step:nth-child(3),
  html.pub-motion .pub-faq-item:nth-child(3) { transition-delay: 0.16s; }

  html.pub-motion .pub-faq-item:nth-child(4) { transition-delay: 0.24s; }
}

@keyframes pub-hero-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* Payments */

#payment-methods .pub-section-head { text-align: center; }

#payment-methods .pub-h2 { max-width: 14em; }

#payment-methods .pub-h2,
#payment-methods .pub-lead {
  margin-left: auto;
  margin-right: auto;
}

#payout .pub-section-head { text-align: center; }

#payout .pub-h2,
#payout .pub-lead {
  margin-left: auto;
  margin-right: auto;
}

#contact .pub-section-head { text-align: center; }

#contact .pub-h2,
#contact .pub-lead {
  margin-left: auto;
  margin-right: auto;
}

#checkout-reach .pub-section-head { text-align: center; }

#checkout-reach .pub-h2 { max-width: 16em; }

#checkout-reach .pub-h2,
#checkout-reach .pub-lead {
  margin-left: auto;
  margin-right: auto;
}

.pub-reach {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.pub-reach__card {
  margin: 0;
  padding: 1.15rem 1.15rem 1.2rem;
  border: 3px solid #111;
  border-radius: 20px;
  box-shadow: 4px 4px 0 #111;
  text-align: left;
}

.pub-reach__card:nth-child(1) { background: #fff1d6; }
.pub-reach__card:nth-child(2) { background: #e7f6ea; }

.pub-reach__count {
  margin: 0;
  font-family: var(--pub-display);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.pub-reach__label {
  margin: 0.28rem 0 0.8rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.pub-reach__tags {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pub-reach__card:nth-child(1) .pub-reach__tags {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pub-reach__card:nth-child(2) .pub-reach__tags {
  grid-template-columns: repeat(8, minmax(0, 1fr));
}

.pub-reach__tags li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem;
  min-width: 0;
  margin: 0;
  padding: 0.28rem 0.5rem;
  border: 2px solid #111;
  border-radius: 999px;
  background: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
}

.pub-reach__card:nth-child(2) .pub-reach__tags li {
  justify-content: center;
  padding-left: 0.1rem;
  padding-right: 0.1rem;
}

.pub-reach__tags li span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pub-reach__tags img {
  display: block;
  width: 18px;
  height: 13px;
  border-radius: 2px;
  object-fit: cover;
  flex: none;
}

.pub-local {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 0 0 1.35rem;
}

.pub-local__card {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  margin: 0;
  padding: 1.05rem 1.1rem;
  border: 3px solid #111;
  border-radius: 20px;
  box-shadow: 4px 4px 0 #111;
  text-align: left;
}

.pub-local__card:nth-child(1) { background: #fff1d6; }
.pub-local__card:nth-child(2) { background: #e7f6ea; }

.pub-local__logo {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.4rem;
  height: 3.4rem;
  padding: 0.28rem;
  border-radius: 12px;
  background: #fff;
  border: 2px solid #111;
  overflow: hidden;
}

.pub-local__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pub-local__copy { min-width: 0; }

.pub-local__country {
  margin: 0;
  font-family: var(--pub-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.pub-local__method {
  margin: 0.12rem 0 0;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
}

.pub-local__line {
  margin: 0.28rem 0 0;
  color: #222;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
}

.pub-payout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.pub-payout__card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0;
  padding: 1.15rem 1.15rem;
  border: 3px solid #111;
  border-radius: 20px;
  box-shadow: 4px 4px 0 #111;
}

.pub-payout__card:nth-child(1) { background: #e5f2ff; }
.pub-payout__card:nth-child(2) { background: #fff6c4; }

.pub-payout__icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 12px;
  background: #fff;
  border: 2px solid #111;
  font-size: 1.2rem;
  color: #111;
}

.pub-payout__title {
  margin: 0;
  font-family: var(--pub-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.pub-contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
  width: min(100%, 44rem);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.pub-contact > li {
  display: flex;
  min-width: 0;
  margin: 0;
}

.pub-contact__card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.85rem;
  width: 100%;
  min-width: 0;
  min-height: 4.75rem;
  margin: 0;
  padding: 0.85rem 1rem;
  border: 3px solid #111;
  border-radius: 18px;
  box-shadow: 4px 4px 0 #111;
  color: inherit;
  text-align: left;
  text-decoration: none;
}

.pub-contact__card--whatsapp { background: #d9fbe4; }
.pub-contact__card--telegram { background: #d7eefc; }
.pub-contact__card--mail { background: #fff6c4; }

.pub-contact__card:hover {
  color: inherit;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #111;
}

.pub-contact__card:focus-visible {
  outline: 3px solid #111;
  outline-offset: 3px;
}

.pub-contact__icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: #fff;
  border: 2px solid #111;
  font-size: 1.3rem;
  color: #111;
}

.pub-contact__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  min-width: 0;
}

.pub-contact__name {
  font-family: var(--pub-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.pub-contact__detail {
  max-width: 100%;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

@media (min-width: 760px) {
  .pub-contact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
  }

  .pub-contact__card {
    flex-direction: column;
    justify-content: center;
    gap: 0.8rem;
    min-height: 11.25rem;
    padding: 1.3rem 0.9rem 1.15rem;
    border-radius: 20px;
    text-align: center;
  }

  .pub-contact__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 14px;
    font-size: 1.45rem;
  }

  .pub-contact__copy {
    align-items: center;
    width: 100%;
  }
}

.pub-pay {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.pub-pay__row {
  overflow: hidden;
  width: 100%;
  padding: 20px 0 34px;
  margin: -20px 0 -34px;
}

.pub-pay__track {
  display: flex;
  width: max-content;
  animation: pub-pay-left 42s linear infinite;
}

.pub-pay__row--right .pub-pay__track {
  animation-name: pub-pay-right;
}

.pub-pay__row:hover .pub-pay__track {
  animation-play-state: paused;
}

.pub-pay__set {
  display: flex;
  flex: none;
  align-items: center;
  gap: 1.15rem;
  padding-right: 1.15rem;
}

@keyframes pub-pay-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes pub-pay-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.pub-coin {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: 112px;
  height: 112px;
  padding: 0;
  border: 0;
  background: none;
  overflow: visible;
  filter:
    drop-shadow(-1px 1px 0 #3b86ff)
    drop-shadow(0 12px 8px rgba(8, 20, 50, 0.28));
}

.pub-coin__plate {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 3px solid transparent;
  border-radius: 22px;
  background:
    linear-gradient(165deg, #243456 0%, #10192c 46%, #0a101c 100%) padding-box,
    linear-gradient(155deg, #e7f6ff 0%, #79c4ff 16%, #1f6dff 40%, #0a3d96 68%, #9ad8ff 100%) border-box;
  transform: perspective(720px) rotateX(9deg) rotateY(-16deg);
  transform-origin: center center;
  transition: transform 0.2s ease;
}

.pub-coin:hover .pub-coin__plate {
  transform: perspective(720px) rotateX(3deg) rotateY(-6deg);
}

.pub-coin--light .pub-coin__plate {
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(155deg, #e7f6ff 0%, #79c4ff 16%, #1f6dff 40%, #0a3d96 68%, #9ad8ff 100%) border-box;
}

.pub-coin--bleed .pub-coin__plate {
  background:
    linear-gradient(#d52e2f, #d52e2f) padding-box,
    linear-gradient(155deg, #e7f6ff 0%, #79c4ff 16%, #1f6dff 40%, #0a3d96 68%, #9ad8ff 100%) border-box;
}

.pub-coin--bleed img {
  transform: scale(1.42);
  transform-origin: center center;
}

.pub-coin--sepa .pub-coin__plate {
  background:
    linear-gradient(#143481, #143481) padding-box,
    linear-gradient(155deg, #e7f6ff 0%, #79c4ff 16%, #1f6dff 40%, #0a3d96 68%, #9ad8ff 100%) border-box;
}

.pub-coin--sepa img {
  transform: scale(1.48);
  transform-origin: center center;
}

.pub-coin img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.pub-coin__gloss {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 14%, rgba(255, 255, 255, 0) 36%);
}

.pub-coin__ph {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f4f7ff;
  font-size: 1.45rem;
}

.pub-pm-blocks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.pub-pm-block {
  padding: 1.15rem 1.05rem 1.25rem;
  background: #fff6c4;
  border: 3px solid #111;
  border-radius: 18px;
  box-shadow: 4px 4px 0 #111;
}

.pub-pm-block:nth-child(4n+1) { background: #ffe8df; }
.pub-pm-block:nth-child(4n+2) { background: #e5f2ff; }
.pub-pm-block:nth-child(4n+3) { background: #fff6c4; }
.pub-pm-block:nth-child(4n+4) { background: #e4f8ea; }

.pub-pm-block__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 0.8rem;
  border-radius: 12px;
  background: #fff;
  border: 2px solid #111;
  color: #111;
  font-size: 1.05rem;
}

.pub-pm-block__title {
  display: block;
  margin-bottom: 0.28rem;
  font-family: var(--pub-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.pub-pm-block__desc {
  margin: 0;
  color: #333;
  font-size: 0.9rem;
  line-height: 1.45;
}

/* Steps */

#how-to-get-started .pub-section-head { text-align: center; }

#how-to-get-started .pub-h2,
#how-to-get-started .pub-lead {
  margin-left: auto;
  margin-right: auto;
}

.pub-steps {
  position: relative;
  list-style: none;
  margin: 0.2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.pub-step:not(:last-child)::after { display: none; }

.pub-step {
  position: relative;
  margin: 0;
  padding: 1.2rem 1.1rem 1.3rem;
  text-align: left;
  border: 3px solid #111;
  border-radius: 20px;
  background: #fff;
  box-shadow: 4px 4px 0 #111;
}

.pub-step:nth-child(3n+1) { background: #fff6c4; }
.pub-step:nth-child(3n+2) { background: #e5f2ff; }
.pub-step:nth-child(3n+3) { background: #ffe8df; }

.pub-step__head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 0.75rem;
}

.pub-step__num {
  position: relative;
  z-index: 1;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0;
  border-radius: 12px;
  background: #fff;
  border: 2px solid #111;
  font-family: var(--pub-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #111;
}

.pub-step__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.pub-step__desc {
  margin: 0;
  max-width: 24em;
  color: #2a2a2a;
  font-size: 0.96rem;
  line-height: 1.5;
}

.pub-step__more { margin: 0.7rem 0 0; }

.pub-step__more a {
  color: #111;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* API */

.pub-api {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 2.2rem;
  align-items: center;
  padding-top: 0.15rem;
}

.pub-api__copy .pub-h2 {
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  max-width: 8em;
}

.pub-api__copy .pub-lead { margin-bottom: 0.65rem; }

.pub-api__desc {
  margin: 0;
  max-width: 32rem;
  color: #2a2a2a;
  font-size: 1.02rem;
  line-height: 1.5;
}

.pub-api__cta {
  margin-top: 1.35rem;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

.pub-code {
  border-radius: 18px;
  background: #111;
  color: #f4f4f4;
  overflow: hidden;
  border: 3px solid #111;
  box-shadow: 4px 4px 0 #111;
}

.pub-code__bar {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 1rem;
  background: var(--pub-yellow);
  border-bottom: 3px solid #111;
}

.pub-code__label {
  color: #111;
  font-family: var(--pub-display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.pub-code pre {
  margin: 0;
  padding: 1rem 1.05rem 1.15rem;
  overflow: visible;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  line-height: 1.55;
}

.pub-code .k,
.pub-code .p { color: #9aa0a8; }
.pub-code .key { color: #fff; }
.pub-code .s { color: #ffe500; }
.pub-code .n { color: #ffd36a; }

/* FAQ */

#faq.pub-section { padding-bottom: 3rem; }

.pub-faq {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}

.pub-faq .pub-section-head {
  margin: 0;
  width: min(100%, 40rem);
  text-align: center;
}

.pub-faq .pub-h2,
.pub-faq .pub-lead {
  margin-left: auto;
  margin-right: auto;
}

.pub-faq .pub-h2 {
  max-width: 7.5em;
  margin-bottom: 0.65rem;
}

.pub-faq .pub-lead {
  max-width: 36rem;
  text-wrap: balance;
}

.pub-faq-list {
  width: min(100%, 720px);
  border-top: 3px solid #111;
}

.pub-faq-item { border-bottom: 3px solid #111; }

.pub-faq-item summary {
  position: relative;
  padding: 1.1rem 2rem 1.1rem 0;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}

.pub-faq-item summary::-webkit-details-marker { display: none; }

.pub-faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0;
  width: auto;
  height: auto;
  margin: 0;
  border: 0;
  transform: translateY(-54%);
  font-family: var(--pub-display);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
  color: #111;
}

.pub-faq-item[open] summary { color: #111; }
.pub-faq-item[open] summary::after { content: "–"; transform: translateY(-50%); }

.pub-faq-item summary:focus-visible {
  outline: 3px solid #111;
  outline-offset: 3px;
}

.pub-faq-answer {
  padding: 0 2rem 1.1rem 0;
  max-width: 40rem;
  color: #2a2a2a;
  font-size: 1rem;
  line-height: 1.5;
}

/* Close */

.pub-close {
  padding: 0;
  background: #fff;
}

.pub-close__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  width: min(100%, 720px);
  margin: 0 auto;
  padding: 3.2rem 1.75rem 2.8rem;
  border-radius: 0;
  background: transparent;
}

.pub-close__title {
  margin: 0 auto;
  max-width: 12em;
  color: #111;
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.98;
  text-wrap: balance;
}

.pub-close__sub {
  margin: 0.7rem auto 1.45rem;
  max-width: 26rem;
  color: #222;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.45;
}

.pub-close .pub-btn { flex: 0 0 auto; }

@media (max-width: 860px) {
  body.publish-landing .hl-main,
  body.publish-landing .pub-main {
    padding: 0.7rem 0.55rem 1rem;
  }

  .pub-hero,
  .pub-section,
  .pub-close {
    border-radius: 20px;
  }

  .pub-section { padding: 2.4rem 0; }

  .pub-hero { padding: 2.5rem 0 2.3rem; }

  .pub-header__inner {
    gap: 0.45rem;
    padding: 0.65rem 0.85rem;
  }
  .pub-header__cta { width: auto; }
  .pub-footer { padding: 0 0.55rem 1rem; }
  .pub-footer__card {
    flex-direction: column;
    align-items: stretch;
    border-radius: 20px;
    gap: 1.35rem;
  }
  .pub-footer__brand { max-width: none; }
  .pub-footer__links {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 1.35rem;
    width: 100%;
    padding-top: 0.15rem;
  }

  .pub-pm-blocks,
  .pub-local,
  .pub-reach,
  .pub-payout,
  .pub-steps,
  .pub-api,
  .pub-faq { grid-template-columns: 1fr; }

  .pub-faq .pub-section-head { margin-bottom: 0; }

  .pub-close__inner { padding: 2.3rem 1.2rem 2.1rem; }

  .pub-coin { width: 86px; height: 86px; }
  .pub-coin__plate { border-radius: 18px; }
}

@media (max-width: 720px) {
  .pub-hero__sub {
    white-space: normal;
    max-width: 22rem;
  }
}

@media (max-width: 640px) {
  .pub-header__inner {
    gap: 0.35rem;
    padding: 0.5rem 0.6rem;
  }

  .pub-header__logo img { height: 28px; }

  .pub-header__actions { gap: 0.3rem; }

  .pub-header__locale { height: 34px; }

  body.publish-landing .pub-header .pub-header__locale .pub-header__pill {
    padding: 0 0.45rem;
    font-size: 0.72rem;
    gap: 0.28rem;
  }

  body.publish-landing .pub-header .pub-header__locale .header-currency-btn {
    min-width: 3.6rem;
  }

  body.publish-landing .pub-header .pub-btn.pub-header__cta {
    height: 34px;
    min-height: 34px;
    max-height: 34px;
    padding: 0 0.55rem;
    font-size: 0.72rem;
    gap: 0.22rem;
    letter-spacing: -0.03em;
  }
}

@media (max-width: 420px) {
  .pub-header .header-lang-code { display: none; }
  .pub-header .header-lang-short { display: inline; }
}

@media (max-width: 560px) {
  .pub-hero__title { font-size: 2.35rem; }

  .pub-btn {
    min-height: 52px;
    font-size: 0.95rem;
  }

  .pub-reach__card:nth-child(2) .pub-reach__tags {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .pub-hero__title,
  .pub-hero__sub,
  .pub-hero-cta { animation: none; }

  .pub-btn,
  .pub-coin__plate,
  .pub-coin:hover .pub-coin__plate { transition: none; }

  .pub-coin__plate,
  .pub-coin:hover .pub-coin__plate { transform: none; }

  .pub-pay__track,
  .pub-pay__row--right .pub-pay__track,
  .pub-pay__row:hover .pub-pay__track { animation: none; }
  .pub-pay__set[aria-hidden="true"] { display: none; }
  .pub-pay__set {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    padding-right: 0;
  }
}
