/* ============================================================
   Property Pros — Design System
   Premium field-services aesthetic: deep navy + safety orange.
   ============================================================ */

:root {
  /* Brand palette */
  --navy-950: #060f1c;
  --navy-900: #0a1628;
  --navy-850: #0d1d33;
  --navy-800: #102540;
  --navy-700: #16314f;
  --navy-600: #1f436b;

  --accent: #ff6b35;       /* safety orange */
  --accent-600: #e85d2a;
  --accent-300: #ffa073;
  --accent-soft: rgba(255, 107, 53, 0.12);

  --blue: #2f9bff;         /* trust accent */
  --green: #2dd4a7;        /* success / complete */

  --ink: #0b1f33;
  --steel: #54647a;
  --steel-300: #8595a8;
  --paper: #f5f8fc;
  --paper-2: #eef3f9;
  --white: #ffffff;

  --line: rgba(15, 35, 64, 0.10);
  --line-dark: rgba(255, 255, 255, 0.10);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(10, 22, 40, 0.06), 0 1px 3px rgba(10, 22, 40, 0.10);
  --shadow-md: 0 8px 24px rgba(10, 22, 40, 0.10), 0 2px 6px rgba(10, 22, 40, 0.06);
  --shadow-lg: 0 24px 60px rgba(6, 15, 28, 0.20);
  --shadow-accent: 0 12px 30px rgba(255, 107, 53, 0.32);

  --font-head: "Sora", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Don't fake-bold the body font (Inter) when a weight isn't loaded — that's
     what makes bold words look stretched/distorted. Keep italic synthesis. */
  font-synthesis: style;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.18; letter-spacing: -0.015em; font-weight: 700; overflow-wrap: break-word; }
p { overflow-wrap: break-word; }
/* Gradient-clipped words need room for descenders (g, y, p) or they clip */
.grad { display: inline-block; padding-bottom: 0.08em; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: 96px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-600);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.eyebrow.on-dark { color: var(--accent-300); }

.lead { font-size: 1.15rem; color: var(--steel); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.98rem;
  padding: 14px 26px; border-radius: 999px; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-accent); }
.btn-primary:hover { transform: translateY(-2px); background: var(--accent-600); }
.btn-ghost { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.18); }
.btn-ghost:hover { background: rgba(255,255,255,0.16); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-600); }
.btn-block { width: 100%; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; box-shadow: none; transform: none; }

/* ---------- Top navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(150%) blur(14px);
  background: rgba(8, 18, 33, 0.72);
  border-bottom: 1px solid var(--line-dark);
}
.nav.light { background: rgba(255,255,255,0.85); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 800; font-size: 1.18rem; color: #fff; letter-spacing: -0.02em; }
.nav.light .brand { color: var(--ink); }
.brand .mark {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-600));
  box-shadow: var(--shadow-accent); color: #fff; font-weight: 800;
}
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-300); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: rgba(255,255,255,0.78); font-weight: 500; font-size: .96rem; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #fff; }
.nav-links a.active::after { content: ""; display: block; height: 2px; border-radius: 2px; background: var(--accent); margin-top: 4px; }
.nav.light .nav-links a { color: var(--steel); }
.nav.light .nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; color: #fff; font-size: 1.5rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(255,107,53,0.20), transparent 60%),
    radial-gradient(800px 500px at 8% 12%, rgba(47,155,255,0.14), transparent 55%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  color: #fff;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(900px 500px at 70% 0%, #000, transparent 75%);
          mask-image: radial-gradient(900px 500px at 70% 0%, #000, transparent 75%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding-block: 92px 104px; }
.hero h1 { font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 800; }
.hero h1 .grad { background: linear-gradient(120deg, var(--accent-300), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { margin-top: 22px; font-size: 1.18rem; color: rgba(255,255,255,0.78); max-width: 52ch; }
.hero-cta { margin-top: 34px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-trust { margin-top: 38px; display: flex; gap: 26px; flex-wrap: wrap; color: rgba(255,255,255,0.62); font-size: .9rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }

/* Hero visual card */
.hero-card {
  position: relative; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: var(--shadow-lg); padding: 26px; backdrop-filter: blur(6px);
}
.hero-card .badge-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.pill { font-family: var(--font-head); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.pill-live { background: rgba(45,212,167,0.16); color: var(--green); }
.hero-steps { display: grid; gap: 12px; }
.hstep { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); }
.hstep .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-300); flex-shrink: 0; font-size: 1.2rem; }
.hstep .ico.done { background: rgba(45,212,167,0.15); color: var(--green); }
.hstep b { display: block; font-family: var(--font-head); font-size: .98rem; }
.hstep small { color: rgba(255,255,255,0.55); font-size: .82rem; }
.hstep .chk { margin-left: auto; color: var(--green); }

/* ---------- Stat band ---------- */
.stats { background: var(--ink); color: #fff; }
.stats .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding-block: 54px; }
.stat .num { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; background: linear-gradient(120deg,#fff,var(--accent-300)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lbl { color: rgba(255,255,255,0.6); font-size: .95rem; margin-top: 4px; }

/* ---------- Values ---------- */
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 48px; }
.value {
  padding: 28px 22px; border-radius: var(--radius); background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-600); font-size: 1.35rem; margin-bottom: 16px; }
.value h3 { font-size: 1.12rem; }
.value p { color: var(--steel); font-size: .92rem; margin-top: 8px; }

/* ---------- Journey / How it works ---------- */
.journey { background: var(--paper); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 48px; counter-reset: step; }
.jstep { position: relative; padding: 30px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.jstep::before { counter-increment: step; content: counter(step); position: absolute; top: -18px; left: 24px; width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; box-shadow: var(--shadow-md); }
.jstep h3 { margin-top: 14px; font-size: 1.08rem; }
.jstep p { color: var(--steel); font-size: .92rem; margin-top: 8px; }
.jstep.is-gate { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.jstep.is-gate::before { background: var(--accent); }

/* ---------- Training preview / CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy-850), var(--navy-950)); color: #fff; border-radius: var(--radius-lg); padding: 64px; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(255,107,53,0.28), transparent 70%); }
.cta-band h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); position: relative; }
.cta-band p { color: rgba(255,255,255,0.72); margin-top: 14px; max-width: 56ch; position: relative; }

/* ---------- Contact / Application ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .88rem; margin-bottom: 7px; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  background: var(--white); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field textarea { min-height: 130px; resize: vertical; }
.contact-info { display: grid; gap: 18px; }
.contact-row { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.contact-row .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-600); display: grid; place-items: center; font-size: 1.25rem; flex-shrink: 0; }
.contact-row b { font-family: var(--font-head); }
.contact-row span { color: var(--steel); font-size: .92rem; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: rgba(255,255,255,0.6); padding-block: 56px 30px; }
.footer .top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 30px; border-bottom: 1px solid var(--line-dark); }
.footer .brand { color: #fff; }
.footer-links { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-col h4 { color: #fff; font-size: .92rem; margin-bottom: 12px; }
.footer-col a { display: block; padding: 4px 0; font-size: .9rem; transition: color .2s; }
.footer-col a:hover { color: var(--accent-300); }
.footer .bottom { padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; }

/* ============================================================
   AUTH PAGES (login)
   ============================================================ */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 0.95fr; }
.auth-aside {
  position: relative; overflow: hidden; color: #fff; padding: 56px;
  display: flex; flex-direction: column; justify-content: space-between;
  background:
    radial-gradient(700px 400px at 20% 10%, rgba(255,107,53,0.22), transparent 60%),
    linear-gradient(180deg, var(--navy-850), var(--navy-950));
}
.auth-aside::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px; -webkit-mask-image: radial-gradient(600px 400px at 30% 20%, #000, transparent 70%); mask-image: radial-gradient(600px 400px at 30% 20%, #000, transparent 70%);
}
.auth-aside > * { position: relative; z-index: 1; }
.auth-aside h2 { font-size: 2.1rem; margin-top: 26px; }
.auth-aside p { color: rgba(255,255,255,0.72); margin-top: 14px; max-width: 40ch; }
.auth-feature { display: flex; gap: 14px; align-items: center; margin-top: 18px; }
.auth-feature .ico { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.08); display: grid; place-items: center; color: var(--accent-300); }
.auth-main { display: grid; place-items: center; padding: 40px 24px; background: var(--paper); }
.auth-card { width: 100%; max-width: 420px; background: #fff; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.auth-card h1 { font-size: 1.7rem; }
.auth-card .sub { color: var(--steel); margin-top: 8px; margin-bottom: 26px; }
.auth-meta { display: flex; justify-content: space-between; align-items: center; margin: 6px 0 22px; font-size: .88rem; }
.auth-meta a { color: var(--accent-600); font-weight: 600; }
.auth-error { background: rgba(229,93,42,0.10); color: var(--accent-600); border: 1px solid rgba(229,93,42,0.25); padding: 12px 14px; border-radius: var(--radius-sm); font-size: .9rem; margin-bottom: 18px; display: none; }
.auth-error.show { display: block; }
.demo-hint { margin-top: 22px; padding: 14px 16px; background: var(--paper-2); border: 1px dashed var(--line); border-radius: var(--radius-sm); font-size: .82rem; color: var(--steel); }
.demo-hint b { color: var(--ink); font-family: var(--font-head); }
.demo-hint code { background: #fff; padding: 1px 7px; border-radius: 6px; border: 1px solid var(--line); color: var(--accent-600); font-size: .82rem; }

/* ============================================================
   APP SHELL (training + dashboard, authed)
   ============================================================ */
.app { min-height: 100vh; background: var(--paper); }
.app-bar { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.app-bar .nav-inner { height: 68px; }
.app-bar .brand { color: var(--ink); }
.app-nav { display: flex; gap: 8px; align-items: center; }
.app-nav a { padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--steel); transition: background .2s, color .2s; }
.app-nav a:hover { background: var(--paper-2); color: var(--ink); }
.app-nav a.active { background: var(--ink); color: #fff; }
.app-nav a.locked { opacity: .5; }
.app-nav a.locked::after { content: "🔒"; margin-left: 6px; font-size: .8rem; }
.user-chip { display: flex; align-items: center; gap: 10px; padding-left: 14px; border-left: 1px solid var(--line); }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-600)); font-size: .92rem; }
.user-chip .meta b { display: block; font-size: .9rem; font-family: var(--font-head); }
.user-chip .meta small { color: var(--steel); font-size: .78rem; text-transform: capitalize; }
.linkbtn { color: var(--steel); font-size: .86rem; font-weight: 600; }
.linkbtn:hover { color: var(--accent-600); }

.app-main { max-width: 1080px; margin-inline: auto; padding: 40px 24px 80px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.page-head h1 { font-size: 2rem; }
.page-head p { color: var(--steel); margin-top: 6px; }

/* Progress meter */
.progress-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); margin-bottom: 30px; }
.progress-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; flex-wrap: wrap; gap: 10px; }
.progress-top b { font-family: var(--font-head); font-size: 1.05rem; }
.progress-count { font-family: var(--font-head); font-weight: 700; color: var(--accent-600); }
.bar { height: 12px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-300)); width: 0; transition: width .6s var(--ease); }
.bar.done > span { background: linear-gradient(90deg, var(--green), #6ee7c4); }
.gate-note { margin-top: 14px; font-size: .9rem; color: var(--steel); display: flex; align-items: center; gap: 8px; }
.gate-note.ready { color: var(--green); font-weight: 600; }

/* Module list */
.modules { display: grid; gap: 18px; }
.module { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .25s; }
.module.open { box-shadow: var(--shadow-md); }
.module-head { display: flex; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; }
.module-num { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; background: var(--paper-2); color: var(--steel); transition: background .2s, color .2s; }
.module.complete .module-num { background: rgba(45,212,167,0.15); color: var(--green); }
.module-info { flex: 1; min-width: 0; }
.module-info b { font-family: var(--font-head); font-size: 1.08rem; display: block; }
.module-info small { color: var(--steel); font-size: .86rem; }
.module-status { font-size: .82rem; font-weight: 600; font-family: var(--font-head); padding: 6px 13px; border-radius: 999px; white-space: nowrap; }
.status-locked { background: var(--paper-2); color: var(--steel-300); }
.status-progress { background: var(--accent-soft); color: var(--accent-600); }
.status-complete { background: rgba(45,212,167,0.15); color: var(--green); }
.chev { color: var(--steel-300); transition: transform .25s; }
.module.open .chev { transform: rotate(180deg); }

.module-body { display: none; padding: 0 22px 24px; }
.module.open .module-body { display: block; animation: fade .3s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.video-shell { position: relative; border-radius: var(--radius-sm); overflow: hidden; background: #000; aspect-ratio: 16/9; }
.video-shell video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.video-locknote { font-size: .82rem; color: var(--steel); margin-top: 10px; display: flex; align-items: center; gap: 8px; }
.watch-bar { height: 6px; border-radius: 999px; background: var(--paper-2); margin-top: 12px; overflow: hidden; }
.watch-bar > span { display: block; height: 100%; background: var(--accent); width: 0; }
.ack { margin-top: 18px; display: flex; align-items: flex-start; gap: 12px; padding: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.ack input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; }
.ack label { font-size: .9rem; color: var(--ink); }
.module-actions { margin-top: 18px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

.banner-done { background: linear-gradient(135deg, rgba(45,212,167,0.12), rgba(45,212,167,0.04)); border: 1px solid rgba(45,212,167,0.3); border-radius: var(--radius); padding: 26px; display: flex; gap: 18px; align-items: center; margin-bottom: 30px; }
.banner-done .ico { width: 56px; height: 56px; border-radius: 16px; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 1.6rem; flex-shrink: 0; }
.banner-done h3 { font-size: 1.25rem; }
.banner-done p { color: var(--steel); margin-top: 4px; }

/* Dashboard */
.dash-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card-head { padding: 18px 22px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.card-head h3 { font-size: 1.1rem; }
.card-body { padding: 22px; }
.order { display: flex; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; }
.order .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-600); display: grid; place-items: center; flex-shrink: 0; }
.order .meta { flex: 1; min-width: 0; }
.order .meta b { font-family: var(--font-head); display: block; }
.order .meta small { color: var(--steel); }
.tag { font-size: .72rem; font-weight: 700; font-family: var(--font-head); padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.tag-due { background: var(--accent-soft); color: var(--accent-600); }
.tag-new { background: rgba(47,155,255,0.14); color: var(--blue); }
.kpi { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.kpi .box { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.kpi .box .n { font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; }
.kpi .box .l { color: var(--steel); font-size: .84rem; }

/* ============================================================
   INSPECTOR TRAINING DASHBOARD
   ============================================================ */
.status-chip { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); font-weight: 600; font-size: .82rem; padding: 7px 14px; border-radius: 999px; }
.status-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-chip.certified { background: rgba(45,212,167,0.15); color: #16876a; }
.status-chip.training { background: var(--accent-soft); color: var(--accent-600); }

/* Hero progress block */
.dash-hero { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; color: #fff; border-radius: var(--radius-lg); padding: 30px 34px; margin-bottom: 24px;
  background: radial-gradient(700px 300px at 90% -40%, rgba(255,107,53,0.28), transparent 60%), linear-gradient(135deg, var(--navy-850), var(--navy-950)); box-shadow: var(--shadow-lg); }
.ring-wrap { position: relative; width: 132px; height: 132px; flex-shrink: 0; }
.ring-wrap svg { transform: rotate(-90deg); }
.ring-wrap .label { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.ring-wrap .label b { font-family: var(--font-head); font-size: 2rem; line-height: 1; display: block; }
.ring-wrap .label small { font-size: .72rem; color: rgba(255,255,255,0.6); letter-spacing: .04em; }
.dash-hero .copy h2 { font-size: 1.5rem; }
.dash-hero .copy p { color: rgba(255,255,255,0.72); margin-top: 6px; font-size: .96rem; }
.dash-hero .cta { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 760px) { .dash-hero { grid-template-columns: 1fr; text-align: center; justify-items: center; } .dash-hero .cta { width: 100%; } }

.dash-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }

/* Up next */
.upnext { display: flex; gap: 16px; align-items: center; }
.upnext .big { width: 56px; height: 56px; border-radius: 16px; background: var(--accent-soft); color: var(--accent-600); display: grid; place-items: center; font-size: 1.5rem; flex-shrink: 0; }
.upnext .meta { flex: 1; min-width: 0; }
.upnext .meta small { color: var(--steel); }
.upnext .meta b { font-family: var(--font-head); font-size: 1.1rem; display: block; }

/* Curriculum */
.curr { display: grid; gap: 10px; }
.curr-item { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: background .15s; }
.curr-item:hover { background: var(--paper); }
.curr-item .n { width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; background: var(--paper-2); color: var(--steel); }
.curr-item.done .n { background: rgba(45,212,167,0.15); color: var(--green); }
.curr-item.next .n { background: var(--accent); color: #fff; }
.curr-item .t { flex: 1; min-width: 0; }
.curr-item .t b { font-family: var(--font-head); font-size: .96rem; display: block; }
.curr-item .t small { color: var(--steel); font-size: .82rem; }

/* Achievements */
.ach-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.ach { text-align: center; padding: 16px 8px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; transition: transform .2s; }
.ach.earned { border-color: rgba(45,212,167,0.4); background: rgba(45,212,167,0.06); }
.ach.earned:hover { transform: translateY(-3px); }
.ach.locked { opacity: .4; filter: grayscale(0.8); }
.ach .medal { font-size: 1.7rem; line-height: 1; }
.ach b { display: block; font-size: .76rem; margin-top: 7px; font-family: var(--font-head); }

/* Activity timeline */
.timeline { position: relative; }
.tl-item { display: flex; gap: 14px; padding: 10px 0; }
.tl-item .dot { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: rgba(45,212,167,0.15); color: var(--green); font-size: .9rem; }
.tl-item .body b { font-family: var(--font-head); font-size: .92rem; display: block; }
.tl-item .body small { color: var(--steel); font-size: .8rem; }
.tl-empty { color: var(--steel); font-size: .9rem; padding: 10px 0; }

/* Certificate card */
.cert { text-align: center; padding: 30px; border-radius: var(--radius); border: 2px dashed rgba(45,212,167,0.4); background: rgba(45,212,167,0.05); }
.cert .seal { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; background: var(--green); color: #fff; font-size: 1.8rem; box-shadow: 0 8px 20px rgba(45,212,167,0.4); }
.cert h3 { font-size: 1.2rem; }
.cert p { color: var(--steel); font-size: .9rem; margin: 6px 0 18px; }

@media (max-width: 760px) { .dash-kpis { grid-template-columns: repeat(2,1fr); } .ach-grid { grid-template-columns: repeat(3,1fr); } }

/* Gate screen (training not complete) */
.gate-screen { max-width: 560px; margin: 60px auto; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 48px 40px; box-shadow: var(--shadow-md); }
.gate-screen .lock { width: 72px; height: 72px; border-radius: 20px; margin: 0 auto 20px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-600); font-size: 2rem; }
.gate-screen h1 { font-size: 1.8rem; }
.gate-screen p { color: var(--steel); margin-top: 12px; }

/* ============================================================
   ADMIN — Training Department
   ============================================================ */
.admin-kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 28px; }
.kpi-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.kpi-card .n { font-family: var(--font-head); font-weight: 800; font-size: 2rem; line-height: 1; }
.kpi-card .l { color: var(--steel); font-size: .84rem; margin-top: 6px; }
.kpi-card .n.ok { color: var(--green); }
.kpi-card .n.warn { color: var(--accent-600); }

/* Segmented tabs */
.seg { display: inline-flex; gap: 4px; background: var(--paper-2); padding: 5px; border-radius: 999px; border: 1px solid var(--line); }
.seg button { padding: 8px 18px; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--steel); transition: background .2s, color .2s; }
.seg button.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

.tabpane { display: none; }
.tabpane.active { display: block; animation: fade .3s var(--ease); }

/* Roster table */
.table-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
table.roster { width: 100%; border-collapse: collapse; }
table.roster th { text-align: left; font-family: var(--font-head); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--steel); padding: 14px 18px; background: var(--paper); border-bottom: 1px solid var(--line); }
table.roster td { padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: .92rem; }
table.roster tr:last-child td { border-bottom: none; }
table.roster tbody tr { transition: background .15s; }
table.roster tbody tr:hover { background: var(--paper); }
.who { display: flex; align-items: center; gap: 12px; }
.who .avatar { width: 40px; height: 40px; font-size: .85rem; }
.who b { font-family: var(--font-head); display: block; }
.who small { color: var(--steel); }
.contact a { color: var(--ink); display: block; }
.contact a:hover { color: var(--accent-600); }
.contact small { color: var(--steel); }

/* status badge */
.badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600; font-size: .78rem; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge.certified { background: rgba(45,212,167,0.14); color: #16876a; }
.badge.training  { background: var(--accent-soft); color: var(--accent-600); }
.badge.pending   { background: rgba(47,155,255,0.14); color: #1f6fc0; }
.badge.notstarted{ background: var(--paper-2); color: var(--steel); }

/* module dots */
.dots { display: flex; gap: 6px; align-items: center; }
.dot-m { width: 16px; height: 16px; border-radius: 5px; background: var(--paper-2); border: 1px solid var(--line); display: grid; place-items: center; font-size: 9px; color: transparent; }
.dot-m.on { background: var(--green); border-color: var(--green); color: #fff; }
.mini-prog { display: flex; align-items: center; gap: 10px; }
.mini-bar { width: 84px; height: 8px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.mini-bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-300)); }
.mini-bar.done > span { background: var(--green); }
.mini-prog b { font-family: var(--font-head); font-size: .85rem; }

.row-actions { display: flex; gap: 8px; justify-content: flex-end; }
.btn-sm { padding: 8px 14px; font-size: .84rem; }

/* Modal */
.modal-backdrop { position: fixed; inset: 0; background: rgba(6,15,28,0.55); backdrop-filter: blur(3px); z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal-backdrop.open { display: flex; animation: fade .2s var(--ease); }
.modal { background: #fff; border-radius: var(--radius-lg); width: 100%; max-width: 540px; box-shadow: var(--shadow-lg); overflow: hidden; max-height: 90vh; display: flex; flex-direction: column; }
.modal-head { padding: 24px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.modal-head .avatar { width: 52px; height: 52px; font-size: 1.05rem; }
.modal-head h3 { font-size: 1.25rem; }
.modal-head small { color: var(--steel); }
.modal-head .x { margin-left: auto; font-size: 1.5rem; color: var(--steel); line-height: 1; }
.modal-body { padding: 24px; overflow-y: auto; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.contact-grid .c { padding: 13px 15px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.contact-grid .c .k { font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--steel); }
.contact-grid .c .v { font-family: var(--font-head); font-weight: 600; margin-top: 3px; }
.modal-body h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--steel); margin-bottom: 12px; }
.mod-check { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.mod-check:last-child { border-bottom: none; }
.mod-check .tick { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; flex-shrink: 0; background: var(--paper-2); color: var(--steel-300); font-size: .8rem; }
.mod-check.on .tick { background: var(--green); color: #fff; }
.mod-check b { font-family: var(--font-head); font-size: .92rem; }
.mod-check .st { margin-left: auto; font-size: .82rem; color: var(--steel); }
.mod-check.on .st { color: #16876a; font-weight: 600; }

/* Coverage ZIP chips */
.zipchips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.zipchip { display: inline-flex; align-items: center; gap: 6px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: 5px 6px 5px 13px; font-family: var(--font-head); font-weight: 600; font-size: .86rem; }
.zipchip button { width: 19px; height: 19px; border-radius: 50%; background: rgba(15,35,64,0.08); color: var(--steel); display: grid; place-items: center; font-size: .95rem; line-height: 1; }
.zipchip button:hover { background: var(--accent); color: #fff; }
.zip-add { display: flex; gap: 8px; }
.zip-add input { flex: 1; padding: 10px 13px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); }
.zip-add input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }

/* Manager alert (e.g., shared ZIP) */
.alert-warn { background: rgba(255,107,53,0.08); border: 1px solid rgba(255,107,53,0.30); color: var(--accent-600); padding: 13px 16px; border-radius: var(--radius-sm); font-size: .9rem; margin-bottom: 16px; }
.alert-warn b { font-family: var(--font-head); }
.alert-warn ul { color: var(--ink); margin: 8px 0 0; padding-left: 18px; }
.alert-warn ul li { margin: 2px 0; }
.cov-flag { color: var(--accent-600); cursor: help; }

/* Schedule */
.sched-grid { display: grid; grid-template-columns: 360px 1fr; gap: 24px; align-items: start; }
.sched-list { display: grid; gap: 12px; }
.sched-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow-sm); }
.sched-date { text-align: center; flex-shrink: 0; width: 58px; }
.sched-date .d { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; line-height: 1; }
.sched-date .m { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-600); }
.sched-item .info { flex: 1; min-width: 0; }
.sched-item .info b { font-family: var(--font-head); display: block; }
.sched-item .info small { color: var(--steel); }
.sched-item .time { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: .9rem; white-space: nowrap; }
.sched-item .del { color: var(--steel-300); font-size: 1.1rem; }
.sched-item .del:hover { color: var(--accent-600); }
.sched-empty { color: var(--steel); padding: 28px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); }

/* ============================================================
   EQUIPMENT STORE (premium)
   ============================================================ */
.shopbar { position: sticky; top: 0; z-index: 50; background: rgba(8,18,33,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-dark); }
.shop-hero { position: relative; overflow: hidden; color: #fff; text-align: center;
  background: radial-gradient(800px 380px at 50% -30%, rgba(255,107,53,0.26), transparent 60%), linear-gradient(180deg, var(--navy-900), var(--navy-950)); }
.shop-hero::after { content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(700px 360px at 50% 0%, #000, transparent 75%); mask-image: radial-gradient(700px 360px at 50% 0%, #000, transparent 75%); }
.shop-hero .inner { position: relative; z-index: 1; padding-block: 72px 60px; max-width: 720px; margin-inline: auto; }
.shop-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); font-weight: 800; }
.shop-hero h1 .grad { background: linear-gradient(120deg, var(--accent-300), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.shop-hero p { color: rgba(255,255,255,0.78); margin-top: 16px; font-size: 1.15rem; }
.shop-trust { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; margin-top: 28px; color: rgba(255,255,255,0.66); font-size: .9rem; }
.shop-trust span { display: inline-flex; align-items: center; gap: 8px; }

/* Featured kit */
.kit-feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: #fff; margin-top: -40px; position: relative; z-index: 2; }
.kit-feature .kf-img { position: relative; background: #0d1d33; min-height: 320px; }
.kit-feature .kf-img img { width: 100%; height: 100%; object-fit: cover; }
.kit-feature .kf-tag { position: absolute; top: 18px; left: 18px; background: var(--accent); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; box-shadow: var(--shadow-accent); }
.kit-feature .kf-body { padding: 40px clamp(28px,4vw,48px); display: flex; flex-direction: column; justify-content: center; }
.kit-feature .kf-body .eyebrow { color: var(--accent-600); }
.kit-feature h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 12px 0 10px; }
.kit-feature p { color: var(--steel); }
.kit-incl { display: grid; gap: 8px; margin: 18px 0; }
.kit-incl li { list-style: none; padding-left: 26px; position: relative; font-size: .96rem; }
.kit-incl li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.priceline { display: flex; align-items: baseline; gap: 12px; margin: 6px 0 20px; }
.priceline .now { font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; }
.priceline .was { color: var(--steel-300); text-decoration: line-through; font-size: 1.1rem; }
.priceline .save { background: rgba(45,212,167,0.15); color: #16876a; font-family: var(--font-head); font-weight: 700; font-size: .78rem; padding: 4px 10px; border-radius: 999px; }

/* Product grid */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.prod-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.prod-card .pimg { position: relative; aspect-ratio: 4/3; background: #f0f4f9; overflow: hidden; }
.prod-card .pimg img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.prod-card:hover .pimg img { transform: scale(1.05); }
.req-badge { position: absolute; top: 14px; left: 14px; background: var(--ink); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }
.prod-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.prod-body .ptype { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-600); font-family: var(--font-head); font-weight: 600; }
.prod-body h3 { font-size: 1.12rem; margin: 6px 0 8px; }
.prod-body p { color: var(--steel); font-size: .9rem; flex: 1; }
.prod-body .pprice { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; margin: 14px 0; }
.buy-row { display: flex; gap: 10px; }
.buy-row .btn { flex: 1; }

.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; }
.trust-item { text-align: center; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.trust-item .ic { font-size: 1.7rem; }
.trust-item b { display: block; font-family: var(--font-head); margin-top: 8px; font-size: .95rem; }
.trust-item small { color: var(--steel); }

@media (max-width: 860px) {
  .kit-feature { grid-template-columns: 1fr; margin-top: -24px; }
  .prod-grid { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   FEATURE TRIO + QUOTE BAND (impressive content blocks)
   ============================================================ */
.feature3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
@media (max-width: 760px) { .feature3 { grid-template-columns: 1fr; } }

.quote-band { position: relative; overflow: hidden; text-align: center; color: #fff; border-radius: var(--radius-lg); padding: 64px 48px; margin-top: 28px;
  background: radial-gradient(700px 300px at 80% -30%, rgba(255,107,53,0.30), transparent 60%), linear-gradient(135deg, var(--navy-850), var(--navy-950)); box-shadow: var(--shadow-lg); }
.quote-band .qmark { font-family: var(--font-head); font-size: 3.4rem; line-height: .6; color: var(--accent); }
.quote-band p { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.5rem, 3.2vw, 2.3rem); max-width: 22ch; margin: 14px auto 0; letter-spacing: -0.02em; }
.quote-band .by { margin-top: 18px; color: rgba(255,255,255,0.6); font-size: .95rem; }

/* Director's note (editorial pull-quote) */
.director { background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--accent); border-radius: var(--radius-lg); padding: 44px clamp(28px, 5vw, 56px); box-shadow: var(--shadow-sm); }
.director .qmark { font-family: var(--font-head); font-size: 3rem; color: var(--accent); line-height: .4; }
.director blockquote { margin: 0; }
.director p { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.38; letter-spacing: -0.01em; color: var(--ink); margin-top: 16px; }
.director .by { margin-top: 22px; font-family: var(--font-head); font-weight: 700; color: var(--accent-600); }
.director .by span { display: block; color: var(--steel); font-weight: 500; font-size: .9rem; margin-top: 2px; }

/* Image with caption overlay (reusable) */
.photo-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.photo-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-stat { position: absolute; left: 20px; bottom: 20px; right: 20px; background: rgba(8,18,33,0.66); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.14); color: #fff; border-radius: var(--radius); padding: 14px 18px; }
.photo-stat b { font-family: var(--font-head); display: block; }
.photo-stat small { color: rgba(255,255,255,0.7); }

/* ============================================================
   EXPECTATIONS (Why Us)
   ============================================================ */
.expect-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.expect-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.expect-card h3 { font-size: 1.25rem; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
ul.ppcheck { list-style: none; padding: 0; margin: 0; }
ul.ppcheck li { position: relative; padding: 11px 0 11px 32px; border-bottom: 1px solid var(--line); font-size: .98rem; }
ul.ppcheck li:last-child { border-bottom: none; }
ul.ppcheck li::before { content: "✓"; position: absolute; left: 0; top: 11px; width: 20px; height: 20px; border-radius: 6px; background: rgba(45,212,167,0.15); color: var(--green); font-size: .8rem; font-weight: 700; display: grid; place-items: center; }
.expect-card.give ul.ppcheck li::before { content: "★"; background: var(--accent-soft); color: var(--accent-600); }

/* ============================================================
   DUTIES + FIELD GUIDE (Inspector Path)
   ============================================================ */
.duty-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 34px; }
.duty { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.duty h3 { font-size: 1.06rem; display: flex; align-items: center; gap: 11px; }
.duty .n { width: 32px; height: 32px; border-radius: 9px; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: .9rem; flex-shrink: 0; }
.duty .line2 { font-size: .9rem; margin-top: 12px; color: var(--ink); }
.duty .line2 b { font-family: var(--font-head); color: var(--accent-600); }
.duty .line2 span { color: var(--steel); }

.callout { border-radius: var(--radius); padding: 22px 24px; margin-top: 18px; border: 1px solid var(--line); background: #fff; }
.callout h4 { font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 10px; }
.callout ul { margin: 0; padding-left: 20px; }
.callout ul li { padding: 4px 0; }
.callout.ok { border-color: rgba(45,212,167,0.35); background: rgba(45,212,167,0.06); }
.callout.warn { border-color: rgba(255,107,53,0.3); background: rgba(255,107,53,0.06); }
.callout.info { border-color: rgba(47,155,255,0.3); background: rgba(47,155,255,0.06); }
.callout .quote { font-style: italic; background: #fff; border-left: 3px solid var(--accent); padding: 10px 14px; border-radius: 6px; margin: 8px 0; }
.remember { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 18px 22px; margin-top: 18px; font-family: var(--font-head); font-weight: 600; }
.buy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.buy { text-align: center; padding: 28px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.buy .ic { font-size: 2.2rem; }
.buy b { display: block; font-family: var(--font-head); margin-top: 12px; }
.subsection-title { margin-top: 64px; }

@media (max-width: 760px) {
  .expect-grid, .duty-grid, .buy-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SUB-PAGE BANNER (multi-page header)
   ============================================================ */
.subhero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 420px at 82% -20%, rgba(255,107,53,0.22), transparent 60%),
    radial-gradient(700px 400px at 5% 0%, rgba(47,155,255,0.12), transparent 55%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
}
.subhero::after {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 52px 52px; -webkit-mask-image: radial-gradient(700px 360px at 75% 0%, #000, transparent 75%); mask-image: radial-gradient(700px 360px at 75% 0%, #000, transparent 75%);
}
.subhero .inner { position: relative; z-index: 1; padding-block: 72px 60px; max-width: 760px; }
.subhero h1 { font-size: clamp(2.1rem, 4.4vw, 3.1rem); font-weight: 800; margin-top: 12px; }
.subhero h1 .grad { background: linear-gradient(120deg, var(--accent-300), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.subhero p { color: rgba(255,255,255,0.78); margin-top: 16px; font-size: 1.15rem; max-width: 60ch; }
.subhero .crumb { font-size: .85rem; color: rgba(255,255,255,0.5); }
.subhero .crumb a { color: rgba(255,255,255,0.5); }
.subhero .crumb a:hover { color: #fff; }

/* Home explore link-cards */
.linkcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
a.linkcard { display: block; padding: 26px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
a.linkcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
a.linkcard .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-600); font-size: 1.35rem; margin-bottom: 16px; }
a.linkcard h3 { font-size: 1.12rem; display: flex; align-items: center; justify-content: space-between; }
a.linkcard h3 .arr { color: var(--accent-600); transition: transform .2s var(--ease); }
a.linkcard:hover h3 .arr { transform: translateX(4px); }
a.linkcard p { color: var(--steel); font-size: .92rem; margin-top: 8px; }

@media (max-width: 960px) { .linkcards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .linkcards { grid-template-columns: 1fr; } }

/* ============================================================
   IMAGERY
   ============================================================ */
.img-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,0.14); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Hero photo */
.hero-photo { position: relative; }
.hero-photo .img-frame { aspect-ratio: 4/5; }
.hero-photo::before { content: ""; position: absolute; inset: -10% -8% auto auto; width: 70%; height: 70%; background: radial-gradient(circle, rgba(255,107,53,0.35), transparent 70%); filter: blur(20px); z-index: -1; }
.float-badge { position: absolute; left: -18px; bottom: 26px; background: #fff; color: var(--ink); border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; }
.float-badge .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(45,212,167,0.15); color: var(--green); font-size: 1.3rem; }
.float-badge b { font-family: var(--font-head); display: block; font-size: 1rem; }
.float-badge small { color: var(--steel); font-size: .8rem; }

/* Coverage section */
.coverage { background: var(--white); }
.coverage-hero { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); margin-top: 40px; }
.coverage-hero img { width: 100%; height: 420px; object-fit: cover; display: block; }
.coverage-hero .overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,15,28,0.82) 0%, rgba(6,15,28,0.45) 50%, rgba(6,15,28,0.1) 100%); display: flex; align-items: center; }
.coverage-hero .overlay .inner { padding: 0 clamp(28px, 5vw, 64px); color: #fff; max-width: 620px; }
.coverage-hero h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
.coverage-hero p { color: rgba(255,255,255,0.82); margin-top: 14px; }
.coverage-chips { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.coverage-chips span { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); padding: 8px 16px; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: .85rem; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.gallery .tile { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 16/9; }
.gallery .tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery .tile:hover img { transform: scale(1.05); }
.gallery .tile .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; background: linear-gradient(transparent, rgba(6,15,28,0.78)); color: #fff; font-family: var(--font-head); font-weight: 600; }

/* CTA band with photo */
.cta-band.has-photo { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding: 48px; }
.cta-band .cta-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5/3; position: relative; z-index: 1; }
.cta-band .cta-photo img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 960px) {
  .cta-band.has-photo { grid-template-columns: 1fr; }
  /* Stack the coverage banner so long text can't clip out of a fixed-height image */
  .coverage-hero { display: flex; flex-direction: column; }
  .coverage-hero img { height: 240px; }
  .coverage-hero .overlay { position: static; background: var(--navy-900); }
  .coverage-hero .overlay .inner { padding: 28px; }
  /* Keep the floating hero badge inside the frame on small screens */
  .float-badge { left: 12px; }
}

/* ---------- Accessibility ---------- */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--accent); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0; font-family: var(--font-head); font-weight: 600; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner, .split, .auth-wrap, .dash-grid { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .values-grid, .steps, .stats .grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .section { padding-block: 64px; }
  .cta-band { padding: 40px 28px; }
}
@media (max-width: 560px) {
  .values-grid, .steps, .stats .grid, .kpi { grid-template-columns: 1fr; }
  .hero p { font-size: 1.05rem; }
  .auth-card, .gate-screen { padding: 28px 22px; }
}
