:root {
  --page-bg: #fff0e1;
  --header-bg: #020411;
  --hero-bg: #12151f;
  --section-bg: #12151f;
  --card-bg: #1f2432;
  --card-border: #333847;
  --logo-accent: #24eca2;
  --logo-accent-2: #0fb9cc;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.94);
  --gold: #ffbf37;
  --button-grad: linear-gradient(88.59deg, #0fb9cc 0%, #24eca2 100%);
  --button-text: #003317;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  background: var(--page-bg);
  color: var(--text);
}

a {
  color: inherit;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-frame {
  width: min(1200px, 100%);
  margin: 0 auto;
}

.site-header,
.main-shell,
.content-page,
.site-footer {
  position: relative;
  z-index: 0;
}

.site-header::before,
.main-shell::before,
.content-page::before,
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
}

.site-header::before,
.site-footer::before {
  background: var(--header-bg);
}

.main-shell::before,
.content-page::before {
  background: var(--section-bg);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 42px;
  background: transparent;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  text-decoration: none;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.25;
}

.site-nav,
.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.site-nav a,
.footer-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.footer-nav a:hover,
.site-nav a.is-active,
.footer-nav a.is-active {
  color: var(--logo-accent);
}

.hero-section,
.content-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 42px;
}

.hero-section {
  gap: 48px;
  background: transparent;
}

.hero-copy,
.page-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 1116px;
  text-align: center;
}

.hero-copy h1,
.page-intro h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 48px);
  line-height: 1;
  font-weight: 800;
}

.hero-copy p,
.page-intro p {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  color: var(--muted);
}

.featured-block,
.content-section {
  width: 100%;
  max-width: 1116px;
}

.featured-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.featured-block h2,
.content-section > h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  font-weight: 700;
}

.featured-grid,
.card-grid.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.offer-card,
.content-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 6px;
}

.offer-top {
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.offer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 170px;
  padding: 16px;
  background: var(--hero-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  transition: transform 0.2s ease;
}

.offer-logo:hover,
.button-primary:hover,
.compliance-row a:hover {
  transform: translateY(-2px);
}

.offer-logo img {
  max-height: 120px;
  object-fit: contain;
}

.offer-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.score-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.score-row strong {
  font-size: 40px;
  line-height: 1;
  font-weight: 900;
}

.score-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.score-meta span {
  font-size: 16px;
  line-height: 1;
  font-weight: 500;
}

.stars {
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 2px;
}

.offer-copy,
.content-card p,
.content-card li,
.notice-card p,
.contact-points p,
.legal-entry p,
.legal-entry li {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  color: var(--muted);
}

.offer-copy {
  text-transform: uppercase;
  font-weight: 700;
}

.payments-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.payment-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 49px;
  min-height: 32px;
  padding: 6px;
  background: var(--hero-bg);
  border: 1px solid var(--card-border);
  border-radius: 6px;
}

.payment-pill img {
  max-height: 20px;
  width: auto;
}

.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 14px 28px;
  border: 0;
  border-radius: 6px;
  background: var(--button-grad);
  color: var(--button-text);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.button-cookie {
  width: auto;
  min-width: 311px;
}

.notice-card {
  padding: 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  text-align: center;
}

.notice-card p,
.accent-text {
  color: var(--logo-accent);
}

.content-section {
  gap: 24px;
}

.content-section.content-section-wide {
  gap: 32px;
}

.content-card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
}

.plain-list {
  margin: 0;
  padding-left: 20px;
}

.card-grid {
  width: 100%;
}

.contact-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-points a {
  color: var(--logo-accent);
}

.bullet {
  color: var(--logo-accent);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: #171b29;
  color: var(--text);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.form-status {
  display: none;
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--logo-accent);
}

.form-status.is-visible {
  display: block;
}

.legal-card {
  gap: 24px;
}

.legal-entry {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-entry h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 700;
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 42px;
  background: transparent;
}

.compliance-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.compliance-row img {
  max-height: 48px;
  width: auto;
}

.compliance-row a {
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.copyright {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 76px 24px;
  background: rgba(0, 0, 0, 0.2);
}

.cookie-modal.is-hidden {
  display: none;
}

.cookie-card {
  width: min(100%, 1448px);
  padding: 28px;
  background: #020411;
  border-radius: 8px;
}

.cookie-kicker {
  display: block;
  margin-bottom: 18px;
  font-size: 18px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.7);
}

.cookie-card h2 {
  margin: 0 0 16px;
  font-size: clamp(42px, 6vw, 56px);
  line-height: 1;
  font-weight: 800;
}

.cookie-card p {
  margin: 0 0 22px;
  font-size: 18px;
  line-height: 1.25;
}

@media (max-width: 980px) {
  .featured-grid,
  .card-grid.two-col {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .site-header,
  .hero-section,
  .content-section,
  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand {
    font-size: 20px;
  }

  .site-nav,
  .footer-nav,
  .compliance-row {
    gap: 16px;
  }

  .site-nav a,
  .footer-nav a,
  .hero-copy p,
  .page-intro p,
  .offer-copy,
  .content-card p,
  .content-card li,
  .notice-card p,
  .contact-points p,
  .legal-entry p,
  .legal-entry li,
  .copyright,
  .cookie-card p {
    font-size: 14px;
  }

  .featured-block h2,
  .content-section > h2 {
    font-size: 28px;
  }

  .content-card h3 {
    font-size: 20px;
  }

  .button-cookie {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .hero-section,
  .content-section {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .cookie-modal {
    padding: 24px 12px;
  }

  .cookie-card {
    padding: 18px;
  }
}
