/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,600;0,9..144,700;1,9..144,400&family=DM+Sans:wght@300;400;500;600&display=swap');

/* Variables */
:root {
  --teal: #0D4D48;
  --teal-light: #1A7A74;
  --ember: #E8623C;
  --ember-light: #FF7A52;
  --bg: #F6F4F0;
  --bg-dark: #EDE9E3;
  --fg: #1A1A1A;
  --fg-muted: #5A5A5A;
  --white: #FFFFFF;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  line-height: 1.15;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 244, 240, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13, 77, 72, 0.08);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
}
.nav-logo {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--teal);
  text-decoration: none;
  letter-spacing: -0.02em;
}

/* Sections */
section {
  padding: 80px 32px;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ember);
  display: block;
  margin-bottom: 24px;
}

/* Hero */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 32px 80px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 20px;
}
.hero-headline {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--teal);
  margin-bottom: 20px;
  font-weight: 700;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 480px;
  margin-bottom: 32px;
  font-weight: 300;
  line-height: 1.7;
}
.hero-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--teal);
  background: rgba(13, 77, 72, 0.07);
  border: 1px solid rgba(13, 77, 72, 0.15);
  padding: 6px 14px;
  border-radius: 100px;
}

/* Network viz */
.network-viz {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.net-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110px;
  height: 110px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 8px 32px rgba(13, 77, 72, 0.3);
}
.net-core-label {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
  letter-spacing: -0.02em;
}
.net-core-sub {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
}
.net-connector {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1.5px dashed rgba(13, 77, 72, 0.2);
  z-index: 1;
}
.net-node {
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  z-index: 3;
}
.net-node--en { background: var(--teal); top: 4%; left: 50%; transform: translateX(-50%); }
.net-node--es { background: #2A7A4B; top: 22%; right: 2%; }
.net-node--fr { background: #2A5B8A; top: 52%; right: -2%; }
.net-node--de { background: #5A3A7A; bottom: 22%; right: 5%; }
.net-node--zh { background: #8A3030; bottom: 4%; left: 50%; transform: translateX(-50%); }
.net-node--ar { background: #7A6020; bottom: 22%; left: 5%; }
.net-node--pt { background: #1A5A7A; top: 52%; left: -2%; }

/* How it works */
.howitworks {
  background: var(--teal);
  color: var(--white);
  padding: 80px 32px;
}
.hiw-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: start;
}
.hiw-step {
  padding: 28px;
  background: rgba(255,255,255,0.07);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
}
.hiw-num {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--ember);
  margin-bottom: 12px;
  line-height: 1;
}
.hiw-step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--white);
}
.hiw-step p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  font-weight: 300;
  line-height: 1.6;
}
.hiw-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 60px;
  color: var(--ember);
  font-size: 1.5rem;
}

/* Features */
.features {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 32px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.feature-card {
  padding: 28px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--bg-dark);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.feature-icon {
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--teal);
}
.feature-card p {
  font-size: 0.88rem;
  color: var(--fg-muted);
  font-weight: 300;
  line-height: 1.65;
}

/* Proof */
.proof {
  background: var(--bg-dark);
  padding: 80px 32px;
}
.proof-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(13, 77, 72, 0.1);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 48px;
}
.proof-stat {
  background: var(--white);
  padding: 40px 32px;
  text-align: center;
}
.proof-num {
  font-family: 'Fraunces', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 10px;
}
.proof-label {
  font-size: 0.88rem;
  color: var(--fg-muted);
  font-weight: 400;
}
.proof-quote {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.proof-quote p {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--teal);
  font-weight: 400;
  line-height: 1.7;
}

/* Closing */
.closing {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 32px;
  text-align: center;
}
.closing-headline {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--teal);
  margin-bottom: 20px;
  font-weight: 700;
}
.closing-body {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto;
  font-weight: 300;
  line-height: 1.7;
}

/* Footer */
.footer {
  border-top: 1px solid var(--bg-dark);
  padding: 28px 32px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--teal);
}
.footer-tagline {
  font-size: 0.82rem;
  color: var(--fg-muted);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-right {
    order: -1;
  }
  .network-viz { max-width: 320px; margin: 0 auto; }
  .hiw-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hiw-arrow { display: none; }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .proof-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  section { padding: 60px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-headline { font-size: 1.8rem; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
}