/* AlexMining – White theme, tech layers, depth & hierarchy */
:root {
  --bg: #ffffff;
  --bg-elevated: #f8faf8;
  --bg-card: #ffffff;
  --bg-alt: #f2f6f3;
  --text: #0f1419;
  --text-muted: #525252;
  --accent: #1b9a20;
  --accent-mid: #2e7d32;
  --accent-soft: #38e83f;
  --accent-light: #a0d6a2;
  --border: rgba(0, 0, 0, 0.08);
  --font: "DM Sans", system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 16px;
  --container: min(1120px, 100% - 2rem);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-card-hover: 0 12px 32px rgba(27, 154, 32, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
}

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

html {
  scroll-behavior: smooth;
}

/* Scroll-triggered animations – stronger */
.animate-ready .hero-inner,
.animate-ready .section-title,
.animate-ready .subsection-title,
.animate-ready .section-label,
.animate-ready .prose,
.animate-ready .section-with-image,
.animate-ready .cards,
.animate-ready .team-grid,
.animate-ready .pill-list,
.animate-ready .vision-statement,
.animate-ready .cta-title,
.animate-ready .cta-subtitle,
.animate-ready .hero-actions {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-ready.animate-in .hero-inner,
.animate-ready.animate-in .section-title,
.animate-ready.animate-in .subsection-title,
.animate-ready.animate-in .section-label,
.animate-ready.animate-in .prose,
.animate-ready.animate-in .section-with-image,
.animate-ready.animate-in .cards,
.animate-ready.animate-in .team-grid,
.animate-ready.animate-in .pill-list,
.animate-ready.animate-in .vision-statement,
.animate-ready.animate-in .cta-title,
.animate-ready.animate-in .cta-subtitle,
.animate-ready.animate-in .hero-actions {
  opacity: 1;
  transform: translateY(0);
}

.animate-ready.animate-in .section-label { transition-delay: 0.05s; }
.animate-ready.animate-in .section-title { transition-delay: 0.1s; }
.animate-ready.animate-in .subsection-title { transition-delay: 0.15s; }
.animate-ready.animate-in .prose { transition-delay: 0.2s; }
.animate-ready.animate-in .section-with-image { transition-delay: 0.1s; }
.animate-ready.animate-in .cards { transition-delay: 0.15s; }
.animate-ready.animate-in .cards .card { opacity: 0; transform: translateY(28px); transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1); }
.animate-ready.animate-in .cards .card:nth-child(1) { transition-delay: 0.28s; }
.animate-ready.animate-in .cards .card:nth-child(2) { transition-delay: 0.36s; }
.animate-ready.animate-in .cards .card:nth-child(3) { transition-delay: 0.44s; }
.animate-ready.animate-in .cards .card:nth-child(4) { transition-delay: 0.52s; }
.animate-ready.animate-in .cards-three .card:nth-child(1) { transition-delay: 0.28s; }
.animate-ready.animate-in .cards-three .card:nth-child(2) { transition-delay: 0.36s; }
.animate-ready.animate-in .cards-three .card:nth-child(3) { transition-delay: 0.44s; }
.animate-ready.animate-in .cards .card,
.animate-ready.animate-in .cards-three .card { opacity: 1; transform: translateY(0); }

.animate-ready.animate-in .team-grid { opacity: 1; transform: translateY(0); transition-delay: 0.12s; }
.animate-ready .team-grid .team-card { opacity: 0; transform: translateY(28px); transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1); }
.animate-ready.animate-in .team-grid .team-card:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.22s; }
.animate-ready.animate-in .team-grid .team-card:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.32s; }
.animate-ready.animate-in .team-grid .team-card:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.42s; }
.animate-ready.animate-in .team-grid .team-card:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.52s; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-image:
    linear-gradient(rgba(27, 154, 32, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 154, 32, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.container {
  width: var(--container);
  margin-inline: auto;
  padding-inline: 1rem;
}

/* Header – white */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.5rem;
  min-height: 56px;
}

.logo {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
  line-height: 0;
}

.logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  object-position: left center;
}

@media (min-width: 769px) {
  .logo img {
    height: 56px;
  }
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.75rem;
}

.nav-list a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9375rem;
}

.nav-list a:hover {
  color: var(--text);
}

.nav-list a.is-active {
  color: var(--accent);
  font-weight: 600;
  position: relative;
}

.nav-list a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  border-radius: 1px;
  animation: nav-underline 0.3s ease;
}

@keyframes nav-underline {
  from { opacity: 0; transform: scaleX(0.8); }
  to { opacity: 1; transform: scaleX(1); }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

@media (max-width: 768px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    display: none;
  }

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

  .nav-list {
    flex-direction: column;
    gap: 0.5rem;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (min-width: 769px) {
  .nav {
    display: block;
  }
}

/* Hero full-screen carousel */
.hero {
  position: relative;
  padding: 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-fullscreen {
  min-height: 100vh;
  height: 100vh;
}

.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  z-index: 0;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide-bg .hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
  transition: transform 10s ease-out;
}

/* 第一张背景图：未加 hero-zoom-started 时保持 scale(1)，加后由 JS 触发 transition 到 1.2，切回时也保持 1.2 */
.hero-slide.hero-slide-initial.is-active:not(.hero-zoom-started) .hero-slide-bg .hero-banner-img {
  transform: scale(1);
}
.hero-slide.hero-slide-initial.is-active.hero-zoom-started .hero-slide-bg .hero-banner-img {
  transform: scale(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* 中间偏暗，保证标题区域对比度 */
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.5) 45%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0.4) 100%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(3rem, 8vw, 5rem) 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}

.hero-slide-copy {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: var(--container);
  padding-inline: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.hero-slide-copy.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Hero copy entrance animation when slide becomes active */
.hero-slide-copy .hero-title {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.1s, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}

.hero-slide-copy .hero-subtitle {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.25s, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}

.hero-slide-copy .hero-actions {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.4s, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.4s;
}

.hero-slide-copy.is-active .hero-title,
.hero-slide-copy.is-active .hero-subtitle,
.hero-slide-copy.is-active .hero-actions {
  opacity: 1;
  transform: translateY(0);
}

/* 首屏文案：一进入就播放入场动画（放在 .is-active 后，优先于上面的 opacity:1） */
.hero-slide-copy.hero-copy-initial.is-active .hero-title {
  opacity: 0;
  transform: translateY(28px);
  animation: hero-copy-in 0.6s 0.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-slide-copy.hero-copy-initial.is-active .hero-subtitle {
  opacity: 0;
  transform: translateY(20px);
  animation: hero-copy-in 0.6s 0.25s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-slide-copy.hero-copy-initial.is-active .hero-actions {
  opacity: 0;
  transform: translateY(16px);
  animation: hero-copy-in 0.5s 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes hero-copy-in {
  to { opacity: 1; transform: translateY(0); }
}

.hero-slide.is-active .hero-slide-bg .hero-banner-img {
  transform: scale(1.1);
}

.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.75rem;
  padding: 0.5rem;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--accent-mid);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.hero-dot:hover {
  background: rgba(27, 154, 32, 0.4);
}

.hero-dot.is-active {
  background: var(--accent);
  transform: scale(1.2);
}

.hero-title {
  font-size: clamp(1.875rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 1rem;
  max-width: 20ch;
  margin-inline: auto;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.9),
    0 2px 8px rgba(0, 0, 0, 0.7),
    0 4px 24px rgba(0, 0, 0, 0.5),
    0 0 1px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: rgba(255, 255, 255, 0.95);
  max-width: 52ch;
  margin: 0 auto 2rem;
  line-height: 1.65;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.85),
    0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Hero 内按钮在深色蒙版上需浅色 */
.hero .btn-secondary {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}
.hero .btn-secondary:hover {
  border-color: var(--accent-soft);
  color: var(--accent-soft);
  background: rgba(255, 255, 255, 0.08);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  color: #0a0a0a;
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-light), var(--accent-soft));
  color: #0a0a0a;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent-mid);
}

/* Sections – hierarchy & layers */
.section {
  padding: clamp(3rem, 6vw, 5.5rem) 0;
  position: relative;
}

.section-alt {
  background: var(--bg-alt);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  background-image: none;
}

.section-dark {
  background: linear-gradient(180deg, #0d1f0e 0%, #0f2612 50%, #0a1810 100%);
  color: #e5e5e5;
}

.section-dark .section-title,
.section-dark .subsection-title,
.section-dark .section-label,
.section-dark .section-lead,
.section-dark .card-title,
.section-dark .prose p,
.section-dark .card-desc,
.section-dark .card-list,
.section-dark .card-note {
  color: inherit;
}

.section-dark .section-title { color: #fff; }
.section-dark .section-label { color: var(--accent-soft); }
.section-dark .subsection-title,
.section-dark .section-lead,
.section-dark .text-muted { color: #b0b0b0; }
.section-dark .card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-md);
}
.section-dark .card-accent {
  border-color: rgba(56, 232, 63, 0.25);
  background: rgba(27, 154, 32, 0.08);
}
.section-dark .card-accent .card-title { color: var(--accent-soft); }

.section-dark .section-title::after {
  background: linear-gradient(90deg, var(--accent-soft), var(--accent-light));
}

.section-dark .prose strong {
  color: var(--accent-light);
}

.section-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

.section-title {
  font-size: clamp(1.625rem, 3.5vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  margin-top: 0.75rem;
}

.subsection-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.prose {
  max-width: 65ch;
}

.prose p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose strong {
  color: var(--accent-mid);
}

/* Section with image (About, Infrastructure, Sustainability) */
.section-with-image {
  display: grid;
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .section-with-image {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .section-with-image-reverse .section-content {
    order: 2;
  }

  .section-with-image-reverse .section-figure {
    order: 1;
  }
}

.section-figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.section-figure img {
  width: 100%;
  height: auto;
}

.section-banner {
  margin: 0 0 2.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.section-banner img {
  width: 100%;
  height: auto;
}

/* Our Team */
.section-team .subsection-title {
  margin-bottom: 2rem;
}

.team-grid {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (min-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.team-card {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(27, 154, 32, 0.18), 0 8px 20px rgba(0, 0, 0, 0.08);
}

.team-avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(27, 154, 32, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  color: var(--text);
}

.team-title {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

/* Cards */
.cards {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.cards-three {
  margin-top: 2rem;
}

@media (min-width: 900px) {
  .cards-three {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), var(--accent-soft));
  border-radius: 4px 0 0 4px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(27, 154, 32, 0.18), 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: rgba(27, 154, 32, 0.25);
}

.card:hover::before {
  opacity: 1;
}

.card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.card-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
  line-height: 1.55;
}

.card-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.card-list li {
  margin-bottom: 0.35rem;
}

.card-note {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
}

.card-accent::before {
  opacity: 1;
  background: linear-gradient(180deg, var(--accent-soft), var(--accent-light));
}

.card-accent {
  border-color: rgba(27, 154, 32, 0.25);
  background: linear-gradient(135deg, #ffffff 0%, #f8fcf8 100%);
}

.card-accent .card-title {
  color: var(--accent-mid);
}

/* Region list */
.region-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.region-list li {
  color: var(--text-muted);
}

.region-list li::before {
  content: "•";
  color: var(--accent);
  margin-right: 0.5rem;
}

/* Feature list */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.feature-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-muted);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.section-lead {
  color: var(--text-muted);
  margin: 0 0 1rem;
  max-width: 55ch;
}

/* Why AlexMining pills */
.pill-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pill-list li {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.6rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.pill-list li:hover {
  border-color: rgba(27, 154, 32, 0.4);
  color: var(--accent-mid);
  box-shadow: 0 2px 8px rgba(27, 154, 32, 0.12);
}

/* Vision */
.vision-statement {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 1rem;
  max-width: 50ch;
}

.section-vision .prose {
  margin-top: 0.5rem;
}

/* CTA – layered block */
.section-cta-block {
  background: linear-gradient(135deg, #0d1f0e 0%, #0f2612 50%, #0a1810 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.section-cta-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(56, 232, 63, 0.15) 0%, transparent 50%),
    linear-gradient(rgba(27, 154, 32, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 154, 32, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
  pointer-events: none;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.section-cta-block .cta-title {
  color: #fff;
  font-size: clamp(1.625rem, 3.5vw, 2.25rem);
  letter-spacing: -0.02em;
}

.section-cta-block .cta-subtitle {
  color: #b0b0b0;
  max-width: 48ch;
  margin: 0 auto 2rem;
}

.section-cta-block .btn-primary {
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  color: #0a0a0a;
}

.section-cta-block .btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-light), var(--accent-soft));
  color: #0a0a0a;
}

.section-cta-block .btn-secondary {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.section-cta-block .btn-secondary:hover {
  border-color: var(--accent-soft);
  color: var(--accent-soft);
}

/* Footer */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.footer-copy {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

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

.footer-disclaimer {
  font-size: 0.8125rem;
  color: var(--text-muted);
  opacity: 0.85;
  max-width: 65ch;
  margin: 0;
  line-height: 1.55;
}

/* Legal pages (Compliance, Privacy, Terms) */
.legal-main {
  padding: clamp(3rem, 8vw, 5rem) 0;
  min-height: 60vh;
}

.legal-container {
  max-width: 720px;
  margin-inline: auto;
}

/* Breadcrumb */
.breadcrumb {
  margin-bottom: 1.25rem;
}

.breadcrumb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb-list li:not(:last-child)::after {
  content: "/";
  color: var(--text-muted);
  opacity: 0.7;
  font-weight: 400;
}

.breadcrumb-list a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb-list a:hover {
  color: var(--accent-mid);
}

.breadcrumb-list [aria-current="page"] {
  color: var(--text);
  font-weight: 500;
}

.legal-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.legal-updated {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
}

.legal-content {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
}

.legal-lead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
  line-height: 1.65;
}

.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin: 2rem 0 0.75rem;
  padding-top: 0.5rem;
}

.legal-content h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
}

.legal-content h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  margin: 1.5rem 0 0.5rem;
}

.legal-content p {
  margin: 0 0 1rem;
}

.legal-content ul {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.35rem;
}

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: var(--accent-mid);
}
