/* =========================================================
   SHEILA THE WRITER — COMPLETE STYLESHEET v2
   Colors sourced from logos ONLY:
     Brand Blue (from sheila-colored.png): #223dff
     Dark mode bg  : #0f1211  (deep near-black)
     Dark mode text: #f0efe9  (warm off-white)
     Light mode bg : #f0efe9  (warm off-white)
     Light mode text: #0f1211 (deep near-black)
   ========================================================= */

/* ── CSS Custom Properties ──────────────────────────────── */
:root {
  /* Brand constants */
  --blue:      #223dff;
  --blue-light:#5570ff;
  --blue-dark: #0f28cc;
  --blue-dim:  rgba(34,61,255,.12);
  --ink:       #0f1211;
  --paper:     #f0efe9;
  --cream:     #dddbd0;
  --serif:     'Playfair Display', serif;
  --sans:      Manrope, sans-serif;
  --mono:      'DM Mono', monospace;
}

/* Dark mode (default) */
[data-theme="dark"], :root {
  --bg:          #0f1211;
  --surface:     #181c1a;
  --surface2:    #202620;
  --surface3:    #252e25;
  --text:        #f0efe9;
  --text-muted:  #8a9088;
  --text-dim:    #c0c4bc;
  --border:      rgba(240,239,233,.14);
  --header-bg:   rgba(15,18,17,.92);
  --btn-bg:      #c8f542;
  --btn-text:    #0f1211;
  --card-bg:     #181c1a;
  --card-hover:  #202620;
  --line:        rgba(240,239,233,.14);
  --logo-color:  block;   /* colored logo shown */
  --logo-white:  none;    /* white logo hidden */
}

/* Light mode */
[data-theme="light"] {
  --bg:          #f0efe9;
  --surface:     #e6e4dc;
  --surface2:    #d8d6ce;
  --surface3:    #cccac2;
  --text:        #0f1211;
  --text-muted:  #4e5450;
  --text-dim:    #252e25;
  --border:      rgba(15,18,17,.16);
  --header-bg:   rgba(240,239,233,.94);
  --btn-bg:      #223dff;
  --btn-text:    #ffffff;
  --card-bg:     #e6e4dc;
  --card-hover:  #d8d6ce;
  --line:        rgba(15,18,17,.16);
  --logo-color:  none;    /* colored logo hidden in light */
  --logo-white:  block;   /* white logo shown in light */
}

/* ── Reset & Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.6 var(--sans);
  transition: background .3s, color .3s;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ── Grain overlay ──────────────────────────────────────── */
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 10;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}
[data-theme="light"] .grain { opacity: .03; }

/* ── Logo visibility ────────────────────────────────────────
   HTML assigns:
     sheila-colored.png  →  class="logo-dark"
     sheila-white.png    →  class="logo-light"

   User requirement: Blue (colored) logo in LIGHT mode,
                     White logo in DARK mode.

   So: logo-dark (colored) → hidden by default (dark mode), shown in light
       logo-light (white)  → shown by default (dark mode), hidden in light
   ──────────────────────────────────────────────────────── */
.logo-dark  { display: none; }   /* colored logo: hidden in dark mode */
.logo-light { display: block; }  /* white logo: shown in dark mode */
[data-theme="light"] .logo-dark  { display: block; }  /* colored logo shown in light mode */
[data-theme="light"] .logo-light { display: none; }   /* white logo hidden in light mode */

/* ── Site Header ────────────────────────────────────────── */
.site-header {
  height: 86px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 4.5vw;
  gap: 30px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background .3s, border-color .3s;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-width: 120px;
  flex-shrink: 0;
}
.brand-logo {
  height: 40px;
  width: auto;
  display: block;
  transition: filter .3s;
}
.site-header nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.site-header nav a, .header-action {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}
.site-header nav a {
  color: var(--text-dim);
  transition: color .2s;
}
.site-header nav a:hover { color: var(--blue); }
[data-theme="light"] .site-header nav a { color: var(--text-dim); }
[data-theme="light"] .site-header nav a:hover { color: var(--blue); }

.header-action {
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 9px 16px;
  margin-left: 14px;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  transition: border-color .2s, background .2s, color .2s;
  white-space: nowrap;
}
.header-action:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.header-action i { font-style: normal; color: var(--blue); margin-left: 6px; }
.header-action:hover i { color: #fff; }

/* Dark/Light toggle */
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  font-size: 15px;
  flex-shrink: 0;
  transition: background .2s, border-color .2s;
  margin-left: 8px;
}
.theme-toggle:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.icon-sun  { display: none; }
.icon-moon { display: block; }
[data-theme="light"] .icon-sun  { display: block; }
[data-theme="light"] .icon-moon { display: none; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
}

/* Flash notice */
.notice {
  position: relative;
  z-index: 12;
  background: var(--blue);
  color: #fff;
  padding: 12px 5vw;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
}
.notice.success { background: #28a745; color: #fff; }

/* ── Typography ─────────────────────────────────────────── */
.eyebrow {
  font: 10px var(--mono);
  letter-spacing: 2.5px;
  color: var(--blue);
  margin: 0 0 22px;
  text-transform: uppercase;
}
[data-theme="light"] .eyebrow { color: var(--blue-dark); }

h1, h2, h3 { margin: 0; }
h1 em, h2 em, h3 em {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -.05em;
  font-style: italic;
}

.button {
  display: inline-block;
  border: 0;
  background: var(--btn-bg);
  color: var(--btn-text);
  border-radius: 30px;
  padding: 14px 24px;
  font: 700 12px var(--sans);
  letter-spacing: .06em;
  cursor: pointer;
  transition: opacity .2s, transform .2s, background .3s;
  text-transform: uppercase;
}
.button:hover { opacity: .88; transform: translateY(-2px); }
.button span { font-style: normal; margin-left: 8px; }
.button.outline {
  background: transparent;
  border: 2px solid var(--blue);
  color: var(--blue);
}
.button.outline:hover { background: var(--blue); color: #fff; }
[data-theme="light"] .button.outline { color: var(--blue-dark); border-color: var(--blue-dark); }
[data-theme="light"] .button.outline:hover { background: var(--blue-dark); color: #fff; }

.button-row { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.text-link { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.text-link span { margin-left: 8px; color: var(--blue); }

.lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 580px;
  margin: 28px 0;
}
[data-theme="light"] .lead { color: #1e2820; }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - 86px);
  padding: 7vw 4.5vw 5vw;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 6vw;
  align-items: center;
  overflow: hidden;
}
.hero h1 {
  font-size: clamp(50px, 7vw, 110px);
  max-width: 850px;
  line-height: .95;
  letter-spacing: -.07em;
  color: var(--text);
}
[data-theme="light"] .hero h1 { color: var(--ink); }

.hero-art {
  height: 440px;
  position: relative;
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  border-radius: 6px;
}
.orb { position: absolute; border-radius: 50%; }
.orb-one {
  height: 420px; width: 420px;
  background: var(--blue);
  right: -110px; top: -140px;
  opacity: .75;
  filter: blur(1px);
}
.orb-two {
  height: 340px; width: 340px;
  background: #6a5aff;
  left: -130px; bottom: -160px;
  mix-blend-mode: screen;
  opacity: .6;
}
[data-theme="light"] .orb-one { opacity: .22; }
[data-theme="light"] .orb-two { opacity: .18; mix-blend-mode: multiply; background: var(--blue); }

.hero-note {
  position: absolute; z-index: 2;
  left: 28px; top: 26px; right: 26px;
  display: flex; justify-content: space-between;
  font: 10px var(--mono); letter-spacing: 1.5px;
  color: var(--text);
}
[data-theme="light"] .hero-note { color: #fff; }
.hero-note b { font-size: 15px; }
.hero-art > p {
  position: absolute; bottom: 24px; right: 26px;
  text-align: right;
  font: italic 26px/1 var(--serif);
  z-index: 2;
  color: var(--text);
}
[data-theme="light"] .hero-art > p { color: rgba(255,255,255,.9); }

/* ── Metrics bar ────────────────────────────────────────── */
.metrics {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4,1fr);
  margin: 0 4.5vw;
}
.metrics div {
  padding: 32px 20px;
  border-right: 1px solid var(--border);
}
.metrics div:first-child { padding-left: 0; }
.metrics div:last-child { border: 0; }
.metrics strong {
  font-size: 38px;
  letter-spacing: -.07em;
  display: block;
  color: var(--blue);
}
[data-theme="light"] .metrics strong { color: var(--blue-dark); }
.metrics span {
  font: 10px var(--mono);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ── Section utilities ──────────────────────────────────── */
.section { padding: 9vw 4.5vw; }
.section-sm { padding: 5vw 4.5vw; }
.inner { padding: 8vw 10vw 0; }
.inner-pad { padding: 7vw 10vw; }

/* ── Split story ────────────────────────────────────────── */
.split-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9vw;
}
.split-story h2, .solution h2, .audience h2, .two-col h2 {
  font-size: clamp(32px, 4.5vw, 65px);
  line-height: 1.02;
  letter-spacing: -.06em;
  color: var(--text);
}
[data-theme="light"] .split-story h2,
[data-theme="light"] .solution h2,
[data-theme="light"] .audience h2,
[data-theme="light"] .two-col h2 { color: var(--ink); }

.split-story > div:last-child {
  padding-top: 40px;
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.75;
}
[data-theme="light"] .split-story > div:last-child { color: #1e2820; }

/* ── Solution section ───────────────────────────────────── */
.solution {
  background: var(--surface);
  padding: 9vw 4.5vw;
  transition: background .3s;
}
[data-theme="light"] .solution { background: var(--surface2); }
.solution-label {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding-bottom: 22px;
}
.solution-label span { font: 12px var(--mono); color: var(--text-muted); }
.solution h2 { max-width: 900px; margin: 65px 0; }

/* ── Feature / Service grids ───────────────────────────── */
.feature-grid, .service-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.feature-grid article {
  background: var(--surface);
  padding: 28px;
  min-height: 210px;
  transition: background .3s;
}
.feature-grid article:hover { background: var(--surface2); }
[data-theme="light"] .feature-grid article { background: var(--bg); }
[data-theme="light"] .feature-grid article:hover { background: var(--surface); }

.feature-grid b, .service-card small {
  font: 10px var(--mono);
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.feature-grid h3 {
  font-size: 19px;
  margin: 32px 0 10px;
  letter-spacing: -.04em;
  color: var(--text);
}
[data-theme="light"] .feature-grid h3 { color: var(--ink); }
.feature-grid p { color: var(--text-muted); margin: 0; font-size: 14px; }
[data-theme="light"] .feature-grid p { color: #4e5450; }

.service-card h3 {
  font-size: 20px;
  margin: 34px 0 10px;
  letter-spacing: -.04em;
  color: var(--text);
}
[data-theme="light"] .service-card h3 { color: var(--ink); }

.service-grid { grid-template-columns: repeat(3,1fr); margin-top: 40px; }
.service-card {
  background: var(--card-bg);
  padding: 26px;
  min-height: 280px;
  transition: background .3s, transform .3s;
  display: block;
  color: var(--text);
}
.service-card:hover { background: var(--card-hover); transform: translateY(-5px); }
.service-icon {
  font: 30px var(--serif);
  color: var(--blue);
  display: block;
  margin-bottom: 16px;
}
.service-card p { color: var(--text-muted); font-size: 13px; min-height: 55px; margin: 0; }
[data-theme="light"] .service-card p { color: #4e5450; }
.service-card > b {
  font: 11px var(--mono);
  display: block;
  margin-top: 26px;
  color: var(--text-dim);
  letter-spacing: .5px;
}
[data-theme="light"] .service-card > b { color: #1e2820; }
.service-card i { font-size: 15px; color: var(--blue); font-style: normal; float: right; }

/* ── Audience ───────────────────────────────────────────── */
.audience { border-top: 1px solid var(--border); padding: 9vw 4.5vw; }
.audience h2 { max-width: 850px; }
.audience-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 48px;
}
.audience-list span {
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 11px 18px;
  font-size: 13px;
  color: var(--text-dim);
  transition: border-color .2s, color .2s;
  cursor: default;
}
[data-theme="light"] .audience-list span { color: #1e2820; }
.audience-list span:hover { border-color: var(--blue); color: var(--blue); }

/* ── Page intro ─────────────────────────────────────────── */
.page-title {
  font-size: clamp(48px, 6.5vw, 96px);
  line-height: .96;
  letter-spacing: -.07em;
  margin: 0;
  max-width: 950px;
  color: var(--text);
}
[data-theme="light"] .page-title { color: var(--ink); }

/* ── Two-column layout ──────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 8vw;
  padding-bottom: 8vw;
}
.two-col p { font-size: 16px; color: var(--text-dim); margin-top: 0; line-height: 1.75; }
[data-theme="light"] .two-col p { color: #1e2820; }
.two-col .button { margin-top: 18px; }

/* ── Article / Blog grid ───────────────────────────────── */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  padding-top: 56px;
}
.article-card {
  border-top: 3px solid var(--blue);
  background: var(--surface);
  padding: 28px;
  border-radius: 4px;
  transition: background .3s;
}
.article-card:hover { background: var(--surface2); }
[data-theme="light"] .article-card { background: var(--surface); }
[data-theme="light"] .article-card:hover { background: var(--surface2); }
.article-card .tag {
  font: 10px var(--mono);
  color: var(--blue);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 14px;
}
[data-theme="light"] .article-card .tag { color: var(--blue-dark); }
.article-card h3 {
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: -.04em;
  margin: 0 0 12px;
  color: var(--text);
}
[data-theme="light"] .article-card h3 { color: var(--ink); }
.article-card .excerpt {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.65;
  margin: 0 0 18px;
}
[data-theme="light"] .article-card .excerpt { color: #4e5450; }
.article-card .read-link {
  font: 700 12px var(--sans);
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .04em;
}
[data-theme="light"] .article-card .read-link { color: var(--blue-dark); }
.article-card .read-link:hover { text-decoration: underline; }
.article-card .meta { font: 10px var(--mono); color: var(--text-muted); margin-top: 14px; }
[data-theme="light"] .article-card .meta { color: #6e7870; }

/* ── Contact form ───────────────────────────────────────── */
.form-shell {
  display: grid;
  grid-template-columns: 1fr .5fr;
  gap: 8vw;
  padding-top: 65px;
  padding-bottom: 9vw;
}
.form-shell form, .auth form { display: grid; gap: 20px; }
.form-shell label, .auth label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-muted);
}
[data-theme="light"] .form-shell label,
[data-theme="light"] .auth label { color: #3a4038; }

.form-shell input, .form-shell textarea, .form-shell select,
.auth input, select {
  display: block;
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  padding: 12px 0;
  font: 16px var(--sans);
  outline: none;
  margin-top: 6px;
  transition: border-color .2s;
}
[data-theme="light"] .form-shell input,
[data-theme="light"] .form-shell textarea,
[data-theme="light"] .form-shell select,
[data-theme="light"] .auth input,
[data-theme="light"] select {
  color: var(--ink);
  border-bottom-color: rgba(15,18,17,.25);
}
.form-shell input:focus, .form-shell textarea:focus, .auth input:focus {
  border-bottom-color: var(--blue);
}
.form-shell textarea { resize: vertical; }
.form-shell aside {
  border-left: 1px solid var(--border);
  padding-left: 38px;
}
.form-shell aside h3 { font-size: 22px; letter-spacing: -.03em; margin-bottom: 10px; color: var(--text); }
[data-theme="light"] .form-shell aside h3 { color: var(--ink); }
.form-shell aside a { color: var(--blue); font-size: 14px; }
[data-theme="light"] .form-shell aside a { color: var(--blue-dark); }
.contact-detail { display: flex; flex-direction: column; gap: 26px; }
.contact-item p { font: 10px var(--mono); letter-spacing: 1.5px; color: var(--text-muted); margin: 0 0 6px; text-transform: uppercase; }
[data-theme="light"] .contact-item p { color: #3a4038; }
.contact-item a, .contact-item span { font-size: 15px; color: var(--text); }
[data-theme="light"] .contact-item a, [data-theme="light"] .contact-item span { color: var(--ink); }
.contact-item a:hover { color: var(--blue); }

/* ── Detail page ────────────────────────────────────────── */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr .65fr;
  gap: 8vw;
  padding-top: 65px;
  padding-bottom: 9vw;
}
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  border-top: 1px solid var(--border);
  padding: 18px 0;
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.6;
}
[data-theme="light"] .check-list li { color: #1e2820; }
.check-list li::before { content: '✓'; color: var(--blue); margin-right: 14px; }
.purchase-card {
  background: var(--surface);
  padding: 30px;
  border-top: 3px solid var(--blue);
  border-radius: 4px;
}
.purchase-card span { font: 10px var(--mono); color: var(--blue); letter-spacing: 2px; }
[data-theme="light"] .purchase-card span { color: var(--blue-dark); }
.purchase-card h2 { margin: 22px 0; font-size: 32px; letter-spacing: -.05em; color: var(--text); }
[data-theme="light"] .purchase-card h2 { color: var(--ink); }
.purchase-card p { color: var(--text-muted); font-size: 14px; }
[data-theme="light"] .purchase-card p { color: #4e5450; }
.purchase-card form { margin-top: 28px; }

/* ── Testimonials ───────────────────────────────────────── */
.testimonials { padding: 9vw 4.5vw; }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  margin-top: 48px;
}
.testimonial-card {
  background: var(--surface);
  padding: 28px;
  border-radius: 4px;
  border-left: 3px solid var(--blue);
  transition: background .3s;
}
.testimonial-card:hover { background: var(--surface2); }
[data-theme="light"] .testimonial-card { background: var(--surface); }
[data-theme="light"] .testimonial-card:hover { background: var(--surface2); }
.testimonial-card blockquote {
  margin: 0 0 18px;
  font: italic 16px/1.6 var(--serif);
  color: var(--text-dim);
}
[data-theme="light"] .testimonial-card blockquote { color: #1e2820; }
.testimonial-card cite {
  font: 10px var(--mono);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
[data-theme="light"] .testimonial-card cite { color: #4e5450; }
.star-row { color: var(--blue); font-size: 13px; margin-bottom: 14px; }
[data-theme="light"] .star-row { color: var(--blue-dark); }

/* ── Pricing ────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  margin-top: 48px;
}
.pricing-card {
  background: var(--surface);
  padding: 30px;
  border-radius: 4px;
  border: 1px solid var(--border);
  transition: border-color .3s, background .3s;
}
.pricing-card.featured {
  border-color: var(--blue);
  background: var(--surface2);
}
[data-theme="light"] .pricing-card { background: var(--surface); }
[data-theme="light"] .pricing-card.featured { background: #dde1ff; border-color: var(--blue); }
.pricing-card .plan-name {
  font: 10px var(--mono);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
[data-theme="light"] .pricing-card .plan-name { color: var(--blue-dark); }
.pricing-card .plan-price {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -.06em;
  margin: 0 0 6px;
  color: var(--text);
}
[data-theme="light"] .pricing-card .plan-price { color: var(--ink); }
.pricing-card .plan-desc {
  color: var(--text-muted);
  font-size: 13px;
  margin: 0 0 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
[data-theme="light"] .pricing-card .plan-desc { color: #4e5450; }
.pricing-card ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.pricing-card ul li { font-size: 14px; color: var(--text-dim); padding-left: 20px; position: relative; line-height: 1.5; }
[data-theme="light"] .pricing-card ul li { color: #1e2820; }
.pricing-card ul li::before { content: '✓'; position: absolute; left: 0; color: var(--blue); font-weight: 700; }

/* ── Process steps ──────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 48px;
}
.step {
  background: var(--surface);
  padding: 28px;
  transition: background .3s;
}
.step:hover { background: var(--surface2); }
[data-theme="light"] .step { background: var(--bg); }
[data-theme="light"] .step:hover { background: var(--surface); }
.step-num {
  font: 700 10px var(--mono);
  color: var(--blue);
  margin-bottom: 16px;
  display: block;
  letter-spacing: 2px;
}
[data-theme="light"] .step-num { color: var(--blue-dark); }
.step h3 { font-size: 17px; letter-spacing: -.03em; margin-bottom: 10px; color: var(--text); }
[data-theme="light"] .step h3 { color: var(--ink); }
.step p { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.65; }
[data-theme="light"] .step p { color: #4e5450; }

/* ── Subject / Exam tags ────────────────────────────────── */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}
.tag-pill {
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 10px 18px;
  font-size: 13px;
  color: var(--text-dim);
  transition: border-color .2s, color .2s, background .2s;
  cursor: default;
}
[data-theme="light"] .tag-pill { color: #1e2820; }
.tag-pill:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* ── Exam cards ─────────────────────────────────────────── */
.exam-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  margin-top: 48px;
}
.exam-card {
  background: var(--surface);
  padding: 28px;
  border-radius: 4px;
  border-top: 3px solid var(--blue);
  transition: background .3s;
}
.exam-card:hover { background: var(--surface2); }
[data-theme="light"] .exam-card { background: var(--surface); }
[data-theme="light"] .exam-card:hover { background: var(--surface2); }
.exam-card .exam-name { font-size: 22px; font-weight: 800; letter-spacing: -.04em; margin: 0 0 8px; color: var(--text); }
[data-theme="light"] .exam-card .exam-name { color: var(--ink); }
.exam-card .exam-full { font: 10px var(--mono); color: var(--text-muted); margin: 0 0 14px; text-transform: uppercase; letter-spacing: 1px; }
.exam-card p { font-size: 13px; color: var(--text-dim); margin: 0 0 18px; line-height: 1.65; }
[data-theme="light"] .exam-card p { color: #1e2820; }
.exam-card .exam-price { font: 700 13px var(--mono); color: var(--blue); }
[data-theme="light"] .exam-card .exam-price { color: var(--blue-dark); }
.exam-card .button { margin-top: 16px; }

/* ── Course catalog ─────────────────────────────────────── */
.course-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 20px;
  margin-top: 48px;
}
.course-card {
  background: var(--surface);
  padding: 28px 30px;
  border-radius: 4px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  transition: background .3s;
}
.course-card:hover { background: var(--surface2); }
[data-theme="light"] .course-card { background: var(--surface); }
[data-theme="light"] .course-card:hover { background: var(--surface2); }
.course-num {
  font: 700 26px var(--mono);
  color: var(--blue);
  opacity: .4;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}
.course-body h3 { font-size: 18px; letter-spacing: -.03em; margin: 0 0 8px; color: var(--text); }
[data-theme="light"] .course-body h3 { color: var(--ink); }
.course-body p { font-size: 13px; color: var(--text-muted); margin: 0 0 12px; line-height: 1.65; }
[data-theme="light"] .course-body p { color: #4e5450; }
.course-meta {
  display: flex;
  gap: 12px;
  font: 10px var(--mono);
  color: var(--text-muted);
  text-transform: uppercase;
  flex-wrap: wrap;
}
.course-meta span { color: var(--blue); }
[data-theme="light"] .course-meta span { color: var(--blue-dark); }

/* ── Materials cards ────────────────────────────────────── */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
  margin-top: 48px;
}
.material-card {
  background: var(--surface);
  padding: 22px;
  border-radius: 4px;
  border: 1px solid var(--border);
  transition: border-color .3s, background .3s;
}
.material-card:hover { border-color: var(--blue); background: var(--surface2); }
[data-theme="light"] .material-card { background: var(--surface); }
[data-theme="light"] .material-card:hover { background: var(--surface2); }
.material-icon { font-size: 26px; margin-bottom: 12px; display: block; }
.material-card h3 { font-size: 15px; letter-spacing: -.02em; margin: 0 0 8px; color: var(--text); line-height: 1.35; }
[data-theme="light"] .material-card h3 { color: var(--ink); }
.material-card p { font-size: 12px; color: var(--text-muted); margin: 0 0 14px; line-height: 1.6; }
[data-theme="light"] .material-card p { color: #4e5450; }
.material-card .mat-price { font: 700 13px var(--mono); color: var(--blue); }
[data-theme="light"] .material-card .mat-price { color: var(--blue-dark); }

/* ── Team grid ──────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
  margin-top: 48px;
}
.team-card {
  background: var(--surface);
  padding: 28px;
  border-radius: 4px;
  transition: background .3s;
  text-align: center;
}
.team-card:hover { background: var(--surface2); }
[data-theme="light"] .team-card { background: var(--surface); }
[data-theme="light"] .team-card:hover { background: var(--surface2); }
.team-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.team-card h3 { font-size: 17px; letter-spacing: -.03em; margin: 0 0 6px; color: var(--text); }
[data-theme="light"] .team-card h3 { color: var(--ink); }
.team-card .role { font: 10px var(--mono); color: var(--blue); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 10px; display: block; }
[data-theme="light"] .team-card .role { color: var(--blue-dark); }
.team-card p { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.65; }
[data-theme="light"] .team-card p { color: #4e5450; }

/* ── Values ─────────────────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 48px;
}
.value-item {
  background: var(--surface);
  padding: 30px;
  transition: background .3s;
}
.value-item:hover { background: var(--surface2); }
[data-theme="light"] .value-item { background: var(--bg); }
[data-theme="light"] .value-item:hover { background: var(--surface); }
.value-icon { font-size: 26px; margin-bottom: 12px; display: block; }
.value-item h3 { font-size: 19px; letter-spacing: -.03em; margin: 0 0 10px; color: var(--text); }
[data-theme="light"] .value-item h3 { color: var(--ink); }
.value-item p { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.7; }
[data-theme="light"] .value-item p { color: #4e5450; }

/* ── Auth pages ─────────────────────────────────────────── */
.auth {
  min-height: calc(100vh - 86px);
  display: grid;
  grid-template-columns: 1fr .7fr;
}
.auth > section {
  padding: 8vw max(5vw, calc((100vw - 680px)/2));
  background: var(--surface);
  color: var(--text);
  transition: background .3s;
}
[data-theme="light"] .auth > section { background: var(--bg); }
.auth .brand { margin-bottom: 56px; display: flex; }
.auth .brand-logo { height: 46px; }
.auth h1 {
  font-size: clamp(38px, 5vw, 66px);
  line-height: .97;
  letter-spacing: -.07em;
  color: var(--text);
}
[data-theme="light"] .auth h1 { color: var(--ink); }
.auth > section > p:not(.eyebrow):not(.auth-switch) {
  color: var(--text-muted);
  max-width: 460px;
  margin: 22px 0 32px;
  font-size: 15px;
  line-height: 1.7;
}
[data-theme="light"] .auth > section > p:not(.eyebrow):not(.auth-switch) { color: #3a4038; }
.auth form { max-width: 440px; }
.auth .button { width: max-content; margin-top: 8px; }
.auth-switch { font-size: 13px; margin-top: 22px; color: var(--text-muted); }
[data-theme="light"] .auth-switch { color: #3a4038; }
.auth-switch a { color: var(--blue); font-weight: 800; }
[data-theme="light"] .auth-switch a { color: var(--blue-dark); }
.auth > aside {
  background: var(--blue);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 5vw;
  font: 11px var(--mono);
  color: rgba(255,255,255,.72);
}
.auth > aside b {
  font: italic 34px/1.06 var(--serif);
  color: #fff;
  max-width: 340px;
  margin-top: 20px;
}
.auth > aside .auth-logo { margin-bottom: auto; width: 120px; filter: brightness(0) invert(1); }

/* ── Checkout & Success ─────────────────────────────────── */
.checkout, .success { padding: 9vw; min-height: 65vh; }
.checkout h1, .success h1 {
  font-size: clamp(44px, 5.5vw, 80px);
  letter-spacing: -.07em;
  margin: 0 0 40px;
  color: var(--text);
}
[data-theme="light"] .checkout h1,
[data-theme="light"] .success h1 { color: var(--ink); }
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr .6fr;
  gap: 7vw;
  max-width: 960px;
}
.checkout-grid section {
  border-top: 1px solid var(--border);
  padding-top: 18px;
}
.checkout-grid h3 { font-size: 20px; color: var(--text); }
[data-theme="light"] .checkout-grid h3 { color: var(--ink); }
.paypal-placeholder {
  border: 1px dashed var(--border);
  padding: 20px;
  color: var(--text-muted);
  margin-bottom: 14px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.7;
}
[data-theme="light"] .paypal-placeholder { color: #4e5450; }
.paypal-placeholder code { color: var(--blue); }
.success {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.success-mark {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

/* ── Dashboard ──────────────────────────────────────────── */
.dashboard {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 86px);
}
.dash-nav {
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: sticky;
  top: 86px;
  height: calc(100vh - 86px);
  overflow-y: auto;
  transition: background .3s;
}
[data-theme="light"] .dash-nav { background: var(--surface); }
.dash-nav .brand { margin-bottom: 44px; }
.dash-nav .brand-logo { height: 34px; }
.dash-nav > p {
  font: 700 9px var(--mono);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 18px 0 6px;
  padding: 0 10px;
}
[data-theme="light"] .dash-nav > p { color: #6e7870; }
.dash-nav a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  transition: background .2s, color .2s;
}
[data-theme="light"] .dash-nav a { color: #1e2820; }
.dash-nav a:hover { color: var(--text); background: var(--surface2); }
[data-theme="light"] .dash-nav a:hover { color: var(--ink); background: var(--surface2); }
.dash-nav a.active { color: var(--blue); background: rgba(34,61,255,.1); }
[data-theme="light"] .dash-nav a.active { color: var(--blue-dark); background: rgba(34,61,255,.08); }

.dash-content { padding: 6vw; }
.dash-content h1 {
  font-size: clamp(34px, 4vw, 58px);
  letter-spacing: -.06em;
  margin: 0 0 36px;
  color: var(--text);
}
[data-theme="light"] .dash-content h1 { color: var(--ink); }

.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  margin-bottom: 36px;
}
.dash-stats div {
  padding: 24px 20px;
  border-right: 1px solid var(--border);
  background: var(--surface);
  transition: background .3s;
}
.dash-stats div:last-child { border: 0; }
.dash-stats div:hover { background: var(--surface2); }
.dash-stats b {
  font-size: 32px;
  letter-spacing: -.06em;
  color: var(--blue);
  display: block;
  margin-bottom: 4px;
}
[data-theme="light"] .dash-stats b { color: var(--blue-dark); }
.dash-stats span { font: 9px var(--mono); color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; }
[data-theme="light"] .dash-stats span { color: #6e7870; }

.section-label {
  font: 700 10px var(--mono);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
[data-theme="light"] .section-label { color: #3a4038; }

.order-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 24px;
  align-items: center;
  background: var(--surface);
  padding: 18px 20px;
  margin-bottom: 8px;
  border-radius: 4px;
  border-left: 3px solid var(--blue);
  transition: background .3s;
}
.order-row:hover { background: var(--surface2); }
[data-theme="light"] .order-row { background: var(--surface); }
[data-theme="light"] .order-row:hover { background: var(--surface2); }
.order-row h3 { font-size: 15px; letter-spacing: -.02em; margin: 4px 0; color: var(--text); }
[data-theme="light"] .order-row h3 { color: var(--ink); }
.order-row p { font-size: 12px; color: var(--text-muted); margin: 0; }
[data-theme="light"] .order-row p { color: #4e5450; }
.order-row a { font: 700 12px var(--mono); color: var(--blue); white-space: nowrap; }
[data-theme="light"] .order-row a { color: var(--blue-dark); }

.status-badge {
  font: 700 9px var(--mono);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--blue-dim);
  color: var(--blue);
  padding: 3px 8px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 4px;
}
[data-theme="light"] .status-badge { color: var(--blue-dark); background: rgba(34,61,255,.1); }

.progress-bar {
  height: 4px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.progress-bar i {
  display: block;
  height: 100%;
  background: var(--blue);
  border-radius: 4px;
}

.empty { padding: 40px 0; }
.empty .lead { color: var(--text-muted); }
[data-theme="light"] .empty .lead { color: #4e5450; }

/* ── Admin dashboard ────────────────────────────────────── */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.admin-stat-card {
  background: var(--surface);
  padding: 22px;
  border-radius: 4px;
  border-top: 3px solid var(--blue);
  transition: background .3s;
}
.admin-stat-card:hover { background: var(--surface2); }
[data-theme="light"] .admin-stat-card { background: var(--surface); }
[data-theme="light"] .admin-stat-card:hover { background: var(--surface2); }
.admin-stat-card .stat-label { font: 10px var(--mono); color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 10px; }
[data-theme="light"] .admin-stat-card .stat-label { color: #3a4038; }
.admin-stat-card .stat-value { font-size: 28px; font-weight: 800; letter-spacing: -.05em; color: var(--blue); }
[data-theme="light"] .admin-stat-card .stat-value { color: var(--blue-dark); }
.admin-stat-card .stat-sub { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
[data-theme="light"] .admin-stat-card .stat-sub { color: #6e7870; }

.admin-table { border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.table-head, .table-row {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr 2fr;
  gap: 16px;
  padding: 14px 18px;
  align-items: center;
}
.table-head {
  background: var(--surface2);
  font: 700 10px var(--mono);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
[data-theme="light"] .table-head { color: #3a4038; background: var(--surface2); }
.table-row { border-bottom: 1px solid var(--border); background: var(--surface); transition: background .3s; }
.table-row:last-child { border: 0; }
.table-row:hover { background: var(--surface2); }
[data-theme="light"] .table-row { background: var(--surface); }
[data-theme="light"] .table-row:hover { background: var(--surface2); }
.table-row b { font-size: 14px; display: block; color: var(--text); }
[data-theme="light"] .table-row b { color: var(--ink); }
.table-row small { font: 11px var(--mono); color: var(--text-muted); display: block; margin-top: 2px; }
[data-theme="light"] .table-row small { color: #4e5450; }
.table-row select, .table-row input[type="number"] {
  font-size: 12px;
  padding: 6px 8px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  color: var(--text);
  margin-right: 8px;
}
[data-theme="light"] .table-row select,
[data-theme="light"] .table-row input[type="number"] {
  background: var(--bg);
  color: var(--ink);
  border-color: rgba(15,18,17,.25);
}
.table-row button {
  background: var(--blue);
  color: #fff;
  border: 0;
  border-radius: 4px;
  padding: 6px 12px;
  font: 700 11px var(--sans);
  cursor: pointer;
  letter-spacing: .04em;
  transition: opacity .2s;
}
.table-row button:hover { opacity: .8; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-list { margin-top: 38px; max-width: 760px; }
.faq-item { border-top: 1px solid var(--border); padding: 18px 0; }
.faq-item h3 { font-size: 16px; letter-spacing: -.02em; margin: 0 0 8px; color: var(--text); }
[data-theme="light"] .faq-item h3 { color: var(--ink); }
.faq-item p { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.7; }
[data-theme="light"] .faq-item p { color: #4e5450; }

/* ── CTA Banner ─────────────────────────────────────────── */
.cta-banner {
  background: var(--blue);
  border-radius: 8px;
  padding: 56px 60px;
  margin: 3vw 4.5vw;
  color: #fff;
}
.cta-banner h2 {
  font-size: clamp(28px, 3.5vw, 50px);
  letter-spacing: -.06em;
  margin: 0 0 14px;
  color: #fff;
}
.cta-banner p { color: rgba(255,255,255,.8); font-size: 16px; margin: 0 0 30px; }
.cta-banner .button { background: #fff; color: var(--blue); }
.cta-banner .button:hover { background: var(--paper); opacity: 1; }

/* ── Footer ─────────────────────────────────────────────── */
footer { margin-top: 8vw; border-top: 1px solid var(--border); }
.footer-cta { padding: 8vw 10vw; }
.footer-cta .eyebrow { color: var(--blue); }
[data-theme="light"] .footer-cta .eyebrow { color: var(--blue-dark); }
.footer-cta h2 {
  font-size: clamp(32px, 4.5vw, 65px);
  line-height: 1.02;
  letter-spacing: -.06em;
  margin: 0 0 36px;
  color: var(--text);
}
[data-theme="light"] .footer-cta h2 { color: var(--ink); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 28px 10vw;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}
.footer-bottom .brand { color: var(--text); }
.footer-bottom .brand-logo { height: 32px; }
.footer-bottom div:last-child { text-align: right; }
.footer-bottom a:hover { color: var(--blue); }
.footer-bottom p { font-size: 12px; color: var(--text-muted); }
[data-theme="light"] .footer-bottom p { color: #4e5450; }
.footer-links { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.footer-links a { font-size: 12px; font-weight: 600; color: var(--text-dim); transition: color .2s; }
[data-theme="light"] .footer-links a { color: #1e2820; }
.footer-links a:hover { color: var(--blue); }

/* ── Scroll reveal ──────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ── Inline content helpers ─────────────────────────────── */
.info-box {
  background: var(--surface);
  padding: 32px;
  border-left: 4px solid var(--blue);
  border-radius: 4px;
}
[data-theme="light"] .info-box { background: var(--surface); }
.info-box h3 { font-size: 20px; letter-spacing: -.03em; margin: 0 0 14px; color: var(--text); }
[data-theme="light"] .info-box h3 { color: var(--ink); }
.info-box p { color: var(--text-dim); font-size: 15px; margin: 0; line-height: 1.75; }
[data-theme="light"] .info-box p { color: #1e2820; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin: 40px 0;
}
.stat-cell {
  background: var(--surface);
  padding: 28px 24px;
  transition: background .3s;
}
[data-theme="light"] .stat-cell { background: var(--bg); }
.stat-cell:hover { background: var(--surface2); }
.stat-cell strong { font-size: 36px; letter-spacing: -.06em; color: var(--blue); display: block; margin-bottom: 4px; }
[data-theme="light"] .stat-cell strong { color: var(--blue-dark); }
.stat-cell span { font: 10px var(--mono); color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.5px; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1000px) {
  .site-header nav { gap: 16px; }
  .hero { grid-template-columns: 1fr; gap: 40px; }
  .hero { min-height: auto; padding: 60px 5vw 50px; }
  .hero-art { height: 300px; }
  .metrics { grid-template-columns: repeat(2, 1fr); margin: 0 5vw; }
  .metrics div:nth-child(2) { border-right: 0; }
  .metrics div:nth-child(3) { border-top: 1px solid var(--border); }
  .service-grid, .feature-grid { grid-template-columns: repeat(2,1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; }
  .exam-grid { grid-template-columns: repeat(2,1fr); }
  .materials-grid { grid-template-columns: repeat(2,1fr); }
  .admin-stats { grid-template-columns: repeat(2,1fr); }
  .process-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .site-header nav { display: none; flex-direction: column; position: absolute; top: 86px; left: 0; right: 0; background: var(--header-bg); padding: 20px 5vw; border-bottom: 1px solid var(--border); z-index: 200; backdrop-filter: blur(18px); }
  .site-header nav.open { display: flex; }
  .nav-toggle { display: block; }
  .header-action { display: none; }
  .theme-toggle { margin-left: auto; }
  .split-story { grid-template-columns: 1fr; gap: 30px; }
  .split-story > div:last-child { padding-top: 0; }
  .two-col { grid-template-columns: 1fr; gap: 30px; }
  .form-shell { grid-template-columns: 1fr; }
  .form-shell aside { border-left: 0; border-top: 1px solid var(--border); padding-left: 0; padding-top: 32px; }
  .detail-layout { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .course-grid { grid-template-columns: 1fr; }
  .auth { grid-template-columns: 1fr; }
  .auth > aside { display: none; }
  .team-grid, .materials-grid, .values-grid, .admin-stats { grid-template-columns: 1fr 1fr; }
  .dashboard { grid-template-columns: 1fr; }
  .dash-nav {
    position: static;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    padding: 16px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
  }
  .dash-nav .brand { display: none; }
  .dash-nav > p { display: none; }
  .dash-content { padding: 32px 20px; }
  .dash-stats { grid-template-columns: 1fr 1fr; }
  .admin-table { overflow-x: auto; }
  .footer-cta { padding: 60px 5vw; }
  .footer-bottom { padding: 22px 5vw; grid-template-columns: 1fr; gap: 16px; }
  .footer-bottom div:last-child { text-align: left; }
  .footer-links { justify-content: flex-start; }
  .cta-banner { margin: 5vw 5vw; padding: 40px 28px; }
  .inner { padding: 40px 5vw 0; }
  .inner-pad { padding: 40px 5vw; }
  .section { padding: 60px 5vw; }
  .checkout { padding: 40px 5vw; }
  .checkout-grid { grid-template-columns: 1fr; }
  .exam-grid { grid-template-columns: 1fr; }
  .service-grid, .feature-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .order-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .team-grid, .materials-grid, .values-grid, .admin-stats { grid-template-columns: 1fr; }
  .dash-stats { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; }
}
