:root {
  --bg: #f6fafc;
  --surface: rgba(255, 255, 255, 0.84);
  --text: #0f172a;
  --muted: #4c5d79;
  --blue: #263eeb;
  --green: #10b991;
  --shadow: 0 20px 60px rgba(23, 49, 87, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Poppins", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(38, 62, 235, 0.14), transparent 30%),
    radial-gradient(circle at top right, rgba(16, 185, 145, 0.18), transparent 24%),
    linear-gradient(180deg, #fafdff 0%, #f6fafc 45%, #eff6fb 100%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-shell,
.legal-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar,
.legal-header,
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.topbar,
.legal-header {
  padding: 20px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(38, 62, 235, 0.22);
}

.nav,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 42px;
  padding: 44px 0 26px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  line-height: 0.95;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1;
}

h3 {
  font-size: 1.2rem;
}

.hero-text,
.section-text,
.legal-intro,
.legal-page p,
.feature-card p,
.gallery-card figcaption,
.compliance-link p,
.footer p,
.stats span {
  color: var(--muted);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 600;
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #285fef 52%, var(--green));
  box-shadow: 0 18px 36px rgba(38, 62, 235, 0.24);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(38, 62, 235, 0.16);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.chip-row li {
  padding: 11px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
}

.glow {
  position: absolute;
  inset: 12% 6% auto auto;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(16, 185, 145, 0.3), transparent 66%);
  filter: blur(8px);
}

.brand-board {
  border-radius: 36px;
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
}

.stats,
.feature-grid,
.gallery,
.compliance-grid {
  display: grid;
  gap: 18px;
}

.stats {
  grid-template-columns: repeat(3, 1fr);
  margin: 16px 0 48px;
}

.stats article,
.feature-card,
.gallery-card,
.compliance-link,
.legal-page,
.footer {
  background: var(--surface);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow);
}

.stats article,
.feature-card,
.gallery-card,
.compliance-link {
  border-radius: 24px;
  padding: 22px;
}

.section {
  padding: 44px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

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

.feature-card {
  min-height: 220px;
}

.gallery {
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
}

.gallery-card figcaption {
  margin-top: 14px;
  font-size: 0.95rem;
}

.gallery-card img {
  width: 100%;
  border-radius: 20px;
}

.accent-card {
  background:
    linear-gradient(145deg, rgba(38, 62, 235, 0.12), rgba(16, 185, 145, 0.16)),
    rgba(255, 255, 255, 0.82);
}

.mock-screen {
  padding: 16px;
  border-radius: 24px;
  background: linear-gradient(180deg, #0f172a, #1b3155);
  min-height: 420px;
}

.mock-header {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.mock-header span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}

.mock-lines {
  display: grid;
  gap: 12px;
}

.mock-panel,
.mock-pill {
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.mock-panel {
  height: 74px;
}

.mock-panel.tall {
  height: 146px;
}

.mock-row {
  display: flex;
  gap: 10px;
}

.mock-pill {
  height: 42px;
  flex: 1;
}

.mock-pill.short {
  flex: 0.55;
}

.footer {
  margin: 44px 0 34px;
  padding: 24px 28px;
  border-radius: 26px;
}

.legal-page {
  border-radius: 32px;
  padding: 34px;
  margin: 10px 0 34px;
}

.legal-page section + section {
  margin-top: 28px;
}

.legal-page h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.legal-page h3 {
  margin: 18px 0 10px;
}

.legal-page ul,
.legal-page ol {
  color: var(--muted);
  line-height: 1.75;
  padding-left: 22px;
}

.legal-page code {
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(38, 62, 235, 0.08);
  color: var(--blue);
}

@media (max-width: 960px) {
  .hero,
  .stats,
  .feature-grid,
  .gallery,
  .compliance-grid {
    grid-template-columns: 1fr;
  }

  .topbar,
  .legal-header,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .site-shell,
  .legal-shell {
    width: min(100% - 20px, 1160px);
  }

  .legal-page {
    padding: 24px 18px;
  }

  h1 {
    font-size: 2.7rem;
  }
}
