@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,500;0,600;1,400;1,500;1,600&display=swap');

/* ==========================================================================
   Little Discoveries — Design System & Stylesheet
   Inspired by pianorun.com & withmarble.com
   Crisp, high-converting, light-theme educational aesthetic with bold typography
   ========================================================================== */

:root {
  /* Brand Colors */
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-light: #eff6ff;
  --indigo-deep: #0f2b48;
  --indigo-hero: #153b64;

  --green: #10b981;
  --green-dark: #059669;
  --green-light: #ecfdf5;

  --amber: #f59e0b;
  --amber-dark: #d97706;
  --amber-light: #fffbeb;

  --purple: #6366f1;
  --purple-light: #eef2ff;

  --ink: #0f172a;
  --muted: #475569;
  --paper: #ffffff;
  --cream: #f8fafc;
  --line: #e2e8f0;
  
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.16);
  --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.15);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.center {
  text-align: center;
}

.center .section-sub {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 68px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 19px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.nav-links {
  margin-left: auto;
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta {
  background: var(--blue);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: all 0.15s ease;
}

.nav-cta:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 880px) {
  .nav-inner {
    height: 60px;
    gap: 8px;
    justify-content: space-between;
  }
  .nav-links {
    margin-left: auto;
    gap: 8px;
    flex-shrink: 0;
  }
  .nav-links > a:not(.nav-cta) {
    display: none;
  }
  .nav-brand {
    font-size: 16px;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .nav-brand img {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
  }
  .lang-switch {
    padding: 2px 5px;
    gap: 2px;
    flex-shrink: 0;
  }
  .lang-btn {
    padding: 3px 6px;
    font-size: 11.5px;
  }
  .nav-cta {
    padding: 7px 14px;
    font-size: 13px;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1.2;
    border-radius: var(--radius-pill);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }
  .nav-inner {
    height: 56px;
    gap: 6px;
  }
  .nav-brand {
    font-size: 14px;
    gap: 6px;
    white-space: nowrap;
  }
  .nav-brand img {
    width: 28px;
    height: 28px;
    border-radius: 7px;
  }
  .nav-links {
    gap: 5px;
    flex-shrink: 0;
  }
  .lang-switch {
    padding: 2px 3px;
    gap: 1px;
  }
  .lang-btn {
    padding: 2px 5px;
    font-size: 10.5px;
  }
  .nav-cta {
    padding: 6px 10px;
    font-size: 11.5px;
    white-space: nowrap;
  }
}

/* Language Switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 3px 6px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
}

.lang-btn {
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  color: var(--muted);
  text-decoration: none;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  transition: all 0.15s ease;
}

.lang-btn:hover {
  color: var(--ink);
  text-decoration: none;
}

.lang-btn.active {
  background: var(--blue);
  color: #ffffff !important;
}

/* ---------- Store Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 14px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-store {
  background: #000;
  color: #fff !important;
  padding: 10px 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.btn-store:hover {
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-store svg {
  width: 24px;
  height: 24px;
  flex: none;
}

.btn-store .lines {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}

.btn-store .small {
  font-size: 10px;
  font-weight: 600;
  opacity: 0.85;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.btn-store .big {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* Distinct Google Play Brand Styling */
.btn-google-play {
  border-radius: 10px;
}

.btn-google-play svg {
  width: 26px;
  height: 26px;
}

.btn-google-play .small {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0.08em;
  font-size: 9.5px;
  font-weight: 500;
  color: #cfd8dc;
}

.btn-google-play .big {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Distinct App Store Brand Styling */
.btn-app-store {
  border-radius: 12px;
}

.btn-app-store .small {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #d1d1d6;
}

.btn-app-store .big {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff !important;
  padding: 14px 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  font-size: 16px;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* ---------- Hero Section ---------- */
.hero {
  background: linear-gradient(160deg, #0b2238 0%, #10385c 45%, #184b7a 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding: 76px 0 64px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.025em;
  margin: 18px 0 16px;
}

.hero h1 .accent {
  color: #ffd34d;
}

.hero p.lead {
  font-size: 18.5px;
  line-height: 1.6;
  max-width: 34em;
  opacity: 0.95;
  color: #e2e8f0;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 20px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 600;
  color: #cbd5e1;
  max-width: 100%;
}

.stars {
  color: #ffd34d;
  letter-spacing: 2px;
  font-size: 16px;
}

.hero-shot {
  position: relative;
  align-self: end;
  margin-bottom: -10px;
  display: flex;
  justify-content: center;
}

.hero-phone-frame {
  max-width: 310px;
  width: 100%;
  position: relative;
  transition: transform 0.3s ease;
}

.hero-phone-frame:hover {
  transform: translateY(-4px);
}

.hero-phone-frame img {
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 40px rgba(37, 99, 235, 0.25);
  width: 100%;
  display: block;
}

.hero-floating-pill {
  position: absolute;
  bottom: -16px;
  left: -12px;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  box-shadow: var(--shadow);
}

@media (max-width: 920px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 32px;
    text-align: center;
    gap: 22px;
    width: 100%;
    max-width: 100%;
  }
  .hero-badge {
    font-size: 12px;
    padding: 5px 12px;
    margin-bottom: 6px;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }
  .hero h1 {
    font-size: clamp(24px, 5.2vw, 36px);
    line-height: 1.15;
    margin: 10px 0 12px;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
  }
  .hero p.lead {
    font-size: 15px;
    line-height: 1.5;
    max-width: 100%;
    width: 100%;
    margin: 0 auto 16px;
    padding: 0 4px;
    overflow-wrap: break-word;
  }
  .hero-ctas {
    justify-content: center;
    gap: 10px;
    margin: 16px auto 12px;
    max-width: 100%;
  }
  .hero-ctas .btn {
    font-size: 13.5px;
    padding: 9px 16px;
    max-width: 100%;
  }
  .hero-proof {
    justify-content: center;
    text-align: center;
    font-size: 13px;
    margin-bottom: 20px;
    gap: 6px;
    max-width: 100%;
    flex-wrap: wrap;
  }
  .hero-proof span {
    max-width: 100%;
    line-height: 1.35;
  }
  .hero-shot {
    max-width: 250px;
    margin: 12px auto 0;
  }
  .hero-phone-frame {
    max-width: 250px;
  }
  .hero-floating-pill {
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    font-size: 11.5px;
    padding: 5px 12px;
    white-space: nowrap;
  }
}

@media (max-width: 560px) {
  .hero-ctas {
    flex-direction: column;
    align-items: center;
    max-width: 260px;
    width: 100%;
    margin: 16px auto 12px;
  }
  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-proof {
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    margin-bottom: 16px;
  }
  .hero-shot {
    max-width: 220px;
    margin: 10px auto 0;
  }
  .hero-phone-frame {
    max-width: 220px;
  }
}

/* ---------- Sections ---------- */
section {
  padding: 80px 0;
}

.section-alt {
  background: var(--cream);
}

.kicker {
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  display: block;
}

h2.section-title {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 900;
  letter-spacing: -0.025em;
  margin: 8px 0 12px;
  color: var(--ink);
}

.section-sub {
  color: var(--muted);
  font-size: 18px;
  max-width: 44em;
  line-height: 1.6;
}

/* ---------- Download Band ---------- */
.download-band {
  background: #0b1a2c;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.download-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
}

.download-grid img.icon {
  width: 92px;
  height: 92px;
  border-radius: 22px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.download-grid h2 {
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.download-grid p {
  color: #cbd5e1;
  font-size: 15.5px;
  max-width: 40em;
}

.device-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.chip {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #e2e8f0;
}

.download-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 920px) {
  .download-grid {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .download-ctas {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ---------- Screenshots Grid ---------- */
/* ---------- Screenshots Showcase (Option B) ---------- */
.shots-showcase {
  position: relative;
  margin-top: 44px;
}

.shots-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 16px 8px 32px;
  scrollbar-width: thin;
  scrollbar-color: rgba(37, 99, 235, 0.35) transparent;
}

.shots-track::-webkit-scrollbar {
  height: 8px;
}

.shots-track::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.04);
  border-radius: 999px;
}

.shots-track::-webkit-scrollbar-thumb {
  background: rgba(37, 99, 235, 0.3);
  border-radius: 999px;
}

.shots-track::-webkit-scrollbar-thumb:hover {
  background: var(--blue);
}

.shot-card {
  flex: 0 0 270px;
  max-width: 270px;
  scroll-snap-align: center;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.shot-card img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: block;
}

.shot-card:hover img {
  transform: translateY(-6px) scale(1.015);
  box-shadow: var(--shadow-lg);
}

.shot-card figcaption {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.shot-card figcaption strong {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
}

.shot-card figcaption span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

/* Nav controls for horizontal scroll */
.shots-nav-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}

.shots-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
  font-size: 17px;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.shots-nav-btn:hover {
  background: var(--cream);
  transform: scale(1.06);
  box-shadow: var(--shadow-lg);
  color: var(--blue);
}

.shots-scroll-hint {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ---------- How It Works Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 48px;
}

.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  text-align: left;
  transition: transform 0.2s ease;
}

.step:hover {
  transform: translateY(-4px);
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 19px;
  color: #fff;
  margin-bottom: 18px;
}

.step:nth-child(1) .step-num {
  background: var(--blue);
}

.step:nth-child(2) .step-num {
  background: var(--green);
}

.step:nth-child(3) .step-num {
  background: var(--amber);
}

.step h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--ink);
}

.step p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
}

@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ---------- Feature Ticks Checklist ---------- */
.ticks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 36px;
  margin-top: 40px;
  max-width: 880px;
  text-align: left;
}

.tick {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 16px;
}

.tick strong {
  display: block;
  color: var(--ink);
  font-weight: 700;
}

.tick .dot {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 14px;
  margin-top: 2px;
}

@media (max-width: 720px) {
  .ticks {
    grid-template-columns: 1fr;
  }
}

/* ---------- Guides Grid ---------- */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  text-align: left;
}

.guide-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.guide-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}

.guide-card .emoji {
  font-size: 32px;
}

.guide-card h3 {
  font-size: 17.5px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--ink);
}

.guide-card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
  flex: 1;
}

.guide-card .more {
  color: var(--blue);
  font-weight: 800;
  font-size: 14px;
  margin-top: 6px;
}

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

@media (max-width: 640px) {
  .guides-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- FAQ List (Native details/summary) ---------- */
.faq-list {
  max-width: 820px;
  margin: 44px auto 0;
  text-align: left;
}

.faq-list details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}

.faq-list summary {
  font-weight: 800;
  font-size: 16.5px;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 34px;
  color: var(--ink);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-52%);
  font-size: 24px;
  font-weight: 700;
  color: var(--blue);
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
}

.faq-list .learn-more {
  display: inline-block;
  margin-top: 10px;
  font-weight: 800;
  color: var(--blue);
  text-decoration: none;
}

.faq-list .learn-more:hover {
  text-decoration: underline;
}

/* ---------- Final CTA ---------- */
.cta-final {
  background: linear-gradient(160deg, #d97706 0%, #f59e0b 55%, #fbbf24 100%);
  color: #fff;
  text-align: center;
  padding: 84px 0;
}

.cta-final h2 {
  font-size: clamp(32px, 4.2vw, 46px);
  font-weight: 900;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.cta-final p {
  font-size: 19px;
  opacity: 0.95;
  max-width: 38em;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.cta-final img.icon {
  width: 104px;
  height: 104px;
  border-radius: 26px;
  margin: 0 auto 24px;
  box-shadow: var(--shadow-lg);
}

.cta-ctas {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
footer {
  background: #0b1a2c;
  color: #94a3b8;
  padding: 60px 0 40px;
  font-size: 14.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

footer h4 {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  font-weight: 800;
}

footer a {
  color: #94a3b8;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
}

footer a:hover {
  color: #fff;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 12px;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.footer-socials .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #cbd5e1;
  margin-bottom: 0;
  transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-decoration: none;
}

.footer-socials .social-link svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.footer-socials .social-link:hover {
  color: #fff;
  transform: translateY(-2px);
}

.footer-socials .social-link.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(214, 36, 159, 0.4);
}

.footer-socials .social-link.facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.4);
}

.footer-socials .social-link:hover svg {
  transform: scale(1.08);
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ---------- Guide Article Pages ---------- */
.article-hero {
  background: linear-gradient(160deg, #0b2238 0%, #10385c 45%, #184b7a 100%);
  color: #fff;
  padding: 64px 0 56px;
}

.article-hero .crumbs {
  font-size: 13.5px;
  opacity: 0.85;
  margin-bottom: 16px;
}

.article-hero .crumbs a {
  color: #fff;
}

.article-hero h1 {
  font-size: clamp(30px, 4.2vw, 44px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 24em;
}

.article-hero .meta {
  margin-top: 14px;
  font-size: 14.5px;
  opacity: 0.9;
  font-weight: 600;
}

.article-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 24px 24px;
  font-size: 17.5px;
  line-height: 1.7;
}

.article-body h2 {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.015em;
  margin: 44px 0 14px;
  color: var(--ink);
}

.article-body h3 {
  font-size: 21px;
  font-weight: 800;
  margin: 30px 0 10px;
  color: var(--ink);
}

.article-body p {
  margin-bottom: 18px;
  color: #1e293b;
}

.article-body ul, .article-body ol {
  margin: 0 0 18px 24px;
  color: #1e293b;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body img {
  display: block;
  border-radius: 24px;
  box-shadow: var(--shadow);
  margin: 32px auto;
  max-width: 320px;
  width: 100%;
  height: auto;
  transition: transform 0.2s ease;
}

.article-body img:hover {
  transform: translateY(-4px);
}

.callout {
  background: var(--blue-light);
  border-left: 5px solid var(--blue);
  border-radius: 12px;
  padding: 20px 22px;
  margin: 28px 0;
  font-size: 16px;
}

.callout strong {
  color: var(--blue-dark);
}

.article-cta {
  background: #0b1a2c;
  color: #fff;
  border-radius: var(--radius);
  padding: 36px 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  margin: 48px 0;
}

.article-cta img {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  margin: 0;
  box-shadow: none;
}

.article-cta h3 {
  margin: 0 0 4px;
  font-size: 21px;
  font-weight: 900;
  color: #fff;
}

.article-cta p {
  margin: 0;
  color: #cbd5e1;
  font-size: 15px;
}

@media (max-width: 760px) {
  .article-cta {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

/* ---------- Editorial Montessori Manifesto ---------- */
.editorial-quote-card {
  max-width: 840px;
  margin: 0 auto 48px;
  padding: 32px 36px;
  background: linear-gradient(135deg, #ffffff 0%, #faf8f5 100%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-left: 4px solid var(--amber);
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
  position: relative;
  text-align: left;
}

.editorial-quote-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber-dark);
  margin-bottom: 12px;
}

.editorial-quote-text {
  font-family: 'EB Garamond', Garamond, 'Charter', Georgia, serif;
  font-size: 26px;
  line-height: 1.42;
  color: #0b1a2c;
  font-style: italic;
  font-weight: 500;
  margin-bottom: 12px;
}

.editorial-quote-author {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.editorial-quote-author::before {
  content: "—";
  color: var(--amber);
  font-weight: 700;
}

@media (max-width: 760px) {
  .editorial-quote-card {
    padding: 22px 18px;
    margin-bottom: 36px;
  }
  .editorial-quote-text {
    font-size: 20px;
    line-height: 1.4;
  }
}

/* ---------- Sticky Floating Download Pill (Mobile / Compact) ---------- */
.sticky-download-pill {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 140%);
  width: calc(100% - 32px);
  max-width: 440px;
  z-index: 990;
  background: rgba(11, 26, 44, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35), 0 0 24px rgba(37, 99, 235, 0.25);
  padding: 8px 10px 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  pointer-events: none;
}

.sticky-download-pill.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-download-pill .pill-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.sticky-download-pill .pill-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.sticky-download-pill .pill-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sticky-download-pill .pill-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.sticky-download-pill .pill-meta {
  font-size: 11.5px;
  color: #94a3b8;
  white-space: nowrap;
  line-height: 1.2;
  margin-top: 2px;
}

.sticky-download-pill .pill-btn {
  background: var(--blue);
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 999px;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.45);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.sticky-download-pill .pill-btn:hover {
  background: var(--blue-dark);
  transform: scale(1.03);
}

@media (min-width: 881px) {
  .sticky-download-pill {
    display: none;
  }
}

/* ==========================================================================
   TL;DR Summary Box (AI search-optimized)
   ========================================================================== */
.tldr-box {
  background: var(--green-light);
  border-left: 5px solid var(--green);
  border-radius: 12px;
  padding: 20px 22px;
  margin: 24px 0 36px;
  font-size: 16px;
  line-height: 1.65;
}

.tldr-box strong {
  color: var(--green-dark);
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* ==========================================================================
   Related Guides (inter-guide cross-linking)
   ========================================================================== */
.related-guides {
  margin: 48px 0 0;
  padding: 32px 0 0;
  border-top: 1px solid var(--line);
}

.related-guides h3 {
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 16px;
}

.related-guides-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 640px) {
  .related-guides-list {
    grid-template-columns: 1fr 1fr;
  }
}

.related-guides-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.related-guides-list a:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}

.related-guides-list .emoji {
  font-size: 22px;
  flex-shrink: 0;
}
