* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 50% 0%, var(--page-background-accent) 0, var(--page-background) 46rem),
    var(--page-background);
  color: var(--text-color);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--header-background);
  box-shadow: 0 7px 24px rgba(0, 0, 0, 0.2);
}

.header-inner {
  width: min(var(--page-width), calc(100% - 32px));
  min-height: 124px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
}

.site-brand,
.site-logo {
  width: 160px;
  height: 100px;
}

.site-brand {
  display: block;
}

.site-logo {
  display: block;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(14px, 2.1vw, 30px);
}

.desktop-nav button,
.footer-links button,
.mobile-nav button {
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--text-color);
  cursor: pointer;
  font-weight: 800;
  line-height: 1.2;
  transition: color 160ms ease;
}

.desktop-nav button:hover,
.desktop-nav button:focus-visible,
.mobile-nav button:hover,
.mobile-nav button:focus-visible {
  color: var(--accent-color);
}

.account-actions {
  display: flex;
  gap: 10px;
}

.header-button {
  min-width: 102px;
  min-height: 46px;
  padding: 10px 18px;
  border: 2px solid transparent;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  transition: transform 160ms ease;
}

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

.signup-button {
  border-color: var(--signup-button-border);
  background: var(--signup-button-background);
  color: var(--signup-button-text);
}

.login-button {
  border-color: var(--login-button-background);
  background: var(--login-button-background);
  color: var(--login-button-text);
}

.menu-toggle {
  width: 48px;
  height: 48px;
  display: none;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: transparent;
  color: var(--text-color);
  cursor: pointer;
  font-size: 27px;
  line-height: 1;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 199;
  visibility: hidden;
  background: rgba(0, 0, 0, 0.62);
  opacity: 0;
  transition: opacity 200ms ease, visibility 200ms ease;
}

.menu-overlay.is-open {
  visibility: visible;
  opacity: 1;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 200;
  width: min(340px, 88vw);
  height: 100%;
  padding: 28px;
  overflow-y: auto;
  border-left: 1px solid var(--content-border);
  background: var(--content-background);
  box-shadow: -18px 0 45px rgba(0, 0, 0, 0.4);
  transform: translateX(105%);
  transition: transform 220ms ease;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.menu-close {
  position: absolute;
  top: 15px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--text-color);
  cursor: pointer;
  font-size: 36px;
  line-height: 1;
}

.mobile-menu-brand {
  width: 144px;
  height: 90px;
  margin: 14px auto 30px;
  display: block;
}

.mobile-menu-logo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.mobile-nav {
  display: grid;
  gap: 5px;
}

.mobile-nav button {
  width: 100%;
  padding: 14px;
  border-bottom: 1px solid var(--content-border);
  text-align: left;
}

.mobile-account-actions {
  margin-top: 26px;
  display: grid;
  gap: 10px;
}

.mobile-account-actions .header-button {
  width: 100%;
}

.hero {
  position: relative;
  width: min(var(--page-width), calc(100% - 32px));
  height: clamp(360px, 38.4615vw, 500px);
  margin: 28px auto 42px;
  overflow: hidden;
  border: 1px solid var(--content-border);
  border-radius: var(--hero-radius);
  background: var(--content-background);
  isolation: isolate;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -2;
  display: block;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  z-index: -1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.24));
}

.hero-content {
  width: 100%;
  height: 100%;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-align: center;
}

.hero-text-box {
  width: min(760px, 100%);
  padding: 24px 32px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: var(--hero-text-background);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.hero-kicker,
.hero-bonus,
.hero-note {
  margin: 0;
}

.hero-kicker {
  color: var(--accent-color);
  font-size: clamp(15px, 1.6vw, 20px);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-bonus {
  margin-top: 7px;
  color: #ffffff;
  font-size: clamp(30px, 4.1vw, 56px);
  font-weight: 900;
  line-height: 1.08;
  text-wrap: balance;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.5);
}

.hero-note {
  margin-top: 10px;
  color: #ececf4;
  font-size: clamp(15px, 1.4vw, 18px);
}

.hero-text-box .offer-button {
  margin-top: 22px;
}

.offer-button {
  min-width: 230px;
  min-height: 54px;
  padding: 13px 28px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
  box-shadow: 0 10px 28px rgba(255, 196, 0, 0.28);
  color: var(--button-text);
  cursor: pointer;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transition: transform 160ms ease, filter 160ms ease;
}

.offer-button:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.offer-button:active,
.header-button:active {
  transform: translateY(0);
}

.offer-button:focus-visible,
.header-button:focus-visible,
.menu-toggle:focus-visible,
.menu-close:focus-visible,
.table-scroll:focus-visible,
.payment-scroll:focus-visible,
summary:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

.offer-button-small {
  min-width: 210px;
  min-height: 50px;
  font-size: 15px;
}

.content {
  width: min(var(--text-width), calc(100% - 32px));
  margin: 0 auto;
}

.content-section {
  margin: 0 0 28px;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--content-border);
  border-radius: var(--content-radius);
  background: var(--content-background);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.18);
}

.content-body > .lead,
.content-body > .intro-copy {
  text-align: center;
}

.content-main .content-body > h2 {
  margin-top: clamp(34px, 6vw, 64px);
  padding-top: clamp(34px, 6vw, 64px);
  border-top: 1px solid var(--content-border);
}

.faq-section {
  margin-top: 28px;
}

.content h1,
.content h2,
.content h3 {
  margin: 0 auto 20px;
  color: var(--text-color);
  line-height: 1.22;
  text-align: center;
  text-wrap: balance;
}

.content h1 {
  max-width: 850px;
  color: var(--accent-color);
  font-size: clamp(32px, 5vw, 54px);
}

.content h2 {
  font-size: clamp(27px, 4vw, 40px);
}

.content h3 {
  font-size: clamp(20px, 3vw, 25px);
}

.content p {
  margin: 0 0 18px;
}

.content p:last-child {
  margin-bottom: 0;
}

.lead {
  color: #e8e8f0;
  font-size: clamp(18px, 2.1vw, 21px);
}

.eyebrow {
  margin-bottom: 10px !important;
  color: var(--accent-color);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.content .button-row {
  margin: 26px 0 24px;
  display: flex;
  justify-content: center;
}

.content-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  margin: 28px auto;
  border-radius: 16px;
}

.table-scroll {
  max-width: 100%;
  margin: 26px 0;
  overflow-x: auto;
  border: 1px solid var(--content-border);
  border-radius: 14px;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  min-width: 680px;
  border-spacing: 0;
  border-collapse: separate;
}

th,
td {
  padding: 15px 18px;
  border-right: 1px solid var(--content-border);
  border-bottom: 1px solid var(--content-border);
  text-align: left;
  vertical-align: middle;
}

th {
  background: var(--table-head-background);
  color: var(--accent-color);
  font-size: 15px;
  text-transform: uppercase;
}

td {
  background: var(--table-row-background);
}

th:last-child,
td:last-child {
  border-right: 0;
}

tbody tr:last-child td {
  border-bottom: 0;
}

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

.steps li {
  padding: 22px;
  border: 1px solid var(--content-border);
  border-radius: 16px;
  background: var(--table-row-background);
  text-align: center;
}

.steps li > span {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-color);
  color: var(--button-text);
  font-weight: 900;
}

.steps h3 {
  margin-bottom: 8px;
}

.steps p {
  color: var(--muted-text);
  font-size: 15px;
}

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

.faq-list details {
  overflow: hidden;
  border: 1px solid var(--content-border);
  border-radius: 14px;
  background: var(--table-row-background);
}

.faq-list summary {
  padding: 17px 52px 17px 20px;
  position: relative;
  cursor: pointer;
  color: var(--text-color);
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  color: var(--accent-color);
  font-size: 27px;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  padding: 0 20px 18px;
  color: var(--muted-text);
}

.site-footer {
  margin-top: 42px;
  padding: 34px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--footer-background);
  color: #ffffff;
}

.footer-inner {
  width: min(var(--page-width), calc(100% - 32px));
  margin: 0 auto;
}

.footer-links {
  padding: 0 0 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px clamp(20px, 3vw, 42px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-links button {
  color: var(--footer-link-colour);
  font-size: 14px;
  text-transform: uppercase;
}

.footer-links button:hover,
.footer-links button:focus-visible {
  color: #ffffff;
}

.payment-scroll {
  width: 100%;
  margin: 28px auto 20px;
  overflow-x: auto;
  border-radius: 8px;
  -webkit-overflow-scrolling: touch;
}

.payment-methods {
  width: 100%;
  min-width: 900px;
  max-width: 1431px;
  height: auto;
  margin: 0 auto;
  display: block;
}

.responsible-message,
.copyright {
  margin: 6px auto;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 1120px) {
  .header-inner {
    grid-template-columns: 144px minmax(0, 1fr) auto;
    min-height: 114px;
    gap: 20px;
  }

  .site-brand,
  .site-logo {
    width: 144px;
    height: 90px;
  }

  .desktop-nav {
    display: none;
  }

  .account-actions {
    justify-self: end;
  }

  .menu-toggle {
    display: grid;
  }

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

@media (max-width: 700px) {
  body {
    font-size: 16px;
    line-height: 1.62;
  }

  .header-inner {
    grid-template-columns: 112px 1fr 48px;
    min-height: 90px;
  }

  .site-brand,
  .site-logo {
    width: 112px;
    height: 70px;
  }

  .account-actions {
    display: none;
  }

  .menu-toggle {
    grid-column: 3;
    justify-self: end;
  }

  .hero {
    --mobile-hero-image-height: clamp(190px, 52vw, 300px);
    width: calc(100% - 20px);
    height: auto;
    margin: 12px auto 24px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .hero-image {
    position: relative;
    z-index: 0;
    width: 100%;
    height: var(--mobile-hero-image-height);
    border: 1px solid var(--content-border);
    border-radius: 15px;
    object-position: center;
  }

  .hero-shade {
    z-index: 1;
    height: var(--mobile-hero-image-height);
    border-radius: 15px;
    background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.82) 100%);
  }

  .hero-content {
    position: relative;
    z-index: 2;
    height: auto;
    padding: 0;
    display: block;
    text-align: center;
  }

  .hero-text-box {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    margin-top: 8px;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hero-text-box::before {
    content: "";
    z-index: 0;
    grid-area: 1 / 1 / 3 / 2;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    background: var(--hero-text-background);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
  }

  .hero-note {
    display: none;
  }

  .hero-kicker {
    z-index: 1;
    grid-area: 1 / 1;
    display: block;
    padding: 14px 12px 0;
    font-size: clamp(12px, 3.8vw, 16px);
    line-height: 1.25;
    letter-spacing: 0.1em;
  }

  .hero-bonus {
    z-index: 1;
    grid-area: 2 / 1;
    margin: 0;
    padding: 6px 12px 14px;
    color: #ffffff;
    font-size: clamp(22px, 6.2vw, 30px);
    line-height: 1.08;
    text-shadow:
      0 3px 8px rgba(0, 0, 0, 0.9);
  }

  .hero-text-box .offer-button {
    position: static;
    grid-area: 3 / 1;
    width: 100%;
    min-height: 56px;
    margin: 10px 0 0;
    padding-inline: 20px;
    border-radius: 14px;
  }

  .offer-button {
    width: min(100%, 320px);
    min-height: 56px;
    padding-inline: 20px;
  }

  .content {
    width: calc(100% - 20px);
  }

  .content-section {
    margin-bottom: 16px;
    padding: 24px 18px;
    border-radius: 15px;
  }

  .content h1 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .content h2 {
    font-size: clamp(26px, 7.5vw, 34px);
  }

  .content-image {
    margin: 22px auto;
    border-radius: 12px;
  }

  .table-scroll {
    margin-inline: -4px;
  }

  .footer-inner {
    width: calc(100% - 20px);
  }

  .footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .footer-links button {
    min-height: 42px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
  }
}

@media (max-width: 420px) {
  .footer-links {
    grid-template-columns: 1fr;
  }
}

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

  .offer-button,
  .header-button,
  .mobile-menu,
  .menu-overlay {
    transition: none;
  }
}
