:root {
  --bg: #eef3f9;
  --bg-accent: #dff7e8;
  --bg-accent-2: #dcecff;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: rgba(255, 255, 255, 0.88);
  --stroke: rgba(15, 23, 42, 0.08);
  --text: #172033;
  --muted: #5c6980;
  --accent: #34d058;
  --accent-dark: #1d8f3c;
  --shadow: 0 24px 80px rgba(28, 42, 68, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", Avenir, "SF Pro Display", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(52, 208, 88, 0.22), transparent 24%),
    radial-gradient(circle at right 12% top 18%, rgba(89, 164, 255, 0.16), transparent 26%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 52%, #f3f6fb 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: 0;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(18px);
}

body::before {
  width: 320px;
  height: 640px;
  right: -80px;
  top: 140px;
  transform: rotate(16deg);
}

body::after {
  width: 260px;
  height: 260px;
  left: -120px;
  bottom: 80px;
  transform: rotate(-12deg);
}

a {
  color: inherit;
}

.shell {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 72px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 30px rgba(28, 42, 68, 0.08);
  font-weight: 700;
  text-decoration: none;
}

.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #58ec78 0%, #27bb49 100%);
  box-shadow: 0 0 0 8px rgba(52, 208, 88, 0.12);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.hero,
.panel {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 32px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero {
  padding: 44px;
  margin-bottom: 22px;
  overflow: hidden;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: 40px;
  width: 320px;
  height: 320px;
  border-radius: 48px;
  background: linear-gradient(180deg, rgba(52, 208, 88, 0.24), rgba(89, 164, 255, 0.18));
  transform: rotate(18deg);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.86);
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.96;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 680px;
  margin-top: 20px;
  font-size: clamp(44px, 7vw, 78px);
}

.lead {
  max-width: 720px;
  margin: 22px 0 0;
  font-size: 20px;
  line-height: 1.65;
  color: var(--muted);
}

.hero-grid,
.grid {
  display: grid;
  gap: 22px;
}

.hero-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 36px;
}

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

.card,
.mini-card {
  position: relative;
  padding: 22px;
  border-radius: 24px;
  background: var(--surface-strong);
  border: 1px solid var(--stroke);
}

.card h3,
.mini-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.card p,
.mini-card p,
.legal p,
.legal li,
.footer {
  color: var(--muted);
  line-height: 1.7;
}

.panel {
  padding: 34px;
  margin-top: 22px;
}

.panel h2 {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 18px;
}

.panel + .panel {
  margin-top: 18px;
}

.legal h3 {
  font-size: 24px;
  margin: 28px 0 10px;
}

.legal ul {
  padding-left: 18px;
  margin: 0;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
}

.button.primary {
  color: white;
  background: linear-gradient(180deg, #41dc65 0%, #25b84a 100%);
  box-shadow: 0 16px 34px rgba(37, 184, 74, 0.22);
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(15, 23, 42, 0.08);
}

.muted {
  color: var(--muted);
}

.kicker {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 700;
}

.footer {
  margin-top: 24px;
  padding: 0 8px;
  font-size: 14px;
}

@media (max-width: 840px) {
  .shell {
    width: min(100% - 20px, 1120px);
    padding-top: 16px;
  }

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

  .hero,
  .panel {
    padding: 24px;
    border-radius: 24px;
  }

  .hero-grid,
  .grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(36px, 13vw, 60px);
  }

  .lead {
    font-size: 18px;
  }
}
