/* ── HejMap.com landing page ─────────────────────────────────────── */

:root {
  --bg:       #f2f8fd;
  --ink:      #1a3a5c;
  --ink-soft: #3d6180;
  --ink-faint:#7ca5c0;
  --accent:   #e8634a;
  --paper:    #ffffff;
  --rule:     #bfd6e8;
  --map-base: #8ec4d8;
  --map-hi:   #e8634a;
  --nav-h:    72px; /* sticky nav rendered height — update if nav changes */
}

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

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Nunito', system-ui, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── SCROLL SNAP ─────────────────────────────────────────────────── */
.ln-snap {
  scroll-snap-align: start;
  scroll-margin-top: var(--nav-h);
}

/* ── NAV ─────────────────────────────────────────────────────────── */


/* ── HERO ────────────────────────────────────────────────────────── */
.ln-hero {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 7%;
  position: relative;
  height: calc(100vh - var(--nav-h));
  overflow: hidden;
}

.ln-hero-text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  max-width: 640px;
  padding: 48px 52px;
  background: rgba(242, 248, 253, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 24px;
  border: 1px solid rgba(191, 214, 232, 0.45);
  box-shadow: 0 8px 48px rgba(26, 58, 92, 0.08);
}

.ln-hero-brand {
  font-family: 'Nunito', sans-serif;
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 10px;
  text-decoration: none;
  display: inline-block;
}
.ln-hero-brand-tld {
  font-size: 0.38em;
  font-weight: 600;
  color: var(--ink-faint);
  vertical-align: 0.28em;
  margin-left: 2px;
  letter-spacing: 0.01em;
}

.ln-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.ln-h1 {
  font-size: clamp(52px, 5.2vw, 80px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.04;
  color: var(--ink);
  margin-bottom: 12px;
}

.ln-hero-word {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(36px, 3.6vw, 54px);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 20px;
  transition: opacity 0.36s ease;
  min-height: 1.1em;
}

.ln-hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 32px;
}

/* ── Section nav (Explore more / Back) ──────────────────────────── */
.ln-sec-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  padding: 8px 12px;
  color: var(--ink-soft);
  transition: color 0.2s, transform 0.2s;
}
.ln-sec-nav:hover { color: var(--accent); transform: translateX(-50%) translateY(2px); }
.ln-sec-nav--up { top: 16px; flex-direction: column-reverse; }
.ln-sec-nav--up:hover { transform: translateX(-50%) translateY(-2px); }
.ln-sec-nav--down { bottom: 16px; }
.ln-sec-nav span {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}
.ln-sec-nav svg { width: 22px; height: 16px; }
.ln-sec-nav--down { animation: secNavBounce 2.2s ease-in-out infinite; }
@keyframes secNavBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.65; }
  50%       { transform: translateX(-50%) translateY(6px); opacity: 1; }
}
.ln-sec-nav--down:hover { animation: none; }

/* Scroll down indicator — double chevron */
.ln-scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  z-index: 10;
  pointer-events: none;
}
.ln-scroll-hint svg {
  width: 28px; height: 20px;
  color: var(--accent);
}
.ln-scroll-hint svg:first-child {
  animation: scrollBounce 1.8s ease-in-out infinite;
}
.ln-scroll-hint-2 {
  animation: scrollBounce 1.8s ease-in-out 0.25s infinite;
  opacity: 0.45;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(-2px); opacity: 0.5; }
  50%       { transform: translateY(4px);  opacity: 1; }
}
.ln-hero-sub strong { color: var(--ink); font-weight: 700; }

.ln-hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 36px;
}

.ln-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  border-radius: 32px;
  padding: 16px 30px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 17px;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
}
.ln-btn-primary:hover { opacity: 0.88; transform: translateY(-2px); }
.ln-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--rule);
  border-radius: 28px;
  padding: 12px 24px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
  white-space: nowrap;
}
.ln-btn-secondary:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.ln-btn-secondary:hover .ln-arrow { transform: translateX(4px); }
.ln-arrow { display: inline-block; transition: transform 0.2s; }
.ln-btn-primary:hover .ln-arrow { transform: translateX(4px); }
.ln-btn-lg { font-size: 20px; padding: 18px 38px; }

.ln-hero-note {
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-faint);
  letter-spacing: 0.01em;
}

/* Inline stats row inside hero */
.ln-hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.ln-hs {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-right: 20px;
}
.ln-hs + .ln-hs { padding-left: 20px; }
.ln-hs-n {
  font-family: 'Nunito', sans-serif;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
}
.ln-hs-l {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.ln-hs-div {
  width: 1px;
  height: 32px;
  background: var(--rule);
  flex-shrink: 0;
  margin-right: 0;
}

/* Full-bleed hero world map */
.ln-hero-map {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: color-mix(in srgb, var(--map-base) 25%, var(--bg));
}

.ln-hero-map-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 38%;
  right: 0;
}
.ln-hero-map-bg svg {
  width: 100%;
  height: 100%;
  display: block;
}
.ln-hero-map-bg svg path {
  fill: var(--map-base);
  stroke: rgba(255,255,255,0.3);
  stroke-width: 0.5;
  transition: fill 0.5s ease;
}
.ln-hero-map-bg svg path.ln-hl {
  fill: var(--map-hi);
}

.ln-hero-map-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  z-index: 2;
  pointer-events: none;
}
.ln-hm-greeting {
  font-family: 'Nunito', sans-serif;
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
  text-shadow: 0 2px 24px rgba(255,255,255,0.95), 0 0 48px rgba(255,255,255,0.8);
  transition: opacity 0.35s ease;
}
.ln-hm-lang {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-shadow: 0 1px 8px rgba(255,255,255,0.85);
  transition: opacity 0.35s ease;
}
.ln-hm-play {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  pointer-events: auto;
  text-decoration: none;
  cursor: pointer;
}
.ln-hm-play:hover .ln-hm-play-btn {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(232,99,74,0.55);
}
.ln-hm-play-btn { transition: transform 0.2s, box-shadow 0.2s; }
.ln-hm-play-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(232,99,74,0.40);
}
.ln-hm-play-btn svg { width: 11px; height: 11px; margin-left: 2px; }
.ln-hm-play-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  text-shadow: 0 1px 6px rgba(255,255,255,0.8);
}

/* ── FEATURES CAROUSEL ───────────────────────────────────────────── */
.ln-features-wrap {
  position: relative;
  height: calc(100vh - var(--nav-h));
  display: flex;
  flex-direction: column;
}

.ln-feat-carousel {
  overflow: hidden;
  position: relative;
  flex: 1;
  --fade-color: #f2f8fd;
}

/* Peek fade — hints at adjacent slides on left/right edges */
.ln-feat-carousel::before,
.ln-feat-carousel::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 5;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.ln-feat-carousel::before {
  left: 0;
  background: linear-gradient(to right, var(--fade-color), transparent);
}
.ln-feat-carousel::after {
  right: 0;
  background: linear-gradient(to left, var(--fade-color), transparent);
}
.ln-feat-carousel[data-first]::before { opacity: 0; }
.ln-feat-carousel[data-last]::after   { opacity: 0; }

.ln-feat-track {
  display: flex;
  height: 100%;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.ln-feat-slide {
  min-width: 100%;
  height: 100%;
  flex-shrink: 0;
  padding: 48px 52px;
  background: var(--bg);
  display: flex;
  align-items: center;
}
.ln-feat-slide.ln-slide-alt {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

/* Carousel navigation */
.ln-feat-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 52px 22px;
  background: var(--paper);
  border-top: 1px solid var(--rule);
  position: relative;
}
.ln-feat-nav-next-sec {
  position: absolute;
  right: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-faint);
  padding: 4px 8px;
  transition: color 0.2s;
  animation: secNavBounce 2.2s ease-in-out infinite;
}
.ln-feat-nav-next-sec:hover { color: var(--accent); animation: none; }
.ln-feat-nav-next-sec span { font-family: 'IBM Plex Mono', monospace; font-size: 8px; letter-spacing: 0.16em; text-transform: uppercase; }
.ln-feat-nav-next-sec svg { width: 18px; height: 13px; }
.ln-feat-arr {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--rule);
  background: var(--paper);
  color: var(--ink-soft);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}
.ln-feat-arr svg { width: 18px; height: 18px; }
.ln-feat-arr:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.ln-feat-dots { display: flex; gap: 8px; }
.ln-feat-dot {
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 9px 20px;
  border-radius: 24px;
  border: 1.5px solid var(--rule);
  background: transparent;
  color: var(--ink-faint);
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
}
.ln-feat-dot.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.ln-feat-dot:hover:not(.active) { border-color: var(--ink-soft); color: var(--ink-soft); }

/* Shared feature inner layout */
.ln-feat-inner {
  display: flex;
  align-items: stretch;
  gap: 72px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}
.ln-feat-flip .ln-feat-inner { flex-direction: row-reverse; }

.ln-feat-text {
  flex: 0 0 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ln-feat-n {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 14px;
}
.ln-feat-title {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 16px;
}
.ln-feat-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.ln-feat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ln-feat-list li {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.ln-feat-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 18px;
  line-height: 0.8;
}

.ln-feat-visual {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 440px;
}

/* All visual cards fill their column */
.ln-map-card, .ln-phrase-card, .ln-audio-card, .ln-amb-card { flex: 1; }

/* Embedded country map strip inside feature cards */
.ln-feat-map-peek {
  width: 100%;
  height: 180px;
  flex-shrink: 0;
  overflow: hidden;
  background: color-mix(in srgb, var(--map-base) 25%, var(--bg));
}
.ln-feat-map-peek svg {
  width: 100%;
  height: 100%;
  display: block;
}
.ln-feat-map-peek svg path {
  fill: var(--map-base);
  stroke: rgba(255,255,255,0.3);
  stroke-width: 0.5;
  transition: fill 0.5s ease;
}
.ln-feat-map-peek svg path.ln-hl {
  fill: var(--map-hi);
}

/* ── MAP CARD (feat 1) ───────────────────────────────────────────── */
.ln-map-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px -8px rgba(26,58,92,0.12);
  position: relative;
  display: flex;
  flex-direction: column;
}
.ln-mc-map-wrap {
  width: 100%;
  flex: 1;
  min-height: 200px;
  overflow: hidden;
  display: block;
}
.ln-mc-map-wrap svg {
  width: 100%;
  height: 100%;
  display: block;
}
.ln-mc-map-wrap svg path {
  fill: var(--map-base);
  stroke: rgba(255,255,255,0.3);
  stroke-width: 0.5;
  transition: fill 0.5s ease;
}
.ln-mc-map-wrap svg path.ln-hl {
  fill: var(--map-hi);
}
.ln-mc-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 18px rgba(26,58,92,0.10);
}
.ln-mc-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: dotPulse 1.6s ease-in-out infinite;
}
.ln-mc-lang {
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  transition: opacity 0.3s;
}
.ln-mc-phrase {
  font-family: 'Nunito', sans-serif;
  font-size: 12px;
  color: var(--ink-soft);
  transition: opacity 0.3s;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.55; transform: scale(1.3); }
}

/* ── PHRASE CARD (feat 2) ────────────────────────────────────────── */
.ln-phrase-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px -8px rgba(26,58,92,0.12);
  width: 100%;
  display: flex;
  flex-direction: column;
}
.ln-pc-tabs {
  display: flex;
  border-bottom: 1px solid var(--rule);
  padding: 0 4px;
}
.ln-pc-tab {
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-faint);
  padding: 14px 14px;
  border-bottom: 2px solid transparent;
  transition: color 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.ln-pc-tab.active { color: var(--accent); border-bottom-color: var(--accent); }

.ln-pc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--rule);
}
.ln-pc-chip {
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 5px 14px;
  transition: all 0.25s;
}
.ln-pc-chip.active { background: var(--accent); color: #fff; border-color: var(--accent); }

.ln-pc-display {
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  flex: 1;
  min-height: 180px;
}
.ln-pc-word {
  font-family: 'Nunito', sans-serif;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
  transition: opacity 0.35s ease;
}
.ln-pc-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  text-transform: uppercase;
}

/* ── AUDIO CARD (feat 3) ─────────────────────────────────────────── */
.ln-audio-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px -8px rgba(26,58,92,0.12);
  width: 100%;
  display: flex;
  flex-direction: column;
}
.ln-ac-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px 32px 22px;
  text-align: center;
}
.ln-ac-top { display: flex; flex-direction: column; gap: 6px; }
.ln-ac-word {
  font-family: 'Nunito', sans-serif;
  font-size: 54px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
  transition: opacity 0.35s ease;
}
.ln-ac-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  text-transform: uppercase;
}
.ln-ac-play {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px -4px rgba(232,99,74,0.38);
}
.ln-ac-play svg { width: 20px; height: 20px; margin-left: 2px; }

.ln-ac-bars {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 48px;
}
.ln-acbar {
  width: 4px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0.55;
  height: var(--h, 40%);
  animation: barPulse 1.3s ease-in-out infinite;
}
.ln-acbar:nth-child(1)  { animation-delay: 0.00s; }
.ln-acbar:nth-child(2)  { animation-delay: 0.11s; }
.ln-acbar:nth-child(3)  { animation-delay: 0.22s; }
.ln-acbar:nth-child(4)  { animation-delay: 0.33s; }
.ln-acbar:nth-child(5)  { animation-delay: 0.44s; }
.ln-acbar:nth-child(6)  { animation-delay: 0.55s; }
.ln-acbar:nth-child(7)  { animation-delay: 0.44s; }
.ln-acbar:nth-child(8)  { animation-delay: 0.33s; }
.ln-acbar:nth-child(9)  { animation-delay: 0.22s; }
.ln-acbar:nth-child(10) { animation-delay: 0.11s; }
.ln-acbar:nth-child(11) { animation-delay: 0.00s; }
.ln-acbar:nth-child(12) { animation-delay: 0.11s; }

@keyframes barPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.55; }
  50%       { transform: scaleY(2.4); opacity: 1; }
}

.ln-ac-autoplay {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}
.ln-ac-switch {
  width: 34px; height: 18px;
  border-radius: 9px;
  background: var(--accent);
  position: relative;
  flex-shrink: 0;
}
.ln-ac-switch::after {
  content: '';
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #fff;
  top: 3px; left: 19px;
}

/* ── AMBIENT CARD (feat 4) ───────────────────────────────────────── */
.ln-amb-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px -8px rgba(26,58,92,0.14);
  border: 1px solid var(--rule);
  background: var(--bg);
  width: 100%;
}
.ln-amb-stripe { height: 5px; background: var(--accent); }
.ln-amb-header {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  padding: 10px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ln-amb-logo {
  font-family: 'Nunito', sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.ln-amb-logo span {
  font-size: 0.38em;
  font-weight: 600;
  color: var(--ink-faint);
  vertical-align: 0.24em;
  margin-left: 2px;
}
.ln-amb-info { display: flex; align-items: center; gap: 8px; }
.ln-amb-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: dotPulse 1.6s ease-in-out infinite;
}
.ln-amb-cur {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  transition: opacity 0.35s ease;
}
.ln-amb-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 32px;
  gap: 12px;
  background: linear-gradient(135deg, var(--bg) 0%, color-mix(in srgb, var(--accent) 5%, var(--bg)) 100%);
}
.ln-amb-word {
  font-family: 'Nunito', sans-serif;
  font-size: 68px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
  transition: opacity 0.4s ease;
}
.ln-amb-trans {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  text-transform: uppercase;
  transition: opacity 0.4s ease;
}

/* ── HOW IT WORKS ─────────────────────────────────────────────────── */
.ln-how {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 72px 52px;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  position: relative;
}
.ln-how-wrap {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}
.ln-section-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.ln-how-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 10px;
}
.ln-how-sub {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 60px;
}
.ln-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.ln-step {
  flex: 1;
  max-width: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 0 16px;
}
.ln-step-num {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ln-step-icon {
  width: 48px; height: 48px;
  color: var(--ink-soft);
  flex-shrink: 0;
}
.ln-step h3 { font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.ln-step p  { font-size: 14px; line-height: 1.65; color: var(--ink-soft); }
.ln-step-sep { font-size: 22px; color: var(--rule); margin-bottom: 24px; flex-shrink: 0; padding: 0 4px; }

/* ── FINAL CTA ───────────────────────────────────────────────────── */
.ln-cta {
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, color-mix(in srgb, var(--accent) 6%, var(--bg)) 100%);
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
}
.ln-cta-inner {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 52px;
}
.ln-cta-wrap { max-width: 560px; margin: 0 auto; }
.ln-cta-title {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 16px;
}
.ln-cta-sub {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  margin-bottom: 40px;
}

/* ── FOOTER ──────────────────────────────────────────────────────── */
.ln-footer {
  background: var(--ink);
  padding: 30px 52px;
}
.ln-footer-wrap {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.ln-footer-logo {
  font-family: 'Nunito', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}
.ln-footer-logo span {
  font-size: 0.38em;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  vertical-align: 0.24em;
  margin-left: 2px;
}
.ln-footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
}
.ln-footer-links a { color: rgba(255,255,255,0.65); text-decoration: none; transition: color 0.2s; }
.ln-footer-links a:hover { color: #fff; }

/* ── SCROLL REVEAL ───────────────────────────────────────────────── */
.ln-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.ln-reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── Mobile ───────────────────────────────────────────────────────── */
@media (max-width: 820px) {
  :root { --nav-h: 52px; }
}

@media (max-width: 680px) {

  /* Keep normal scroll (no snap) on mobile */
  html { scroll-snap-type: none; }

  /* ── HERO ── */
  .ln-hero {
    padding: 0;
    align-items: stretch;
    justify-content: stretch;
  }
  /* Show map full-width behind the text */
  .ln-hero-map-bg {
    display: block;
    left: 0;
    opacity: 0.7;
  }
  .ln-hero-text {
    flex: 1;
    padding: 36px 24px 32px;
    max-width: 100%;
    border-radius: 0;
    border: none;
    box-shadow: none;
    background: rgba(242, 248, 253, 0.82);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    justify-content: center;
  }
  .ln-h1          { font-size: clamp(36px, 9vw, 52px); }
  .ln-hero-word   { font-size: clamp(28px, 7vw, 40px); }
  .ln-hero-sub    { font-size: 15px; margin-bottom: 24px; }
  .ln-btn-primary  { font-size: 15px; padding: 13px 22px; width: 100%; text-align: center; justify-content: center; }
  .ln-btn-secondary{ font-size: 14px; padding: 10px 18px; width: 100%; text-align: center; justify-content: center; }
  .ln-hero-actions { width: 100%; }
  .ln-sec-nav--down { display: none; }

  /* ── FEATURES CAROUSEL ── */
  .ln-features-wrap {
    display: flex;
    height: calc(100svh - var(--nav-h));
    min-height: 0;
    flex-direction: column;
  }
  .ln-feat-carousel { flex: 1; min-height: 0; height: auto; }
  .ln-feat-track    { height: 100%; }
  .ln-feat-slide {
    height: 100%;
    padding: 36px 20px 28px;
    align-items: flex-start;
    overflow-y: auto;
  }
  .ln-feat-inner,
  .ln-feat-flip .ln-feat-inner {
    flex-direction: column;
    gap: 24px;
  }
  .ln-feat-text  { flex: unset; width: 100%; }
  .ln-feat-title { font-size: clamp(22px, 6vw, 30px); }
  .ln-feat-desc  { font-size: 14px; }
  .ln-feat-visual { min-height: 0; width: 100%; }

  /* Map peek strip — shorter on mobile */
  .ln-feat-map-peek { height: 120px; }

  /* Map card fill height */
  .ln-map-card,
  .ln-phrase-card,
  .ln-audio-card,
  .ln-amb-card { min-height: 220px; }

  /* Shrink audio word */
  .ln-ac-word { font-size: 38px; }
  .ln-amb-word { font-size: 48px; }
  .ln-pc-word  { font-size: 32px; }

  /* Nav bar — compact */
  .ln-feat-nav {
    padding: 12px 16px 14px;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .ln-feat-dots { gap: 4px; }
  .ln-feat-dot  { font-size: 11px; padding: 7px 12px; }
  .ln-feat-nav-next-sec { position: static; margin-top: 4px; }

  /* ── HOW IT WORKS ── */
  .ln-how-wrap { display: block; }
  .ln-how      { padding: 52px 24px; min-height: auto; }
  .ln-how-title { font-size: 28px; }
  .ln-steps    { flex-direction: column; align-items: center; gap: 28px; }
  .ln-step     { max-width: 100%; padding: 0 8px; }
  .ln-step-sep { display: none; }

  /* ── CTA ── */
  .ln-cta-wrap { display: block; }
  .ln-cta-inner { padding: 60px 24px; }
  .ln-cta-title { font-size: clamp(28px, 7vw, 40px); }
  .ln-btn-lg   { font-size: 17px; padding: 15px 28px; }

  /* ── FOOTER ── */
  .ln-footer      { display: block; padding: 24px 18px; }
  .ln-footer-wrap { flex-direction: column; gap: 14px; text-align: center; }
  .ln-footer-links { flex-wrap: wrap; justify-content: center; gap: 10px; }
}

/* ── DARK MODE ───────────────────────────────────────────────────── */
html[data-theme="dark"] .ln-hero-text {
  background: rgba(11, 29, 46, 0.82);
  border-color: rgba(28, 61, 88, 0.5);
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.3);
}

/* Mobile hero panel (no border/shadow anyway, just fix the bg) */
@media (max-width: 768px) {
  html[data-theme="dark"] .ln-hero-text {
    background: rgba(11, 29, 46, 0.88);
  }
}
