/* ==========================================================================
   Louder IT Solutions — site styles
   Brand: dark canvas, logo-green accents
   ========================================================================== */

:root {
  /* Brand greens (sampled from logo bars + legacy site accent) */
  --lime: #8bdc2e;
  --lime-2: #a9e46a;
  --lime-3: #c8eea0;
  --lime-4: #def5c6;
  --olive: #799a19;

  /* Neutrals */
  --bg: #0d0e0c;
  --bg-2: #121411;
  --panel: #171a15;
  --panel-2: #1d211a;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f3f5f0;
  --muted: #a6aba2;
  --dim: #7b8077;

  --radius: 18px;
  --radius-sm: 10px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);

  --font-head: "Sora", "Open Sans", system-ui, sans-serif;
  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-brand: "Orbitron", "Sora", sans-serif;

  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --glow: 0 0 0 1px rgba(139, 220, 46, 0.25), 0 10px 40px -10px rgba(139, 220, 46, 0.35);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; color: var(--muted); }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--text);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-weight: 600;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
h4 { font-size: 1rem; letter-spacing: 0; }

.accent { color: var(--lime); }
.grad {
  background: linear-gradient(90deg, var(--lime-4), var(--lime) 60%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 18px;
}
/* mini logo-bar glyph used as the eyebrow mark */
.eyebrow::before {
  content: "";
  width: 18px;
  height: 12px;
  background:
    linear-gradient(var(--lime-4), var(--lime-4)) 0 100% / 3px 40% no-repeat,
    linear-gradient(var(--lime-3), var(--lime-3)) 5px 100% / 3px 60% no-repeat,
    linear-gradient(var(--lime-2), var(--lime-2)) 10px 100% / 3px 80% no-repeat,
    linear-gradient(var(--lime), var(--lime)) 15px 100% / 3px 100% no-repeat;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--lime); color: #0b1205; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--glow); background: var(--lime-2); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lime);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
}
.link-arrow::after { content: "→"; transition: transform 0.2s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Brand mark (HTML rebuild of the logo) ---------- */
.brand {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: end;
  column-gap: 6px;
  line-height: 1;
}
.brand-word {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: 1.45rem;
  letter-spacing: 0.24em;
  color: #fff;
  margin-right: -0.24em;
}
.brand-bars { display: flex; align-items: flex-end; gap: 3px; height: 26px; }
.brand-bars i { width: 6px; display: block; border-radius: 1px; }
.brand-bars i:nth-child(1) { height: 45%; background: var(--lime-4); }
.brand-bars i:nth-child(2) { height: 62%; background: var(--lime-3); }
.brand-bars i:nth-child(3) { height: 80%; background: var(--lime-2); }
.brand-bars i:nth-child(4) { height: 100%; background: var(--lime); }
.brand-sub {
  grid-column: 1 / -1;
  justify-self: end;
  font-family: var(--font-brand);
  font-size: 0.56rem;
  letter-spacing: 0.42em;
  margin-right: -0.42em;
  color: #fff;
  padding-top: 5px;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 14, 12, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(13, 14, 12, 0.88); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li { position: relative; }
.nav-links a,
.nav-links button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  background: none;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-links a:hover,
.nav-links button:hover,
.nav-links a[aria-current="page"],
.nav-links .is-active > button { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-links button svg { width: 12px; height: 12px; transition: transform 0.2s ease; }

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 6px);
  min-width: 300px;
  padding: 10px;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-dropdown:hover > button svg,
.has-dropdown.open > button svg { transform: rotate(180deg); }
.dropdown a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--text);
}
.dropdown a strong { display: block; font-weight: 600; font-size: 0.95rem; }
.dropdown a span { display: block; color: var(--dim); font-family: var(--font-body); font-size: 0.82rem; font-weight: 400; margin-top: 2px; }
.dropdown a:hover { background: rgba(139, 220, 46, 0.08); }
.dropdown a:hover strong { color: var(--lime); }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { font-family: var(--font-head); font-size: 0.9rem; color: var(--muted); }
.nav-phone:hover { color: var(--lime); }
.nav-cta .btn { padding: 11px 20px; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1400px) {
  .nav-phone { display: none; }
}
@media (max-width: 1200px) {
  .menu-toggle { display: inline-flex; }
  .nav-cta .btn { display: none; }
  .nav-links {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 16px var(--gutter) 28px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .nav-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav-links a, .nav-links button { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 1rem; }
  .dropdown {
    position: static;
    transform: none;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    display: none;
    box-shadow: none;
    background: var(--bg-2);
    margin: 4px 0 8px;
  }
  .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { transform: none; }
  .has-dropdown.open .dropdown { display: block; transform: none; }
  .nav-links .mobile-cta { display: block; margin-top: 12px; }
  .nav-links .mobile-cta .btn { width: 100%; justify-content: center; color: #0b1205; background: var(--lime); }
}
@media (min-width: 1201px) { .nav-links .mobile-cta { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(64px, 9vw, 120px) 0 clamp(72px, 9vw, 120px); overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(closest-side, rgba(139, 220, 46, 0.16), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { max-width: 560px; margin-bottom: 34px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 40px; color: var(--dim); font-size: 0.9rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }

.page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px); position: relative; overflow: hidden; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: -40% auto auto 50%;
  width: 900px;
  height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(139, 220, 46, 0.13), transparent 70%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero h1 { max-width: 900px; }
.page-hero .lead { max-width: 720px; }
.crumbs { font-size: 0.85rem; color: var(--dim); margin-bottom: 22px; font-family: var(--font-head); }
.crumbs a:hover { color: var(--lime); }
.crumbs span { margin: 0 8px; }

/* Hero dashboard — sample adoption & IT metrics */
.dash {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(120% 70% at 100% 0%, rgba(139, 220, 46, 0.10), transparent 60%),
    var(--panel);
  box-shadow: var(--shadow);
  font-family: var(--font-head);
}
.dash-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.dash-title { display: block; font-weight: 600; font-size: 1.05rem; color: var(--text); }
.dash-sub { display: block; font-size: 0.78rem; color: var(--dim); margin-top: 2px; }
.dash-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 0.72rem;
  color: var(--muted);
}
.dash-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(139, 220, 46, 0.2);
  animation: pulse 2s ease-in-out infinite;
}
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.dash-kpis div { padding: 12px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); min-width: 0; }
.dash-kpis small { display: block; font-size: 0.7rem; color: var(--dim); line-height: 1.3; min-height: 2.6em; }
.dash-kpis b { display: block; font-size: 1.45rem; font-weight: 600; color: var(--text); letter-spacing: -0.02em; margin-top: 4px; }
.dash-kpis em { font-style: normal; font-size: 0.72rem; color: var(--lime); }
.dash-chart { width: 100%; height: auto; margin: 4px 0 12px; overflow: visible; }
.dash-chart .line {
  fill: none;
  stroke: var(--lime);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 1.8s 0.3s ease-out forwards;
}
.dash-chart .area { opacity: 0; animation: fade 1s 1.2s ease-out forwards; }
.dash-chart .dot { opacity: 0; animation: fade 0.4s 2s ease-out forwards; }
.dash-chart text { font-family: var(--font-head); font-size: 10px; fill: var(--dim); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
.dash-rows { display: grid; gap: 10px; }
.dash-rows li { display: grid; grid-template-columns: 1fr 1.1fr 42px; align-items: center; gap: 12px; font-size: 0.8rem; color: var(--muted); }
.dash-rows i { display: block; height: 7px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.dash-rows i::after {
  content: "";
  display: block;
  height: 100%;
  width: var(--v);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--lime-3), var(--lime));
  transform-origin: left;
  transform: scaleX(0);
  animation: grow 1.4s 0.6s cubic-bezier(.2, .7, .2, 1) forwards;
}
@keyframes grow { to { transform: scaleX(1); } }
.dash-rows b { text-align: right; color: var(--text); font-weight: 600; }
.dash-note { text-align: right; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 0.7rem; color: var(--dim); letter-spacing: 0.04em; }
.dash-toast {
  position: absolute;
  left: -28px;
  bottom: -34px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--panel-2);
  border: 1px solid rgba(139, 220, 46, 0.35);
  box-shadow: var(--shadow);
  font-size: 0.78rem;
  color: var(--text);
  opacity: 0;
  transform: translateY(8px);
  animation: toast 0.6s 2.2s ease-out forwards;
}
.dash-toast span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: var(--lime); color: #0b1205; }
.dash-toast span svg { width: 14px; height: 14px; }
.dash-toast small { display: block; color: var(--dim); font-size: 0.7rem; }
@keyframes toast { to { opacity: 1; transform: none; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(139, 220, 46, 0); } }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
a.card:hover, .card.hover:hover { border-color: rgba(139, 220, 46, 0.45); transform: translateY(-3px); background: var(--panel-2); }
.card .link-arrow { margin-top: 10px; }

.icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  background: rgba(139, 220, 46, 0.1);
  border: 1px solid rgba(139, 220, 46, 0.22);
  color: var(--lime);
}
.icon svg { width: 24px; height: 24px; }

.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lime);
  background: rgba(139, 220, 46, 0.1);
  border: 1px solid rgba(139, 220, 46, 0.2);
}
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag.muted { color: var(--muted); background: rgba(255, 255, 255, 0.04); border-color: var(--line); }

.check-list li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--muted); }
.check-list li strong { color: var(--text); font-weight: 600; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: rgba(139, 220, 46, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238bdc2e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Feature split (text + visual) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.reverse > :first-child { order: 2; }

/* AI spotlight band on home */
.spotlight {
  position: relative;
  border-radius: 28px;
  padding: clamp(32px, 5vw, 64px);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(139, 220, 46, 0.18), transparent 55%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid rgba(139, 220, 46, 0.22);
  overflow: hidden;
}
.spotlight .grid { margin-top: 36px; }
.spotlight .card { background: rgba(13, 14, 12, 0.55); }

/* Numbered steps */
.steps { counter-reset: step; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.step {
  counter-increment: step;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  position: relative;
}
.step::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--font-brand);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--lime);
  margin-bottom: 14px;
}
.step h3 { font-size: 1.1rem; }
.step p { font-size: 0.95rem; margin: 0; }

/* Stat strip — only verifiable facts */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fact { padding: 28px; border-right: 1px solid var(--line); background: var(--panel); }
.fact:last-child { border-right: 0; }
.fact b { display: block; font-family: var(--font-head); font-size: 1.9rem; font-weight: 600; color: var(--text); letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 6px; }
.fact span { color: var(--dim); font-size: 0.9rem; }

/* Diagram panels */
.diagram {
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.07) 1px, transparent 0) 0 0 / 22px 22px,
    var(--panel);
  padding: clamp(18px, 3vw, 32px);
}
.diagram svg { width: 100%; height: auto; }
.diagram text { font-family: var(--font-head); }

/* Framework pills */
.frameworks { display: flex; flex-wrap: wrap; gap: 10px; }
.frameworks span {
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  font-family: var(--font-head);
  font-size: 0.9rem;
  color: var(--text);
}

/* Product (NexusClaim) */
.product {
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--panel-2), var(--bg-2));
  padding: clamp(28px, 5vw, 56px);
}
.product-head { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: flex-start; margin-bottom: 36px; }
.product-logo { display: flex; align-items: center; gap: 14px; }
.product-logo .mark {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--lime), var(--olive));
  color: #0b1205;
}
.product-logo .mark svg { width: 28px; height: 28px; }
.product-logo h3 { font-size: 1.6rem; margin: 0; }
.product-logo small { color: var(--dim); font-size: 0.85rem; }

details.spec {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(13, 14, 12, 0.5);
  margin-bottom: 10px;
}
details.spec summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-family: var(--font-head);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
details.spec summary::-webkit-details-marker { display: none; }
details.spec summary::after { content: "+"; color: var(--lime); font-size: 1.3rem; font-weight: 400; transition: transform 0.2s ease; }
details.spec[open] summary::after { transform: rotate(45deg); }
details.spec .check-list { padding: 0 22px 12px; }

/* Readiness check (governance page) */
.quiz { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 24px; align-items: start; }
.quiz-list { display: grid; gap: 10px; }
.quiz-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.quiz-item:hover { border-color: var(--line-strong); }
.quiz-item input { position: absolute; opacity: 0; pointer-events: none; }
.quiz-item .box {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 7px;
  border: 1.5px solid var(--line-strong);
  display: grid;
  place-items: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.quiz-item .box svg { width: 14px; height: 14px; opacity: 0; color: #0b1205; }
.quiz-item input:checked + .box { background: var(--lime); border-color: var(--lime); }
.quiz-item input:checked + .box svg { opacity: 1; }
.quiz-item input:focus-visible + .box { outline: 2px solid var(--lime); outline-offset: 3px; }
.quiz-item:has(input:checked) { border-color: rgba(139, 220, 46, 0.4); background: var(--panel-2); }
.quiz-item span.q { color: var(--text); font-size: 0.98rem; }
.quiz-item span.q small { display: block; color: var(--dim); font-size: 0.85rem; margin-top: 2px; }

.quiz-result {
  position: sticky;
  top: 100px;
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid rgba(139, 220, 46, 0.25);
  background: radial-gradient(100% 80% at 50% 0%, rgba(139, 220, 46, 0.12), transparent 70%), var(--panel);
}
.meter { display: flex; align-items: flex-end; gap: 6px; height: 90px; margin: 18px 0 20px; }
.meter i:nth-child(1) { height: 20%; } .meter i:nth-child(2) { height: 30%; }
.meter i:nth-child(3) { height: 40%; } .meter i:nth-child(4) { height: 50%; }
.meter i:nth-child(5) { height: 62%; } .meter i:nth-child(6) { height: 74%; }
.meter i:nth-child(7) { height: 87%; } .meter i:nth-child(8) { height: 100%; }
.meter i { flex: 1; border-radius: 4px 4px 2px 2px; background: rgba(255, 255, 255, 0.07); transition: background 0.3s ease; }
.meter i.on { background: linear-gradient(180deg, var(--lime), var(--lime-3)); }
.quiz-score { font-family: var(--font-head); font-size: 2.4rem; font-weight: 600; line-height: 1; }
.quiz-score small { font-size: 1rem; color: var(--dim); font-weight: 400; }
.quiz-label { font-family: var(--font-head); font-weight: 600; color: var(--lime); margin: 6px 0 10px; }
.quiz-result p { font-size: 0.95rem; }

/* CTA band */
.cta-band {
  border-radius: 28px;
  padding: clamp(36px, 6vw, 72px);
  text-align: center;
  background:
    radial-gradient(60% 100% at 50% 100%, rgba(139, 220, 46, 0.22), transparent 70%),
    var(--panel);
  border: 1px solid rgba(139, 220, 46, 0.2);
  position: relative;
  overflow: hidden;
}
.cta-band h2 { max-width: 760px; margin-left: auto; margin-right: auto; }
.cta-band .lead { max-width: 620px; margin: 0 auto 30px; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: start; }
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-family: var(--font-head); font-size: 0.85rem; font-weight: 500; margin-bottom: 8px; color: var(--text); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--bg-2);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a6aba2' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 4px rgba(139, 220, 46, 0.15); }
.hp { position: absolute; left: -9999px; }
.form-status { font-size: 0.95rem; min-height: 1.5em; margin: 0; }
.form-status.ok { color: var(--lime); }
.form-status.err { color: #ff8a7a; }

.info-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 0; }
.info-list .icon { margin: 0; width: 42px; height: 42px; flex: none; }
.info-list .icon svg { width: 20px; height: 20px; }
.info-list b { display: block; font-family: var(--font-head); font-weight: 600; }
.info-list span, .info-list a { color: var(--muted); }
.info-list a:hover { color: var(--lime); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 32px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 48px; }
.footer-grid p { font-size: 0.95rem; max-width: 320px; margin-top: 20px; }
.footer-grid h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--dim); margin-bottom: 16px; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid li a, .footer-grid li span { color: var(--muted); font-size: 0.95rem; }
.footer-grid li a:hover { color: var(--lime); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 0.85rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .product .split { grid-template-columns: 1fr; }
}
@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid, .split, .contact-grid, .quiz { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .dash { max-width: 520px; margin: 0 auto; }
  .dash-toast { left: 12px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .quiz-result { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .brand-word { font-size: 1.2rem; }
  .brand-bars { height: 22px; }
  .brand-bars i { width: 5px; }
  .dash { padding: 18px; }
  .dash-kpis { gap: 8px; }
  .dash-kpis div { padding: 10px; }
  .dash-kpis b { font-size: 1.2rem; }
  .dash-toast { position: static; margin-top: 14px; }
  .btn-row .btn { flex: 1 1 auto; }
}

/* Product band (home) */
.product-band {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 28px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(70% 90% at 0% 100%, rgba(121, 154, 25, 0.22), transparent 60%),
    linear-gradient(160deg, var(--panel-2), var(--bg-2));
}
.product-points { padding: 26px; border-radius: var(--radius); background: rgba(13, 14, 12, 0.5); border: 1px solid var(--line); }
.product-points li:last-child { margin-bottom: 0; }
@media (max-width: 900px) { .product-band { grid-template-columns: 1fr; } }
@media (max-width: 1020px) { .footer-grid > :first-child { grid-column: 1 / -1; } }

/* NexusClaim sample claim card */
.claim {
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(120% 70% at 100% 0%, rgba(139, 220, 46, 0.10), transparent 60%),
    var(--panel);
  box-shadow: var(--shadow);
  font-family: var(--font-head);
}
.claim-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.claim-id { display: block; font-weight: 600; font-size: 1.05rem; }
.claim-sub { display: block; font-size: 0.76rem; color: var(--dim); margin-top: 2px; }
.claim-status { flex: none; padding: 6px 11px; border-radius: 999px; font-size: 0.74rem; font-weight: 600; color: #ffc46b; background: rgba(255, 196, 107, 0.1); border: 1px solid rgba(255, 196, 107, 0.3); }
.claim-lines li {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(6px);
  animation: toast 0.5s ease-out forwards;
}
.claim-lines li:nth-child(1) { animation-delay: 0.3s; }
.claim-lines li:nth-child(2) { animation-delay: 0.6s; }
.claim-lines li:nth-child(3) { animation-delay: 0.9s; }
.claim-lines li:nth-child(4) { animation-delay: 1.2s; }
.claim-lines .dot { width: 10px; height: 10px; border-radius: 50%; }
.claim-lines .ok .dot { background: var(--lime); }
.claim-lines .warn .dot { background: #ffc46b; box-shadow: 0 0 0 4px rgba(255, 196, 107, 0.15); }
.claim-lines b { display: block; font-size: 0.88rem; font-weight: 600; color: var(--text); }
.claim-lines small { display: block; font-family: var(--font-body); font-size: 0.78rem; color: var(--muted); }
.claim-lines em { font-style: normal; font-size: 0.72rem; font-weight: 600; padding: 4px 9px; border-radius: 8px; }
.claim-lines .ok em { color: var(--lime); background: rgba(139, 220, 46, 0.1); }
.claim-lines .warn em { color: #ffc46b; background: rgba(255, 196, 107, 0.1); }
.claim-foot { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; padding-top: 18px; }
.claim-score { display: flex; align-items: center; gap: 10px; font-size: 0.78rem; color: var(--dim); }
.claim-score i { display: block; width: 90px; height: 7px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.claim-score i b { display: block; height: 100%; width: var(--v); background: linear-gradient(90deg, var(--lime), #ffc46b); border-radius: inherit; }
.claim-score strong { color: #ffc46b; font-weight: 600; }
.claim-btn { padding: 10px 16px; border-radius: 999px; background: var(--lime); color: #0b1205; font-size: 0.82rem; font-weight: 600; }
@media (max-width: 900px) { .claim { margin: 0 auto; } }
@media (max-width: 640px) { .claim { padding: 18px; } }

/* ---------- Agent Lab ---------- */
.lab-narrow { max-width: 820px; }
.lab-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.lab-date { font-family: var(--font-head); font-size: 0.8rem; color: var(--dim); margin-left: 4px; }
.lab-hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
.lab-card { display: flex; flex-direction: column; }
.lab-card h3 { margin-top: 2px; }
.lab-card .link-arrow { margin-top: auto; padding-top: 8px; }
.lab-featured {
  padding: clamp(26px, 4vw, 44px);
  border-color: rgba(139, 220, 46, 0.35);
  background: radial-gradient(80% 120% at 100% 0%, rgba(139, 220, 46, 0.14), transparent 60%), var(--panel);
}
.lab-featured h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.lab-featured p { font-size: 1.08rem; max-width: 720px; }
.lab-card[hidden] { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  color: var(--muted);
  font-family: var(--font-head);
  font-size: 0.88rem;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.chip:hover { color: var(--text); border-color: var(--lime); }
.chip.is-on { background: var(--lime); border-color: var(--lime); color: #0b1205; font-weight: 600; }

/* Long-form lesson content */
.prose { font-size: 1.05rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); margin-top: 2em; margin-bottom: 0.4em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.6em; }
.prose p, .prose li { color: #c9cdc5; }
.prose strong { color: var(--text); }
.prose a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--lime-2); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin: 0.45em 0; padding-left: 0.2em; }
.prose li::marker { color: var(--lime); font-family: var(--font-head); font-weight: 600; }
.prose blockquote {
  margin: 1.4em 0;
  padding: 16px 20px;
  border-left: 3px solid var(--lime);
  border-radius: 0 12px 12px 0;
  background: rgba(139, 220, 46, 0.07);
}
.prose blockquote p { margin: 0; color: var(--text); }
.prose code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.88em;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--lime-3);
}
.prose pre {
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0a0b09;
  overflow-x: auto;
  line-height: 1.55;
}
.prose pre code { padding: 0; background: none; color: #dfe5d8; font-size: 0.88rem; }

.lab-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.lab-pager .card { padding: 20px 22px; }
.lab-pager .card:hover { border-color: rgba(139, 220, 46, 0.45); }
.lab-pager small { display: block; color: var(--lime); font-family: var(--font-head); font-size: 0.8rem; margin-bottom: 4px; }
.lab-pager b { font-family: var(--font-head); font-weight: 600; }
.lab-pager .next { text-align: right; }
@media (max-width: 640px) {
  .lab-pager { grid-template-columns: 1fr; }
  .lab-pager .next { text-align: left; }
}
@media (max-width: 760px) { a.lab-featured[style*="grid"] { grid-template-columns: 1fr !important; } }
