:root {
  --beech: #F3E3C3;
  --cream: #FBF4E6;
  --tomato: #E26D5A;
  --tomato-ink: #B23F2D;
  --sunflower: #F2C14E;
  --teal: #5FA8A0;
  --teal-ink: #2F6E67;
  --blue: #3B5B92;
  --ink: #2A2622;
  --muted: #6A5F55;
  --line: rgba(42, 38, 34, 0.14);
  --r: 28px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--cream); color: var(--ink); }

body {
  font-family: 'Cairo', system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.72;
  overflow-x: hidden;
  letter-spacing: 0;
}

.lo-ltr {
  direction: ltr;
  display: inline-block;
  unicode-bidi: isolate;
  font-family: 'IBM Plex Mono', monospace;
}

.lo-wrap {
  width: min(1260px, calc(100% - 48px));
  margin-inline: auto;
}

/* Friendly Cream Navbar */
.lo-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: 66px;
  background: rgba(251, 244, 230, 0.95);
  backdrop-filter: blur(10px);
}

.lo-nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lo-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.15rem;
  white-space: nowrap;
}

.lo-orbit-icon {
  width: 34px;
  height: 24px;
  border-radius: 50%;
  border: 2.5px solid var(--blue);
  display: grid;
  place-items: center;
  transform: rotate(-18deg);
}

.lo-orbit-icon i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sunflower);
}

.lo-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.lo-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}

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

.lo-nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.lo-mini {
  text-decoration: none;
  color: var(--ink);
  background: var(--beech);
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.lo-cta-tomato {
  text-decoration: none;
  background: var(--tomato);
  color: #FFFDF9;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
  box-shadow: 0 4px 0 var(--tomato-ink);
}

/* Rounded 28px Tactile Wooden-Village Diorama Hero */
.lo-hero {
  padding: 12px 0 60px;
}

.lo-diorama-card {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  min-height: 540px;
  padding: 32px 36px 26px;
  background:
    linear-gradient(180deg, rgba(251, 244, 230, 0.82) 0%, rgba(251, 244, 230, 0.48) 42%, rgba(42, 38, 34, 0.14) 100%),
    url('../assets/art/little-orbit.webp') center bottom / cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  box-shadow: 0 24px 48px -20px rgba(42, 38, 34, 0.24);
}

.lo-kicker-pill {
  display: inline-block;
  background: rgba(255, 253, 249, 0.94);
  color: var(--teal-ink);
  padding: 6px 16px;
  border-radius: 999px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.74rem;
  font-weight: 700;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(42, 38, 34, 0.08);
}

.lo-h1 {
  font-size: clamp(2rem, 3.2vw, 2.95rem);
  font-weight: 800;
  line-height: 1.32;
  color: var(--ink);
  max-width: 24ch;
  text-shadow: 0 2px 18px rgba(251, 244, 230, 0.92);
}

.lo-h1 em {
  font-style: normal;
  color: var(--tomato-ink);
}

.lo-badges-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.lo-pill-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.lo-badge {
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #FFFDF9;
  box-shadow: 0 6px 14px rgba(42, 38, 34, 0.18);
}

.lo-badge.b-teal { background: var(--teal-ink); transform: rotate(-2deg); }
.lo-badge.b-blue { background: var(--blue); transform: rotate(1.5deg); }
.lo-badge.b-tomato { background: var(--tomato-ink); transform: rotate(-1deg); }

.lo-sunrise-pill {
  background: rgba(255, 253, 249, 0.94);
  color: var(--ink);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
}

/* 3-Zone Action Bar + Child Room Finder */
.lo-action-bar {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1.1fr auto 1.15fr;
  gap: 24px;
  align-items: center;
}

.lo-action-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.lo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: 'Cairo', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
}

.lo-btn-tomato { background: var(--tomato); color: #FFFDF9; box-shadow: 0 4px 0 var(--tomato-ink); }
.lo-btn-white { background: #FFFDF9; color: var(--ink); border-color: var(--line); }

.lo-finder {
  background: #FFFDF9;
  border: 2px solid var(--beech);
  border-radius: 20px;
  padding: 14px 18px;
}

.lo-finder-row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.lo-finder select {
  flex: 1;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--cream);
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  color: var(--ink);
}

.lo-finder-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: none;
  background: var(--sunflower);
  color: var(--ink);
  font-family: 'Cairo', sans-serif;
  font-weight: 800;
  font-size: 0.84rem;
  cursor: pointer;
  white-space: nowrap;
}

.lo-finder-out {
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal-ink);
}

/* Sections */
.lo-sec { padding: 72px 0; }
.lo-beech { background: var(--beech); }
.lo-blue-band { background: var(--blue); color: #FFFDF9; }

.lo-eyebrow {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--tomato-ink);
  margin-bottom: 8px;
}

.lo-blue-band .lo-eyebrow { color: var(--sunflower); }

.lo-h2 {
  font-size: clamp(1.95rem, 3.1vw, 2.75rem);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 14px;
}

/* 3 Pillars + Daily Rhythm */
.lo-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 26px;
}

.lo-card {
  background: #FFFDF9;
  border: 2px solid var(--beech);
  border-radius: 24px;
  padding: 26px;
}

.lo-card-dot {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #FFFDF9;
  margin-bottom: 12px;
}

.lo-card h3 { font-size: 1.24rem; font-weight: 800; margin-bottom: 6px; }
.lo-card p { font-size: 0.9rem; color: var(--muted); }

.lo-beats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 26px;
}

.lo-beat {
  background: var(--cream);
  border-radius: 22px;
  padding: 22px;
  border: 2px solid rgba(42, 38, 34, 0.08);
}

.lo-beat .lo-ltr {
  background: var(--sunflower);
  color: var(--ink);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.lo-beat h4 { font-size: 1.12rem; font-weight: 800; margin-bottom: 5px; }
.lo-beat p { font-size: 0.86rem; color: var(--muted); }

/* Tuition Calculator */
.lo-calc-box {
  background: #FFFDF9;
  border: 2px solid var(--beech);
  border-radius: var(--r);
  padding: 30px;
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 28px;
  align-items: center;
  margin-top: 26px;
}

.lo-modes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.lo-mode-btn {
  padding: 9px 15px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: var(--cream);
  color: var(--ink);
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}
.lo-mode-btn.is-active { background: var(--blue); border-color: var(--blue); color: #FFFDF9; }

.lo-range { width: 100%; accent-color: var(--tomato); margin: 10px 0 14px; cursor: pointer; }

.lo-calc-out {
  background: var(--blue);
  color: #FFFDF9;
  border-radius: 22px;
  padding: 26px;
  text-align: center;
}

.lo-fee-num { font-size: 3rem; font-weight: 800; color: var(--sunflower); line-height: 1.15; }

.lo-quote {
  background: rgba(255, 253, 249, 0.12);
  border-radius: 22px;
  padding: 26px 30px;
  margin-top: 24px;
}

.lo-quote blockquote { font-size: 1.28rem; font-weight: 700; margin-bottom: 8px; }
.lo-quote cite { font-style: normal; color: var(--sunflower); font-weight: 700; font-size: 0.88rem; }

/* Footer */
.lo-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 44px 0 36px;
}

.lo-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.lo-footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.lo-footer-links a { color: var(--sunflower); text-decoration: none; font-weight: 700; font-size: 0.88rem; }

@media (max-width: 720px) {
  .lo-links { display: none; }
  .lo-action-bar, .lo-grid-3, .lo-beats, .lo-calc-box { grid-template-columns: 1fr; }
}
