:root {
  --red: #c8102e;
  --red-deep: #8e0c20;
  --red-ink: #5c0815;
  --red-soft: #f7e9ec;
  --ink: #141414;
  --ink-2: #2c2c2c;
  --muted: #6a655e;
  --paper: #f3efe8;
  --paper-2: #eae4da;
  --white: #fffcf8;
  --line: rgba(20, 20, 20, 0.1);
  --gold: #b8892a;
  --shadow: 0 24px 60px rgba(20, 20, 20, 0.12);
  --shadow-soft: 0 10px 30px rgba(20, 20, 20, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --wrap: 1180px;
  --header: 76px;
  --font: "Source Sans 3", system-ui, -apple-system, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 500px at 8% -10%, rgba(200, 16, 46, 0.08), transparent 55%),
    var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

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

a:hover {
  color: var(--red-deep);
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 1000;
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin: 0 auto;
}

.masthead-stripe {
  height: 5px;
  background: linear-gradient(90deg, var(--red-deep), var(--red) 40%, #e23a4f 70%, var(--gold));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 252, 248, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(20, 20, 20, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  flex-shrink: 0;
}

.brand img {
  display: block;
  width: 158px;
  height: auto;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong {
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--ink);
}

.brand-copy em {
  font-style: normal;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.nav-link {
  color: var(--ink-2);
  font-weight: 600;
  font-size: 0.93rem;
  padding: 8px 12px;
  border-radius: 999px;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--red);
  background: var(--red-soft);
}

.header-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.15;
  color: var(--ink);
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}

.header-cta span {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.header-cta strong {
  font-size: 0.95rem;
}

.header-cta:hover {
  color: var(--red);
  border-color: var(--red);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  transition: 0.2s ease;
}

body.nav-open {
  overflow: hidden;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(200, 16, 46, 0.45), transparent 28%),
    linear-gradient(160deg, #1a0a0d 0%, #3b0d16 42%, #c8102e 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding: 64px 0 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f3c5cc;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(200, 16, 46, 0.28);
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4.4vw, 4.1rem);
  max-width: 14ch;
  margin-bottom: 16px;
}

.hero p.lead {
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.hero-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 28px;
}

.hero-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 600;
}

.hero-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: #fff;
  color: var(--red-deep);
}

.btn-primary:hover {
  background: var(--red-soft);
  color: var(--red-deep);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.hero-cover {
  justify-self: end;
  width: min(320px, 100%);
  transform: rotate(3deg);
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.35));
}

.hero-cover img {
  display: block;
  width: 100%;
  border-radius: 6px;
  border: 6px solid #fff;
}

.stats {
  background: var(--ink);
  color: #fff;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}

.stat {
  padding: 22px 8px;
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--display);
  font-size: 1.45rem;
}

.stat span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.86rem;
}

.section {
  padding: 72px 0;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.guide-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.guide-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--red-soft);
  color: var(--red);
}

.guide-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.guide-card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.98rem;
}

.form-section {
  padding: 24px 0 72px;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: visible;
  padding: 8px 4px 20px;
}

.pay-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.pay-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  text-align: center;
  font-weight: 700;
  font-size: 0.88rem;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.pay-card:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}

.pay-card img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.modules-board {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.modules-board h3 {
  margin: 8px 0 20px;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}

.modules-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 12px;
  justify-content: center;
  margin-bottom: 28px;
}

.modules-row a {
  display: block;
  transition: transform 0.15s ease;
}

.modules-row a:hover {
  transform: translateY(-3px);
}

.partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.partners a {
  display: grid;
  place-items: center;
  min-width: 140px;
  min-height: 92px;
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.partners img {
  max-height: 72px;
  width: auto;
}

.page-hero {
  padding: 48px 0 24px;
}

.page-hero .eyebrow {
  color: var(--red);
}

.btn-solid {
  background: var(--red);
  color: #fff;
}

.btn-solid:hover {
  background: var(--red-deep);
  color: #fff;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 16ch;
}

.page-hero p {
  max-width: 58ch;
  color: var(--muted);
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 28px;
}

.legal-copy p,
.legal-copy li {
  color: var(--ink-2);
}

.legal-copy ul {
  padding-left: 1.2em;
  list-style: disc;
  margin: 0 0 1em;
}

.contact-grid,
.pay-list {
  display: grid;
  gap: 18px;
}

.contact-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.info-list dt {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 16px;
}

.info-list dd {
  margin: 4px 0 0;
  font-weight: 600;
}

.pay-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 20px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.pay-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.pay-item img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.pay-item h2 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.pay-item p {
  margin: 0;
  color: var(--muted);
}

.eu-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin: 24px 0 8px;
}

.eu-logos img {
  max-height: 110px;
  width: auto;
}

.site-footer {
  background: #111;
  color: rgba(255, 255, 255, 0.72);
  padding: 56px 0 28px;
  margin-top: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr 0.9fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 7px rgba(200, 16, 46, 0.25);
  margin-bottom: 16px;
}

.footer-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f3c5cc;
  margin-bottom: 8px;
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
}

.site-footer h2 {
  font-size: 1.7rem;
  max-width: 14ch;
}

.site-footer h3 {
  font-family: var(--font);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a:hover {
  color: #fff;
}

.site-footer li + li {
  margin-top: 8px;
}

.footer-bottom {
  padding-top: 22px;
  font-size: 0.86rem;
}

.footer-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 10px;
}

.footer-partners a {
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 980px) {
  .hero-inner,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats-inner,
  .guide-grid,
  .pay-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-cover {
    justify-self: start;
    max-width: 240px;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(var(--header) + 5px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-block;
  }

  .header-cta {
    display: none;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: calc(100% - 28px);
  }

  .stats-inner,
  .guide-grid,
  .pay-grid {
    grid-template-columns: 1fr;
  }

  .pay-item {
    grid-template-columns: 64px 1fr;
  }

  .section {
    padding: 48px 0;
  }

  .hero-inner {
    padding: 40px 0 36px;
  }
}

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

  .btn,
  .pay-card,
  .modules-row a {
    transition: none;
  }
}
