/* lernstudio-celle.de */
/* a real learning studio in Celle that deserved better than a tutoring template */

/* this took longer than i'd like to admit */
/* Instrument Serif for warmth, Nunito for clarity — the tension makes it trustworthy */
/* the confidence tracker was going to be a radar chart. glad we didn't. */
/* safari strikes again — this fix is load-bearing */
/* the spacing scale took three rounds. this is the one */
/* resist the urge to add more breakpoints */
/* z-index: 9 because 10 felt arrogant */
/* the hero was originally a full-bleed classroom photo — we cut it */
/* don't let anyone talk you into a CSS framework here */
/* the nav progress dots were tried and removed. too clever. */

/* =============================================
   reset
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; }

/* =============================================
   tokens
   ============================================= */
:root {
  /* colors */
  --c-bg:         #f7f8fb;
  --c-surface:    #ffffff;
  --c-navy:       #1a3a5c;
  --c-navy-dark:  #0f2640;
  --c-navy-mid:   #2c5282;
  --c-teal:       #3d8b7a;
  --c-teal-light: #e8f4f0;
  --c-teal-mid:   #6db5a4;
  --c-sage:       #8aac8b;
  --c-sage-light: #eef4ee;
  --c-blue:       #4a7db5;
  --c-blue-light: #e8f0f9;
  --c-text:       #1e2d3d;
  --c-text-mid:   #3d526a;
  --c-text-sub:   #6b7f96;
  --c-subtle:     #b0bfcc;
  --c-border:     #dde4ed;
  --c-white:      #ffffff;

  /* spacing */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;

  /* type scale */
  --fs-xs:  0.75rem;
  --fs-sm:  0.875rem;
  --fs-base: 1rem;
  --fs-md:  1.125rem;
  --fs-lg:  1.25rem;
  --fs-xl:  1.5rem;
  --fs-2xl: 1.875rem;
  --fs-3xl: 2.25rem;
  --fs-4xl: 2.875rem;
  --fs-5xl: 3.5rem;

  /* radius */
  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  24px;
  --r-full: 9999px;

  /* shadow */
  --sh-sm:  0 1px 3px rgba(26,58,92,0.08), 0 1px 2px rgba(26,58,92,0.04);
  --sh-md:  0 4px 12px rgba(26,58,92,0.10), 0 2px 4px rgba(26,58,92,0.06);
  --sh-lg:  0 8px 24px rgba(26,58,92,0.12), 0 4px 8px rgba(26,58,92,0.06);
  --sh-xl:  0 16px 48px rgba(26,58,92,0.14), 0 8px 16px rgba(26,58,92,0.08);

  /* transition */
  --tr-fast:   150ms ease;
  --tr-base:   250ms ease;
  --tr-slow:   400ms ease;

  /* z-index */
  --z-base:    1;
  --z-above:   9;
  --z-nav:     100;
  --z-modal:   200;
  --z-toast:   300;
}

/* =============================================
   base
   ============================================= */
body {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: var(--fs-base);
  color: var(--c-text);
  background: var(--c-bg);
}

h1, h2, h3, h4, h5 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  line-height: 1.2;
  color: var(--c-navy);
}

h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl); }
h5 { font-size: var(--fs-lg); }

p { margin-bottom: var(--sp-4); color: var(--c-text-mid); line-height: 1.75; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 700; color: var(--c-text); }
em { font-style: italic; }

a:hover { color: var(--c-teal); }

/* =============================================
   layout
   ============================================= */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.container--narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

main { padding-top: 64px; }

.section { padding: var(--sp-20) 0; }
.section--sm { padding: var(--sp-12) 0; }
.section--lg { padding: var(--sp-24) 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-teal);
  margin-bottom: var(--sp-4);
}

.section-title {
  font-size: var(--fs-3xl);
  color: var(--c-navy);
  margin-bottom: var(--sp-4);
  max-width: 600px;
}

.section-subtitle {
  font-size: var(--fs-md);
  color: var(--c-text-sub);
  max-width: 560px;
  margin-bottom: var(--sp-12);
  line-height: 1.7;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); }

/* =============================================
   header
   ============================================= */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  background: rgba(247,248,251,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
  transition: box-shadow var(--tr-base);
}

#site-header.scrolled { box-shadow: var(--sh-md); }

#site-header .container { height: 100%; }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--sp-6);
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo img {
  max-width: 160px;
  max-height: 50px;
}

.footer-logo img {
  max-width: 160px;
  max-height: 50px;
}

.nav-logo-mark {
  width: 32px;
  height: 32px;
  background: var(--c-navy);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-white);
  font-size: var(--fs-md);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  flex: 1;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.nav-links a {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-text-mid);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-sm);
  transition: color var(--tr-fast), background var(--tr-fast);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--c-navy);
  background: var(--c-blue-light);
}

.nav-actions {
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--r-full);
  font-size: var(--fs-sm);
  font-weight: 700;
  transition: all var(--tr-base);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--c-navy);
  color: var(--c-white);
}

.btn-primary:hover {
  background: var(--c-navy-dark);
  color: var(--c-white);
  box-shadow: var(--sh-md);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--c-navy);
  border: 2px solid var(--c-navy);
}

.btn-outline:hover {
  background: var(--c-navy);
  color: var(--c-white);
}

.btn-teal {
  background: var(--c-teal);
  color: var(--c-white);
}

.btn-teal:hover {
  background: var(--c-teal-light);
  color: var(--c-teal);
  box-shadow: var(--sh-md);
}

.btn-lg {
  padding: var(--sp-4) var(--sp-8);
  font-size: var(--fs-base);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-navy);
  border-radius: 2px;
  transition: all var(--tr-base);
}

/* =============================================
   mobile menu
   ============================================= */
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  padding: var(--sp-6);
  z-index: calc(var(--z-nav) - 1);
  box-shadow: var(--sh-lg);
  transform: translateY(-100%);
  opacity: 0;
  transition: transform var(--tr-base), opacity var(--tr-base);
}

.mobile-menu.open {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu a {
  display: block;
  padding: var(--sp-3) var(--sp-2);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--c-text-mid);
  border-bottom: 1px solid var(--c-border);
  transition: color var(--tr-fast);
}

.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--c-teal); }

/* =============================================
   breadcrumb
   ============================================= */
.breadcrumb {
  padding: var(--sp-4) 0;
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-sm);
  color: var(--c-text-sub);
}

.breadcrumb li + li::before {
  content: "›";
  color: var(--c-subtle);
}

.breadcrumb li a {
  color: var(--c-text-sub);
  transition: color var(--tr-fast);
}

.breadcrumb li a:hover { color: var(--c-teal); }
.breadcrumb li:last-child { color: var(--c-text-mid); font-weight: 600; }

/* =============================================
   hero section (homepage)
   ============================================= */
.hero-statement {
  background: linear-gradient(160deg, #1a3a5c 0%, #2c5282 60%, #3d8b7a 100%);
  padding: var(--sp-20) 0 var(--sp-24);
  color: var(--c-white);
  position: relative;
  overflow: hidden;
}

.hero-statement::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}

.hero-statement::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(61,139,122,0.18);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: var(--z-base);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--sp-6);
}

.hero-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: var(--fs-5xl);
  color: var(--c-white);
  line-height: 1.1;
  margin-bottom: var(--sp-6);
  max-width: 700px;
}

.hero-title em {
  font-style: italic;
  color: var(--c-teal-mid);
}

.hero-desc {
  font-size: var(--fs-md);
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  margin-bottom: var(--sp-10);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-bottom: var(--sp-12);
}

.hero-actions .btn-primary {
  background: var(--c-white);
  color: var(--c-navy);
}

.hero-actions .btn-primary:hover {
  background: var(--c-teal-light);
  color: var(--c-teal);
}

.hero-actions .btn-outline {
  border-color: rgba(255,255,255,0.4);
  color: var(--c-white);
}

.hero-actions .btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.7);
  color: var(--c-white);
}

.hero-stats {
  display: flex;
  gap: var(--sp-8);
  flex-wrap: wrap;
}

.hero-stat-number {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: var(--fs-3xl);
  color: var(--c-white);
  line-height: 1;
  margin-bottom: 2px;
}

.hero-stat-label {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* =============================================
   subject cards
   ============================================= */
.subject-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: all var(--tr-base);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.subject-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--c-teal);
  transform: scaleX(0);
  transition: transform var(--tr-base);
  transform-origin: left;
}

.subject-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
  border-color: var(--c-teal-mid);
}

.subject-card:hover::before { transform: scaleX(1); }

.subject-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--c-teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-teal);
  margin-bottom: var(--sp-4);
}

.subject-name {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: var(--fs-lg);
  color: var(--c-navy);
  margin-bottom: var(--sp-2);
}

.subject-desc {
  font-size: var(--fs-sm);
  color: var(--c-text-sub);
  line-height: 1.6;
  margin-bottom: 0;
}

/* =============================================
   process steps
   ============================================= */
.process-step {
  display: flex;
  gap: var(--sp-5);
  padding: var(--sp-6);
  background: var(--c-surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  margin-bottom: var(--sp-4);
  transition: box-shadow var(--tr-base);
}

.process-step:hover { box-shadow: var(--sh-md); }

.step-number {
  width: 40px;
  height: 40px;
  background: var(--c-navy);
  color: var(--c-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--fs-sm);
  flex-shrink: 0;
}

.step-content h4 { font-size: var(--fs-md); margin-bottom: var(--sp-1); }
.step-content p { font-size: var(--fs-sm); margin-bottom: 0; }

/* =============================================
   confidence tracker (unique component)
   ============================================= */
.confidence-tracker {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  box-shadow: var(--sh-sm);
}

.tracker-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--sp-8);
}

.tracker-subject {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--c-border);
}

.tracker-subject:last-child { border-bottom: none; }

.tracker-subject-name {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-text);
}

.tracker-bar-wrap {
  width: 180px;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.tracker-bar {
  flex: 1;
  height: 8px;
  background: var(--c-border);
  border-radius: var(--r-full);
  overflow: hidden;
}

.tracker-fill {
  height: 100%;
  border-radius: var(--r-full);
  background: linear-gradient(90deg, var(--c-teal), var(--c-blue));
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0;
}

.tracker-pct {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--c-teal);
  min-width: 36px;
  text-align: right;
}

/* =============================================
   info cards
   ============================================= */
.info-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--sh-sm);
  transition: box-shadow var(--tr-base), transform var(--tr-base);
}

.info-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
}

.info-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--c-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-blue);
  margin-bottom: var(--sp-4);
}

/* =============================================
   blog / learning journal cards
   ============================================= */
.blog-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--tr-base);
  cursor: pointer;
}

.blog-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}

.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.blog-card-body {
  padding: var(--sp-5);
}

.blog-card-tag {
  display: inline-block;
  background: var(--c-teal-light);
  color: var(--c-teal);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-full);
  margin-bottom: var(--sp-3);
}

.blog-card-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: var(--fs-lg);
  color: var(--c-navy);
  margin-bottom: var(--sp-2);
  line-height: 1.3;
}

.blog-card-excerpt {
  font-size: var(--fs-sm);
  color: var(--c-text-sub);
  line-height: 1.6;
  margin-bottom: var(--sp-4);
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--fs-xs);
  color: var(--c-text-sub);
}

/* =============================================
   page hero (inner pages)
   ============================================= */
.page-hero {
  background: linear-gradient(150deg, var(--c-navy) 0%, var(--c-navy-mid) 100%);
  padding: var(--sp-16) 0 var(--sp-12);
  color: var(--c-white);
}

.page-hero-label {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-teal-mid);
  margin-bottom: var(--sp-3);
}

.page-hero-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: var(--fs-4xl);
  color: var(--c-white);
  line-height: 1.15;
  margin-bottom: var(--sp-4);
  max-width: 640px;
}

.page-hero-desc {
  font-size: var(--fs-md);
  color: rgba(255,255,255,0.78);
  max-width: 540px;
  line-height: 1.75;
}

/* =============================================
   hero image (after breadcrumb on inner pages)
   ============================================= */
.content-hero-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--r-lg);
  margin: var(--sp-8) 0;
  display: block;
}

/* =============================================
   testimonial cards
   ============================================= */
.testimonial-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 60px;
  line-height: 1;
  color: var(--c-teal-light);
  position: absolute;
  top: var(--sp-4);
  left: var(--sp-5);
}

.testimonial-text {
  font-size: var(--fs-sm);
  color: var(--c-text-mid);
  line-height: 1.75;
  padding-top: var(--sp-6);
  margin-bottom: var(--sp-5);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-teal);
  font-weight: 700;
  font-size: var(--fs-sm);
  flex-shrink: 0;
}

.author-name {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-text);
}

.author-role {
  font-size: var(--fs-xs);
  color: var(--c-text-sub);
}

/* =============================================
   pricing cards
   ============================================= */
.pricing-card {
  background: var(--c-surface);
  border: 2px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  position: relative;
  transition: all var(--tr-base);
}

.pricing-card:hover { box-shadow: var(--sh-lg); }

.pricing-card.featured {
  border-color: var(--c-teal);
  background: linear-gradient(160deg, #f0fbf8 0%, #ffffff 100%);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-teal);
  color: var(--c-white);
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: var(--sp-1) var(--sp-4);
  border-radius: var(--r-full);
  white-space: nowrap;
}

.pricing-plan {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-text-sub);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-4);
}

.pricing-amount {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 3rem;
  color: var(--c-navy);
  line-height: 1;
  margin-bottom: var(--sp-2);
}

.pricing-period {
  font-size: var(--fs-sm);
  color: var(--c-text-sub);
  margin-bottom: var(--sp-6);
}

.pricing-features {
  margin: var(--sp-6) 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--c-text-mid);
}

.pricing-feature svg { color: var(--c-teal); flex-shrink: 0; }

/* =============================================
   faq accordion
   ============================================= */
.faq-item {
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  margin-bottom: var(--sp-3);
  overflow: hidden;
  background: var(--c-surface);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: var(--sp-5) var(--sp-6);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--c-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  transition: background var(--tr-fast);
}

.faq-question:hover { background: var(--c-blue-light); }
.faq-question.open { background: var(--c-blue-light); }

.faq-icon {
  width: 24px;
  height: 24px;
  color: var(--c-teal);
  flex-shrink: 0;
  transition: transform var(--tr-base);
}

.faq-question.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 var(--sp-6) var(--sp-5);
  font-size: var(--fs-sm);
  color: var(--c-text-mid);
  line-height: 1.75;
  border-top: 1px solid var(--c-border);
  padding-top: var(--sp-4);
}

.faq-answer.open { display: block; }

/* =============================================
   contact form
   ============================================= */
.form-group {
  margin-bottom: var(--sp-5);
}

.form-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: var(--sp-2);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  font-size: var(--fs-base);
  color: var(--c-text);
  background: var(--c-white);
  transition: border-color var(--tr-fast), box-shadow var(--tr-fast);
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--c-teal);
  box-shadow: 0 0 0 3px rgba(61,139,122,0.12);
}

.form-textarea { resize: vertical; min-height: 120px; }

/* =============================================
   trust signals / badges
   ============================================= */
.trust-bar {
  background: var(--c-navy);
  padding: var(--sp-5) 0;
}

.trust-items {
  display: flex;
  justify-content: center;
  gap: var(--sp-10);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  color: rgba(255,255,255,0.85);
  font-size: var(--fs-sm);
  font-weight: 600;
}

.trust-item svg { color: var(--c-teal-mid); }

/* =============================================
   teacher/team cards
   ============================================= */
.teacher-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: box-shadow var(--tr-base);
}

.teacher-card:hover { box-shadow: var(--sh-md); }

.teacher-avatar {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--c-teal-light) 0%, var(--c-blue-light) 100%);
  overflow: hidden;
}

.teacher-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.teacher-body { padding: var(--sp-5); }

.teacher-name {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: var(--fs-xl);
  color: var(--c-navy);
  margin-bottom: var(--sp-1);
}

.teacher-title {
  font-size: var(--fs-sm);
  color: var(--c-teal);
  font-weight: 700;
  margin-bottom: var(--sp-3);
}

.teacher-bio {
  font-size: var(--fs-sm);
  color: var(--c-text-sub);
  line-height: 1.65;
  margin-bottom: 0;
}

/* =============================================
   tools page components
   ============================================= */
.tool-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  box-shadow: var(--sh-sm);
  margin-bottom: var(--sp-10);
}

.tool-card-header {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-5);
  margin-bottom: var(--sp-6);
}

.tool-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-lg);
  background: var(--c-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-white);
  flex-shrink: 0;
}

.tool-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: var(--fs-2xl);
  color: var(--c-navy);
  margin-bottom: var(--sp-1);
}

.tool-desc {
  font-size: var(--fs-sm);
  color: var(--c-text-sub);
  margin-bottom: 0;
  line-height: 1.6;
}

/* learning path builder */
.path-builder { max-width: 640px; }

.path-step {
  margin-bottom: var(--sp-6);
}

.path-step-label {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: var(--sp-3);
}

.path-options {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.path-option {
  padding: var(--sp-2) var(--sp-4);
  border: 2px solid var(--c-border);
  border-radius: var(--r-full);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-text-mid);
  cursor: pointer;
  transition: all var(--tr-fast);
  background: transparent;
}

.path-option:hover,
.path-option.selected {
  border-color: var(--c-teal);
  color: var(--c-teal);
  background: var(--c-teal-light);
}

.path-result {
  display: none;
  background: linear-gradient(135deg, var(--c-teal-light), var(--c-blue-light));
  border: 1px solid var(--c-teal-mid);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  margin-top: var(--sp-6);
}

.path-result.show { display: block; }

/* exam readiness */
.exam-question {
  margin-bottom: var(--sp-5);
  padding: var(--sp-5);
  background: var(--c-bg);
  border-radius: var(--r-md);
  border: 1px solid var(--c-border);
}

.exam-question p {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-navy);
  margin-bottom: var(--sp-3);
}

.exam-scale {
  display: flex;
  gap: var(--sp-2);
  align-items: center;
}

.exam-scale input[type="range"] {
  flex: 1;
  accent-color: var(--c-teal);
}

.exam-scale span {
  font-size: var(--fs-xs);
  color: var(--c-text-sub);
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

.readiness-result {
  display: none;
  margin-top: var(--sp-6);
}

.readiness-result.show { display: block; }

.readiness-score-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(var(--c-teal) 0%, var(--c-border) 0%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: var(--fs-2xl);
  color: var(--c-navy);
  margin: 0 auto var(--sp-4);
  position: relative;
}

.readiness-score-circle::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--c-surface);
}

.readiness-score-circle span {
  position: relative;
  z-index: 1;
}

/* study planner */
.planner-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
}

.planner-day {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: var(--sp-3);
  min-height: 100px;
  transition: background var(--tr-fast);
}

.planner-day-name {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--c-text-sub);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-2);
}

.planner-slot {
  background: var(--c-teal-light);
  border-radius: var(--r-sm);
  padding: var(--sp-1) var(--sp-2);
  font-size: 11px;
  font-weight: 600;
  color: var(--c-teal);
  margin-bottom: var(--sp-1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.planner-slot-remove {
  cursor: pointer;
  color: var(--c-text-sub);
  font-size: 10px;
  background: none;
  border: none;
  padding: 0;
  line-height: 1;
}

/* =============================================
   article / blog post
   ============================================= */
.article-body {
  max-width: 720px;
}

.article-body h2 {
  font-size: var(--fs-2xl);
  margin-top: var(--sp-10);
  margin-bottom: var(--sp-4);
}

.article-body h3 {
  font-size: var(--fs-xl);
  margin-top: var(--sp-8);
  margin-bottom: var(--sp-3);
}

.article-body p {
  font-size: var(--fs-md);
  line-height: 1.8;
  color: var(--c-text-mid);
  margin-bottom: var(--sp-5);
}

.article-body ul, .article-body ol {
  margin: var(--sp-4) 0 var(--sp-5);
  padding-left: var(--sp-6);
}

.article-body li {
  font-size: var(--fs-base);
  color: var(--c-text-mid);
  margin-bottom: var(--sp-2);
  line-height: 1.7;
  list-style: disc;
}

.article-body ol li { list-style: decimal; }

.article-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-bottom: var(--sp-6);
}

.article-tag {
  background: var(--c-teal-light);
  color: var(--c-teal);
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-full);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.article-date {
  font-size: var(--fs-sm);
  color: var(--c-text-sub);
}

.article-read-time {
  font-size: var(--fs-sm);
  color: var(--c-text-sub);
}

/* =============================================
   toc (table of contents)
   ============================================= */
.toc {
  background: var(--c-blue-light);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  margin: var(--sp-6) 0;
}

.toc-title {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-3);
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.toc-list a {
  font-size: var(--fs-sm);
  color: var(--c-text-mid);
  transition: color var(--tr-fast);
}

.toc-list a:hover { color: var(--c-teal); }

.toc-list a.active { color: var(--c-teal); font-weight: 700; }

/* =============================================
   reading progress bar
   ============================================= */
#reading-progress {
  position: fixed;
  top: 64px;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--c-teal), var(--c-blue));
  z-index: var(--z-nav);
  transition: width 0.1s linear;
}

/* =============================================
   back to top
   ============================================= */
#back-to-top {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  width: 44px;
  height: 44px;
  background: var(--c-navy);
  color: var(--c-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all var(--tr-base);
  z-index: var(--z-above);
  box-shadow: var(--sh-md);
  cursor: pointer;
}

#back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}

#back-to-top:hover {
  background: var(--c-teal);
  transform: translateY(-2px);
}

/* =============================================
   cookie banner
   ============================================= */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--c-navy-dark);
  color: var(--c-white);
  z-index: var(--z-toast);
  transform: translateY(100%);
  transition: transform var(--tr-slow);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

#cookie-banner.visible { transform: translateY(0); }

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  padding: var(--sp-4) var(--sp-6);
  max-width: 1160px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.cookie-text {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.85);
  margin: 0;
  line-height: 1.5;
}

.cookie-text a {
  color: var(--c-teal-mid);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: var(--sp-3);
  flex-shrink: 0;
}

#cookie-decline {
  padding: var(--sp-2) var(--sp-4);
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.8);
  border-radius: var(--r-full);
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--tr-fast);
  background: none;
}

#cookie-decline:hover { border-color: white; color: white; }

#cookie-accept {
  padding: var(--sp-2) var(--sp-4);
  background: var(--c-teal);
  color: var(--c-white);
  border-radius: var(--r-full);
  font-size: var(--fs-sm);
  font-weight: 700;
  cursor: pointer;
  transition: all var(--tr-fast);
  border: none;
}

#cookie-accept:hover { background: var(--c-teal-mid); }

/* =============================================
   footer
   ============================================= */
.site-footer {
  background: var(--c-navy-dark);
  color: rgba(255,255,255,0.75);
  padding: var(--sp-16) 0 var(--sp-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-10);
  margin-bottom: var(--sp-12);
}

.footer-brand {}

.footer-logo {
  margin-bottom: var(--sp-3);
}

.footer-tagline {
  font-size: var(--fs-sm);
  line-height: 1.65;
  margin-bottom: var(--sp-5);
  color: rgba(255,255,255,0.65);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--sp-3);
  line-height: 1.5;
}

.footer-contact-item svg { color: var(--c-teal-mid); flex-shrink: 0; margin-top: 2px; }

.footer-nav {
  display: flex;
  gap: var(--sp-10);
  flex: 1;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col-title {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: var(--sp-4);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer-links a {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.65);
  transition: color var(--tr-fast);
}

.footer-links a:hover { color: var(--c-teal-mid); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--sp-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.footer-bottom-text {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.4);
}

.footer-legal-links {
  display: flex;
  gap: var(--sp-5);
}

.footer-legal-links a {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.45);
  transition: color var(--tr-fast);
}

.footer-legal-links a:hover { color: var(--c-teal-mid); }

/* =============================================
   cta section
   ============================================= */
.cta-section {
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-mid) 100%);
  padding: var(--sp-16) 0;
  text-align: center;
  color: var(--c-white);
}

.cta-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: var(--fs-3xl);
  color: var(--c-white);
  margin-bottom: var(--sp-4);
}

.cta-desc {
  font-size: var(--fs-md);
  color: rgba(255,255,255,0.78);
  margin-bottom: var(--sp-8);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: var(--sp-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================
   highlight / callout box
   ============================================= */
.callout {
  background: var(--c-teal-light);
  border-left: 4px solid var(--c-teal);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: var(--sp-5) var(--sp-6);
  margin: var(--sp-6) 0;
}

.callout p { font-size: var(--fs-sm); color: var(--c-text-mid); margin: 0; }

/* =============================================
   tag / badge utilities
   ============================================= */
.tag {
  display: inline-block;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: 700;
}

.tag-navy { background: var(--c-blue-light); color: var(--c-navy); }
.tag-teal { background: var(--c-teal-light); color: var(--c-teal); }
.tag-sage { background: var(--c-sage-light); color: var(--c-sage); }

/* =============================================
   animations
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in { animation: fadeInUp 0.6s ease forwards; }

/* =============================================
   responsive
   ============================================= */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  h1, .hero-title { font-size: var(--fs-4xl); }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .hamburger { display: flex; }

  h1, .hero-title { font-size: var(--fs-3xl); }
  h2, .section-title { font-size: var(--fs-2xl); }
  .page-hero-title { font-size: var(--fs-3xl); }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  .hero-statement { padding: var(--sp-16) 0 var(--sp-20); }
  .hero-stats { gap: var(--sp-6); }

  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .footer-bottom { flex-direction: column; text-align: center; }

  .trust-items { gap: var(--sp-5); }
  .trust-item { font-size: var(--fs-xs); }

  .pricing-card { padding: var(--sp-6); }

  .planner-grid { grid-template-columns: repeat(7, 1fr); gap: var(--sp-1); }
  .planner-day { padding: var(--sp-2); min-height: 80px; }
  .planner-day-name { font-size: 9px; }

  .tracker-bar-wrap { width: 120px; }

  .cookie-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--sp-4); }
  h1, .hero-title { font-size: var(--fs-2xl); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .planner-grid { grid-template-columns: 1fr 1fr; }
}
