:root {
  --bg: #0a0f1c;
  --card: #171f33;
  --ice: #3de8ff;
  --amber: #ffb021;
  --violet: #9f85ff;
  --text: #c7d6f0;
  --muted: #8a9bb8;
  --pad: clamp(1.25rem, 4vw, 2.75rem);
  --radius: 18px;
  font-family: "SF Pro Text", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(1200px 600px at 10% -10%, #1a2744 0%, var(--bg) 55%);
  color: var(--text);
  line-height: 1.55;
}

.shell {
  display: grid;
  grid-template-columns: minmax(200px, 240px) 1fr;
  min-height: 100vh;
}

.side-panel {
  position: sticky;
  top: 0;
  align-self: start;
  min-height: 100vh;
  padding: var(--pad);
  border-right: 1px solid rgba(61, 232, 255, 0.15);
  background: rgba(10, 15, 28, 0.92);
  backdrop-filter: blur(12px);
}

.side-brand {
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ice);
  margin: 0 0 1.5rem;
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.side-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.35rem 0;
  border-left: 2px solid transparent;
  padding-left: 0.75rem;
  transition: color 0.2s, border-color 0.2s;
}

.side-nav a:hover,
.side-nav a:focus-visible {
  color: var(--ice);
  border-color: var(--ice);
}

.main-column {
  padding: var(--pad);
  max-width: 920px;
}

.hero.collage-overlap {
  margin-bottom: 3rem;
}

.hero-collage {
  position: relative;
  min-height: 280px;
  margin-bottom: 1.5rem;
}

.hero-img {
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.hero-img.primary {
  width: 100%;
  max-height: 420px;
  display: block;
}

.hero-img.overlap-a,
.hero-img.overlap-b {
  position: absolute;
  width: clamp(120px, 28vw, 200px);
  height: clamp(120px, 28vw, 200px);
  border: 3px solid var(--card);
}

.hero-img.overlap-a {
  right: 4%;
  bottom: -12%;
}

.hero-img.overlap-b {
  left: 6%;
  bottom: 8%;
}

.hero-copy h1 {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  margin: 0 0 0.75rem;
  line-height: 1.15;
}

.hero-copy h1 span { color: var(--ice); }

.tagline {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 38rem;
  margin: 0;
}

.section {
  margin-bottom: 3.5rem;
}

.section-intro h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}

.section-intro.align-right {
  text-align: right;
  margin-left: auto;
  max-width: 28rem;
}

.section-intro p {
  color: var(--muted);
  margin: 0;
}

.numbered-steps .steps {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  counter-reset: step;
}

.numbered-steps li {
  counter-increment: step;
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.25rem 3.5rem;
  margin-bottom: 1rem;
  position: relative;
  border: 1px solid rgba(255, 176, 33, 0.12);
}

.numbered-steps li::before {
  content: counter(step);
  position: absolute;
  left: 1.1rem;
  top: 1.15rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ice), var(--violet));
  color: var(--bg);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.numbered-steps h3 {
  margin: 0 0 0.35rem;
  color: var(--amber);
}

.numbered-steps p { margin: 0; }

.carousel {
  position: relative;
  margin-top: 1.5rem;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
}

.carousel-slide {
  flex: 0 0 min(85%, 520px);
  scroll-snap-align: start;
  margin: 0;
}

.carousel-slide img {
  width: 100%;
  border-radius: var(--radius);
  display: block;
  border: 1px solid rgba(61, 232, 255, 0.2);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  border: none;
  background: rgba(10, 15, 28, 0.85);
  color: var(--ice);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.carousel-btn.prev { left: 0.25rem; }
.carousel-btn.next { right: 0.25rem; }

.footer-sheet {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid rgba(199, 214, 240, 0.08);
}

.legal-block {
  margin-bottom: 1.75rem;
}

.legal-block h2 {
  margin-top: 0;
  color: var(--ice);
  font-size: 1.25rem;
}

.legal-block a { color: var(--amber); }

.legal-meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 768px) {
  .shell {
    grid-template-columns: 1fr;
  }
  .side-panel {
    position: relative;
    min-height: auto;
    border-right: none;
    border-bottom: 1px solid rgba(61, 232, 255, 0.15);
  }
  .side-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
  }
  .side-nav a {
    border-left: none;
    padding-left: 0;
  }
  .section-intro.align-right { text-align: left; }
  .hero-img.overlap-a,
  .hero-img.overlap-b { display: none; }
}
