/* ═══════════════════════════════════════════════
       RESET & TOKENS
    ═══════════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cream: #faf7f2;
  --cream2: #f4ede3;
  --cream3: #ece4d8;
  --white: #ffffff;
  --accent: #1a6b3c;
  --accent2: #228b4e;
  --accent-lt: #e8f5ee;
  --accent-md: #b8dfca;
  --accent-dark: #145530;
  --red: #b91c1c;
  --border: #ddd5c8;
  --border2: #c8bfb2;
  --text: #1c1714;
  --text2: #5c5248;
  --text3: #9c8f84;
  --shadow-sm: rgba(60, 40, 20, 0.06);
  --shadow-md: rgba(60, 40, 20, 0.13);
  --shadow-lg: rgba(60, 40, 20, 0.18);
  --info-50: #eff6ff;
  --info-700: #1d4ed8;
  --warning-50: #fffbeb;
  --warning-700: #b45309;
  --nav-h: 64px;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "DM Sans", sans-serif;
  background: var(--cream);
  background-image: radial-gradient(circle, #cfc5b8 1px, transparent 1px);
  background-size: 22px 22px;
  color: var(--text);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}
button {
  font-family: inherit;
  cursor: pointer;
}

/* ═══════════════════════════════════════════════
       MASTHEAD / NAV
    ═══════════════════════════════════════════════ */
.masthead-top {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px var(--shadow-sm);
}
.masthead {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--nav-h);
  display: flex;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-right: 2rem;
  flex-shrink: 0;
  transition: opacity 0.15s;
}
.logo:hover {
  opacity: 0.8;
}
.logo-icon {
  width: 30px;
  height: 30px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.logo-icon i {
  font-size: 14px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text2);
  background: transparent;
  border: none;
  white-space: nowrap;
  transition:
    background 0.14s,
    color 0.14s;
}
.nav-link i {
  font-size: 12px;
  flex-shrink: 0;
}
.nav-link:hover,
.nav-link.active {
  background: var(--accent-lt);
  color: var(--accent);
}
.nav-chevron {
  display: inline-flex;
  transition: transform 0.2s;
}
.nav-chevron i {
  font-size: 10px;
}
.nav-item:hover .nav-chevron {
  transform: rotate(180deg);
}

.mega-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 8px 32px var(--shadow-md);
  min-width: 280px;
  padding: 1rem;
  z-index: 200;
  animation: dropIn 0.18s ease both;
}
.mega-dropdown.wide {
  min-width: 560px;
}
@keyframes dropIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.mega-dropdown[hidden] {
  display: none;
}
.nav-item:hover .mega-dropdown,
.nav-item:focus-within .mega-dropdown {
  display: block;
}

.dropdown-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 4px 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 10px;
}
.dropdown-header-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--accent-lt);
  color: var(--accent);
}
.dropdown-header-icon i {
  font-size: 15px;
}
.dropdown-header h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.dropdown-header p {
  font-size: 12px;
  color: var(--text3);
}

.dropdown-cols {
  display: grid;
  gap: 4px;
}
.dropdown-cols.cols-2 {
  grid-template-columns: 1fr 1fr;
}
.dropdown-cols.cols-3 {
  grid-template-columns: 1fr 1fr 1fr;
}
.dropdown-cols:not(.cols-2):not(.cols-3) {
  grid-template-columns: 1fr 1fr;
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  transition:
    background 0.12s,
    color 0.12s;
}
.dropdown-link:hover {
  background: var(--accent-lt);
  color: var(--accent);
}
.dropdown-link-icon {
  width: 28px;
  height: 28px;
  background: var(--cream2);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dropdown-link-icon i {
  font-size: 12px;
}
.dropdown-link:hover .dropdown-link-icon {
  background: var(--accent-md);
}
.dropdown-link-text {
  display: flex;
  flex-direction: column;
}
.dropdown-link-desc {
  font-size: 11px;
  font-weight: 400;
  color: var(--text3);
  margin-top: 1px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  border: none;
  transition: all 0.15s;
  cursor: pointer;
}
.btn i {
  font-size: 12px;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-dark);
}
.btn-sm {
  padding: 6px 14px;
  font-size: 12.5px;
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent-md);
}
.btn-outline:hover {
  background: var(--accent-lt);
  border-color: var(--accent);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text2);
  transition: background 0.14s;
}
.menu-toggle i {
  font-size: 15px;
}
.menu-toggle:hover {
  background: var(--cream2);
}

/* ═══════════════════════════════════════════════
       HERO
    ═══════════════════════════════════════════════ */
.hero {
  position: relative;
  padding: 5rem 1.5rem 0;
  text-align: center;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 480px;
  background: radial-gradient(
    ellipse at center,
    rgba(26, 107, 60, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.hero-content {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.eyebrow::before,
.eyebrow::after {
  content: "";
  display: block;
  width: 22px;
  height: 1px;
  background: var(--accent);
  opacity: 0.45;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.6rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 1rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--text2);
  line-height: 1.78;
  max-width: 560px;
  margin: 0 auto 2rem;
}
.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* ── Stat strip ── */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 4px 20px var(--shadow-sm);
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  bottom: -1px;
}
.stat-cell {
  padding: 1.6rem 1.4rem;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background 0.2s;
}
.stat-cell:last-child {
  border-right: none;
}
.stat-cell:hover {
  background: var(--accent-lt);
}
.stat-num {
  font-family: "Playfair Display", serif;
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.3rem;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════
       SECTIONS WRAPPER
    ═══════════════════════════════════════════════ */
.page-sections {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

/* ── shared reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Section headings ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-lt);
  border: 1px solid var(--accent-md);
  border-radius: 100px;
  padding: 0.3rem 0.85rem;
  margin-bottom: 0.9rem;
}
.section-label i {
  font-size: 0.65rem;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.12;
  margin-bottom: 0.75rem;
}
.section-title em {
  font-style: italic;
  color: var(--accent);
}
.section-desc {
  font-size: 0.97rem;
  color: var(--text2);
  line-height: 1.8;
  max-width: 560px;
}

/* ═══════════════════════════════════════════════
       STORY SECTION
    ═══════════════════════════════════════════════ */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.story-visual {
  position: relative;
}
.story-card-main {
  background: var(--accent);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.story-card-main::before {
  content: "\f121";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: -10px;
  bottom: -20px;
  font-size: 9rem;
  opacity: 0.07;
  line-height: 1;
}
.story-card-main blockquote {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
}
.story-card-main blockquote::before {
  content: "\201C";
  font-size: 4rem;
  line-height: 0;
  vertical-align: -1.5rem;
  margin-right: 0.2rem;
  opacity: 0.35;
}
.story-card-main cite {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-style: normal;
  font-size: 0.85rem;
  opacity: 0.85;
  position: relative;
  z-index: 1;
}
.cite-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.story-float {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.2rem 1.3rem;
  box-shadow: 0 8px 28px var(--shadow-md);
  position: absolute;
  bottom: -1.4rem;
  right: -1.4rem;
  min-width: 180px;
}
.story-float .float-num {
  font-family: "Playfair Display", serif;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.story-float .float-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.story-text p {
  font-size: 0.96rem;
  color: var(--text2);
  line-height: 1.82;
  margin-bottom: 1rem;
}
.story-text p:last-child {
  margin-bottom: 0;
}
.story-text strong {
  color: var(--text);
  font-weight: 600;
}

/* ═══════════════════════════════════════════════
       MISSION / VALUES
    ═══════════════════════════════════════════════ */
.values-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.values-header .section-desc {
  margin: 0 auto;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.9rem 1.7rem;
  box-shadow: 0 2px 10px var(--shadow-sm);
  transition:
    border-color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.value-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #5cb87a);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.value-card:hover {
  border-color: var(--accent-md);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px var(--shadow-md);
}
.value-card:hover::after {
  transform: scaleX(1);
}

.value-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-lt);
  border: 1px solid var(--accent-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.25rem;
  margin-bottom: 1.2rem;
}
.value-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.value-card p {
  font-size: 0.875rem;
  color: var(--text2);
  line-height: 1.72;
}

/* ═══════════════════════════════════════════════
       HOW IT WORKS
    ═══════════════════════════════════════════════ */
.how-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.how-step {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--cream3);
  cursor: default;
  transition: background 0.15s;
  border-radius: 10px;
  padding: 1rem;
}
.how-step:last-child {
  border-bottom: none;
}
.how-step:hover {
  background: var(--accent-lt);
}
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "DM Mono", monospace;
  font-size: 0.85rem;
  font-weight: 500;
}
.step-body h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.step-body p {
  font-size: 0.85rem;
  color: var(--text2);
  line-height: 1.65;
}

.how-visual {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 24px var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.how-visual::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #5cb87a, var(--accent));
}
.how-visual-title {
  font-family: "DM Mono", monospace;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.how-visual-title i {
  color: var(--accent);
}

.tech-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.tech-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0.9rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.tech-row:hover {
  background: var(--accent-lt);
  border-color: var(--accent-md);
}
.tech-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  flex-shrink: 0;
  background: var(--accent-lt);
  border: 1px solid var(--accent-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.85rem;
}
.tech-info {
  flex: 1;
}
.tech-info strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text);
}
.tech-info span {
  font-size: 0.78rem;
  color: var(--text3);
}
.tech-badge {
  font-family: "DM Mono", monospace;
  font-size: 0.68rem;
  font-weight: 500;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  letter-spacing: 0.04em;
  background: var(--accent-lt);
  color: var(--accent);
  border: 1px solid var(--accent-md);
}

/* ═══════════════════════════════════════════════
       TEAM
    ═══════════════════════════════════════════════ */
.team-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.team-header .section-desc {
  margin: 0 auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.8rem 1.4rem 1.5rem;
  text-align: center;
  box-shadow: 0 2px 10px var(--shadow-sm);
  transition:
    border-color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
.team-card:hover {
  border-color: var(--accent-md);
  transform: translateY(-5px);
  box-shadow: 0 16px 36px var(--shadow-md);
}

.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  border: 3px solid var(--accent-md);
  position: relative;
}
.avatar-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.avatar-badge i {
  font-size: 9px;
  color: #fff;
}

.team-name {
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.2rem;
}
.team-role {
  font-family: "DM Mono", monospace;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.65rem;
}
.team-bio {
  font-size: 0.8rem;
  color: var(--text2);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.team-socials {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
.social-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--cream);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text3);
  font-size: 13px;
  transition: all 0.15s;
}
.social-btn:hover {
  background: var(--accent-lt);
  border-color: var(--accent-md);
  color: var(--accent);
}

/* ═══════════════════════════════════════════════
       MILESTONES TIMELINE
    ═══════════════════════════════════════════════ */
.timeline-section {
}
.timeline-header {
  text-align: center;
  margin-bottom: 3rem;
}
.timeline-header .section-desc {
  margin: 0 auto;
}

.timeline-track {
  position: relative;
  padding-left: 2.2rem;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--accent),
    var(--accent-md),
    var(--cream3)
  );
}
.tl-item {
  position: relative;
  margin-bottom: 0;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.tl-item + .tl-item {
  margin-top: 1.5rem;
}

.tl-dot {
  position: absolute;
  left: -2.2rem;
  top: 0.3rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--accent-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.tl-dot i {
  font-size: 8px;
  color: var(--accent);
}
.tl-dot.highlight {
  background: var(--accent);
  border-color: var(--accent);
}
.tl-dot.highlight i {
  color: #fff;
}

.tl-card {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.3rem 1.4rem;
  box-shadow: 0 2px 8px var(--shadow-sm);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.tl-card:hover {
  border-color: var(--accent-md);
  box-shadow: 0 6px 20px var(--shadow-md);
}

.tl-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}
.tl-date {
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.05em;
}
.tl-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.18rem 0.6rem;
  border-radius: 6px;
}
.tl-tag.launch {
  background: var(--accent-lt);
  color: var(--accent);
  border: 1px solid var(--accent-md);
}
.tl-tag.feature {
  background: var(--info-50);
  color: var(--info-700);
  border: 1px solid #bfdbfe;
}
.tl-tag.growth {
  background: var(--warning-50);
  color: var(--warning-700);
  border: 1px solid #fde68a;
}
.tl-tag.award {
  background: #fdf4ff;
  color: #7c3aed;
  border: 1px solid #e9d5ff;
}

.tl-card h4 {
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.3rem;
}
.tl-card p {
  font-size: 0.86rem;
  color: var(--text2);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════
       OPEN SOURCE / COMMUNITY
    ═══════════════════════════════════════════════ */
.community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.community-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.8rem;
  box-shadow: 0 2px 10px var(--shadow-sm);
  transition:
    border-color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.community-card:hover {
  border-color: var(--accent-md);
  transform: translateY(-4px);
  box-shadow: 0 14px 36px var(--shadow-md);
}
.community-card-top {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.community-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.community-icon.green {
  background: var(--accent-lt);
  color: var(--accent);
  border: 1px solid var(--accent-md);
}
.community-icon.blue {
  background: var(--info-50);
  color: var(--info-700);
  border: 1px solid #bfdbfe;
}
.community-icon.warm {
  background: var(--warning-50);
  color: var(--warning-700);
  border: 1px solid #fde68a;
}
.community-icon.purple {
  background: #fdf4ff;
  color: #7c3aed;
  border: 1px solid #e9d5ff;
}

.community-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.community-card p {
  font-size: 0.875rem;
  color: var(--text2);
  line-height: 1.72;
}
.community-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
  transition: gap 0.2s;
}
.community-card .card-link i {
  font-size: 11px;
}
.community-card .card-link:hover {
  gap: 0.7rem;
}

/* ═══════════════════════════════════════════════
       CTA BAND
    ═══════════════════════════════════════════════ */
.cta-band {
  background: var(--accent);
  border-radius: 24px;
  padding: 3.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "\f0e7";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14rem;
  opacity: 0.04;
  color: #fff;
  line-height: 1;
}
.cta-band::after {
  content: "\f0e7";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%) scaleX(-1);
  font-size: 14rem;
  opacity: 0.04;
  color: #fff;
  line-height: 1;
}
.cta-band h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.8rem;
  position: relative;
  z-index: 1;
}
.cta-band p {
  font-size: 0.97rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  max-width: 480px;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 1;
}
.cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.btn-white {
  background: #fff;
  color: var(--accent);
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  border-radius: 10px;
  padding: 0.85rem 1.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition:
    transform 0.15s,
    box-shadow 0.2s;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}
.btn-white i {
  font-size: 14px;
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  padding: 0.85rem 1.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition:
    background 0.15s,
    border-color 0.15s;
  cursor: pointer;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-ghost i {
  font-size: 14px;
}

/* ═══════════════════════════════════════════════
       SITE FOOTER
    ═══════════════════════════════════════════════ */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 2rem;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  transition: opacity 0.15s;
}
.footer-logo:hover {
  opacity: 0.8;
}
.footer-logo-icon {
  width: 28px;
  height: 28px;
  background: var(--accent);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.footer-logo-icon i {
  font-size: 13px;
}
.footer-tagline {
  font-size: 13px;
  color: var(--text3);
  line-height: 1.6;
  max-width: 220px;
}
.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 1rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text2);
  transition: color 0.14s;
}
.footer-link i {
  font-size: 11px;
  color: var(--text3);
  flex-shrink: 0;
  width: 14px;
  text-align: center;
}
.footer-link:hover {
  color: var(--accent);
}
.footer-link:hover i {
  color: var(--accent);
}
.footer-mid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-mid p:first-child {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}
.footer-mid p:last-of-type {
  font-size: 12px;
  color: var(--text3);
  margin-top: 2px;
}
.footer-newsletter {
  display: flex;
  gap: 8px;
  flex: 1;
  min-width: 260px;
}
.footer-newsletter input {
  flex: 1;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--cream);
  font-size: 13px;
  color: var(--text);
  outline: none;
  font-family: "DM Sans", sans-serif;
  transition: border-color 0.15s;
}
.footer-newsletter input:focus {
  border-color: var(--accent-md);
}
.footer-newsletter input::placeholder {
  color: var(--text3);
}
.footer-mid-right {
  display: flex;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}
.footer-mid-link {
  font-size: 12px;
  color: var(--text3);
  transition: color 0.14s;
}
.footer-mid-link:hover {
  color: var(--accent);
}
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 12px;
  color: var(--text3);
}
.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 12px;
  color: var(--text3);
}
.footer-bottom-right i {
  color: #e05252;
  font-size: 12px;
}
.kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px 6px;
  background: var(--cream3);
  border: 1px solid var(--border2);
  border-radius: 4px;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  color: var(--text2);
}

/* Back to top */
.back-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(26, 107, 60, 0.3);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s,
    transform 0.2s,
    box-shadow 0.2s;
}
.back-top.visible {
  opacity: 1;
  pointer-events: all;
}
.back-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(26, 107, 60, 0.4);
}
.back-top i {
  font-size: 16px;
}

/* ═══════════════════════════════════════════════
       RESPONSIVE
    ═══════════════════════════════════════════════ */
@media (max-width: 960px) {
  .stat-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-cell:nth-child(2) {
    border-right: none;
  }
  .stat-cell:nth-child(1),
  .stat-cell:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }
  .story-grid {
    grid-template-columns: 1fr;
  }
  .story-visual {
    order: -1;
  }
  .story-float {
    right: 0;
    bottom: -1rem;
  }
  .values-grid {
    grid-template-columns: 1fr 1fr;
  }
  .how-wrap {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .community-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
    box-shadow: 0 8px 20px var(--shadow-md);
    z-index: 90;
    gap: 4px;
  }
  .nav-item {
    width: 100%;
  }
  .nav-link {
    width: 100%;
    justify-content: space-between;
  }
  .mega-dropdown {
    position: static;
    box-shadow: none;
    border-radius: 10px;
    margin-top: 4px;
  }
  .mega-dropdown.wide {
    min-width: unset;
  }
  .dropdown-cols.cols-3 {
    grid-template-columns: 1fr 1fr;
  }
  .menu-toggle {
    display: flex;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .cta-band {
    padding: 2.5rem 1.5rem;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-mid {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .footer-mid-right {
    margin-left: 0;
  }
}
@media (max-width: 560px) {
  .stat-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-bottom-right {
    flex-direction: column;
    gap: 6px;
  }
}
