@font-face {
  font-family: "Tajawal";
  src: url("/Tajawal-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Tajawal";
  src: url("/Tajawal-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Tajawal";
  src: url("/Tajawal-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Tajawal";
  src: url("/Tajawal-ExtraBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  --background: #f7f8fc;
  --surface: #ffffff;
  --surface-soft: #f1f4fa;
  --text: #172033;
  --muted: #64748b;
  --border: #e2e8f0;
  --primary: #7c3aed;
  --primary-deep: #5b21b6;
  --primary-soft: #f3f0ff;
  --secondary: #2563eb;
  --pink: #db2777;
  --cyan: #0891b2;
  --green: #16a34a;
  --orange: #ea580c;
  --danger: #e11d48;
  --shadow: 0 24px 70px rgba(30, 27, 75, 0.1);
  --shadow-soft: 0 14px 40px rgba(15, 23, 42, 0.06);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --page-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: "Tajawal", sans-serif;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(124, 58, 237, 0.38);
  outline-offset: 4px;
  border-radius: 8px;
}

.section-shell {
  width: min(calc(100% - 40px), var(--page-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.82);
  background: rgba(247, 248, 252, 0.88);
  backdrop-filter: blur(18px);
}

.nav-shell {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand-link {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-link img {
  width: 144px;
  height: 48px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-inline-start: auto;
  color: var(--muted);
  font-weight: 500;
}

.main-nav a,
.footer-grid a {
  transition: color 180ms ease;
}

.main-nav a:hover,
.footer-grid a:hover {
  color: var(--primary);
}

.nav-contact {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 22px;
  border: 1px solid rgba(124, 58, 237, 0.18);
  border-radius: 14px;
  background: var(--surface);
  color: var(--primary);
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.07);
}

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  align-items: center;
  gap: clamp(36px, 7vw, 92px);
  padding-block: 82px 92px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.eyebrow {
  padding: 8px 14px;
  border: 1px solid rgba(124, 58, 237, 0.13);
  border-radius: 999px;
  background: rgba(243, 240, 255, 0.88);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 5px rgba(124, 58, 237, 0.1);
}

.hero h1 {
  max-width: 650px;
  margin: 24px 0 20px;
  font-size: clamp(2.55rem, 5.2vw, 4.65rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.hero h1 span {
  background: linear-gradient(110deg, var(--primary) 18%, var(--secondary) 78%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero-description {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.25rem);
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-inline: 24px;
  border: 0;
  border-radius: 15px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--primary), #6d28d9);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(124, 58, 237, 0.25);
}

.button-secondary {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
}

.button-danger {
  background: var(--danger);
  color: #ffffff;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-notes span::before {
  content: "✓";
  margin-inline-end: 7px;
  color: var(--green);
  font-weight: 800;
}

.hero-visual {
  position: relative;
  min-width: 0;
  padding: 44px 10px 38px;
}

.ambient-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.shape-one {
  width: 420px;
  height: 420px;
  inset: 5% auto auto 0;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.18), rgba(124, 58, 237, 0));
}

.shape-two {
  width: 280px;
  height: 280px;
  inset: auto 2% 0 auto;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.16), rgba(37, 99, 235, 0));
}

.dashboard-preview {
  position: relative;
  z-index: 2;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  transform: perspective(1000px) rotateY(-2deg) rotateX(1deg);
}

.preview-topbar,
.preview-brand,
.student-strip,
.student-strip > div:first-child {
  display: flex;
  align-items: center;
}

.preview-topbar {
  justify-content: space-between;
  gap: 16px;
}

.preview-brand {
  gap: 12px;
}

.preview-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.preview-brand div,
.student-strip > div:first-child {
  align-items: flex-start;
  flex-direction: column;
  line-height: 1.45;
}

.preview-brand strong {
  font-size: 0.95rem;
}

.preview-brand span,
.student-strip span {
  color: var(--muted);
  font-size: 0.73rem;
}

.preview-status {
  padding: 7px 11px;
  border-radius: 999px;
  background: #ecfdf3;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
}

.lesson-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(135deg, #8b5cf6, #6d28d9 60%, #2563eb);
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(109, 40, 217, 0.2);
}

.lesson-card > div:first-child {
  display: grid;
  gap: 2px;
}

.lesson-card span,
.lesson-card small {
  color: rgba(255, 255, 255, 0.78);
}

.lesson-card strong {
  font-size: 1.16rem;
}

.lesson-time {
  min-width: 74px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.13);
  text-align: center;
  font-size: 1.05rem;
  font-weight: 800;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.metric-card {
  display: grid;
  justify-items: center;
  gap: 5px;
  padding: 15px 8px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: var(--surface);
}

.metric-card strong {
  font-size: 1.15rem;
  line-height: 1.2;
}

.metric-card small {
  color: var(--muted);
  text-align: center;
}

.metric-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  font-weight: 800;
}

.metric-icon.violet { background: #f3f0ff; color: var(--primary); }
.metric-icon.blue { background: #eff6ff; color: var(--secondary); }
.metric-icon.pink { background: #fdf2f8; color: var(--pink); }

.student-strip {
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 17px;
  background: var(--surface-soft);
}

.student-avatars {
  display: flex;
  direction: ltr;
}

.student-avatars span {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  margin-left: -7px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #ede9fe;
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 700;
}

.floating-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 15px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
  font-size: 0.82rem;
  font-weight: 700;
  animation: float 5s ease-in-out infinite;
}

.floating-chip span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--primary-soft);
  color: var(--primary);
}

.chip-report { inset: 2px auto auto -12px; }
.chip-reminder { inset: auto -20px 4px auto; animation-delay: -2.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.trust-band {
  border-block: 1px solid var(--border);
  background: var(--surface);
}

.trust-content {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 50px);
  color: var(--muted);
}

.trust-content > span {
  font-size: 0.9rem;
}

.trust-content strong {
  color: var(--text);
  font-size: 0.98rem;
}

.trust-content strong::before {
  content: "•";
  margin-inline-end: 10px;
  color: var(--primary);
}

.trust-divider {
  width: 1px;
  height: 28px;
  background: var(--border);
}

.section {
  padding-block: 112px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 440px);
  align-items: end;
  gap: 40px;
  margin-bottom: 44px;
}

.section-heading h2,
.workflow-copy h2,
.privacy-copy h2,
.launch-card h2 {
  margin: 10px 0 0;
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.section-heading > p,
.workflow-copy > p,
.privacy-copy > p,
.launch-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.95;
}

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

.feature-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.035);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(124, 58, 237, 0.24);
  box-shadow: var(--shadow-soft);
}

.feature-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 800;
}

.feature-number.violet { background: #f3f0ff; color: var(--primary); }
.feature-number.blue { background: #eff6ff; color: var(--secondary); }
.feature-number.cyan { background: #ecfeff; color: var(--cyan); }
.feature-number.pink { background: #fdf2f8; color: var(--pink); }
.feature-number.orange { background: #fff7ed; color: var(--orange); }
.feature-number.green { background: #ecfdf3; color: var(--green); }

.feature-card h3 {
  margin: 24px 0 9px;
  font-size: 1.28rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.workflow-section {
  position: relative;
  overflow: hidden;
  background: #171236;
  color: #ffffff;
}

.workflow-section::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  inset: -260px -170px auto auto;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.55), transparent 68%);
}

.workflow-shell {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(50px, 9vw, 120px);
}

.section-kicker.light { color: #c4b5fd; }

.workflow-copy > p {
  margin-top: 20px;
  color: #cbd5e1;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  color: var(--primary);
  font-weight: 700;
}

.text-link.light { color: #ddd6fe; }

.workflow-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-steps li {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 18px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
}

.workflow-steps li > span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: linear-gradient(135deg, #8b5cf6, #2563eb);
  font-size: 1.15rem;
  font-weight: 800;
}

.workflow-steps strong { font-size: 1.12rem; }
.workflow-steps p { margin: 3px 0 0; color: #aebbd0; }

.privacy-highlight {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(50px, 9vw, 120px);
  padding-block: 120px;
}

.privacy-art {
  position: relative;
  min-height: 350px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at 50% 46%, #ffffff 0 12%, #ede9fe 35%, #e0e7ff 70%, #f8fafc 100%);
}

.shield {
  position: relative;
  z-index: 3;
  width: 126px;
  height: 142px;
  display: grid;
  place-items: center;
  clip-path: polygon(50% 0, 94% 17%, 88% 73%, 50% 100%, 12% 73%, 6% 17%);
  background: linear-gradient(145deg, #a78bfa, #7c3aed 52%, #2563eb);
  color: #ffffff;
  font-size: 3.2rem;
  font-weight: 800;
  filter: drop-shadow(0 22px 24px rgba(91, 33, 182, 0.26));
}

.privacy-orbit {
  position: absolute;
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: 50%;
}

.orbit-one { width: 260px; height: 260px; }
.orbit-two { width: 390px; height: 390px; }

.privacy-copy > p { margin-top: 20px; }

.privacy-points {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.privacy-points span {
  color: var(--text);
  font-weight: 500;
}

.privacy-points span::before {
  content: "✓";
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  margin-inline-end: 10px;
  border-radius: 8px;
  background: #ecfdf3;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 800;
}

.section-heading.compact { align-items: center; }

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}

.faq-list summary {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 22px;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary span {
  color: var(--primary);
  font-size: 1.25rem;
  transition: transform 180ms ease;
}

.faq-list details[open] summary span { transform: rotate(45deg); }

.faq-list details > p {
  max-width: 850px;
  margin: -4px 22px 20px;
  color: var(--muted);
}

.launch-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 112px;
  padding: clamp(32px, 6vw, 64px);
  border-radius: var(--radius-xl);
  background: linear-gradient(120deg, #6d28d9, #4338ca 58%, #2563eb);
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(67, 56, 202, 0.24);
}

.launch-card::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  inset: -160px auto auto -80px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(255, 255, 255, 0.035), 0 0 0 110px rgba(255, 255, 255, 0.025);
}

.launch-card > * { position: relative; z-index: 2; }
.launch-card h2 { max-width: 680px; }
.launch-card p { max-width: 680px; margin-top: 12px; color: #dbeafe; }

.launch-badge {
  display: inline-flex;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  font-weight: 700;
}

.button-light {
  flex: 0 0 auto;
  background: #ffffff;
  color: #4338ca;
  box-shadow: 0 16px 30px rgba(30, 27, 75, 0.2);
}

.site-footer {
  border-top: 1px solid #26354a;
  background: #101827;
  color: #f8fafc;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 50px;
  padding-block: 72px 50px;
}

.footer-brand img {
  width: 165px;
  height: 55px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  max-width: 340px;
  margin: 18px 0 0;
  color: #b8c4d6;
}

.footer-grid > div:not(.footer-brand) {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 11px;
  color: #b8c4d6;
}

.footer-grid strong {
  margin-bottom: 5px;
  color: #ffffff;
}

.footer-grid span { font-size: 0.9rem; }

.footer-bottom {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #26354a;
  color: #94a3b8;
  font-size: 0.88rem;
}

/* Content pages */
.content-main { min-height: 70vh; }

.content-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(145deg, #faf8ff, #eef2ff);
}

.content-hero-glow {
  position: absolute;
  width: 460px;
  height: 460px;
  inset: -240px auto auto -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.18), transparent 68%);
}

.content-hero-inner {
  position: relative;
  padding-block: 68px 74px;
}

.back-link {
  display: block;
  width: fit-content;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.back-link::before { content: "→"; margin-inline-end: 8px; }

.content-hero h1 {
  max-width: 830px;
  margin: 12px 0 16px;
  font-size: clamp(2.35rem, 5vw, 4rem);
  line-height: 1.22;
  letter-spacing: -0.035em;
}

.content-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.9;
}

.prose-card {
  max-width: 900px;
  padding-block: 70px 110px;
}

.prose-card section { margin-top: 46px; }
.prose-card section:first-child { margin-top: 0; }

.prose-card h2 {
  margin: 0 0 13px;
  font-size: 1.5rem;
  line-height: 1.5;
}

.prose-card h3 { margin: 0; font-size: 1.15rem; }

.prose-card p,
.prose-card li {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 2;
}

.prose-card ul {
  display: grid;
  gap: 7px;
  padding-inline-start: 24px;
}

.prose-card a:not(.button) {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(124, 58, 237, 0.24);
  text-underline-offset: 4px;
}

.notice-box {
  padding: 24px 26px;
  border: 1px solid #ddd6fe;
  border-radius: 20px;
  background: var(--primary-soft);
}

.notice-box strong { color: var(--primary-deep); font-size: 1.08rem; }
.notice-box p { margin: 5px 0 0; }

.notice-box.warning {
  margin-top: 44px;
  border-color: #fed7aa;
  background: #fff7ed;
}

.notice-box.warning strong { color: #9a3412; }

.help-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.help-grid > div {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
}

.help-grid > div > span {
  display: block;
  margin-bottom: 18px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
}

.help-grid p { margin: 8px 0 0; font-size: 0.94rem; line-height: 1.8; }
.prose-faq details > p { font-size: 0.98rem; }

.support-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 52px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.support-box > div {
  display: flex;
  align-items: center;
  gap: 18px;
}

.support-box h2 { margin: 0; }
.support-box p { margin: 3px 0 0; }

.support-icon {
  width: 52px;
  height: 52px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 16px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 1.35rem;
  font-weight: 800;
}

.deletion-steps {
  display: grid;
  gap: 15px;
}

.deletion-steps > div {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
}

.deletion-steps > div > span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 800;
}

.deletion-steps h2 { margin-top: 0; }
.deletion-steps p { margin-bottom: 0; }
.deletion-cta .support-icon { background: #fff1f2; color: var(--danger); }

@media (max-width: 980px) {
  .main-nav { gap: 18px; }
  .hero { grid-template-columns: 1fr; padding-top: 64px; }
  .hero-copy { max-width: 760px; text-align: center; margin-inline: auto; }
  .hero-copy .eyebrow { margin-inline: auto; }
  .hero-actions, .hero-notes { justify-content: center; }
  .hero-visual { width: min(100%, 650px); margin-inline: auto; }
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workflow-shell, .privacy-highlight { grid-template-columns: 1fr; }
  .privacy-art { order: 2; }
  .footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); gap: 28px; }
}

@media (max-width: 760px) {
  .section-shell { width: min(calc(100% - 28px), var(--page-width)); }
  .site-header { position: static; }
  .nav-shell { min-height: 72px; gap: 14px; }
  .brand-link img { width: 118px; height: 40px; }
  .main-nav { display: none; }
  .nav-contact { margin-inline-start: auto; min-height: 42px; padding-inline: 16px; }
  .hero { min-height: auto; padding-block: 50px 64px; gap: 30px; }
  .hero h1 { font-size: clamp(2.25rem, 12vw, 3.4rem); }
  .hero-visual { padding: 28px 0 32px; }
  .dashboard-preview { transform: none; }
  .floating-chip { display: none; }
  .preview-status { display: none; }
  .lesson-card { padding: 17px; }
  .metric-grid { gap: 7px; }
  .metric-card { padding-inline: 4px; }
  .trust-content { min-height: 76px; flex-wrap: wrap; gap: 8px 18px; padding-block: 15px; }
  .trust-content > span, .trust-divider { display: none; }
  .section { padding-block: 78px; }
  .section-heading { grid-template-columns: 1fr; align-items: start; gap: 16px; margin-bottom: 30px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .workflow-shell { gap: 38px; }
  .workflow-steps li { grid-template-columns: 46px 1fr; padding: 16px; }
  .workflow-steps li > span { width: 46px; height: 46px; border-radius: 14px; }
  .privacy-highlight { padding-block: 80px; gap: 40px; }
  .privacy-art { min-height: 290px; }
  .launch-card { align-items: flex-start; flex-direction: column; gap: 28px; margin-bottom: 78px; }
  .button-light { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; padding-block: 54px 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 18px; }
  .content-hero-inner { padding-block: 46px 54px; }
  .prose-card { padding-block: 52px 80px; }
  .help-grid { grid-template-columns: 1fr; }
  .support-box { align-items: stretch; flex-direction: column; }
  .support-box .button { width: 100%; }
}

/* Compact feature cards */
.bento-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.bento-card,
.bento-card:nth-child(2),
.bento-card:nth-child(3) {
  min-height: 260px;
  grid-column: auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0;
  padding: 26px;
  border-radius: 26px;
  background: var(--surface);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.045);
}

.bento-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  inset: -90px auto auto -70px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--card-accent) 16%, transparent), transparent 70%);
  pointer-events: none;
}

.bento-purple { --card-accent: #8b5cf6; }
.bento-blue { --card-accent: #3b82f6; }
.bento-orange { --card-accent: #f97316; }
.bento-green { --card-accent: #22c55e; }

.bento-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--card-accent) 34%, var(--border));
  box-shadow: 0 20px 48px color-mix(in srgb, var(--card-accent) 10%, transparent);
}

.bento-card-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.feature-symbol {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--card-accent) 22%, transparent);
  border-radius: 16px;
  background: color-mix(in srgb, var(--card-accent) 13%, var(--surface));
  color: var(--card-accent);
  font-size: 1.35rem;
  font-weight: 800;
}

.feature-label {
  padding: 6px 11px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--card-accent) 10%, var(--surface));
  color: var(--card-accent);
  font-size: 0.8rem;
  font-weight: 700;
}

.bento-card-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding-block: 24px 20px;
}

.bento-card .bento-card-copy h3 {
  max-width: none;
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.35;
}

.bento-card .bento-card-copy p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.8;
}

.bento-card > i {
  display: none;
}

.feature-mini {
  position: relative;
  z-index: 2;
  height: 28px;
  display: flex;
  align-items: end;
  gap: 7px;
}

.feature-mini i {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--card-accent) 16%, var(--surface-soft));
}

.feature-mini i:nth-child(2) { height: 14px; }
.feature-mini i:nth-child(3) { height: 22px; }
.feature-mini i:nth-child(4) {
  height: 28px;
  background: linear-gradient(180deg, var(--card-accent), color-mix(in srgb, var(--card-accent) 56%, transparent));
}

.bento-blue .feature-mini { align-items: center; }
.bento-blue .feature-mini i { height: 9px; }
.bento-blue .feature-mini i:nth-child(2) { flex: 1.4; }
.bento-blue .feature-mini i:nth-child(3) { flex: .7; }
.bento-blue .feature-mini i:nth-child(4) { flex: 1.8; height: 9px; }

.bento-orange .feature-mini i:nth-child(1) { height: 18px; }
.bento-orange .feature-mini i:nth-child(2) { height: 25px; }
.bento-orange .feature-mini i:nth-child(3) { height: 14px; }
.bento-orange .feature-mini i:nth-child(4) { height: 28px; }

.bento-green .feature-mini {
  align-items: center;
}

.bento-green .feature-mini i {
  height: 12px;
  border-radius: 50%;
  aspect-ratio: 1;
  flex: 0 0 auto;
}

.bento-green .feature-mini i:not(:last-child)::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  margin: 5px 12px 0 0;
  background: color-mix(in srgb, var(--card-accent) 18%, var(--border));
}

.bento-green .feature-mini i:last-child {
  width: 18px;
  height: 18px;
  background: var(--card-accent);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--card-accent) 12%, transparent);
}

@media (max-width: 760px) {
  .bento-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .bento-card,
  .bento-card:nth-child(2),
  .bento-card:nth-child(3) {
    min-height: 0;
    padding: 20px;
    border-radius: 22px;
  }

  .feature-symbol {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 1.15rem;
  }

  .bento-card-copy {
    padding-block: 20px 16px;
  }

  .bento-card .bento-card-copy h3 {
    margin: 0 0 6px;
    font-size: clamp(1.35rem, 6vw, 1.7rem);
  }

  .bento-card .bento-card-copy p {
    font-size: 0.92rem;
    line-height: 1.7;
  }

  .feature-mini {
    height: 20px;
  }

  .feature-mini i:nth-child(3) { height: 16px; }
  .feature-mini i:nth-child(4) { height: 20px; }
}

@media (max-width: 430px) {
  .hero-actions .button { width: 100%; }
  .hero-notes { gap: 8px 12px; font-size: 0.82rem; }
  .preview-brand span, .student-strip > div:first-child span { display: none; }
  .student-avatars span:nth-child(-n + 2) { display: none; }
  .metric-card small { font-size: 0.67rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .deletion-steps > div { grid-template-columns: 44px 1fr; padding: 18px; }
  .deletion-steps > div > span { width: 44px; height: 44px; border-radius: 13px; }
}

/* Journey labels without numbering */
.story-index,
.tools-kicker {
  overflow: visible;
  gap: 11px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.5;
}

.story-index::before,
.tools-kicker::before {
  content: "";
  width: 30px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  box-shadow: 0 0 18px color-mix(in srgb, var(--primary) 28%, transparent);
}

.story-index i,
.tools-kicker i {
  padding: 0;
  color: var(--text);
  font-style: normal;
  font-weight: 800;
}

.light-copy .story-index {
  border: 0;
  background: transparent;
}

.light-copy .story-index i {
  color: #f8fafc;
}

.light-copy .story-index::before {
  background: linear-gradient(90deg, #c4b5fd, #60a5fa);
}

@media (max-width: 760px) {
  .story-index,
  .tools-kicker {
    justify-content: center;
    font-size: clamp(1rem, 4.5vw, 1.18rem);
  }

  .story-index::before,
  .tools-kicker::before {
    width: 24px;
    height: 4px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #101827;
    --surface: #151f2e;
    --surface-soft: #1b2738;
    --text: #f8fafc;
    --muted: #b8c4d6;
    --border: #26354a;
    --primary: #a78bfa;
    --primary-deep: #ddd6fe;
    --primary-soft: #312e81;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
    --shadow-soft: 0 14px 40px rgba(0, 0, 0, 0.2);
  }
  .site-header { background: rgba(16, 24, 39, 0.9); border-bottom-color: rgba(38, 53, 74, 0.9); }
  .nav-contact { background: var(--surface); }
  .eyebrow { background: rgba(49, 46, 129, 0.7); border-color: rgba(167, 139, 250, 0.2); }
  .dashboard-preview { border-color: rgba(255, 255, 255, 0.07); background: rgba(21, 31, 46, 0.95); }
  .metric-icon.violet, .feature-number.violet { background: #312e81; }
  .metric-icon.blue, .feature-number.blue { background: #1e3a8a; color: #7dd3fc; }
  .metric-icon.pink, .feature-number.pink { background: #831843; color: #f9a8d4; }
  .feature-number.cyan { background: #164e63; color: #67e8f9; }
  .feature-number.orange { background: #431407; color: #fdba74; }
  .feature-number.green, .preview-status, .privacy-points span::before { background: #052e16; color: #86efac; }
  .student-avatars span { border-color: var(--surface); background: #312e81; }
  .floating-chip { border-color: var(--border); background: var(--surface); }
  .privacy-art { border-color: var(--border); background: radial-gradient(circle at 50% 46%, #26354a 0 12%, #312e81 36%, #1e3a8a 70%, #151f2e 100%); }
  .content-hero { background: linear-gradient(145deg, #151f2e, #1b2738); }
  .notice-box { border-color: #6d5bd0; }
  .notice-box.warning { border-color: #9a3412; background: #431407; }
  .notice-box.warning strong { color: #fdba74; }
  .support-icon { background: #312e81; }
  .deletion-cta .support-icon { background: #4c0519; color: #fb7185; }
  .footer-brand img { filter: brightness(0) invert(1); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* Cinematic product story */
body {
  overflow-x: clip;
}

.site-header {
  transition: min-height 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.09);
}

.brand-link img {
  width: 108px;
  height: 44px;
}

.cinematic-hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 78px);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding-block: clamp(70px, 9vw, 124px) 96px;
  background:
    radial-gradient(circle at 12% 16%, rgba(37, 99, 235, 0.12), transparent 31%),
    radial-gradient(circle at 86% 24%, rgba(124, 58, 237, 0.16), transparent 34%),
    var(--background);
}

.cinematic-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(68vw, 900px);
  aspect-ratio: 1;
  inset: 8% auto auto 50%;
  border: 1px solid rgba(124, 58, 237, 0.08);
  border-radius: 50%;
  translate: -50% 0;
  box-shadow:
    0 0 0 80px rgba(124, 58, 237, 0.022),
    0 0 0 160px rgba(37, 99, 235, 0.018);
}

.cinematic-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  align-items: center;
  gap: clamp(46px, 7vw, 100px);
}

.cinematic-hero .hero-copy {
  position: relative;
  z-index: 4;
}

.cinematic-hero .hero-copy h1 {
  max-width: 700px;
  margin: 24px 0 20px;
  font-size: clamp(3rem, 5.5vw, 5.4rem);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: 0;
}

.cinematic-hero .hero-copy h1 span,
.journey-intro h2 span,
.reports-heading h2 span {
  background: linear-gradient(110deg, #a855f7 5%, #7c3aed 42%, #2563eb 88%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero-product-stage {
  position: relative;
  min-width: 0;
  padding: 46px 14px;
}

.hero-product-stage .dashboard-preview {
  transform: rotate(-1.2deg);
  transition: transform 400ms ease, box-shadow 400ms ease;
}

.hero-product-stage:hover .dashboard-preview {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 34px 90px rgba(30, 27, 75, 0.16);
}

.product-halo {
  position: absolute;
  width: 86%;
  aspect-ratio: 1;
  inset: 50% auto auto 50%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.22), rgba(37, 99, 235, 0.08) 42%, transparent 70%);
  translate: -50% -50%;
  filter: blur(8px);
}

.hero-orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(1px);
  translate: 0 var(--parallax-y, 0);
}

.hero-orb-one {
  width: 22px;
  height: 22px;
  inset: 20% 8% auto auto;
  background: #a78bfa;
  box-shadow: 0 0 38px #a78bfa;
}

.hero-orb-two {
  width: 13px;
  height: 13px;
  inset: auto auto 18% 10%;
  background: #38bdf8;
  box-shadow: 0 0 30px #38bdf8;
}

.scroll-cue {
  position: absolute;
  inset: auto 50% 22px auto;
  display: grid;
  justify-items: center;
  gap: 7px;
  translate: 50% 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 500;
}

.scroll-cue i {
  width: 1px;
  height: 24px;
  overflow: hidden;
  background: var(--border);
}

.scroll-cue i::after {
  content: "";
  display: block;
  width: 100%;
  height: 50%;
  background: var(--primary);
  animation: scroll-line 1.8s ease-in-out infinite;
}

@keyframes scroll-line {
  from { transform: translateY(-120%); }
  to { transform: translateY(220%); }
}

.journey-intro {
  max-width: 960px;
  padding-block: clamp(100px, 14vw, 180px);
  text-align: center;
}

.journey-intro h2 {
  margin: 16px auto 22px;
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  line-height: 1.18;
  letter-spacing: 0;
}

.journey-intro h2 span {
  display: block;
}

.journey-intro p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 2;
}

.story-panel {
  position: relative;
  min-height: 86svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding-block: clamp(90px, 12vw, 150px);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(480px, 1.12fr);
  align-items: center;
  gap: clamp(60px, 9vw, 130px);
}

.story-grid-reverse {
  grid-template-columns: minmax(480px, 1.12fr) minmax(0, 0.88fr);
}

.story-copy {
  position: relative;
  z-index: 3;
}

.story-index {
  color: var(--primary);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.story-copy h2,
.reports-heading h2,
.privacy-cinematic h2 {
  margin: 14px 0 20px;
  font-size: clamp(2.45rem, 5vw, 4.6rem);
  line-height: 1.18;
  letter-spacing: 0;
}

.story-copy > p,
.reports-heading > p,
.privacy-cinematic .privacy-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
  line-height: 2;
}

.story-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.story-tags span {
  padding: 7px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.story-students {
  background: linear-gradient(145deg, var(--surface-soft), var(--background));
}

.students-scene {
  position: relative;
  min-height: 530px;
  border: 1px solid var(--border);
  border-radius: 38px;
  background:
    linear-gradient(rgba(124, 58, 237, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.035) 1px, transparent 1px),
    var(--surface);
  background-size: 36px 36px;
  box-shadow: var(--shadow);
}

.scene-glow {
  position: absolute;
  width: 70%;
  height: 70%;
  inset: 15%; 15%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.15), transparent 68%);
  filter: blur(8px);
}

.student-card {
  position: absolute;
  z-index: 2;
  width: min(82%, 430px);
  min-height: 88px;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 15px 17px;
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: 20px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: 0 18px 40px rgba(30, 27, 75, 0.1);
  backdrop-filter: blur(12px);
  translate: 0 var(--parallax-y, 0);
}

.student-card > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 800;
}

.student-card div { display: grid; line-height: 1.55; }
.student-card small { color: var(--muted); }
.student-card b { color: var(--primary); font-size: 1.05rem; }
.card-a { inset: 58px auto auto 8%; }
.card-b { inset: 202px 7% auto auto; }
.card-c { inset: 346px auto auto 12%; }
.card-c > span { background: #fff7ed; color: #ea580c; }
.card-c b { color: #ea580c; }

.quick-action {
  position: absolute;
  z-index: 4;
  inset: auto 6% 24px auto;
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 16px 22px;
  border-radius: 20px;
  background: linear-gradient(145deg, #8b5cf6, #4338ca);
  color: #ffffff;
  box-shadow: 0 18px 38px rgba(67, 56, 202, 0.28);
}

.quick-action i { font-style: normal; font-size: 1.25rem; }
.quick-action small { color: rgba(255,255,255,.72); }

.story-schedule {
  background: #131029;
  color: #ffffff;
}

.story-schedule::before {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  inset: -340px auto auto -240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.26), transparent 68%);
}

.light-copy .story-index { color: #c4b5fd; }
.light-copy > p { color: #b8c4d6; }

.schedule-scene {
  position: relative;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 34px;
  background: rgba(255,255,255,.055);
  box-shadow: 0 34px 80px rgba(0,0,0,.26);
  backdrop-filter: blur(18px);
}

.schedule-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.schedule-head span { color: #c4b5fd; font-weight: 700; }

.schedule-line {
  position: relative;
  display: grid;
  grid-template-columns: 62px 16px 1fr auto;
  align-items: center;
  gap: 15px;
  min-height: 98px;
  color: #b8c4d6;
}

.schedule-line:not(:last-of-type)::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 48px;
  inset: 74px 85px auto auto;
  background: rgba(255,255,255,.13);
}

.schedule-line time { direction: ltr; font-weight: 700; }
.schedule-line i { width: 11px; height: 11px; border: 2px solid #64748b; border-radius: 50%; }
.schedule-line div { display: grid; line-height: 1.55; }
.schedule-line small { color: #94a3b8; }
.schedule-line b { font-size: .76rem; font-weight: 500; }
.schedule-line.active { margin-inline: -18px; padding-inline: 18px; border-radius: 18px; background: linear-gradient(90deg, rgba(124,58,237,.26), rgba(37,99,235,.1)); color: #ffffff; }
.schedule-line.active i { border-color: #a78bfa; background: #a78bfa; box-shadow: 0 0 0 7px rgba(167,139,250,.12); }
.schedule-line.done i { border-color: #86efac; background: #86efac; }

.now-pulse {
  position: absolute;
  width: 8px;
  height: 8px;
  inset: 49% 18px auto auto;
  border-radius: 50%;
  background: #a78bfa;
  box-shadow: 0 0 0 0 rgba(167,139,250,.5);
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(167,139,250,.5); }
  70%, 100% { box-shadow: 0 0 0 18px rgba(167,139,250,0); }
}

.story-reports {
  min-height: 105svh;
  background: var(--background);
}

.reports-stage {
  display: grid;
  gap: 60px;
}

.reports-heading {
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
}

.reports-visual {
  position: relative;
  width: min(100%, 960px);
  min-height: 520px;
  margin-inline: auto;
}

.report-card {
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.report-primary {
  min-height: 440px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 34px;
  translate: 0 var(--parallax-y, 0);
}

.report-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.report-card-head > div { display: grid; }
.report-card-head small { color: var(--muted); }
.report-card-head strong { font-size: clamp(2.8rem, 6vw, 4.8rem); line-height: 1.2; }
.report-card-head > span { padding: 7px 12px; border-radius: 999px; background: var(--surface-soft); color: var(--muted); font-size: .78rem; }

.chart-bars {
  height: 230px;
  display: flex;
  align-items: end;
  gap: clamp(10px, 2.5vw, 24px);
  margin-top: 24px;
  padding: 20px 16px 0;
  border-bottom: 1px solid var(--border);
  background-image: linear-gradient(to bottom, var(--border) 1px, transparent 1px);
  background-size: 100% 25%;
}

.chart-bars i {
  flex: 1;
  min-width: 12px;
  border-radius: 12px 12px 3px 3px;
  background: linear-gradient(to top, #2563eb, #8b5cf6);
  transform-origin: bottom;
  animation: grow-bar 1.2s cubic-bezier(.2,.8,.2,1) both paused;
}

.is-visible .chart-bars i,
.reports-visual.is-visible .chart-bars i { animation-play-state: running; }

.chart-bars i:nth-child(2) { animation-delay: 80ms; }
.chart-bars i:nth-child(3) { animation-delay: 140ms; }
.chart-bars i:nth-child(4) { animation-delay: 200ms; }
.chart-bars i:nth-child(5) { animation-delay: 260ms; }
.chart-bars i:nth-child(6) { animation-delay: 320ms; }
.chart-bars i:nth-child(7) { animation-delay: 380ms; }

@keyframes grow-bar { from { scale: 1 0; } to { scale: 1 1; } }

.chart-labels { display: flex; justify-content: space-between; padding: 12px 16px 0; color: var(--muted); font-size: .78rem; }

.report-mini {
  position: absolute;
  z-index: 3;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px;
  border-radius: 20px;
}

.report-mini > span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: var(--primary-soft); color: var(--primary); font-weight: 800; }
.report-mini > div { display: grid; line-height: 1.45; }
.report-mini small { color: var(--muted); }
.report-attendance { inset: 34% auto auto -7%; }
.report-growth { inset: auto -6% 10% auto; }

.bento-section { padding-block: clamp(100px, 13vw, 160px); }
.bento-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }

.bento-card {
  position: relative;
  min-height: 310px;
  grid-column: span 5;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.bento-card:nth-child(2), .bento-card:nth-child(3) { grid-column: span 7; }
.bento-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.bento-card > span { color: var(--primary); font-size: .82rem; font-weight: 800; }
.bento-card h3 { max-width: 430px; margin: auto 0 10px; font-size: clamp(1.55rem, 3vw, 2.25rem); line-height: 1.35; }
.bento-card p { max-width: 480px; margin: 0; color: var(--muted); font-size: 1rem; }
.bento-card > i { position: absolute; width: 116px; height: 116px; display: grid; place-items: center; inset: 22px auto auto 24px; border-radius: 50%; font-size: 2rem; font-style: normal; opacity: .16; }
.bento-purple { background: linear-gradient(145deg, var(--surface), color-mix(in srgb, #7c3aed 12%, var(--surface))); }
.bento-blue { background: linear-gradient(145deg, var(--surface), color-mix(in srgb, #2563eb 12%, var(--surface))); }
.bento-orange { background: linear-gradient(145deg, var(--surface), color-mix(in srgb, #f97316 11%, var(--surface))); }
.bento-green { background: linear-gradient(145deg, var(--surface), color-mix(in srgb, #16a34a 11%, var(--surface))); }

.privacy-cinematic {
  position: relative;
  min-height: 90svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding-block: 120px;
  background: linear-gradient(135deg, #171236, #101827 58%, #111d37);
  color: #ffffff;
}

.privacy-cinematic-inner { display: grid; grid-template-columns: .78fr 1.22fr; align-items: center; gap: clamp(70px, 11vw, 160px); }
.privacy-cinematic .shield { width: clamp(150px, 22vw, 240px); height: clamp(170px, 25vw, 270px); margin-inline: auto; font-size: 5rem; }
.privacy-cinematic .privacy-copy > p { color: #b8c4d6; }
.privacy-cinematic .privacy-points span { color: #f8fafc; }
.privacy-rings { position: absolute; width: 640px; aspect-ratio: 1; inset: 50% auto auto -220px; translate: 0 -50%; }
.privacy-rings i { position: absolute; inset: 50%; border: 1px solid rgba(167,139,250,.12); border-radius: 50%; translate: -50% -50%; }
.privacy-rings i:nth-child(1) { width: 42%; height: 42%; }
.privacy-rings i:nth-child(2) { width: 68%; height: 68%; }
.privacy-rings i:nth-child(3) { width: 94%; height: 94%; }

/* Scroll reveal motion: content remains visible when JavaScript is unavailable. */
.motion-ready [data-reveal] {
  opacity: 0;
  transition:
    opacity 800ms cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms),
    transform 900ms cubic-bezier(.16,1,.3,1) var(--reveal-delay, 0ms),
    clip-path 1000ms cubic-bezier(.16,1,.3,1) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.motion-ready [data-reveal="fade-up"] { transform: translateY(54px); }
.motion-ready [data-reveal="fade-right"] { transform: translateX(70px); }
.motion-ready [data-reveal="fade-left"] { transform: translateX(-70px); }
.motion-ready [data-reveal="scale"] { transform: scale(.88) translateY(24px); }
.motion-ready [data-reveal="clip"] { clip-path: inset(0 0 100% 0); transform: translateY(28px); }
.motion-ready [data-reveal].is-visible { opacity: 1; transform: none; clip-path: inset(0); }
[data-parallax] { translate: 0 var(--parallax-y, 0); }
[data-float="slow"] { animation: float 5.5s ease-in-out infinite; }
[data-float="fast"] { animation: float 4.2s ease-in-out -2s infinite; }

@media (max-width: 980px) {
  .cinematic-hero { min-height: auto; }
  .cinematic-hero-inner { grid-template-columns: 1fr; }
  .cinematic-hero .hero-copy { max-width: 780px; margin-inline: auto; text-align: center; }
  .cinematic-hero .eyebrow { margin-inline: auto; }
  .cinematic-hero .hero-actions, .cinematic-hero .hero-notes { justify-content: center; }
  .hero-product-stage { width: min(100%, 680px); margin-inline: auto; }
  .scroll-cue { display: none; }
  .story-panel { min-height: auto; }
  .story-grid, .story-grid-reverse { grid-template-columns: 1fr; }
  .story-grid-reverse .schedule-scene { order: 2; }
  .students-scene, .schedule-scene { width: min(100%, 680px); margin-inline: auto; }
  .privacy-cinematic-inner { grid-template-columns: 1fr; text-align: center; }
  .privacy-cinematic .privacy-points { width: fit-content; margin-inline: auto; text-align: start; }
  .privacy-cinematic .text-link { justify-content: center; }
  .report-attendance { inset-inline-start: -2%; }
  .report-growth { inset-inline-end: -2%; }
}

@media (max-width: 760px) {
  .brand-link img { width: 86px; height: 38px; }
  .cinematic-hero { padding-block: 52px 74px; }
  .cinematic-hero-inner { gap: 24px; }
  .cinematic-hero .hero-copy h1 {
    max-width: 100%;
    margin-top: 20px;
    font-size: clamp(2.4rem, 12.5vw, 3.55rem);
    line-height: 1.18;
    overflow-wrap: normal;
  }
  .cinematic-hero .hero-description { font-size: 1.02rem; line-height: 1.9; }
  .hero-product-stage { padding: 22px 0 30px; }
  .hero-product-stage .dashboard-preview { transform: none; border-radius: 26px; }
  .journey-intro { padding-block: 100px; }
  .journey-intro h2 { font-size: clamp(2.25rem, 11vw, 3.5rem); }
  .story-panel { padding-block: 84px; }
  .story-copy { text-align: center; }
  .story-tags { justify-content: center; }
  .story-copy h2, .reports-heading h2, .privacy-cinematic h2 { font-size: clamp(2.15rem, 10.5vw, 3.4rem); }
  .students-scene { min-height: 485px; border-radius: 28px; }
  .student-card { width: 88%; grid-template-columns: 42px 1fr auto; padding: 13px; }
  .student-card > span { width: 42px; height: 42px; }
  .card-a { inset: 42px auto auto 5%; }
  .card-b { inset: 174px 5% auto auto; }
  .card-c { inset: 306px auto auto 7%; }
  .quick-action { inset: auto 5% 18px auto; padding: 12px 18px; }
  .schedule-scene { padding: 20px 17px; border-radius: 26px; }
  .schedule-line { grid-template-columns: 48px 12px 1fr; gap: 10px; }
  .schedule-line b { display: none; }
  .schedule-line:not(:last-of-type)::after { inset-inline-start: 64px; inset-inline-end: auto; }
  .reports-stage { gap: 36px; }
  .reports-visual { min-height: 470px; }
  .report-primary { min-height: 390px; padding: 22px 16px; border-radius: 26px; }
  .chart-bars { height: 200px; gap: 8px; padding-inline: 6px; }
  .report-mini { min-width: 182px; padding: 13px; }
  .report-attendance { inset: auto auto 8px -1%; }
  .report-growth { inset: auto -1% 94px auto; }
  .bento-section { padding-block: 92px; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card, .bento-card:nth-child(2), .bento-card:nth-child(3) { grid-column: auto; min-height: 260px; }
  .privacy-cinematic { min-height: auto; padding-block: 90px; }
  .privacy-cinematic-inner { gap: 52px; }
  .privacy-cinematic .shield { font-size: 3.8rem; }
  .motion-ready [data-reveal="fade-right"], .motion-ready [data-reveal="fade-left"] { transform: translateY(42px); }
}

@media (max-width: 430px) {
  .nav-contact { font-size: .88rem; }
  .cinematic-hero .eyebrow { font-size: .8rem; }
  .cinematic-hero .hero-copy h1 { font-size: clamp(2.25rem, 12vw, 3rem); }
  .cinematic-hero .hero-actions .button { width: 100%; }
  .lesson-card strong { font-size: 1.02rem; }
  .preview-brand img { width: 36px; height: 36px; }
  .student-card small { font-size: .72rem; }
  .report-mini { position: relative; inset: auto; width: calc(50% - 5px); min-width: 0; display: inline-flex; margin-top: 10px; }
  .report-mini + .report-mini { margin-inline-start: 6px; }
  .reports-visual { min-height: auto; }
  .report-primary { min-height: 370px; }
}

@media (prefers-reduced-motion: reduce) {
  .motion-ready [data-reveal] { opacity: 1; transform: none; clip-path: none; }
  [data-parallax] { translate: none; }
  .scroll-cue i::after, .now-pulse, .chart-bars i, [data-float] { animation: none !important; }
}

/* Compact storytelling polish */
.preview-greeting {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 2px;
  line-height: 1.35;
}

.preview-greeting strong,
.preview-greeting span {
  display: block;
}

.preview-greeting strong {
  color: var(--text);
  font-size: 0.98rem;
}

.preview-greeting span {
  color: var(--muted);
  font-size: 0.74rem;
  white-space: nowrap;
}

.journey-intro {
  padding-block: clamp(72px, 9vw, 112px);
}

.journey-kicker,
.story-index,
.tools-kicker {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary-soft) 72%, var(--surface));
  color: var(--primary);
  font-size: 0.86rem;
  font-weight: 700;
}

.journey-kicker {
  padding: 8px 15px;
}

.journey-kicker > i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--primary) 12%, transparent);
}

.journey-intro h2 {
  max-width: 860px;
  margin-block: 18px;
  font-size: clamp(2.35rem, 5vw, 4.35rem);
}

.journey-intro p {
  font-size: clamp(1rem, 1.6vw, 1.14rem);
}

.story-panel {
  min-height: auto;
  padding-block: clamp(70px, 8vw, 108px);
}

.story-grid,
.story-grid-reverse {
  gap: clamp(46px, 7vw, 92px);
}

.story-index,
.tools-kicker {
  overflow: hidden;
  padding: 4px 12px 4px 4px;
  letter-spacing: 0;
}

.story-index b,
.tools-kicker b {
  min-width: 34px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
}

.story-index i,
.tools-kicker i {
  padding-inline-end: 4px;
  color: var(--text);
  font-style: normal;
  font-weight: 700;
}

.light-copy .story-index {
  border-color: rgba(196, 181, 253, 0.24);
  background: rgba(124, 58, 237, 0.13);
}

.light-copy .story-index b {
  background: #a78bfa;
  color: #1e1b4b;
}

.light-copy .story-index i {
  color: #f8fafc;
}

.story-copy h2,
.reports-heading h2,
.privacy-cinematic h2 {
  margin-top: 20px;
  font-size: clamp(2.25rem, 4.2vw, 3.9rem);
}

.story-reports {
  min-height: auto;
}

.reports-stage {
  gap: 42px;
}

.bento-section {
  padding-block: clamp(72px, 9vw, 112px);
}

.tools-kicker {
  margin-bottom: 4px;
}

.bento-card {
  min-height: 230px;
  padding: 26px;
}

.bento-card h3 {
  margin: 62px 0 8px;
}

.privacy-cinematic {
  min-height: auto;
  padding-block: clamp(82px, 10vw, 120px);
}

.motion-ready [data-reveal] {
  transition:
    opacity 520ms cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms),
    transform 620ms cubic-bezier(.16,1,.3,1) var(--reveal-delay, 0ms),
    clip-path 620ms cubic-bezier(.16,1,.3,1) var(--reveal-delay, 0ms);
  will-change: auto;
}

.motion-ready [data-reveal]:not(.is-visible) {
  will-change: opacity, transform;
}

.motion-ready [data-reveal="fade-up"] {
  transform: translateY(30px);
}

.motion-ready [data-reveal="fade-right"] {
  transform: translateX(38px);
}

.motion-ready [data-reveal="fade-left"] {
  transform: translateX(-38px);
}

.motion-ready [data-reveal="scale"] {
  transform: scale(.95) translateY(14px);
}

@media (max-width: 980px) {
  [data-parallax] {
    translate: none !important;
  }

  .student-card,
  .schedule-scene {
    backdrop-filter: none;
  }
}

@media (max-width: 760px) {
  .preview-brand {
    min-width: 0;
    gap: 9px;
  }

  .preview-greeting strong {
    font-size: 0.9rem;
  }

  .preview-greeting span {
    max-width: 180px;
    overflow: hidden;
    font-size: 0.7rem;
    text-overflow: ellipsis;
  }

  .journey-intro {
    padding-block: 64px;
  }

  .journey-intro h2 {
    max-width: 560px;
    margin-block: 16px;
    font-size: clamp(2rem, 8.5vw, 2.8rem);
    line-height: 1.28;
  }

  .journey-intro p {
    max-width: 560px;
    font-size: 0.98rem;
    line-height: 1.85;
  }

  .story-panel {
    padding-block: 58px;
  }

  .story-grid,
  .story-grid-reverse {
    gap: 34px;
  }

  .story-copy h2,
  .reports-heading h2,
  .privacy-cinematic h2 {
    margin-block: 16px 14px;
    font-size: clamp(2rem, 8.4vw, 2.75rem);
    line-height: 1.28;
  }

  .story-copy > p,
  .reports-heading > p,
  .privacy-cinematic .privacy-copy > p {
    font-size: 0.98rem;
    line-height: 1.85;
  }

  .students-scene {
    min-height: 430px;
  }

  .card-a { inset-block-start: 30px; }
  .card-b { inset-block-start: 145px; }
  .card-c { inset-block-start: 260px; }

  .bento-section {
    padding-block: 62px;
  }

  .bento-section .section-heading {
    margin-bottom: 24px;
  }

  .bento-card,
  .bento-card:nth-child(2),
  .bento-card:nth-child(3) {
    min-height: 205px;
    padding: 22px;
  }

  .bento-card h3 {
    margin: 42px 0 7px;
    font-size: clamp(1.4rem, 6.2vw, 1.8rem);
  }

  .bento-card > i {
    width: 84px;
    height: 84px;
    inset-block-start: 14px;
    font-size: 1.5rem;
  }

  .privacy-cinematic {
    padding-block: 68px;
  }

  .privacy-cinematic-inner {
    gap: 34px;
  }

  .motion-ready [data-reveal="fade-right"],
  .motion-ready [data-reveal="fade-left"] {
    transform: translateY(26px);
  }
}

@media (max-width: 430px) {
  .preview-greeting span {
    max-width: 138px;
  }

  .journey-kicker,
  .story-index,
  .tools-kicker {
    font-size: 0.78rem;
  }

  .story-copy h2,
  .reports-heading h2,
  .privacy-cinematic h2 {
    font-size: clamp(1.85rem, 8.7vw, 2.35rem);
  }
}

/* Final feature-card layout: keep this after the legacy landing-page rules. */
.bento-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.bento-card,
.bento-card:nth-child(2),
.bento-card:nth-child(3) {
  min-height: 260px;
  grid-column: auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: stretch;
  flex-direction: initial;
  padding: 26px;
  background: var(--surface);
}

.bento-card:hover {
  transform: translateY(-3px);
}

.bento-purple,
.bento-blue,
.bento-orange,
.bento-green {
  background: var(--surface);
}

.bento-card .bento-card-copy h3 {
  margin: 0 0 8px;
}

.bento-card > i {
  display: none;
}

@media (max-width: 760px) {
  .bento-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .bento-card,
  .bento-card:nth-child(2),
  .bento-card:nth-child(3) {
    min-height: 0;
    padding: 20px;
  }

  .bento-card .bento-card-copy h3 {
    margin: 0 0 6px;
  }
}
