/* ============================================================
   LANDING PAGE — schedull
   Palette: "Forest Ink" — parchment + deep forest + warm amber
   Display font: Cormorant Garamond (loaded globally)
   Body font: Montserrat (loaded globally)
   ============================================================ */

/* Nav max-width override for landing page (full bleed) */

:root{
  --nav-max-width: 80% !important;
}

/* ── Screen-reader only (SEO keyword text in H1) ── */


.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Override layout container for full-width sections ── */
body:has(.landing-page) .container {
  max-width: 100% !important;
  padding: 0 !important;
  width: 100% !important;
}
body:has(.landing-page) .pb-3 {
  padding-bottom: 0 !important;
}

/* ── Scroll-margin so sticky navbar doesn't hide headings ── */
section[id] {
  scroll-margin-top: 72px;
}

/* ── Inner content wrapper (centered, max 1280px) ── */
.lp-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
}

/* ── Scroll-reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Section headers ── */
.lp-section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.lp-section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--font-color);
  margin: 0 0 0.7rem;
  letter-spacing: -0.01em;
}
.lp-section-subtitle {
  font-size: 1rem;
  color: var(--font-color);
  opacity: 0.62;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.72;
}
.lp-title-light   { color: var(--font-color-contrast); }
.lp-subtitle-light { color: var(--font-color-contrast); opacity: 0.62; }

/* =================================================================
   SECTION 1 · HERO
   ================================================================= */
.lp-hero {
  min-height: calc(100dvh - 64px);
  background: var(--main);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Decorative ambient orbs */
.lp-hero::before {
  content: '';
  position: absolute;
  top: -160px;
  right: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 115, 24, 0.13) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.lp-hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -80px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 61, 47, 0.08) 0%, transparent 62%);
  pointer-events: none;
  z-index: 0;
}

.lp-hero .lp-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

/* Two-column split */
.lp-hero__content {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 8rem;
  align-items: center;
}

/* ── Hero text ── */
.lp-hero__eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-color);
  margin: 0 0 1rem;
  animation: fadeSlideUp 0.7s ease-out 0.0s both;
}
.lp-hero__wordmark {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(6rem, 10vw, 8rem);
  font-weight: 700;
  font-style: italic;
  color: var(--purple-color);
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin: 0 0 1.5rem;
  animation: fadeSlideUp 0.8s ease-out 0.1s both;
}
.lp-hero__wordmark p {
  display: inline;
  margin: 0;
}
.lp-hero__dot {
  color: var(--blue-color);
}
.lp-hero__subtitle {
  font-size: 1.05rem;
  line-height: 1.78;
  color: var(--font-color);
  opacity: 0.75;
  max-width: 460px;
  margin: 0 0 2.5rem;
  animation: fadeSlideUp 0.8s ease-out 0.25s both;
}
.lp-hero__alert {
  max-width: 460px;
  margin: -1.25rem 0 1.5rem;
  padding: 0.95rem 1.15rem;
  border: 1px solid rgba(71, 87, 114, 0.16);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(248, 243, 229, 0.94));
  box-shadow: 0 18px 38px rgba(24, 32, 27, 0.08);
  color: var(--font-color);
  font-size: 0.95rem;
  line-height: 1.6;
  animation: fadeSlideUp 0.8s ease-out 0.33s both;
}
.lp-hero__cta {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.8s ease-out 0.4s both;
}

/* NavigationButton overrides in hero */
#cta-signup > button,
#cta-login > button {
  padding: 0.85rem 1.9rem !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  font-family: 'Montserrat', sans-serif !important;
  cursor: pointer !important;
  letter-spacing: 0.04em !important;
  transition: opacity 0.2s ease, transform 0.2s ease !important;
}
#cta-signup > button {
  background-color: var(--purple-color) !important;
  border: 2px solid var(--purple-color) !important;
  color: var(--font-color-contrast) !important;
}
#cta-login > button {
  background-color: transparent !important;
  border: 2px solid var(--purple-color) !important;
  color: var(--purple-color) !important;
}
#cta-signup > button:hover,
#cta-login > button:hover {
  opacity: 0.84 !important;
  transform: translateY(-2px) !important;
}

/* ── Scroll hint ── */
.lp-hero__scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  color: var(--font-color);
  opacity: 0.28;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  animation: bounce 2.8s ease-in-out 2s infinite;
  width: fit-content;
  margin: 0 auto;
}
.lp-hero__scroll-hint .material-symbols-outlined { font-size: 1.1rem; }

/* ── Animated timetable visual ── */
.lp-hero__visual {
  animation: fadeSlideLeft 0.9s ease-out 0.35s both;
}
.hero-timetable {
  background: var(--white-color);
  border-radius: 14px;
  padding: 1.4rem 1.4rem 1.1rem;
  position: relative;
  transform: perspective(1100px) rotateY(-9deg) rotateX(4deg) rotateZ(-1deg);
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow:
    2px 4px 8px rgba(24, 32, 27, 0.05),
    12px 24px 48px rgba(24, 32, 27, 0.13),
    22px 44px 88px rgba(24, 32, 27, 0.09);
}
.hero-timetable:hover {
  transform: perspective(1100px) rotateY(-3deg) rotateX(1.5deg) rotateZ(-0.3deg);
}
/* Forest+amber gradient border */
.hero-timetable::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 1.5px;
  background: linear-gradient(135deg, var(--purple-color), var(--blue-color));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ── Toolbar (mimics the real app header) ── */
.ht-toolbar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--tertiary);
}
.ht-toolbar__class {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}
.ht-toolbar__label {
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--font-color);
  opacity: 0.38;
}
.ht-toolbar__value {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--purple-color);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
}
.ht-toolbar__sep {
  width: 1px;
  height: 14px;
  background: var(--tertiary);
  margin: 0 0.2rem;
}
.ht-toolbar__week {
  font-size: 0.55rem;
  color: var(--font-color);
  opacity: 0.38;
}
.ht-toolbar__badge {
  margin-left: auto;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-color);
  background: rgba(58, 112, 72, 0.1);
  padding: 2px 8px;
  border-radius: 20px;
}

.ht-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ht-header {
  display: grid;
  grid-template-columns: 52px repeat(5, 1fr);
  gap: 4px;
  margin-bottom: 3px;
}
.ht-corner { /* spacer */ }
.ht-day {
  text-align: center;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--font-color);
  opacity: 0.35;
  padding: 3px 0;
}
.ht-row {
  display: grid;
  grid-template-columns: 52px repeat(5, 1fr);
  gap: 4px;
}
.ht-time {
  font-size: 0.55rem;
  font-weight: 600;
  color: var(--font-color);
  opacity: 0.32;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 6px;
}
.ht-cell {
  border-radius: 5px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--main-auxiliary);
  background: var(--main);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 1px 3px rgba(24, 32, 27, 0.06);
  opacity: 0;
  animation: cellPop 0.32s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.ht-cell__subject {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--font-color);
  line-height: 1;
}

.ht-label {
  margin-top: 0.8rem;
  font-size: 0.58rem;
  color: var(--font-color);
  opacity: 0.25;
  text-align: center;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* ── Hero keyframes ── */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideLeft {
  from { opacity: 0; transform: translateX(-28px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes cellPop {
  from { opacity: 0; transform: scale(0.65); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(7px); }
}

/* ── Timetable: drag-and-swap cells ── */
.ht-cell {
  cursor: grab;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}
.ht-cell--dragging {
  opacity: 0.25 !important;
}
.ht-cell--ghost {
  opacity: 0.28 !important;
  border-style: dashed !important;
}
.ht-cell--drag-over {
  background: rgba(184, 115, 24, 0.18) !important;
  border-color: var(--blue-color) !important;
  transform: scale(1.06) !important;
  box-shadow: 0 0 0 2px var(--blue-color), inset 0 1px 0 rgba(255,255,255,0.55) !important;
}
.hero-timetable--dragging {
  transform: perspective(1100px) rotateY(-2deg) rotateX(1deg) rotateZ(-0.2deg) !important;
  transition: none !important;
}
.hero-timetable--dragging:hover {
  transform: perspective(1100px) rotateY(-2deg) rotateX(1deg) rotateZ(-0.2deg) !important;
}

/* Drag hint pill */
.ht-easter-hint {
  position: absolute;
  bottom: 0.7rem;
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  font-size: 0.48rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  background: rgba(244, 241, 235, 0.92);
  color: var(--font-color);
  padding: 3px 11px;
  border-radius: 20px;
  opacity: 0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0,0,0,0.07);
  z-index: 10;
}
.ht-easter-hint--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* =================================================================
   SECTION 2 · FEATURES — Guided Video Tour
   Side-by-side: tabs (same height as video) | video
   ================================================================= */
.lp-features {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--main-auxiliary);
}

/* Centred inner container — matches hero max-width */
.lp-feat-inner {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Row: tabs flush against left edge of video, both stretch to same height */
.lp-feat-body {
  display: flex;
  align-items: stretch;
}

/* ── Left: Vertical tab list ── */
.lp-feat-tabs {
  width: 280px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--tertiary);
  padding-right: 0; /* flush against the video */
}

/* Each tab expands equally to fill the video height */
.lp-feat-tab {
  all: unset;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  cursor: pointer;
  padding: 0.9rem 1.6rem 0.9rem 0;
  border-bottom: 1px solid var(--tertiary);
  box-sizing: border-box;
  transition: opacity 200ms ease;
}
.lp-feat-tab:last-child { border-bottom: none; }
.lp-feat-tab:not(.is-active) { opacity: 0.4; }
.lp-feat-tab:not(.is-active):hover { opacity: 0.68; transition: opacity 150ms ease; }
.lp-feat-tab:focus-visible {
  outline: 2px solid var(--blue-color);
  outline-offset: 2px;
  border-radius: 2px;
}

.lp-feat-tab__num {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--blue-color);
  margin-bottom: 0.18rem;
}

.lp-feat-tab__body { display: block; }

.lp-feat-tab__title {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--font-color);
}

/* Description collapses/expands on active */
.lp-feat-tab__desc {
  display: block;
  font-size: 0.78rem;
  line-height: 1.58;
  color: var(--font-color);
  opacity: 0.6;
  max-height: 0;
  overflow: hidden;
  margin-top: 0;
  transition: max-height 380ms ease, margin-top 380ms ease;
}
.lp-feat-tab.is-active .lp-feat-tab__desc {
  max-height: 110px;
  margin-top: 0.42rem;
}

/* Progress bar in active tab */
.lp-feat-tab__progress {
  height: 1.5px;
  background: var(--tertiary);
  border-radius: 1px;
  margin-top: 0.65rem;
  overflow: hidden;
  display: none;
}
.lp-feat-tab.is-active .lp-feat-tab__progress { display: block; }

.lp-feat-tab__bar {
  height: 100%;
  width: 0;
  background: var(--blue-color);
  border-radius: 1px;
}
.lp-feat-tab__bar.is-running {
  animation: featBarFill 8s linear forwards;
}
@keyframes featBarFill {
  from { width: 0; }
  to   { width: 100%; }
}

/* ── Right: Video — fills remaining space, drives section height ── */
.lp-feat-video-wrap {
  flex: 1;
  position: relative;
  min-width: 0; /* prevent flex overflow */
}

.lp-feat-videos {
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: 0 10px 10px 0; /* only round the right corners, left side meets tab list */
  overflow: hidden;
  position: relative;
  background: var(--purple-color); /* visible only if poster fails */
  box-shadow:
    0 2px 0 rgba(24,32,27,0.03),
    0 10px 32px rgba(24,32,27,0.1),
    0 28px 60px rgba(24,32,27,0.07);
}

.lp-feat-video-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 480ms ease;
}
.lp-feat-video-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.lp-feat-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Pause hint — centred over the video */
.lp-feat-hint[hidden] { display: none; } /* prevent display:flex from overriding the hidden attribute */
.lp-feat-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(244, 241, 235, 0.92);
  color: var(--font-color);
  border-radius: 40px;
  padding: 0.5rem 1rem;
  font-size: 0.71rem;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  pointer-events: none;
  backdrop-filter: blur(8px);
  white-space: nowrap;
  z-index: 10;
}
.lp-feat-hint .material-symbols-outlined {
  font-size: 0.9rem;
  color: var(--blue-color);
  font-variation-settings: 'FILL' 1;
}
.lp-feat-hint kbd {
  font-family: inherit;
  border: 1px solid var(--tertiary);
  border-radius: 3px;
  padding: 0 3px;
  font-size: 0.63rem;
  background: rgba(255,255,255,0.5);
}

/* Caption centred below the video row */
.lp-feat-caption {
  text-align: center;
  font-size: 0.87rem;
  line-height: 1.65;
  color: var(--font-color);
  opacity: 0.55;
  margin: 1.4rem 0 0;
  transition: opacity 300ms ease;
}

/* Dark mode */
body.dark-mode .lp-feat-videos {
  box-shadow: 0 10px 36px rgba(0,0,0,0.38), 0 28px 60px rgba(0,0,0,0.22);
}
body.dark-mode .lp-feat-hint {
  background: rgba(27, 25, 22, 0.92);
}

/* =================================================================
   SECTION 3 · PRICING — Card layout
   ================================================================= */
.lp-pricing {
  background: var(--main);
  padding: 6.5rem 0;
}

/* ── Three-column card grid ── */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

/* ── Base card ── */
.pc2-card {
  background: var(--white-color);
  border: 1.5px solid var(--tertiary);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  position: relative;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 20px rgba(24, 32, 27, 0.06);
}
.pc2-card:hover {
  box-shadow: 0 12px 40px rgba(24, 32, 27, 0.11);
  transform: translateY(-3px);
}

/* ── Professional card — featured ── */
.pc2-card--pro {
  border-color: var(--purple-color);
  box-shadow: 0 8px 32px rgba(30, 61, 47, 0.14);
}
.pc2-card--pro:hover {
  box-shadow: 0 16px 48px rgba(30, 61, 47, 0.22);
  transform: translateY(-5px);
}

/* ── Most popular badge ── */
.pc2-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--purple-color), var(--blue-color));
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.22rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.8rem;
}

/* ── Tier name ── */
.pc2-tier-name {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--font-color);
  opacity: 0.4;
  margin-bottom: 0.85rem;
}
.pc2-card--pro .pc2-tier-name {
  color: var(--purple-color);
  opacity: 0.75;
}

/* ── Price ── */
.pc2-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
  line-height: 1;
}
.pc2-price {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 3.6rem;
  font-weight: 700;
  color: var(--font-color);
  letter-spacing: -0.03em;
  line-height: 1;
}
.pc2-card--pro .pc2-price { color: var(--purple-color); }
.pc2-period {
  font-size: 0.95rem;
  color: var(--font-color);
  opacity: 0.45;
  font-weight: 500;
  align-self: flex-end;
  padding-bottom: 0.4rem;
}

/* ── Discount + renewal lines ── */
.pc2-first-year {
  font-size: 0.78rem;
  color: var(--blue-color);
  font-weight: 600;
  margin-top: 0.45rem;
  letter-spacing: 0.01em;
}
.pc2-renewal {
  font-size: 0.7rem;
  color: var(--font-color);
  opacity: 0.38;
  margin-top: 0.2rem;
  margin-bottom: 1.4rem;
}

/* ── CTA button ── */
.pc2-cta {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 0.82rem 1rem;
  border: 2px solid var(--purple-color);
  border-radius: 10px;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--purple-color);
  background: transparent;
  transition: background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}
.pc2-cta:hover {
  background: var(--purple-color);
  color: var(--font-color-contrast);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(30, 61, 47, 0.2);
}
.pc2-card--pro .pc2-cta {
  background: var(--purple-color);
  color: var(--font-color-contrast);
  box-shadow: 0 4px 18px rgba(30, 61, 47, 0.25);
}
.pc2-card--pro .pc2-cta:hover {
  background: var(--dark-blue-color);
  border-color: var(--dark-blue-color);
  box-shadow: 0 6px 24px rgba(30, 61, 47, 0.35);
}

/* ── Divider ── */
.pc2-divider {
  border: none;
  border-top: 1px solid var(--main-auxiliary);
  margin: 1.5rem 0 1.25rem;
}

/* ── Feature list ── */
.pc2-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.68rem;
}
.pc2-feat {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.84rem;
  color: var(--font-color);
  line-height: 1.45;
}
.pc2-feat svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: 0.14rem;
  stroke-width: 2;
}
.pc2-feat--yes svg { color: var(--green-color); }
.pc2-feat--no svg { color: #d4d4d0; }
.pc2-feat--no span:last-child { opacity: 0.32; }

/* ── Trial CTA below cards ── */
.pricing-trial-cta {
  text-align: center;
  margin-top: 2.75rem;
}
.pricing-trial-cta__text {
  font-size: 0.9rem;
  color: var(--font-color);
  opacity: 0.62;
}
.pricing-trial-cta__link {
  color: var(--blue-color);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.pricing-trial-cta__link:hover { text-decoration: underline; }

/* ── Promo note ── */
.pricing-promo-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--font-color);
  opacity: 0.4;
  margin-top: 1.25rem;
  line-height: 1.55;
}

/* ── Dark mode ── */
body.dark-mode .pc2-card {
  background: var(--main-auxiliary);
  border-color: var(--tertiary);
}
body.dark-mode .pc2-card--pro {
  border-color: var(--purple-color);
  background: rgba(78, 125, 103, 0.07);
}
body.dark-mode .pc2-price { color: var(--font-color); }
body.dark-mode .pc2-card--pro .pc2-price { color: var(--purple-color); }
body.dark-mode .pc2-divider { border-color: var(--tertiary); }
body.dark-mode .pc2-feat--no svg { color: #3a3834; }

/* =================================================================
   SECTION 4 · TESTIMONIALS
   — Warm stone bg, white cards with Cormorant open-quotes in amber
   ================================================================= */
.lp-testimonials {
  background: var(--main-auxiliary);
  padding: 6.5rem 0;
}
.lp-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
  align-items: start;
}
.testimonial-card {
  background: var(--white-color);
  border-radius: 16px;
  padding: 2rem 1.8rem 1.8rem;
  box-shadow: 0 4px 24px var(--shadow-color-light);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow-color-light);
}
.testimonial-card blockquote {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.75;
  color: var(--font-color);
  position: relative;
  padding-top: 1.75rem;
}
.testimonial-card blockquote::before {
  content: '\201C';
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 4.5rem;
  color: var(--blue-color);
  position: absolute;
  top: -0.55rem;
  left: -0.1rem;
  line-height: 1;
  opacity: 0.65;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.testimonial-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-color), var(--blue-color));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.04em;
}
.testimonial-card__name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--font-color);
}
.testimonial-card__role {
  font-size: 0.76rem;
  color: var(--font-color);
  opacity: 0.5;
  margin-top: 1px;
}

/* =================================================================
   SECTION 5 · FAQ
   — Parchment bg, clean native details/summary accordion
   ================================================================= */
.lp-faq {
  background: var(--main);
  padding: 6.5rem 0;
}
.faq-list {
  max-width: 740px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--tertiary);
  overflow: hidden;
}
.faq-item:first-of-type { border-top: 1px solid var(--tertiary); }

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.35rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--font-color);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 0.2s ease;
  gap: 1rem;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::marker { display: none; }
.faq-q::after {
  content: '+';
  font-size: 1.55rem;
  font-weight: 300;
  color: var(--purple-color);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  line-height: 1;
}
.faq-item[open] > .faq-q { color: var(--purple-color); }
.faq-item[open] > .faq-q::after { transform: rotate(45deg); }
.faq-a {
  padding-bottom: 1.4rem;
  font-size: 0.93rem;
  line-height: 1.78;
  color: var(--font-color);
  opacity: 0.7;
}

/* =================================================================
   DARK MODE — deep midnight forest
   ================================================================= */
body.dark-mode .ht-toolbar {
  border-bottom-color: var(--tertiary);
}
body.dark-mode .ht-toolbar__badge {
  color: #6ed4a8;
  background: rgba(110, 212, 168, 0.1);
}
body.dark-mode .ht-cell {
  background: var(--main-auxiliary);
  border-color: var(--tertiary);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 1px 3px rgba(0, 0, 0, 0.2);
}
body.dark-mode .hero-timetable {
  background: var(--main-auxiliary);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.3),
    0 20px 60px rgba(0, 0, 0, 0.4);
}
body.dark-mode .ht-day,
body.dark-mode .ht-time { color: var(--font-color); }

body.dark-mode .ht-easter-hint {
  background: rgba(27, 25, 22, 0.92);
  border-color: rgba(255,255,255,0.08);
}

body.dark-mode .testimonial-card {
  background: var(--main-auxiliary);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

/* =================================================================
   RESPONSIVE
   ================================================================= */

/* ── ≤1280px: nav stretches full width ── */
@media (max-width: 1280px) {
  :root {
    --nav-max-width: 100% !important;
  }
}

/* ── ≤1000px: hero stacks (visual above text) ── */
@media (max-width: 1000px) {
  .lp-hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3.5rem;
  }
  .lp-hero__visual {
    order: -1;
    display: block;
    width: 400px;
    margin: 0 auto;
  }
  .lp-hero__text {
    width: 100%;
    max-width: 600px;
    text-align: center;
  }
  .lp-hero__subtitle,
  .lp-hero__alert {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  /* Buttons stack vertically */
  .lp-hero__cta {
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
  }
  #cta-signup > button,
  #cta-login > button {
    min-width: 260px !important;
    max-width: 320px !important;
    width: 100% !important;
  }
  /* Reduce the visual footprint so the timetable behaves more like a hero object. */
  .ht-cell { height: 22px; }
  .ht-header,
  .ht-row  { grid-template-columns: 34px repeat(5, 1fr); gap: 3px; }
  .ht-inner { gap: 3px; }
  .ht-cell__subject { font-size: 0.52rem; }
  .ht-time  { font-size: 0.42rem; padding-right: 4px; }
  .ht-day   { font-size: 0.42rem; }
  .ht-toolbar { gap: 0.45rem; margin-bottom: 0.65rem; padding-bottom: 0.55rem; }
  .ht-toolbar__label { font-size: 0.46rem; }
  .ht-toolbar__value { font-size: 0.72rem; }
  .ht-toolbar__week  { font-size: 0.4rem; }
  .hero-timetable {
    padding: 0.65rem 0.68rem 0.72rem;
    border-radius: 12px;
    transform: perspective(900px) rotateY(-5deg) rotateX(2deg) rotateZ(-0.5deg);
  }
  .hero-timetable:hover {
    transform: perspective(900px) rotateY(-2deg) rotateX(0.8deg) rotateZ(-0.2deg);
  }
}

@media (max-width: 960px) {
  /* Stack: horizontal tab strip above the video */
  .lp-feat-body {
    flex-direction: column;
  }
  .lp-feat-tabs {
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
    scrollbar-width: none;
    border-right: none;
    border-bottom: 1px solid var(--tertiary);
    padding: 0;
    -webkit-overflow-scrolling: touch;
  }
  .lp-feat-tabs::-webkit-scrollbar { display: none; }
  .lp-feat-tab {
    flex: 1 1 0;          /* equal width, fill full strip */
    min-width: 0;
    max-width: none;
    justify-content: center;
    align-items: center;
    border-bottom: none;
    border-right: 1px solid var(--tertiary);
    padding: 0.65rem 0.5rem;
    /* Active indicator: amber bottom border */
    box-shadow: inset 0 -2px 0 transparent;
    transition: box-shadow 200ms ease, opacity 200ms ease;
  }
  .lp-feat-tab.is-active {
    box-shadow: inset 0 -2px 0 var(--blue-color);
  }
  .lp-feat-tab:last-child { border-right: none; }
  /* In horizontal mode show only number, hide everything else */
  .lp-feat-tab__title { display: none; }
  .lp-feat-tab__desc  { display: none; }
  .lp-feat-tab__num {
    font-size: 0.85rem;
    margin-bottom: 0;
  }
  .lp-feat-tab__progress { margin-top: 0.35rem; }
  .lp-feat-video-wrap { width: 100%; }
  .lp-feat-videos { border-radius: 0 0 10px 10px; } /* tab strip above, round bottom corners */
}

@media (max-width: 900px) {
  .lp-testimonials__grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
}
@media (max-width: 820px) {
  .pricing-cards { gap: 1rem; }
  .pc2-price { font-size: 2.8rem; }
  .pc2-card { padding: 1.6rem 1.25rem; }
}
@media (max-width: 600px) {
  .lp-inner { padding: 0 1.25rem; }
  .lp-hero {
    padding: 3.5rem 0 2.5rem;
    min-height: auto;
  }
  .lp-hero__content { gap: 3.5rem; }
  .lp-hero__visual {
    width: 300px;
  }
  .lp-hero__wordmark { font-size: 6rem; }
  .ht-header,
  .ht-row { grid-template-columns: 30px repeat(5, 1fr); gap: 2px; }
  .ht-inner { gap: 2px; }
  .ht-cell { height: 20px; border-radius: 4px; }
  .ht-cell__subject { font-size: 0.48rem; }
  .ht-time { font-size: 0.38rem; padding-right: 3px; }
  .ht-day { font-size: 0.39rem; }
  .ht-toolbar { gap: 0.35rem; margin-bottom: 0.5rem; padding-bottom: 0.45rem; }
  .ht-toolbar__label,
  .ht-toolbar__week { font-size: 0.36rem; }
  .ht-toolbar__value { font-size: 0.64rem; }
  .hero-timetable { padding: 0.55rem 0.58rem 0.62rem; }
  .lp-pricing,
  .lp-testimonials,
  .lp-faq { padding: 4.5rem 0; }
  .lp-feat-inner { padding: 0 1rem; }
  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
  .pc2-card--pro { order: -1; }
  .pc2-price { font-size: 3.2rem; }
  .faq-q { font-size: 0.92rem; }
}
