
:root {
  --logo: url("/assets/logo.webp");
}
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #faf9f6; --surface: #ffffff; --ink: #1a1a1a; --ink-soft: #555; --ink-muted: #888; --line: #e8e6e0;
  --sage: #9caf88; --sage-deep: #6c7d52; --blue: #6b8cae; --gold: #d4a574; --plum: #8e6b8a; --teal: #6b9b8e; --rust: #c47a5f;
  --ink-dark: #0e0e0e;
}
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.serif { font-family: 'Fraunces', serif; }
a { color: inherit; }

/* NAV (shared) */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(250, 249, 246, 0.85); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,0.06); }
.nav.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,0.06); border-bottom-color: rgba(0,0,0,0.1); }
.nav-inner { max-width: 1180px; margin: 0 auto; padding: 14px 28px; display: flex; align-items: center; justify-content: space-between; }
.nav a { color: var(--ink); text-decoration: none; }
.nav-logo { display: block; flex-shrink: 0; }
.nav-logo .logo-img { display: block; height: 72px; width: 216px; background-image: var(--logo); background-size: contain; background-repeat: no-repeat; background-position: left center; }
.nav-links { display: flex; gap: 32px; list-style: none; font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--sage-deep); }
.nav-links a {
  position: relative;
  white-space: nowrap;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.16,1,.3,1);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.current { color: var(--ink); font-weight: 600; }
.nav-links a.current::after { transform: scaleX(1); background: var(--sage-deep); }
.nav-right { display: flex; align-items: center; gap: 20px; }
.lang-switch {
  display: flex; gap: 4px;
  background: rgba(0,0,0,0.04); border-radius: 100px; padding: 4px;
}
.lang-switch button {
  background: transparent; border: none; cursor: pointer;
  font: inherit; font-size: 12px; font-weight: 600;
  padding: 6px 12px; border-radius: 100px;
  color: var(--ink-muted, #888); transition: all 0.2s;
}
.lang-switch button.active { background: var(--ink); color: white; }
.lang-switch-mobile { display: none; }
.nav-cta { background: var(--ink); color: white !important; padding: 10px 20px; border-radius: 999px; font-size: 13.5px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: transform 0.2s, background 0.2s; }
.nav-cta:hover { background: var(--sage-deep); transform: translateY(-1px); }
.nav-burger { display: none; }
@media (max-width: 880px) { .nav-burger { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 40px; height: 40px; background: none; border: none; cursor: pointer; padding: 0; flex-shrink: 0; position: relative; z-index: 100; }
    .nav-burger span { display: block; height: 2px; width: 22px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
    .nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-burger.open span:nth-child(2) { opacity: 0; }
    .nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .nav-links { display: flex !important; list-style: none; flex-direction: column; align-items: flex-start; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--bg); background-color: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; padding: 100px 32px 40px; gap: 4px; z-index: 90; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s ease, visibility .25s ease; overflow-y: auto; isolation: isolate; }
    .nav-links.open { opacity: 1; visibility: visible; pointer-events: auto; }
    body.menu-open .nav { background: var(--bg) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
    .nav-links li { width: 100%; }
    .nav-links a { display: block !important; padding: 14px 0; font-size: 20px; border-bottom: 1px solid var(--line); width: 100%; color: var(--ink) !important; opacity: 1 !important; visibility: visible !important; position: static; }
    .nav-inner > .nav-right > .lang-switch { display: none; }
    .lang-switch-mobile { display: flex !important; margin-top: 24px; font-size: 14px; }
    .nav-cta { display: none; }
    .nav-links a.nav-cta-mobile { display: block !important; margin-top: 16px; padding: 16px 24px; background: var(--ink); color: white !important; border-radius: 999px; text-align: center; border-bottom: none; font-weight: 600; font-size: 17px; }
    .lang-switch-mobile button { padding: 8px 16px; }
    .nav-links a::after { display: none !important; content: none !important; }
    .nav-links a.current { color: var(--sage-deep) !important; } .nav-logo .logo-img { height: 56px; width: 168px; } }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 28px; border-radius: 999px; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; border: none; transition: transform 0.2s, background 0.2s, box-shadow 0.2s; font-family: inherit; }
.btn-primary { background: var(--ink); color: white; }
.btn-primary:hover { background: var(--sage-deep); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.15); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-light { background: white; color: var(--ink); }
.btn-light:hover { background: var(--sage); color: white; transform: translateY(-2px); }
.btn-ghost-light { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,0.35); }
.btn-ghost-light:hover { border-color: white; transform: translateY(-2px); }
.btn-block { width: 100%; }

/* SHARED SECTION STYLES */
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage-deep); margin-bottom: 16px; display: block; }
.section { padding: 100px 0; }
.section-title { font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(30px, 4vw, 46px); line-height: 1.15; margin-bottom: 20px; letter-spacing: -0.01em; }
.section-title em { font-style: italic; color: var(--sage-deep); font-weight: 400; }
.section-lead { font-size: 17px; color: var(--ink-soft); max-width: 560px; line-height: 1.6; }
@media (max-width: 720px) { .section { padding: 64px 0; } }
/* ============================================================
   HERO
   ============================================================ */
.hero-schools { padding: 150px 0 0; overflow: hidden; }
.hero-schools-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; padding-bottom: 60px; }
.hero-schools-title { font-size: clamp(32px, 4.6vw, 54px); font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; margin-bottom: 22px; }
.hero-schools-title em { font-style: italic; color: var(--sage-deep); font-weight: 400; }
.hero-schools-sub { font-size: 18px; color: var(--ink-soft); max-width: 480px; line-height: 1.6; margin-bottom: 32px; }
.hero-schools-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-trust-note { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--ink-muted); max-width: 420px; }
.hero-trust-note svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.hero-schools-visual {
  aspect-ratio: 4/5; border-radius: 28px;
  background-image: var(--classroom-photo);
  background-size: cover; background-position: center;
  box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}
@media (max-width: 880px) {
  .hero-schools { padding-top: 120px; }
  .hero-schools-grid { grid-template-columns: 1fr; }
  .hero-schools-visual { order: -1; aspect-ratio: 4/5; }
}

/* ============================================================
   WHY SCHOOLS NEED FLIPMOOD (challenge -> solution rows)
   ============================================================ */
.challenge-head { max-width: 640px; margin-bottom: 48px; }
.challenge-grid { display: flex; flex-direction: column; gap: 2px; }
.challenge-row {
  display: grid; grid-template-columns: 220px 32px 1fr; align-items: center; gap: 20px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.challenge-tag {
  display: inline-block; background: var(--bg); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 16px; font-size: 13.5px; font-weight: 600;
}
.challenge-arrow { width: 22px; height: 22px; color: var(--sage-deep); flex-shrink: 0; }
.challenge-solution { font-size: 15.5px; color: var(--ink-soft); }
@media (max-width: 720px) {
  .challenge-row { grid-template-columns: 1fr; gap: 8px; text-align: left; }
  .challenge-arrow { transform: rotate(90deg); margin: 2px 0; }
}

/* ============================================================
   BENEFITS FOR THE WHOLE SCHOOL
   ============================================================ */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 30px 26px; }
.benefit-icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.benefit-icon svg { width: 22px; height: 22px; }
.benefit-card h4 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.benefit-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }
@media (max-width: 880px) { .benefits-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .benefits-grid { grid-template-columns: 1fr; } }

/* ============================================================
   HOW IT WORKS — vertical flow
   ============================================================ */
.flow-list { max-width: 640px; margin: 0 auto; position: relative; }
.flow-step { display: flex; gap: 22px; padding-bottom: 36px; position: relative; }
.flow-step:not(.flow-step-final)::before {
  content: ""; position: absolute; left: 19px; top: 44px; bottom: 0; width: 1px; background: var(--line);
}
.flow-num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: white;
  display: flex; align-items: center; justify-content: center; font-family: 'Fraunces', serif;
  font-size: 16px; flex-shrink: 0; z-index: 1;
}
.flow-step-final .flow-num { background: var(--sage-deep); }
.flow-text { font-size: 16px; color: var(--ink-soft); padding-top: 8px; }
.flow-step-final .flow-text { color: var(--ink); font-weight: 600; }

/* ============================================================
   SCHOOL KIT
   ============================================================ */
.kit-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.kit-visual {
  aspect-ratio: 1/1; border-radius: 24px;
  background-image: var(--kit-photo);
  background-size: cover; background-position: center;
}
.kit-checklist { list-style: none; margin: 24px 0 30px; display: flex; flex-direction: column; gap: 14px; }
.kit-checklist li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ink-soft); }
.kit-checklist svg { width: 18px; height: 18px; color: var(--sage-deep); flex-shrink: 0; }
@media (max-width: 880px) { .kit-grid { grid-template-columns: 1fr; } .kit-visual { order: -1; aspect-ratio: 4/5; } }

/* ============================================================
   TEACHER TRAINING (dark)
   ============================================================ */
.training-section { background: var(--ink-dark); color: white; padding: 100px 0; }
.training-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.training-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.training-feature {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px;
  padding: 26px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.training-feature svg { width: 28px; height: 28px; color: var(--sage); }
.training-feature span { font-size: 14px; color: rgba(255,255,255,0.85); }
@media (max-width: 880px) { .training-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .training-features { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   USE CASES
   ============================================================ */
.usecase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.usecase-card { text-align: center; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); }
.usecase-photo-slot {
  aspect-ratio: 4/3;
  background-image: var(--usecase-photo, none);
  background-size: cover; background-position: center;
  background-color: var(--bg);
  background-image:
    var(--usecase-photo, repeating-linear-gradient(45deg, var(--line) 0, var(--line) 1px, transparent 1px, transparent 12px));
  display: flex; align-items: center; justify-content: center; position: relative;
}
.usecase-photo-slot .pending-tag {
  position: absolute; bottom: 10px; left: 10px; right: 10px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--ink-muted); background: rgba(255,255,255,0.9); border-radius: 6px; padding: 5px 8px; text-align: center;
}
.usecase-body { padding: 24px 20px 28px; }
.usecase-icon {
  width: 44px; height: 44px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; margin: -46px auto 14px; color: var(--sage-deep);
  position: relative; z-index: 1;
}
.usecase-icon svg { width: 20px; height: 20px; }
.usecase-card h4 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.usecase-card p { font-size: 14px; color: var(--ink-soft); max-width: 240px; margin: 0 auto; }
@media (max-width: 880px) { .usecase-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .usecase-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FREE RESOURCES
   ============================================================ */
.resources-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; max-width: 900px; margin: 0 auto 44px; }
.resource-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px 12px;
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.resource-item svg { width: 24px; height: 24px; color: var(--sage-deep); }
.resource-item span { font-size: 12.5px; font-weight: 600; color: var(--ink-soft); line-height: 1.3; }
.resources-form { max-width: 520px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px; }
@media (max-width: 880px) { .resources-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .resources-grid { grid-template-columns: 1fr 1fr; } .resources-form { padding: 24px 20px; } }

/* ============================================================
   PILOT PROGRAM
   ============================================================ */
.pilot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.pilot-list { list-style: none; margin: 14px 0; display: flex; flex-direction: column; gap: 8px; }
.pilot-list li { font-size: 14.5px; color: var(--ink-soft); padding-left: 20px; position: relative; }
.pilot-list li::before { content: "—"; position: absolute; left: 0; color: var(--sage-deep); }
.pilot-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 34px; }
@media (max-width: 880px) { .pilot-grid { grid-template-columns: 1fr; } }

/* ============================================================
   DEMO REQUEST FORM
   ============================================================ */
.demo-card { display: grid; grid-template-columns: 1.1fr 0.9fr; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; }
.demo-card-copy { padding: 56px; }
.demo-card-visual { background-image: var(--demo-photo); background-size: cover; background-position: center; position: relative; min-height: 380px; }
@media (max-width: 880px) {
  .demo-card { grid-template-columns: 1fr; }
  .demo-card-copy { padding: 36px 28px; }
  .demo-card-visual { min-height: 340px; order: -1; }
}

/* ============================================================
   SHARED: forms, FAQ, final CTA, footer (same pattern as Giving page)
   ============================================================ */
.giving-form { margin-top: 28px; }
.form-row { margin-bottom: 14px; }
.form-row label { display: block; font-size: 12px; font-weight: 600; color: var(--ink-muted); margin-bottom: 6px; letter-spacing: 0.02em; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg); font-family: inherit; font-size: 14px; color: var(--ink);
}
.form-row textarea { resize: vertical; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--sage-deep); }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.giving-form-status { margin-top: 12px; font-size: 13px; min-height: 18px; }
.giving-form-note { margin-top: 14px; font-size: 12.5px; color: var(--ink-muted); line-height: 1.5; }
@media (max-width: 560px) { .form-row-2 { grid-template-columns: 1fr; } }

.faq-list { margin-top: 40px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; padding: 24px 0; background: none; border: none; cursor: pointer;
  font-family: 'Fraunces', serif; font-size: 19px; font-weight: 500; letter-spacing: -0.01em;
  display: flex; justify-content: space-between; align-items: center; gap: 24px; color: var(--ink);
  transition: color 0.2s;
}
.faq-q:hover { color: var(--sage-deep); }
.faq-q .icon {
  width: 26px; height: 26px; border-radius: 999px; background: var(--bg);
  display: grid; place-items: center; flex-shrink: 0; font-size: 17px; font-weight: 300;
  transition: transform 0.3s ease, background 0.3s;
}
.faq-item.open .faq-q .icon { transform: rotate(45deg); background: var(--ink); color: white; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; }
.faq-a-inner { padding: 0 0 24px 0; max-width: 64ch; }

.final-cta-section { background: linear-gradient(160deg, var(--sage-deep) 0%, var(--teal) 100%); color: white; padding: 110px 0; }
.final-cta-title { font-size: clamp(28px, 4.4vw, 48px); font-weight: 500; line-height: 1.15; margin-bottom: 22px; }
.final-cta-title em { font-style: italic; font-weight: 400; }
.final-cta-sub { font-size: 17px; color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 36px; }
.final-cta-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

footer { background: var(--ink-dark); color: rgba(255,255,255,0.7); padding: 80px 0 40px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-brand p { font-size: 13.5px; color: rgba(255,255,255,0.55); max-width: 280px; }
.footer-col h4 { color: white; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s; font-size: 14px; }
.footer-col a:hover { color: white; }
.footer-disclaimer { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 32px; margin-top: 32px; font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.7; max-width: 900px; }
.footer-copy { margin-top: 24px; font-size: 12px; color: rgba(255,255,255,0.35); }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } .footer-brand { grid-column: 1 / -1; } }

