/* ══════════════════════════════════════════════════════════════
   LANDING.CSS — "The Three Gates"
   Jemke Solutions | 2026
   Full-viewport, expanding panels, video backgrounds
   Dark mode default · Light mode toggle
══════════════════════════════════════════════════════════════ */

/* ── Smooth theme transitions ── */
html { transition: background-color .4s ease, color .3s ease; }

*, *::before, *::after {
  transition:
    background-color .32s ease,
    border-color     .32s ease,
    color            .24s ease,
    box-shadow       .32s ease,
    opacity          .28s ease;
}

/* Don't slow down media/canvas */
video, canvas, img { transition: opacity .5s ease, transform .75s cubic-bezier(.4,0,.2,1) !important; }

/* ══════════════════════════════════════════════════════════════
   BODY RESET
══════════════════════════════════════════════════════════════ */
body.landing-page {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  background: #06090d;
  overflow-x: hidden;
}

/* Kill the grid overlay from styles.css */
body.landing-page::before { display: none !important; }

/* Kill UI clutter on landing */
body.landing-page .growth-vine,
body.landing-page .ambient,
body.landing-page #plantTop,
body.landing-page .plant-top,
body.landing-page .chapter-rail-auto,
body.landing-page .chapter-rail-mobile-toggle--auto { display: none !important; }

/* ══════════════════════════════════════════════════════════════
   NAV
══════════════════════════════════════════════════════════════ */
.ln-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.6rem;
  height: 58px;
  background: rgba(6, 9, 13, 0.72);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ln-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #f0f6ff;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.ln-brand img { width: 28px; height: 28px; filter: brightness(0) invert(1); opacity: 0.9; }
html[data-theme="light"] .ln-brand img { filter: none; opacity: 1; }

.ln-contacts {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  /* leave room for the fixed theme toggle */
  padding-right: 7rem;
}

.ln-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.34rem 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(240, 246, 255, 0.72);
  text-decoration: none;
  font-size: 0.78rem;
  font-family: var(--font-heading);
  font-weight: 600;
  white-space: nowrap;
}

.ln-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  color: #f0f6ff;
}

/* ── Theme toggle (ui.js moves it to body; we hold it fixed in the nav strip) ── */
body.landing-page #themeToggle.theme-toggle {
  position: fixed !important;
  top: 12px !important;
  right: 1.6rem !important;
  bottom: auto !important;
  left: auto !important;
  z-index: 300;
  padding: 0.34rem 0.82rem;
  border-radius: 999px;
  border: 1px solid rgba(53, 234, 152, 0.28);
  background: rgba(53, 234, 152, 0.07);
  color: rgba(53, 234, 152, 0.88);
  font-size: 0.78rem;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transform: none !important;
}

body.landing-page #themeToggle.theme-toggle:hover {
  background: rgba(53, 234, 152, 0.14);
  border-color: rgba(53, 234, 152, 0.5);
  color: #35ea98;
}

/* ══════════════════════════════════════════════════════════════
   GATES — the three-world split
══════════════════════════════════════════════════════════════ */
.gates {
  /* flex: none so the flex-column body doesn't shrink this to zero */
  flex-shrink: 0;
  width: 100%;
  display: flex;
  flex-direction: row;
  /* Fill viewport below the nav (58px), leave ~70px gap so next section peeks */
  height: calc(100dvh - 58px - 70px);
  min-height: 480px;
  overflow: hidden;
  position: relative;
}

/* ── Individual gate ── */
.gate {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-decoration: none;
  color: #f0f6ff;
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
  outline: none;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  transition: flex 0.72s cubic-bezier(0.16, 1, 0.3, 1);
}

.gate:last-child { border-right: none; }

/* ── Expand on hover — pure CSS via :has() ── */
.gates:has(.gate:hover) .gate:not(:hover) { flex: 0.46; }
.gates:has(.gate:hover) .gate:hover       { flex: 2.7;  }

/* ── Video / image background ── */
.gate__media-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: transform .8s cubic-bezier(.4,0,.2,1) !important;
}

.gate__media-wrap--img {
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  transition: opacity .7s ease, transform .8s cubic-bezier(.4,0,.2,1) !important;
}

.gate:hover .gate__media-wrap--img { transform: scale(1.06); opacity: 0.7; }

html[data-theme="light"] .gate__media-wrap--img { opacity: 0.55; filter: brightness(0.88); }
html[data-theme="light"] .gate:hover .gate__media-wrap--img { opacity: 0.68; filter: brightness(0.92); }

.gate__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transition: opacity .7s ease, transform .9s cubic-bezier(.4,0,.2,1) !important;
}

.gate:hover .gate__video {
  opacity: 0.7;
  transform: scale(1.05);
}

html[data-theme="light"] .gate__video { opacity: 0.55; filter: brightness(0.88); }
html[data-theme="light"] .gate:hover .gate__video { opacity: 0.68; filter: brightness(0.92); }

/* ── Dark gradient veil — bottom gets heavy ── */
.gate__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(6, 9, 13, 0.08) 0%,
    rgba(6, 9, 13, 0.04) 28%,
    rgba(6, 9, 13, 0.52) 58%,
    rgba(6, 9, 13, 0.92) 100%
  );
}

/* ── Atmosphere glow per world (reveals on hover) ── */
.gate__glow {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity .65s ease;
}

.gate:hover .gate__glow { opacity: 1; }

.gate--care .gate__glow {
  background:
    radial-gradient(ellipse 100% 55% at 50% 108%, rgba( 52, 211, 153, 0.2),  transparent 58%),
    radial-gradient(ellipse 60%  40% at 25% 85%,  rgba( 16, 185, 129, 0.09), transparent 52%);
}

.gate--systems .gate__glow {
  background:
    radial-gradient(ellipse 100% 55% at 50% 108%, rgba( 99, 102, 241, 0.2),  transparent 58%),
    radial-gradient(ellipse 60%  40% at 75% 85%,  rgba(129, 140, 248, 0.09), transparent 52%);
}

.gate--community .gate__glow {
  background:
    radial-gradient(ellipse 100% 55% at 50% 108%, rgba(139,  92, 246, 0.3),  transparent 58%),
    radial-gradient(ellipse 60%  40% at 30% 85%,  rgba(167, 139, 250, 0.14), transparent 52%),
    radial-gradient(ellipse 40%  35% at 70% 70%,  rgba( 52, 211, 153, 0.08), transparent 45%);
}

/* ── Watermark number ── */
.gate__watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
  user-select: none;
  font-family: var(--font-heading);
  font-size: clamp(6rem, 15vw, 20rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05);
  transition: -webkit-text-stroke .5s ease, transform .65s cubic-bezier(.4,0,.2,1) !important;
}

.gate:hover .gate__watermark {
  -webkit-text-stroke-color: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%) scale(1.07);
}

/* ── Content card ── */
.gate__card {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 1.3rem 1.4rem 1.4rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(6, 9, 13, 0.74);
  backdrop-filter: blur(22px) saturate(1.1);
  -webkit-backdrop-filter: blur(22px) saturate(1.1);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition:
    border-color .6s ease,
    box-shadow   .6s ease,
    opacity      .55s ease,
    transform    .65s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Dim non-hovered cards */
.gates:has(.gate:hover) .gate:not(:hover) .gate__card {
  opacity: 0.5;
  transform: scale(0.98);
}

/* Hovered card glow per world */
.gate--care:hover .gate__card {
  border-color: rgba(52, 211, 153, 0.35);
  box-shadow: 0 28px 64px rgba(0,0,0,.5), 0 0 60px rgba(52,211,153,.12);
}

.gate--systems:hover .gate__card {
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 28px 64px rgba(0,0,0,.5), 0 0 60px rgba(99,102,241,.12);
}

.gate--community:hover .gate__card {
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: 0 28px 64px rgba(0,0,0,.5), 0 0 60px rgba(139,92,246,.12);
}

/* ── Overline ── */
.gate__eye {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240, 246, 255, 0.42);
  transition: color .3s ease;
}

.gate--care:hover      .gate__eye { color: #34d399; }
.gate--systems:hover   .gate__eye { color: #818cf8; }
.gate--community:hover .gate__eye { color: #a78bfa; }

/* ── Brand identity row ── */
.gate__ident {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.gate__logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.9;
  transition: none !important;
}

.gate__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: #f0f6ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Reveal block: animates open on hover ──
   Uses grid-template-rows trick for smooth height
── */
.gate__reveal {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .78s cubic-bezier(0.16, 1, 0.3, 1);
}

.gate:hover .gate__reveal {
  grid-template-rows: 1fr;
}

.gate__reveal-inner {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-top: 0;
  transition: padding-top .78s cubic-bezier(0.16, 1, 0.3, 1);
}

.gate:hover .gate__reveal-inner {
  padding-top: 0.55rem;
}

/* ── Description ── */
.gate__desc {
  margin: 0;
  font-size: 0.87rem;
  line-height: 1.65;
  color: rgba(240, 246, 255, 0.7);
  min-height: calc(0.87rem * 1.65 * 2);
}

/* ── Tags ── */
.gate__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gate__tags li {
  padding: 0.24rem 0.6rem;
  border-radius: 999px;
  font-size: 0.71rem;
  font-family: var(--font-heading);
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(240, 246, 255, 0.68);
}

.gate--care .gate__tags li {
  border-color: rgba( 52, 211, 153, 0.22);
  background:   rgba( 52, 211, 153, 0.07);
  color: rgba(110, 231, 183, 0.92);
}

.gate--systems .gate__tags li {
  border-color: rgba(99, 102, 241, 0.22);
  background:   rgba(99, 102, 241, 0.07);
  color: rgba(165, 168, 255, 0.92);
}

.gate--community .gate__tags li {
  border-color: rgba(139,  92, 246, 0.22);
  background:   rgba(139,  92, 246, 0.07);
  color: rgba(196, 181, 253, 0.92);
}

/* ── CTA ── */
.gate__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: rgba(240, 246, 255, 0.5);
  transition: color .3s ease !important;
}

.gate__cta svg { transition: transform .3s ease !important; }
.gate:hover .gate__cta svg { transform: translateX(5px); }

.gate--care:hover      .gate__cta { color: #34d399; }
.gate--systems:hover   .gate__cta { color: #818cf8; }
.gate--community:hover .gate__cta { color: #a78bfa; }

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.ln-footer {
  background: rgba(6, 9, 13, 0.94);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ln-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.7rem;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.85rem 1.6rem;
  font-size: 0.76rem;
  color: rgba(240, 246, 255, 0.38);
}

.ln-footer__brand {
  color: rgba(240, 246, 255, 0.65);
  font-weight: 600;
  font-family: var(--font-heading);
}

.ln-footer__inner a {
  color: rgba(240, 246, 255, 0.52);
  text-decoration: none;
}

.ln-footer__inner a:hover { color: #f0f6ff; }

.ln-sep { opacity: 0.22; }

/* ══════════════════════════════════════════════════════════════
   ENTRANCE ANIMATIONS
══════════════════════════════════════════════════════════════ */
@keyframes gateIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

@keyframes navIn {
  from { opacity: 0; transform: translateY(-100%); }
  to   { opacity: 1; transform: none; }
}

.ln-nav { animation: navIn .55s cubic-bezier(.4,0,.2,1) both; }

.gate--care      { animation: gateIn .85s cubic-bezier(.2,1,.4,1) .06s both; }
.gate--systems   { animation: gateIn .85s cubic-bezier(.2,1,.4,1) .17s both; }
.gate--community { animation: gateIn .85s cubic-bezier(.2,1,.4,1) .28s both; }

/* ══════════════════════════════════════════════════════════════
   LIGHT MODE
══════════════════════════════════════════════════════════════ */
html[data-theme="light"] body.landing-page {
  background: #eef2f5;
}

html[data-theme="light"] .ln-nav {
  background: rgba(238, 242, 245, 0.9);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .ln-brand { color: #0d1117; }

html[data-theme="light"] .ln-pill {
  color: rgba(13, 17, 23, 0.7);
  border-color: rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .ln-pill:hover {
  background: rgba(0, 0, 0, 0.08);
  color: #0d1117;
}

html[data-theme="light"] body.landing-page #themeToggle.theme-toggle {
  border-color: rgba(5, 150, 105, 0.28);
  background: rgba(5, 150, 105, 0.07);
  color: #047857;
}

html[data-theme="light"] body.landing-page #themeToggle.theme-toggle:hover {
  background: rgba(5, 150, 105, 0.14);
  border-color: rgba(5, 150, 105, 0.45);
  color: #065f46;
}

html[data-theme="light"] .gate {
  border-right-color: rgba(0, 0, 0, 0.07);
  color: #0d1117;
}

html[data-theme="light"] .gate__veil {
  background: linear-gradient(
    to bottom,
    rgba(6, 9, 13, 0.06) 0%,
    rgba(6, 9, 13, 0.03) 28%,
    rgba(6, 9, 13, 0.42) 58%,
    rgba(6, 9, 13, 0.82) 100%
  );
}

html[data-theme="light"] .gate__watermark {
  -webkit-text-stroke-color: rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .gate:hover .gate__watermark {
  -webkit-text-stroke-color: rgba(0, 0, 0, 0.09);
}

html[data-theme="light"] .gate--care .gate__glow {
  background:
    radial-gradient(ellipse 100% 55% at 50% 108%, rgba(  5, 150, 105, 0.22), transparent 58%),
    radial-gradient(ellipse  60% 40% at 25% 85%,  rgba( 16, 185, 129, 0.1),  transparent 52%);
}

html[data-theme="light"] .gate--systems .gate__glow {
  background:
    radial-gradient(ellipse 100% 55% at 50% 108%, rgba( 79,  70, 229, 0.22), transparent 58%),
    radial-gradient(ellipse  60% 40% at 75% 85%,  rgba(109,  98, 242, 0.1),  transparent 52%);
}

html[data-theme="light"] .gate--community .gate__glow {
  background:
    radial-gradient(ellipse 100% 55% at 50% 108%, rgba(124,  58, 237, 0.2),  transparent 58%),
    radial-gradient(ellipse  60% 40% at 30% 85%,  rgba(139,  92, 246, 0.1),  transparent 52%);
}

html[data-theme="light"] .gate__card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.09);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] .gate--care:hover .gate__card {
  border-color: rgba(5, 150, 105, 0.25);
  box-shadow: 0 28px 64px rgba(0,0,0,.14), 0 0 50px rgba(5,150,105,.09);
}

html[data-theme="light"] .gate--systems:hover .gate__card {
  border-color: rgba(79, 70, 229, 0.25);
  box-shadow: 0 28px 64px rgba(0,0,0,.14), 0 0 50px rgba(79,70,229,.09);
}

html[data-theme="light"] .gate--community:hover .gate__card {
  border-color: rgba(124, 58, 237, 0.25);
  box-shadow: 0 28px 64px rgba(0,0,0,.14), 0 0 50px rgba(124,58,237,.09);
}

html[data-theme="light"] .gate__eye    { color: rgba(13, 17, 23, 0.4); }
html[data-theme="light"] .gate__title  { color: #0d1117; }
html[data-theme="light"] .gate__desc   { color: rgba(13, 17, 23, 0.65); }

html[data-theme="light"] .gate--care:hover      .gate__eye { color: #059669; }
html[data-theme="light"] .gate--systems:hover   .gate__eye { color: #4f46e5; }
html[data-theme="light"] .gate--community:hover .gate__eye { color: #7c3aed; }

html[data-theme="light"] .gate__logo { filter: none; opacity: 1; }

html[data-theme="light"] .gate__tags li {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.1);
  color: rgba(13, 17, 23, 0.7);
}

html[data-theme="light"] .gate--care .gate__tags li {
  border-color: rgba(5, 150, 105, 0.2);
  background:   rgba(5, 150, 105, 0.06);
  color: #047857;
}

html[data-theme="light"] .gate--systems .gate__tags li {
  border-color: rgba(79, 70, 229, 0.2);
  background:   rgba(79, 70, 229, 0.06);
  color: #4338ca;
}

html[data-theme="light"] .gate--community .gate__tags li {
  border-color: rgba(124, 58, 237, 0.2);
  background:   rgba(124, 58, 237, 0.06);
  color: #6d28d9;
}

html[data-theme="light"] .gate__cta           { color: rgba(13,17,23,.45); }
html[data-theme="light"] .gate--care:hover      .gate__cta { color: #059669; }
html[data-theme="light"] .gate--systems:hover   .gate__cta { color: #4f46e5; }
html[data-theme="light"] .gate--community:hover .gate__cta { color: #7c3aed; }

html[data-theme="light"] .ln-footer {
  background: rgba(238, 242, 245, 0.96);
  border-top-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .ln-footer__inner  { color: rgba(13,17,23,.4); }
html[data-theme="light"] .ln-footer__brand  { color: rgba(13,17,23,.68); }
html[data-theme="light"] .ln-footer__inner a { color: rgba(13,17,23,.56); }
html[data-theme="light"] .ln-footer__inner a:hover { color: #0d1117; }

/* ══════════════════════════════════════════════════════════════
   MOBILE — vertical stack, show all content
══════════════════════════════════════════════════════════════ */
@media (max-width: 820px) {
  .gates {
    flex-direction: column;
    height: auto;
    min-height: 100dvh;
  }

  .gate {
    flex: unset !important;
    min-height: 42svh;
    padding: 1rem;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    align-items: flex-end;
  }

  html[data-theme="light"] .gate {
    border-bottom-color: rgba(0,0,0,.06);
  }

  .gate:last-child { border-bottom: none; }

  /* Show all content on mobile (no hover) */
  .gate__reveal { grid-template-rows: 1fr !important; }
  .gate__reveal-inner { padding-top: 0.55rem !important; }

  /* Don't dim any cards on mobile */
  .gates:has(.gate:hover) .gate:not(:hover) .gate__card {
    opacity: 1;
    transform: none;
  }

  .gate__watermark { font-size: 5.5rem; }
  .gate__title { font-size: 1.25rem; white-space: normal; }
  .gate__card { padding: 1rem 1.1rem; }

  .ln-pill--phone { display: none; }
  body.landing-page #themeToggle.theme-toggle { right: 1rem !important; }
}

@media (max-width: 460px) {
  .ln-contacts .ln-pill { display: none; }
  .gate { min-height: 36svh; }
}

/* ══════════════════════════════════════════════════════════════
   REDUCED MOTION
══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .ln-nav,
  .gate, .gate__video, .gate__media-wrap,
  .gate__watermark, .gate__glow, .gate__card,
  .gate__reveal, .gate__cta svg {
    animation: none !important;
    transition: none !important;
  }

  .gate__reveal      { grid-template-rows: 1fr !important; }
  .gate__reveal-inner { padding-top: 0.55rem !important; }
}

/* ── Theme picker on landing sits above gates ── */
body.landing-page .theme-picker { z-index: 500; }

/* ══════════════════════════════════════════════════════════════
   SCROLL HINT — absolute bottom of the gates
══════════════════════════════════════════════════════════════ */
.ln-scroll-hint {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  opacity: 0;
  animation: scrollHintIn .8s ease 1.8s forwards;
  pointer-events: none;
  user-select: none;
}

@keyframes scrollHintIn { to { opacity: 1; } }

.ln-scroll-hint__label {
  font-size: 0.78rem;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240, 246, 255, 0.5);
  white-space: nowrap;
}

/* Three-arrow cascade */
.ln-scroll-hint__arrows {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.ln-scroll-hint__arrow {
  width: 18px;
  height: 18px;
  border-right: 2px solid rgba(240, 246, 255, 0.3);
  border-bottom: 2px solid rgba(240, 246, 255, 0.3);
  transform: rotate(45deg);
}

@keyframes arrowCascade {
  0%   { opacity: 0.15; transform: rotate(45deg) translate(-3px, -3px); }
  50%  { opacity: 0.7;  transform: rotate(45deg) translate(3px, 3px); }
  100% { opacity: 0.15; transform: rotate(45deg) translate(-3px, -3px); }
}

.ln-scroll-hint__arrow:nth-child(1) { animation: arrowCascade 1.8s ease-in-out infinite; }
.ln-scroll-hint__arrow:nth-child(2) { animation: arrowCascade 1.8s ease-in-out infinite .22s; }
.ln-scroll-hint__arrow:nth-child(3) { animation: arrowCascade 1.8s ease-in-out infinite .44s; }

/* ══════════════════════════════════════════════════════════════
   TRUST STRIP
══════════════════════════════════════════════════════════════ */
.ln-trust {
  background: rgba(6, 9, 13, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0;
}

.ln-trust__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.6rem;
}

.ln-trust-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 1.1rem 2rem;
  font-size: 0.8rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: rgba(240, 246, 255, 0.46);
  white-space: nowrap;
  transition: color .25s ease;
}

.ln-trust-item svg {
  flex-shrink: 0;
  opacity: 0.5;
  color: #34d399;
  transition: opacity .25s ease !important;
}

.ln-trust-item:hover {
  color: rgba(240, 246, 255, 0.8);
}

.ln-trust-item:hover svg { opacity: 0.9; }

.ln-trust-sep {
  width: 1px;
  height: 1.4rem;
  background: rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════
   ABOUT / TEAM
══════════════════════════════════════════════════════════════ */
.ln-about {
  background:
    radial-gradient(ellipse 80% 60% at 100% 50%, rgba(52, 211, 153, 0.045), transparent 60%),
    radial-gradient(ellipse 60% 80% at 0% 60%,   rgba(251, 146,  60, 0.04),  transparent 55%),
    #06090d;
  padding: 6rem 1.6rem;
  position: relative;
  overflow: hidden;
}

/* subtle grain */
.ln-about::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-size: 180px;
  pointer-events: none;
  opacity: 0.6;
  mix-blend-mode: overlay;
}

.ln-about__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

/* ── Copy side ── */
.ln-about__overline {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #34d399;
  margin-bottom: 0.9rem;
}

.ln-about__title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: #f0f6ff;
  margin: 0 0 1.2rem;
}

.ln-about__body {
  font-size: 0.98rem;
  line-height: 1.78;
  color: rgba(240, 246, 255, 0.58);
  margin: 0 0 1.6rem;
}

.ln-about__list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.ln-about__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: rgba(240, 246, 255, 0.72);
  line-height: 1.4;
}

.ln-about__list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  flex-shrink: 0;
  margin-top: 0.36em;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.5);
}

.ln-about__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Accent pill variant for about section */
.ln-pill--green {
  background: rgba(52, 211, 153, 0.1) !important;
  border-color: rgba(52, 211, 153, 0.3) !important;
  color: #34d399 !important;
}

.ln-pill--green:hover {
  background: rgba(52, 211, 153, 0.18) !important;
  border-color: rgba(52, 211, 153, 0.5) !important;
  color: #6ee7b7 !important;
}

/* ── Portraits side ── */
.ln-about__portraits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  align-items: end;
}

.ln-about__portrait {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  aspect-ratio: 3 / 4.5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* First portrait slightly taller */
.ln-about__portrait--amber { margin-top: 2.5rem; }

.ln-about__portrait-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.ln-about__portrait--amber .ln-about__portrait-glow {
  background:
    radial-gradient(ellipse 120% 50% at 50% 110%, rgba(139, 92, 246, 0.3), transparent 55%),
    radial-gradient(ellipse 80% 80% at 50% 100%, rgba(167, 139, 250, 0.12), transparent 60%);
}

.ln-about__portrait--emerald .ln-about__portrait-glow {
  background:
    radial-gradient(ellipse 120% 50% at 50% 110%, rgba(52, 211, 153, 0.3), transparent 55%),
    radial-gradient(ellipse 80% 80% at 50% 100%, rgba(112, 176, 98, 0.14), transparent 60%);
}

.ln-about__portrait img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
  display: block;
  transition: transform .6s cubic-bezier(.4,0,.2,1) !important;
}

.ln-about__portrait--emerald img { object-position: 60% 12%; }

.ln-about__portrait:hover img {
  transform: scale(1.03) translateY(-4px);
}

.ln-about__portrait-label {
  position: absolute;
  bottom: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240, 246, 255, 0.55);
  white-space: nowrap;
  backdrop-filter: blur(8px);
  background: rgba(6, 9, 13, 0.55);
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.09);
}

/* ══════════════════════════════════════════════════════════════
   LIGHT MODE — TRUST & ABOUT
══════════════════════════════════════════════════════════════ */
html[data-theme="light"] .ln-trust {
  background: rgba(238, 242, 245, 0.98);
  border-bottom-color: rgba(0, 0, 0, 0.07);
}

html[data-theme="light"] .ln-trust-item {
  color: rgba(13, 17, 23, 0.5);
}

html[data-theme="light"] .ln-trust-item:hover {
  color: rgba(13, 17, 23, 0.85);
}

html[data-theme="light"] .ln-trust-item svg {
  color: #059669;
}

html[data-theme="light"] .ln-trust-sep {
  background: rgba(0, 0, 0, 0.07);
}

html[data-theme="light"] .ln-about {
  background:
    radial-gradient(ellipse 80% 60% at 100% 50%, rgba(5, 150, 105, 0.05), transparent 60%),
    radial-gradient(ellipse 60% 80% at 0% 60%,   rgba(234, 88,  12, 0.04), transparent 55%),
    #eef2f5;
}

html[data-theme="light"] .ln-about__title  { color: #0d1117; }
html[data-theme="light"] .ln-about__body   { color: rgba(13, 17, 23, 0.6); }
html[data-theme="light"] .ln-about__overline { color: #059669; }

html[data-theme="light"] .ln-about__list li {
  color: rgba(13, 17, 23, 0.75);
}

html[data-theme="light"] .ln-about__list li::before {
  background: #059669;
  box-shadow: 0 0 8px rgba(5, 150, 105, 0.4);
}

html[data-theme="light"] .ln-about__portrait {
  border-color: rgba(0, 0, 0, 0.09);
  background: rgba(0, 0, 0, 0.02);
}

html[data-theme="light"] .ln-about__portrait-label {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 0, 0, 0.09);
  color: rgba(13, 17, 23, 0.6);
}

html[data-theme="light"] .ln-pill--green {
  background: rgba(5, 150, 105, 0.1) !important;
  border-color: rgba(5, 150, 105, 0.3) !important;
  color: #047857 !important;
}

html[data-theme="light"] .ln-pill--green:hover {
  background: rgba(5, 150, 105, 0.16) !important;
  border-color: rgba(5, 150, 105, 0.45) !important;
  color: #065f46 !important;
}

html[data-theme="light"] .ln-scroll-hint__label {
  color: rgba(13, 17, 23, 0.45);
}

html[data-theme="light"] .ln-scroll-hint__arrow {
  border-color: rgba(13, 17, 23, 0.35);
}

/* ══════════════════════════════════════════════════════════════
   MOBILE — TRUST & ABOUT
══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .ln-about__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .ln-about__portraits {
    order: -1;
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .ln-trust-item { padding: 0.9rem 1rem; font-size: 0.75rem; }
  .ln-trust-sep  { display: none; }
  .ln-trust__inner { flex-direction: column; align-items: flex-start; }
  .ln-about { padding: 4rem 1.2rem; }
  .ln-about__portraits { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .ln-scroll-hint { display: none; }
}

/* ══════════════════════════════════════════════════════════════
   LANDING PREMIUM UPGRADES
   Gate title gradient · Stronger glow · About gradient text
══════════════════════════════════════════════════════════════ */

/* ── Gate title: world gradient text on hover ── */
.gate__title {
  transition: background .4s ease !important;
}
.gate--care:hover .gate__title {
  background: linear-gradient(118deg, #f0f6ff 28%, #34d399 110%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gate--systems:hover .gate__title {
  background: linear-gradient(118deg, #f0f6ff 28%, #818cf8 110%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gate--community:hover .gate__title {
  background: linear-gradient(118deg, #f0f6ff 28%, #a78bfa 110%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Gate card: inner glow + shimmer layer ── */
.gate__card {
  background:
    linear-gradient(135deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,0) 38%),
    rgba(6, 9, 13, 0.74);
}
.gate--care:hover .gate__card {
  border-color: rgba(52, 211, 153, 0.38);
  box-shadow:
    0 28px 64px rgba(0,0,0,.52),
    0 0 70px  rgba(52,211,153,.16),
    inset 0 0 60px rgba(52,211,153,.06);
}
.gate--systems:hover .gate__card {
  border-color: rgba(99, 102, 241, 0.38);
  box-shadow:
    0 28px 64px rgba(0,0,0,.52),
    0 0 70px  rgba(99,102,241,.16),
    inset 0 0 60px rgba(99,102,241,.06);
}
.gate--community:hover .gate__card {
  border-color: rgba(139, 92, 246, 0.38);
  box-shadow:
    0 28px 64px rgba(0,0,0,.52),
    0 0 70px  rgba(139,92,246,.16),
    inset 0 0 60px rgba(139,92,246,.06);
}

/* ── About title: gradient text ── */
.ln-about__title {
  background: linear-gradient(125deg, #f0f6ff 38%, rgba(52, 211, 153, 0.72) 118%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── About overline: subtle glow pulse ── */
@keyframes overlineGlow {
  0%, 100% { opacity: 0.75; }
  50%       { opacity: 1; text-shadow: 0 0 14px rgba(52, 211, 153, 0.45); }
}
.ln-about__overline {
  animation: overlineGlow 3.5s ease-in-out infinite;
}

/* ── Portrait cards: world-colored hover glow ── */
.ln-about__portrait--emerald {
  transition: box-shadow .4s ease !important;
}
.ln-about__portrait--amber {
  transition: box-shadow .4s ease !important;
}
.ln-about__portrait--emerald:hover {
  box-shadow:
    0 0 0 1px rgba(52, 211, 153, 0.28),
    0 12px 48px rgba(52, 211, 153, 0.14);
}
.ln-about__portrait--amber:hover {
  box-shadow:
    0 0 0 1px rgba(139, 92, 246, 0.28),
    0 12px 48px rgba(139, 92, 246, 0.14);
}

/* ── Gate glow: stronger when fully hovered ── */
.gate--care .gate__glow {
  background:
    radial-gradient(ellipse 110% 60% at 50% 108%, rgba( 52, 211, 153, 0.38), transparent 55%),
    radial-gradient(ellipse  65% 45% at 25% 85%,  rgba( 16, 185, 129, 0.18), transparent 50%);
}
.gate--systems .gate__glow {
  background:
    radial-gradient(ellipse 110% 60% at 50% 108%, rgba( 99, 102, 241, 0.38), transparent 55%),
    radial-gradient(ellipse  65% 45% at 75% 85%,  rgba(129, 140, 248, 0.18), transparent 50%);
}
.gate--community .gate__glow {
  background:
    radial-gradient(ellipse 110% 60% at 50% 108%, rgba(139,  92, 246, 0.38), transparent 55%),
    radial-gradient(ellipse  65% 45% at 30% 85%,  rgba(167, 139, 250, 0.18), transparent 50%),
    radial-gradient(ellipse  42% 38% at 70% 68%,  rgba( 52, 211, 153, 0.09), transparent 44%);
}

/* ── Light mode resets ── */
html[data-theme="light"] .gate--care:hover .gate__title {
  background: linear-gradient(118deg, #0a1628 26%, #059669 108%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
html[data-theme="light"] .gate--systems:hover .gate__title {
  background: linear-gradient(118deg, #0a1628 26%, #4f46e5 108%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
html[data-theme="light"] .gate--community:hover .gate__title {
  background: linear-gradient(118deg, #0a1628 26%, #7c3aed 108%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
html[data-theme="light"] .ln-about__title {
  background: linear-gradient(125deg, #09141e 32%, #059669 118%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
html[data-theme="light"] .gate__card {
  background:
    linear-gradient(135deg, rgba(0,0,0,.03) 0%, rgba(0,0,0,0) 38%),
    rgba(255, 255, 255, 0.9);
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .ln-about__overline { animation: none !important; }
}

/* ══════════════════════════════════════════════════════════════
   GATE AMBIENT LIFE
   Always-visible, pulsing world-accent glow per gate at rest
   + floating center overlay + portrait animation
══════════════════════════════════════════════════════════════ */

/* ── Ambient world glow (visible before hover) ── */
.gate__ambient {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

@keyframes gateAmbientPulse {
  0%, 100% { opacity: 0.35; }
  50%       { opacity: 0.85; }
}

.gate--care .gate__ambient {
  background:
    radial-gradient(ellipse 100% 55% at 50% 112%, rgba( 52, 211, 153, 0.28),  transparent 58%),
    radial-gradient(ellipse  60% 38% at 20% 92%,  rgba( 16, 185, 129, 0.12), transparent 52%);
  animation: gateAmbientPulse 7s ease-in-out infinite;
}
.gate--systems .gate__ambient {
  background:
    radial-gradient(ellipse 100% 55% at 50% 112%, rgba( 99, 102, 241, 0.28),  transparent 58%),
    radial-gradient(ellipse  60% 38% at 80% 92%,  rgba(129, 140, 248, 0.12), transparent 52%);
  animation: gateAmbientPulse 7s ease-in-out infinite;
  animation-delay: -2.8s;
}
.gate--community .gate__ambient {
  background:
    radial-gradient(ellipse 100% 55% at 50% 112%, rgba(139,  92, 246, 0.5),  transparent 58%),
    radial-gradient(ellipse  50% 38% at 28% 88%,  rgba(167, 139, 250, 0.18), transparent 50%),
    radial-gradient(ellipse  38% 32% at 76% 74%,  rgba( 52, 211, 153, 0.10), transparent 46%);
  animation: gateAmbientPulse 7s ease-in-out infinite;
  animation-delay: -5.2s;
}

/* Ambient fades on hover so the stronger gate__glow takes over */
.gate:hover .gate__ambient { opacity: 0; transition: opacity .5s ease; }

/* ── Floating center identity overlay ── */
.ln-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 15;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  opacity: 1;
  transition: opacity .45s ease;
  user-select: none;
}
.gates:has(.gate:hover) .ln-center { opacity: 0; }

.ln-center__logo {
  width: 46px;
  height: 46px;
  filter: brightness(0) invert(1);
  opacity: 0.22;
  animation: centerFloat 8s ease-in-out infinite;
}
@keyframes centerFloat {
  0%, 100% { transform: translateY(0); opacity: 0.22; }
  50%       { transform: translateY(-7px); opacity: 0.38; }
}

.ln-center__name {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(240, 246, 255, 0.18);
  margin: 0;
  white-space: nowrap;
}

.ln-center__sub {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240, 246, 255, 0.1);
  margin: 0;
  white-space: nowrap;
}

/* ── About portraits: gentle float animation ── */
@keyframes portraitFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-9px); }
}
.ln-about__portrait--amber img {
  animation: portraitFloat 9s ease-in-out infinite;
}
.ln-about__portrait--emerald img {
  animation: portraitFloat 9s ease-in-out infinite;
  animation-delay: -4.5s;
}
.ln-about__portrait--amber:hover img,
.ln-about__portrait--emerald:hover img {
  animation: none;
}

/* ── Trust strip: subtle entrance stagger ── */
@keyframes trustItemIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
.ln-trust-item:nth-child(1) { animation: trustItemIn .6s ease .1s both; }
.ln-trust-item:nth-child(3) { animation: trustItemIn .6s ease .2s both; }
.ln-trust-item:nth-child(5) { animation: trustItemIn .6s ease .3s both; }
.ln-trust-item:nth-child(7) { animation: trustItemIn .6s ease .4s both; }

/* ── Mobile: hide center element ── */
@media (max-width: 820px) {
  .ln-center { display: none; }
  .ln-about__portrait--amber img,
  .ln-about__portrait--emerald img { animation: none; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .gate__ambient,
  .ln-center__logo,
  .ln-about__portrait--amber img,
  .ln-about__portrait--emerald img,
  .ln-trust-item { animation: none !important; }
  .gate:hover .gate__ambient { transition: none !important; }
}

/* ══════════════════════════════════════════════════════════════
   GREEN IT SECTION
   Animated counter display + tip cards
══════════════════════════════════════════════════════════════ */
.ln-green {
  position: relative;
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%,   rgba(52, 211, 153, 0.06), transparent 55%),
    radial-gradient(ellipse 55% 40% at 0%   80%,  rgba(16, 185, 129, 0.04), transparent 50%),
    radial-gradient(ellipse 45% 35% at 100% 20%,  rgba(52, 211, 153, 0.03), transparent 48%),
    #06090d;
  padding: 6rem 1.6rem;
  overflow: hidden;
  border-top: 1px solid rgba(52, 211, 153, 0.1);
  border-bottom: 1px solid rgba(52, 211, 153, 0.06);
}

/* Subtle grain overlay */
.ln-green::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 180px;
  pointer-events: none;
  opacity: 0.6;
  mix-blend-mode: overlay;
}

.ln-green__inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
}

/* ── Header ── */
.ln-green__overline {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #34d399;
  margin-bottom: 0.9rem;
}

.ln-green__overline::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, #34d399, transparent);
  flex-shrink: 0;
}

.ln-green__title {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 1rem;
  background: linear-gradient(125deg, #f0f6ff 38%, rgba(52, 211, 153, 0.82) 115%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ln-green__lead {
  font-size: clamp(0.92rem, 1.4vw, 1rem);
  line-height: 1.72;
  color: rgba(240, 246, 255, 0.55);
  max-width: 580px;
  margin: 0 0 3.5rem;
}

/* ── Stat counters grid ── */
.ln-green__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  margin-bottom: 4rem;
}

.ln-green__stat {
  position: relative;
  padding: 1.6rem 1.5rem 1.4rem;
  border-radius: 18px;
  border: 1px solid rgba(52, 211, 153, 0.12);
  background: rgba(52, 211, 153, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease !important;
}

.ln-green__stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #34d399, transparent 70%);
  opacity: 0.5;
}

.ln-green__stat:hover {
  border-color: rgba(52, 211, 153, 0.28);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25), 0 0 24px rgba(52, 211, 153, 0.08);
  transform: translateY(-2px);
}

.ln-green__stat-value {
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #34d399;
}

.ln-green__stat-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(240, 246, 255, 0.5);
  line-height: 1.4;
}

/* Counter animation: starts hidden, JS adds .is-visible on section */
.ln-green__stats .ln-green__stat-value {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s ease, transform .5s cubic-bezier(.2,1,.4,1);
}

.ln-green__stats.is-visible .ln-green__stat-value {
  opacity: 1;
  transform: none;
}

/* ── Tips grid ── */
.ln-green__tips-head {
  margin-bottom: 1.6rem;
}

.ln-green__tips-title {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f0f6ff;
  margin: 0 0 0.3rem;
}

.ln-green__tips-sub {
  font-size: 0.87rem;
  color: rgba(240, 246, 255, 0.45);
  margin: 0;
}

.ln-green__tips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-bottom: 2.5rem;
}

.ln-green__tip {
  padding: 1.5rem 1.5rem 1.4rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease !important;
  position: relative;
  overflow: hidden;
}

.ln-green__tip::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(52,211,153,.3), transparent 60%);
}

.ln-green__tip:hover {
  border-color: rgba(52, 211, 153, 0.2);
  box-shadow: 0 14px 36px rgba(0,0,0,.22), 0 0 20px rgba(52,211,153,.06);
  transform: translateY(-2px);
}

.ln-green__tip-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: rgba(52, 211, 153, 0.09);
  border: 1px solid rgba(52, 211, 153, 0.18);
  color: #34d399;
  flex-shrink: 0;
}

.ln-green__tip-title {
  font-family: var(--font-heading);
  font-size: 0.97rem;
  font-weight: 700;
  color: #f0f6ff;
  margin: 0;
}

.ln-green__tip-body {
  font-size: 0.85rem;
  line-height: 1.66;
  color: rgba(240, 246, 255, 0.52);
  margin: 0;
}

/* ── CTA row ── */
.ln-green__cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.ln-green__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-heading);
  font-size: 0.87rem;
  font-weight: 700;
  color: #34d399;
  text-decoration: none;
  transition: color .25s ease, gap .25s ease !important;
}

.ln-green__link:hover {
  color: #6ee7b7;
  gap: 0.65rem;
}

.ln-green__link svg { transition: transform .25s ease !important; }
.ln-green__link:hover svg { transform: translateX(4px); }

/* ── Light mode ── */
html[data-theme="light"] .ln-green {
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%,   rgba(5, 150, 105, 0.06), transparent 55%),
    radial-gradient(ellipse 55% 40% at 0%   80%,  rgba(5, 150, 105, 0.04), transparent 50%),
    #eef2f5;
  border-top-color: rgba(5, 150, 105, 0.12);
  border-bottom-color: rgba(5, 150, 105, 0.07);
}

html[data-theme="light"] .ln-green__overline { color: #059669; }
html[data-theme="light"] .ln-green__overline::before { background: linear-gradient(90deg, #059669, transparent); }

html[data-theme="light"] .ln-green__title {
  background: linear-gradient(125deg, #0a1628 36%, rgba(5, 150, 105, 0.9) 115%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

html[data-theme="light"] .ln-green__lead { color: rgba(13, 17, 23, 0.58); }

html[data-theme="light"] .ln-green__stat {
  background: rgba(5, 150, 105, 0.05);
  border-color: rgba(5, 150, 105, 0.14);
}
html[data-theme="light"] .ln-green__stat::before { background: linear-gradient(90deg, #059669, transparent 70%); }
html[data-theme="light"] .ln-green__stat:hover {
  border-color: rgba(5, 150, 105, 0.3);
  box-shadow: 0 14px 36px rgba(0,0,0,.08), 0 0 18px rgba(5,150,105,.09);
}
html[data-theme="light"] .ln-green__stat-value { color: #059669; }
html[data-theme="light"] .ln-green__stat-label { color: rgba(13,17,23,.52); }

html[data-theme="light"] .ln-green__tips-title { color: #0d1117; }
html[data-theme="light"] .ln-green__tips-sub   { color: rgba(13,17,23,.45); }

html[data-theme="light"] .ln-green__tip {
  background: rgba(255,255,255,.72);
  border-color: rgba(0,0,0,.08);
}
html[data-theme="light"] .ln-green__tip::before { background: linear-gradient(90deg, rgba(5,150,105,.2), transparent 60%); }
html[data-theme="light"] .ln-green__tip:hover {
  border-color: rgba(5,150,105,.2);
  box-shadow: 0 12px 32px rgba(0,0,0,.08), 0 0 16px rgba(5,150,105,.06);
}

html[data-theme="light"] .ln-green__tip-icon {
  background: rgba(5, 150, 105, 0.09);
  border-color: rgba(5, 150, 105, 0.2);
  color: #059669;
}
html[data-theme="light"] .ln-green__tip-title { color: #0d1117; }
html[data-theme="light"] .ln-green__tip-body  { color: rgba(13,17,23,.55); }
html[data-theme="light"] .ln-green__link { color: #059669; }
html[data-theme="light"] .ln-green__link:hover { color: #047857; }

/* ── Mobile ── */
@media (max-width: 1000px) {
  .ln-green__stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .ln-green__tips { grid-template-columns: 1fr; }
  .ln-green { padding: 4rem 1.2rem; }
}

@media (max-width: 500px) {
  .ln-green__stats { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
  .ln-green__stat { padding: 1.2rem 1.1rem; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .ln-green__stats .ln-green__stat-value,
  .ln-green__tip { transition: none !important; }
  .ln-green__stats .ln-green__stat-value { opacity: 1 !important; transform: none !important; }
}

/* ── Journal Preview (Landing Page) ── */
.ln-journal {
  padding: 5rem 1.5rem 5.5rem;
  background: var(--bg);
  border-top: 1px solid var(--brd);
}
.ln-journal__inner { max-width: 1160px; margin: 0 auto; }
.ln-journal__head { text-align: center; margin-bottom: 2.8rem; }
.ln-journal__eyebrow {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wa);
  margin: 0 0 0.6rem;
}
.ln-journal__title {
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--fg);
  margin: 0 0 0.6rem;
  line-height: 1.18;
}
.ln-journal__sub {
  color: var(--fg-muted);
  font-size: 0.98rem;
  max-width: 520px;
  margin: 0 auto;
}
.ln-journal__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.ln-journal__card {
  background: var(--card);
  border: 1px solid var(--brd);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.ln-journal__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.13);
}
.ln-journal__card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: var(--brd);
}
.ln-journal__card-img-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--brd) 0%, color-mix(in srgb, var(--wa) 12%, var(--brd)) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ln-journal__card-img-placeholder svg { opacity: 0.28; }
.ln-journal__card-body { padding: 1.2rem 1.3rem 1.4rem; flex: 1; display: flex; flex-direction: column; }
.ln-journal__card-date {
  font-size: 0.72rem;
  color: var(--fg-muted);
  font-family: var(--font-heading);
  letter-spacing: 0.06em;
  margin-bottom: 0.55rem;
}
.ln-journal__card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.35;
  margin: 0 0 0.5rem;
  flex: 1;
}
.ln-journal__card-excerpt {
  font-size: 0.86rem;
  color: var(--fg-muted);
  line-height: 1.55;
  margin: 0 0 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ln-journal__card-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--wa);
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.ln-journal__cta-wrap { text-align: center; }
.ln-journal__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.8rem;
  border: 2px solid var(--wa);
  border-radius: 999px;
  color: var(--wa);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background 0.18s, color 0.18s;
}
.ln-journal__cta:hover { background: var(--wa); color: #fff; }
.ln-journal__card-skel {
  background: var(--card);
  border: 1px solid var(--brd);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.ln-journal__skel-img { width: 100%; aspect-ratio: 16/9; background: var(--brd); }
.ln-journal__skel-body { padding: 1.2rem 1.3rem; }
.ln-journal__skel-line {
  height: 0.75rem;
  border-radius: 4px;
  background: var(--brd);
  margin-bottom: 0.65rem;
}
@keyframes lnjSkel { 0%,100%{opacity:.5} 50%{opacity:1} }
.ln-journal__card-skel .ln-journal__skel-img,
.ln-journal__card-skel .ln-journal__skel-line { animation: lnjSkel 1.4s ease-in-out infinite; }

@media (max-width: 860px) {
  .ln-journal__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .ln-journal__grid { grid-template-columns: 1fr; }
  .ln-journal { padding: 3.5rem 1rem 4rem; }
}
