.hero {
  padding: 56px 24px 48px;
  display: flex;
  justify-content: center;
}

.hero-stack {
  position: relative;
  max-width: 700px;
  width: 100%;
  min-height: 220px;
}

.hero-card {
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border);
}

.hero-card-back {
  position: absolute;
  inset: 0;
  background: var(--secondary);
  padding: 32px;
  z-index: 0;
}

.hero-card-back p {
  color: var(--muted);
  font-size: 15px;
  max-width: 90%;
  margin-top: 56px;
}

.hero-card-front {
  position: relative;
  z-index: 1;
  background: var(--surface);
  padding: 32px;
  transform: translate(20px, 10px);
  animation: rise-in 0.45s ease-out;
}

.hero-card-front h1 {
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  line-height: 1.25;
  margin-bottom: 14px;
}

.hero-card-front .hero-lead {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 20px;
}

.hero-cta {
  display: inline-block;
  background: var(--primary);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 4px;
  font-size: 14px;
}

.hero-cta:hover {
  background: var(--accent);
  color: var(--bg);
}

.offers-section {
  padding: 56px 24px;
  background-color: var(--bg);
  background-image:
    linear-gradient(180deg, rgba(9, 9, 11, 0.82) 0%, rgba(9, 9, 11, 0.92) 100%),
    url("/images/offers_bg/offers_bg.webp");
  background-size: cover;
  background-position: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.offers-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.offers-header {
  margin-bottom: 28px;
}

.offers-header h2 {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.offers-header p {
  color: var(--muted);
  font-size: 14px;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.offer-card {
  background: #fff;
  color: #111;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  animation: rise-in 0.5s ease-out;
}

.offer-card-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 180px;
  height: 64px;
  margin: 0 auto;
  background: #f4f4f5;
  border-radius: 6px;
  padding: 8px;
  box-sizing: border-box;
}

.offer-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  max-width: none;
}

.offer-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #18181b;
}

.offer-bonus {
  font-size: 1.15rem;
  font-weight: 700;
  color: #16a34a;
  line-height: 1.3;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

.offer-terms {
  display: block;
  font-size: 11px;
  color: #71717a;
  margin-top: 4px;
}

.offer-desc {
  font-size: 12px;
  color: #71717a;
  line-height: 1.45;
}

.offer-cta {
  margin-top: auto;
  background: #16a34a;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  text-decoration: none;
  display: block;
}

.offer-cta:hover {
  background: #15803d;
  color: #fff;
}

.info-section {
  padding: 56px 24px;
  border-bottom: 1px solid var(--border);
}

.info-section:nth-child(even) {
  background: rgba(24, 24, 27, 0.45);
}

.info-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.info-section h2 {
  font-size: 1.45rem;
  margin-bottom: 14px;
}

.info-section p {
  color: var(--muted);
  margin-bottom: 12px;
  font-size: 15px;
}

.info-cta {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  background: var(--secondary);
}

.info-cta:hover {
  background: rgba(34, 197, 94, 0.15);
  color: var(--accent);
}

.layout-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}

.layout-steps {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.step-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.step-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 18px;
  color: var(--accent);
  font-weight: 700;
}

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

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px;
}

.info-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text);
}

.info-card p {
  margin-bottom: 0;
  font-size: 14px;
}

.layout-quote {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 24px;
  align-items: stretch;
}

.pull-quote {
  background: var(--secondary);
  border-left: 4px solid var(--primary);
  padding: 24px;
  font-size: 1.15rem;
  color: var(--text);
  display: flex;
  align-items: center;
  border-radius: 0 8px 8px 0;
}

.layout-checklist ul {
  list-style: none;
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.layout-checklist li {
  padding: 12px 14px 12px 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  position: relative;
  color: var(--muted);
  font-size: 14px;
}

.layout-checklist li::before {
  content: "[+]";
  position: absolute;
  left: 12px;
  top: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: var(--accent);
  font-size: 12px;
}

.layout-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-top: 12px;
}

.band-visual {
  min-height: 200px;
  background-size: cover;
  background-position: center;
  max-height: 320px;
}

.band-copy {
  padding: 24px;
  background: var(--surface);
}

.layout-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 16px 0;
}

.stat-box {
  background: var(--secondary);
  border: 1px solid var(--border);
  padding: 18px 14px;
  text-align: center;
  border-radius: 6px;
}

.stat-box strong {
  display: block;
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 4px;
}

.stat-box span {
  font-size: 12px;
  color: var(--muted);
}

.layout-defs dl {
  margin-top: 12px;
}

.layout-defs dt {
  font-weight: 700;
  color: var(--accent);
  margin-top: 14px;
  font-size: 14px;
}

.layout-defs dd {
  color: var(--muted);
  font-size: 14px;
  padding-left: 12px;
  border-left: 2px solid var(--border);
  margin-top: 4px;
}

.layout-rail {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
}

.rail-aside {
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px;
  font-size: 13px;
  color: var(--muted);
}

.rail-aside strong {
  display: block;
  color: var(--text);
  margin-bottom: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.layout-callout {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.callout-box {
  margin-top: 18px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.callout-box p {
  margin-bottom: 0;
}

.section-kicker {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 8px;
  display: block;
}

@media (max-width: 800px) {
  .hero-card-front {
    transform: none;
  }

  .hero-card-back {
    display: none;
  }

  .hero-stack {
    min-height: 0;
  }

  .layout-split,
  .layout-quote,
  .layout-band,
  .layout-rail {
    grid-template-columns: 1fr;
  }

  .layout-cards,
  .layout-stats {
    grid-template-columns: 1fr;
  }

  .band-visual {
    min-height: 160px;
    max-width: 100%;
  }

  .offer-card-logo {
    width: 160px;
    height: 56px;
  }

  .offer-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
  }

  .offer-bonus {
    font-size: 1rem;
  }

  .decorative-wrap {
    max-width: 100%;
    overflow: hidden;
  }

  .decorative-img {
    max-width: 100%;
    width: 100%;
    height: auto;
    max-height: 220px;
  }
}

@media (max-width: 375px) {
  .offers-section,
  .info-section,
  .hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .decorative-img {
    max-height: 180px;
  }

  .offer-card-logo {
    width: 148px;
    height: 52px;
  }

  .offer-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
  }
}
