/* ═══════════════════════════════════════════
   LEVELWISE — Design System
   Inspired by Understood.org
   ═══════════════════════════════════════════ */

/* ── Base ── */
body {
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  background-color: #F7F4EF;
  color: #1C1917;
  line-height: 1.7;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  color: #1C1917;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
}

/* ── Emphasis: underline instead of italic ── */
/* Use <span class="lw-em"> for key words */
.lw-em {
  position: relative;
  font-style: normal;
  font-weight: 700;
  color: #1C1917;
  display: inline;
}
.lw-em::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 3px;
  background: #D4795A;
  border-radius: 2px;
}

/* Coral accent for H1 spans */
.lw-accent {
  color: #D4795A;
  font-style: normal;
}

/* ── Navigation ── */
.nav-glass {
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Standard nav link */
.lw-nav-link {
  font-size: 15px;
  font-weight: 500;
  color: #78716C;
  transition: color 0.2s ease;
  padding-bottom: 2px;
  position: relative;
}
.lw-nav-link:hover {
  color: #1C1917;
}
/* Active nav link gets coral underline */
.lw-nav-link.active {
  color: #1C1917;
  font-weight: 600;
  border-bottom: 2px solid #D4795A;
  padding-bottom: 2px;
}

/* ── Buttons ── */
.btn-primary {
  background-color: #D4795A;
  color: #ffffff;
  border-radius: 9999px;
  padding: 0.875rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid transparent;
}
.btn-primary:hover {
  background-color: #A65123;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(212, 121, 90, 0.25);
}
.btn-primary:active {
  transform: scale(0.97);
}

.btn-outline {
  background-color: transparent;
  color: #1C1917;
  border: 2px solid #1C1917;
  border-radius: 9999px;
  padding: 0.875rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-outline:hover {
  background-color: #1C1917;
  color: #ffffff;
}

.btn-nav {
  background-color: #3D6B52;
  color: #ffffff;
  border-radius: 9999px;
  padding: 0.625rem 1.375rem;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}
.btn-nav:hover {
  background-color: #2C4C3A;
}
.btn-nav:active {
  transform: scale(0.95);
}

/* ── Shadows ── */
.editorial-shadow {
  box-shadow: 0 24px 48px -12px rgba(28, 25, 23, 0.06);
}

/* ── Mobile Menu ── */
.mobile-menu { display: none; }
.mobile-menu.active { display: flex; }

/* ── FAQ ── */
.lw-faq {
  font-family: "Atkinson Hyperlegible", "Inter", sans-serif;
}

.lw-faq-item {
  background: #EDE8E0;
  border: 1px solid rgba(28, 25, 23, 0.06);
  border-radius: 1rem;
  overflow: hidden;
}

.lw-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.375rem 1.5rem;
  text-align: left;
  color: #1C1917;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.45;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.lw-faq-question:hover,
.lw-faq-question:focus-visible {
  background: rgba(255, 255, 255, 0.48);
  outline: none;
}

.lw-faq-question:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(212, 121, 90, 0.35);
}

.lw-faq-icon {
  flex-shrink: 0;
  color: #D4795A;
  transition: transform 0.28s ease;
}

.lw-faq-question[aria-expanded="true"] .lw-faq-icon {
  transform: rotate(180deg);
}

.lw-faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.32s ease, opacity 0.24s ease;
}

.lw-faq-answer[hidden] {
  display: block;
}

.lw-faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
  color: #78716C;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-up {
  animation: fadeUp 0.6s ease-out both;
}

/* ── Link style ── */
.link-arrow {
  color: #D4795A;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.2s ease;
}
.link-arrow:hover {
  gap: 0.75rem;
}

/* ── Photo styling ── */
/* Editorial: slightly rotated, rounded, with shadow */
.photo-editorial {
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 20px 60px -10px rgba(28,25,23,0.18);
}
/* Clean: no rotation, soft border */
.photo-clean {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(28,25,23,0.10);
  border: 3px solid #ffffff;
}
