/* Page-level compositions: heroes, diagrams, prose. */
.hero { position: relative; padding: clamp(4rem, 12vw, 8.5rem) 0 clamp(3rem, 8vw, 6rem); overflow: hidden; }
.hero__grid { display: grid; gap: 3rem; align-items: center; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.hero h1 { font-size: var(--fs-hero); margin: 0.6rem 0 1.2rem; }
.hero .lede { margin-bottom: 2rem; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; margin-top: 2.2rem; font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--fg-muted); letter-spacing: 0.06em; }
.hero__proof span::before { content: "▸ "; color: var(--sand); }
.page-hero { padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(2rem, 5vw, 3.5rem); position: relative; }
.page-hero h1 { max-width: 20ch; }
.page-hero .lede { max-width: 66ch; }

/* Decision console (home hero visual) */
.console { position: relative; border: 1px solid var(--line-2); border-radius: var(--radius-lg); background: linear-gradient(160deg, rgba(12, 24, 54, 0.9), rgba(6, 12, 30, 0.95)); box-shadow: var(--glow-blue), inset 0 0 60px rgba(47, 107, 255, 0.08); padding: 1.1rem 1.2rem 1.3rem; font-family: var(--font-mono); font-size: 0.78rem; }
.console__bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: 0.7rem; border-bottom: 1px solid var(--line); color: var(--fg-muted); letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.68rem; }
.console__bar b { color: var(--sand); font-weight: 500; }
.console__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0.9rem; margin-top: 0.9rem; }
.console__feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; min-height: 190px; }
.console__feed li { padding: 0.45rem 0.6rem; border: 1px solid var(--line); border-radius: 6px; background: rgba(4, 8, 20, 0.55); color: var(--fg-2); animation: feed-in 0.5s var(--ease); line-height: 1.4; }
.console__feed li i { font-style: normal; color: var(--cyan); }
.console__feed li em { font-style: normal; color: var(--sand); }
.console__feed li s { text-decoration: none; color: var(--fg-dim); }
@keyframes feed-in { from { opacity: 0; transform: translateY(-6px); } }
.console__side { display: grid; gap: 0.7rem; align-content: start; }
.gauge { border: 1px solid var(--line); border-radius: 8px; padding: 0.6rem 0.7rem; background: rgba(4, 8, 20, 0.55); }
.gauge__label { color: var(--fg-muted); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; }
.gauge__value { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--fg); line-height: 1.1; margin-top: 0.15rem; }
.gauge__value small { font-size: 0.7rem; color: var(--fg-muted); font-family: var(--font-mono); font-weight: 400; margin-left: 0.3rem; }
.gauge__bar { height: 4px; border-radius: 3px; background: rgba(91, 140, 255, 0.2); margin-top: 0.5rem; overflow: hidden; }
.gauge__bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--blue-2), var(--cyan)); }
.gauge__bar i.sand { background: linear-gradient(90deg, var(--sand-dark), var(--sand-2)); }
@media (max-width: 560px) { .console__grid { grid-template-columns: 1fr; } }

/* Diagrams (inline SVG) */
.diagram { width: 100%; height: auto; display: block; }
.diagram text { font-family: var(--font-mono); fill: var(--fg-2); }
.diagram .lbl { fill: var(--fg-muted); font-size: 10px; letter-spacing: 0.12em; }
.diagram .ttl { fill: var(--fg); font-size: 12px; font-family: var(--font-display); font-weight: 600; }
.diagram .sand { fill: var(--sand); }
.diagram .box { fill: rgba(12, 24, 54, 0.85); stroke: var(--line-2); }
.diagram .box--sand { stroke: var(--sand); fill: rgba(233, 201, 123, 0.08); }
.diagram .edge { stroke: var(--blue-2); fill: none; stroke-width: 1.4; }
.diagram .edge--sand { stroke: var(--sand); }
.diagram .node { fill: var(--cyan); }

/* Prose (blog + long pages) */
.prose { font-size: 1.06rem; line-height: 1.75; }
.prose h2 { margin-top: 2.6rem; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.prose h3 { margin-top: 2rem; }
.prose p, .prose li { color: var(--fg-2); }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li + li { margin-top: 0.4rem; }
.prose img { border-radius: var(--radius-sm); border: 1px solid var(--line); }
.prose table { font-size: 0.92rem; margin: 1.4rem 0; }
.prose a { text-decoration: underline; text-decoration-color: rgba(79, 209, 255, 0.4); text-underline-offset: 3px; }
.post-hero { padding: clamp(3rem, 8vw, 5.5rem) 0 2rem; }
.post-hero h1 { max-width: 22ch; margin-top: 1rem; }
.post-meta { font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--fg-muted); }
.post-cta { margin-top: 3.5rem; }
.post-cta .panel { text-align: center; }
.post-cta .btn { margin: 0.4rem 0.3rem 0; }

/* Wazuh ladder */
.ladder { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ladder__row { display: grid; grid-template-columns: 200px 1fr 1fr; gap: 1rem; padding: 1rem 1.3rem; border-bottom: 1px solid var(--line); align-items: start; }
.ladder__row:last-child { border-bottom: 0; }
.ladder__row--head { background: rgba(47, 107, 255, 0.08); font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--sand); }
.ladder__row > div:first-child { font-family: var(--font-display); font-weight: 600; color: var(--fg); }
.ladder__row > div { font-size: 0.94rem; color: var(--fg-2); }
.ladder__row .w { color: var(--fg-muted); }
@media (max-width: 720px) { .ladder__row { grid-template-columns: 1fr; gap: 0.3rem; } .ladder__row--head div:not(:first-child) { display: none; } }

/* Big quote band */
.quote-band { padding: clamp(3rem, 7vw, 5rem) 0; text-align: center; }
.quote-band blockquote { border: 0; background: none; font-family: var(--font-display); font-style: normal; font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 500; line-height: 1.3; max-width: 30ch; margin: 0 auto 1rem; padding: 0; color: var(--fg); }
.quote-band cite { font-style: normal; font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: 0.12em; color: var(--sand); }

/* CTA band */
.cta-band { position: relative; border: 1px solid var(--line-sand); border-radius: var(--radius-lg); padding: clamp(2.2rem, 5vw, 3.5rem); background: radial-gradient(circle at 15% 20%, rgba(233, 201, 123, 0.18), transparent 40%), radial-gradient(circle at 85% 80%, rgba(47, 107, 255, 0.28), transparent 45%), var(--surface-2); display: grid; gap: 1.2rem; grid-template-columns: 1.4fr 1fr; align-items: center; box-shadow: var(--glow-sand); }
.cta-band h2 { margin: 0.3rem 0 0.5rem; }
.cta-band .btn-row { justify-content: flex-end; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* Checklists */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.checks li { padding-left: 1.7rem; position: relative; color: var(--fg-2); }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--sand); font-weight: 700; }
.checks li strong { color: var(--fg); }

/* Definition strips */
.defs { display: grid; gap: 0.9rem; }
.def { display: grid; grid-template-columns: 180px 1fr; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.def dt { font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--sand); padding-top: 0.2rem; }
.def dd { margin: 0; color: var(--fg-2); font-size: 0.96rem; }
@media (max-width: 600px) { .def { grid-template-columns: 1fr; gap: 0.3rem; } }
