/* ===== Variables ===== */
:root {
  --purple: #6c5ce7;
  --purple-light: #e3dffb;
  --purple-dark: #4334a8;
  --yellow: #f8d990;
  --yellow-light: #fdf3da;
  --yellow-dark: #dfa93d;
  --coral: #ff793f;
  --coral-light: #ffe1d0;
  --coral-dark: #e55d22;
  --teal: #5bc9b9;
  --teal-light: #e1f5f2;
  --teal-dark: #479c90;

  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  --font: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-heading: 'Fraunces', 'Source Serif Pro', Georgia, 'Times New Roman', serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --max-w: 1120px;
  --radius: 16px;
  --radius-sm: 8px;

  /* Design-imported palette (used by Product, Idea, Scenarios, Parents, FAQ) */
  --paper: #f7f1e6;
  --paper-2: #efe6d4;
  --ink: #1b1714;
  --ink-2: #4a403a;
  --ink-3: #867a70;
  --rule: rgba(27, 23, 20, 0.12);
  --rule-strong: rgba(27, 23, 20, 0.22);
  --violet: #6c5ce7;
  --violet-ink: #3d2da8;
  --violet-wash: #e7e0fb;
  --teal-2: #2a9d8f;
  --teal-ink: #1b6259;
  --teal-wash: #d9ece8;
  --coral-2: #e76f3a;
  --coral-ink: #9c3f17;
  --coral-wash: #f7dfcf;
  --butter: #f5c26b;
  --butter-ink: #8a5a12;
  --butter-wash: #f8e4ba;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--gray-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, label {
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== Utilities ===== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 700;
  border: 2px solid transparent;
  border-radius: 48px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-sm { font-size: 0.875rem; padding: 8px 20px; }
.btn-lg { font-size: 1rem; padding: 14px 32px; }

.btn-primary {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
}
.btn-primary:hover {
  background: var(--purple-dark);
  border-color: var(--purple-dark);
  box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--purple);
  border-color: var(--purple);
}
.btn-outline:hover {
  background: var(--purple);
  color: #fff;
}

.btn:focus-visible {
  outline: 3px solid var(--purple-light);
  outline-offset: 2px;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo { width: 24px; height: 24px; }
@media (min-width: 640px) {
  .nav-logo { width: 28px; height: 28px; }
}

.nav-wordmark {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--purple);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-700, #334155);
  text-decoration: none;
}

.nav-link:hover { color: var(--purple); }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 120px 0 0;
  background: linear-gradient(to bottom right, #4334a8, #5544d1, #6c5ce7);
  overflow: hidden;
}

.hero-inner {
  position: relative;
  min-height: calc(100vh - 120px);
  padding: 0 16px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.hero-content {
  position: relative;
  z-index: 2;
  margin-top: auto;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 20px;
}

.hero-highlight {
  color: var(--yellow);
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 560px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.hero .btn-primary {
  background: #ffffff;
  color: var(--purple);
  border-color: #ffffff;
}
.hero .btn-primary:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--purple-dark);
}

.hero .btn-outline {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}
.hero .btn-outline:hover {
  background: #ffffff;
  color: var(--purple);
}

/* Hero illustration */
.hero-visual {
  margin-top: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  pointer-events: none;
}

.hero-group-img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 440px;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  filter: drop-shadow(0 12px 32px rgba(108, 92, 231, 0.25));
}

/* ===== Features / Selling Points ===== */
.features {
  background: #fff;
}

.section-title {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 16px 28px 28px;
  border-radius: var(--radius);
  border: 2px solid var(--gray-200);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature-card-purple { border-color: var(--purple); background: linear-gradient(135deg, var(--purple-light) 0%, #f5f0ff 100%); }
.feature-card-teal   { border-color: var(--teal);   background: linear-gradient(135deg, var(--teal-light) 0%, #eefbf8 100%); }
.feature-card-coral  { border-color: var(--coral);  background: linear-gradient(135deg, var(--coral-light) 0%, #fff5f0 100%); }

.feature-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
}

.feature-text {
  width: 100%;
}

.feature-char {
  width: 200px;
  height: 200px;
  object-fit: contain;
  object-position: center bottom;
  align-self: center;
  order: -1;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.12));
  margin-bottom: 4px;
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.feature-card-purple .feature-title { color: var(--purple-dark); }
.feature-card-teal   .feature-title { color: var(--teal-dark); }
.feature-card-coral  .feature-title { color: var(--coral-dark); }

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.feature-card-purple .feature-list li::before { background: var(--purple); }
.feature-card-teal   .feature-list li::before { background: var(--teal); }
.feature-card-coral  .feature-list li::before { background: var(--coral); }

/* ===== Steps ===== */
.steps {
  padding: 80px 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.steps-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.step {
  text-align: center;
  flex: 1;
  max-width: 280px;
  padding: 0 16px;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.step-number-yellow { background: var(--yellow-dark); }
.step-number-teal   { background: var(--teal-dark); }
.step-number-purple { background: var(--purple); }

.step-connector {
  width: 64px;
  min-width: 64px;
  height: 2px;
  background: var(--gray-200);
  margin-top: 28px;
}

.step-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gray-900);
}

.step-desc {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===== CTA ===== */
.cta {
  padding: 80px 0;
  background: var(--coral-2);
  background-image:
    radial-gradient(circle at 10% 80%, rgba(255, 255, 255, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 90% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 40%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-inner { text-align: left; }

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin-bottom: 18px;
  max-width: 18ch;
}

.cta-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 46ch;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta .btn-primary {
  background: #fff;
  color: var(--coral-ink);
  border-color: #fff;
}
.cta .btn-primary:hover {
  background: var(--yellow-light);
  border-color: var(--yellow-light);
  color: var(--coral-ink);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta .btn-outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.cta .btn-outline:hover {
  background: #fff;
  color: var(--coral-ink);
}

.cta .container { position: relative; z-index: 1; }

/* ===== Footer ===== */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--gray-200);
  background: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-logo { width: 28px; height: 28px; }

.footer-wordmark {
  font-weight: 700;
  color: var(--purple);
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--gray-400);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
}

.footer-links a {
  color: var(--gray-500, #64748b);
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover { color: var(--purple); }

/* ===========================================================
   ===== Ported design sections: Product, Idea, Scenarios,
   ===== Sessions, For Parents, FAQ
   =========================================================== */

section.block {
  padding: 96px 0;
  position: relative;
}

.block .eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.block .eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--ink-3);
}

.block .section-head { margin-bottom: 56px; }

.block .section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.1;
  text-align: left;
  max-width: 22ch;
  margin-bottom: 18px;
  color: var(--ink);
}

.block .section-lede {
  font-size: 1.08rem;
  color: var(--ink-2);
  max-width: 60ch;
  line-height: 1.6;
}

/* ----- Product section (dark yellow) ----- */
.product {
  background: #b08418;
  color: var(--paper);
  overflow: hidden;
}
.product .eyebrow { color: var(--yellow-light); }
.product .eyebrow::before { background: var(--yellow-light); }
.product .section-title { color: var(--paper); }
.product .section-lede { color: var(--butter-wash); }

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.browser {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 40px 80px -28px rgba(0, 0, 0, 0.55);
  border: 1px solid #2a2520;
}
.browser-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  background: #ece5d8;
  border-bottom: 1px solid #d8cfbe;
}
.browser-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}
.browser-dot.red { background: #ed6a5e; }
.browser-dot.yellow { background: #f5bf4f; }
.browser-dot.green { background: #62c554; }
.browser-body {
  background: var(--paper);
}
.report-browser .browser-body { background: #f8f8fa; }
.browser-main {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.browser-greeting .greet-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet-ink);
  margin-bottom: 4px;
}
.browser-greeting .greet-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.plan-card {
  background: linear-gradient(135deg, #4334a8 0%, #6c5ce7 100%);
  color: #fff;
  border-radius: 18px;
  padding: 22px 24px;
  padding-right: 130px;
  box-shadow: 0 18px 40px -20px rgba(108, 92, 231, 0.55);
  position: relative;
  overflow: hidden;
}
.plan-card-figure {
  position: absolute;
  bottom: 0;
  right: 8px;
  width: auto;
  height: 150px;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 12px 18px rgba(20, 14, 60, 0.28));
  z-index: 1;
}
.plan-card-tags,
.plan-card-eyebrow,
.plan-card-title,
.plan-card-desc,
.plan-card-actions {
  position: relative;
  z-index: 2;
}
.plan-card::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
  pointer-events: none;
}
.plan-card-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.plan-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--butter-wash);
  color: var(--butter-ink);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
}
.plan-tag.ghost {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.plan-card-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 6px;
}
.plan-card-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.plan-card-desc {
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
  max-width: 32ch;
  margin-bottom: 18px;
}
.plan-card-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.plan-cta {
  background: #fff;
  color: var(--violet-ink);
  font-family: var(--font);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 6px 14px -4px rgba(0, 0, 0, 0.25);
}
.plan-secondary {
  display: flex;
  gap: 22px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
}

.product-callouts {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.callout {
  padding: 20px 24px;
  border-left: 3px solid var(--butter);
  background: var(--paper);
  border-radius: 0 12px 12px 0;
}
.callout h4 {
  color: var(--ink);
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0;
  margin-bottom: 6px;
}
.callout p {
  font-size: 0.94rem;
  color: var(--ink-2);
  line-height: 1.55;
}
.callout.teal { border-left-color: var(--teal-2); }
.callout.coral { border-left-color: var(--coral-2); }
.callout.violet { border-left-color: #a08ff5; }

/* ----- The Idea / Pillars ----- */
.pillars {
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 28px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pillar.engage .pillar-icon { background: var(--coral-wash); color: var(--coral-ink); }
.pillar.adapt  .pillar-icon { background: var(--teal-wash);  color: var(--teal-ink); }
.pillar.safe   .pillar-icon { background: var(--violet-wash); color: var(--violet-ink); }
.pillar-icon svg { width: 24px; height: 24px; }
.pillar h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.pillar p {
  color: var(--ink-2);
  font-size: 0.98rem;
  line-height: 1.6;
}
.pillar .detail {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px dashed var(--rule);
}
.pillar .detail-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--ink-2);
}
.pillar .detail-row .check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* ----- Scenarios ----- */
.scenarios {
  background: var(--paper);
}
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.scenario {
  grid-column: span 4;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 240px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.scenario:hover {
  box-shadow: 0 14px 30px rgba(27, 23, 20, 0.08);
}
.scenario.big {
  grid-column: span 8;
  background: var(--butter-wash);
  border-color: rgba(245, 194, 107, 0.55);
}
.scenario.big .scenario-title { font-size: 1.9rem; }
.scenario-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.scenario-tag {
  padding: 4px 10px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--ink-2);
}
.scenario-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.scenario-desc {
  font-size: 0.95rem;
  color: var(--ink-2);
  flex: 1;
  line-height: 1.55;
}
.scenario-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--ink-3);
  gap: 12px;
  flex-wrap: wrap;
}
.scenario-footer .with {
  display: flex;
  align-items: center;
  gap: 6px;
}
.scenario-footer .with .avatar-wrap {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--paper);
}
.scenario-footer .with img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.4) translateY(12%);
}
.scenario-footer .level {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ----- Sessions (replaces "How it works") ----- */
.how {
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
}
.how-step {
  padding: 40px 32px 40px 0;
  position: relative;
}
.how-step:not(:last-child) {
  border-right: 1px solid var(--rule);
  padding-right: 40px;
}
.how-step:not(:first-child) {
  padding-left: 40px;
}
.how-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  line-height: 1;
  color: var(--ink-3);
  margin-bottom: 16px;
  display: block;
  font-weight: 400;
}
.how-step.active .how-num { color: var(--coral-2); }
.how-step h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--ink);
}
.how-step p {
  color: var(--ink-2);
  font-size: 0.98rem;
  line-height: 1.6;
}
.how-step .micro {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--rule);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

/* ----- For Parents / Report ----- */
.report {
  background: var(--paper);
}
.report-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.report-card {
  padding: 28px 32px 32px;
  position: relative;
}
.report-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 18px;
}
.report-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 18px;
  gap: 12px;
}
.report-kid {
  display: flex;
  align-items: center;
  gap: 10px;
}
.report-kid-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--coral-wash);
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--coral-ink);
  font-size: 1rem;
  font-weight: 600;
}
.report-kid-name { font-weight: 700; font-size: 0.95rem; color: var(--ink); }
.report-kid-meta { font-size: 0.76rem; color: var(--ink-3); font-family: var(--font-mono); }
.report-week {
  display: flex;
  gap: 6px;
  align-items: center;
}
.report-week-pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--violet);
  color: #fff;
  font-weight: 600;
  font-size: 0.74rem;
}
.report-week-range {
  font-size: 0.7rem;
  color: var(--ink-3);
  font-family: var(--font-mono);
}

.grade-trend {
  background: linear-gradient(135deg, #1b6259, #2a9d8f);
  color: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 14px;
}
.grade-trend-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.grade-trend-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}
.grade-trend-score {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.grade-letter {
  background: #fff;
  color: var(--teal-ink);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.78rem;
}
.grade-delta {
  font-size: 0.74rem;
  font-weight: 600;
  color: #b6f0e6;
}
.grade-trend-chart {
  width: 100%;
  height: 64px;
  display: block;
}

.report-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
.metric {
  position: relative;
  padding: 12px;
  padding-right: 40px;
  border-radius: 10px;
  background: var(--paper-2);
}
.metric-icon {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  line-height: 1;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(27, 23, 20, 0.06);
}
.metric.metric-streak   .metric-icon { background: #fff4ec; box-shadow: inset 0 0 0 1px #fde0c9; }
.metric.metric-convos   .metric-icon { background: #efe9ff; box-shadow: inset 0 0 0 1px #d9cfff; }
.metric.metric-practice .metric-icon { background: #e6f6f0; box-shadow: inset 0 0 0 1px #cdebdc; }
.metric.metric-coaching .metric-icon { background: #f1eaff; box-shadow: inset 0 0 0 1px #ddd0fb; }
.metric-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.metric-value {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--ink);
  font-weight: 600;
}
.metric-delta {
  font-size: 0.72rem;
  color: var(--teal-ink);
  font-weight: 600;
}

.report-section-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 10px;
}
.skill-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.skill-pill {
  padding: 10px 12px;
  color: #fff;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.86rem;
  font-weight: 700;
}
.skill-pill .skill-grade {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.78rem;
}
.skill-pill.skill-violet { background: linear-gradient(135deg, #3d2da8, #6c5ce7); }
.skill-pill.skill-coral  { background: linear-gradient(135deg, #9c3f17, #e76f3a); }
.skill-pill.skill-teal   { background: linear-gradient(135deg, #1b6259, #2a9d8f); }
.skill-pill.skill-butter { background: linear-gradient(135deg, #8a5a12, #f5c26b); color: var(--ink); }
.skill-pill.skill-butter .skill-grade {
  background: rgba(255, 255, 255, 0.45);
  color: var(--ink);
}

.achievements {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.achievement {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 6px 6px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--ink-2);
}
.achievement-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  font-size: 0.85rem;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(27, 23, 20, 0.06);
}

.report-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 0;
}
.report-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--ink-2);
  padding: 8px 0;
  line-height: 1.55;
}
.report-list li .pill {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: 999px;
  margin-top: 2px;
  text-transform: uppercase;
  font-weight: 600;
}
.pill.strength { background: var(--teal-wash); color: var(--teal-ink); }
.pill.focus    { background: var(--butter-wash); color: var(--butter-ink); }

.report .section-lede { margin-bottom: 24px; }

/* ----- The Cast (formerly .characters) ----- */
.cast {
  background: linear-gradient(to bottom right, #1b3c37, #326f65, #479c90);
}
.cast .eyebrow { color: rgba(255, 255, 255, 0.7); }
.cast .eyebrow::before { background: rgba(255, 255, 255, 0.7); }
.cast .section-title { color: #ffffff; }
.cast .section-lede { color: rgba(255, 255, 255, 0.85); }

.cast-head {
  margin-bottom: 48px;
}

.cast-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.cast-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s ease;
}
.cast-card.luna   { background: #d9e8f5; }
.cast-card.ziggy  { background: var(--violet-wash); }
.cast-card.malik  { background: var(--butter-wash); }
.cast-card.pepper { background: var(--coral-wash); }
.cast-card.victor { background: var(--teal-wash); }

.cast-card img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  max-width: none;
  height: auto;
  transition: transform 0.35s ease;
}
.cast-card:hover img { transform: translateX(-50%) scale(1.04); }

.cast-meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 16px 16px;
  background: linear-gradient(180deg, transparent, rgba(27, 23, 20, 0) 10%, rgba(27, 23, 20, 0.55));
  color: #fff;
}
.cast-name {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.cast-trait {
  font-size: 0.74rem;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.9;
}

.cast-quote {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  background: #fff;
  border: 1px solid var(--rule);
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  color: var(--ink-2);
  font-style: italic;
  box-shadow: 0 6px 14px rgba(27, 23, 20, 0.08);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
  z-index: 2;
}
.cast-card:hover .cast-quote { opacity: 1; transform: translateY(0); }

/* ----- FAQ ----- */
.faq {
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: start;
}
.faq-item {
  border-bottom: 1px solid var(--rule);
  padding: 20px 0;
}
.faq-item:first-child { border-top: 1px solid var(--rule); }
.faq-item summary {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font);
  font-size: 1.4rem;
  color: var(--ink-3);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 60ch;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero { padding: 104px 0 0; }

  .hero-inner {
    min-height: calc(100vh - 104px);
    padding: 0 12px;
  }

  .hero-subtitle { font-size: 1.05rem; }

  .hero-group-img { max-height: 400px; }

  .features-grid { gap: 20px; }
  .feature-card { padding: 16px 24px 24px; }
  .feature-title { font-size: 1.5rem; }

  .steps-row {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .step-connector {
    width: 2px;
    height: 32px;
    min-width: unset;
    margin-top: 0;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 960px) {
  section.block { padding: 64px 0; }
  .cast-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: 1fr; gap: 32px; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .scenario { grid-column: span 6; }
  .scenario.big { grid-column: span 12; }
  .scenario.big .scenario-title { font-size: 1.5rem; }
  .how-steps { grid-template-columns: repeat(2, 1fr); column-gap: 28px; }
  .how-step:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
    padding: 28px 0;
  }
  .how-step:not(:first-child) { padding-left: 0; }
  .how-step { padding: 28px 0; }
  .how-step:nth-child(odd):not(:last-child) {
    border-right: 1px solid var(--rule);
    padding-right: 28px;
  }
  .how-step:nth-child(even) { padding-left: 28px; }
  .report-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq-grid { grid-template-columns: 1fr; gap: 24px; }
  .report-metrics { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .cast-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .scenario { grid-column: span 12; }
  .how-steps { grid-template-columns: 1fr; }
  .how-step:nth-child(odd):not(:last-child) {
    border-right: 0;
    padding-right: 0;
  }
  .how-step:nth-child(even) { padding-left: 0; }
  .skill-grid { grid-template-columns: 1fr; }
  .browser-main { padding: 22px 20px; }
  .plan-card { padding: 18px 18px; }
  .plan-card-title { font-size: 1.4rem; }
  .report-card { padding: 22px; }
  .block .section-title { font-size: 1.8rem; }
}
