:root {
  --bg: #010B13;
  --surface: #041C2C;
  --text: #E0FBFC;
  --muted: #98C1D9;
  --primary: #3D5A80;
  --secondary: #293241;
  --accent: #EE6C4D;
  --border: rgba(152, 193, 217, 0.1);
  --nav-bg: #041C2C;
  --display: 'Segoe UI', 'Apple Color Emoji', 'Segoe UI Emoji', system-ui, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

body > main {
  flex: 1 0 auto;
}

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

img.offer-card__logo {
  max-width: none;
  width: 100%;
  height: 100%;
}

a {
  color: var(--accent);
  transition: color 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
}

a:hover {
  color: #ff8a6a;
}

.disclosure-banner {
  width: 100%;
  margin: 0;
  padding: 8px 16px;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
  color: #293241;
  background: #E0FBFC;
  border-top: 1px dotted rgba(61, 90, 128, 0.45);
  border-bottom: 1px dotted rgba(61, 90, 128, 0.45);
}

.site-header {
  position: static;
  background: var(--nav-bg);
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
}

.header-row-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 40px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.logo-link {
  display: inline-flex;
  line-height: 0;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo-link:hover {
  transform: scale(1.06);
}

.logo-link img {
  height: 36px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.burger-label {
  display: none;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  cursor: pointer;
}

.burger-label span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.header-row-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-top: 12px;
}

.header-row-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 2px;
  transition: color 0.15s ease, transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.header-row-nav a:hover {
  color: var(--accent);
  transform: scale(1.12);
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(1, 11, 19, 0.94);
  cursor: pointer;
}

.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 48px 24px;
  background: linear-gradient(135deg, #041C2C 0%, #293241 50%, #3D5A80 100%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.nav-drawer a {
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 16px;
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.15s ease;
}

.nav-drawer a:hover {
  color: var(--accent);
  transform: scale(1.15);
}

.drawer-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 2rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 8px;
}

.nav-toggle:checked ~ .nav-overlay {
  display: block;
}

.nav-toggle:checked ~ .nav-drawer {
  opacity: 1;
  visibility: visible;
}

.nav-toggle:checked ~ .header-inner .burger-label span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle:checked ~ .header-inner .burger-label span:nth-child(2) {
  opacity: 0;
}

.nav-toggle:checked ~ .header-inner .burger-label span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 767px) {
  .burger-label {
    display: flex;
  }

  .header-row-nav {
    display: none;
  }
}

.hero {
  min-height: 300px;
  padding: 48px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(238, 108, 77, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 12px,
    rgba(152, 193, 217, 0.03) 12px,
    rgba(152, 193, 217, 0.03) 24px
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero h1 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #E0FBFC, #98C1D9, #EE6C4D, #3D5A80, #E0FBFC);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbow-shift 4s linear infinite;
}

.hero p {
  margin: 0;
  font-size: 1rem;
  color: var(--muted);
  max-width: 560px;
  margin-inline: auto;
}

@keyframes rainbow-shift {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding: 48px 24px;
  }
}

.offers-section {
  padding: 56px 24px;
  background: var(--bg);
  background-image:
    linear-gradient(rgba(152, 193, 217, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(152, 193, 217, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
}

.offers-wrap {
  max-width: 1200px;
  margin: 0 auto;
}

.offers-section__title {
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 900;
  text-align: center;
  margin: 0 0 8px;
  background: linear-gradient(135deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.offers-section__intro {
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
  margin: 0 0 36px;
}

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

.offer-card {
  width: 100%;
  max-width: 360px;
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.offer-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 40px rgba(239, 68, 68, 0.15);
}

.offer-card__logo-wrap {
  width: 200px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  flex-shrink: 0;
}

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

.offer-card__name {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 800;
  color: #fff;
}

.offer-card__bonus-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.offer-card__bonus {
  font-size: 0.875rem;
  color: #fbbf24;
  font-weight: 600;
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

.offer-card__terms {
  font-size: 11px;
  color: #B6C2E2;
}

.offer-card__desc {
  font-size: 12px;
  color: #B6C2E2;
  line-height: 1.5;
  margin: 0;
}

.offer-card__btn {
  display: block;
  width: 100%;
  padding: 12px 20px;
  background: transparent;
  border: 1px solid #3B82F6;
  color: #3B82F6;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin-top: auto;
  font-family: inherit;
}

.offer-card__btn:hover {
  background: #3B82F6;
  color: #0f172a;
  transform: scale(1.05);
}

@media (max-width: 767px) {
  .offer-card__logo-wrap {
    width: 200px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

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

@media (max-width: 480px) {
  .offer-card__logo-wrap {
    width: 180px;
    height: 58px;
  }

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

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

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

.info-section h2 {
  font-family: var(--display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 900;
  margin: 0 0 16px;
  color: var(--text);
}

.info-section p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

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

.layout-1-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.layout-1-card {
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.layout-1-card:hover {
  transform: scale(1.06) rotate(-1deg);
}

.layout-1-card strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), #98C1D9);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}

.layout-1-card span {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

#info-1 {
  background: var(--surface);
}

#info-2 {
  background: repeating-linear-gradient(
    -45deg,
    var(--bg),
    var(--bg) 8px,
    var(--surface) 8px,
    var(--surface) 16px
  );
}

.layout-2 {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  align-items: center;
}

.layout-2-visual {
  aspect-ratio: 1;
  max-width: 220px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary), var(--accent), var(--secondary));
  background-size: 200% 200%;
  animation: rainbow-shift 3s ease infinite;
  transform: perspective(400px) rotateY(-12deg) rotateX(8deg);
  box-shadow: 12px 16px 0 rgba(238, 108, 77, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

#info-3 {
  background: var(--bg);
}

.layout-3 {
  text-align: center;
}

.layout-3-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
}

.layout-3-step {
  flex: 1 1 180px;
  max-width: 220px;
  padding: 20px 16px;
  background: linear-gradient(160deg, var(--surface), var(--secondary));
  border: 2px solid var(--border);
  border-radius: 16px;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.layout-3-step:hover {
  transform: scale(1.08) translateY(-4px);
}

.layout-3-step-num {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
  margin-bottom: 10px;
}

.layout-3-step p {
  font-size: 0.8125rem;
}

#info-4 {
  background: var(--surface);
}

.layout-4-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 24px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.layout-4-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
}

.layout-4-item:nth-child(odd) {
  background: var(--bg);
}

.layout-4-item:nth-child(even) {
  background: repeating-linear-gradient(
    90deg,
    var(--surface),
    var(--surface) 4px,
    rgba(61, 90, 128, 0.15) 4px,
    rgba(61, 90, 128, 0.15) 8px
  );
}

.layout-4-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transform: perspective(200px) rotateX(15deg);
  transition: transform 0.2s ease;
}

.layout-4-item:hover .layout-4-icon {
  transform: perspective(200px) rotateX(0deg) scale(1.15);
}

.layout-4-item strong {
  display: block;
  color: var(--text);
  font-size: 0.9375rem;
  margin-bottom: 2px;
}

.layout-4-item span {
  font-size: 0.8125rem;
  color: var(--muted);
}

#info-5 {
  background: var(--bg);
}

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

.layout-5-quote {
  padding: 28px 32px;
  border-left: 4px solid var(--accent);
  background: linear-gradient(90deg, rgba(238, 108, 77, 0.08), transparent);
  border-radius: 0 16px 16px 0;
}

.layout-5-quote p {
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--text);
}

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

.layout-5-point {
  padding: 16px;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: transform 0.2s ease;
}

.layout-5-point:hover {
  transform: rotate(1deg) scale(1.04);
}

.layout-5-point strong {
  display: block;
  color: var(--accent);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

#info-6 {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}

.layout-6-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.layout-6-badge {
  padding: 20px 12px;
  text-align: center;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 16px;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.2s ease;
}

.layout-6-badge:hover {
  transform: scale(1.1);
  border-color: var(--accent);
}

.layout-6-badge-icon {
  font-size: 2rem;
  margin-bottom: 8px;
  display: block;
  transform: perspective(300px) rotateY(20deg);
}

.layout-6-badge strong {
  display: block;
  font-size: 0.8125rem;
  color: var(--text);
  margin-bottom: 4px;
}

.layout-6-badge span {
  font-size: 0.6875rem;
  color: var(--muted);
}

#info-7 {
  background: var(--bg);
  background-image:
    linear-gradient(45deg, rgba(61, 90, 128, 0.06) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(61, 90, 128, 0.06) 25%, transparent 25%);
  background-size: 24px 24px;
}

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

.layout-7-card {
  padding: 20px;
  background: linear-gradient(145deg, var(--surface), var(--secondary));
  border-radius: 16px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.layout-7-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary), #98C1D9);
}

.layout-7-card:hover {
  transform: translateY(-6px) scale(1.03);
}

.layout-7-card strong {
  display: block;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 8px;
}

.layout-7-card p {
  font-size: 0.8125rem;
}

#info-8 {
  background: var(--surface);
}

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

.layout-8-timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--primary), var(--muted));
}

.layout-8-step {
  position: relative;
  padding-bottom: 24px;
}

.layout-8-step::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(238, 108, 77, 0.25);
}

.layout-8-step strong {
  display: block;
  color: var(--text);
  font-size: 0.9375rem;
  margin-bottom: 4px;
}

.layout-8-step p {
  font-size: 0.8125rem;
}

#info-9 {
  background: var(--bg);
}

.layout-9 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: center;
}

.layout-9-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.layout-9-cube {
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, #98C1D9 100%);
  border-radius: 24px;
  transform: perspective(500px) rotateX(25deg) rotateY(-20deg);
  box-shadow: 20px 24px 0 rgba(61, 90, 128, 0.4);
  animation: float-cube 3s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

@keyframes float-cube {
  0%, 100% { transform: perspective(500px) rotateX(25deg) rotateY(-20deg) translateY(0); }
  50% { transform: perspective(500px) rotateX(25deg) rotateY(-20deg) translateY(-12px); }
}

.layout-9-tips {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.layout-9-tip {
  padding: 12px 16px;
  background: var(--surface);
  border-radius: 10px;
  border-left: 3px solid var(--accent);
  font-size: 0.8125rem;
  color: var(--muted);
  transition: transform 0.15s ease;
}

.layout-9-tip:hover {
  transform: translateX(6px);
}

#info-10 {
  background: linear-gradient(135deg, var(--surface) 0%, var(--bg) 100%);
}

.layout-10-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.layout-10-col h3 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin: 0 0 16px;
}

.layout-10-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.layout-10-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--muted);
  padding: 10px 14px;
  background: rgba(1, 11, 19, 0.4);
  border-radius: 8px;
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.layout-10-list li:hover {
  transform: scale(1.03);
}

.layout-10-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  color: #fff;
  font-weight: 900;
}

@media (max-width: 768px) {
  .layout-1,
  .layout-2,
  .layout-9,
  .layout-10-cols {
    grid-template-columns: 1fr;
  }

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

  .layout-5-points,
  .layout-6-badges,
  .layout-7-cards {
    grid-template-columns: 1fr 1fr;
  }

  .layout-2-visual {
    max-width: 160px;
    margin: 0 auto;
  }

  .layout-9-visual {
    order: -1;
  }
}

@media (max-width: 480px) {
  .layout-1-cards,
  .layout-5-points,
  .layout-6-badges,
  .layout-7-cards {
    grid-template-columns: 1fr;
  }
}

.site-footer {
  flex-shrink: 0;
  margin-top: auto;
  background: var(--secondary);
  border-top: 1px solid var(--border);
  padding: 40px 24px 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.footer-logo img {
  height: 32px;
  width: auto;
  opacity: 0.9;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.8125rem;
  transition: color 0.15s ease;
}

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

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 24px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.footer-badges a,
.footer-badges img {
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-badges a:hover {
  opacity: 1;
  transform: scale(1.06);
}

.footer-badges img {
  height: 36px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.footer-copy {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0;
  opacity: 0.7;
}

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

.page-main h1 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 900;
  margin: 0 0 24px;
  color: var(--text);
}

.page-main h2 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin: 28px 0 12px;
}

.page-main p,
.page-main li {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.page-main ul {
  padding-left: 20px;
  margin: 0 0 16px;
}

.page-main a {
  color: var(--accent);
}

.subpage-header .header-row-nav {
  display: none;
}

.error-page {
  text-align: center;
  padding-top: 80px;
}

.error-page h1 {
  font-size: 5rem;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.error-page a {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.error-page a:hover {
  transform: scale(1.08);
  color: #fff;
}

.contact-form-block {
  margin-top: 32px;
}

.form-success-panel {
  display: none;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
}

.form-success-panel p {
  color: var(--text);
  margin: 0 0 8px;
}

#form-sent:target {
  display: block;
}

#form-sent:target ~ .contact-form {
  display: none;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

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

.contact-form label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  border-radius: 8px;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.field-error {
  display: none;
  font-size: 11px;
  color: var(--accent);
}

.contact-form input:user-invalid:not(:focus) + .field-error,
.contact-form textarea:user-invalid:not(:focus) + .field-error {
  display: block;
}

.form-submit {
  align-self: flex-start;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border: none;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  border-radius: 8px;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-family: inherit;
}

.form-submit:hover {
  transform: scale(1.06);
}
