/* MyData101.ca — Homepage-specific styles | Scoped to .hp-* classes */
/* These styles apply ONLY to the homepage and do not affect inner pages */

/* ── Journey stage markers ───────────────────────────────────────────────── */
.hp-stage {
  display: flex;
  align-items: center;
  gap: .625rem;
  margin-bottom: 1.25rem;
}
.hp-stage-num {
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: rgba(255,255,255,.45);
  font-variant-numeric: tabular-nums;
}
.hp-stage-label {
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
.hp-stage-label.dark {
  color: var(--teal);
}
.hp-stage-num.dark {
  color: var(--teal);
}

/* ── Hero split ──────────────────────────────────────────────────────────── */
.hp-hero {
  background: linear-gradient(135deg, #060d1a 0%, #0a1628 25%, #0f1f3d 50%, #1e1b5e 75%, #0f3460 100%);
  padding: 5.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}
/* Dot-grid texture */
.hp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  mask-image: linear-gradient(135deg, transparent 0%, rgba(0,0,0,.6) 40%, rgba(0,0,0,.8) 100%);
  -webkit-mask-image: linear-gradient(135deg, transparent 0%, rgba(0,0,0,.6) 40%, rgba(0,0,0,.8) 100%);
}
/* Teal glow on right */
.hp-hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -5%;
  width: 65%;
  height: 130%;
  background: radial-gradient(ellipse at center, rgba(13,148,136,.18) 0%, rgba(67,56,202,.1) 45%, transparent 70%);
  pointer-events: none;
}
.hp-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hp-hero-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #5eead4;
  margin-bottom: 1.25rem;
}
.hp-eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: #5eead4;
  border-radius: 2px;
}
.hp-hero h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.25rem;
  letter-spacing: -.02em;
}
.hp-hero h1 .accent {
  color: #5eead4;
  position: relative;
  display: inline-block;
}
.hp-hero-sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.72);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 46ch;
}
.hp-hero-actions {
  display: flex;
  gap: .875rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}
.hp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 1.875rem;
  background: #10b981;
  color: #fff;
  font-size: .9375rem;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  border: 2px solid #10b981;
  transition: background .15s, box-shadow .15s, transform .15s;
  line-height: 1;
}
.hp-btn-primary:hover {
  background: #059669;
  border-color: #059669;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(16,185,129,.4);
  transform: translateY(-1px);
}
.hp-btn-primary svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  transition: transform .15s;
}
.hp-btn-primary:hover svg {
  transform: translateX(3px);
}
.hp-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 1.875rem;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.9);
  font-size: .9375rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,.2);
  transition: background .15s, border-color .15s;
  line-height: 1;
}
.hp-btn-ghost:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.45);
  color: #fff;
  text-decoration: none;
}
.hp-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
}
.hp-trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8125rem;
  color: rgba(255,255,255,.6);
}
.hp-trust-item svg {
  width: 14px;
  height: 14px;
  stroke: #10b981;
  fill: none;
  stroke-width: 2.5;
  flex-shrink: 0;
}
.hp-trust-item strong {
  color: rgba(255,255,255,.9);
  font-weight: 600;
}

/* ── Hero illustration ───────────────────────────────────────────────────── */
.hp-hero-visual {
  position: relative;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hp-viz-canvas {
  width: 100%;
  height: 100%;
  position: relative;
}
/* Main dashboard panel */
.hp-dash {
  position: absolute;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 18px;
  backdrop-filter: blur(12px);
  padding: 1.5rem;
  box-shadow: 0 16px 48px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.08);
}
.hp-dash-main {
  top: 0; left: 0; right: 0; bottom: 70px;
}
.hp-dash-header {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
}
.hp-dash-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.hp-dash-title {
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.4);
  flex: 1;
}
/* Bar chart */
.hp-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 100px;
  margin-bottom: 1.25rem;
  padding: 0 .25rem;
}
.hp-bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  height: 100%;
  justify-content: flex-end;
}
.hp-bar-fill {
  width: 100%;
  border-radius: 5px 5px 0 0;
  transition: height .3s ease;
  box-shadow: 0 -2px 8px rgba(255,255,255,.1);
}
.hp-bar-lbl {
  font-size: .5625rem;
  color: rgba(255,255,255,.35);
  text-align: center;
  white-space: nowrap;
}
/* Stat row */
.hp-stat-row {
  display: flex;
  gap: .75rem;
}
.hp-stat-chip {
  flex: 1;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: .625rem .75rem;
}
.hp-stat-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: #5eead4;
  line-height: 1;
  display: block;
}
.hp-stat-lbl {
  font-size: .5625rem;
  color: rgba(255,255,255,.35);
  text-transform: uppercase;
  letter-spacing: .08em;
  display: block;
  margin-top: 2px;
}
/* Floating mini panels */
.hp-float {
  position: absolute;
  background: rgba(10,22,40,.92);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  padding: 1rem 1.125rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.07);
}
.hp-float-map {
  bottom: 0; right: 0; width: 170px;
}
.hp-float-ai {
  top: 16px; right: -16px; width: 158px;
}
.hp-float-label {
  font-size: .5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.35);
  margin-bottom: .5rem;
}
.hp-map-grid {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 4px;
}
.hp-map-cell {
  height: 14px;
  border-radius: 3px;
}
.hp-ai-lines {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.hp-ai-line {
  height: 7px;
  border-radius: 4px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
  position: relative;
}
.hp-ai-line::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  border-radius: 3px;
}
.hp-privacy-badge {
  position: absolute;
  bottom: 80px;
  left: -10px;
  background: linear-gradient(135deg, #059669, #0d9488);
  border-radius: 100px;
  padding: .5rem 1rem;
  display: flex;
  align-items: center;
  gap: .375rem;
  font-size: .75rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 4px 20px rgba(5,150,105,.5);
  white-space: nowrap;
  letter-spacing: .01em;
}
.hp-privacy-badge svg {
  width: 12px; height: 12px;
  stroke: #fff; fill: none; stroke-width: 2.5;
}

/* ── Why it matters — editorial strip ───────────────────────────────────── */
.hp-why {
  background: #f8fafc;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.hp-why::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0d9488, #4338ca, #10b981);
}
.hp-why-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}
.hp-why-lead {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}
.hp-section-eyebrow {
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
}
.hp-section-eyebrow::before {
  content: '';
  display: block;
  width: 16px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}
.hp-why-lead h2 {
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--navy);
  margin-bottom: 1rem;
}
.hp-why-lead p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 0;
}
.hp-principles {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.hp-principles::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 54px;
  bottom: 54px;
  width: 2px;
  background: linear-gradient(180deg, #0d9488, #4338ca, #10b981);
  border-radius: 2px;
}
.hp-principle {
  display: flex;
  gap: 1.5rem;
  padding: 2rem 0;
  position: relative;
}
.hp-principle + .hp-principle {
  border-top: 1px solid var(--border);
}
.hp-principle-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.hp-principle-icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hp-pi-teal { background: linear-gradient(135deg, #0d9488, #0891b2); color: #fff; }
.hp-pi-indigo { background: linear-gradient(135deg, #4338ca, #7c3aed); color: #fff; }
.hp-pi-emerald { background: linear-gradient(135deg, #10b981, #059669); color: #fff; }
.hp-principle-body {
  flex: 1;
  padding-top: .25rem;
}
.hp-principle-num {
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: .375rem;
}
.hp-principle-body h3 {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
}
.hp-principle-body p {
  font-size: .9375rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin: 0;
}

/* ── Learning paths — asymmetric grid ───────────────────────────────────── */
.hp-paths {
  background: #0f1f3d;
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}
.hp-paths::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(67,56,202,.25) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 100% 0%, rgba(13,148,136,.15) 0%, transparent 60%);
  pointer-events: none;
}
.hp-paths-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3.5rem;
  position: relative;
  z-index: 1;
}
.hp-paths-header .hp-section-eyebrow {
  justify-content: center;
  color: #5eead4;
}
.hp-paths-header .hp-section-eyebrow::before {
  background: #5eead4;
}
.hp-paths-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
  margin-bottom: .875rem;
}
.hp-paths-header p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.65);
  line-height: 1.75;
  margin: 0;
}
/* Asymmetric path layout */
.hp-paths-layout {
  position: relative;
  z-index: 1;
}
.hp-paths-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.hp-paths-supporting {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
/* Featured path tile */
.hp-path-tile {
  border-radius: 20px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease;
  min-height: 260px;
}
.hp-path-tile:hover {
  transform: translateY(-6px) scale(1.01);
  text-decoration: none;
  color: inherit;
}
.hp-path-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.0);
  transition: background .25s;
  border-radius: inherit;
}
.hp-path-tile:hover::before { background: rgba(255,255,255,.06); }
/* Subtle inner highlight on top edge */
.hp-path-tile::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  border-radius: inherit;
}
.hp-pt-data    { background: linear-gradient(135deg, #1a3260 0%, #3730a3 100%); box-shadow: 0 8px 32px rgba(55,48,163,.35); }
.hp-pt-opendata { background: linear-gradient(135deg, #0f766e 0%, #0891b2 100%); box-shadow: 0 8px 32px rgba(8,145,178,.3); }
.hp-pt-privacy  { background: linear-gradient(135deg, #6d28d9 0%, #4338ca 100%); box-shadow: 0 8px 32px rgba(109,40,217,.3); }
.hp-pt-software { background: linear-gradient(135deg, #0369a1 0%, #06b6d4 100%); box-shadow: 0 8px 32px rgba(6,182,212,.25); }
.hp-pt-ai       { background: linear-gradient(135deg, #065f46 0%, #0d9488 100%); box-shadow: 0 8px 32px rgba(13,148,136,.3); }
.hp-pt-cyber    { background: linear-gradient(135deg, #9f1239 0%, #dc2626 100%); box-shadow: 0 8px 32px rgba(220,38,38,.3); }
.hp-path-tile-icon {
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,.18);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.hp-path-tile-icon svg {
  width: 30px;
  height: 30px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hp-path-tile h3 {
  font-size: 1.375rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.hp-path-tile p {
  font-size: .9375rem;
  color: rgba(255,255,255,.8);
  line-height: 1.7;
  margin: 0;
  flex: 1;
}
.hp-path-tile-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  font-weight: 700;
  color: rgba(255,255,255,.95);
  margin-top: auto;
  padding: .5rem 0;
  border-bottom: 1px solid rgba(255,255,255,.2);
  width: fit-content;
  transition: border-color .15s, gap .15s;
}
.hp-path-tile:hover .hp-path-tile-cta {
  border-color: rgba(255,255,255,.6);
  gap: .75rem;
}
.hp-path-tile-cta svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  transition: transform .15s;
}
.hp-path-tile:hover .hp-path-tile-cta svg {
  transform: translateX(4px);
}
/* Supporting tiles are slightly smaller but still generous */
.hp-paths-supporting .hp-path-tile {
  min-height: 210px;
  padding: 2rem;
}
.hp-paths-supporting .hp-path-tile h3 {
  font-size: 1.125rem;
}
.hp-paths-supporting .hp-path-tile-icon {
  width: 52px;
  height: 52px;
}
.hp-paths-supporting .hp-path-tile-icon svg {
  width: 26px;
  height: 26px;
}
.hp-paths-cta {
  text-align: center;
  margin-top: 2.5rem;
  position: relative;
  z-index: 1;
}
.hp-btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 2rem;
  background: transparent;
  color: #fff;
  font-size: .9375rem;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,.35);
  transition: background .15s, border-color .15s;
}
.hp-btn-outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.7);
  color: #fff;
  text-decoration: none;
}

/* ── Glossary — split editorial layout ──────────────────────────────────── */
.hp-glossary {
  background: #fff;
  padding: 5.5rem 0;
}
.hp-glossary-inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 5rem;
  align-items: start;
}
.hp-glossary-lead {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}
.hp-glossary-lead h2 {
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--navy);
  margin-bottom: 1rem;
}
.hp-glossary-lead p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.hp-btn-navy {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 1.75rem;
  background: var(--navy);
  color: #fff;
  font-size: .9375rem;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  border: 2px solid var(--navy);
  transition: background .15s, box-shadow .15s;
}
.hp-btn-navy:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(15,31,61,.25);
}
.hp-btn-navy svg {
  width: 16px; height: 16px;
  stroke: currentColor; fill: none; stroke-width: 2.5;
  transition: transform .15s;
}
.hp-btn-navy:hover svg { transform: translateX(3px); }
/* Term stack */
.hp-term-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.05);
}
.hp-term-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.hp-term-row:last-child { border-bottom: none; }
.hp-term-row:hover { background: #f0f7ff; }
.hp-term-key {
  padding: 1.375rem 1.375rem;
  border-right: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  background: var(--bg-subtle);
}
.hp-term-key a {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  line-height: 1.4;
}
.hp-term-key a:hover {
  color: var(--teal);
  text-decoration: underline;
}
.hp-term-def {
  padding: 1.375rem 1.625rem;
  font-size: .9375rem;
  color: var(--text-mid);
  line-height: 1.75;
  display: flex;
  align-items: flex-start;
}

/* ── Resources — colour-coded shelf ─────────────────────────────────────── */
.hp-resources {
  background: #f0f4ff;
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}
.hp-resources::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #4338ca, #0d9488, #10b981);
}
.hp-resources-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2rem;
  margin-bottom: 3rem;
}
.hp-resources-header h2 {
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--navy);
  margin-bottom: .625rem;
}
.hp-resources-header p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin: 0;
  max-width: 52ch;
}
.hp-btn-teal {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  background: var(--teal);
  color: #fff;
  font-size: .875rem;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  border: 2px solid var(--teal);
  white-space: nowrap;
  transition: background .15s;
}
.hp-btn-teal:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: #fff;
  text-decoration: none;
}
/* Resource shelf — three colour-coded columns, no floating cards */
.hp-res-shelf {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 8px 32px rgba(0,0,0,.09);
}
.hp-res-col {
  background: #fff;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-right: 1px solid var(--border);
  position: relative;
  transition: background .2s;
}
.hp-res-col:hover { background: #fafbff; }
.hp-res-col:last-child { border-right: none; }
.hp-res-col::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  border-radius: 0;
}
.hp-res-col-open::before  { background: #2563eb; }
.hp-res-col-priv::before  { background: #7c3aed; }
.hp-res-col-gis::before   { background: #059669; }
.hp-res-col-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hp-res-col-icon svg {
  width: 26px; height: 26px;
  stroke: currentColor; fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hp-res-col-open .hp-res-col-icon  { background: #dbeafe; color: #1d4ed8; }
.hp-res-col-priv .hp-res-col-icon  { background: #ede9fe; color: #6d28d9; }
.hp-res-col-gis  .hp-res-col-icon  { background: #d1fae5; color: #065f46; }
.hp-res-col h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}
.hp-res-col p {
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin: 0;
  flex: 1;
}
.hp-res-col-link {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .875rem;
  font-weight: 700;
  text-decoration: none;
  margin-top: auto;
}
.hp-res-col-open .hp-res-col-link  { color: #1d4ed8; }
.hp-res-col-priv .hp-res-col-link  { color: #6d28d9; }
.hp-res-col-gis  .hp-res-col-link  { color: #065f46; }
.hp-res-col-link:hover { text-decoration: underline; }
.hp-res-col-link svg {
  width: 14px; height: 14px;
  stroke: currentColor; fill: none; stroke-width: 2.5;
  transition: transform .15s;
}
.hp-res-col-link:hover svg { transform: translateX(3px); }

/* ── Practice — split CTA ────────────────────────────────────────────────── */
.hp-practice {
  background: linear-gradient(135deg, #0a1628 0%, #1e1b5e 50%, #0f3460 100%);
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}
.hp-practice::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(13,148,136,.18) 0%, transparent 65%);
  pointer-events: none;
}
.hp-practice-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hp-practice-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hp-practice-text h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin-bottom: 1.125rem;
}
.hp-practice-text p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.72);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 44ch;
}
.hp-practice-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .625rem;
  margin-bottom: 2rem;
}
.hp-practice-chip {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 100px;
  padding: .375rem .875rem;
  font-size: .8125rem;
  color: rgba(255,255,255,.75);
}
.hp-practice-chip svg {
  width: 13px; height: 13px;
  stroke: #5eead4; fill: none; stroke-width: 2;
}
/* Practice illustration */
.hp-practice-visual {
  position: relative;
  height: 360px;
}
.hp-tool-panel {
  position: absolute;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  padding: 1.5rem;
  box-shadow: 0 16px 48px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.08);
}
.hp-tool-main {
  inset: 0 0 80px 0;
}
.hp-tool-header {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.hp-tool-dot {
  width: 8px; height: 8px; border-radius: 50%;
}
.hp-tool-title {
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.4);
  flex: 1;
}
.hp-tool-score {
  font-size: 2.75rem;
  font-weight: 800;
  color: #5eead4;
  line-height: 1;
  margin-bottom: .25rem;
  text-shadow: 0 0 24px rgba(94,234,212,.35);
}
.hp-tool-score-label {
  font-size: .6875rem;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1rem;
}
.hp-tool-checks {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.hp-tool-check {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: .8125rem;
  color: rgba(255,255,255,.65);
}
.hp-tool-check-icon {
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hp-tool-check-icon.pass { background: rgba(16,185,129,.2); }
.hp-tool-check-icon.warn { background: rgba(245,158,11,.2); }
.hp-tool-check-icon svg {
  width: 10px; height: 10px;
  stroke-width: 2.5; fill: none;
}
.hp-tool-check-icon.pass svg { stroke: #10b981; }
.hp-tool-check-icon.warn svg { stroke: #f59e0b; }
.hp-tool-float {
  position: absolute;
  bottom: 0; right: 0;
  width: 190px;
  background: rgba(10,22,40,.92);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  padding: 1.125rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
}
.hp-tool-float-label {
  font-size: .5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.35);
  margin-bottom: .625rem;
}
.hp-mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 48px;
}
.hp-mini-bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
}

/* -- Journey section separators -- */

.hp-journey-sep {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem 0;
  background: #f8fafc;
}
.hp-journey-sep::before,
.hp-journey-sep::after {
  content: "";
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border));
}
.hp-journey-sep::after {
  background: linear-gradient(90deg, var(--border), transparent);
}
.hp-journey-sep-inner {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-light);
}
.hp-journey-sep-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}
.hp-journey-sep.dark {
  background: var(--navy);
}
.hp-journey-sep.dark::before {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.1));
}
.hp-journey-sep.dark::after {
  background: linear-gradient(90deg, rgba(255,255,255,.1), transparent);
}
.hp-journey-sep.dark .hp-journey-sep-inner {
  color: rgba(255,255,255,.35);
}

/* ── Scroll reveal ───────────────────────────────────────────────────────── */
.hp-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.hp-reveal.hp-visible {
  opacity: 1;
  transform: none;
}
.hp-reveal-delay-1 { transition-delay: .1s; }
.hp-reveal-delay-2 { transition-delay: .2s; }
.hp-reveal-delay-3 { transition-delay: .3s; }
.hp-reveal-delay-4 { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  .hp-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hp-hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hp-hero-visual { height: 340px; }
  .hp-why-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hp-why-lead { position: static; }
  .hp-glossary-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hp-glossary-lead { position: static; }
  .hp-practice-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hp-practice-visual { height: 300px; }
  .hp-resources-header { grid-template-columns: 1fr; }
  .hp-paths-featured { grid-template-columns: 1fr 1fr; }
  .hp-paths-supporting { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hp-paths-featured { grid-template-columns: 1fr; }
  .hp-paths-supporting { grid-template-columns: repeat(2, 1fr); }
  .hp-res-shelf { grid-template-columns: 1fr; }
  .hp-res-col { border-right: none; border-bottom: 1px solid var(--border); }
  .hp-res-col:last-child { border-bottom: none; }
  .hp-journey-sep { display: none; }
}
@media (max-width: 640px) {
  .hp-hero { padding: 3.5rem 0 3rem; }
  .hp-hero h1 { font-size: 2.125rem; }
  .hp-hero-actions { flex-direction: column; }
  .hp-btn-primary, .hp-btn-ghost { width: 100%; justify-content: center; }
  .hp-hero-visual { display: none; }
  .hp-why { padding: 3.5rem 0; }
  .hp-principles::before { display: none; }
  .hp-paths { padding: 3.5rem 0; }
  .hp-paths-featured { grid-template-columns: 1fr; }
  .hp-paths-supporting { grid-template-columns: 1fr; }
  .hp-path-tile { min-height: auto; padding: 1.75rem; }
  .hp-paths-supporting .hp-path-tile { min-height: auto; }
  .hp-glossary { padding: 3.5rem 0; }
  .hp-term-row { grid-template-columns: 1fr; }
  .hp-term-key { border-right: none; border-bottom: 1px solid var(--border); background: #fff; padding: 1rem 1.25rem; }
  .hp-term-def { padding: 1rem 1.25rem; }
  .hp-resources { padding: 3.5rem 0; }
  .hp-practice { padding: 3.5rem 0; }
  .hp-practice-visual { display: none; }
  .hp-practice-text p { max-width: none; }
  .hp-journey-sep { display: none; }
}
