/* Instagram bio hub — Anannt Education. Mobile-first, 390px native. */
:root {
  --lh-navy: #111a2e;
  --lh-navy-2: #1f2b45;
  --lh-ink: #172033;
  --lh-ink-soft: #4c5870;
  --lh-muted: #6f788b;
  --lh-line: #dfe5ee;
  --lh-paper: #fffdf8;
  --lh-cream: #fff8ef;
  --lh-gold: #d89022;
  --lh-gold-ink: #15110a;
  --lh-green: #1f8f5f;
  --lh-blue: #315c92;
  --lh-radius: 8px;
  --lh-shadow: 0 12px 32px rgba(17, 26, 46, 0.1);
  --lh-ease: cubic-bezier(0.23, 1, 0.32, 1);
  --lh-header: 64px;
  --lh-pad: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--lh-header) + 12px);
}

html,
body {
  margin: 0;
  min-width: 320px;
  background: var(--lh-paper);
  color: var(--lh-ink);
  font-family: Aptos, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.lh-skip {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2000;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--lh-navy);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
}

.lh-skip:focus {
  transform: none;
}

.lh-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--lh-header);
  padding: 8px var(--lh-pad);
  padding-top: max(8px, env(safe-area-inset-top));
  border-bottom: 1px solid rgba(17, 26, 46, 0.1);
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 8px 28px rgba(17, 26, 46, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.lh-header__inner {
  display: flex;
  max-width: 640px;
  min-height: 48px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lh-brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.lh-brand img {
  display: block;
  width: 118px;
}

.lh-header-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--lh-gold);
  color: var(--lh-gold-ink);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(216, 144, 34, 0.22);
  touch-action: manipulation;
}

.lh-header-cta:hover {
  transform: scale(0.97);
}

.lh-wrap {
  width: min(100% - 32px, 640px);
  margin: 0 auto;
  padding-bottom: 48px;
}

.lh-hero {
  padding: 28px 0 8px;
}

.lh-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--lh-gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.lh-kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
}

.lh-hero h1 {
  margin: 0;
  color: var(--lh-navy);
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.12;
}

.lh-hero p {
  max-width: 38rem;
  margin: 12px 0 0;
  color: var(--lh-ink-soft);
  font-size: 1.02rem;
  line-height: 1.55;
}

.lh-featured {
  display: grid;
  gap: 10px;
  margin: 20px 0 20px;
}

.lh-cta {
  display: flex;
  min-height: 56px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--lh-line);
  border-radius: var(--lh-radius);
  background: #fff;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(17, 26, 46, 0.05);
  touch-action: manipulation;
}

.lh-cta:hover {
  transform: translateY(-1px);
}

.lh-cta:active {
  transform: scale(0.97);
  transition: transform 160ms var(--lh-ease);
}

.lh-cta strong {
  font-size: 1.02rem;
  font-weight: 800;
}

.lh-cta span {
  color: var(--lh-muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.lh-cta--primary {
  background: var(--lh-gold);
  border-color: transparent;
  color: var(--lh-gold-ink);
}

.lh-cta--primary span {
  color: rgba(21, 17, 10, 0.72);
}

.lh-cta--whatsapp {
  background: var(--lh-green);
  border-color: transparent;
  color: #fff;
}

.lh-cta--whatsapp span {
  color: rgba(255, 255, 255, 0.86);
}

.lh-cta--secondary {
  background: var(--lh-navy);
  border-color: transparent;
  color: #fff;
}

.lh-cta--secondary span {
  color: rgba(255, 255, 255, 0.78);
}

.lh-toolbar {
  display: grid;
  gap: 10px;
  margin: 8px 0 16px;
}

.lh-search {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--lh-line);
  border-radius: var(--lh-radius);
  background: #fff;
}

.lh-search svg {
  flex: 0 0 18px;
  color: var(--lh-muted);
}

.lh-search input {
  width: 100%;
  min-height: 46px;
  border: 0;
  background: transparent;
  color: var(--lh-ink);
  font: inherit;
  outline: none;
}

.lh-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lh-chip {
  display: inline-flex;
  min-height: 40px;
  flex: 0 0 auto;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--lh-line);
  border-radius: 999px;
  background: #fff;
  color: var(--lh-ink);
  font-size: 0.88rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
  touch-action: manipulation;
}

.lh-chip.is-active,
.lh-chip:focus-visible {
  border-color: var(--lh-navy);
  background: var(--lh-navy);
  color: #fff;
}

.lh-section {
  margin: 0 0 10px;
  border: 1px solid var(--lh-line);
  border-radius: var(--lh-radius);
  background: #fff;
  overflow: clip;
}

.lh-section > summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  min-height: 64px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}

.lh-section > summary::-webkit-details-marker {
  display: none;
}

.lh-section__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
}

.lh-section__kicker {
  grid-column: 1;
  color: var(--lh-muted);
  font-size: 0.84rem;
}

.lh-section__meta {
  grid-row: 1 / span 2;
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lh-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--lh-cream);
  color: #8a5a12;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.lh-badge--waitlist {
  background: #eef4f7;
  color: var(--lh-blue);
}

.lh-chevron {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  color: var(--lh-muted);
  transition: transform 200ms var(--lh-ease);
}

.lh-section[open] > summary .lh-chevron,
.lh-group[open] > summary .lh-chevron {
  transform: rotate(180deg);
}

.lh-section__body {
  padding: 0 16px 16px;
  border-top: 1px solid var(--lh-line);
}

.lh-section__desc {
  margin: 12px 0 12px;
  color: var(--lh-ink-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

.lh-group {
  margin: 10px 0 0;
}

.lh-group > summary {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  color: var(--lh-navy);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

.lh-group > summary::-webkit-details-marker {
  display: none;
}

.lh-link {
  display: flex;
  min-height: 52px;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  margin: 8px 0 0;
  padding: 12px 12px;
  border: 1px solid var(--lh-line);
  border-radius: var(--lh-radius);
  background: var(--lh-paper);
  text-decoration: none;
  touch-action: manipulation;
}

.lh-link:hover {
  border-color: #c9d3e2;
  background: #fff;
}

.lh-link:active {
  transform: scale(0.97);
}

.lh-link__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.lh-link strong {
  font-size: 0.98rem;
  font-weight: 750;
}

.lh-link em {
  color: var(--lh-muted);
  font-size: 0.84rem;
  font-style: normal;
  line-height: 1.35;
}

.lh-empty {
  margin: 12px 0;
  color: var(--lh-muted);
  font-size: 0.95rem;
}

.lh-footer {
  margin-top: 28px;
  padding: 22px 0 8px;
  border-top: 1px solid var(--lh-line);
}

.lh-footer h2 {
  margin: 0 0 8px;
  font-size: 0.92rem;
  font-weight: 800;
}

.lh-footer p,
.lh-footer a {
  color: var(--lh-ink-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

.lh-footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lh-socials,
.lh-legal,
.lh-about {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
}

.lh-pill {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--lh-line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.lh-copy {
  margin-top: 18px;
  color: var(--lh-muted);
  font-size: 0.82rem;
}

.is-hidden {
  display: none !important;
}

.lh-section.is-target {
  border-color: #c9b48a;
  box-shadow: 0 0 0 3px rgba(216, 144, 34, 0.22);
}

@media (min-width: 720px) {
  :root {
    --lh-header: 72px;
  }

  .lh-brand img {
    width: 136px;
  }

  .lh-hero {
    padding-top: 40px;
  }

  .lh-hero h1 {
    font-size: 2.35rem;
  }

  .lh-featured {
    grid-template-columns: 1fr;
  }

  .lh-section > summary {
    min-height: 72px;
    padding: 16px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .lh-header-cta:hover,
  .lh-cta:hover,
  .lh-cta:active,
  .lh-link:active,
  .lh-chevron {
    transform: none;
    transition: none;
  }
}
