:root {
  --bg: #05070a;
  --panel: #0f1218;
  --panel-soft: #151a22;
  --text: #f5f7fa;
  --text-dim: #a8b1c3;
  --line: #252d3a;
  --accent: #ffcc00;
  --accent-soft: #ffe066;
  --blue: #1a8fff;
  --ok: #4dd67e;
  --radius: 22px;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: radial-gradient(circle at 15% 10%, #152033 0, transparent 32%),
    radial-gradient(circle at 85% 5%, #39280a 0, transparent 28%),
    var(--bg);
  color: var(--text);
  font-family: "Outfit", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

.bg-glow {
  position: fixed;
  z-index: -2;
  filter: blur(80px);
  opacity: 0.2;
  pointer-events: none;
}

.bg-glow-1 {
  width: 34rem;
  height: 34rem;
  background: #ffcc00;
  top: -9rem;
  left: -8rem;
}

.bg-glow-2 {
  width: 28rem;
  height: 28rem;
  background: #1a8fff;
  bottom: -10rem;
  right: -7rem;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0 0.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
}

.topnav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.topnav a {
  text-decoration: none;
  color: var(--text-dim);
  border: 1px solid var(--line);
  background: rgba(16, 20, 27, 0.65);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.9rem;
  transition: 0.2s ease;
}

.topnav a:hover {
  color: var(--text);
  border-color: #445269;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.25rem;
  align-items: center;
  padding: 3rem 0 2rem;
}

.hero-copy h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  font-family: "Space Grotesk", sans-serif;
}

.kicker {
  margin: 0 0 0.7rem;
  color: var(--accent-soft);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.77rem;
  font-weight: 600;
}

.hero-copy h1 {
  font-size: clamp(2rem, 5.1vw, 3.85rem);
  margin-bottom: 1rem;
}

.hero-copy p {
  margin: 0;
  color: var(--text-dim);
  max-width: 66ch;
}

.cta-row {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn {
  text-decoration: none;
  border-radius: 999px;
  padding: 0.68rem 1.05rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #121212;
  border-color: #f5c400;
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.btn-secondary {
  color: var(--text);
  border-color: #3c475b;
  background: rgba(17, 22, 30, 0.65);
}

.btn-secondary:hover {
  border-color: #5b6880;
}

.chip-row {
  margin-top: 1.05rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.chip-row span {
  background: rgba(22, 28, 38, 0.75);
  border: 1px solid #2e3a4e;
  color: #c6d2e5;
  border-radius: 999px;
  font-size: 0.82rem;
  padding: 0.34rem 0.6rem;
}

.hero-media {
  justify-self: center;
}

.hero-media img {
  width: min(100%, 340px);
  height: auto;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid #2d3645;
}

section {
  padding: 2.3rem 0 1.4rem;
}

.section-head {
  margin-bottom: 1.05rem;
}

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

.section-head p {
  color: var(--text-dim);
  margin: 0.45rem 0 0;
}

.steps-grid,
.feature-grid {
  display: grid;
  gap: 0.8rem;
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.step-card,
.feature-card {
  background: linear-gradient(165deg, #151a22 0%, #0d1016 100%);
  border-radius: var(--radius);
  border: 1px solid #293245;
  padding: 1.05rem;
}

.step-card h3,
.feature-card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.45rem;
}

.step-card p,
.feature-card p {
  margin: 0;
  color: var(--text-dim);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.65rem;
}

.gallery-grid figure {
  margin: 0;
  border: 1px solid #2b3342;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #10141b;
}

.gallery-grid img {
  display: block;
  width: 100%;
  height: auto;
  transition: 0.3s ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.03);
}

.legal-cta {
  border: 1px solid #38445a;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(17, 22, 30, 0.9), rgba(23, 30, 42, 0.82));
  padding: 1.35rem;
}

.legal-cta h2 {
  font-size: clamp(1.35rem, 2.8vw, 2rem);
}

.legal-cta p {
  color: var(--text-dim);
  margin: 0.6rem 0 0;
}

.site-footer {
  margin-top: 2.25rem;
  padding: 1rem 0 2rem;
  border-top: 1px solid #212937;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.site-footer p {
  margin: 0;
  color: #8f9ab0;
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #c9d3e6;
  text-decoration: none;
  font-size: 0.92rem;
}

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

.legal-main {
  padding: 2rem 0 1rem;
}

.legal-hero {
  border: 1px solid #303b4f;
  border-radius: var(--radius);
  padding: 1.1rem;
  background: linear-gradient(155deg, #131822 0, #0a0d13 100%);
}

.legal-hero h1 {
  font-size: clamp(1.65rem, 3.8vw, 2.7rem);
}

.legal-hero p {
  color: var(--text-dim);
  margin: 0.55rem 0 0;
}

.legal-card {
  margin-top: 0.9rem;
  border: 1px solid #2b3446;
  border-radius: 16px;
  padding: 1rem;
  background: var(--panel-soft);
}

.legal-card h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.legal-card p,
.legal-card li {
  color: #c7cfdf;
}

.legal-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.legal-card p {
  margin: 0.45rem 0;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.reveal-on {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 1.95rem;
  }

  .hero-media {
    justify-self: start;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .topnav {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
