/* PILLAR GUIDE — /guide/security-maturity-assessment
   Page loads only theme.css + this file. Every selector used by the template
   is defined here (or in theme.css) — no sma.css / risk-assessment.css deps. */

/* ===== NAV ===== */
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-cta {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--border);
  padding: 7px 16px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.nav-cta:hover {
  background: var(--accent-dim);
  color: var(--amber);
}

/* ===== HERO ===== */
.guide-hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding-top: 56px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.guide-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 146, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 146, 42, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.guide-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 30%, rgba(200, 146, 42, 0.07) 0%, transparent 60%);
  pointer-events: none;
}

.guide-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px;
  position: relative;
  z-index: 1;
  width: 100%;
}

.guide-hero-headline {
  font-family: var(--font-display);
  font-size: clamp(64px, 9vw, 104px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin-bottom: 28px;
}

.guide-hero-accent {
  color: var(--accent);
}

.guide-hero-sub {
  font-size: 16px;
  color: var(--fg-muted);
  max-width: 640px;
  line-height: 1.75;
  margin-bottom: 32px;
}

.guide-hero-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.guide-hero-cta-note {
  font-size: 13px;
  color: var(--fg-muted);
  margin-top: 14px;
}

.guide-hero-cta-note a {
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.guide-hero-cta-note a:hover {
  color: var(--accent);
}

/* ===== BUTTON ===== */
.btn-primary {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  border: 2px solid var(--accent);
  padding: 14px 32px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}

.btn-primary:hover {
  background: transparent;
  color: var(--accent);
}

/* ===== FOUR-PILLAR OVERVIEW ===== */
.guide-pillars {
  padding: 100px 0;
  border-top: 1px solid var(--border-dim);
  background: var(--bg-alt);
}

.guide-pillars-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.pillar-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-dim);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.2s;
  position: relative;
}

.pillar-card:hover { border-color: var(--border); }

.pillar-card-link {
  text-decoration: none;
  color: inherit;
}

.pillar-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--amber-dim);
  border: 1px solid var(--border-dim);
  color: var(--accent);
}

.pillar-number {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
}

.pillar-desc {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.75;
}

/* ===== WHO THIS IS FOR ===== */
.guide-who {
  padding: 100px 0;
  border-top: 1px solid var(--border-dim);
  background: var(--bg);
}

.guide-who-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 32px;
}

.guide-who-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 32px;
}

.guide-who-list li {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.75;
  padding: 24px 0 24px 24px;
  border-bottom: 1px solid var(--border-dim);
  border-left: 2px solid rgba(200, 146, 42, 0.3);
}

.guide-who-list li:first-child { border-top: 1px solid var(--border-dim); }

.guide-who-list li strong {
  color: var(--fg);
  font-weight: 600;
}

.guide-who-paragraph {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.8;
  max-width: 760px;
}

/* ===== CTA ===== */
.guide-cta {
  padding: 100px 0;
  border-top: 1px solid var(--border-dim);
  background: var(--bg-alt);
}

.guide-cta-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}

.guide-cta-body {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.guide-cta-secondary {
  display: block;
  margin-top: 18px;
  font-size: 13px;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.guide-cta-secondary:hover {
  color: var(--accent);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .pillars-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .guide-hero-inner { padding: 60px 24px; }
  .guide-pillars-inner, .guide-who-inner, .guide-cta-inner { padding: 0 24px; }
  .guide-pillars, .guide-who, .guide-cta { padding: 72px 0; }
  .nav-right .nav-location { display: none; }
}
