:root {
  --bg: #E5E9F0;
  --surface: #ECEFF4;
  --text: #2E3440;
  --muted: #4C566A;
  --primary: #5E81AC;
  --secondary: #81A1C1;
  --accent: #BF616A;
  --border: rgba(46,52,64,0.1);
  --font-serif: Palatino Linotype, Palatino, Book Antiqua, Georgia, Times New Roman, serif;
  --font-sans: Gill Sans, Gill Sans MT, Trebuchet MS, Segoe UI, Helvetica Neue, Helvetica, Arial, sans-serif;
  --university: "university";
  --history: "history";
  --library: "library";
  --classic: "classic";
  --intellectual: "intellectual";
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background-color: var(--bg);
  background-image:
    linear-gradient(165deg, rgba(46, 52, 64, 0.08) 0%, transparent 42%, rgba(94, 129, 172, 0.12) 100%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(46, 52, 64, 0.015) 2px,
      rgba(46, 52, 64, 0.015) 3px
    );
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.65;
  overflow-x: hidden;
}

main {
  flex: 1 0 auto;
}

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

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

.university {
  font-family: var(--font-serif);
  letter-spacing: 0.02em;
}

.history {
  border-image: linear-gradient(90deg, var(--accent), var(--primary), var(--accent)) 1;
}

.library {
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(94, 129, 172, 0.18), transparent 55%),
    linear-gradient(180deg, rgba(46, 52, 64, 0.04), transparent);
}

.classic {
  box-shadow:
    inset 0 0 0 1px rgba(46, 52, 64, 0.12),
    inset 0 0 0 4px rgba(236, 239, 244, 0.5),
    inset 0 0 0 5px rgba(191, 97, 106, 0.35);
}

.intellectual {
  font-variant: small-caps;
  letter-spacing: 0.08em;
}

.disclosure-wrap {
  padding: 10px 16px 0;
  text-align: center;
}

.disclosure-badge {
  display: block;
  max-width: fit-content;
  margin: 8px auto;
  padding: 5px 18px;
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  background: rgba(191, 97, 106, 0.15);
  border: 1px solid rgba(191, 97, 106, 0.3);
  border-radius: 4px;
  line-height: 1.4;
}

.trust-line {
  display: block;
  max-width: fit-content;
  margin: 8px auto;
  padding: 5px 18px;
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  background: rgba(191, 97, 106, 0.15);
  border: 1px solid rgba(191, 97, 106, 0.3);
  border-radius: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-header {
  position: static;
  background-color: var(--text);
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 3px,
    rgba(236, 239, 244, 0.03) 3px,
    rgba(236, 239, 244, 0.03) 4px
  );
  border-bottom: 2px solid var(--accent);
  padding: 24px 0;
  min-height: 80px;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-link img {
  max-height: 36px;
  width: auto;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(236, 239, 244, 0.25);
  color: var(--surface);
  width: 44px;
  height: 44px;
  border-radius: 4px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: 1002;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--surface);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--surface);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 20px;
  transition: background 0.2s ease;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--surface);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(46, 52, 64, 0.55);
  z-index: 1000;
}

.nav-overlay.is-open {
  display: block;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100vh;
    background: var(--text);
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 88px 28px 32px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1001;
    overflow-y: auto;
  }

  .nav-links.is-open {
    transform: translateX(0);
  }

  .nav-links a {
    width: 100%;
  }
}

.hero {
  position: relative;
  min-height: 350px;
  background:
    linear-gradient(160deg, rgba(46, 52, 64, 0.92) 0%, rgba(46, 52, 64, 0.78) 55%, rgba(94, 129, 172, 0.45) 100%),
    radial-gradient(circle at 70% 40%, rgba(191, 97, 106, 0.2), transparent 50%);
  color: var(--surface);
  overflow: hidden;
  padding: 48px 24px 56px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  opacity: 0.35;
  pointer-events: none;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-collage {
  position: relative;
  height: 220px;
  max-width: 520px;
  margin: 0 auto 28px;
}

.hero-collage img {
  position: absolute;
  object-fit: cover;
  border: 3px solid rgba(236, 239, 244, 0.35);
  box-shadow: 0 12px 28px rgba(46, 52, 64, 0.45);
  max-width: 500px;
  max-height: 320px;
}

.hero-collage .decor-a {
  width: 200px;
  height: 200px;
  top: 10px;
  left: 40px;
  transform: rotate(-5deg);
  z-index: 1;
}

.hero-collage .decor-b {
  width: 160px;
  height: 160px;
  top: 0;
  right: 60px;
  transform: rotate(3deg);
  z-index: 2;
}

.hero-collage .decor-c {
  width: 140px;
  height: 140px;
  bottom: 0;
  left: 180px;
  transform: rotate(-2deg);
  z-index: 3;
}

.hero-title {
  position: relative;
  z-index: 4;
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 16px rgba(46, 52, 64, 0.85), 0 1px 2px rgba(46, 52, 64, 0.9);
  margin-top: -40px;
  margin-bottom: 12px;
  line-height: 1.2;
}

.hero-sub {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  color: rgba(236, 239, 244, 0.88);
  font-size: 1.05rem;
}

@media (max-width: 700px) {
  .hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 380px;
  }

  .hero-collage {
    position: absolute;
    inset: 0;
    max-width: none;
    height: 100%;
    margin: 0;
  }

  .hero-collage .decor-a {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transform: none;
    border: none;
    object-fit: cover;
    z-index: 0;
  }

  .hero-collage .decor-b,
  .hero-collage .decor-c {
    display: none;
  }

  .hero-inner {
    position: relative;
    z-index: 2;
  }

  .hero-title {
    margin-top: 0;
  }

  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(46, 52, 64, 0.72);
    z-index: 1;
  }
}

.section {
  padding: 56px 24px;
  position: relative;
}

.section::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

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

.section h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  margin-bottom: 16px;
  color: var(--text);
}

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

.offers-section {
  background-image:
    linear-gradient(180deg, rgba(46, 52, 64, 0.82), rgba(46, 52, 64, 0.88)),
    url("/images/offers_bg/offers_bg.webp");
  background-size: cover;
  background-position: center;
  padding: 64px 24px;
}

.offers-section h2 {
  color: var(--surface);
  text-align: center;
  margin-bottom: 8px;
}

.offers-lead {
  text-align: center;
  color: rgba(236, 239, 244, 0.8);
  margin-bottom: 32px;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.offer-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease;
}

.offer-card:hover {
  transform: translateY(-4px);
}

.offer-logo {
  width: 160px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 16px;
  flex-shrink: 0;
}

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

.offer-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.offer-bonus {
  font-size: clamp(0.82rem, 2.4vw, 1rem);
  font-weight: 600;
  color: #2d6a4f;
  margin-bottom: 4px;
  max-width: 100%;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.offer-terms {
  font-size: 11px;
  color: #888;
  margin-bottom: 10px;
  line-height: 1.4;
}

.offer-desc {
  font-size: 13px;
  color: #777;
  margin-bottom: 16px;
}

.offer-cta {
  display: inline-block;
  margin-top: auto;
  background: #2d6a4f;
  color: #fff !important;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: background 0.2s ease;
}

.offer-cta:hover {
  background: #1b4332;
  color: #fff !important;
}

.info-layout-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.info-layout-split .ornate-panel {
  padding: 28px;
  background: var(--surface);
}

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

.info-layout-list li {
  padding: 12px 16px;
  background: var(--surface);
  border-left: 3px solid var(--primary);
  color: var(--muted);
}

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

.info-mini-card {
  padding: 20px;
  background: var(--surface);
  border-top: 3px solid var(--accent);
}

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

.info-layout-quote {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: start;
}

.quote-mark {
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 0.8;
  color: var(--accent);
  opacity: 0.5;
}

.info-layout-zebra {
  background: var(--surface);
  padding: 32px;
  position: relative;
}

.info-layout-zebra::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary), var(--accent));
}

.info-layout-steps {
  counter-reset: step;
  list-style: none;
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.info-layout-steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  color: var(--muted);
}

.info-layout-steps li::before {
  content: counter(step);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-serif);
}

.info-layout-two-col {
  columns: 2;
  column-gap: 36px;
}

.info-layout-two-col p {
  break-inside: avoid;
}

.info-layout-band {
  background:
    linear-gradient(90deg, rgba(94, 129, 172, 0.15), rgba(191, 97, 106, 0.1)),
    var(--surface);
  padding: 36px;
  border: 1px solid var(--border);
}

.info-layout-aside {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
}

.info-aside-box {
  background: var(--text);
  color: var(--surface);
  padding: 24px;
}

.info-aside-box h3 {
  font-family: var(--font-serif);
  margin-bottom: 10px;
  color: var(--secondary);
}

.info-aside-box p {
  color: rgba(236, 239, 244, 0.85);
  font-size: 0.95rem;
}

.info-layout-timeline {
  position: relative;
  padding-left: 28px;
  margin-top: 16px;
}

.info-layout-timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--primary);
}

.info-layout-timeline .tl-item {
  position: relative;
  margin-bottom: 18px;
  padding-left: 12px;
  color: var(--muted);
}

.info-layout-timeline .tl-item::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--surface);
}

.topic-cta {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background: var(--primary);
  color: var(--surface) !important;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.topic-cta:hover {
  background: var(--accent);
  color: var(--surface) !important;
  transform: translateY(-2px);
}

@media (max-width: 800px) {
  .info-layout-split,
  .info-layout-aside,
  .info-layout-quote {
    grid-template-columns: 1fr;
  }

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

  .info-layout-two-col {
    columns: 1;
  }

  .quote-mark {
    display: none;
  }

  .offer-logo {
    width: 140px;
    height: 88px;
  }

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

  .mosaic-band {
    flex-direction: column;
    max-width: 100%;
    overflow: hidden;
  }

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

  .topic-page .decor-inline {
    max-width: 100%;
    overflow: hidden;
  }

  .topic-page .decor-inline img {
    max-width: 100%;
    width: 100%;
    height: auto;
    max-height: 240px;
  }

  .split-hero-topic .split-visual {
    max-width: 100%;
    background-size: cover;
  }

  .hero-collage {
    max-width: 100%;
    overflow: hidden;
  }
}

.site-footer {
  background: var(--text);
  color: rgba(236, 239, 244, 0.85);
  padding: 48px 24px 32px;
  position: relative;
  flex-shrink: 0;
  margin-top: auto;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 40px,
    rgba(236, 239, 244, 0.02) 40px,
    rgba(236, 239, 244, 0.02) 41px
  );
  pointer-events: none;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.footer-brand img {
  max-height: 36px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  list-style: none;
  margin-bottom: 28px;
}

.footer-links a {
  color: var(--secondary);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 28px;
}

.footer-badges a,
.footer-badges span {
  display: inline-flex;
}

.footer-badges img {
  height: 36px;
  width: auto;
  opacity: 0.9;
}

.footer-requisites {
  font-size: 12px;
  color: rgba(236, 239, 244, 0.55);
  margin-bottom: 20px;
  line-height: 1.6;
}

.footer-ch-disclosure {
  font-size: 12px;
  color: rgba(236, 239, 244, 0.55);
  line-height: 1.7;
  max-width: 900px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(236, 239, 244, 0.1);
}

.age-overlay,
.cookie-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 52, 64, 0.75);
  padding: 24px;
}

.age-overlay[hidden],
.cookie-overlay[hidden] {
  display: none;
}

.age-modal,
.cookie-modal {
  background: var(--surface);
  max-width: 440px;
  width: 100%;
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 48px rgba(46, 52, 64, 0.35);
}

.age-modal h2,
.cookie-modal h2 {
  font-family: var(--font-serif);
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.age-modal p,
.cookie-modal p {
  color: var(--muted);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

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

.btn-confirm,
.btn-decline,
.btn-accept,
.btn-reject {
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  border-radius: 4px;
  font-family: var(--font-sans);
}

.btn-confirm,
.btn-accept {
  background: var(--primary);
  color: var(--surface);
}

.btn-decline,
.btn-reject {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}

.page-hero {
  padding: 40px 24px;
  background:
    linear-gradient(135deg, rgba(46, 52, 64, 0.9), rgba(94, 129, 172, 0.55)),
    var(--text);
  color: var(--surface);
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  max-width: 900px;
  margin: 0 auto;
}

.page-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.page-content h2 {
  font-family: var(--font-serif);
  margin: 28px 0 12px;
  font-size: 1.35rem;
}

.page-content h3 {
  font-family: var(--font-serif);
  margin: 20px 0 10px;
  font-size: 1.1rem;
}

.page-content p,
.page-content li {
  color: var(--muted);
  margin-bottom: 12px;
}

.page-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.contact-form {
  margin-top: 32px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  max-width: 560px;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  margin-bottom: 8px;
  border-radius: 4px;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-error {
  color: var(--accent);
  font-size: 13px;
  margin-bottom: 12px;
  display: none;
}

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

.form-success {
  display: none;
  padding: 24px;
  background: rgba(94, 129, 172, 0.15);
  border: 1px solid rgba(94, 129, 172, 0.3);
  color: var(--text);
  margin-top: 24px;
}

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

.contact-form.is-hidden {
  display: none;
}

.btn-submit {
  background: var(--primary);
  color: var(--surface);
  border: none;
  padding: 12px 28px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
  font-family: var(--font-sans);
  margin-top: 8px;
}

.btn-submit:hover {
  background: var(--accent);
}

.topic-page .decor-inline {
  max-width: 500px;
  max-height: 320px;
  margin: 24px auto;
  overflow: hidden;
}

.topic-page .decor-inline img {
  max-width: 500px;
  max-height: 320px;
  width: 100%;
  object-fit: cover;
}

.topic-rail {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 36px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.topic-rail-side {
  background: var(--surface);
  padding: 24px;
  align-self: start;
  position: sticky;
  top: 24px;
}

.topic-rail-side .side-img {
  max-width: 100%;
  max-height: 220px;
  object-fit: cover;
  margin-bottom: 16px;
}

.stat-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto 40px;
  padding: 0 24px;
}

.stat-item {
  background: var(--surface);
  padding: 20px;
  text-align: center;
  border-bottom: 3px solid var(--primary);
}

.stat-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 4px;
}

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

.pull-quote {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--text);
  border-left: 4px solid var(--accent);
  padding: 12px 0 12px 24px;
  margin: 28px 0;
}

.split-hero-topic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 280px;
}

.split-hero-topic .split-text {
  background: var(--text);
  color: var(--surface);
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-hero-topic .split-text h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 12px;
}

.split-hero-topic .split-visual {
  background-size: cover;
  background-position: center;
  min-height: 220px;
}

.mosaic-band {
  display: flex;
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto 32px;
  padding: 0 24px;
  overflow: hidden;
}

.mosaic-band img {
  max-width: 500px;
  max-height: 280px;
  object-fit: cover;
  flex: 1;
}

@media (max-width: 800px) {
  .topic-rail,
  .split-hero-topic,
  .stat-band {
    grid-template-columns: 1fr;
  }

  .topic-rail-side {
    position: static;
  }

  .mosaic-band {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .mosaic-band img {
    flex: none;
    width: 100%;
    max-width: 100%;
    max-height: 220px;
  }
}

@media (max-width: 375px) {
  .offer-logo {
    width: 120px;
    height: 76px;
  }

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

  .disclosure-badge,
  .trust-line {
    max-width: 100%;
    font-size: 10px;
    padding: 5px 10px;
  }

  .hero-collage .decor-a {
    width: 100%;
    max-width: 100%;
  }
}

.go-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: 24px;
}

.go-box {
  max-width: 480px;
  text-align: center;
  background: var(--surface);
  padding: 40px 28px;
  border: 1px solid var(--border);
}

.go-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  margin: 0 auto 20px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.go-box p {
  color: var(--muted);
  margin-bottom: 10px;
}

.go-compliance {
  margin-top: 24px;
  font-size: 12px;
  color: var(--muted);
}

.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
}

.error-page h1 {
  font-family: var(--font-serif);
  font-size: 3rem;
  margin-bottom: 12px;
}

.error-page a {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background: var(--primary);
  color: var(--surface) !important;
  border-radius: 4px;
  font-weight: 600;
}

@keyframes fadeRise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes inkBleed {
  from {
    letter-spacing: 0.2em;
    opacity: 0;
  }
  to {
    letter-spacing: 0.02em;
    opacity: 1;
  }
}

@keyframes grainPulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.45;
  }
}

.hero-title {
  animation: inkBleed 1s ease-out both;
}

.hero-sub {
  animation: fadeRise 0.8s ease-out 0.3s both;
}

.hero::before {
  animation: grainPulse 6s ease-in-out infinite;
}

.offer-card {
  animation: fadeRise 0.6s ease-out both;
}

.offer-card:nth-child(2) {
  animation-delay: 0.1s;
}

.offer-card:nth-child(3) {
  animation-delay: 0.2s;
}
