:root {
  --teal: #00d3c1;
  --pink: #ec008c;
  --pink-text: #c40073; /* AA-contrast pink for text on white (4.25:1 -> 5.84:1) */
  --purple: #6a1fe0;
  --purple-deep: #1a0e33;
  --purple-deeper: #120823;
  --ink: #150a29;
  --paper: #ffffff;
  --paper-soft: #f6f3fc;
  --muted: #675f80;
  --border: #e8e2f5;
  --radius: 18px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .logotype {
  font-family: "Baloo 2", "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
}

p { line-height: 1.65; color: var(--muted); margin: 0 0 1em; }

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

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
.site-nav {
  position: relative;
  z-index: 10;
  padding: 28px 0 0;
}

.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img { height: 30px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: rgba(255,255,255,0.88);
  font-weight: 600;
  font-size: 15px;
}

.nav-links a:hover { color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(90deg, var(--teal), var(--pink));
  color: #fff;
  box-shadow: 0 8px 24px rgba(236,0,140,0.28);
}

.btn-primary:hover { transform: translateY(-2px); }

.btn-ghost {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
}

.btn-ghost:hover { background: rgba(255,255,255,0.18); }

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover { transform: translateY(-2px); }

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(180deg, rgba(18,8,35,0.55), rgba(18,8,35,0.86)), url("/images/hero-bg.jpg") center/cover no-repeat;
  color: #fff;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
}

.hero > .wrap {
  flex: 1;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,211,193,0.25);
}

.hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  margin-bottom: 22px;
}

.hero h1 .grad {
  background: linear-gradient(90deg, var(--teal), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lede {
  font-size: 19px;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Sections */
.section {
  padding: 88px 0;
}

.section-soft { background: var(--paper-soft); }

.section-head {
  max-width: 620px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head .kicker {
  display: block;
  color: var(--pink-text);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 38px);
  margin-bottom: 16px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
}

.card:nth-child(1) .icon { background: linear-gradient(135deg, var(--teal), #4be3d6); }
.card:nth-child(2) .icon { background: linear-gradient(135deg, var(--pink), #ff5db0); }
.card:nth-child(3) .icon { background: linear-gradient(135deg, var(--purple), #9a5cf5); }

.card h3 { font-size: 19px; margin-bottom: 10px; }

.card p { margin: 0; font-size: 15px; }

/* Story / About split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split .badge-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--purple-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.split .badge-icon img { height: 32px; width: auto; }

.split h2 { font-size: clamp(26px, 4vw, 34px); margin-bottom: 18px; }

.stat-row {
  display: flex;
  gap: 40px;
  margin-top: 32px;
}

.stat-row .stat b {
  display: block;
  font-family: "Baloo 2", sans-serif;
  font-size: 28px;
  color: var(--ink);
}

.stat-row .stat span {
  font-size: 13px;
  color: var(--muted);
}

.split-visual {
  border-radius: 24px;
  background: linear-gradient(160deg, var(--purple-deep), #391a7a 45%, var(--pink) 130%);
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.split-visual img { width: 60%; }

/* CTA band */
.cta-band {
  background: var(--ink);
  color: #fff;
  border-radius: 28px;
  padding: 64px 48px;
  text-align: center;
  margin: 0 24px;
}

.cta-band h2 { font-size: clamp(26px, 4vw, 36px); color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.72); max-width: 480px; margin: 0 auto 32px; }

/* Footer */
footer {
  background: var(--purple-deeper);
  color: rgba(255,255,255,0.6);
  padding: 56px 0 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
}

.footer-top img { height: 26px; margin-bottom: 14px; }

.footer-top p { max-width: 320px; font-size: 14px; color: rgba(255,255,255,0.55); }

.footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-links h4 {
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.footer-links a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
}

.footer-links a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

/* Inner pages (legal / contact) */
.page-hero {
  background: linear-gradient(160deg, var(--purple-deep), var(--purple-deeper));
  color: #fff;
  padding-bottom: 64px;
}

.page-hero .wrap { padding-top: 90px; }

.page-hero h1 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 560px; }

.content-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 24px 100px;
}

.content-wrap h2 {
  font-size: 22px;
  margin: 40px 0 12px;
}

.content-wrap h2:first-child { margin-top: 0; }

.content-wrap p, .content-wrap li { color: var(--ink); font-size: 15.5px; }
.content-wrap ul { padding-left: 20px; }
.content-wrap li { margin-bottom: 8px; }
.content-wrap .updated { color: var(--muted); font-size: 14px; margin-bottom: 40px; }

.contact-card {
  background: var(--paper-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
}

.contact-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--teal), var(--pink));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  flex-shrink: 0;
}

.contact-card h3 { font-size: 17px; margin-bottom: 4px; }
.contact-card a.mail { color: var(--pink-text); font-weight: 700; }

/* 404 */
.error-page {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  background: linear-gradient(160deg, var(--purple-deep), var(--purple-deeper));
  color: #fff;
}

.error-page .code {
  font-family: "Baloo 2", sans-serif;
  font-size: 96px;
  background: linear-gradient(90deg, var(--teal), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.error-page img { height: 34px; margin-bottom: 28px; }
.error-page p { color: rgba(255,255,255,0.7); margin: 12px 0 28px; }

@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .footer-top { flex-direction: column; }
  .cta-band { margin: 0 16px; padding: 48px 24px; }
}
