:root {
  --cream: #faf8f3;
  --warm-white: #fffef9;
  --ink: #1a1a18;
  --ink-light: #4a4a46;
  --ink-muted: #8a8a84;
  --green: #2d6a4f;
  --green-mid: #40916c;
  --green-light: #b7e4c7;
  --green-pale: #d8f3dc;
  --amber: #f4a261;
  --amber-light: #ffe8d6;
  --wa-green: #25d366;
  --border: #e8e4da;
  --shadow: rgba(26, 26, 24, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 68px;
  background: rgba(247, 246, 243, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(111, 143, 179, 0.15);
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
}
nav.scrolled {
  background: rgba(247, 246, 243, 0.97);
  box-shadow: 0 1px 3px rgba(47,52,64,0.06), 0 1px 2px rgba(47,52,64,0.04);
  border-bottom-color: rgba(111, 143, 179, 0.25);
}
.nav-logo {
  text-decoration: none;
  display: flex; align-items: center;
}
.nav-logo-img-wrap {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(111,143,179,0.2);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  padding: 5px;
  flex-shrink: 0;
}
.nav-logo-img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: #7A8496;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: #2F3440;
}
.nav-links a.active {
  color: #2F3440;
  font-weight: 600;
  position: relative;
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.nav-cta {
  background: #2F3440 !important;
  color: #ffffff !important;
  padding: 8px 18px !important;
  border-radius: 8px !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  transition: opacity 0.2s !important;
}
.nav-cta:hover {
  opacity: 0.85 !important;
  transform: none !important;
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  border: none;
  background: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  padding: 120px 40px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-pale);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
  animation: fadeUp 0.6s ease both;
}
.hero-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.3);
  }
}
.hero h1 {
  font-family: "Instrument Serif", serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 24px;
  animation: fadeUp 0.6s 0.1s ease both;
}
.hero h1 em {
  font-style: italic;
  color: var(--green);
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--ink-light);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 40px;
  font-weight: 300;
  animation: fadeUp 0.6s 0.2s ease both;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.3s ease both;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: var(--warm-white);
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 100px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.15s,
    box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(45, 106, 79, 0.25);
}
.btn-primary:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45, 106, 79, 0.3);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 16px 28px;
  border-radius: 100px;
  text-decoration: none;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s,
    transform 0.15s;
}
.btn-secondary:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-pale);
  transform: translateY(-2px);
}

.hero-trust {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 14px;
  animation: fadeUp 0.6s 0.4s ease both;
}
.trust-avatars {
  display: flex;
}
.trust-avatars span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2.5px solid var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: -10px;
  first-child {
    margin-left: 0;
  }
}
.trust-avatars span:first-child {
  margin-left: 0;
  background: #b7e4c7;
  color: var(--green);
}
.trust-avatars span:nth-child(2) {
  background: #ffe8d6;
  color: #c06010;
}
.trust-avatars span:nth-child(3) {
  background: #d1fae5;
  color: #065f46;
}
.trust-text {
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.4;
}
.trust-text strong {
  color: var(--ink);
}

/* ── HERO VISUAL ── */
.hero-visual {
  position: relative;
  animation: fadeUp 0.7s 0.2s ease both;
}
.phone-mockup {
  width: 280px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 40px;
  padding: 14px;
  box-shadow:
    0 32px 80px rgba(26, 26, 24, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 2;
}
.phone-screen {
  background: #075e54;
  border-radius: 30px;
  overflow: hidden;
  min-height: 480px;
}
.wa-header {
  background: #075e54;
  padding: 16px 18px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.wa-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--wa-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.wa-name {
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
}
.wa-status {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.75rem;
  margin-top: 1px;
}
.wa-body {
  background: #ece5dd;
  min-height: 400px;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wa-msg {
  max-width: 85%;
  padding: 10px 13px;
  border-radius: 18px;
  font-size: 0.78rem;
  line-height: 1.5;
  position: relative;
}
.wa-msg.incoming {
  background: white;
  align-self: flex-start;
  border-radius: 4px 18px 18px 18px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.wa-msg.outgoing {
  background: #d9fdd3;
  align-self: flex-end;
  border-radius: 18px 4px 18px 18px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.wa-msg .wa-time {
  font-size: 0.65rem;
  color: #999;
  margin-top: 3px;
  text-align: right;
}
.wa-msg .emoji {
  font-size: 1.1rem;
}
.wa-msg strong {
  display: block;
  font-weight: 600;
  margin-bottom: 2px;
  color: var(--green);
}
.msg-tag {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 100px;
  margin-bottom: 5px;
}

.float-card {
  position: absolute;
  background: white;
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 12px 40px rgba(26, 26, 24, 0.12);
  z-index: 3;
}
.float-card-1 {
  top: 40px;
  right: -20px;
  width: 170px;
}
.float-card-2 {
  bottom: 60px;
  left: -30px;
  width: 155px;
}
.float-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 6px;
}
.float-value {
  font-family: "Instrument Serif", serif;
  font-size: 1.6rem;
  color: var(--ink);
  line-height: 1;
}
.float-sub {
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin-top: 3px;
}
.float-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wa-green);
  display: inline-block;
  margin-right: 5px;
  animation: pulse 2s ease-in-out infinite;
}

.hero-bg-blob {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse, var(--green-pale) 0%, transparent 70%);
  border-radius: 50%;
  top: -100px;
  right: -100px;
  pointer-events: none;
  z-index: 0;
}

/* ── HOW IT WORKS ── */
.section {
  padding: 100px 40px;
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
  display: block;
}
.section-title {
  font-family: "Instrument Serif", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 20px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--ink-light);
  line-height: 1.7;
  max-width: 540px;
  font-weight: 300;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
}
.step {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  overflow: hidden;
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px var(--shadow);
}
.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  opacity: 0;
  transition: opacity 0.2s;
}
.step:hover::before {
  opacity: 1;
}
.step-num {
  font-family: "Instrument Serif", serif;
  font-size: 3.5rem;
  color: var(--green-pale);
  line-height: 1;
  margin-bottom: 20px;
  display: block;
}
.step-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}
.step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.step p {
  font-size: 0.9rem;
  color: var(--ink-light);
  line-height: 1.65;
}

/* ── FEATURES ── */
.features-section {
  background: var(--warm-white);
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 64px;
}
.feature-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  background: var(--cream);
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px var(--shadow);
}
.feature-card.highlight {
  background: var(--green);
  border-color: var(--green);
  color: white;
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.feature-card.highlight .feature-icon {
  background: rgba(255, 255, 255, 0.15);
}
.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.feature-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--ink-light);
}
.feature-card.highlight p {
  color: rgba(255, 255, 255, 0.8);
}
.feature-card.highlight h3 {
  color: white;
  font-size: 1.8rem;
  font-family: "Instrument Serif", serif;
  letter-spacing: -0.03em;
}

.feature-list {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}
.feature-list li::before {
  content: "✓";
  color: var(--green-light);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── SOCIAL PROOF ── */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}
.testimonial {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px var(--shadow);
}
.stars {
  color: #f4a261;
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.testimonial p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--ink-light);
  font-style: italic;
  margin-bottom: 20px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}
.author-name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
}
.author-detail {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

/* ── PRICING ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
  align-items: start;
}
.price-card {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px;
  background: var(--warm-white);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  position: relative;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px var(--shadow);
}
.price-card.featured {
  background: var(--green);
  border-color: var(--green);
  color: white;
  transform: scale(1.04);
  box-shadow: 0 20px 60px rgba(45, 106, 79, 0.3);
}
.price-card.featured:hover {
  transform: scale(1.04) translateY(-4px);
}
.price-tag {
  display: inline-block;
  background: var(--amber);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
}
.price-plan {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 12px;
}
.price-card.featured .price-plan {
  color: rgba(255, 255, 255, 0.7);
}
.price-amount {
  font-family: "Instrument Serif", serif;
  font-size: 3rem;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
}
.price-card.featured .price-amount {
  color: white;
}
.price-period {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-bottom: 24px;
}
.price-card.featured .price-period {
  color: rgba(255, 255, 255, 0.7);
}
.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--ink-light);
}
.price-card.featured .price-features li {
  color: rgba(255, 255, 255, 0.85);
}
.price-features li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
}
.price-card.featured .price-features li::before {
  color: var(--green-light);
}
.btn-outline {
  width: 100%;
  padding: 14px;
  border-radius: 100px;
  text-align: center;
  border: 1.5px solid var(--border);
  background: transparent;
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
  display: block;
  transition: all 0.2s;
}
.btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-pale);
}
.btn-white {
  width: 100%;
  padding: 14px;
  border-radius: 100px;
  text-align: center;
  border: none;
  background: white;
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--green);
  cursor: pointer;
  text-decoration: none;
  display: block;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.btn-white:hover {
  background: var(--green-pale);
  transform: translateY(-1px);
}

/* ── SCHOOLS SECTION ── */
.schools-section {
  background: var(--ink);
  color: white;
}
.schools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.schools-section .section-label {
  color: var(--green-light);
}
.schools-section .section-title {
  color: white;
}
.schools-section .section-sub {
  color: rgba(255, 255, 255, 0.65);
}
.schools-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}
.school-feat {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s;
}
.school-feat:hover {
  background: rgba(255, 255, 255, 0.08);
}
.school-feat-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}
.school-feat h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: white;
  margin-bottom: 4px;
}
.school-feat p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}
.schools-cta-block {
  background: var(--green);
  border-radius: 24px;
  padding: 48px 40px;
  text-align: center;
}
.schools-cta-block h3 {
  font-family: "Instrument Serif", serif;
  font-size: 1.8rem;
  color: white;
  margin-bottom: 12px;
}
.schools-cta-block p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-bottom: 28px;
  line-height: 1.6;
}

/* ── CTA STRIP ── */
.cta-strip {
  background: var(--green);
  padding: 80px 40px;
  text-align: center;
}
.cta-strip h2 {
  font-family: "Instrument Serif", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: white;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.cta-strip p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  margin-bottom: 36px;
  font-weight: 300;
}
.cta-strip .btn-white {
  width: auto;
  display: inline-block;
  padding: 16px 40px;
}

/* ── FOOTER ── */
footer {
  background: #2F3440;
  padding: 80px 48px 48px;
  color: rgba(255, 255, 255, 0.5);
  border-top: none;
}
.footer-inner { max-width: 100%; margin: 0; }
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 80px;
}
.footer-brand-text {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(56px, 9vw, 120px);
  line-height: 0.88;
  color: #ffffff;
}
.footer-brand-text span { color: #6F8FB3; }
.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-top: 20px;
  font-weight: 300;
  max-width: 260px;
  line-height: 1.75;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-top: 12px;
}
.footer-col-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6F8FB3;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 300;
  display: block;
  margin-bottom: 0;
}
.footer-col a:hover { color: #ffffff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); letter-spacing: 0.05em; }
.footer-socials { display: flex; gap: 24px; list-style: none; }
.footer-socials a {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-socials a:hover { color: #ffffff; }
.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  transition:
    background 0.2s,
    color 0.2s;
}
.social-icon:hover {
  background: var(--green);
  color: white;
}

/* ── STATS STRIP ── */
.stats-strip {
  background: var(--ink);
  padding: 64px 40px;
  overflow: hidden;
}
.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.stat-block {
  padding: 40px 32px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.stat-block:hover {
  background: rgba(255, 255, 255, 0.07);
}
.stat-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--green-light),
    transparent
  );
}
.stat-num {
  font-family: "Instrument Serif", serif;
  font-size: clamp(2.8rem, 4vw, 4rem);
  color: white;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}
.stat-num span {
  color: var(--green-light);
}
.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}

/* ── COMPARISON TABLE ── */
.compare-section {
  background: var(--cream);
}
.compare-wrap {
  margin-top: 64px;
  overflow-x: auto;
}
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 620px;
}
.compare-table thead tr th {
  padding: 20px 28px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  border-bottom: 2px solid var(--border);
  text-align: left;
}
.compare-table thead tr th:nth-child(2) {
  background: var(--green);
  color: rgba(255, 255, 255, 0.7);
  border-radius: 16px 16px 0 0;
  text-align: center;
}
.compare-table thead tr th:nth-child(2) strong {
  display: block;
  font-family: "Instrument Serif", serif;
  font-size: 1.1rem;
  color: white;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
  font-weight: 400;
}
.compare-table thead tr th:nth-child(3) {
  text-align: center;
}
.compare-table tbody tr td {
  padding: 18px 28px;
  font-size: 0.9rem;
  color: var(--ink-light);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.compare-table tbody tr:last-child td {
  border-bottom: none;
}
.compare-table tbody tr td:nth-child(2) {
  background: rgba(45, 106, 79, 0.05);
  border-left: 1px solid rgba(45, 106, 79, 0.15);
  border-right: 1px solid rgba(45, 106, 79, 0.15);
  text-align: center;
  font-weight: 600;
  color: var(--green);
}
.compare-table tbody tr:last-child td:nth-child(2) {
  border-radius: 0 0 16px 16px;
  border-bottom: 1px solid rgba(45, 106, 79, 0.15);
}
.compare-table tbody tr td:nth-child(3) {
  text-align: center;
  color: var(--ink-muted);
}
.compare-table tbody tr:hover td {
  background: rgba(45, 106, 79, 0.03);
}
.compare-table tbody tr:hover td:nth-child(2) {
  background: rgba(45, 106, 79, 0.1);
}
.check {
  color: var(--green);
  font-size: 1.1rem;
  font-weight: 700;
}
.cross {
  color: #e57373;
  font-size: 1.1rem;
}
.compare-table td:first-child {
  font-weight: 500;
  color: var(--ink);
}

/* ── FEATURE DEEP-DIVE ── */
.feature-dive {
  background: var(--warm-white);
}
.dive-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 48px;
  margin-bottom: 48px;
}
.dive-tab {
  padding: 10px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: transparent;
  font-family: "DM Sans", sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-light);
  cursor: pointer;
  transition: all 0.2s;
}
.dive-tab:hover {
  border-color: var(--green);
  color: var(--green);
}
.dive-tab.active {
  background: var(--green);
  border-color: var(--green);
  color: white;
  font-weight: 600;
}
.dive-panel {
  display: none;
}
.dive-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.dive-content h3 {
  font-family: "Instrument Serif", serif;
  font-size: 2rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.2;
}
.dive-content p {
  font-size: 0.95rem;
  color: var(--ink-light);
  line-height: 1.75;
  margin-bottom: 24px;
  font-weight: 300;
}
.dive-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dive-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--ink-light);
  line-height: 1.5;
}
.dive-bullets li::before {
  content: "→";
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.dive-visual {
  background: var(--cream);
  border-radius: 20px;
  padding: 32px;
  border: 1px solid var(--border);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}
.dive-visual-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.dive-visual-item:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 16px var(--shadow);
}
.dive-visual-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}
.dive-visual-text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}
.dive-visual-text span {
  font-size: 0.8rem;
  color: var(--ink-muted);
}
.dive-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-left: 6px;
}
.pill-green {
  background: var(--green-pale);
  color: var(--green);
}
.pill-amber {
  background: var(--amber-light);
  color: #c06010;
}

/* ── FAQ ── */
.faq-section {
  background: var(--cream);
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 64px;
}
.faq-item {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq-item:hover {
  box-shadow: 0 8px 24px var(--shadow);
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  gap: 16px;
  user-select: none;
}
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green-pale);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 300;
  flex-shrink: 0;
  transition:
    transform 0.3s,
    background 0.2s;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--green);
  color: white;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.3s;
  padding: 0 24px;
  font-size: 0.9rem;
  color: var(--ink-light);
  line-height: 1.75;
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 24px 22px;
}

/* ── ONBOARDING FLOW ── */
.onboard-section {
  background: var(--ink);
  overflow: hidden;
  position: relative;
}
.onboard-section::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    ellipse,
    rgba(45, 106, 79, 0.3) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}
.onboard-section .section-label {
  color: var(--green-light);
}
.onboard-section .section-title {
  color: white;
}
.onboard-section .section-sub {
  color: rgba(255, 255, 255, 0.6);
}
.onboard-flow {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.onboard-flow::before {
  content: "";
  position: absolute;
  top: 44px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--green),
    var(--green-light),
    var(--green)
  );
  opacity: 0.4;
}
.onboard-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
}
.onboard-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Instrument Serif", serif;
  font-size: 1.4rem;
  color: white;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 8px rgba(45, 106, 79, 0.15);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.onboard-step:hover .onboard-num {
  transform: scale(1.1);
  box-shadow: 0 0 0 12px rgba(45, 106, 79, 0.2);
}
.onboard-step h4 {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 10px;
}
.onboard-step p {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}
.onboard-card {
  margin-top: 48px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.onboard-card h3 {
  font-family: "Instrument Serif", serif;
  font-size: 1.6rem;
  color: white;
  margin-bottom: 12px;
}
.onboard-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 24px;
}
.onboard-form-mock {
  background: white;
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mock-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mock-field label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.mock-input {
  padding: 12px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--cream);
}
.mock-input.filled {
  border-color: var(--green);
  background: var(--green-pale);
  color: var(--green);
  font-weight: 500;
}
.mock-submit {
  padding: 14px;
  border-radius: 100px;
  background: var(--green);
  color: white;
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s;
}
.mock-submit:hover {
  background: var(--green-mid);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .dive-panel.active {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .onboard-flow {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .onboard-flow::before {
    display: none;
  }
  .onboard-card {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  nav {
    padding: 16px 20px;
    background: var(--cream);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--cream);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 28px;
    z-index: 200;
    padding-top: 100px;
    padding-bottom: 40px;
    overflow-y: auto;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    font-size: 1.4rem;
  }
  .nav-hamburger {
    display: flex;
    z-index: 300;
    position: relative;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 100px 20px 60px;
    text-align: center;
  }
  .hero-sub {
    margin: 0 auto 32px;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-trust {
    justify-content: center;
  }
  .hero-visual {
    order: -1;
  }
  .phone-mockup {
    width: 220px;
  }
  .float-card-1 {
    display: none;
  }
  .float-card-2 {
    display: none;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .feature-card.highlight {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
  .testimonials {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .price-card.featured {
    transform: scale(1);
  }
  .price-card.featured:hover {
    transform: translateY(-4px);
  }
  .schools-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .section {
    padding: 60px 20px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand {
    grid-column: span 2;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* --- ABOUT PAGE CSS --- */

:root {
  --cream: #faf8f3;
  --warm-white: #fffef9;
  --ink: #1a1a18;
  --ink-light: #4a4a46;
  --ink-muted: #8a8a84;
  --green: #2d6a4f;
  --green-mid: #40916c;
  --green-light: #b7e4c7;
  --green-pale: #d8f3dc;
  --amber: #f4a261;
  --amber-light: #ffe8d6;
  --border: #e8e4da;
  --shadow: rgba(26, 26, 24, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "DM Sans", sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s;
}
.nav-logo {
  font-family: "Instrument Serif", serif;
  font-size: 1.6rem;
  color: var(--green);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.nav-logo span {
  color: var(--ink);
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-light);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--green);
}
.nav-links a.active {
  color: var(--green);
  font-weight: 600;
}
.nav-cta {
  background: var(--green) !important;
  color: var(--warm-white) !important;
  padding: 10px 22px;
  border-radius: 100px;
  font-weight: 600 !important;
  transition:
    background 0.2s,
    transform 0.15s !important;
}
.nav-cta:hover {
  background: var(--green-mid) !important;
  transform: translateY(-1px);
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  border: none;
  background: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── HERO ── */
.about-hero {
  padding: 148px 40px 80px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-pale);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
  animation: fadeUp 0.5s ease both;
}
.about-hero h1 {
  font-family: "Instrument Serif", serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 28px;
  animation: fadeUp 0.5s 0.1s ease both;
}
.about-hero h1 em {
  font-style: italic;
  color: var(--green);
}
.about-hero p {
  font-size: 1.2rem;
  color: var(--ink-light);
  line-height: 1.75;
  max-width: 620px;
  margin: 0 auto;
  font-weight: 300;
  animation: fadeUp 0.5s 0.2s ease both;
}

/* ── ORIGIN STORY ── */
.origin-section {
  padding: 80px 40px;
  background: var(--warm-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.origin-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.origin-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
  display: block;
}
.origin-title {
  font-family: "Instrument Serif", serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 24px;
}
.origin-title em {
  font-style: italic;
  color: var(--green);
}
.origin-body {
  font-size: 1rem;
  color: var(--ink-light);
  line-height: 1.8;
  font-weight: 300;
}
.origin-body p + p {
  margin-top: 18px;
}
.origin-visual {
  position: relative;
}
.origin-card-main {
  background: var(--ink);
  border-radius: 24px;
  padding: 40px;
  color: white;
  position: relative;
  overflow: hidden;
}
.origin-card-main::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    ellipse,
    rgba(45, 106, 79, 0.5) 0%,
    transparent 70%
  );
  border-radius: 50%;
}
.origin-quote {
  font-family: "Instrument Serif", serif;
  font-size: 1.4rem;
  font-style: italic;
  line-height: 1.5;
  color: white;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.origin-quote::before {
  content: "\201C";
  font-size: 4rem;
  color: var(--green-light);
  line-height: 0;
  vertical-align: -1.2rem;
  margin-right: 4px;
  font-style: normal;
}
.origin-attr {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.origin-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Instrument Serif", serif;
  font-size: 1.1rem;
  color: white;
}
.origin-attr-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: white;
}
.origin-attr-role {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}
.origin-float {
  position: absolute;
  bottom: -20px;
  left: -24px;
  background: white;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 12px 40px var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}
.origin-float-icon {
  font-size: 1.6rem;
}
.origin-float-text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}
.origin-float-text span {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

/* ── MISSION ── */
.mission-section {
  padding: 100px 40px;
}
.mission-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.mission-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  background: var(--warm-white);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.mission-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px var(--shadow);
}
.mission-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  opacity: 0;
  transition: opacity 0.3s;
}
.mission-card:hover::after {
  opacity: 1;
}
.mission-icon {
  font-size: 2rem;
  margin-bottom: 20px;
  display: block;
}
.mission-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.mission-card p {
  font-size: 0.88rem;
  color: var(--ink-light);
  line-height: 1.7;
}

/* ── TEAM ── */
.team-section {
  background: var(--warm-white);
  padding: 100px 40px;
}
.team-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
  display: block;
}
.section-title {
  font-family: "Instrument Serif", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 20px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--ink-light);
  line-height: 1.7;
  max-width: 540px;
  font-weight: 300;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 60px;
}
.team-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px var(--shadow);
}
.team-card-top {
  padding: 40px 40px 32px;
  position: relative;
  overflow: hidden;
  background: var(--ink);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.team-card:nth-child(1) .team-card-top {
  background: linear-gradient(135deg, #1a2e23 0%, #2d6a4f 100%);
}
.team-card:nth-child(2) .team-card-top {
  background: linear-gradient(135deg, #1a1a18 0%, #2a3a4a 100%);
}
.team-card-top::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(
    ellipse,
    rgba(183, 228, 199, 0.15) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

/* Circular headshot placeholder */
.team-headshot-wrap {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-end;
  gap: 16px;
}
.team-headshot {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 3px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  /* ↓ Swap src on the <img> inside when you have a real photo */
}
.team-headshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 50%;
}
/* Placeholder shown when no real photo yet */
.team-headshot .headshot-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.04) 100%
  );
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.25);
}
.headshot-placeholder .ph-icon {
  font-size: 1.8rem;
  line-height: 1;
  filter: grayscale(0.3) opacity(0.75);
}
.headshot-placeholder .ph-label {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  line-height: 1.2;
}
/* Hover hint */
.team-headshot:hover .headshot-placeholder {
  border-color: rgba(183, 228, 199, 0.5);
}
.team-headshot:hover .headshot-placeholder .ph-label {
  color: var(--green-light);
}

.team-name {
  font-family: "Instrument Serif", serif;
  font-size: 2rem;
  color: white;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
  line-height: 1;
}
.team-role {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-light);
  position: relative;
  z-index: 1;
}
.team-card-body {
  padding: 36px 40px 40px;
}
.team-quote {
  font-family: "Instrument Serif", serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 20px;
  padding-left: 20px;
  border-left: 3px solid var(--green-light);
}
.team-bio {
  font-size: 0.9rem;
  color: var(--ink-light);
  line-height: 1.8;
  font-weight: 300;
}
.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.team-tag {
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--green-pale);
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ── VALUES ── */
.values-section {
  background: var(--ink);
  padding: 100px 40px;
  position: relative;
  overflow: hidden;
}
.values-section::before {
  content: "";
  position: absolute;
  top: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    ellipse,
    rgba(45, 106, 79, 0.25) 0%,
    transparent 65%
  );
  border-radius: 50%;
  pointer-events: none;
}
.values-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.values-section .section-label {
  color: var(--green-light);
}
.values-section .section-title {
  color: white;
}
.values-section .section-sub {
  color: rgba(255, 255, 255, 0.55);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 60px;
}
.value-item {
  padding: 32px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: background 0.2s;
}
.value-item:hover {
  background: rgba(255, 255, 255, 0.07);
}
.value-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(45, 106, 79, 0.3);
  border: 1px solid rgba(45, 106, 79, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.value-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 8px;
}
.value-item p {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
}

/* ── CTA ── */
.about-cta {
  padding: 100px 40px;
  text-align: center;
  background: var(--cream);
}
.about-cta-inner {
  max-width: 680px;
  margin: 0 auto;
}
.about-cta h2 {
  font-family: "Instrument Serif", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 20px;
}
.about-cta h2 em {
  font-style: italic;
  color: var(--green);
}
.about-cta p {
  font-size: 1.05rem;
  color: var(--ink-light);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 40px;
}
.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: white;
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 100px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.15s,
    box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(45, 106, 79, 0.25);
}
.btn-primary:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45, 106, 79, 0.3);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 16px 28px;
  border-radius: 100px;
  text-decoration: none;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s,
    transform 0.15s;
}
.btn-secondary:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-pale);
  transform: translateY(-2px);
}

/* ── FOOTER ── */
footer {
  background: var(--ink);
  padding: 60px 40px 32px;
  color: rgba(255, 255, 255, 0.6);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo {
  display: inline-block;
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  max-width: 240px;
}
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: white;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p {
  font-size: 0.8rem;
}
.footer-socials {
  display: flex;
  gap: 12px;
}
.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  transition:
    background 0.2s,
    color 0.2s;
}
.social-icon:hover {
  background: var(--green);
  color: white;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  nav {
    padding: 16px 20px;
    background: var(--cream);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--cream);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 28px;
    z-index: 200;
    padding-top: 100px;
    padding-bottom: 40px;
    overflow-y: auto;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    font-size: 1.4rem;
  }
  .nav-hamburger {
    display: flex;
    z-index: 300;
    position: relative;
  }
  .about-hero {
    padding: 120px 20px 60px;
  }
  .origin-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .origin-float {
    display: none;
  }
  .mission-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand {
    grid-column: span 2;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .section-inner,
  .mission-inner,
  .team-inner,
  .values-inner {
    padding: 0;
  }
}

/* --- PRIVACY PAGE CSS --- */
/* ── HERO ── */
.privacy-hero {
  padding: 140px 40px 64px;
  max-width: 800px;
  margin: 0 auto;
}
.privacy-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-pale);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
  animation: fadeUp 0.5s ease both;
}
.privacy-hero h1 {
  font-family: "Instrument Serif", serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 20px;
  animation: fadeUp 0.5s 0.1s ease both;
}
.privacy-hero h1 em {
  font-style: italic;
  color: var(--green);
}
.privacy-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  animation: fadeUp 0.5s 0.2s ease both;
}
.privacy-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--ink-muted);
}
.privacy-meta-item span {
  font-size: 0.95rem;
}

/* ── LAYOUT ── */
.privacy-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px 100px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 60px;
  align-items: start;
}

/* ── SIDEBAR TOC ── */
.toc {
  position: sticky;
  top: 96px;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
}
.toc-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 16px;
}
.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.toc-list li a {
  display: block;
  padding: 7px 10px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.82rem;
  color: var(--ink-light);
  font-weight: 500;
  transition:
    background 0.15s,
    color 0.15s;
  line-height: 1.4;
}
.toc-list li a:hover {
  background: var(--green-pale);
  color: var(--green);
}
.toc-list li a.toc-active {
  background: var(--green-pale);
  color: var(--green);
  font-weight: 600;
}
.toc-contact {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.toc-contact p {
  font-size: 0.78rem;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: 8px;
}
.toc-contact a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  transition: opacity 0.2s;
}
.toc-contact a:hover {
  opacity: 0.7;
}

/* ── CONTENT ── */
.privacy-content {
  min-width: 0;
}

/* Intro box */
.privacy-intro {
  background: var(--green);
  border-radius: 18px;
  padding: 32px 36px;
  margin-bottom: 48px;
  animation: fadeUp 0.5s 0.3s ease both;
}
.privacy-intro p {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.75;
  font-weight: 300;
}
.privacy-intro p + p {
  margin-top: 12px;
}
.privacy-intro strong {
  color: white;
  font-weight: 600;
}

/* Section blocks */
.privacy-section {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  animation: fadeUp 0.5s ease both;
}
.privacy-section:last-of-type {
  border-bottom: none;
}
.section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--green-pale);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 14px;
  flex-shrink: 0;
}
.privacy-section h2 {
  font-family: "Instrument Serif", serif;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 18px;
  line-height: 1.25;
  display: flex;
  align-items: center;
  gap: 12px;
}
.privacy-section p {
  font-size: 0.93rem;
  color: var(--ink-light);
  line-height: 1.8;
  font-weight: 300;
}
.privacy-section p + p {
  margin-top: 14px;
}

/* Lists */
.privacy-list {
  list-style: none;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.privacy-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--ink-light);
  line-height: 1.65;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--warm-white);
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}
.privacy-list li:hover {
  border-color: var(--green-light);
}
.privacy-list li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 0.85rem;
}
.privacy-list.cross li::before {
  content: "✕";
  color: #e57373;
}
.privacy-list.plain li::before {
  content: "→";
  color: var(--green-mid);
}

/* Sub-heading inside section */
.privacy-section h3 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 24px 0 12px;
}

/* Highlight callout */
.callout {
  border-radius: 12px;
  padding: 18px 22px;
  margin: 20px 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.callout.green {
  background: var(--green-pale);
  border: 1px solid var(--green-light);
}
.callout.amber {
  background: var(--amber-light);
  border: 1px solid #f4a261;
}
.callout-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.callout p {
  font-size: 0.88rem;
  color: var(--ink-light);
  line-height: 1.7;
}
.callout p strong {
  color: var(--ink);
  font-weight: 600;
}
.callout a {
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
}
.callout a:hover {
  text-decoration: underline;
}

/* Rights grid */
.rights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0;
}
.right-card {
  padding: 18px 20px;
  border-radius: 12px;
  background: var(--warm-white);
  border: 1px solid var(--border);
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.right-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow);
}
.right-card-icon {
  font-size: 1.3rem;
  margin-bottom: 8px;
  display: block;
}
.right-card h4 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.right-card p {
  font-size: 0.8rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* Opt-out action bar */
.optout-bar {
  background: var(--ink);
  border-radius: 14px;
  padding: 24px 28px;
  margin: 24px 0;
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.optout-bar p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  flex: 1;
  line-height: 1.6;
}
.optout-bar p strong {
  color: white;
}
.optout-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: white;
  font-family: "DM Sans", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 100px;
  text-decoration: none;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.15s;
}
.optout-btn:hover {
  background: var(--green-mid);
  transform: translateY(-1px);
}

/* Terms links */
.terms-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
.terms-link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border-radius: 14px;
  background: var(--warm-white);
  border: 1px solid var(--border);
  text-decoration: none;
  transition:
    border-color 0.2s,
    transform 0.15s,
    box-shadow 0.15s;
}
.terms-link-card:hover {
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--shadow);
}
.terms-link-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}
.terms-link-card strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}
.terms-link-card span {
  font-size: 0.78rem;
  color: var(--ink-muted);
}
.terms-link-arrow {
  margin-left: auto;
  color: var(--green);
  font-size: 1rem;
}

/* ANIMATIONS */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .privacy-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .toc {
    position: static;
  }
}
@media (max-width: 768px) {
  .privacy-hero {
    padding: 120px 20px 48px;
  }
  .privacy-layout {
    padding: 0 20px 80px;
  }
  .rights-grid {
    grid-template-columns: 1fr;
  }
  .terms-links {
    grid-template-columns: 1fr;
  }
  .optout-bar {
    flex-direction: column;
    gap: 16px;
  }
}

/* ══════════════════════════════════════════════════════════════
   THEME TOGGLE BUTTON
   ══════════════════════════════════════════════════════════════ */
.theme-toggle {
  background: none;
  border: 1.5px solid var(--border);
  color: var(--ink-muted);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  flex-shrink: 0;
  line-height: 1;
  position: relative;
}
.theme-toggle:hover {
  background: var(--border);
  color: var(--ink);
  border-color: var(--ink-muted);
}
/* Icons via CSS content — no innerHTML needed */
.theme-toggle::before                       { content: '⊙'; }
.theme-toggle[data-pref="light"]::before   { content: '☀'; }
.theme-toggle[data-pref="dark"]::before    { content: '☾'; }
.theme-toggle[data-pref="system"]::before  { content: '⊙'; }

/* ══════════════════════════════════════════════════════════════
   DARK THEME — light pages (about, privacy, portal, etc.)
   Applied via html[data-theme="dark"] set by theme-toggle JS.
   Home and signup pages manage their own dark overrides.
   ══════════════════════════════════════════════════════════════ */
html[data-theme="dark"] {
  --cream:      #0d0d0d;
  --warm-white: #131313;
  --ink:        #f0ebe0;
  --ink-light:  #cec9bf;
  --ink-muted:  #888880;
  --green:      #25D366;
  --green-mid:  #1db954;
  --green-light: #0e4d2a;
  --green-pale: rgba(37,211,102,0.06);
  --border:     #2a2a2a;
  --border-focus: #25D366;
  --shadow:     rgba(0,0,0,0.35);
}
html[data-theme="dark"] body {
  background: var(--cream);
  color: var(--ink);
}
html[data-theme="dark"] nav {
  background: rgba(13, 13, 13, 0.92);
  border-bottom-color: var(--border);
}
html[data-theme="dark"] .nav-links a   { color: var(--ink-muted); }
html[data-theme="dark"] .nav-links a:hover { color: var(--ink); }
html[data-theme="dark"] .nav-hamburger span { background: var(--ink); }
html[data-theme="dark"] .nav-logo img  { filter: brightness(10) saturate(0); }

/* Theme toggle styling inside dark nav */
html[data-theme="dark"] .theme-toggle {
  border-color: #3a3a3a;
  color: #888;
}
html[data-theme="dark"] .theme-toggle:hover {
  background: #2a2a2a;
  color: #f0ebe0;
  border-color: #555;
}

html[data-theme="dark"] footer {
  background: #080808;
  border-top-color: #2a2a2a;
  color: var(--ink);
}
html[data-theme="dark"] footer .footer-brand p,
html[data-theme="dark"] footer .footer-col h4,
html[data-theme="dark"] footer .footer-col a  { color: #888880; }
html[data-theme="dark"] footer .footer-col a:hover,
html[data-theme="dark"] footer .footer-socials a:hover { color: var(--ink); }
html[data-theme="dark"] footer .footer-bottom { border-top-color: #2a2a2a; }
html[data-theme="dark"] footer .footer-bottom p { color: #555; }
html[data-theme="dark"] footer .nav-logo img   { filter: brightness(10) saturate(0); }
html[data-theme="dark"] footer .social-icon    { color: #888880; border-color: #3a3a3a; }
html[data-theme="dark"] footer .social-icon:hover { color: var(--ink); border-color: #888; background: transparent; }

/* Common elements */
html[data-theme="dark"] .card,
html[data-theme="dark"] .feature-card   { background: #181818; border-color: #2a2a2a; }
html[data-theme="dark"] .hero           { background: var(--cream); }
html[data-theme="dark"] section         { background: var(--cream); }

/* ── New nav/footer structure (text logo, ul nav-links, new footer grid) ── */

/* Text logo — Bebas Neue for all pages; home.css overrides colour/size */
.nav-logo {
  font-family: 'Bebas Neue', 'Instrument Serif', serif;
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-decoration: none;
  font-style: normal;
}
.nav-logo span { color: var(--green); }

/* ul.nav-links reset — behaves identically to the old div.nav-links */
ul.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
ul.nav-links li { display: inline; }

/* New footer layout */
.footer-brand-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(56px, 9vw, 120px);
  line-height: 0.88;
  color: var(--ink);
}
.footer-brand-text span { color: var(--green); }

.footer-tagline {
  font-size: 13px;
  color: var(--ink-light);
  margin-top: 16px;
  font-weight: 300;
  max-width: 260px;
  line-height: 1.75;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-top: 12px;
}

.footer-col-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li { margin-bottom: 10px; }

.footer-copy {
  font-size: 12px;
  color: var(--ink-light);
  letter-spacing: 0.05em;
}

ul.footer-socials {
  list-style: none;
  padding: 0;
  margin: 0;
}
ul.footer-socials li { display: inline; }

@media (max-width: 768px) {
  .footer-links { grid-template-columns: repeat(2, 1fr); }

  /* Mobile nav overlay — li must be block so flex-direction:column works */
  ul.nav-links li { display: block; }
  ul.nav-links a   { font-size: 1.4rem; font-weight: 500; }

  /* Restore padding that the global ul.nav-links reset overrides */
  ul.nav-links { padding-top: 100px; padding-bottom: 40px; }

  /* Active link in mobile overlay */
  .nav-links a.active { color: var(--green) !important; font-weight: 700; }
  .nav-links a.active::after { display: none; }

  /* Hide the CTA button inside the full-screen overlay to keep it clean */
  .nav-links.open ~ .nav-cta { opacity: 0; pointer-events: none; }
}

@media (max-width: 480px) {
  .footer-links { grid-template-columns: 1fr; gap: 28px; }
  ul.footer-socials { display: flex; flex-wrap: wrap; gap: 12px; }
  ul.footer-socials li { display: inline-flex; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}
