/* NeoMind public site theme (dark glass, purple/cyan accents from the original brand). */

/* The hidden attribute always hides, even on elements whose class sets display (e.g. .stack). */
[hidden] { display: none !important; }

/* Inter, self-hosted (variable weight, from @fontsource-variable/inter 5.3.0, SIL OFL 1.1: ../fonts/Inter-LICENSE.txt) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/inter-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/inter-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
:root {
  --bg: #0b1021;
  --bg-2: #0f172a;
  --panel: rgba(17, 24, 39, 0.72);
  --panel-solid: #111827;
  --border: rgba(148, 163, 184, 0.14);
  --text: #e5e7eb;
  --heading: #f8fafc;
  --muted: #94a3b8;
  --accent: #7c3aed;
  --accent-2: #22d3ee;
  --link: #a78bfa;
  --success: #34d399;
  --error: #f87171;
  --radius: 16px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --grad: linear-gradient(135deg, var(--accent), var(--accent-2));
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(124, 58, 237, 0.20), transparent 38%),
    radial-gradient(circle at 85% 0%, rgba(34, 211, 238, 0.14), transparent 34%),
    linear-gradient(160deg, var(--bg), #0a0f1c 45%, var(--bg-2));
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--heading); }
h1, h2, h3, h4 { color: var(--heading); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.02em; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 12px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #0b1021; box-shadow: 0 14px 30px rgba(124, 58, 237, 0.30); }
.btn-primary:hover { color: #0b1021; box-shadow: 0 18px 36px rgba(124, 58, 237, 0.42); }
.btn-ghost { color: var(--text); border-color: var(--border); background: rgba(255, 255, 255, 0.03); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); }
.btn-lg { padding: 14px 24px; font-size: 16px; }
.btn-block { width: 100%; }

/* Header / nav */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 16, 33, 0.72); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--heading); }
.brand-wordmark { width: auto; height: 48px; animation: brand-fade-in 0.8s ease-out both; }
@keyframes brand-fade-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .brand-wordmark { animation: none; } }
.nav-links { display: flex; gap: 22px; margin-left: 16px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--heading); }
.nav-actions { display: flex; gap: 10px; margin-left: auto; }

/* Hero */
.hero { padding: 88px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: var(--accent-2); background: rgba(34, 211, 238, 0.08); border: 1px solid rgba(34, 211, 238, 0.25);
  margin-bottom: 20px;
}
.hero h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 800; letter-spacing: -0.035em; }
.lead { font-size: 19px; color: #cbd5e1; max-width: 560px; margin: 0 0 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { font-size: 13px; color: var(--muted); margin-top: 14px; }

.hero-preview {
  background: var(--panel); border: 1px solid var(--border); border-radius: 20px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(124, 58, 237, 0.08); backdrop-filter: blur(10px);
  overflow: hidden; transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
}
.preview-bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.preview-bar i { width: 10px; height: 10px; border-radius: 50%; background: #334155; }
.preview-body { padding: 18px; display: grid; gap: 14px; }
.preview-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat { border-radius: 12px; padding: 12px; color: #fff; }
.stat b { display: block; font-size: 24px; line-height: 1.1; }
.stat span { font-size: 12px; opacity: .9; }
.s1 { background: linear-gradient(135deg, #667eea, #764ba2); }
.s2 { background: linear-gradient(135deg, #f093fb, #f5576c); }
.s3 { background: linear-gradient(135deg, #4facfe, #00c6e0); }
.preview-list { display: grid; gap: 8px; }
.row {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border); font-size: 14px; font-weight: 500;
}
.row em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--muted); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: none; }
.preview-gen {
  font-size: 13px; color: var(--accent-2); padding: 10px 12px; border-radius: 10px;
  background: rgba(34, 211, 238, 0.06); border: 1px dashed rgba(34, 211, 238, 0.3);
}
.spark { display: inline-block; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: rgba(255, 255, 255, 0.015); border-block: 1px solid var(--border); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; transition: border-color .2s ease, transform .2s ease;
}
.feature:hover { border-color: rgba(124, 58, 237, 0.45); transform: translateY(-2px); }
.feature-icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; font-size: 22px;
  background: linear-gradient(135deg, rgba(124, 58, 237, .25), rgba(34, 211, 238, .18));
  border: 1px solid rgba(124, 58, 237, .3); margin-bottom: 14px;
}
.feature h3 { font-size: 17px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.steps p { margin: 0; color: var(--muted); }
.step-n {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--grad); color: #0b1021; font-weight: 800; margin-bottom: 14px;
}

.price-card {
  max-width: 460px; margin: 0 auto; padding: 32px; border-radius: 20px;
  background: var(--panel); border: 1px solid rgba(124, 58, 237, 0.45); box-shadow: var(--shadow);
}
.price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 20px; }
.amount { font-size: 48px; font-weight: 800; color: var(--heading); letter-spacing: -0.03em; }
.per { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.checks li { padding-left: 28px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 800; }

.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 40px; border-radius: 20px; border: 1px solid rgba(124, 58, 237, 0.35);
  background: linear-gradient(135deg, rgba(124, 58, 237, .18), rgba(34, 211, 238, .10));
}
.cta-band h2 { margin: 0; font-size: clamp(24px, 3vw, 32px); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 56px 0 28px; margin-top: 40px; background: rgba(0, 0, 0, 0.18); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.footer-grid div > a:not(.brand) { display: block; color: var(--text); padding: 3px 0; font-size: 15px; }
.footer-grid div > a:not(.brand):hover { color: var(--accent-2); }
.footer-brand p { max-width: 320px; font-size: 14px; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted);
}

.btn-sm { padding: 6px 12px; font-size: 13px; }
button.btn { font-family: inherit; cursor: pointer; }
/* Disabled (e.g. while generating): visibly inactive and not clickable. */
.btn:disabled, .btn:disabled:hover { opacity: .5; cursor: not-allowed; box-shadow: none; transform: none; }
.check input:disabled + span { opacity: .6; }
.nav-actions form { margin: 0; }

/* Auth pages */
.auth { display: grid; grid-template-columns: 1fr 440px; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.logo-lockup.brand-wordmark { display: block; width: min(380px, 100%); height: auto; margin: 0 0 24px; }
.auth-aside h2 { font-size: 30px; }
.auth-card { background: var(--panel); border: 1px solid var(--border); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.auth-card h1 { font-size: 26px; }
.auth-card form { display: grid; gap: 14px; margin-top: 18px; }
.auth-card small { font-weight: 400; font-size: 12px; }
.auth-card input:not([type=checkbox]) {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border);
  background: #0b1021; color: var(--text); font: inherit; font-weight: 400;
}
.auth-card input:focus { outline: none; border-color: rgba(124, 58, 237, .6); box-shadow: 0 0 0 3px rgba(124, 58, 237, .2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 10px !important; font-weight: 500 !important; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.captcha { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.captcha img { border-radius: 10px; background: #fff; max-width: 100%; height: auto; }
.form-errors { margin-top: 14px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(248, 113, 113, .4); background: rgba(248, 113, 113, .08); color: var(--error); font-size: 14px; }
.form-errors ul { margin: 0; padding-left: 18px; }
.auth-switch { margin: 18px 0 0; font-size: 14px; color: var(--muted); text-align: center; }

/* Legal pages */
.legal { max-width: 780px; padding-top: 56px; padding-bottom: 56px; }
.legal h1 { font-size: clamp(32px, 5vw, 44px); font-weight: 800; }
.legal h2 { font-size: 20px; margin-top: 32px; }
.legal p, .legal li { color: #cbd5e1; }

/* App shell */
.container-wide { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 16px; }
.app-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 16, 33, 0.82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.app-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.app-user { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.app-user form { margin: 0; }
.tab-bar { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 10px; }
.tab {
  flex: none; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600;
  color: var(--muted); border: 1px solid transparent; transition: background .15s ease, color .15s ease;
}
.tab:hover { color: var(--heading); background: rgba(255, 255, 255, 0.05); }
.tab.active { color: #0b1021; background: var(--grad); box-shadow: 0 8px 22px rgba(124, 58, 237, .3); }
.app-main { padding-top: 28px; padding-bottom: 48px; min-height: calc(100vh - 180px); }
.page-title { font-size: 28px; font-weight: 800; margin-bottom: 18px; }
.app-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 18px; padding-bottom: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }

.two-col { display: grid; grid-template-columns: 360px 1fr; gap: 20px; align-items: start; }
.two-col > div { display: grid; gap: 20px; align-content: start; }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.card h2 { font-size: 18px; }
.card h3 { font-size: 15px; margin-top: 22px; color: var(--text); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.card-head h2 { margin: 0; }

/* Forms (app + auth) */
.stack { display: grid; gap: 12px; }
.stack label, .auth-card label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--text); }
.stack label.inline { display: flex; align-items: center; gap: 12px; }
.stack input:not([type=checkbox]):not([type=color]), .stack select, .stack textarea, .inline-form select {
  width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border);
  background: #0b1021; color: var(--text); font: inherit; font-weight: 400; color-scheme: dark;
}
.stack textarea { resize: vertical; }
/* Grows with its text (browsers without field-sizing keep the drag handle). */
.stack textarea.grow { field-sizing: content; min-height: 3.2em; max-height: 40vh; overflow-wrap: anywhere; }
.stack input:focus, .stack select:focus, .stack textarea:focus, .inline-form select:focus {
  outline: none; border-color: rgba(124, 58, 237, .6); box-shadow: 0 0 0 3px rgba(124, 58, 237, .2);
}
input[type=color] { width: 48px; height: 36px; padding: 2px; border-radius: 8px; border: 1px solid var(--border); background: #0b1021; }
.inline-form { display: flex; gap: 10px; margin-top: 12px; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-danger { color: #fecaca; border-color: rgba(248, 113, 113, .35); background: rgba(248, 113, 113, .08); }
.btn-danger:hover { color: #fff; background: rgba(239, 68, 68, .5); }

/* Lists */
.item-list { display: grid; gap: 8px; }
.item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.025); border: 1px solid var(--border); }
.item:hover { border-color: rgba(124, 58, 237, .35); }
.item-main { flex: 1; min-width: 0; display: grid; gap: 2px; text-align: left; background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: default; }
button.item-main { cursor: pointer; }
.item-title { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--heading); }
.item-sub { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badges { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; color: #ddd6fe; background: rgba(124, 58, 237, .22); }
.badge-muted { color: var(--muted); background: rgba(148, 163, 184, .12); }
.empty { color: var(--muted); font-size: 14px; margin: 4px 0; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 12px 0 0; font-size: 14px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }

/* Dashboard */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-top: 20px; }
.stat-card { display: grid; gap: 4px; padding: 20px; border-radius: var(--radius); color: #fff; box-shadow: 0 14px 30px rgba(0, 0, 0, .3); transition: transform .15s ease; }
.stat-card:hover { color: #fff; transform: translateY(-2px); }
.stat-card b { font-size: 36px; line-height: 1; }
.stat-card span { font-size: 14px; opacity: .92; }
.stat-1 { background: linear-gradient(135deg, #667eea, #764ba2); }
.stat-2 { background: linear-gradient(135deg, #f093fb, #f5576c); }
.stat-3 { background: linear-gradient(135deg, #4facfe, #00c6e0); }
.stat-4 { background: linear-gradient(135deg, #34d399, #0ea5a4); }

/* Generated documents (lesson plans, tests, ...) */
.doc { margin-top: 14px; padding: 18px 20px; border-radius: 12px; background: #0b1021; border: 1px solid var(--border);
  max-height: 70vh; overflow: auto; line-height: 1.7; font-size: 15px; }
.doc h1, .doc h2 { font-size: 19px; margin: 18px 0 8px; color: var(--accent-2); }
.doc h3 { font-size: 16px; margin: 14px 0 6px; }
.doc > :first-child { margin-top: 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 14px; }
.doc th, .doc td { border: 1px solid rgba(148, 163, 184, .3); padding: 6px 10px; text-align: left; vertical-align: top; }
.doc th { background: rgba(124, 58, 237, .15); }
.doc li table { width: auto; }
.choice table, .question-list table { border-collapse: collapse; font-size: 14px; margin: 4px 0; }
.choice th, .choice td, .question-list th, .question-list td { border: 1px solid var(--border); padding: 3px 12px; text-align: center; }
.choice th, .question-list th { background: rgba(124, 58, 237, .15); }
.choice img, .question-list img { display: block; max-width: min(100%, 460px); height: auto; margin: 6px 0;
  background: #fff; border-radius: 8px; }
.doc-editing { outline: 2px dashed rgba(124, 58, 237, .6); outline-offset: 2px; }
.filters { display: flex; gap: 10px; margin-bottom: 12px; }
.card-head select, .filters select, .filters input { padding: 8px 10px; border-radius: 10px; border: 1px solid var(--border); background: #0b1021; color: var(--text); font: inherit; color-scheme: dark; }
.filters input { flex: 1; min-width: 0; }
.usage { font-size: 13px; color: var(--muted); margin: -4px 0 12px; }
details.card > summary { cursor: pointer; list-style: none; }
details.card > summary::-webkit-details-marker { display: none; }
details.card > summary h2 { display: inline; }
details.card > summary::after { content: " ▾"; color: var(--muted); }
details.card[open] > summary { margin-bottom: 12px; }

.score-badge { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; flex: none; }
.score-high { background: rgba(52, 211, 153, .18); color: #6ee7b7; }
.score-mid { background: rgba(251, 191, 36, .18); color: #fcd34d; }
.score-low { background: rgba(248, 113, 113, .18); color: #fca5a5; }
.stat-5 { background: linear-gradient(135deg, #fa709a, #f6b93b); }
.stat-6 { background: linear-gradient(135deg, #8b5cf6, #22d3ee); }
.stat-7 { background: linear-gradient(135deg, #f97316, #ef4444); }
fieldset.checks-inline { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }
fieldset.checks-inline legend { font-size: 14px; font-weight: 600; margin-bottom: 6px; padding: 0; }
.answer-key { margin-top: 12px; }
.answer-key > summary { cursor: pointer; font-weight: 600; color: #fcd34d; }
.answer-key .doc { border-color: rgba(251, 191, 36, .35); }
.score-form { display: grid; grid-template-columns: 1.4fr .6fr .8fr 1fr auto; gap: 10px; align-items: end; margin-bottom: 12px; }
.score-form label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; }
.score-form input, .score-form select { width: 100%; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--border); background: #0b1021; color: var(--text); font: inherit; color-scheme: dark; }

.today-card { margin-top: 20px; }
.today-link { display: inline-block; margin-top: 12px; font-size: 14px; }

.doc figure { margin: 14px 0; text-align: center; }
.doc figure img { width: 100%; max-width: 420px; height: auto; border-radius: 10px; background: #fff; }
.doc li img { display: block; width: 100%; max-width: 420px; height: auto; margin: 6px 0; border-radius: 8px; background: #fff; }
.doc figcaption { color: var(--muted); font-size: 13px; margin-top: 6px; }
.doc a { text-decoration: underline; }

/* Report card (on screen and in print) */
.report-card { margin-top: 14px; padding: 28px; border-radius: 12px; background: #fff; color: #1f2937; line-height: 1.5; }
.report-card h1 { color: #4c51bf; text-align: center; font-size: 28px; margin: 0; }
.report-card h2 { color: #1f2937; font-size: 17px; margin: 22px 0 8px; }
.rc-term { text-align: center; color: #4b5563; margin: 4px 0 18px; font-weight: 600; }
.report-card table { width: 100%; border-collapse: collapse; font-size: 14px; }
.rc-info { background: #f3f4f6; border-radius: 8px; }
.rc-info th, .rc-info td { padding: 8px 12px; text-align: left; }
.rc-info th { color: #6b7280; font-weight: 600; width: 20%; }
.rc-grade { font-size: 20px; font-weight: 800; color: #4c51bf; }
.rc-subjects th { background: #667eea; color: #fff; text-align: left; padding: 8px 10px; }
.rc-subjects td { border-bottom: 1px solid #e5e7eb; padding: 8px 10px; }
.rc-comments { background: #fffbeb; border-left: 4px solid #f59e0b; padding: 4px 16px 10px; margin-top: 20px; border-radius: 6px; }
.rc-comments p { white-space: pre-line; }
.rc-foot { margin-top: 24px; text-align: center; color: #9ca3af; font-size: 12px; }

@media print {
  body { background: #fff !important; }
  body * { visibility: hidden; }
  .printable, .printable * { visibility: visible; }
  .printable { position: absolute; inset: 0; border: 0; background: #fff; padding: 0; }
  .no-print { display: none !important; }
  .report-card { margin: 0; }
}

.check-item { cursor: pointer; }
.check-item input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.export-actions { margin-top: 14px; justify-content: flex-end; }

/* Admin */
.admin-badge { margin-left: 6px; background: rgba(34, 211, 238, .18); color: var(--accent-2); }
.badge-ok { background: rgba(52, 211, 153, .18); color: #6ee7b7; }
.badge-danger { background: rgba(248, 113, 113, .18); color: #fca5a5; }
.admin-login { max-width: 440px; margin: 40px auto; }
.admin-login form { display: grid; gap: 14px; margin-top: 18px; }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 20px; }
.admin-stat { display: grid; gap: 2px; padding: 16px; }
.admin-stat b { font-size: 26px; color: var(--accent-2); }
.admin-stat span { color: var(--muted); font-size: 13px; }
.admin-cols { grid-template-columns: 420px 1fr; }
.admin-row { width: 100%; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.admin-actions form { margin: 0; }
.days-input { width: 90px; }
.inline-form input { padding: 8px 10px; border-radius: 10px; border: 1px solid var(--border); background: #0b1021; color: var(--text); font: inherit; color-scheme: dark; min-width: 0; }
.notice { color: var(--success); font-size: 14px; }
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th, .data-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.data-table th { color: var(--muted); font-weight: 600; }

/* Responsive */
@media (max-width: 960px) {
  .score-form { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .auth { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-preview { transform: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  /* keep Features / How it works / Pricing: they wrap onto their own row under the logo and buttons */
  .nav { flex-wrap: wrap; height: auto; padding: 10px 16px; row-gap: 8px; }
  .nav-links { order: 3; width: 100%; margin-left: 0; gap: 18px; }
  .nav-links a { font-size: 14px; }
  .nav-actions .btn { padding: 8px 12px; font-size: 14px; }
  .hero { padding: 56px 0 40px; }
  .feature-grid, .steps { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .cta-band { padding: 28px; }
}
@media (max-width: 420px) {
  .field-row { grid-template-columns: 1fr; }
  .auth-card { padding: 22px; }
  .nav-actions .btn-ghost { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------------------------------------------------------------- student logins, assignments, student portal */
.login-fields { border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px 14px; margin: 0; }
.login-fields legend { font-size: 14px; font-weight: 600; padding: 0 6px; color: var(--heading); }
.login-fields p { margin: 0; font-size: 13px; }
.assign-panel { margin: 14px 0; padding: 12px 14px; border: 1px dashed rgba(124, 58, 237, .45); border-radius: 12px; }
.assign-panel h3 { margin: 0 0 6px; font-size: 14px; }
.assign-panel .inline-form { margin-top: 10px; }
.badge-assigned { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; padding: 3px 4px 3px 10px; }
.badge-x { border: 0; background: none; color: inherit; cursor: pointer; font-size: 14px; line-height: 1; padding: 0 4px; border-radius: 999px; }
.badge-x:hover { background: rgba(255, 255, 255, .12); }
.badge-link { font-size: 13px; padding: 5px 12px; text-decoration: none; }
.badge-link:hover { background: rgba(124, 58, 237, .4); }
.item-link { text-decoration: none; color: inherit; }
.item-link .item-main { cursor: pointer; }
.student-sections { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 20px; }
.narrow-card { max-width: 460px; }

/* ---------------------------------------------------------------- online tests */
.inline-tight { margin: 0; align-items: center; gap: 6px; }
.input-sm { width: 80px; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--border); background: #0b1021; color: var(--text); font: inherit; color-scheme: dark; }
.question-list { display: grid; gap: 14px; padding-left: 22px; margin: 10px 0; }
.question-list > li { padding-left: 4px; }
.question-row { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.question-prompt { margin: 4px 0 6px; color: var(--heading); }
.question-prompt p { margin: 0; }
.option-list { margin: 4px 0; padding-left: 18px; color: var(--muted); }
.option-list .correct { color: var(--success); font-weight: 600; }
.add-question { margin-top: 12px; }
.add-question > summary { cursor: pointer; font-weight: 600; margin-bottom: 10px; }
.take-test textarea { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: #0b1021; color: var(--text); font: inherit; resize: vertical; }
.choices { display: grid; gap: 6px; }
.choice { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid var(--border); border-radius: 10px; cursor: pointer; }
.choice:has(input:checked) { border-color: rgba(124, 58, 237, .7); background: rgba(124, 58, 237, .12); }
.saved { font-size: 12px; }
.timer { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 20px; padding: 4px 12px; border-radius: 10px; background: rgba(124, 58, 237, .18); color: var(--heading); }
.timer-low { background: rgba(248, 113, 113, .22); color: #fca5a5; }
.result-banner { display: grid; gap: 6px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border); background: rgba(52, 211, 153, .08); margin: 12px 0; }
.result-score { font-size: 22px; font-weight: 800; color: var(--heading); }
.stack input.input-sm:not([type=checkbox]) { width: 90px; flex: none; }
#test-attempts .stack > .btn { justify-self: start; }

/* Videos */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.video-card { display: grid; gap: 8px; }
.video-card img, .video-thumb-empty { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; background: #000; display: block; }
.video-card-body { display: grid; gap: 4px; align-content: start; }
.video-frame { aspect-ratio: 16 / 9; margin: 12px 0; }
.video-frame iframe { width: 100%; height: 100%; border: 0; border-radius: 12px; background: #000; }

/* In-page notifications (static/js/notify.js) */
.flashes { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 1000; display: grid; gap: 8px;
  width: min(560px, calc(100vw - 32px)); }
.flash { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; font-size: 14px;
  background: #111a33; color: var(--text); border: 1px solid var(--border); box-shadow: 0 12px 30px rgba(0, 0, 0, .45); }
.flash > span { flex: 1; }
.flash-success { border-color: rgba(52, 211, 153, .6); }
.flash-error { border-color: rgba(248, 113, 113, .7); }
.flash-confirm { border-color: rgba(124, 58, 237, .8); }
.flash-close { background: none; border: 0; color: var(--muted); font-size: 18px; cursor: pointer; line-height: 1; }

/* Trial-ended notice: covers the whole page; only its Log out button is usable */
.paywall { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 16px;
  background: rgba(5, 8, 20, .88); backdrop-filter: blur(6px); }
.paywall-card { width: min(520px, 100%); padding: 32px; border-radius: 20px; background: var(--bg-2);
  border: 1px solid var(--border); box-shadow: var(--shadow); display: grid; gap: 14px; }
.paywall-card .logo-lockup { margin: 0 auto; }
.paywall-card h1 { font-size: 26px; margin: 0; }

.admin-providers { margin-bottom: 16px; }
.admin-balance { font-size: 18px; margin: 4px 0; }
.admin-balance b { font-size: 26px; }

/* Online test focus monitoring */
.focus-warning { padding: 10px 14px; border-radius: 10px; border: 1px solid rgba(250, 204, 21, .5); background: rgba(250, 204, 21, .08); font-size: 14px; }
.focus-flag { color: #fbbf24; }
.no-copy { user-select: none; -webkit-user-select: none; }
.no-copy textarea { user-select: text; -webkit-user-select: text; }
.fullscreen-gate[hidden] { display: none; }
.fullscreen-gate { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 16px; background: rgba(5, 8, 20, .96); }
.integrity-form { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); }
.integrity-form h4 { margin: 0; }

/* Flashcards */
.deck-cards { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 8px; }
.deck-cards li { display: flex; align-items: center; gap: 8px; }
.deck-card { flex: 1; display: grid; grid-template-columns: minmax(120px, 1fr) 2fr; gap: 12px; padding: 10px 12px;
  border: 1px solid var(--border); border-radius: 10px; }
.deck-add input { flex: 1; }
.fc-layout { display: grid; grid-template-columns: 300px 1fr; gap: 20px; align-items: start; }
.fc-layout > div { display: grid; gap: 16px; min-width: 0; }
.fc-intro { display: grid; gap: 3px; margin-bottom: 16px; padding: 14px 18px; border-radius: 12px; font-size: 13px; line-height: 1.6;
  background: linear-gradient(135deg, rgba(26, 106, 191, .16), rgba(0, 48, 135, .1)); border: 1px solid rgba(26, 106, 191, .4); }
.fc-intro b { font-size: 14px; color: var(--heading); }
.fc-count-badge { background: #003087; color: #fff; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.fc-help { font-size: 13px; color: var(--muted); }
.fc-player { margin: 12px 0 20px; }
.fc-stats { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.fc-pill { font-size: 12px; padding: 3px 9px; border-radius: 999px; background: rgba(22, 163, 74, .16); color: #4ade80; }
.fc-pill-review { background: rgba(245, 158, 11, .16); color: #fbbf24; }
.fc-total { font-size: 12px; color: var(--muted); margin-left: auto; }
.fc-scene { perspective: 1000px; width: 100%; max-width: 520px; height: 280px; margin: 0 auto 16px; cursor: pointer; }
.fc-scene:focus-visible { outline: 2px solid #1a6abf; outline-offset: 6px; border-radius: 16px; }
.fc-card { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .5s; border-radius: 16px; }
.fc-card.flipped { transform: rotateY(180deg); }
.fc-card.fc-instant { transition: none; }  /* moving to another card (static/js/flashcards.js) */
.fc-face { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 28px;
  border-radius: 16px; backface-visibility: hidden; -webkit-backface-visibility: hidden; font-size: 18px; font-weight: 600;
  line-height: 1.4; text-align: center; overflow-wrap: anywhere; }
.fc-front { background: linear-gradient(135deg, #003087, #1a6abf); color: #fff; box-shadow: 0 8px 24px rgba(0, 48, 135, .35); }
.fc-back { background: linear-gradient(135deg, #1a1a2e, #16213e); color: #f9f9f9; transform: rotateY(180deg);
  box-shadow: 0 8px 24px rgba(26, 26, 46, .35); border: 1px solid rgba(148, 163, 184, .2); }
.fc-hint { position: absolute; bottom: 12px; right: 16px; font-size: 11px; font-weight: 400; opacity: .75; }
.fc-nav { display: flex; gap: 10px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.fc-counter { font-size: 13px; color: var(--muted); min-width: 70px; text-align: center; }
.fc-known { background: #16a34a; color: #fff; border: 0; }
.fc-review { background: #f59e0b; color: #fff; border: 0; }
@media (max-width: 900px) { .fc-layout { grid-template-columns: 1fr; } }

/* Spelling tests */
.subtabs { display: flex; gap: 6px; margin: -4px 0 16px; }
.subtab { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); font-size: 14px; font-weight: 600; }
.subtab.active { color: #0b1021; background: var(--grad); border-color: transparent; }
.spelling-item { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.spelling-label { font-weight: 600; min-width: 64px; }
.spelling-item input { flex: 1; min-width: 160px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--border); background: #0b1021; color: var(--text); font: inherit; font-size: 18px; }
.spelling-list { display: grid; gap: 6px; padding-left: 20px; }
.spelling-list li span { font-size: 13px; }

/* Docs */
.docs-layout { display: grid; grid-template-columns: 240px 1fr; gap: 20px; align-items: start; }
.docs-toc { position: sticky; top: 16px; }
.docs-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14px; }
.docs { display: grid; gap: 16px; min-width: 0; }
.docs section { scroll-margin-top: 16px; line-height: 1.6; }
.docs ul, .docs ol { display: grid; gap: 6px; padding-left: 20px; }
@media (max-width: 900px) { .docs-layout { grid-template-columns: 1fr; } .docs-toc { position: static; } }

/* Support */
.support-messages { list-style: none; padding: 0; margin: 12px 0 16px; display: grid; gap: 10px; }
.support-message { padding: 10px 14px; border-radius: 12px; border: 1px solid var(--border); max-width: 85%; }
.support-message p { margin: 4px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.support-from-admin { justify-self: end; background: rgba(124, 58, 237, .14); }
.support-meta { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; }

/* Contact us */
.contact #contact-form { max-width: 760px; margin: 0 auto; }
.contact .captcha { justify-content: center; }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-sent { padding: 24px; border-radius: 14px; border: 1px solid rgba(52, 211, 153, .4); background: rgba(52, 211, 153, .08); text-align: center; }
.contact-list { display: grid; gap: 12px; }
.contact-body { margin: 8px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 640px) { .contact-row { grid-template-columns: 1fr; } }

/* htmx's indicator rules (htmx would inject them as a <style>, which the CSP blocks) */
.htmx-indicator { opacity: 0; }
.htmx-request .htmx-indicator, .htmx-request.htmx-indicator { opacity: 1; transition: opacity 200ms ease-in; }

/* Full-page spinner while AI generation runs (templates/app/_generating.html). Hidden until htmx marks it busy. */
.gen-overlay { position: fixed; inset: 0; z-index: 900; display: none; place-items: center; padding: 16px;
  background: rgba(5, 8, 20, .72); backdrop-filter: blur(4px); }
.htmx-request.gen-overlay { display: grid; }
.gen-overlay-box { display: grid; justify-items: center; gap: 16px; max-width: 360px; padding: 28px 32px; text-align: center;
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.gen-overlay-box p { margin: 0; color: var(--text); }
.spinner { width: 44px; height: 44px; border-radius: 50%; border: 4px solid rgba(124, 58, 237, .25);
  border-top-color: #22d3ee; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2.4s; } }

/* Language materials and tests with speech: clickable text (static/js/speech.js). :where() keeps these weaker than
   component styles such as a chosen answer's highlight and .speaking. On the test page only prompts and choices speak. */
:where(.speech-on:not(.take-test)) :where(p, li, td, th, h1, h2, h3, h4, dt, dd, figcaption, blockquote),
:where(.speech-on) :where(.question-prompt, label.choice) { cursor: pointer; transition: background .15s ease; }
:where(.speech-on:not(.take-test)) :where(p, li, td, th, h1, h2, h3, h4, dt, dd, figcaption, blockquote):hover,
:where(.speech-on) :where(.question-prompt, label.choice):hover { background: rgba(34, 211, 238, .08); }
.speech-on .speaking { background: rgba(34, 211, 238, .18); box-shadow: 0 0 0 2px rgba(34, 211, 238, .35); }

/* On-screen keyboards for language tests (static/js/keyboard.js). Arabic and Hebrew KeymanWeb keyboards label their keys
   with private-use characters from these OSK fonts; KeymanWeb's own inline @font-face is blocked by the CSP. */
@font-face { font-family: "KbdArabScheherazade"; src: url(../vendor/keymanweb/fonts/KbdArabScheherazade.ttf) format("truetype"); }
@font-face { font-family: "KbdHebr"; src: url(../vendor/keymanweb/fonts/KbdHebr-Regular.ttf) format("truetype"); }
@font-face { font-family: "SpecialOSK"; src: url(../vendor/keymanweb/osk/keymanweb-osk.ttf) format("truetype"); }  /* Shift, Enter… */
.kmw-keyboard-basic_kbda1 .kmw-key:not(.kmw-key-shift, .kmw-key-shift-on, .kmw-key-special, .kmw-key-special-on) .kmw-key-text {
  font-family: "KbdArabScheherazade" !important; }
.kmw-keyboard-basic_kbdheb .kmw-key:not(.kmw-key-shift, .kmw-key-shift-on, .kmw-key-special, .kmw-key-special-on) .kmw-key-text {
  font-family: "KbdHebr" !important; }
[data-osk-toggle][aria-pressed="true"] { border-color: rgba(34, 211, 238, .55); color: #fff; }
/* Fixed to the bottom of the screen, so it doesn't move the page when the student goes to another question. */
.kana-palette { position: fixed; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 800;
  width: min(960px, calc(100% - 24px)); max-height: 40vh; overflow-y: auto;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(38px, 1fr)); gap: 6px;
  padding: 10px; border: 1px solid var(--border); border-radius: 12px; background: var(--panel); box-shadow: var(--shadow); }
.kana-key { min-height: 38px; border-radius: 8px; border: 1px solid var(--border); background: #0b1021; color: var(--text);
  font: inherit; font-size: 18px; cursor: pointer; }
.kana-key:hover { border-color: rgba(34, 211, 238, .55); }
.kana-switch, .kana-erase { grid-column: span 2; font-size: 15px; }

/* Online homework (templates/student/_homework_work.html, app/homework/_submission*.html) */
.badge-warn { background: rgba(251, 191, 36, .16); color: #fcd34d; }
.pre-wrap { white-space: pre-wrap; overflow-wrap: anywhere; }
.upload-thumb { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); }
.upload-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0; }
.upload-link { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid var(--border);
  border-radius: 10px; color: var(--text); text-decoration: none; max-width: 100%; overflow-wrap: anywhere; }
.submission-detail:empty { display: none; }
.card-inset { margin: 6px 0 12px; padding: 14px; border: 1px solid var(--border); border-radius: 12px; background: rgba(255, 255, 255, .02); }

/* Video meetings (templates/app/meetings/_room.html, static/js/meeting.js) */
.meeting-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.meeting-stage { display: flex; flex-direction: column; gap: 12px; }
.meeting-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.meeting-tile { margin: 0; position: relative; background: #000; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; }
.meeting-tile-screen { grid-column: 1 / -1; aspect-ratio: auto; min-height: 320px; }
.meeting-video, .meeting-video video { width: 100%; height: 100%; }
.meeting-video video { object-fit: cover; display: block; }
.meeting-tile-screen .meeting-video video { object-fit: contain; }
.meeting-tile figcaption { position: absolute; left: 8px; bottom: 6px; font-size: 13px; padding: 2px 8px; border-radius: 999px; background: rgba(0, 0, 0, .6); color: #fff; }
.meeting-bar { display: flex; flex-wrap: wrap; gap: 8px; }
.meeting-side { display: flex; flex-direction: column; gap: 12px; }
.meeting-people { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.meeting-person { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.meeting-person .btn-row { flex-wrap: wrap; gap: 4px; }
.meeting-chat-log { max-height: 260px; overflow-y: auto; font-size: 14px; margin-bottom: 8px; }
.meeting-chat-line { margin: 0 0 6px; overflow-wrap: anywhere; white-space: pre-wrap; }
.meeting-chat .stack textarea.grow { max-height: 30vh; }
.meeting-chat .stack .btn { justify-self: end; }
@media (max-width: 900px) { .meeting-body { grid-template-columns: 1fr; } }

/* Tabs keep their pages alive (static/js/tabs.js): every tab but the first page opens in a same-site frame. */
.tab-frame { display: block; width: 100%; border: 0; height: calc(100dvh - var(--tab-frame-top, 120px)); }

/* Landing: differentiator band, price anchor and trial terms, FAQ */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why-card {
  background: var(--panel); border: 1px solid rgba(124, 58, 237, 0.45); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.why-card h3 { font-size: 19px; }
.why-card p { margin: 0; color: var(--muted); }
.price-anchor { margin: 6px 0 22px; color: var(--accent-2); font-weight: 600; }
.trust-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; font-size: 13px; color: var(--muted); }
.faq { max-width: 760px; }
.faq details { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--heading); }
.faq details p { margin: 10px 0 0; color: var(--muted); }
@media (max-width: 720px) { .why-grid { grid-template-columns: 1fr; } }
.founder { max-width: 860px; display: grid; grid-template-columns: 160px 1fr; gap: 32px; align-items: start; }
.founder-photo { width: 160px; height: 160px; border-radius: 50%; background: var(--grad); box-shadow: var(--shadow); }
.founder p { color: var(--text); }
.founder-sign { margin-top: 18px; font-weight: 700; color: var(--heading); }
.founder-sign span { display: block; font-weight: 400; font-size: 14px; color: var(--muted); }
@media (max-width: 720px) { .founder { grid-template-columns: 1fr; gap: 20px; } }
