/* ── lern.life Design System ─────────────────────────────────────── */

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

/* ── Tokens ─────────────────────────────────────────────────────── */
:root {
  --navy:       #091520;
  --navy-mid:   #0E1E2E;
  --teal:       #00C8BE;
  --teal-d:     #0A8C85;
  --teal-wash:  #EDF8F7;
  --white:      #FFFFFF;
  --text:       #111E2A;
  --text-mid:   #3A5060;
  --text-light: #6A7E8C;
  --blue-bg:    #EEF2FF;
  --blue-ac:    #364EC0;
  --orange-bg:  #FFF0E8;
  --orange-ac:  #C05A28;
  --green-bg:   #EDFFF4;
  --green-ac:   #2A8A3A;
  --purple-bg:  #F5E8FF;
  --purple-ac:  #8030CC;
  --red-bg:     #FFF0EE;
  --red-ac:     #CC2222;
  --border:     rgba(0,200,190,0.18);
  --shadow:     0 4px 24px rgba(9,21,32,0.10);
  --shadow-lg:  0 8px 48px rgba(9,21,32,0.16);
  --radius:     14px;
  --radius-sm:  8px;
  --font:       'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* ── Reset ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Utilities ───────────────────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── Navigation ──────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
  background: rgba(9,21,32,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,200,190,0.10);
  transition: background 0.3s;
}
.nav-logo {
  font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em;
  color: var(--white);
}
.nav-logo span { color: var(--teal); }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--teal); }
.nav-cta {
  display: inline-flex; align-items: center;
  background: var(--teal); color: var(--navy);
  padding: 9px 22px; border-radius: 50px;
  font-size: 0.875rem; font-weight: 700;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: #00E0D5; transform: translateY(-1px); }

/* Mobile menu */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; cursor: pointer;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px; transition: 0.3s;
}
.mobile-menu {
  display: none; position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
  background: var(--navy); z-index: 999;
  flex-direction: column; align-items: center; justify-content: center; gap: 40px;
}
.mobile-menu a {
  font-size: 1.4rem; font-weight: 600; color: var(--white);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--teal); }
.mobile-menu.open { display: flex; }

/* ── Hero ────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh;
  background: var(--navy);
  display: flex; align-items: center;
  padding: 120px 24px 80px;
}
/* Signature arc circles — CSS-drawn brand motif */
.hero::before {
  content: '';
  position: absolute; top: -25%; right: -12%;
  width: 70vw; height: 70vw; max-width: 820px; max-height: 820px;
  border-radius: 50%;
  border: 2.5px solid rgba(0,200,190,0.18);
  pointer-events: none;
  animation: arc-breathe 8s ease-in-out infinite;
}
.hero::after {
  content: '';
  position: absolute; top: -8%; right: -4%;
  width: 45vw; height: 45vw; max-width: 540px; max-height: 540px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,200,190,0.10);
  pointer-events: none;
  animation: arc-breathe 8s ease-in-out infinite 1.5s;
}
@keyframes arc-breathe {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.04); opacity: 0.7; }
}
/* Corner bracket accent */
.hero-corner {
  position: absolute; top: 22px; right: 28px;
  width: 56px; height: 56px;
  border-top: 1.5px solid var(--teal);
  border-right: 1.5px solid var(--teal);
  opacity: 0.6;
}
.hero-corner::before {
  content: '';
  position: absolute; top: 10px; right: 10px;
  width: 22px; height: 22px;
  border: 1.5px solid var(--teal);
  opacity: 0.7;
}
.hero-dot {
  position: absolute; top: 38px; right: 90px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal); opacity: 0.6;
}

.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,200,190,0.12);
  border: 1px solid rgba(0,200,190,0.28);
  color: var(--teal); font-size: 0.8rem; font-weight: 600;
  padding: 5px 14px; border-radius: 50px;
  letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-brand {
  font-size: clamp(3.6rem, 8vw, 6.5rem);
  font-weight: 800; line-height: 0.95; letter-spacing: -0.04em;
  color: var(--white); margin-bottom: 24px;
}
.hero-brand em { color: var(--teal); font-style: normal; }
.hero-headline {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 400; color: rgba(255,255,255,0.62);
  max-width: 560px; line-height: 1.6; margin-bottom: 40px;
}
.hero-headline strong { color: rgba(255,255,255,0.88); font-weight: 600; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 64px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal); color: var(--navy);
  padding: 14px 28px; border-radius: 50px;
  font-size: 0.95rem; font-weight: 700;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0,200,190,0.3);
}
.btn-primary:hover { background: #00E0D5; transform: translateY(-2px); box-shadow: 0 6px 28px rgba(0,200,190,0.4); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid rgba(0,200,190,0.4); color: var(--teal);
  padding: 14px 28px; border-radius: 50px;
  font-size: 0.95rem; font-weight: 600;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.btn-outline:hover { border-color: var(--teal); background: rgba(0,200,190,0.08); transform: translateY(-2px); }

.hero-stats { display: flex; gap: 0; }
.hero-stat {
  padding-right: 40px; margin-right: 40px;
  border-right: 1px solid rgba(0,200,190,0.2);
}
.hero-stat:last-child { border-right: none; padding-right: 0; margin-right: 0; }
.hero-stat-num {
  font-size: 2.2rem; font-weight: 800; color: var(--teal);
  letter-spacing: -0.03em; line-height: 1;
}
.hero-stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.48); margin-top: 4px; }

/* ── Section Foundations ─────────────────────────────────────────── */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-dark { background: var(--navy); }
.section-wash { background: var(--teal-wash); }
.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--teal-d);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800; letter-spacing: -0.025em;
  color: var(--text); line-height: 1.15;
  margin-bottom: 20px;
}
.section-title-white { color: var(--white); }
.section-body {
  font-size: 1.05rem; color: var(--text-mid); max-width: 600px;
  line-height: 1.7; margin-bottom: 48px;
}
.section-body-white { color: rgba(255,255,255,0.64); }

/* ── Grid Layouts ─────────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ── Cards ───────────────────────────────────────────────────────── */
.card {
  background: var(--white); border-radius: var(--radius);
  padding: 32px; border: 1px solid rgba(0,200,190,0.12);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-teal  { background: var(--teal-wash); border-color: rgba(10,140,133,0.18); }
.card-blue  { background: var(--blue-bg);   border-color: rgba(54,78,192,0.15); }
.card-orange{ background: var(--orange-bg); border-color: rgba(192,90,40,0.15); }
.card-green { background: var(--green-bg);  border-color: rgba(42,138,58,0.15); }
.card-purple{ background: var(--purple-bg); border-color: rgba(128,48,204,0.15); }
.card-red   { background: var(--red-bg);    border-color: rgba(204,34,34,0.15); }

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal; font-style: normal;
  line-height: 1; letter-spacing: normal; text-transform: none;
  display: inline-block; white-space: nowrap; word-wrap: normal;
  direction: ltr; -webkit-font-smoothing: antialiased;
}

.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.card p  { font-size: 0.925rem; color: var(--text-mid); line-height: 1.65; }
.card-tag {
  display: inline-flex; align-items: center; align-self: flex-start;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; padding: 3px 10px; border-radius: 50px;
  margin-bottom: 12px;
}
.card-tag-teal   { background: rgba(10,140,133,0.12); color: var(--teal-d);   }
.card-tag-blue   { background: rgba(54,78,192,0.12);  color: var(--blue-ac);  }
.card-tag-orange { background: rgba(192,90,40,0.12);  color: var(--orange-ac);}
.card-tag-green  { background: rgba(42,138,58,0.12);  color: var(--green-ac); }
.card-tag-purple { background: rgba(128,48,204,0.12); color: var(--purple-ac);}
.card-tag-red    { background: rgba(204,34,34,0.10);  color: var(--red-ac);   }

/* Portal cards */
.portal-card {
  border-radius: var(--radius); padding: 36px 32px;
  display: flex; flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none; position: relative; overflow: hidden;
}
.portal-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.portal-card h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 8px; }
.portal-card p { font-size: 0.9rem; line-height: 1.6; margin-bottom: 24px; flex: 1; }
.portal-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.85rem; font-weight: 700;
}
.portal-card .status-badge {
  position: absolute; top: 20px; right: 20px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; padding: 3px 10px; border-radius: 50px;
}
.badge-live { background: rgba(42,138,58,0.15); color: var(--green-ac); }
.badge-soon { background: rgba(106,126,140,0.15); color: var(--text-light); }
.badge-pilot{ background: rgba(54,78,192,0.15); color: var(--blue-ac); }

/* ── Feature list ─────────────────────────────────────────────────── */
.feature-list { display: flex; flex-direction: column; gap: 0; }
.feature-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 24px 0; border-bottom: 1px solid rgba(0,200,190,0.12);
}
.feature-item:last-child { border-bottom: none; }
.feature-num {
  font-size: 0.75rem; font-weight: 800; color: var(--teal);
  font-variant-numeric: tabular-nums;
  min-width: 28px; padding-top: 3px;
}
.feature-body h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.feature-body p  { font-size: 0.9rem; color: var(--text-mid); }

/* ── Mission Section ─────────────────────────────────────────────── */
.mission-pull {
  background: var(--navy); padding: 96px 0;
  position: relative; overflow: hidden;
}
.mission-pull::before {
  content: '';
  position: absolute; top: -40%; right: -10%;
  width: 60vw; height: 60vw; max-width: 700px; max-height: 700px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,200,190,0.10);
  pointer-events: none;
}
.mission-quote {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 500; line-height: 1.55;
  color: rgba(255,255,255,0.82);
  font-style: italic; max-width: 780px;
  margin-bottom: 16px; position: relative; z-index: 2;
}
.mission-quote strong { color: var(--teal); font-style: normal; font-weight: 700; }
.mission-attr {
  font-size: 0.9rem; color: rgba(255,255,255,0.4);
  font-weight: 600; position: relative; z-index: 2;
  margin-bottom: 48px;
}
.mission-stats {
  display: flex; gap: 0; flex-wrap: wrap;
  position: relative; z-index: 2;
}
.mission-stat {
  padding-right: 48px; margin-right: 48px;
  border-right: 1px solid rgba(0,200,190,0.18);
}
.mission-stat:last-child { border: none; padding: 0; margin: 0; }
.mission-stat-num {
  font-size: 2.6rem; font-weight: 800; color: var(--teal);
  letter-spacing: -0.04em; line-height: 1;
}
.mission-stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.48); margin-top: 6px; }

/* ── Team ────────────────────────────────────────────────────────── */
.team-card {
  background: var(--white); border-radius: var(--radius);
  padding: 36px; border: 1px solid rgba(0,200,190,0.12);
  box-shadow: var(--shadow);
}
.team-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--teal-d); display: flex; align-items: center;
  justify-content: center; font-size: 1.4rem; color: var(--white);
  font-weight: 700; margin-bottom: 20px;
}
.team-name { font-size: 1.2rem; font-weight: 800; margin-bottom: 4px; }
.team-role { font-size: 0.85rem; color: var(--teal-d); font-weight: 600; margin-bottom: 16px; }
.team-bio  { font-size: 0.9rem; color: var(--text-mid); line-height: 1.65; margin-bottom: 20px; }
.team-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.team-tag {
  font-size: 0.72rem; font-weight: 600; color: var(--teal-d);
  background: var(--teal-wash); padding: 4px 12px; border-radius: 50px;
}

/* ── Trust bar ───────────────────────────────────────────────────── */
.trust-bar {
  background: var(--teal-wash);
  padding: 28px 0; border-top: 1px solid rgba(0,200,190,0.18);
  border-bottom: 1px solid rgba(0,200,190,0.18);
}
.trust-bar-inner {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap;
}
.trust-label {
  font-size: 0.78rem; font-weight: 700; color: var(--text-light);
  letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
  margin-right: 8px;
}
.trust-item {
  font-size: 0.88rem; font-weight: 600; color: var(--text);
  background: var(--white); padding: 6px 18px; border-radius: 50px;
  border: 1px solid rgba(0,200,190,0.2);
}

/* ── Contact ─────────────────────────────────────────────────────── */
.contact-section { background: var(--navy); padding: 96px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.6); }
.form-input, .form-textarea, .form-select {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(0,200,190,0.22);
  border-radius: var(--radius-sm); padding: 12px 16px;
  font-family: var(--font); font-size: 0.9rem; color: var(--white);
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none; border-color: var(--teal);
  background: rgba(255,255,255,0.09);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-select option { background: var(--navy); color: var(--white); }
.form-submit {
  background: var(--teal); color: var(--navy);
  padding: 14px 32px; border-radius: 50px;
  font-size: 0.95rem; font-weight: 700;
  border: none; cursor: pointer; transition: background 0.2s, transform 0.15s;
  align-self: flex-start;
}
.form-submit:hover { background: #00E0D5; transform: translateY(-2px); }

/* ── Footer ──────────────────────────────────────────────────────── */
.footer {
  background: var(--navy-mid); border-top: 1px solid rgba(0,200,190,0.10);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand { }
.footer-logo { font-size: 1.5rem; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.footer-logo span { color: var(--teal); }
.footer-tagline { font-size: 0.875rem; color: rgba(255,255,255,0.45); line-height: 1.6; max-width: 260px; }
.footer-col h4 {
  font-size: 0.78rem; font-weight: 700; color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.875rem; color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 0.82rem; color: rgba(255,255,255,0.3); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 0.82rem; color: rgba(255,255,255,0.3); transition: color 0.2s; }
.footer-legal a:hover { color: var(--teal); }

/* ── Inner page hero ─────────────────────────────────────────────── */
.page-hero {
  background: var(--navy); padding: 140px 24px 72px;
  border-bottom: 1px solid rgba(0,200,190,0.1);
}
.page-hero-inner { max-width: 720px; }
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--white);
  letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 16px;
}
.page-hero p { font-size: 1rem; color: rgba(255,255,255,0.55); }
.page-hero .breadcrumb {
  font-size: 0.8rem; color: rgba(255,255,255,0.35);
  margin-bottom: 16px; display: flex; gap: 6px; align-items: center;
}
.page-hero .breadcrumb a { color: var(--teal); }
.page-hero .breadcrumb span { color: rgba(255,255,255,0.2); }

/* ── Content page (legal / FAQ) ──────────────────────────────────── */
.content-page { padding: 72px 0 96px; }
.content-page .container { max-width: 800px; }
.content-section { margin-bottom: 48px; }
.content-section h2 {
  font-size: 1.3rem; font-weight: 700; color: var(--text);
  margin-bottom: 12px; padding-bottom: 10px;
  border-bottom: 2px solid var(--teal-wash);
}
.content-section h3 {
  font-size: 1.05rem; font-weight: 700; color: var(--text);
  margin: 20px 0 8px;
}
.content-section p {
  font-size: 0.95rem; color: var(--text-mid); line-height: 1.75;
  margin-bottom: 12px;
}
.content-section ul {
  margin: 10px 0 12px 0;
  display: flex; flex-direction: column; gap: 8px;
}
.content-section ul li {
  font-size: 0.95rem; color: var(--text-mid); line-height: 1.65;
  padding-left: 20px; position: relative;
}
.content-section ul li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal-d);
}
.content-section a { color: var(--teal-d); text-decoration: underline; text-underline-offset: 3px; }
.content-section a:hover { color: var(--teal); }

/* Last updated badge */
.meta-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal-wash); padding: 8px 16px; border-radius: 50px;
  font-size: 0.8rem; color: var(--teal-d); font-weight: 600;
  margin-bottom: 48px;
}

/* ── FAQ ─────────────────────────────────────────────────────────── */
.faq-category { margin-bottom: 48px; }
.faq-category-title {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--teal-d);
  margin-bottom: 16px; padding-bottom: 8px;
  border-bottom: 2px solid var(--teal-wash);
}
.faq-item {
  border-bottom: 1px solid rgba(0,200,190,0.12);
}
.faq-question {
  width: 100%; text-align: left; padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 1rem; font-weight: 600; color: var(--text);
  cursor: pointer; background: none; border: none; font-family: inherit;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--teal-d); }
.faq-question:focus-visible {
  outline: 2px solid var(--teal-d);
  outline-offset: 4px;
  border-radius: 4px;
}
.faq-question:focus:not(:focus-visible) { outline: none; }
.faq-icon {
  flex-shrink: 0; width: 24px; height: 24px;
  border: 1.5px solid var(--teal-d); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--teal-d);
  transition: transform 0.3s, background 0.2s;
}
.faq-answer {
  font-size: 0.925rem; color: var(--text-mid); line-height: 1.72;
  padding: 0 0 20px; display: none;
}
.faq-answer a { color: var(--teal-d); text-decoration: underline; text-underline-offset: 3px; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--teal-d); color: var(--white); }
.faq-item.open .faq-answer { display: block; }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .hero { padding: 100px 20px 60px; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .hero-stat { border: none; padding: 0; margin: 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .mission-stats { flex-direction: column; gap: 24px; }
  .mission-stat { border: none; padding: 0; margin: 0; }
  .section, .mission-pull, .contact-section { padding: 64px 0; }
  .trust-bar-inner { justify-content: center; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-outline { justify-content: center; }
  .hero-brand { font-size: 3rem; }
}

/* ── Scroll animations ───────────────────────────────────────────── */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── Divider ─────────────────────────────────────────────────────── */
.teal-line {
  width: 48px; height: 3px; background: var(--teal);
  border-radius: 2px; margin-bottom: 24px;
}

/* ══════════════════════════════════════════════════════════════
   LIGHT MODE THEME SYSTEM
   Applied via [data-theme="light"] on <html>
   Default (no attribute or data-theme="dark") = dark mode for
   all dark sections (nav, hero, mission, contact, footer).
   ══════════════════════════════════════════════════════════════ */

/* ── Theme Toggle Button ──────────────────────────────────────── */
.theme-toggle {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0,200,190,0.12);
  border: 1px solid rgba(0,200,190,0.22);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
  transition: background 0.2s, transform 0.15s;
  margin-left: 8px;
}
.theme-toggle:hover { background: rgba(0,200,190,0.24); transform: scale(1.08); }
.theme-toggle svg { width: 17px; height: 17px; }

/* show moon in dark mode (offering to switch to light) */
.icon-sun  { display: none; }
.icon-moon { display: block; }
[data-theme="light"] .icon-sun  { display: block; }
[data-theme="light"] .icon-moon { display: none; }

/* ── Navigation ───────────────────────────────────────────────── */
[data-theme="light"] .nav {
  background: rgba(255,255,255,0.96);
  border-bottom-color: rgba(10,140,133,0.14);
  box-shadow: 0 1px 16px rgba(9,21,32,0.06);
}
[data-theme="light"] .nav-logo { color: var(--navy); }
[data-theme="light"] .nav-links a { color: rgba(17,30,42,0.6); }
[data-theme="light"] .nav-links a:hover { color: var(--teal-d); }
[data-theme="light"] .theme-toggle {
  background: rgba(10,140,133,0.1);
  border-color: rgba(10,140,133,0.2);
}
[data-theme="light"] .theme-toggle:hover { background: rgba(10,140,133,0.2); }
[data-theme="light"] .nav-hamburger span { background: var(--navy); }

/* ── Mobile Menu ──────────────────────────────────────────────── */
[data-theme="light"] .mobile-menu { background: var(--white); }
[data-theme="light"] .mobile-menu a { color: var(--navy); }
[data-theme="light"] .mobile-menu a:hover { color: var(--teal-d); }

/* ── Hero ─────────────────────────────────────────────────────── */
[data-theme="light"] .hero {
  background: linear-gradient(140deg, #EDF8F7 0%, #F8FFFE 55%, #FFFFFF 100%);
}
[data-theme="light"] .hero::before {
  border-color: rgba(10,140,133,0.13);
}
[data-theme="light"] .hero::after {
  border-color: rgba(10,140,133,0.08);
}
[data-theme="light"] .hero-corner {
  border-color: var(--teal-d);
  opacity: 0.5;
}
[data-theme="light"] .hero-dot { background: var(--teal-d); opacity: 0.5; }
[data-theme="light"] .hero-tag {
  background: rgba(10,140,133,0.09);
  border-color: rgba(10,140,133,0.22);
  color: var(--teal-d);
}
[data-theme="light"] .hero-brand { color: var(--navy); }
[data-theme="light"] .hero-headline { color: rgba(17,30,42,0.6); }
[data-theme="light"] .hero-headline strong { color: var(--navy); }
[data-theme="light"] .btn-outline {
  border-color: rgba(10,140,133,0.4);
  color: var(--teal-d);
}
[data-theme="light"] .btn-outline:hover {
  background: rgba(10,140,133,0.08);
  border-color: var(--teal-d);
}
[data-theme="light"] .hero-stat-num { color: var(--teal-d); }
[data-theme="light"] .hero-stat-label { color: rgba(17,30,42,0.45); }
[data-theme="light"] .hero-stat { border-right-color: rgba(10,140,133,0.2); }

/* ── Trust Bar ────────────────────────────────────────────────── */
[data-theme="light"] .trust-bar {
  background: #E6F4F3;
  border-color: rgba(10,140,133,0.2);
}

/* ── Mission Pull ─────────────────────────────────────────────── */
[data-theme="light"] .mission-pull { background: var(--teal-d); }
[data-theme="light"] .mission-pull::before { border-color: rgba(255,255,255,0.1); }
[data-theme="light"] .mission-pull .section-eyebrow { color: rgba(255,255,255,0.75); }
[data-theme="light"] .mission-pull .mission-quote { color: rgba(255,255,255,0.9); }
[data-theme="light"] .mission-pull .mission-quote strong { color: #FFFFFF; }
[data-theme="light"] .mission-pull .mission-attr { color: rgba(255,255,255,0.55); }
[data-theme="light"] .mission-pull .section-title-white { color: #FFFFFF; }
[data-theme="light"] .mission-pull .section-body-white { color: rgba(255,255,255,0.72); }
[data-theme="light"] .mission-pull .mission-stat-num { color: #FFFFFF; }
[data-theme="light"] .mission-pull .mission-stat-label { color: rgba(255,255,255,0.58); }
[data-theme="light"] .mission-pull .mission-stat { border-right-color: rgba(255,255,255,0.18); }
[data-theme="light"] .mission-pull .teal-line { background: rgba(255,255,255,0.6); }

/* ── Contact Section ──────────────────────────────────────────── */
[data-theme="light"] .contact-section { background: var(--teal-wash); }
[data-theme="light"] .contact-section .section-eyebrow { color: var(--teal-d); }
[data-theme="light"] .contact-section .section-title-white { color: var(--navy); }
[data-theme="light"] .contact-section .section-body-white { color: var(--text-mid); }
[data-theme="light"] .contact-section a[style],
[data-theme="light"] .contact-section span[style*="rgba(255,255,255"] {
  color: var(--text-mid) !important;
}
[data-theme="light"] .contact-section span[style*="color:var(--teal)"] {
  color: var(--teal-d) !important;
}
[data-theme="light"] .form-label { color: var(--text-mid); }
[data-theme="light"] .form-input,
[data-theme="light"] .form-textarea,
[data-theme="light"] .form-select {
  background: rgba(255,255,255,0.9);
  border-color: rgba(10,140,133,0.28);
  color: var(--text);
}
[data-theme="light"] .form-input::placeholder,
[data-theme="light"] .form-textarea::placeholder { color: var(--text-light); }
[data-theme="light"] .form-input:focus,
[data-theme="light"] .form-textarea:focus,
[data-theme="light"] .form-select:focus {
  background: #FFFFFF;
  border-color: var(--teal-d);
}
[data-theme="light"] .form-select option { background: var(--white); color: var(--text); }

/* ── Footer ───────────────────────────────────────────────────── */
[data-theme="light"] .footer {
  background: #E2F0EF;
  border-top-color: rgba(10,140,133,0.15);
}
[data-theme="light"] .footer-logo { color: var(--navy); }
[data-theme="light"] .footer-logo span { color: var(--teal-d); }
[data-theme="light"] .footer-tagline { color: var(--text-mid); }
[data-theme="light"] .footer-col h4 { color: var(--text-light); }
[data-theme="light"] .footer-col a { color: var(--text-mid); }
[data-theme="light"] .footer-col a:hover { color: var(--teal-d); }
[data-theme="light"] .footer-bottom { border-top-color: rgba(10,140,133,0.15); }
[data-theme="light"] .footer-copy { color: var(--text-light); }
[data-theme="light"] .footer-legal a { color: var(--text-light); }
[data-theme="light"] .footer-legal a:hover { color: var(--teal-d); }

/* ── Inner Page Hero ──────────────────────────────────────────── */
[data-theme="light"] .page-hero {
  background: #F0F9F8;
  border-bottom-color: rgba(10,140,133,0.14);
}
[data-theme="light"] .page-hero h1 { color: var(--navy); }
[data-theme="light"] .page-hero p { color: var(--text-mid); }
[data-theme="light"] .page-hero .breadcrumb { color: var(--text-light); }
[data-theme="light"] .page-hero .breadcrumb a { color: var(--teal-d); }
[data-theme="light"] .page-hero .breadcrumb span { color: rgba(17,30,42,0.2); }

/* smooth transition between modes */
.nav, .hero, .hero::before, .hero::after, .hero-corner,
.hero-brand, .hero-headline, .hero-tag, .hero-stat-num,
.hero-stat-label, .mission-pull, .contact-section,
.footer, .page-hero, .mobile-menu, .trust-bar {
  transition: background 0.35s ease, color 0.25s ease,
              border-color 0.25s ease, box-shadow 0.25s ease;
}
