.brand-logo img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }
.brand-logo span { font-weight: 800; }
/* ScholarsOutreach consolidated stylesheet */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   CSS Reset and Base Styles
   ========================================================================== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{min-height:100vh}
img,picture,video,canvas,svg{display:block;max-width:100%}
input,button,textarea,select{font:inherit}
button{cursor:pointer}
ul,ol{list-style:none}

/* ==========================================================================
   CSS Variables and Theme Colors
   ========================================================================== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Inter',system-ui,sans-serif;background:#f8fafc;color:#334155;line-height:1.7}
a{color:#0a7a6e;text-decoration:none;transition:color .3s ease}
a:hover{color:#085f56}
.container{max-width:1200px;margin:0 auto;padding:0 24px}
.site-header{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.72);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid transparent;transition:box-shadow .3s ease,border-color .3s ease}
.site-header.scrolled{box-shadow:0 8px 32px rgba(15,23,42,.08);border-bottom-color:#e2e8f0;background:rgba(255,255,255,.9)}
.header-inner{display:flex;align-items:center;justify-content:space-between;min-height:72px;gap:16px;flex-wrap:wrap;padding:8px 0}
.brand-logo{display:inline-flex;align-items:center;gap:10px;font-weight:800;font-size:1.2rem;color:#0f172a;letter-spacing:-.03em;transition:transform .3s ease}
.brand-logo:hover{transform:scale(1.04);color:#0f172a}
.brand-logo svg{width:36px;height:36px;flex-shrink:0}
.nav-toggle{display:none;background:none;border:none;width:44px;height:44px;cursor:pointer}
.nav-toggle span{display:block;width:22px;height:2px;background:#0f172a;margin:5px auto;border-radius:2px;transition:transform .3s ease,opacity .3s ease}
.nav-toggle.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle.open span:nth-child(2){opacity:0}
.nav-toggle.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.nav-panel{display:flex;align-items:center;gap:6px 18px;flex-wrap:wrap}
.nav-link{position:relative;font-size:.86rem;font-weight:500;color:#64748b;padding:8px 4px}
.nav-link::after{content:'';position:absolute;left:0;bottom:4px;width:0;height:2px;background:#0a7a6e;border-radius:2px;transition:width .3s ease}
.nav-link:hover{color:#0a7a6e}
.nav-link:hover::after{width:100%}
.nav-link.active{color:#0a7a6e;font-weight:600}
.nav-link.active::after{width:100%}
.page-hero{background:linear-gradient(135deg,#0f172a 0%,#0a7a6e 55%,#0473ea 100%);color:#fff;padding:96px 0 52px;text-align:center}
.page-hero h1{font-size:clamp(2rem,4vw,2.75rem);font-weight:800;letter-spacing:-.03em;margin-bottom:12px}
.page-hero-tagline{font-size:1.08rem;opacity:.92;max-width:640px;margin:0 auto}
.legal-updated{text-align:center;font-size:.9rem;color:rgba(255,255,255,.85);margin-top:14px}
main{padding-bottom:64px}
.legal-wrap,.contact-wrap{max-width:820px;margin:0 auto;padding:40px 24px 0}
.legal-wrap article,.contact-section{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:40px 36px;box-shadow:0 4px 24px rgba(15,23,42,.04);margin-bottom:28px}
.legal-wrap h2{font-size:1.45rem;color:#0f172a;margin:32px 0 14px;font-weight:700}
.legal-wrap h2:first-of-type{margin-top:0}
.legal-wrap h3{font-size:1.12rem;color:#1e293b;margin:22px 0 10px;font-weight:600}
.legal-wrap p,.contact-section p{margin-bottom:18px;font-size:1rem}
.contact-section h2{font-size:1.35rem;color:#0f172a;margin:28px 0 12px}
.contact-section h3{font-size:1.1rem;color:#1e293b;margin:20px 0 8px}
.site-footer{background:#0f172a;color:#cbd5e1;border-top:3px solid transparent;border-image:linear-gradient(90deg,#0a7a6e,#0473ea,#38d200) 1;padding:56px 0 0;margin-top:48px}
.footer-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(220px,.75fr);gap:clamp(32px,6vw,80px);padding-bottom:40px}
.footer-brand .brand-logo{color:#fff;margin-bottom:14px}
.footer-brand p{font-size:.92rem;line-height:1.65;color:#94a3b8;margin-bottom:20px}
.social-row{display:flex;gap:12px}
.social-row a{display:inline-flex;width:40px;height:40px;border-radius:10px;background:rgba(255,255,255,.08);align-items:center;justify-content:center;transition:background .3s ease,transform .3s ease}
.social-row a:hover{background:#0a7a6e;transform:translateY(-2px)}
.social-row svg{width:18px;height:18px;fill:#94a3b8;transition:fill .3s ease}
.social-row a:hover svg{fill:#fff}
.footer-col h4{font-size:.8rem;text-transform:uppercase;letter-spacing:.08em;color:#e2e8f0;margin-bottom:18px;font-weight:700}
.footer-links{display:flex;flex-direction:column;gap:14px}
.footer-links a{color:#94a3b8;font-size:.95rem;transition:color .3s ease,padding-left .3s ease}
.footer-links a:hover{color:#fff;padding-left:4px}
.footer-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;padding:22px 0;border-top:1px solid rgba(255,255,255,.1);font-size:.85rem;color:#64748b}
.field{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}
.field label{font-size:.8rem;font-weight:600;color:#64748b}
.field input,.field textarea{border:1px solid #e2e8f0;border-radius:8px;padding:11px 14px;font-size:1rem;font-family:inherit;width:100%}
.field input:focus,.field textarea:focus{outline:none;border-color:#0a7a6e;box-shadow:0 0 0 3px rgba(10,122,110,.15)}
.btn-send{background:#0a7a6e;color:#fff;border:none;border-radius:8px;padding:12px 28px;font-weight:600;cursor:pointer;transition:background .3s ease}
.btn-send:hover{background:#085f56}
.status-msg{display:none;padding:12px;border-radius:8px;margin-bottom:16px;font-size:.9rem}
.status-msg.error{background:#fef2f2;color:#dc2626}
.status-msg.ok{background:rgba(10,122,110,.12);color:#085f56;border:1px solid rgba(10,122,110,.2)}
.faq-item{border:1px solid #e2e8f0;border-radius:12px;margin-bottom:12px;overflow:hidden}
.faq-q{width:100%;text-align:left;padding:16px 20px;background:#fff;border:none;font-weight:600;color:#0f172a;cursor:pointer;font-family:inherit;font-size:1rem}
.faq-a{max-height:0;overflow:hidden;transition:max-height .35s ease}
.faq-item.open .faq-a{max-height:280px}
.faq-a-inner{padding:0 20px 18px;color:#64748b;font-size:.95rem}
@media(max-width:900px){.nav-panel{gap:8px 12px}}
@media(max-width:768px){
.nav-toggle{display:block}
.nav-panel{width:100%;flex-direction:column;align-items:stretch;max-height:0;overflow:hidden;transition:max-height .4s ease}
.nav-panel.open{max-height:560px;padding-bottom:16px}
.footer-grid{grid-template-columns:1fr}
.footer-bar{flex-direction:column;text-align:center}
.legal-wrap article,.contact-section{padding:28px 20px}
}


/* === Extracted from: dashboard.html === */
:root {
    --bg: #f5f7fa; --surface: #ffffff; --border: #e2e8eb; --border-strong: #d1d5db;
    --text: #2d3748; --text-muted: #64748b; --text-soft: #94a3b8;
    --accent: #0a7a6e; --accent-soft: rgba(10, 122, 110, 0.12);
    --success: #0a7a6e; --success-soft: #ecfdf5;
    --warning: #f59e0b; --warning-soft: #fffbeb;
    --danger: #ef4444; --danger-soft: #fef2f2;
    --europass-blue: #0e4194; --europass-light: #d6e2f3;
    --shadow-sm: 0 1px 2px rgba(15,23,42,0.04);
    --radius: 10px; --radius-lg: 14px;
  }
  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; height: 100%; }
  body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, sans-serif; background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
  button { font-family: inherit; cursor: pointer; }
  input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
  .app { display: grid; grid-template-columns: 320px 1fr; min-height: 100vh; }
  .sidebar { background: var(--surface); border-right: 1px solid var(--border); padding: 32px 24px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
  .brand { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; text-decoration: none; color: inherit; border-radius: 8px; transition: background 0.15s; }
  .brand:hover { background: #f5f5f7; }
  a.brand-home { cursor: pointer; }
  .brand-mark { width: 32px; height: 32px; border-radius: 8px; overflow: hidden; display: grid; place-items: center; }
  .brand-mark img { width: 100%; height: 100%; object-fit: cover; }
  .brand-name { font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
  .brand-sub { color: var(--text-muted); font-size: 12px; margin-bottom: 28px; }
  .steps { list-style: none; margin: 0; padding: 0; position: relative; }
  .steps::before { content: ""; position: absolute; left: 15px; top: 16px; bottom: 16px; width: 1px; background: var(--border); }
  .step { position: relative; padding: 12px 12px 12px 44px; border-radius: var(--radius); cursor: pointer; margin-bottom: 4px; transition: background 0.15s; }
  .step:hover { background: #f5f5f7; }
  .step.active { background: var(--accent-soft); }
  .step.active .step-title { color: var(--accent); font-weight: 600; }
  .step-marker { position: absolute; left: 5px; top: 14px; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--border-strong); color: var(--text-muted); font-size: 11px; font-weight: 600; display: grid; place-items: center; z-index: 1; }
  .step.active .step-marker { background: var(--accent); border-color: var(--accent); color: white; }
  .step.done .step-marker { background: var(--success); border-color: var(--success); color: white; }
  .step.done .step-marker::after { content: "\2713"; }
  .step.done .step-marker .num { display: none; }
  .step-label { font-size: 11px; color: var(--text-soft); text-transform: uppercase; letter-spacing: 0.06em; }
  .step-title { font-size: 14px; color: var(--text); margin-top: 2px; }
  .step-status { margin-top: 4px; display: inline-block; font-size: 11px; color: var(--text-muted); }
  .step.done .step-status { color: var(--success); }
  .main { padding: 40px 56px 80px; max-width: 980px; }
  .page-header { margin-bottom: 32px; }
  .page-eyebrow { text-transform: uppercase; font-size: 11px; letter-spacing: 0.08em; color: var(--accent); font-weight: 600; }
  .page-title { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; margin: 4px 0 6px; }
  .page-sub { color: var(--text-muted); font-size: 15px; margin: 0; }
  .card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); margin-bottom: 20px; }
  .card h3 { margin: 0 0 4px; font-size: 15px; font-weight: 600; }
  .card .card-sub { color: var(--text-muted); font-size: 13px; margin: 0 0 20px; }
  .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
  @media (max-width: 720px) { .row, .row-3 { grid-template-columns: 1fr; } .app { grid-template-columns: 1fr; } .sidebar { position: static; height: auto; } .main { padding: 24px; } }
  .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
  .field label { font-size: 12px; font-weight: 500; color: var(--text-muted); }
  .field .req { color: var(--danger); }
  .field input, .field select, .field textarea { border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; background: var(--surface); transition: border 0.15s, box-shadow 0.15s; }
  .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(79,70,229,0.12); }
  .field textarea { min-height: 80px; resize: vertical; }
  .field .hint { font-size: 11px; color: var(--text-soft); }
  .upload { border: 1.5px dashed var(--border-strong); border-radius: var(--radius); padding: 24px; text-align: center; color: var(--text-muted); cursor: pointer; transition: border 0.15s, background 0.15s; }
  .upload:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
  .upload.has-file { border-style: solid; border-color: var(--success); background: var(--success-soft); color: var(--success); }
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid transparent; border-radius: 8px; padding: 10px 16px; font-weight: 500; font-size: 14px; transition: all 0.15s; }
  .btn-primary { background: var(--accent); color: white; }
  .btn-primary:hover { background: #085f56; }
  .btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }
  .btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border); }
  .btn-secondary:hover { background: #f5f5f7; }
  .btn-ghost { background: transparent; color: var(--text-muted); }
  .btn-ghost:hover { color: var(--text); }
  .btn-success { background: var(--success); color: white; }
  .btn-success:hover { background: #059669; }
  .btn-danger { background: var(--surface); color: var(--danger); border-color: var(--border); }
  .btn-danger:hover { background: var(--danger-soft); }
  .btn-europass { background: var(--europass-blue); color: white; }
  .btn-europass:hover { background: #0a3270; }
  .actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 24px; }
  .filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
  .chip { padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 12px; color: var(--text-muted); cursor: pointer; transition: all 0.15s; }
  .chip.active { background: var(--text); color: white; border-color: var(--text); }
  .chip:hover:not(.active) { border-color: var(--border-strong); color: var(--text); }
  .prof-list { display: flex; flex-direction: column; gap: 10px; }
  .prof { display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); transition: all 0.15s; }
  .prof:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
  .prof.selected { border-color: var(--accent); background: var(--accent-soft); }
  .avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #c7d2fe, #a5b4fc); display: grid; place-items: center; font-weight: 600; color: var(--accent); font-size: 14px; }
  .prof-meta { min-width: 0; }
  .prof-name { font-weight: 600; font-size: 14px; }
  .prof-aff { color: var(--text-muted); font-size: 12px; }
  .prof-tags { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
  .tag { font-size: 11px; padding: 2px 8px; border-radius: 999px; background: #f1f5f9; color: var(--text-muted); }
  .score-pill { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; min-width: 56px; text-align: center; }
  .score-high { background: var(--success-soft); color: var(--success); }
  .score-mid { background: var(--warning-soft); color: var(--warning); }
  .score-low { background: #f1f5f9; color: var(--text-muted); }
  .score-bar { height: 4px; background: #f1f5f9; border-radius: 999px; overflow: hidden; margin-top: 8px; }
  .score-fill { height: 100%; background: linear-gradient(90deg, var(--accent), #8b5cf6); transition: width 0.6s ease; }
  .explanation { padding: 16px; background: var(--accent-soft); border-radius: var(--radius); color: var(--text); font-size: 13px; line-height: 1.6; margin-top: 12px; border-left: 3px solid var(--accent); }
  .explanation strong { color: var(--accent); }
  .approval-card { padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; background: var(--surface); }
  .approval-card.approved { border-color: var(--success); background: var(--success-soft); }
  .approval-card.rejected { border-color: var(--border); background: #f8fafc; opacity: 0.7; }
  .approval-actions { display: flex; gap: 6px; margin-top: 12px; }
  .email-preview { background: #f8fafc; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
  .email-row { display: grid; grid-template-columns: 80px 1fr; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
  .email-row:last-of-type { border-bottom: none; margin-bottom: 12px; }
  .email-row .label { color: var(--text-muted); }
  .email-body { font-size: 13px; line-height: 1.7; white-space: pre-wrap; padding-top: 12px; border-top: 1px solid var(--border); margin-top: 8px; }
  .attachment-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; background: var(--europass-light); color: var(--europass-blue); border-radius: 6px; font-size: 12px; font-weight: 500; }
  .stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 24px; }
  @media (max-width: 720px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
  .stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
  .stat-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
  .stat-value { font-size: 24px; font-weight: 600; margin-top: 4px; letter-spacing: -0.01em; }
  .stat-delta { font-size: 11px; color: var(--success); margin-top: 4px; }
  .badge { font-size: 11px; padding: 3px 9px; border-radius: 999px; font-weight: 500; white-space: nowrap; }
  .badge-sent { background: #eef2ff; color: var(--accent); }
  .badge-replied { background: var(--success-soft); color: var(--success); }
  .badge-meeting { background: #ecfeff; color: #0891b2; }
  .badge-dropped { background: var(--danger-soft); color: var(--danger); }
  .badge-followup { background: #fdf4ff; color: #a855f7; }
  .toolbar { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
  .search { flex: 1; min-width: 200px; position: relative; }
  .search input { width: 100%; border: 1px solid var(--border); border-radius: 8px; padding: 9px 12px 9px 34px; background: var(--surface); }
  .search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(79,70,229,0.12); }
  .search::before { content: "\2315"; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-soft); font-size: 16px; pointer-events: none; }
  .prof-timeline { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 12px; background: var(--surface); cursor: pointer; }
  .prof-timeline:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
  .prof-timeline-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
  .prof-timeline-meta { display: flex; align-items: center; gap: 12px; min-width: 0; }
  .prof-timeline-cta { font-size: 11px; color: var(--accent); margin-left: 8px; }
  .timeline-track { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 4px; }
  .timeline-track::before { content: ""; position: absolute; left: 12px; right: 12px; top: 9px; height: 2px; background: var(--border); z-index: 0; }
  .timeline-step { position: relative; z-index: 1; text-align: center; }
  .timeline-dot { width: 20px; height: 20px; border-radius: 50%; background: var(--surface); border: 2px solid var(--border); margin: 0 auto; display: grid; place-items: center; font-size: 10px; color: var(--text-soft); }
  .timeline-step.done .timeline-dot { background: var(--success); border-color: var(--success); color: white; }
  .timeline-step.done .timeline-dot::after { content: "\2713"; }
  .timeline-step.current .timeline-dot { background: var(--accent); border-color: var(--accent); color: white; box-shadow: 0 0 0 4px rgba(79,70,229,0.15); }
  .timeline-step.dropped .timeline-dot { background: var(--danger); border-color: var(--danger); color: white; }
  .timeline-step.dropped .timeline-dot::after { content: "\00d7"; }
  .timeline-label { margin-top: 6px; font-size: 11px; color: var(--text-muted); line-height: 1.3; }
  .timeline-step.done .timeline-label, .timeline-step.current .timeline-label { color: var(--text); font-weight: 500; }
  .timeline-time { font-size: 10px; color: var(--text-soft); margin-top: 2px; }
  .empty { text-align: center; padding: 40px 20px; color: var(--text-muted); font-size: 13px; }
  .toast { position: fixed; bottom: 24px; right: 24px; background: var(--text); color: white; padding: 12px 18px; border-radius: 10px; font-size: 13px; box-shadow: 0 8px 24px rgba(0,0,0,0.18); opacity: 0; transform: translateY(8px); transition: all 0.25s; pointer-events: none; z-index: 1000; }
  .toast.show { opacity: 1; transform: translateY(0); }
  .progress-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text-muted); background: #f1f5f9; padding: 4px 10px; border-radius: 999px; }
  .progress-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--text-soft); }
  .step.done .step-status .dot { background: var(--success); }
  .nav-buttons { display: flex; justify-content: space-between; margin-top: 32px; }
  .step-content { display: none; }
  .step-content.active { display: block; animation: fadeIn 0.25s ease; }
  @keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
  .drawer-overlay { position: fixed; inset: 0; background: rgba(15,23,42,0.32); opacity: 0; pointer-events: none; transition: opacity 0.2s; z-index: 90; }
  .drawer-overlay.show { opacity: 1; pointer-events: auto; }
  .drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(560px, 100%); background: var(--surface); box-shadow: -8px 0 32px rgba(15,23,42,0.12); transform: translateX(100%); transition: transform 0.25s cubic-bezier(.2,.7,.2,1); z-index: 95; display: flex; flex-direction: column; }
  .drawer.show { transform: translateX(0); }
  .drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--border); }
  .drawer-body { padding: 20px 24px; overflow-y: auto; flex: 1; }
  .drawer-section { margin-bottom: 22px; }
  .drawer-section h4 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin: 0 0 8px; font-weight: 600; }
  .msg-bubble { padding: 14px 16px; border-radius: 12px; font-size: 13px; line-height: 1.6; white-space: pre-wrap; }
  .msg-out { background: #f1f5f9; color: var(--text); margin-bottom: 10px; }
  .msg-in { background: var(--accent-soft); color: var(--text); border-left: 3px solid var(--accent); }
  .msg-meta { font-size: 11px; color: var(--text-soft); margin-bottom: 4px; }
  .ai-card { background: linear-gradient(135deg, #f8fafc, #fff); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; }
  .ai-row { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding: 6px 0; font-size: 13px; }
  .ai-row .ai-key { color: var(--text-muted); font-size: 12px; }
  .sentiment-pill { display: inline-block; font-size: 11px; padding: 2px 9px; border-radius: 999px; font-weight: 500; }
  .sent-pos { background: var(--success-soft); color: var(--success); }
  .sent-neu { background: var(--warning-soft); color: var(--warning); }
  .sent-neg { background: var(--danger-soft); color: var(--danger); }
  .entity-tag { display: inline-block; font-size: 11px; background: #eef2ff; color: var(--accent); padding: 2px 8px; border-radius: 6px; margin: 2px 4px 2px 0; }
  .action-card { border: 1px solid var(--accent); background: var(--accent-soft); border-radius: var(--radius); padding: 14px; }
  .action-card .action-title { font-weight: 600; color: var(--accent); margin-bottom: 4px; }
  .action-card .action-desc { font-size: 13px; color: var(--text); margin-bottom: 12px; }
  .reply-draft { border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; background: var(--surface); }
  .reply-draft textarea { width: 100%; border: none; background: transparent; font-size: 13px; line-height: 1.6; min-height: 120px; resize: vertical; }
  .reply-draft textarea:focus { outline: none; }
  .auth-wrap { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(180deg, #fafafa 0%, #f1f5f9 100%); padding: 32px 16px; }
  .auth-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 44px 40px; width: 100%; max-width: 420px; box-shadow: 0 20px 60px rgba(15,23,42,0.08); text-align: center; }
  .auth-mark { width: 56px; height: 56px; border-radius: 14px; overflow: hidden; display: grid; place-items: center; margin: 0 auto 20px; }
  .auth-mark img { width: 100%; height: 100%; object-fit: cover; }
  .auth-title { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 6px; }
  .auth-sub { color: var(--text-muted); font-size: 14px; margin: 0 0 28px; }
  .gsi-btn { width: 100%; height: 44px; background: white; border: 1px solid #dadce0; border-radius: 8px; color: #3c4043; font-size: 14px; font-weight: 500; display: flex; align-items: center; justify-content: center; gap: 12px; cursor: pointer; }
  .gsi-btn:hover { background: #f8f9fa; }
  .gsi-icon { width: 18px; height: 18px; }
  .auth-fineprint { color: var(--text-soft); font-size: 11px; margin-top: 24px; line-height: 1.5; }
  .picker-overlay { position: fixed; inset: 0; background: rgba(15,23,42,0.4); display: none; align-items: center; justify-content: center; padding: 16px; z-index: 200; }
  .picker-overlay.show { display: flex; }
  .picker-card { background: white; border-radius: 12px; width: 100%; max-width: 380px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,0.2); }
  .picker-card.wide { max-width: 760px; max-height: 90vh; display: flex; flex-direction: column; }
  .picker-head { padding: 24px 24px 16px; border-bottom: 1px solid #e8eaed; }
  .picker-title { font-size: 22px; color: #202124; margin: 0 0 4px; font-weight: 400; }
  .picker-sub { color: #5f6368; font-size: 14px; margin: 0; }
  .user-menu { margin-top: 24px; padding: 12px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 10px; }
  .user-pic { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #4285f4, #34a853); color: white; display: grid; place-items: center; font-weight: 500; font-size: 13px; flex-shrink: 0; }
  .user-pic img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
  .user-info { min-width: 0; flex: 1; }
  .user-name { font-size: 13px; font-weight: 500; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .user-email { font-size: 11px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .signout-btn { background: transparent; border: 1px solid var(--border); color: var(--text-muted); padding: 6px 8px; border-radius: 6px; font-size: 11px; cursor: pointer; }
  .signout-btn:hover { background: #f5f5f7; color: var(--text); }

  /* Repeatable entry blocks for Europass form */
  .entry-block { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; background: #fafbfc; position: relative; }
  .entry-remove { position: absolute; top: 10px; right: 10px; background: transparent; border: none; color: var(--text-soft); cursor: pointer; font-size: 18px; padding: 2px 8px; border-radius: 6px; }
  .entry-remove:hover { background: var(--danger-soft); color: var(--danger); }
  .entry-add-btn { background: transparent; border: 1.5px dashed var(--border-strong); border-radius: var(--radius); padding: 10px 14px; color: var(--text-muted); cursor: pointer; width: 100%; font-size: 13px; font-weight: 500; }
  .entry-add-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

  /* Step 1 — Europass-style CV wizard */
  .cv-wizard { margin-bottom: 24px; }
  .cv-wizard-progress { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
  .cv-wizard-progress strong { color: var(--accent); }
  .cv-wizard-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
  .cv-wizard-nav button {
    border: 1px solid var(--border); background: var(--surface); color: var(--text-muted);
    padding: 8px 12px; border-radius: 8px; font-size: 12px; font-weight: 500; cursor: pointer;
  }
  .cv-wizard-nav button:hover { border-color: var(--accent); color: var(--accent); }
  .cv-wizard-nav button.active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); font-weight: 600; }
  .cv-wizard-nav button.done { border-color: var(--success); color: var(--success); }
  .cv-section { display: none; }
  .cv-section.active { display: block; }
  .cv-section-nav { display: flex; justify-content: space-between; margin-top: 20px; gap: 12px; flex-wrap: wrap; }
  .profile-photo-row { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
  .profile-photo-preview {
    width: 96px; height: 120px; border: 1px dashed var(--border-strong); border-radius: 8px;
    display: grid; place-items: center; overflow: hidden; background: #fafbfc; flex-shrink: 0;
  }
  .profile-photo-preview img { width: 100%; height: 100%; object-fit: cover; }
  .profile-photo-preview span { font-size: 11px; color: var(--text-soft); text-align: center; padding: 8px; }
  .cv-hint { font-size: 12px; color: var(--text-muted); margin: 0 0 16px; line-height: 1.5; }
  .cv-hint a { color: var(--accent); }

  /* Europass CV preview styles (matches official format) */
  .europass-cv {
    background: white;
    color: #000;
    font-family: "Times New Roman", Georgia, serif;
    font-size: 11pt;
    line-height: 1.4;
    width: 794px; /* A4 width @ 96dpi */
    min-height: 1123px; /* A4 height */
    padding: 0;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  }
  .europass-cv .ep-header {
    background: var(--europass-blue);
    color: white;
    padding: 14px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .europass-cv .ep-header-left { display: flex; align-items: center; gap: 14px; }
  .europass-cv .ep-photo {
    width: 72px; height: 90px; object-fit: cover; border: 2px solid rgba(255,255,255,0.85);
    background: #fff; flex-shrink: 0;
  }
  .europass-cv .ep-flag {
    width: 36px; height: 24px; background: var(--europass-blue);
    border: 1px solid #fff;
    display: grid; place-items: center;
    font-size: 9pt; font-weight: bold;
    color: #ffcc00;
    flex-shrink: 0;
  }
  .europass-cv .ep-flag::before { content: "EU"; }
  .europass-cv .ep-header h1 {
    margin: 0;
    font-size: 18pt;
    font-weight: 400;
    letter-spacing: 1px;
  }
  .europass-cv .ep-header .ep-sub { font-size: 9pt; opacity: 0.9; }
  .europass-cv .ep-body { padding: 24px 28px; }
  .europass-cv .ep-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
  }
  .europass-cv .ep-row:last-child { border-bottom: none; }
  .europass-cv .ep-section-title {
    font-size: 12pt;
    color: var(--europass-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--europass-blue);
    padding-bottom: 4px;
    margin-bottom: 12px;
  }
  .europass-cv .ep-label {
    font-weight: 700;
    color: var(--europass-blue);
    font-size: 10pt;
  }
  .europass-cv .ep-value { font-size: 11pt; }
  .europass-cv .ep-value strong { font-weight: 700; }
  .europass-cv .ep-entry { margin-bottom: 10px; }
  .europass-cv .ep-entry-dates { font-size: 10pt; color: #666; font-style: italic; }
  .europass-cv .ep-entry-title { font-weight: 700; }
  .europass-cv .ep-entry-org { font-style: italic; color: #444; }
  .europass-cv .ep-entry-desc { font-size: 10pt; margin-top: 4px; }
  .europass-cv .ep-lang-table {
    border-collapse: collapse; width: 100%; font-size: 9pt; margin-top: 8px;
  }
  .europass-cv .ep-lang-table th, .europass-cv .ep-lang-table td {
    border: 1px solid #999;
    padding: 4px 6px;
    text-align: center;
  }
  .europass-cv .ep-lang-table th {
    background: var(--europass-light);
    color: var(--europass-blue);
    font-weight: 700;
  }
  .europass-cv .ep-lang-table .ep-lang-name {
    font-weight: 700;
    text-align: left;
    background: #f5f8fc;
  }
  @media print {
    body * { visibility: hidden !important; }
    #cv-preview-overlay, #cv-preview-overlay * { visibility: visible !important; }
    #cv-preview-overlay {
      position: absolute !important; left: 0 !important; top: 0 !important;
      display: block !important; background: white !important; padding: 0 !important;
    }
    .picker-card.wide { max-width: none !important; box-shadow: none !important; }
    .picker-head, .preview-actions { display: none !important; }
    .preview-wrap { overflow: visible !important; padding: 0 !important; }
    .europass-cv { position: relative !important; left: 0 !important; top: 0 !important; box-shadow: none !important; }
    @page { size: A4; margin: 12mm; }
  }
  .preview-wrap { padding: 24px; background: #f5f5f7; overflow-y: auto; flex: 1; }
  .preview-actions { padding: 16px 24px; border-top: 1px solid var(--border); display: flex; gap: 8px; justify-content: flex-end; background: white; }

  /* CV summary card on Step 1 */
  .cv-summary {
    background: linear-gradient(135deg, var(--europass-light), #fff);
    border: 1px solid var(--europass-blue);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .cv-icon {
    width: 48px; height: 48px;
    background: var(--europass-blue);
    color: white;
    border-radius: 8px;
    display: grid; place-items: center;
    font-size: 22px;
    flex-shrink: 0;
  }
  .cv-summary-text { flex: 1; }
  .cv-summary-title { font-weight: 600; color: var(--europass-blue); margin: 0 0 2px; }
  .cv-summary-sub { font-size: 12px; color: var(--text-muted); }
  .cv-summary-actions { display: flex; gap: 8px; }

/* === Extracted from: index.html === */
/* === Brand colors + homepage layout (hero, FAQ, footer, etc.) === */
/**
 * Brand colors for ScholarsOutreach
 * Primary teal #0a7a6e · Navy #1a1a2e · Accent green #38D200 · Blue #0473EA
 */
:root {
  --sc-teal: #0a7a6e;
  --sc-teal-dark: #085f56;
  --sc-teal-hover: #0d9488;
  --sc-teal-light: #ccfbf1;
  --sc-teal-muted: rgba(10, 122, 110, 0.12);
  --sc-navy: #1a1a2e;
  --sc-navy-soft: #252542;
  --sc-green: #38d200;
  --sc-blue: #0473ea;
  --sc-charcoal: #2d3748;
  --sc-muted: #64748b;
  --sc-bg: #f5f7fa;
  --sc-surface: #ffffff;
  --sc-border: #e2e8f0;

  --primary: var(--sc-teal);
  --primary-hover: var(--sc-teal-dark);
  --secondary: var(--sc-navy);
  --accent-highlight: var(--sc-green);
  --text-dark: var(--sc-charcoal);
  --text-muted: var(--sc-muted);
  --bg-light: var(--sc-bg);
  --bg-white: var(--sc-surface);
  --gradient-hero: linear-gradient(135deg, var(--sc-navy) 0%, var(--sc-teal) 55%, #0473ea 100%);
  --gradient-cta: linear-gradient(135deg, var(--sc-navy) 0%, var(--sc-teal) 50%, #085f56 100%);
  --gradient-soft: linear-gradient(135deg, var(--sc-teal-muted), rgba(4, 115, 234, 0.06));
  --shadow-card: 0 4px 20px rgba(26, 26, 46, 0.06);
  --shadow-card-hover: 0 12px 32px rgba(10, 122, 110, 0.15);
  --shadow-nav: 0 4px 20px rgba(26, 26, 46, 0.1);
}

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

:root {
  --success: #0a7a6e;
  --border: var(--sc-border);
  --radius-card: 16px;
  --radius-btn: 10px;
  --transition: 280ms cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
  --section-pad: 88px;
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-stack);
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-nav);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.nav-logo svg {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  transition: color var(--transition);
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-stack);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  padding: 10px 22px;
  gap: 8px;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
}

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

.btn-primary {
  background: var(--primary);
  color: #fff;
  border: 1.5px solid var(--primary);
}

.btn-primary:hover {
  background: var(--sc-teal-hover);
  border-color: var(--sc-teal-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 122, 110, 0.35);
}

.btn-white {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid #fff;
  font-weight: 600;
}

.btn-white:hover {
  background: var(--sc-teal-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
  border-radius: 10px;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

/* --- HERO --- */
.hero {
  background: var(--gradient-hero);
  background-size: 200% 200%;
  animation: gradientShift 12s ease infinite;
  padding: calc(var(--section-pad) + 72px) 0 var(--section-pad);
  color: #fff;
  overflow: hidden;
  position: relative;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 28px;
  border: 1px solid rgba(255,255,255,0.2);
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.hero h1 span {
  display: block;
  background: linear-gradient(90deg, #c4b5fd, #e0e7ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
  opacity: 0.8;
  flex-wrap: wrap;
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Hero Illustration */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-mockup {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  padding: 24px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.15);
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-dot:nth-child(1) { background: #ef4444; }
.mockup-dot:nth-child(2) { background: #f59e0b; }
.mockup-dot:nth-child(3) { background: #22c55e; }

.mockup-bar {
  flex: 1;
  height: 24px;
  background: rgba(255,255,255,0.1);
  border-radius: 6px;
  margin-left: 8px;
}

.mockup-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mockup-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.mockup-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sc-teal), var(--sc-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.mockup-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mockup-name {
  font-size: 0.85rem;
  font-weight: 600;
}

.mockup-field {
  font-size: 0.72rem;
  opacity: 0.65;
}

.mockup-score {
  background: rgba(56, 210, 0, 0.25);
  color: #a7f3d0;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  white-space: nowrap;
}

/* --- Section shared styles --- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- HOW IT WORKS --- */
.how-it-works {
  background: var(--bg-white);
  padding: var(--section-pad) 0;
}

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

.step-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
}

.step-card:hover {
  border-color: rgba(10, 122, 110, 0.35);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-8px);
  background: var(--gradient-soft);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 16px;
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

.step-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- FEATURES --- */
.features {
  background: var(--bg-light);
  padding: var(--section-pad) 0;
}

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

.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(10, 122, 110, 0.3);
}

.feature-card:hover .feature-icon {
  transform: scale(1.08) rotate(-3deg);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--sc-teal-light), #e0f2fe);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: transform var(--transition);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --- STATS --- */
.stats-bar {
  background: var(--gradient-cta);
  padding: 56px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
  color: #fff;
}

.stat-item h3 {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 6px;
}

.stat-item p {
  font-size: 0.9rem;
  opacity: 0.85;
  font-weight: 500;
}

/* --- WHO IS IT FOR --- */
.audience {
  background: var(--bg-white);
  padding: var(--section-pad) 0;
}

.audience .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.audience-content h2 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.audience-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.audience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.audience-tag {
  background: #eef2ff;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid #c7d2fe;
  transition: all var(--transition);
}

.audience-tag:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.audience-visual {
  display: flex;
  justify-content: center;
}

.audience-illustration {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #eef2ff, #faf5ff);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid var(--border);
  padding: 40px;
}

.audience-illustration .illust-icon {
  font-size: 4rem;
}

.audience-illustration .illust-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 240px;
}

.illust-bar {
  height: 10px;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0.6;
}

.illust-bar:nth-child(1) { width: 100%; opacity: 0.8; }
.illust-bar:nth-child(2) { width: 80%; }
.illust-bar:nth-child(3) { width: 60%; opacity: 0.45; }

/* --- CTA BANNER --- */
.cta-banner {
  background: var(--gradient-cta);
  padding: var(--section-pad) 0;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 60%);
  border-radius: 50%;
}

.cta-banner h2 {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 14px;
  position: relative;
}

.cta-banner p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 36px;
  position: relative;
}

.cta-banner .btn {
  position: relative;
}

/* --- FAQ --- */
.faq-section {
  background: var(--bg-white);
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--border);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--bg-white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item:hover {
  border-color: rgba(10, 122, 110, 0.35);
}

.faq-item.open {
  border-color: var(--primary);
  box-shadow: var(--shadow-card);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-stack);
  font-size: 1rem;
  font-weight: 600;
  color: var(--sc-navy);
  text-align: left;
  transition: color var(--transition), background var(--transition);
}

.faq-question:hover {
  background: var(--sc-teal-muted);
  color: var(--primary);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sc-teal-muted);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  transition: transform var(--transition), background var(--transition);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 280px;
}

.faq-answer-inner {
  padding: 0 22px 20px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 0;
}

/* --- FOOTER --- */
.footer {
  background: var(--sc-navy);
  color: #fff;
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .nav-logo {
  color: #fff;
  margin-bottom: 14px;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: #e2e8f0;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.9rem;
  color: #94a3b8;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: #fff;
}

.footer-col .contact-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.82rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: #64748b;
  transition: color var(--transition);
}

.footer-bottom-links a:hover {
  color: #fff;
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-fade {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.reveal-fade.visible {
  opacity: 1;
}

.reveal-slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.steps-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.steps-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.steps-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.steps-grid .reveal:nth-child(5) { transition-delay: 0.32s; }
.steps-grid .reveal:nth-child(6) { transition-delay: 0.4s; }
.features-grid .reveal:nth-child(2) { transition-delay: 0.06s; }
.features-grid .reveal:nth-child(3) { transition-delay: 0.12s; }
.features-grid .reveal:nth-child(4) { transition-delay: 0.18s; }
.features-grid .reveal:nth-child(5) { transition-delay: 0.24s; }
.features-grid .reveal:nth-child(6) { transition-delay: 0.3s; }

.mockup-card {
  transition: transform var(--transition), box-shadow var(--transition);
}

.mockup-card:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content { max-width: 100%; }
  .hero h1 { font-size: 2.6rem; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { margin-top: 40px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .audience .container { grid-template-columns: 1fr; text-align: center; }
  .audience-tags { justify-content: center; }
  .audience-visual { order: -1; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --section-pad: 56px; }
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open,
  .nav-actions.open {
    display: flex;
  }

  .navbar .container {
    flex-wrap: wrap;
  }

  .nav-links.open {
    order: 3;
    width: 100%;
    flex-direction: column;
    gap: 4px;
    padding: 16px 0;
    border-top: 1px solid var(--border);
  }

  .nav-links.open a {
    padding: 10px 0;
    font-size: 1rem;
  }

  .nav-actions.open {
    order: 4;
    width: 100%;
    padding-bottom: 16px;
  }

  .hero h1 { font-size: 2.1rem; }
  .section-header h2 { font-size: 1.8rem; }
  .steps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 32px; }
  .stat-item h3 { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-banner h2 { font-size: 1.8rem; }
}

/* === Extracted from: login.html === */
/* === Brand colors (teal + navy) === */
/**
 * Brand colors for ScholarsOutreach
 * Primary teal #0a7a6e · Navy #1a1a2e · Accent green #38D200 · Blue #0473EA
 */
:root {
  --sc-teal: #0a7a6e;
  --sc-teal-dark: #085f56;
  --sc-teal-hover: #0d9488;
  --sc-teal-light: #ccfbf1;
  --sc-teal-muted: rgba(10, 122, 110, 0.12);
  --sc-navy: #1a1a2e;
  --sc-navy-soft: #252542;
  --sc-green: #38d200;
  --sc-blue: #0473ea;
  --sc-charcoal: #2d3748;
  --sc-muted: #64748b;
  --sc-bg: #f5f7fa;
  --sc-surface: #ffffff;
  --sc-border: #e2e8f0;

  --primary: var(--sc-teal);
  --primary-hover: var(--sc-teal-dark);
  --secondary: var(--sc-navy);
  --accent-highlight: var(--sc-green);
  --text-dark: var(--sc-charcoal);
  --text-muted: var(--sc-muted);
  --bg-light: var(--sc-bg);
  --bg-white: var(--sc-surface);
  --gradient-hero: linear-gradient(135deg, var(--sc-navy) 0%, var(--sc-teal) 55%, #0473ea 100%);
  --gradient-cta: linear-gradient(135deg, var(--sc-navy) 0%, var(--sc-teal) 50%, #085f56 100%);
  --gradient-soft: linear-gradient(135deg, var(--sc-teal-muted), rgba(4, 115, 234, 0.06));
  --shadow-card: 0 4px 20px rgba(26, 26, 46, 0.06);
  --shadow-card-hover: 0 12px 32px rgba(10, 122, 110, 0.15);
  --shadow-nav: 0 4px 20px rgba(26, 26, 46, 0.1);
}


/* === Header, footer, buttons === */
/* Shared: reset + page width */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-nav);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.nav-logo svg {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  transition: color var(--transition);
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-stack);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  padding: 10px 22px;
  gap: 8px;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
}

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

.btn-primary {
  background: var(--primary);
  color: #fff;
  border: 1.5px solid var(--primary);
}

.btn-primary:hover {
  background: var(--sc-teal-hover);
  border-color: var(--sc-teal-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 122, 110, 0.35);
}

.btn-white {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid #fff;
  font-weight: 600;
}

.btn-white:hover {
  background: var(--sc-teal-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
  border-radius: 10px;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

/* --- FOOTER --- */
.footer {
  background: var(--sc-navy);
  color: #fff;
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .nav-logo {
  color: #fff;
  margin-bottom: 14px;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: #e2e8f0;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.9rem;
  color: #94a3b8;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: #fff;
}

.footer-col .contact-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.82rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: #64748b;
  transition: color var(--transition);
}

.footer-bottom-links a:hover {
  color: #fff;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content { max-width: 100%; }
  .hero h1 { font-size: 2.6rem; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { margin-top: 40px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .audience .container { grid-template-columns: 1fr; text-align: center; }
  .audience-tags { justify-content: center; }
  .audience-visual { order: -1; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --section-pad: 56px; }
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open,
  .nav-actions.open {
    display: flex;
  }

  .navbar .container {
    flex-wrap: wrap;
  }

  .nav-links.open {
    order: 3;
    width: 100%;
    flex-direction: column;
    gap: 4px;
    padding: 16px 0;
    border-top: 1px solid var(--border);
  }

  .nav-links.open a {
    padding: 10px 0;
    font-size: 1rem;
  }

  .nav-actions.open {
    order: 4;
    width: 100%;
    padding-bottom: 16px;
  }

  .hero h1 { font-size: 2.1rem; }
  .section-header h2 { font-size: 1.8rem; }
  .steps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 32px; }
  .stat-item h3 { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-banner h2 { font-size: 1.8rem; }
}
/* Auth page: leave room for fixed header and footer */
.auth-page .auth-wrap {
  min-height: calc(100vh - 72px - 280px);
  padding-top: 96px;
  padding-bottom: 48px;
}

.dashboard-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.dashboard-page .app {
  flex: 1;
  min-height: 0;
  width: 100%;
  margin-top: 72px;
}

.site-navbar {
  position: fixed;
}

.auth-test-page .auth-wrap {
  min-height: calc(100vh - 72px - 200px);
  padding-top: 96px;
}

.login-banner {
  max-width: 400px;
  margin: 0 auto 16px;
  padding: 12px 14px;
  background: rgba(10, 122, 110, 0.1);
  border: 1px solid rgba(10, 122, 110, 0.25);
  border-radius: 10px;
  color: #085f56;
  font-size: 13px;
  text-align: center;
}

.site-navbar {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--sc-border, #e2e8f0);
}


/* === Login / signup form === */
:root {
  --bg: var(--sc-bg);
  --surface: var(--sc-surface);
  --border: var(--sc-border);
  --text: var(--sc-charcoal);
  --text-muted: var(--sc-muted);
  --accent: var(--sc-teal);
  --accent-soft: var(--sc-teal-muted);
  --danger: #ef4444;
  --danger-soft: #fef2f2;
  --radius: 10px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; min-height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(160deg, #f5f7fa 0%, var(--sc-teal-light) 40%, #f0f9ff 100%);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

.auth-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 32px;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.auth-card:hover {
  box-shadow: var(--shadow-card-hover);
}

.auth-mark img { width: 48px; height: 48px; border-radius: 10px; }
.auth-title { font-size: 22px; font-weight: 600; margin: 16px 0 6px; letter-spacing: -0.02em; color: var(--sc-navy); }
.auth-sub { color: var(--text-muted); margin: 0 0 24px; font-size: 14px; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 12px; font-weight: 500; color: var(--text-muted); }
.field input {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
}
.field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--sc-teal-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: none;
  border-radius: 8px;
  padding: 11px 16px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.auth-card .btn-primary {
  background: var(--sc-teal);
  color: white;
}
.auth-card .btn-primary:hover {
  background: var(--sc-teal-dark);
  transform: translateY(-1px);
}
.auth-card .btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.auth-error {
  display: none;
  background: var(--danger-soft);
  color: var(--danger);
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 16px;
}

.auth-success {
  background: var(--sc-teal-muted) !important;
  color: var(--sc-teal-dark) !important;
  border: 1px solid rgba(10, 122, 110, 0.2);
}

.auth-footer {
  margin-top: 20px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}
.auth-footer a { color: var(--accent); font-weight: 500; text-decoration: none; }
.auth-footer a:hover { color: var(--sc-teal-dark); text-decoration: underline; }

.auth-fineprint {
  margin-top: 16px;
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
}

.login-banner {
  max-width: 400px;
  margin: 0 auto 16px;
  padding: 12px 14px;
  background: var(--sc-teal-muted);
  border: 1px solid rgba(10, 122, 110, 0.25);
  border-radius: 10px;
  color: var(--sc-teal-dark);
  font-size: 13px;
  text-align: center;
}

.auth-forgot-row {
  display: flex;
  justify-content: flex-end;
  margin: -8px 0 12px;
}
.auth-forgot-row a {
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
  cursor: pointer;
}
.auth-forgot-row a:hover { text-decoration: underline; color: var(--sc-teal-dark); }
#forgot-panel { display: none; }
#login-panel.hidden { display: none; }

/* === Extracted from: reset-password.html === */
:root {
  --sc-teal: #0a7a6e;
  --sc-teal-dark: #085f56;
  --sc-teal-muted: rgba(10, 122, 110, 0.12);
  --sc-navy: #1a1a2e;
  --sc-charcoal: #2d3748;
  --sc-muted: #64748b;
  --sc-bg: #f5f7fa;
  --sc-surface: #ffffff;
  --sc-border: #e2e8f0;
  --shadow-card: 0 4px 20px rgba(26, 26, 46, 0.06);
  --bg: var(--sc-bg);
  --surface: var(--sc-surface);
  --border: var(--sc-border);
  --text: var(--sc-charcoal);
  --text-muted: var(--sc-muted);
  --accent: var(--sc-teal);
  --danger: #ef4444;
  --danger-soft: #fef2f2;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; min-height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(160deg, #f5f7fa 0%, #ccfbf1 40%, #f0f9ff 100%);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}
.top-link {
  display: block;
  text-align: center;
  padding: 20px;
  font-weight: 700;
  color: var(--sc-navy);
}
.auth-wrap {
  min-height: calc(100vh - 64px);
  display: grid;
  place-items: center;
  padding: 24px;
}
.auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 32px;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-card);
}
.auth-title { font-size: 22px; font-weight: 600; margin: 0 0 6px; color: var(--sc-navy); }
.auth-sub { color: var(--text-muted); margin: 0 0 24px; font-size: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 12px; font-weight: 500; color: var(--text-muted); }
.field input {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
}
.field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--sc-teal-muted);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: none;
  border-radius: 8px;
  padding: 11px 16px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  background: var(--sc-teal);
  color: white;
}
.btn:hover { background: var(--sc-teal-dark); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.auth-error {
  display: none;
  background: var(--danger-soft);
  color: var(--danger);
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 16px;
}
.auth-success {
  background: var(--sc-teal-muted) !important;
  color: var(--sc-teal-dark) !important;
  border: 1px solid rgba(10, 122, 110, 0.2);
}
.auth-footer { margin-top: 20px; text-align: center; font-size: 13px; color: var(--text-muted); }
.auth-footer a { color: var(--accent); font-weight: 500; }

/* === Extracted from: signup.html === */
/* === Brand colors (teal + navy) === */
/**
 * Brand colors for ScholarsOutreach
 * Primary teal #0a7a6e · Navy #1a1a2e · Accent green #38D200 · Blue #0473EA
 */
:root {
  --sc-teal: #0a7a6e;
  --sc-teal-dark: #085f56;
  --sc-teal-hover: #0d9488;
  --sc-teal-light: #ccfbf1;
  --sc-teal-muted: rgba(10, 122, 110, 0.12);
  --sc-navy: #1a1a2e;
  --sc-navy-soft: #252542;
  --sc-green: #38d200;
  --sc-blue: #0473ea;
  --sc-charcoal: #2d3748;
  --sc-muted: #64748b;
  --sc-bg: #f5f7fa;
  --sc-surface: #ffffff;
  --sc-border: #e2e8f0;

  --primary: var(--sc-teal);
  --primary-hover: var(--sc-teal-dark);
  --secondary: var(--sc-navy);
  --accent-highlight: var(--sc-green);
  --text-dark: var(--sc-charcoal);
  --text-muted: var(--sc-muted);
  --bg-light: var(--sc-bg);
  --bg-white: var(--sc-surface);
  --gradient-hero: linear-gradient(135deg, var(--sc-navy) 0%, var(--sc-teal) 55%, #0473ea 100%);
  --gradient-cta: linear-gradient(135deg, var(--sc-navy) 0%, var(--sc-teal) 50%, #085f56 100%);
  --gradient-soft: linear-gradient(135deg, var(--sc-teal-muted), rgba(4, 115, 234, 0.06));
  --shadow-card: 0 4px 20px rgba(26, 26, 46, 0.06);
  --shadow-card-hover: 0 12px 32px rgba(10, 122, 110, 0.15);
  --shadow-nav: 0 4px 20px rgba(26, 26, 46, 0.1);
}


/* === Header, footer, buttons === */
/* Shared: reset + page width */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-nav);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.nav-logo svg {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  transition: color var(--transition);
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-stack);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  padding: 10px 22px;
  gap: 8px;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
}

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

.btn-primary {
  background: var(--primary);
  color: #fff;
  border: 1.5px solid var(--primary);
}

.btn-primary:hover {
  background: var(--sc-teal-hover);
  border-color: var(--sc-teal-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 122, 110, 0.35);
}

.btn-white {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid #fff;
  font-weight: 600;
}

.btn-white:hover {
  background: var(--sc-teal-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
  border-radius: 10px;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

/* --- FOOTER --- */
.footer {
  background: var(--sc-navy);
  color: #fff;
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .nav-logo {
  color: #fff;
  margin-bottom: 14px;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: #e2e8f0;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.9rem;
  color: #94a3b8;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: #fff;
}

.footer-col .contact-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.82rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: #64748b;
  transition: color var(--transition);
}

.footer-bottom-links a:hover {
  color: #fff;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content { max-width: 100%; }
  .hero h1 { font-size: 2.6rem; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { margin-top: 40px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .audience .container { grid-template-columns: 1fr; text-align: center; }
  .audience-tags { justify-content: center; }
  .audience-visual { order: -1; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --section-pad: 56px; }
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open,
  .nav-actions.open {
    display: flex;
  }

  .navbar .container {
    flex-wrap: wrap;
  }

  .nav-links.open {
    order: 3;
    width: 100%;
    flex-direction: column;
    gap: 4px;
    padding: 16px 0;
    border-top: 1px solid var(--border);
  }

  .nav-links.open a {
    padding: 10px 0;
    font-size: 1rem;
  }

  .nav-actions.open {
    order: 4;
    width: 100%;
    padding-bottom: 16px;
  }

  .hero h1 { font-size: 2.1rem; }
  .section-header h2 { font-size: 1.8rem; }
  .steps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 32px; }
  .stat-item h3 { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-banner h2 { font-size: 1.8rem; }
}
/* Auth page: leave room for fixed header and footer */
.auth-page .auth-wrap {
  min-height: calc(100vh - 72px - 280px);
  padding-top: 96px;
  padding-bottom: 48px;
}

.dashboard-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.dashboard-page .app {
  flex: 1;
  min-height: 0;
  width: 100%;
  margin-top: 72px;
}

.site-navbar {
  position: fixed;
}

.auth-test-page .auth-wrap {
  min-height: calc(100vh - 72px - 200px);
  padding-top: 96px;
}

.login-banner {
  max-width: 400px;
  margin: 0 auto 16px;
  padding: 12px 14px;
  background: rgba(10, 122, 110, 0.1);
  border: 1px solid rgba(10, 122, 110, 0.25);
  border-radius: 10px;
  color: #085f56;
  font-size: 13px;
  text-align: center;
}

.site-navbar {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--sc-border, #e2e8f0);
}


/* === Login / signup form === */
:root {
  --bg: var(--sc-bg);
  --surface: var(--sc-surface);
  --border: var(--sc-border);
  --text: var(--sc-charcoal);
  --text-muted: var(--sc-muted);
  --accent: var(--sc-teal);
  --accent-soft: var(--sc-teal-muted);
  --danger: #ef4444;
  --danger-soft: #fef2f2;
  --radius: 10px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; min-height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(160deg, #f5f7fa 0%, var(--sc-teal-light) 40%, #f0f9ff 100%);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

.auth-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 32px;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.auth-card:hover {
  box-shadow: var(--shadow-card-hover);
}

.auth-mark img { width: 48px; height: 48px; border-radius: 10px; }
.auth-title { font-size: 22px; font-weight: 600; margin: 16px 0 6px; letter-spacing: -0.02em; color: var(--sc-navy); }
.auth-sub { color: var(--text-muted); margin: 0 0 24px; font-size: 14px; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 12px; font-weight: 500; color: var(--text-muted); }
.field input {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
}
.field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--sc-teal-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: none;
  border-radius: 8px;
  padding: 11px 16px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.auth-card .btn-primary {
  background: var(--sc-teal);
  color: white;
}
.auth-card .btn-primary:hover {
  background: var(--sc-teal-dark);
  transform: translateY(-1px);
}
.auth-card .btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.auth-error {
  display: none;
  background: var(--danger-soft);
  color: var(--danger);
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 16px;
}

.auth-success {
  background: var(--sc-teal-muted) !important;
  color: var(--sc-teal-dark) !important;
  border: 1px solid rgba(10, 122, 110, 0.2);
}

.auth-footer {
  margin-top: 20px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}
.auth-footer a { color: var(--accent); font-weight: 500; text-decoration: none; }
.auth-footer a:hover { color: var(--sc-teal-dark); text-decoration: underline; }

.auth-fineprint {
  margin-top: 16px;
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
}

.login-banner {
  max-width: 400px;
  margin: 0 auto 16px;
  padding: 12px 14px;
  background: var(--sc-teal-muted);
  border: 1px solid rgba(10, 122, 110, 0.25);
  border-radius: 10px;
  color: var(--sc-teal-dark);
  font-size: 13px;
  text-align: center;
}

/* ==========================================================================
   Media Queries and Responsive Styles
   ========================================================================== */
@media (max-width:1280px){.container{max-width:100%}}
@media (max-width:1024px){
  .hero .container{grid-template-columns:1fr;text-align:center}
  .hero-content{max-width:100%}
  .hero-sub{margin-left:auto;margin-right:auto}
  .hero-ctas,.hero-trust{justify-content:center}
  .hero-visual{margin-top:40px}
  .steps-grid,.features-grid{grid-template-columns:repeat(2,1fr)}
  .stats-grid{grid-template-columns:repeat(2,1fr);gap:40px}
  .footer-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:768px){
  .nav-toggle{display:block}
  .nav-panel{width:100%;flex-direction:column;max-height:0;overflow:hidden}
  .nav-panel.open{max-height:560px;padding-bottom:16px}
  .nav-links,.nav-actions{display:none}
  .nav-links.open,.nav-actions.open{display:flex;flex-direction:column;width:100%}
  .nav-toggle{display:flex}
  .navbar .container{height:auto;min-height:72px;flex-wrap:wrap}
  .navbar:has(.nav-panel.open,.nav-links.open){background:#fff}
  .footer-grid{grid-template-columns:1fr}
  .footer-bar{flex-direction:column;text-align:center}
  .hero h1{font-size:2.1rem}
  .section-header h2{font-size:1.8rem}
  .steps-grid,.features-grid{grid-template-columns:1fr}
  .stats-grid{grid-template-columns:1fr}
}
@media (max-width:480px){.container{padding:0 16px}.page-hero{padding:80px 0 40px}}
@media (max-width:320px){.brand-logo{font-size:1rem}}
/* Canonical shared footer */
.site-footer{background:#0f172a;color:#cbd5e1;border-top:3px solid transparent;border-image:linear-gradient(90deg,#0a7a6e,#0473ea,#38d200) 1;padding:56px 0 0;margin-top:48px}
.site-footer .footer-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(220px,.75fr);align-items:start;gap:clamp(32px,6vw,80px);padding-bottom:40px;border-bottom:0}
.site-footer .footer-brand .brand-logo{display:inline-flex;align-items:center;gap:10px;color:#fff;margin-bottom:14px;font-size:1rem;font-weight:800;line-height:1.2}
.site-footer .brand-logo svg{width:36px;height:36px;max-width:36px;flex:0 0 36px;display:block}
.site-footer .footer-brand p{font-size:.92rem;line-height:1.65;color:#94a3b8;margin-bottom:20px;max-width:560px}
.site-footer .social-row{display:flex;gap:12px}
.site-footer .social-row a{display:inline-flex;width:40px;height:40px;border-radius:10px;background:rgba(255,255,255,.08);align-items:center;justify-content:center;transition:background .3s ease,transform .3s ease}
.site-footer .social-row a:hover{background:#0a7a6e;transform:translateY(-2px)}
.site-footer .social-row svg{width:18px;height:18px;fill:#94a3b8;transition:fill .3s ease}
.site-footer .social-row a:hover svg{fill:#fff}
.site-footer .footer-col{justify-self:end;min-width:220px}
.site-footer .footer-col h4{font-size:.8rem;text-transform:uppercase;letter-spacing:.08em;color:#e2e8f0;margin-bottom:18px;font-weight:700}
.site-footer .footer-links{display:flex;flex-direction:column;gap:14px}
.site-footer .footer-links a{color:#94a3b8;font-size:.95rem;transition:color .3s ease,padding-left .3s ease}
.site-footer .footer-links a:hover{color:#fff;padding-left:4px}
.site-footer .footer-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;padding:22px 0;border-top:1px solid rgba(255,255,255,.1);font-size:.85rem;color:#64748b}
@media(max-width:768px){.site-footer .footer-grid{grid-template-columns:1fr}.site-footer .footer-col{justify-self:start}.site-footer .footer-bar{flex-direction:column;text-align:center}}
