:root {
  --pink: #fd46c1;
  --violet: #9674fd;
  --navy: #080769;
  --gold: #ffc72d;
  --white: #ffffff;
  --black: #141414;
  --text: #1d1d1f;
  --muted: #666b78;
  --line: #e8e8ee;
  --soft-bg: #f7f7f4;
  --soft-bg-2: #fcfcfa;
  --card: #ffffff;
  --success: #137a4a;
  --danger: #b42318;
  --radius: 24px;
  --radius-sm: 18px;
  --shadow: 0 14px 40px rgba(15, 18, 40, 0.06);
  --shadow-strong: 0 18px 44px rgba(15, 18, 40, 0.09);
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--soft-bg);
  color: var(--text);
  font-family: "Manrope", Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body, p, li, a, input, textarea, select, button, .btn, .nav-link { font-family: "Manrope", Arial, sans-serif; }
h1, h2, h3, h4, h5, h6, .section-kicker, .eyebrow, .score, .kpi b { font-family: "Fraunces", Georgia, serif; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--navy); }
.container { width: min(var(--container), calc(100% - 2rem)); margin: 0 auto; }
.narrow { width: min(820px, calc(100% - 2rem)); margin: 0 auto; }
main { min-height: 68vh; }
main > section:not(.hero-home-form) { padding: 5.25rem 0; }
.section-tight { padding: 2.8rem 0 !important; }
.section-soft { background: var(--soft-bg-2); }
.muted { color: var(--muted); }
.small { font-size: .84rem; }
.strong { font-weight: 800; }

/* Header, copied closely from the supplied NWT site pattern */
#site-navbar { position: sticky; top: 0; z-index: 2000; pointer-events: none; }
.site-header { padding: .75rem 0; background: transparent; }
.header-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 1.4rem;
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 10px 30px rgba(15,18,40,.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo { width: auto; height: 52px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: .5rem; }
.nav-link {
  padding: .75rem 1rem;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 800;
  color: #252835;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.nav-link:hover, .nav-link.active { background: rgba(8,7,105,.06); color: var(--navy); }
.nav-cta { background: var(--gold); color: #28200b; padding: .8rem 1.25rem; }
.nav-cta:hover { background: #e8b200; color: #28200b; transform: translateY(-1px); }
.nav-toggle { display: none; border: 0; background: transparent; cursor: pointer; padding: .25rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; border-radius: 999px; background: var(--black); }

/* Homepage */
.hero-home-form {
  position: relative;
  padding: 4.5rem 0 5rem;
  overflow: hidden;
  background:
    radial-gradient(circle at left center, rgba(253,70,193,.10), transparent 23%),
    radial-gradient(circle at right center, rgba(150,116,253,.11), transparent 25%),
    #fff;
}
.hero-home-form::before,
.hero-home-form::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(26px);
  opacity: .14;
  pointer-events: none;
}
.hero-home-form::before { width: 280px; height: 280px; background: var(--pink); top: -45px; left: -70px; }
.hero-home-form::after { width: 320px; height: 320px; background: var(--violet); right: -90px; top: 30px; }
.hero-grid-form {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0,.95fr) minmax(410px,.85fr);
  gap: 4rem;
  align-items: center;
}
.hero-copy { max-width: 650px; }
.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 1rem;
  padding: .45rem .9rem;
  border-radius: 999px;
  color: var(--pink);
  background: #fff1f8;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .01em;
}
.hero-title-refined {
  margin: 0;
  max-width: 11ch;
  color: var(--black);
  font-size: clamp(3rem, 5.1vw, 4.9rem);
  line-height: .96;
  letter-spacing: -.045em;
  font-weight: 650;
}
.hero-title-accent { display: block; color: var(--pink); }
.hero-subtitle-refined {
  margin: 1.45rem 0 0;
  max-width: 610px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}
.hero-mini-trust { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.45rem; }
.hero-trust-pill { padding: .64rem .95rem; border-radius: 999px; font-size: .9rem; font-weight: 800; }
.hero-trust-pill-pink { background: #ffe3f3; color: #d82492; }
.hero-trust-pill-violet { background: #ede1ff; color: #7140d4; }
.hero-trust-pill-gold { background: #fff1c9; color: #8d6500; }
.hero-form-wrap { position: relative; }
.hero-form-wrap::before {
  content: "";
  position: absolute;
  inset: 18px -14px -14px 18px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(253,70,193,.12), rgba(150,116,253,.10), rgba(255,199,45,.10));
  filter: blur(10px);
  z-index: 0;
}
.glass-form-card {
  position: relative;
  z-index: 1;
  padding: 1.65rem;
  border-radius: 28px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: 0 18px 40px rgba(20,20,40,.08), inset 0 1px 0 rgba(255,255,255,.7);
  backdrop-filter: blur(18px) saturate(155%);
  -webkit-backdrop-filter: blur(18px) saturate(155%);
}
.assessment-card-head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; margin-bottom: 1.35rem; }
.assessment-card-head h2 { margin: .2rem 0 0; font-size: 1.85rem; line-height: 1.1; }
.assessment-card-head p { margin: .4rem 0 0; color: var(--muted); font-size: .92rem; }
.assessment-chip { flex-shrink: 0; padding: .48rem .72rem; border-radius: 999px; background: #f0edff; color: var(--navy); font-weight: 800; font-size: .8rem; }
.assessment-main-stat { padding: 1.15rem; border-radius: 22px; background: var(--navy); color: #fff; }
.assessment-main-stat strong { display: block; font: 650 3.75rem/1 "Fraunces", Georgia, serif; }
.assessment-main-stat span { display: block; margin-top: .25rem; color: #deddfa; font-weight: 700; }
.assessment-mini-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; margin-top: .8rem; }
.assessment-mini-stat { padding: 1rem; border-radius: 20px; background: rgba(255,255,255,.9); border: 1px solid rgba(8,7,105,.07); }
.assessment-mini-stat strong { display: block; color: var(--navy); font: 650 2.25rem/1 "Fraunces", Georgia, serif; }
.assessment-mini-stat span { display: block; margin-top: .35rem; color: var(--muted); font-size: .88rem; font-weight: 700; }
.assessment-certificate-note { margin-top: .85rem; padding: 1rem; border-radius: 18px; background: #fff9e9; border: 1px solid #f2d68c; color: #5e4a10; font-size: .9rem; }

/* Type and shared sections */
h1, h2, h3, h4 { color: var(--black); }
h2 { margin: 0 0 .8rem; font-size: clamp(2rem,4vw,3.2rem); line-height: 1.06; letter-spacing: -.03em; }
h3 { margin: 0 0 .65rem; font-size: 1.32rem; line-height: 1.2; }
.lead { color: var(--muted); font-size: 1.04rem; line-height: 1.8; }
.section-heading { max-width: 820px; margin: 0 auto 2.6rem; text-align: center; }
.section-heading .section-kicker { margin-bottom: .8rem; }
.section-heading h2 { margin: 0; }
.section-heading p { max-width: 760px; margin: 1rem auto 0; color: var(--muted); font-size: 1.03rem; }
.section-heading.left { max-width: 760px; margin-left: 0; text-align: left; }

/* Cards */
.card {
  padding: 1.55rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid rgba(0,0,0,.05);
  box-shadow: var(--shadow);
}
.grid-2 { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1.25rem; }
.module-card { position: relative; overflow: hidden; padding-top: 1.75rem; border-top: 3px solid var(--pink); }
.module-card:nth-child(2) { border-top-color: var(--gold); }
.module-card:nth-child(3) { border-top-color: var(--violet); }
.module-card:nth-child(4) { border-top-color: #45bda9; }
.module-num { font-size: .73rem; text-transform: uppercase; letter-spacing: .085em; font-weight: 900; color: var(--muted); }
.module-card h3 { margin-top: .45rem; color: var(--black); }
.module-card p { margin: 0; }
.module-card .btn { margin-top: 1rem; }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.step-card { padding: 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid rgba(0,0,0,.05); box-shadow: var(--shadow); }
.step-no { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 1rem; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 900; }
.step-card p { margin: 0; color: var(--muted); }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .95rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: .96rem;
  font-weight: 800;
  transition: all .22s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--black); color: var(--white); box-shadow: 0 10px 22px rgba(20,20,20,.12); }
.btn-primary:hover { background: #252525; color: #fff; }
.btn-secondary { background: var(--navy); color: #fff; }
.btn-secondary:hover { background: #14137a; color: #fff; }
.btn-light, .btn-outline { background: transparent; color: var(--black); border-color: #d9d9e2; }
.btn-light:hover, .btn-outline:hover { background: #fff; color: var(--navy); }

/* Notices */
.notice { border-radius: 18px; padding: 1rem 1.1rem; border: 1px solid #f2d68c; background: #fff9e9; color: #604b0d; }
.notice.info { border-color: #d8d7f7; background: #f6f5ff; color: #363574; }
.notice.success { border-color: #b8dfc9; background: #effaf4; color: #14532d; }
.notice.danger { border-color: #f3b9b2; background: #fff4f2; color: #81231a; }

/* Forms */
.form-card { max-width: 780px; margin: 0 auto; }
.form-card > h2 { margin-top: .3rem; }
.field { margin: 0 0 1.2rem; }
.field label { display: block; margin: 0 0 .45rem; color: #2d3142; font-size: .92rem; font-weight: 800; }
input[type=text], input[type=password], input[type=url], input[type=email] {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(150,116,253,.16);
  background: rgba(255,255,255,.85);
  padding: .95rem 1rem;
  font-size: .97rem;
  color: var(--text);
  outline: none;
  transition: .2s ease;
}
input:focus { border-color: rgba(253,70,193,.5); box-shadow: 0 0 0 4px rgba(253,70,193,.1); }
.check { display: flex; align-items: flex-start; gap: .7rem; }
.check input { margin-top: .38rem; }
.check label { margin: 0; }

/* Quiz */
.quiz-wrap { max-width: 940px; margin: 0 auto; }
.quiz-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.quiz-top h2 { margin: .2rem 0 0; font-size: clamp(1.9rem,4vw,2.7rem); }
.progress-shell { height: 10px; background: #e9e8f4; border-radius: 999px; overflow: hidden; }
.progress-bar { height: 100%; width: 0; background: linear-gradient(90deg,var(--pink),var(--violet)); transition: width .2s ease; }
.question-card { margin: 0 0 1.15rem; padding: 1.5rem; background: #fff; border: 1px solid rgba(8,7,105,.08); border-radius: 24px; box-shadow: 0 10px 28px rgba(15,18,40,.04); }
.question-meta { font-size: .73rem; color: var(--pink); font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.question-text { margin: .55rem 0 1rem; color: var(--black); font-size: 1.08rem; font-weight: 800; line-height: 1.55; }
.option { display: flex; align-items: flex-start; gap: .72rem; padding: .82rem .9rem; border: 1px solid var(--line); border-radius: 16px; margin: .58rem 0; cursor: pointer; transition: .16s ease; }
.option:hover { border-color: rgba(150,116,253,.38); background: #fbfaff; }
.option:has(input:checked) { border-color: rgba(253,70,193,.55); background: #fff4fb; box-shadow: 0 0 0 3px rgba(253,70,193,.07); }
.option input { margin-top: .34rem; }
.score { font-size: clamp(4rem,10vw,6rem); font-weight: 700; letter-spacing: -.05em; color: var(--navy); line-height: 1; }
.pass { color: var(--success); }
.fail { color: var(--danger); }

/* Admin */
.admin-bar { margin-top: .35rem; background: var(--navy); color: #fff; }
.admin-bar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 0; }
.admin-bar a { color: #fff; font-weight: 800; }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; min-width: 780px; }
th, td { text-align: left; padding: .86rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: #fcfcfe; }
tr:last-child td { border-bottom: 0; }
.badge { display: inline-flex; padding: .28rem .58rem; border-radius: 999px; font-size: .72rem; font-weight: 900; background: #f1f1f4; }
.badge.pass { background: #eaf8ef; color: var(--success); }
.badge.fail { background: #fff0ee; color: var(--danger); }
.kpi { padding: 1.25rem; }
.kpi b { display: block; font-size: 2.2rem; color: var(--navy); line-height: 1.1; }
.answer-ok { border-left: 5px solid var(--success); }
.answer-bad { border-left: 5px solid var(--danger); }
code { background: #f2f1fb; color: var(--navy); padding: .15rem .35rem; border-radius: 7px; }

/* Footer, matched to the supplied NWT site */
.site-footer { padding: 4rem 0 1.5rem; background: #fbfbf9; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr 1.15fr .75fr; gap: 2rem; }
.footer-col h3, .footer-col h4 { margin-top: 0; margin-bottom: .9rem; }
.footer-col h3 { font-size: 1.35rem; }
.footer-col h4 { font-family: "Manrope", Arial, sans-serif; font-size: 1rem; color: var(--pink); }
.footer-brand { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; }
.footer-logo { width: 56px !important; height: 56px !important; max-width: 56px !important; object-fit: contain; flex: 0 0 56px; }
.footer-brand-text h3 { margin: 0; color: var(--pink); }
.footer-brand-text p { margin: .12rem 0 0; }
.footer-col p, .footer-col li, .footer-col a { color: var(--muted); font-size: .94rem; }
.footer-col p { margin-top: 0; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .65rem; }
.footer-col a:hover { color: var(--navy); }
.footer-bottom { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-bottom p, .footer-bottom a { margin: 0; color: var(--muted); font-size: .88rem; }
.footer-bottom-links { display: flex; gap: 1rem; }

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

@media (max-width: 1100px) {
  .hero-grid-form { grid-template-columns: minmax(0,1fr) minmax(360px,.85fr); gap: 2.5rem; }
  .grid-4, .footer-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 900px) {
  #site-navbar { position: relative; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: calc(100% + .75rem);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: .55rem;
    padding: 1rem;
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 24px;
    box-shadow: var(--shadow-strong);
  }
  .site-nav.open { display: flex; }
  .nav-link { text-align: center; }
  .brand-logo { height: 46px; }
  .hero-grid-form, .grid-3, .grid-2, .steps-grid { grid-template-columns: 1fr; }
  .hero-home-form { padding-top: 3.3rem; }
  .hero-copy { max-width: 720px; }
  .hero-title-refined { max-width: 12ch; }
  .hero-form-wrap { max-width: 680px; }
  .quiz-top { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 700px) {
  .container { width: min(var(--container), calc(100% - 1.2rem)); }
  .header-inner { padding: .75rem .85rem; }
  .brand-logo { height: 42px; }
  main > section:not(.hero-home-form) { padding: 3.8rem 0; }
  .hero-home-form { padding: 2.8rem 0 3.8rem; }
  .hero-title-refined { font-size: clamp(2.65rem,12vw,3.6rem); }
  .assessment-mini-grid, .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .glass-form-card, .card, .question-card { border-radius: 20px; padding: 1.2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-brand { align-items: flex-start; }
  .actions .btn { width: 100%; }
}

@media print {
  #site-navbar, .site-footer, .admin-bar, .actions, .btn { display: none !important; }
  body { background: #fff; }
  .card, .question-card { box-shadow: none; }
}

/* v1.3.0 homepage: simplified, professional candidate-facing content */
.certificate-showcase {
  position: relative;
  padding: 1.45rem;
  border-radius: 30px;
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(255,255,255,.82);
  box-shadow: 0 20px 55px rgba(18,18,55,.09);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
}
.certificate-showcase-heading { margin-bottom: 1rem; }
.certificate-showcase-heading .section-kicker { margin-bottom: .55rem; }
.certificate-showcase-heading h2 { margin: 0; font-size: clamp(1.75rem,3vw,2.35rem); }
.certificate-showcase-heading p { margin: .6rem 0 0; color: var(--muted); line-height: 1.65; }
.certificate-preview-frame {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(8,7,105,.1);
  box-shadow: 0 14px 34px rgba(8,7,105,.08);
}
.certificate-preview-frame img { width: 100%; height: auto; display: block; }
.certificate-example-label {
  position: absolute;
  top: .75rem;
  right: .75rem;
  z-index: 2;
  padding: .42rem .7rem;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(8,7,105,.1);
  color: var(--navy);
  font-size: .72rem;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(8,7,105,.08);
}
.certificate-internal-note {
  margin: .95rem .15rem 0;
  color: #5c6070;
  font-size: .84rem;
  line-height: 1.55;
}
.certificate-internal-note strong { color: var(--navy); }
.hero-actions { margin-top: 1.8rem; }
.assessment-scope-section { background: #fff; }
.scope-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 4rem; align-items: center; }
.scope-copy h2 { margin-bottom: 1rem; }
.scope-copy p { color: var(--muted); max-width: 560px; }
.text-link-arrow { display: inline-flex; align-items: center; gap: .45rem; margin-top: .7rem; color: var(--navy); font-weight: 800; }
.text-link-arrow:hover { gap: .65rem; }
.scope-modules { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .85rem; }
.scope-module { min-height: 126px; padding: 1.2rem; border-radius: 22px; background: var(--soft-bg); border: 1px solid var(--line); }
.scope-module span { display: block; margin-bottom: .45rem; color: var(--pink); font-size: .74rem; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; }
.scope-module strong { display: block; color: var(--black); font: 650 1.2rem/1.25 "Fraunces",Georgia,serif; }
.scope-module:nth-child(2) span { color: #9a7100; }
.scope-module:nth-child(3) span { color: #7040ce; }
.scope-module:nth-child(4) span { color: #278b7b; }
.internal-use-banner {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 2rem;
  align-items: center;
  padding: 1.55rem 1.7rem;
  border-radius: 24px;
  background: #f5f4ff;
  border: 1px solid #dedcf8;
}
.internal-use-banner h3 { margin: .35rem 0 0; }
.internal-use-banner p { margin: 0; color: #4f5270; }
.footer-note { margin-top: .8rem !important; font-size: .84rem !important; }
.admin-page-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 1.2rem; }
.admin-page-heading h2 { margin: 0; }
.admin-page-heading p { margin: 0; max-width: 520px; color: var(--muted); }
.admin-row-actions { display: flex; flex-wrap: wrap; gap: .35rem .75rem; min-width: 190px; }
.admin-row-actions a { color: var(--navy); font-size: .86rem; font-weight: 800; }
.admin-row-actions a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .scope-layout { grid-template-columns: 1fr; gap: 2rem; }
  .internal-use-banner { grid-template-columns: 1fr; gap: .75rem; }
  .admin-page-heading { align-items: flex-start; flex-direction: column; gap: .65rem; }
}

@media (max-width: 700px) {
  .hero-copy { text-align: center; margin-inline: auto; }
  .hero-copy .eyebrow { margin-inline: auto; }
  .hero-title-refined { margin-inline: auto; }
  .hero-subtitle-refined { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-form-wrap, .certificate-showcase { margin-inline: auto; }
  .certificate-showcase-heading { text-align: center; }
  .certificate-showcase-heading .section-kicker { margin-inline: auto; }
  .certificate-internal-note { text-align: left; }
  .scope-copy { text-align: center; }
  .scope-copy .section-kicker { margin-inline: auto; }
  .scope-copy p { margin-inline: auto; }
  .scope-modules { grid-template-columns: 1fr; }
  .internal-use-banner { text-align: center; }
}

/* ==========================================================
   v1.4.0 homepage
   Styled directly from the supplied NWT Group visual system:
   colourful pastel cards, radial brand gradients, Fraunces
   display type, Manrope body copy and rounded pill controls.
   ========================================================== */
.home-hero {
  position: relative;
  overflow: hidden;
  padding: 4.7rem 0 5.2rem;
  background:
    radial-gradient(circle at 2% 52%, rgba(253, 70, 193, .13), transparent 25%),
    radial-gradient(circle at 94% 22%, rgba(150, 116, 253, .15), transparent 28%),
    radial-gradient(circle at 77% 90%, rgba(255, 199, 45, .12), transparent 20%),
    #fff;
}
.home-hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(150, 116, 253, .10);
  border-radius: 50%;
  right: -280px;
  top: -300px;
  pointer-events: none;
}
.home-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(18px);
  pointer-events: none;
  opacity: .18;
}
.home-hero-orb-pink { width: 240px; height: 240px; background: var(--pink); left: -115px; bottom: -90px; }
.home-hero-orb-violet { width: 270px; height: 270px; background: var(--violet); right: -105px; top: 30px; }
.home-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, .92fr);
  gap: 4rem;
  align-items: center;
}
.home-hero-copy { max-width: 660px; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .52rem;
  margin: 0 0 1rem;
  padding: .46rem .82rem;
  border-radius: 999px;
  background: #fff0f8;
  color: var(--pink);
  font-family: "Fraunces", Georgia, serif;
  font-size: .92rem;
  font-weight: 700;
}
.hero-kicker i { font-family: bootstrap-icons !important; }
.home-hero-title {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(3.35rem, 5.4vw, 5.4rem);
  line-height: .94;
  letter-spacing: -.05em;
  font-weight: 650;
  color: var(--black);
}
.home-hero-title span { display: block; color: var(--pink); }
.home-hero-subtitle {
  max-width: 620px;
  margin: 1.55rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.82;
}
.home-hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.home-audience-note {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-top: 1.35rem;
  color: #555a68;
  font-size: .9rem;
  font-weight: 700;
}
.home-audience-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(255, 199, 45, .18);
}
.home-certificate-visual {
  position: relative;
  min-height: 490px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-certificate-shape {
  position: absolute;
  border-radius: 34px;
  pointer-events: none;
}
.home-certificate-shape-pink {
  inset: 56px 20px 48px 72px;
  transform: rotate(4deg);
  background: #ffe4f3;
}
.home-certificate-shape-violet {
  inset: 36px 58px 74px 28px;
  transform: rotate(-4deg);
  background: #eee2ff;
}
.home-certificate-card {
  position: relative;
  z-index: 2;
  width: min(100%, 560px);
  padding: .82rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(8, 7, 105, .08);
  box-shadow: 0 24px 55px rgba(20, 20, 40, .13);
  transform: rotate(1deg);
}
.home-certificate-card img { width: 100%; border-radius: 15px; }
.home-certificate-label {
  position: absolute;
  top: -18px;
  left: 22px;
  display: inline-flex;
  align-items: center;
  gap: .48rem;
  padding: .68rem .9rem;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(8, 7, 105, .18);
}
.home-certificate-note {
  position: absolute;
  z-index: 3;
  right: -6px;
  bottom: 18px;
  width: min(280px, 68%);
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: #fff2cb;
  border: 1px solid rgba(255, 199, 45, .42);
  box-shadow: 0 14px 30px rgba(20, 20, 40, .09);
}
.home-certificate-note strong { display: block; margin-bottom: .24rem; color: #765300; font-size: .88rem; }
.home-certificate-note span { display: block; color: #64552e; font-size: .78rem; line-height: 1.5; }

.home-scope-section {
  padding: 5.6rem 0;
  background: linear-gradient(180deg, #fff 0%, #fffaf7 100%);
}
.home-scope-heading { margin-bottom: 2rem; }
.home-scope-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}
.home-scope-card {
  position: relative;
  min-height: 235px;
  padding: 1.45rem;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(10, 10, 144, .04);
  box-shadow: 0 14px 30px rgba(20, 20, 40, .055);
  transition: transform .2s ease, box-shadow .2s ease;
}
.home-scope-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  right: -54px;
  bottom: -58px;
  background: rgba(255,255,255,.38);
}
.home-scope-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(20, 20, 40, .08); }
.home-scope-card-pink { background: #ffe4f3; }
.home-scope-card-violet { background: #eee2ff; }
.home-scope-card-gold { background: #fff2cb; }
.home-scope-card-navy { background: #e5ebff; }
.home-scope-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
  border-radius: 18px;
  background: rgba(255,255,255,.62);
  font-size: 1.35rem;
}
.home-scope-card-pink .home-scope-icon, .home-scope-card-pink > span { color: #d82993; }
.home-scope-card-violet .home-scope-icon, .home-scope-card-violet > span { color: #7340d8; }
.home-scope-card-gold .home-scope-icon, .home-scope-card-gold > span { color: #987000; }
.home-scope-card-navy .home-scope-icon, .home-scope-card-navy > span { color: #253abb; }
.home-scope-card > span {
  display: block;
  margin-bottom: .48rem;
  font-size: .74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.home-scope-card h3 {
  margin: 0;
  color: #20202a;
  font-size: 1.35rem;
  line-height: 1.25;
}
.home-scope-link { margin-top: 1.7rem; }

.home-steps-section {
  padding: 5.6rem 0;
  background:
    radial-gradient(circle at top left, rgba(150, 116, 253, .09), transparent 23%),
    radial-gradient(circle at bottom right, rgba(253, 70, 193, .08), transparent 22%),
    #faf8ff;
}
.home-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin-top: 2rem;
}
.home-step-card {
  min-height: 245px;
  padding: 1.45rem;
  border-radius: 28px;
  box-shadow: 0 14px 30px rgba(20, 20, 40, .055);
  border: 1px solid rgba(10, 10, 144, .04);
}
.home-step-card-pink { background: #fff0f8; }
.home-step-card-violet { background: #f0e8ff; }
.home-step-card-gold { background: #fff4d4; }
.home-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 1.05rem;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--violet), var(--pink));
  color: #fff;
  font-weight: 900;
  font-size: .9rem;
  box-shadow: 0 10px 22px rgba(150, 116, 253, .17);
}
.home-step-card-violet .home-step-number { background: linear-gradient(135deg, #7655e4, #9e79ff); }
.home-step-card-gold .home-step-number { background: linear-gradient(135deg, #e4a900, #ffc72d); color: #493600; }
.home-step-card h3 { margin: 0 0 .6rem; font-size: 1.45rem; }
.home-step-card p { margin: 0; color: #5f6370; line-height: 1.72; }

.home-record-section {
  padding: 4.4rem 0 5.4rem;
  background: #fff;
}
.home-record-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  gap: 2.2rem;
  align-items: center;
  padding: 2.5rem 2.7rem;
  border-radius: 32px;
  color: #fff;
  background:
    radial-gradient(circle at 5% 20%, rgba(253,70,193,.32), transparent 24%),
    radial-gradient(circle at 90% 100%, rgba(255,199,45,.25), transparent 25%),
    linear-gradient(135deg, #080769 0%, #17117f 62%, #49239d 100%);
  box-shadow: 0 22px 50px rgba(8, 7, 105, .18);
}
.home-record-copy, .home-record-actions { position: relative; z-index: 2; }
.home-record-kicker { margin: 0 0 .5rem; color: #ffc72d; font-weight: 800; font-size: .85rem; }
.home-record-panel h2 { margin: 0; color: #fff; font-size: clamp(2rem, 3.6vw, 3rem); }
.home-record-panel p:not(.home-record-kicker) { max-width: 760px; margin: .75rem 0 0; color: rgba(255,255,255,.82); }
.home-record-actions { display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; }
.home-record-button { background: var(--gold); color: #302500; border-color: var(--gold); white-space: nowrap; }
.home-record-button:hover { background: #ffcf4f; color: #302500; transform: translateY(-1px); }
.home-record-link { color: #fff; font-weight: 800; font-size: .88rem; white-space: nowrap; }
.home-record-link:hover { color: #fff; text-decoration: underline; }
.home-record-decoration { position: absolute; border-radius: 50%; pointer-events: none; opacity: .18; }
.home-record-decoration-one { width: 240px; height: 240px; background: var(--pink); right: 190px; top: -160px; }
.home-record-decoration-two { width: 190px; height: 190px; background: var(--gold); left: 44%; bottom: -155px; }

@media (max-width: 1100px) {
  .home-hero-grid { grid-template-columns: minmax(0,1fr) minmax(380px,.85fr); gap: 2.5rem; }
  .home-scope-grid { grid-template-columns: repeat(2, 1fr); }
  .home-record-panel { grid-template-columns: 1fr; }
  .home-record-actions { flex-direction: row; align-items: center; flex-wrap: wrap; }
}

@media (max-width: 900px) {
  .home-hero { padding: 3.5rem 0 4.5rem; }
  .home-hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .home-hero-copy { max-width: 740px; }
  .home-certificate-visual { width: min(100%, 700px); margin-inline: auto; }
  .home-steps-grid { grid-template-columns: 1fr; }
  .home-step-card { min-height: 0; display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
  .home-step-number { margin-bottom: 0; }
}

@media (max-width: 700px) {
  .home-hero { padding: 2.8rem 0 4rem; }
  .home-hero-copy { text-align: center; margin-inline: auto; }
  .hero-kicker { margin-inline: auto; }
  .home-hero-title { margin-inline: auto; font-size: clamp(2.8rem, 13vw, 4.15rem); max-width: 10ch; }
  .home-hero-subtitle { margin-inline: auto; font-size: 1rem; }
  .home-hero-actions { justify-content: center; }
  .home-audience-note { justify-content: center; }
  .home-certificate-visual { min-height: 390px; }
  .home-certificate-shape-pink { inset: 50px 6px 40px 28px; }
  .home-certificate-shape-violet { inset: 32px 32px 60px 4px; }
  .home-certificate-card { padding: .5rem; border-radius: 18px; }
  .home-certificate-card img { border-radius: 12px; }
  .home-certificate-label { top: -16px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
  .home-certificate-note { position: relative; right: auto; bottom: auto; width: calc(100% - 2rem); margin: -8px auto 0; text-align: center; }
  .home-scope-section, .home-steps-section { padding: 4.3rem 0; }
  .home-scope-grid { grid-template-columns: 1fr; }
  .home-scope-card { min-height: 0; text-align: center; }
  .home-scope-icon { margin-inline: auto; }
  .home-step-card { display: block; text-align: center; }
  .home-step-number { margin-bottom: 1rem; }
  .home-record-section { padding: 3.5rem 0 4rem; }
  .home-record-panel { padding: 2rem 1.35rem; text-align: center; }
  .home-record-actions { flex-direction: column; align-items: stretch; }
  .home-record-link { white-space: normal; }
}

/* Keep homepage section spacing under the global page-section rule. */
main > .home-hero { padding: 4.7rem 0 5.2rem; }
main > .home-scope-section { padding: 5.6rem 0; }
main > .home-steps-section { padding: 5.6rem 0; }
main > .home-record-section { padding: 4.4rem 0 5.4rem; }
@media (max-width: 900px) {
  main > .home-hero { padding: 3.5rem 0 4.5rem; }
}
@media (max-width: 700px) {
  main > .home-hero { padding: 2.8rem 0 4rem; }
  main > .home-scope-section,
  main > .home-steps-section { padding: 4.3rem 0; }
  main > .home-record-section { padding: 3.5rem 0 4rem; }
}
