@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-bg: #fdfcfa;
  --color-bg-alt: #f4f0e8;
  --color-surface: #ffffff;
  --color-text: #1c1917;
  --color-text-muted: #78716c;
  --color-accent: #7c3aed;
  --color-accent-hover: #6d28d9;
  --color-accent-secondary: #db2777;
  --color-border: #e7e2d9;
  --font-stack: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max-width: 1100px;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 8px 32px rgba(124, 58, 237, 0.14), 0 2px 8px rgba(0, 0, 0, 0.06);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-stack);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-accent-hover);
}

/* ---- Header / Nav ---- */

.site-header {
  background: var(--color-surface);
  border-bottom: 2px solid var(--color-accent);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(124, 58, 237, 0.08);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-brand {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--color-text);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-brand::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--color-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 4px;
}

.nav-links a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--color-accent);
  background: rgba(124, 58, 237, 0.07);
}

.nav-links a.active {
  color: var(--color-accent);
  background: rgba(124, 58, 237, 0.1);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ---- Main Content ---- */

main {
  flex: 1;
}

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

/* ---- Hero ---- */

.hero {
  padding: 88px 28px 80px;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124, 58, 237, 0.1);
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--color-text);
}

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

.hero .tagline {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--color-text-muted);
  line-height: 1.75;
  font-weight: 400;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-orb {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%,
    rgba(124, 58, 237, 0.18) 0%,
    rgba(219, 39, 119, 0.12) 50%,
    rgba(244, 240, 232, 0.4) 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-orb::before {
  content: '';
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 2px solid rgba(124, 58, 237, 0.2);
}

.hero-orb::after {
  content: '';
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.15), rgba(219, 39, 119, 0.08));
}

.hero-orb-icon {
  font-size: 4.5rem;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 16px rgba(124, 58, 237, 0.25));
}

/* ---- Divider ---- */

.wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background: var(--color-bg-alt);
}

.wave-divider svg {
  display: block;
}

/* ---- Sections ---- */

.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-secondary);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  color: var(--color-text-muted);
  max-width: 560px;
  margin-bottom: 48px;
  font-size: 1.05rem;
}

/* ---- Feature Rows (What We Do) ---- */

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-row {
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  align-items: start;
  transition: box-shadow 0.25s, transform 0.25s;
}

.feature-row:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.feature-icon-wrap.violet {
  background: rgba(124, 58, 237, 0.1);
}

.feature-icon-wrap.rose {
  background: rgba(219, 39, 119, 0.1);
}

.feature-icon-wrap.amber {
  background: rgba(245, 158, 11, 0.1);
}

.feature-row h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.feature-row p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ---- Principles (Numbered) ---- */

.principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
  background: var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.principle {
  background: var(--color-surface);
  padding: 40px 32px;
  position: relative;
}

.principle-num {
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(124, 58, 237, 0.1);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.05em;
}

.principle h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.principle p {
  color: var(--color-text-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.principle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--color-accent), var(--color-accent-secondary));
}

/* ---- Legal / Policy Pages ---- */

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 28px 88px;
}

.legal-header {
  padding-bottom: 28px;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: 40px;
}

.legal h1 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.legal .effective-date {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.legal h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 44px;
  margin-bottom: 12px;
  color: var(--color-accent);
  letter-spacing: -0.01em;
}

.legal p,
.legal ul {
  color: var(--color-text-muted);
  margin-bottom: 16px;
  font-size: 0.97rem;
  line-height: 1.75;
}

.legal ul {
  padding-left: 20px;
  list-style: none;
}

.legal ul li {
  margin-bottom: 8px;
  padding-left: 8px;
  position: relative;
}

.legal ul li::before {
  content: '—';
  position: absolute;
  left: -16px;
  color: var(--color-accent);
  font-weight: 600;
}

/* ---- Contact Page ---- */

.contact-wrapper {
  max-width: 580px;
  margin: 0 auto;
  padding: 64px 28px 88px;
}

.contact-wrapper h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.03em;
}

.contact-wrapper .lead {
  color: var(--color-text-muted);
  margin-bottom: 44px;
  font-size: 1.05rem;
  line-height: 1.75;
}

.contact-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px 36px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(219, 39, 119, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.contact-details .label {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-details .email-link {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-accent);
}

.contact-details .email-link:hover {
  color: var(--color-accent-hover);
}

.contact-note {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  padding: 16px 20px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-accent);
}

/* ---- Footer ---- */

.site-footer {
  background: var(--color-text);
  padding: 40px 28px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.footer-copy {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.82rem;
  width: 100%;
  text-align: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---- Responsive ---- */

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 60px 20px 52px;
    gap: 40px;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-orb {
    width: 240px;
    height: 240px;
  }

  .hero-orb::before {
    width: 170px;
    height: 170px;
  }

  .hero-orb::after {
    width: 110px;
    height: 110px;
  }

  .hero-orb-icon {
    font-size: 3rem;
  }

  .hero-visual {
    order: -1;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 12px 20px;
    gap: 2px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .section {
    padding: 48px 0;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px;
  }

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

  .contact-card {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
