/* ============================================================
   PH Learns AI — design system
   Font: Sora (headings) · Inter (body) · Great Vibes (signature)
   ============================================================ */

:root {
  --ink: #191333;
  --ink-2: #4a4568;
  --muted: #837e9e;
  --paper: #fff;
  --bg: #f7f6fc;
  --line: #e8e5f5;
  --violet: #6c4cf6;
  --violet-2: #8b5cfb;
  --violet-deep: #3d2bb8;
  --violet-soft: #efeafe;
  --lime: #cdf463;
  --lime-deep: #b9e342;
  --gold: #c9a227;
  --sun: #ffb020;
  --coral: #ff6b6b;
  --teal: #14b8a6;
  --green: #0e9f6e;
  --green-soft: #e8f8f0;
  --red-soft: #fff1f0;
  --shadow: 0 10px 30px -12px rgba(25, 19, 51, .18);
  --shadow-lg: 0 24px 60px -20px rgba(25, 19, 51, .28);
  --r: 20px;
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-script: 'Great Vibes', cursive;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--ink);
  letter-spacing: -.01em;
}

p { margin: 0 0 1em; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

section { padding: 72px 0; }
.section-tight { padding: 40px 0 64px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 0; z-index: 100;
}
.skip-link:focus { left: 0; }

.muted { color: var(--muted); }
.center { text-align: center; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .05em; }

/* ------------------------------ buttons ------------------------------ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  padding: 13px 26px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
  text-decoration: none !important; line-height: 1.2;
}
.btn:active { transform: translateY(1px); }

.btn-lime { background: var(--lime); color: #1e1833; box-shadow: 0 10px 24px -8px rgba(205, 244, 99, .5); }
.btn-lime:hover { background: var(--lime-deep); transform: translateY(-2px); text-decoration: none; }

.btn-violet {
  background: linear-gradient(135deg, var(--violet), var(--violet-2)); color: #fff;
  box-shadow: 0 12px 26px -10px rgba(108, 76, 246, .6);
}
.btn-violet:hover { transform: translateY(-2px); filter: brightness(1.06); text-decoration: none; }

.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .35); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); text-decoration: none; }

.btn-outline { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--violet); color: var(--violet); text-decoration: none; }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2258; text-decoration: none; }

.btn-sm { padding: 9px 18px; font-size: .85rem; }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ------------------------------ nav ------------------------------ */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18, 14, 42, .94); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.nav-inner { display: flex; align-items: center; gap: 26px; height: 68px; }

.logo {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.12rem;
  text-decoration: none !important;
}
.logo em { font-style: normal; color: var(--lime); }
.logo-badge {
  width: 38px; height: 38px; flex: 0 0 38px; border-radius: 10px;
  display: grid; place-items: center; overflow: hidden;
  background: #fff; border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: 0 6px 14px -4px rgba(0, 0, 0, .34);
}
.logo-badge img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
footer .logo-badge { border-color: rgba(255, 255, 255, .16); }

.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: rgba(255, 255, 255, .75); font-weight: 600; font-size: .92rem; text-decoration: none !important; }
.nav-links a:hover, .nav-links a.active { color: #fff; }

.nav-cta { display: flex; align-items: center; }
.nav-user { display: inline-flex; align-items: center; gap: 9px; text-decoration: none !important; }
.nav-ava {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--lime); color: #1e1833; display: grid; place-items: center;
  font-weight: 800; font-size: .78rem; font-family: var(--font-head);
}
.nav-name { color: #fff; font-weight: 600; font-size: .9rem; }

.burger {
  display: none; margin-left: auto; background: none; border: 0; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 8px;
}
.burger span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: .2s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  .burger { display: flex; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    background: #171233; flex-direction: column; align-items: flex-start;
    padding: 18px 24px; gap: 15px; display: none;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .nav-links.open { display: flex; }
  .nav-links { margin-left: 0; }
  .nav-inner { gap: 14px; }
  .nav-cta { margin-left: 0; }
  .nav-name { display: none; }
}

/* ------------------------------ hero ------------------------------ */

.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(640px 420px at 88% -12%, rgba(109, 74, 255, .48), transparent 62%),
    radial-gradient(520px 400px at -6% 108%, rgba(255, 107, 92, .26), transparent 60%),
    radial-gradient(430px 320px at 46% 122%, rgba(58, 180, 255, .22), transparent 60%),
    #120e2a;
  padding: 84px 0 100px;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  color: #fff; font-weight: 600; font-size: .8rem;
  padding: 7px 15px; border-radius: 999px; margin-bottom: 22px;
}

.hero-grid { display: grid; grid-template-columns: 1.06fr .92fr; gap: 56px; align-items: center; }

.hero h1 { font-size: clamp(2.15rem, 4.6vw, 3.5rem); font-weight: 800; color: #fff; }
.hero h1 .hl { color: var(--lime); }
.hero .lead { color: rgba(255, 255, 255, .78); font-size: 1.08rem; max-width: 34em; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 22px; }

.hero-proof { display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .72); font-size: .88rem; }
.hero-proof .stars { color: var(--sun); font-size: 1rem; letter-spacing: 2px; }

.stars { color: var(--sun); letter-spacing: 2px; }

/* phone mock-up */

.hero-visual { position: relative; }

.phone {
  width: min(340px, 84vw); margin: 0 auto; position: relative; z-index: 2;
  border-radius: 42px; background: #1b1638; padding: 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: var(--shadow-lg), 0 0 0 6px rgba(255, 255, 255, .03);
}
.phone-notch { width: 110px; height: 20px; background: #1b1638; border-radius: 0 0 14px 14px; margin: 0 auto 12px; }
.phone-screen { background: var(--bg); border-radius: 30px; padding: 18px 16px 20px; color: var(--ink); }

.mini-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.mini-ava {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--violet-2));
  color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .72rem;
}
.mini-head b { display: block; font-size: .85rem; line-height: 1.2; }
.mini-head small { color: var(--muted); font-size: .7rem; }
.mini-bell { margin-left: auto; font-size: 1rem; }

.mini-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 13px; margin-bottom: 10px;
}
.mini-course { display: flex; gap: 11px; align-items: center; }
.mini-icon {
  width: 42px; height: 42px; min-width: 42px; border-radius: 12px; font-size: 20px;
  display: grid; place-items: center; background: var(--violet-soft);
}
.mini-course b { font-size: .86rem; display: block; }
.mini-course small { color: var(--muted); font-size: .72rem; }
.mini-bar { height: 6px; background: #e9e6f6; border-radius: 99px; margin-top: 6px; overflow: hidden; }
.mini-bar i { display: block; height: 100%; width: 50%; background: linear-gradient(90deg, var(--violet), var(--violet-2)); border-radius: 99px; }

.mini-quiz small { color: var(--violet-deep); font-weight: 700; font-size: .62rem; letter-spacing: .1em; }
.mini-quiz p { font-family: var(--font-head); font-weight: 700; font-size: .88rem; margin: 6px 0 10px; }
.mini-opt {
  display: block; font-size: .74rem; padding: 8px 11px; border: 1.5px solid var(--line);
  border-radius: 10px; margin-bottom: 7px; color: var(--ink-2);
}
.mini-opt.sel { background: var(--violet-soft); border-color: var(--violet); color: var(--violet-deep); font-weight: 600; }

.mini-cert { display: flex; align-items: center; gap: 10px; }
.mini-cert b { font-size: .84rem; display: block; }
.mini-cert small { color: var(--muted); font-size: .7rem; }
.mini-seal {
  margin-left: auto; width: 38px; height: 38px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #f3dfa2, #c9a227 58%, #9a7a14);
  color: #5c4708; display: grid; place-items: center; font-weight: 800; font-size: .7rem;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .35);
}

.float-chip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255, 255, 255, .95); color: var(--ink);
  font-weight: 700; font-size: .78rem; padding: 9px 14px; border-radius: 999px;
  box-shadow: var(--shadow); animation: float 6s ease-in-out infinite;
}
.float-chip.c1 { top: 6%; left: -4%; }
.float-chip.c2 { bottom: 14%; right: -6%; animation-delay: 1.6s; }
.float-chip.c3 { top: 44%; left: -12%; animation-delay: 3.2s; }

@keyframes float { 50% { transform: translateY(-11px); } }

/* tools marquee */

.tools-strip { background: #0d0a22; padding: 22px 0 26px; border-top: 1px solid rgba(255, 255, 255, .07); overflow: hidden; }
.tools-label { color: rgba(255, 255, 255, .45); text-align: center; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; margin-bottom: 16px; }
.marquee { display: flex; gap: 14px; width: max-content; animation: scrollX 34s linear infinite; }
.marquee span {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  color: rgba(255, 255, 255, .8); background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px;
  padding: 8px 18px; font-size: .86rem; font-weight: 600;
}
@keyframes scrollX { to { transform: translateX(-50%); } }

/* stats */

.stats { background: #0d0a22; padding: 30px 0 44px; color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.stat b { font-family: var(--font-head); font-size: 1.95rem; font-weight: 800; display: block; color: var(--lime); }
.stat span { color: rgba(255, 255, 255, .62); font-size: .87rem; }

/* ------------------------------ sections ------------------------------ */

.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(1.65rem, 3vw, 2.3rem); }
.section-head p { color: var(--muted); font-size: 1.02rem; }

.eyebrow-light {
  display: inline-block; color: var(--violet-deep); background: var(--violet-soft);
  font-weight: 700; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}

/* course cards */

.grid-courses { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }

.course-card {
  --accent: #6c4cf6;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px; display: flex; flex-direction: column; gap: 13px;
  transition: transform .22s, box-shadow .22s, border-color .22s;
  position: relative; overflow: hidden;
}
.course-card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--violet-2));
}
.course-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; text-decoration: none; }

.cc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.cc-icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  font-size: 26px; background: #f1eeff; border: 1px solid var(--line);
}
.cc-rating { text-align: right; font-size: .8rem; color: var(--muted); font-weight: 600; white-space: nowrap; }
.cc-rating .stars { font-size: .85rem; }

.cc-cat {
  display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--violet-deep); background: var(--violet-soft);
  padding: 4px 10px; border-radius: 999px; align-self: flex-start;
}
.cc-title { font-family: var(--font-head); font-size: 1.13rem; font-weight: 700; color: var(--ink); }
.cc-tag { color: var(--muted); font-size: .89rem; flex: 1; }
.cc-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .8rem; color: var(--muted); }
.cc-meta b { color: var(--ink-2); font-weight: 600; }

.cc-progress { display: flex; align-items: center; gap: 10px; font-size: .78rem; color: var(--muted); }
.progress-track { flex: 1; height: 8px; background: #e9e6f6; border-radius: 99px; overflow: hidden; }
.progress-fill { display: block; height: 100%; background: linear-gradient(90deg, var(--violet), var(--violet-2)); border-radius: 99px; }

.cc-btn {
  text-align: center; padding: 11px; border-radius: 12px;
  font-weight: 700; font-size: .88rem; background: var(--violet-soft); color: var(--violet-deep);
}
.course-card:hover .cc-btn { background: var(--violet); color: #fff; }

/* steps */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 22px; }
.step-num {
  width: 42px; height: 42px; border-radius: 13px; background: var(--violet-soft);
  color: var(--violet-deep); font-family: var(--font-head); font-weight: 800;
  display: grid; place-items: center; margin-bottom: 15px; font-size: 1.05rem;
}
.step h3 { font-size: 1.02rem; }
.step p { color: var(--muted); font-size: .9rem; margin: 0; }

/* certificate showcase */

.cert-showcase {
  background:
    radial-gradient(560px 380px at 12% -10%, rgba(109, 74, 255, .4), transparent 60%),
    radial-gradient(460px 340px at 96% 112%, rgba(205, 244, 99, .14), transparent 60%),
    #1a1338;
  color: #fff;
}
.cert-showcase .section-head h2 { color: #fff; }
.cert-showcase .section-head p { color: rgba(255, 255, 255, .7); }
.cert-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.cert-grid h2 { font-size: clamp(1.65rem, 3vw, 2.3rem); color: #fff; }
.cert-grid p { color: rgba(255, 255, 255, .75); }
.cert-points { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 12px; }
.cert-points li { display: flex; gap: 11px; align-items: flex-start; color: rgba(255, 255, 255, .88); font-size: .95rem; }
.cert-points .tick { color: var(--lime); font-weight: 800; }

/* signatory */

.signatory-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.bigquote {
  font-family: var(--font-head); font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-weight: 700;
  line-height: 1.4; color: var(--ink); margin: 26px 0 18px; position: relative; padding-left: 26px;
  border-left: 4px solid var(--violet);
}
.sign-card {
  background: linear-gradient(160deg, var(--violet-soft), #fff 65%);
  border: 1px solid var(--line); border-radius: 26px; padding: 34px 30px; text-align: center;
  box-shadow: var(--shadow);
}
.sign-mono {
  width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--violet), var(--violet-2)); color: #fff;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.5rem;
  box-shadow: 0 12px 26px -10px rgba(108, 76, 246, .65);
}
.sign-card h3 { margin-bottom: 2px; font-size: 1.2rem; }
.sign-card .role { color: var(--violet-deep); font-weight: 600; font-size: .85rem; }
.sign-card .sig { display: flex; align-items: center; justify-content: center; margin: 16px 0 2px; min-height: 64px; }
.sign-card .sig img { height: 68px; width: auto; transform: rotate(-2.5deg); mix-blend-mode: multiply; filter: contrast(1.08) saturate(.9); }
.sign-card .sig-text { display: none; font-family: var(--font-script); font-size: 2.3rem; color: var(--ink); transform: rotate(-2.5deg); }
.sign-card .sig-fallback .sig-text { display: block; }
.sign-card .sig-cap { font-size: .78rem; color: var(--muted); border-top: 1px solid #d9d2f2; padding-top: 10px; }
.sign-badges { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; margin-top: 18px; }
.sign-badges span {
  font-size: .7rem; font-weight: 700; background: #fff; border: 1px solid var(--line);
  color: var(--ink-2); border-radius: 999px; padding: 4px 11px;
}

/* FAQ */

.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 920px; margin: 0 auto; }
details.faq { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
details.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px;
  padding: 18px 22px; font-weight: 600; font-family: var(--font-head); font-size: .95rem; color: var(--ink);
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: '+'; color: var(--violet); font-weight: 800; font-size: 1.15rem; line-height: 1; }
details.faq[open] summary::after { content: '–'; }
details.faq[open] summary { color: var(--violet-deep); }
details.faq .faq-a { padding: 0 22px 20px; color: var(--ink-2); font-size: .93rem; }

/* CTA band */

.cta-band {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  background:
    radial-gradient(520px 320px at 80% -20%, rgba(139, 92, 251, .5), transparent 60%),
    radial-gradient(420px 300px at 8% 120%, rgba(205, 244, 99, .16), transparent 60%),
    #221a4d;
  border-radius: 30px; padding: 66px 34px; margin: 0 24px;
}
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.cta-band p { color: rgba(255, 255, 255, .75); max-width: 44em; margin: 0 auto 26px; }

/* footer */

footer { background: #0d0a22; color: rgba(255, 255, 255, .66); padding: 58px 0 30px; margin-top: 84px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; }
.footer-blurb { font-size: .88rem; margin-top: 16px; max-width: 30em; }
footer h4 { color: #fff; font-size: .92rem; margin-bottom: 14px; }
footer nav { display: grid; gap: 9px; }
footer nav a { color: rgba(255, 255, 255, .66); font-size: .88rem; text-decoration: none; }
footer nav a:hover { color: #fff; }
.footer-sig {
  border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 38px; padding-top: 22px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .82rem;
}
.footer-sig strong { color: #fff; }

/* ------------------------------ inner pages ------------------------------ */

.page-hero {
  background: linear-gradient(180deg, #f1edff, var(--bg));
  border-bottom: 1px solid var(--line); padding: 42px 0 34px;
}
.breadcrumbs { font-size: .84rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumbs a { color: var(--violet-deep); }

.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; background: #fff;
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px;
  font-size: .82rem; font-weight: 600; color: var(--ink-2);
}
.chip-pass { background: var(--green-soft); color: var(--green); border-color: #bfe9d6; }
.chip-warn { background: var(--red-soft); color: #b3261e; border-color: #ffd8d4; }
.chip-vio { background: var(--violet-soft); color: var(--violet-deep); border-color: #ddccff; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.panel h2:first-child, .panel h3:first-child { margin-top: 0; }

.page-hero-grid { display: grid; grid-template-columns: 1fr 330px; gap: 32px; align-items: start; }
.course-jumbo { display: flex; gap: 22px; align-items: flex-start; flex-wrap: wrap; }
.jumbo-icon {
  width: 84px; height: 84px; min-width: 84px; border-radius: 24px; font-size: 40px;
  display: grid; place-items: center; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.course-jumbo h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 6px; }
.course-jumbo .tagline { color: var(--ink-2); font-size: 1.02rem; max-width: 40em; }

.learn-grid { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; padding: 38px 0 70px; }

.objectives { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0 30px; }
.obj { display: flex; gap: 11px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-size: .92rem; align-items: flex-start; }
.obj .tick { color: var(--teal); font-weight: 800; }

.lesson-list { display: grid; gap: 12px; }
.lesson-row {
  display: flex; gap: 16px; align-items: center; padding: 16px 18px;
  border: 1px solid var(--line); border-radius: 16px; background: #fff;
  transition: border-color .2s, box-shadow .2s; text-decoration: none !important; color: var(--ink);
}
.lesson-row:hover { border-color: var(--violet); box-shadow: var(--shadow); }
.lesson-num {
  width: 38px; height: 38px; min-width: 38px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: .88rem;
  background: var(--violet-soft); color: var(--violet-deep);
}
.lesson-row.done .lesson-num { background: var(--violet); color: #fff; }
.lesson-row b { display: block; font-family: var(--font-head); font-size: .98rem; }
.lesson-row small { color: var(--muted); font-size: .82rem; }
.lesson-row .arrow { margin-left: auto; color: var(--violet); font-weight: 700; }

.side-progress { display: grid; gap: 16px; }
.side-progress .big { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; }

/* ------------------------------ lesson page ------------------------------ */

.lesson-grid { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; padding: 38px 0 70px; }
.lesson-side { position: sticky; top: 92px; display: grid; gap: 18px; }
.side-lesson { display: flex; gap: 11px; align-items: center; padding: 10px 12px; border-radius: 12px; text-decoration: none !important; color: var(--ink-2); font-size: .86rem; border: 1px solid transparent; }
.side-lesson:hover { background: var(--violet-soft); }
.side-lesson.current { background: var(--violet-soft); border-color: #ddccff; color: var(--violet-deep); font-weight: 600; }
.side-lesson .n { width: 26px; height: 26px; min-width: 26px; border-radius: 8px; background: #e9e6f6; display: grid; place-items: center; font-size: .72rem; font-weight: 700; }
.side-lesson.done .n { background: var(--violet); color: #fff; }

.prose { font-size: 1.03rem; color: var(--ink-2); }
.prose h3 { font-size: 1.28rem; margin: 1.9em 0 .6em; color: var(--ink); }
.prose p { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-left: 1.35em; margin: 0 0 1.3em; }
.prose li { margin-bottom: .55em; }
.prose strong { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: .94rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.prose th { background: var(--violet-soft); text-align: left; padding: 10px 14px; font-family: var(--font-head); font-size: .82rem; color: var(--violet-deep); }
.prose td { padding: 10px 14px; border-top: 1px solid var(--line); }
.prose blockquote { margin: 1.5em 0; padding: 15px 20px; border-left: 4px solid var(--violet); background: var(--violet-soft); border-radius: 0 12px 12px 0; color: var(--ink); font-style: italic; }

.lesson-head { margin-bottom: 26px; }
.lesson-head h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.pager { display: flex; justify-content: space-between; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
.complete-cta { margin-top: 30px; padding: 22px; background: var(--violet-soft); border: 1px dashed #c9b6ff; border-radius: 16px; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.complete-cta p { margin: 0; font-weight: 600; color: var(--violet-deep); }

/* ------------------------------ exam ------------------------------ */

.exam-top { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.exam-top .progress-track { flex: 1; min-width: 160px; }
.exam-count { font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--ink-2); white-space: nowrap; }

.dots { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.dot {
  width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center;
  font-size: .78rem; font-weight: 700; background: #fff; border: 1.5px solid var(--line);
  color: var(--ink-2); text-decoration: none !important;
}
.dot.answered { background: var(--violet-soft); border-color: var(--violet); color: var(--violet-deep); }
.dot.current { background: var(--ink); border-color: var(--ink); color: #fff; }

.q-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 4vw, 34px); }
.q-kicker { font-family: var(--font-head); color: var(--violet); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; }
.q-text { font-family: var(--font-head); font-size: clamp(1.12rem, 2.4vw, 1.42rem); margin: 10px 0 24px; line-height: 1.4; }

.opts { display: grid; gap: 12px; }
.opt {
  display: flex; gap: 14px; align-items: center; border: 1.5px solid var(--line);
  border-radius: 14px; padding: 15px 17px; cursor: pointer; background: #fff;
  transition: border-color .15s, background .15s; font-weight: 500; color: var(--ink);
}
.opt:hover { border-color: var(--violet); }
.opt input { width: 18px; height: 18px; accent-color: var(--violet); flex-shrink: 0; }
.opt:has(input:checked) { border-color: var(--violet); background: var(--violet-soft); box-shadow: 0 0 0 3px rgba(108, 76, 246, .13); }
.opt-key {
  width: 27px; height: 27px; min-width: 27px; border-radius: 8px; background: #f1eeff;
  display: grid; place-items: center; font-weight: 800; font-size: .74rem; color: var(--violet-deep);
}

.exam-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; gap: 14px; flex-wrap: wrap; }
.skip-link-quiz { font-size: .85rem; color: var(--muted); }

/* ------------------------------ results ------------------------------ */

.result-hero { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.ring { --p: 0; width: 158px; height: 158px; border-radius: 50%; margin: 0 auto 22px; background: conic-gradient(var(--violet) calc(var(--p) * 1%), #e9e6f6 0); display: grid; place-items: center; }
.ring > div { width: 122px; height: 122px; background: #fff; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.55rem; line-height: 1.1; }
.ring > div small { display: block; font-size: .68rem; color: var(--muted); font-weight: 600; }
.ring.passed { background: conic-gradient(var(--green) calc(var(--p) * 1%), #e9e6f6 0); }

.result-actions { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

.review-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; margin-bottom: 14px; }
.review-item .q { font-family: var(--font-head); font-weight: 700; font-size: 1rem; margin-bottom: 12px; }
.ans-line { display: flex; gap: 10px; align-items: flex-start; padding: 10px 14px; border-radius: 11px; margin-bottom: 8px; font-size: .92rem; }
.ans-line .lab { font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; flex-shrink: 0; padding-top: 2px; }
.ans-correct { background: var(--green-soft); border: 1px solid #bfe9d6; color: #0b6b4a; }
.ans-wrong { background: var(--red-soft); border: 1px solid #ffd8d4; color: #b3261e; }
.ans-neutral { background: #f6f5fb; border: 1px solid var(--line); color: var(--ink-2); }
.explain { background: var(--violet-soft); border-radius: 11px; padding: 12px 15px; font-size: .88rem; color: var(--violet-deep); margin-top: 10px; }

/* ------------------------------ certificate ------------------------------ */

.cert-toolbar { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 26px; }

.cert-wrap { max-width: 1040px; margin: 30px auto 60px; padding: 0 4px; }

.cert {
  background: radial-gradient(circle at 50% 0, #fffdf5, #fff8e8);
  border: 1px solid #e8dcb2; border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: clamp(16px, 3.4vw, 42px);
  color: #2b2410; position: relative;
  print-color-adjust: exact; -webkit-print-color-adjust: exact;
}
.cert-inner { border: 2px solid #d8c273; border-radius: 8px; padding: clamp(20px, 4vw, 52px); position: relative; }
.cert-inner::before { content: ''; position: absolute; inset: 7px; border: 1px solid #e6d79b; border-radius: 6px; pointer-events: none; }
.cert-corner { position: absolute; font-size: .85rem; color: #c9a227; }
.cert-corner.tl { top: 12px; left: 14px; } .cert-corner.tr { top: 12px; right: 14px; }
.cert-corner.bl { bottom: 12px; left: 14px; } .cert-corner.br { bottom: 12px; right: 14px; }

.cert-brand { text-align: center; letter-spacing: .34em; font-weight: 800; font-size: clamp(.7rem, 1.6vw, .86rem); color: #8a6d14; text-transform: uppercase; }
.cert-brand small { display: block; letter-spacing: .2em; font-weight: 600; color: #a3904e; font-size: .68em; margin-top: 3px; }

.cert-title { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.6rem, 4vw, 2.6rem); text-align: center; margin: 14px 0 4px; color: #2b2410; }
.cert-kicker { text-align: center; color: #8a7b45; font-size: clamp(.78rem, 1.6vw, .95rem); letter-spacing: .18em; text-transform: uppercase; font-weight: 700; }
.cert-present { text-align: center; color: #6b6046; font-size: clamp(.9rem, 1.8vw, 1.05rem); margin: clamp(14px, 3vw, 26px) 0 4px; }
.cert-name { font-family: var(--font-script); font-size: clamp(2.5rem, 7vw, 4.3rem); text-align: center; color: var(--violet-deep); line-height: 1.25; margin: 0 clamp(6px, 2vw, 18px); }
.cert-rule { width: min(420px, 70%); height: 1.5px; margin: clamp(8px, 2vw, 16px) auto clamp(14px, 3vw, 26px); background: linear-gradient(90deg, transparent, #c9a227, transparent); border: 0; }

.cert-body { text-align: center; color: #55503b; font-size: clamp(.9rem, 1.8vw, 1.05rem); max-width: 640px; margin: 0 auto; }
.cert-course {
  display: inline-block; font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.05rem, 2.6vw, 1.5rem); color: #2b2410;
  border: 1.5px solid #c9a227; border-radius: 999px; padding: 8px 26px; margin: 12px 0;
  background: rgba(201, 162, 39, .07);
}
.cert-score { display: block; margin-top: 4px; font-size: clamp(.85rem, 1.7vw, .95rem); color: #8a7b45; }

.cert-meta { display: flex; justify-content: space-between; align-items: flex-end; gap: 26px; margin-top: clamp(26px, 5vw, 48px); flex-wrap: wrap; }
.cert-block { min-width: 180px; }
.cert-block .cap { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: #a3904e; font-weight: 700; display: block; margin-bottom: 4px; }
.cert-block .val { font-weight: 700; color: #2b2410; font-size: .95rem; }

.seal {
  width: clamp(86px, 10vw, 108px); height: clamp(86px, 10vw, 108px); border-radius: 50%; margin: 0 auto;
  background: radial-gradient(circle at 32% 30%, #f3dfa2, #c9a227 58%, #9a7a14);
  display: grid; place-items: center; position: relative; overflow: hidden;
  border: 4px solid #c9a227;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .38), 0 8px 20px -8px rgba(154, 122, 20, .55);
  print-color-adjust: exact; -webkit-print-color-adjust: exact;
}
/* The supplied PH Learns AI mark is the certificate’s official seal. */
.seal img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: center;
  -webkit-print-color-adjust: exact; print-color-adjust: exact;
}
.seal::after {
  content: ''; position: absolute; inset: 5px; border: 1.5px solid rgba(255, 255, 255, .58);
  border-radius: 50%; pointer-events: none;
}
.seal b, .seal small { display: none; }

.cert-sign { text-align: center; min-width: 240px; }
.cert-sign .sig { line-height: 1.2; min-height: 64px; display: flex; align-items: flex-end; justify-content: center; }
.cert-sign .sig img {
  height: clamp(52px, 6vw, 76px);
  width: auto;
  transform: rotate(-2.5deg);
  mix-blend-mode: multiply;       /* ink look: white pixels vanish into the parchment */
  filter: contrast(1.08) saturate(.9);
  -webkit-print-color-adjust: exact; print-color-adjust: exact;
}
/* typed fallback shown only if the signature image fails to load */
.cert-sign .sig-text { display: none; font-family: var(--font-script); font-size: clamp(1.9rem, 4vw, 2.4rem); color: #2b2410; transform: rotate(-2.5deg); }
.cert-sign .sig-fallback .sig-text { display: block; }
.cert-sign .sig-fallback { min-height: auto; }
.sig-line { border-top: 1.5px solid #b3a26a; margin-top: 4px; padding-top: 8px; font-size: .74rem; color: #6b6046; line-height: 1.5; }

.cert-id-strip {
  margin-top: clamp(20px, 4vw, 34px); padding-top: 14px; border-top: 1px dashed #d8c273;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: clamp(.7rem, 1.5vw, .8rem); color: #6b6046;
}
.cert-id-strip .mono { color: #8a6d14; font-weight: 700; }

.cert-mini { transform: rotate(-1.6deg); border-radius: 10px; }
/* The homepage certificate is a compact visual preview, not a full diploma. */
.cert-mini .cert-brand { font-size: .56rem; }
.cert-mini .cert-brand small { font-size: .62em; }
.cert-chip {
  position: absolute; z-index: 3; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 10px 18px; font-size: .82rem; font-weight: 700;
  box-shadow: var(--shadow); animation: float 6s ease-in-out infinite;
}
.cert-chip.v { bottom: -14px; left: 8%; }
.cert-chip.s { top: -14px; right: 6%; animation-delay: 2s; }
.cert-visual { position: relative; }

@media print {
  @page { size: A4 landscape; margin: 10mm; }

  html, body { background: #fff; }

  /* keep the parchment tint, gold borders and seal when printing */
  .cert, .cert *, .seal { -webkit-print-color-adjust: exact; print-color-adjust: exact; }

  .no-print { display: none !important; }

  /* strip all page chrome — only the certificate prints */
  section, .section-tight { padding: 0 !important; margin: 0 !important; }
  .container { max-width: none !important; padding: 0 !important; }

  /* the certificate fills exactly one A4 landscape page
   * (210mm tall minus the 2 × 10mm page margins) */
  .cert-wrap { max-width: none !important; margin: 0 !important; padding: 0 !important; }
  .cert {
    width: 100%;
    height: 190mm;
    padding: 0;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    display: flex;
    overflow: hidden;
  }
  .cert-inner { width: 100%; display: flex; flex-direction: column; }

  /* pin the signature row and ID strip to the foot of the sheet */
  .cert-meta { margin-top: auto; }
}

/* ------------------------------ dashboard ------------------------------ */

.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 34px; }
.dash-stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; text-align: center; }
.dash-stat b { font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; display: block; color: var(--violet-deep); }
.dash-stat span { color: var(--muted); font-size: .86rem; }

.dash-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.dash-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 13px; }
.dash-card .row { display: flex; align-items: center; gap: 13px; }
.dash-card h3 { margin: 0; font-size: 1.05rem; }
.dash-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }

.cert-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 15px 4px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.cert-row:last-child { border-bottom: 0; }
.cert-row .ico { font-size: 1.5rem; }

/* ------------------------------ forms & misc ------------------------------ */

.form-card { max-width: 540px; margin: 0 auto; }
.form-wide { max-width: 720px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; }
.field input {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  font: inherit; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(108, 76, 246, .14); }
.field .hint { font-size: .78rem; color: var(--muted); margin-top: 6px; }

.alert { border-radius: 12px; padding: 13px 17px; font-size: .93rem; margin: 18px 0; }
.alert-ok { background: var(--green-soft); color: #0b7a54; border: 1px solid #bfe9d6; }
.alert-warn { background: #fff8ec; color: #8a5a00; border: 1px solid #ffe1a6; }
.alert-err { background: var(--red-soft); color: #b3261e; border: 1px solid #ffd8d4; }

.chip-pending { background: #fff8ec; color: #8a5a00; border-color: #ffe1a6; }

/* pending payment status box */
.pending-box { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-align: left; }
.pending-row {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: .9rem;
}
.pending-row:last-child { border-bottom: 0; }
.pending-row span { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.pending-row b { text-align: right; }
.flash-wrap { margin-top: 14px; }
.flash-wrap .alert { margin: 0 0 14px; }

.notfound { text-align: center; max-width: 460px; margin: 40px auto; }
.notfound-emoji { font-size: 3rem; margin-bottom: 8px; }

.divider { border: 0; border-top: 1px solid var(--line); margin: 26px 0; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-chip, .cert-chip, .marquee, .announce-card, .announce-text, .announce-emoji { animation: none; }
}

/* ------------------------------ announcement ------------------------------ */

.announce-card {
  display: flex; align-items: center; gap: 13px;
  margin: 20px 0 6px; padding: 14px 22px;
  border-radius: 16px; position: relative; overflow: hidden;
  background: linear-gradient(90deg, rgba(205, 244, 99, .14), rgba(255, 176, 32, .20), rgba(205, 244, 99, .14));
  border: 1.5px solid rgba(255, 212, 0, .65);
  animation: announce-glow 1.6s ease-in-out infinite;
}
.announce-emoji { font-size: 1.4rem; animation: announce-bounce 1.6s ease-in-out infinite; }
.announce-text {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(.92rem, 2vw, 1.05rem);
  line-height: 1.45; color: #ffd400;
  text-shadow: 0 0 14px rgba(255, 212, 0, .75), 0 1px 0 rgba(0, 0, 0, .3);
  animation: announce-blink 1.15s ease-in-out infinite;
}

@keyframes announce-glow {
  0%, 100% { box-shadow: 0 0 22px -6px rgba(205, 244, 99, .45), inset 0 0 18px rgba(255, 176, 32, .08); }
  50%      { box-shadow: 0 0 38px -4px rgba(255, 176, 32, .8), inset 0 0 26px rgba(255, 176, 32, .16); }
}
@keyframes announce-blink { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }
@keyframes announce-bounce {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50%      { transform: translateY(-4px) rotate(8deg); }
}

@media (max-width: 560px) {
  .announce-card { padding: 12px 16px; gap: 10px; }
  .announce-emoji { font-size: 1.15rem; }
}

/* ------------------------------ auth & pay ------------------------------ */

.auth-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: start; }
.auth-grid .form-card, .auth-grid .panel { margin: 0; }

.pay-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 26px; align-items: start; }

.qr-box {
  display: grid; place-items: center; background: #fff; border: 2px dashed #c9b6ff;
  border-radius: 20px; padding: 18px; margin: 0 auto; max-width: 340px;
}
.qr-box img { width: 100%; max-width: 300px; height: auto; border-radius: 12px; }
.qr-missing { min-height: 260px; }

.pay-steps { padding-left: 1.2em; font-size: .93rem; color: var(--ink-2); }
.pay-steps li { margin-bottom: 10px; }

/* ------------------------------ pricing ------------------------------ */

.pricing-grid { display: grid; grid-template-columns: minmax(0, 520px); justify-content: center; }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: 26px;
  padding: 38px 34px; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.price-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--violet), var(--lime)); }
.price-head { text-align: center; }
.price-tag { font-family: var(--font-head); font-weight: 800; font-size: 3.4rem; color: var(--ink); line-height: 1.1; margin-top: 14px; }

/* ------------------------------ admin tables ------------------------------ */

.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tbl th {
  text-align: left; font-family: var(--font-head); font-size: .72rem; text-transform: uppercase;
  letter-spacing: .08em; color: var(--muted); padding: 14px 16px; border-bottom: 1px solid var(--line);
  background: #faf9ff; white-space: nowrap;
}
.tbl td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tr:hover td { background: #faf9ff; }

@media (max-width: 1020px) {
  .auth-grid, .pay-grid { grid-template-columns: 1fr; }
  .auth-aside { order: -1; }
}
@media (max-width: 560px) {
  .price-card { padding: 28px 20px; }
  .price-tag { font-size: 2.6rem; }
  .field input[type="file"] { font-size: .8rem; }
}

/* ------------------------------ responsive ------------------------------ */

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 64px 0 76px; }
  .hero-visual { max-width: 460px; margin: 0 auto; }
  .cert-grid, .signatory-grid { grid-template-columns: 1fr; gap: 44px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .lesson-grid { grid-template-columns: 1fr; }
  .lesson-side { position: static; order: -1; }
  .learn-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .container { padding: 0 18px; }
  section { padding: 54px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .steps { grid-template-columns: 1fr; }
  .objectives { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .dash-stats { grid-template-columns: 1fr; }
  .float-chip.c3 { display: none; }
  .float-chip.c1 { left: 0; } .float-chip.c2 { right: 0; }
  .cta-band { margin: 0 12px; padding: 48px 22px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .cert-meta { justify-content: center; text-align: center; }
  .cert-block { min-width: 140px; }
  .pager { flex-direction: column; }
  .pager .btn { width: 100%; }
  .exam-nav { flex-direction: column-reverse; align-items: stretch; }
  .exam-nav .btn { width: 100%; }
  .skip-link-quiz { text-align: center; }
}

@media (max-width: 430px) {
  .dot { width: 32px; height: 32px; border-radius: 9px; font-size: .72rem; }
  .cert-id-strip { justify-content: center; text-align: center; }
}
