/* ============================================================
   Digiasati — AI in Higher Education Resource Site
   Full redesign: dark mode edtech aesthetic
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --bg:            #0F172A;
  --surface:       #1E293B;
  --surface-2:     #263348;
  --surface-3:     #2D3B52;
  --accent-blue:   #3B82F6;
  --accent-violet: #7C3AED;
  --gradient:      linear-gradient(135deg, #3B82F6 0%, #7C3AED 100%);
  --text:          #F1F5F9;
  --text-muted:    #94A3B8;
  --text-dim:      #64748B;
  --border:        #334155;
  --border-light:  #3F5070;
  --success:       #10B981;
  --warning:       #F59E0B;
  --danger:        #EF4444;
  --link:          #60A5FA;
  --link-hover:    #93C5FD;
}

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

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text);
  line-height: 1.2;
}

h1 { font-size: 2.5rem;  font-weight: 700; }
h2 { font-size: 1.85rem; font-weight: 700; }
h3 { font-size: 1.4rem;  font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }
h5 { font-size: 1rem;    font-weight: 600; }

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

p:last-child { margin-bottom: 0; }

a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

ul, ol {
  padding-left: 1.5rem;
  color: var(--text-muted);
}

li { margin-bottom: 0.5rem; line-height: 1.6; }

img {
  max-width: 100%;
  height: auto;
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

strong { color: var(--text); }
em     { font-style: italic; }

figcaption {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.3rem;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.text-center  { text-align: center; }
.text-muted   { color: var(--text-muted) !important; }
.mt-2  { margin-top: 2rem; }
.mt-4  { margin-top: 4rem; }
.mb-2  { margin-bottom: 2rem; }
.mb-4  { margin-bottom: 4rem; }
.py-4  { padding: 4rem 0; }
.py-2  { padding: 2rem 0; }

/* ============================================================
   W3.CSS COMPATIBILITY SHIMS (for existing JS)
   ============================================================ */
.w3-hide  { display: none !important; }
.w3-show  { display: block !important; }

/* Modal shim */
.w3-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.88);
  overflow: auto;
  cursor: pointer;
}

.w3-modal-content {
  background: var(--surface);
  display: block;
  max-width: 90%;
  margin: 5vh auto;
  border-radius: 10px;
  overflow: hidden;
}

.w3-animate-zoom {
  animation: zoomIn 0.25s ease;
}

@keyframes zoomIn {
  from { transform: scale(0.88); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

.w3-hover-opacity {
  cursor: pointer;
  transition: opacity 0.2s;
}
.w3-hover-opacity:hover { opacity: 0.72; }

.w3-display-topright {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
}

.w3-button.w3-hover-red {
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}
.w3-button.w3-hover-red:hover { color: var(--danger); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  height: 64px;
  gap: 0.25rem;
}

.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  white-space: nowrap;
  margin-right: 1.25rem;
  flex-shrink: 0;
}

.nav-logo:hover { text-decoration: none; opacity: 0.9; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex: 1;
}

.nav-link {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.45rem 0.8rem;
  border-radius: 7px;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
  cursor: pointer;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
}

.nav-link:hover {
  color: var(--text);
  background: var(--surface);
  text-decoration: none;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.5rem;
  min-width: 270px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  z-index: 300;
}

.nav-dropdown-item {
  display: block;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}

.nav-dropdown-item:hover {
  color: var(--text);
  background: var(--surface-2);
  text-decoration: none;
}

.nav-hamburger {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.45rem 0.75rem;
  border-radius: 7px;
  cursor: pointer;
  font-size: 1rem;
  transition: color 0.2s, border-color 0.2s;
}

.nav-hamburger:hover {
  color: var(--text);
  border-color: var(--accent-blue);
}

/* Mobile menu */
.mobile-menu {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1.5rem 1.25rem;
}

.mobile-menu a {
  display: block;
  color: var(--text-muted);
  font-size: 0.925rem;
  font-weight: 500;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--text); text-decoration: none; }
.mobile-menu .sub-link { padding-left: 1.25rem; font-size: 0.85rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 6rem 2rem;
  background: url('../images/chalkboard.jpg') no-repeat center center;
  background-size: cover;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.88) 0%,
    rgba(59, 130, 246, 0.25) 50%,
    rgba(124, 58, 237, 0.45) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-cta {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Sub-page hero (more compact) */
.hero--sub {
  padding: 3.5rem 2rem 3rem;
}

.hero--sub h1 {
  font-size: 2.5rem;
}

.hero--sub .hero-sub {
  font-size: 1.05rem;
  margin-bottom: 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  white-space: nowrap;
  line-height: 1.4;
}

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 8px 28px rgba(59, 130, 246, 0.45);
  color: #fff;
}

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

.btn-outline:hover {
  background: var(--surface);
  color: var(--text);
  border-color: var(--accent-blue);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
}

/* ============================================================
   CARDS — PRIMARY (dashboard-style)
   ============================================================ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.22s, border-color 0.22s, box-shadow 0.22s;
  position: relative;
  overflow: hidden;
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.22s;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-blue);
  box-shadow: 0 10px 36px rgba(59, 130, 246, 0.2);
}

.card:hover::after {
  opacity: 0.04;
}

.card-icon {
  font-size: 2rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.25rem;
}

.card h3 {
  font-size: 1.15rem;
  color: var(--text);
  margin: 0;
}

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

.card .btn {
  align-self: flex-start;
  margin-top: 0.25rem;
}

/* Educator card accent stripe at top */
.card--educator {
  border-top: 3px solid transparent;
  border-top-color: var(--accent-blue);
}

/* Student card accent stripe at top */
.card--student {
  border-top: 3px solid transparent;
  border-top-color: var(--accent-violet);
}

/* ============================================================
   TOOL CARDS (compact link cards)
   ============================================================ */
.tool-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.tool-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-blue);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.15);
}

.tool-card h3 {
  font-size: 1rem;
  color: #60A5FA;
  margin: 0;
}

.tool-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
  flex: 1;
}

/* ============================================================
   CONTENT PAGE LAYOUT
   ============================================================ */
.page-content {
  padding: 3rem 0 5rem;
}

/* Section boxes — used on assessments, policies, etc. */
.section-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem 2rem;
  margin-bottom: 2rem;
}

.section-box h3 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.section-box h4 {
  font-size: 1rem;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.section-box p,
.section-box li {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.section-box ul {
  margin-top: 0.5rem;
  margin-bottom: 0;
}

/* Accent variants */
.section-box--blue   { border-left: 4px solid var(--accent-blue);   }
.section-box--blue h3   { color: var(--accent-blue);   }

.section-box--violet { border-left: 4px solid var(--accent-violet); }
.section-box--violet h3 { color: #A78BFA; }

.section-box--green  { border-left: 4px solid var(--success);       }
.section-box--green h3  { color: var(--success);  }

.section-box--orange { border-left: 4px solid var(--warning);       }
.section-box--orange h3 { color: var(--warning); }

.section-box--red    { border-left: 4px solid var(--danger);        }
.section-box--red h3    { color: var(--danger);    }

/* Inline content headings */
.content-h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.content-h2:first-child { margin-top: 0; }

/* ============================================================
   RESOURCE LISTS
   ============================================================ */
.resource-list {
  list-style: none;
  padding: 0;
}

.resource-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
}

.resource-list li:last-child { border-bottom: none; }

.resource-list a {
  color: var(--link);
  font-weight: 500;
}

/* ============================================================
   QUOTE BLOCK
   ============================================================ */
.quote-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent-blue);
  padding: 1.75rem 2rem;
  border-radius: 0 12px 12px 0;
  margin: 2.5rem 0;
}

.quote-block p {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.quote-block cite {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: normal;
}

/* ============================================================
   SKILLS LIST
   ============================================================ */
.skills-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.skills-list li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--text);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  transition: border-color 0.2s;
}

.skills-list li::before {
  content: '✦';
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.skills-list li:hover {
  border-color: var(--accent-blue);
}

/* ============================================================
   AUDIENCE SECTION LABELS (pill badges)
   ============================================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.875rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.section-label--educator {
  background: rgba(59, 130, 246, 0.12);
  color: #93C5FD;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.section-label--student {
  background: rgba(124, 58, 237, 0.12);
  color: #C4B5FD;
  border: 1px solid rgba(124, 58, 237, 0.3);
}

/* ============================================================
   PAGE SECTIONS
   ============================================================ */
.page-section {
  padding: 4.5rem 0;
}

.page-section--educator {
  background: linear-gradient(
    160deg,
    rgba(59, 130, 246, 0.06) 0%,
    rgba(15, 23, 42, 0.0) 60%
  );
}

.page-section--student {
  background: linear-gradient(
    160deg,
    rgba(124, 58, 237, 0.07) 0%,
    rgba(15, 23, 42, 0.0) 60%
  );
  border-top: 1px solid var(--border);
}

.page-section--resources {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* ============================================================
   INTRO / INTRO SECTION
   ============================================================ */
.intro-section {
  padding: 3.5rem 1.5rem;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.intro-section p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.intro-image {
  max-width: 600px;
  margin: 0 auto;
  border-radius: 10px;
  border: 1px solid var(--border);
}

/* ============================================================
   ACCORDION (FAQ on students.html)
   ============================================================ */
.accordion-item {
  margin-bottom: 0.5rem;
}

.accordion-btn {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.9rem 1.25rem;
  text-align: left;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s;
}

.accordion-btn:hover {
  background: var(--surface-2);
  border-color: var(--accent-blue);
}

/* The content divs use w3-hide / w3-show for toggle */
.accordion-content {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 8px 8px;
  padding: 1rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.accordion-content ul {
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.accordion-content li { margin-bottom: 0.4rem; }

/* ============================================================
   ALERT / WARNING BOXES
   ============================================================ */
.alert {
  border-radius: 8px;
  padding: 1rem 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.alert-icon { font-size: 1.25rem; flex-shrink: 0; margin-top: 0.1rem; }
.alert p    { margin: 0; font-size: 0.9rem; }

.alert--warning {
  border: 1px solid rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.08);
  color: var(--text);
}

.alert--info {
  border: 1px solid rgba(59, 130, 246, 0.4);
  background: rgba(59, 130, 246, 0.08);
  color: var(--text);
}

.alert--danger {
  border: 1px solid rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.08);
  color: var(--text);
}

/* ============================================================
   DETECTION WARNING BANNER
   ============================================================ */
.detection-banner {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 2rem 0;
}

.detection-banner .icon {
  font-size: 2.5rem;
  color: var(--warning);
  flex-shrink: 0;
}

.detection-banner p {
  color: var(--text);
  font-weight: 500;
  margin: 0;
  font-size: 0.95rem;
}

/* ============================================================
   POLICY BOX (policies.html)
   ============================================================ */
.policy-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin: 2rem 0;
}

.policy-box-header {
  padding: 1.25rem 2rem;
  background: var(--gradient);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  text-align: center;
}

.policy-box-intro {
  padding: 1.25rem 2rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.policy-box-body {
  padding: 1.25rem 2rem 1.75rem;
}

.policy-box-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1rem 0;
}

.policy-col {
  padding: 1.25rem;
  border-radius: 10px;
}

.policy-col h3 {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  color: #fff;
}

.policy-col li {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.55;
}

.policy-col--green {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.policy-col--green h3 {
  background: rgba(16, 185, 129, 0.2);
  color: var(--success);
}

.policy-col--red {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.policy-col--red h3 {
  background: rgba(239, 68, 68, 0.2);
  color: var(--danger);
}

.policy-consequences {
  margin: 1.5rem 0 0.5rem;
  padding: 1.25rem;
  background: rgba(59, 130, 246, 0.07);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 10px;
}

.policy-consequences h2 {
  font-size: 1.05rem;
  color: var(--accent-blue);
  margin-bottom: 0.75rem;
  padding: 0;
  border: none;
  margin-top: 0;
}

.policy-consequences ol {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding-left: 1.5rem;
}

.policy-tldr {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: rgba(124, 58, 237, 0.07);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 10px;
}

.policy-tldr h3 {
  color: #A78BFA;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.policy-tldr p, .policy-tldr li {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ============================================================
   EXAMPLE BOXES (instructionaldesign.html)
   ============================================================ */
.example-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.75rem 0;
}

.example-box h3 {
  font-size: 1.05rem;
  color: var(--accent-blue);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.example-box h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 1.25rem 0 0.5rem;
}

.example-box h4:first-child { margin-top: 0; }

.example-box p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.example-callout {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  font-style: italic;
  margin: 0.5rem 0;
}

.img-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1rem 0;
}

.img-grid img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid var(--border);
}

/* ============================================================
   SECTION DIVIDER / HEADING
   ============================================================ */
.content-section-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text);
}

.content-section-title:first-child {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}

/* ============================================================
   UNDER CONSTRUCTION NOTICE
   ============================================================ */
.under-construction {
  background: rgba(245, 158, 11, 0.07);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--warning);
  font-weight: 500;
}

.under-construction p { color: var(--warning); margin: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #070D1A;
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.site-footer p {
  color: var(--text-dim);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem 2rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.footer-links a {
  color: var(--text-dim);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent-blue);
  text-decoration: none;
}

.kofi-wrapper {
  margin-top: 1.25rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 992px) {
  .nav-links  { display: none !important; }
  .nav-hamburger { display: block; }

  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }

  .policy-box-row { grid-template-columns: 1fr; }
  .img-grid { grid-template-columns: repeat(2, 1fr); }
  .skills-list { grid-template-columns: 1fr; }

  h1 { font-size: 2rem; }
  .hero h1 { font-size: 2.75rem; }
}

/* Mobile */
@media (max-width: 600px) {
  .hero { padding: 4rem 1.5rem; }
  .hero h1 { font-size: 2.1rem; }
  .hero--sub { padding: 2.75rem 1.5rem 2.25rem; }
  .hero--sub h1 { font-size: 1.75rem; }
  .hero-sub { font-size: 1rem; }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .img-grid { grid-template-columns: repeat(2, 1fr); }

  .detection-banner { flex-direction: column; text-align: center; gap: 1rem; }

  .container--narrow { padding: 0 1rem; }
  .page-content { padding: 2rem 0 3rem; }
  .page-section { padding: 3rem 0; }

  .section-box { padding: 1.25rem; }
  .policy-box-body { padding: 1rem 1.25rem 1.5rem; }
  .policy-box-row { grid-template-columns: 1fr; }
}
