/* =========================================================
   DontClickYet — Premium Redesign 2026
   Design: Deep navy trust foundation · Warm amber authority
   Font: DM Serif Display + DM Sans (Google Fonts)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,400&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  /* Core palette */
  --ink:        #0d1525;
  --navy:       #0f1e38;
  --navy2:      #162444;
  --navy3:      #1c2e52;
  --card:       #ffffff;
  --soft:       #f5f7fc;
  --softer:     #eef1f8;

  /* Text */
  --text:       #1a2540;
  --muted:      #5a6a85;
  --subtle:     #8796b0;
  --light-text: #dce9f8;

  /* Accent — amber/orange authority */
  --amber:      #e8820c;
  --amber2:     #f59e2b;
  --amber-glow: rgba(232,130,12,.18);

  /* Status */
  --danger:     #c92b2b;
  --warning:    #d97706;
  --safe:       #0f7a4d;

  /* Borders */
  --line:       #dde4ef;
  --line-dark:  rgba(255,255,255,.12);

  /* Geometry */
  --radius:     20px;
  --radius-sm:  12px;
  --radius-lg:  32px;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(13,21,37,.08);
  --shadow:     0 8px 32px rgba(13,21,37,.12);
  --shadow-lg:  0 20px 60px rgba(13,21,37,.18);
  --shadow-xl:  0 32px 80px rgba(13,21,37,.22);
  --glow:       0 0 0 4px rgba(232,130,12,.2);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  font-optical-sizing: auto;
  background: var(--card);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }

/* ---------- Accessibility ---------- */
.skip-link { position: absolute; left: -999px; top: auto; }
.skip-link:focus {
  left: 1rem; top: 1rem;
  background: var(--card);
  padding: .75rem 1.25rem;
  z-index: 9999;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

/* ---------- Layout ---------- */
.container { width: min(1180px, calc(100% - 40px)); margin: auto; }
.narrow    { width: min(880px,  calc(100% - 40px)); margin: auto; }

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  height: 68px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(13,21,37,.04), var(--shadow-sm);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--amber), #c2550a);
  color: #fff;
  font-weight: 900;
  font-size: 22px;
  box-shadow: 0 6px 20px rgba(232,130,12,.35);
  flex-shrink: 0;
  transition: transform .2s, box-shadow .2s;
}
.brand:hover .brand-mark { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(232,130,12,.4); }

.brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 6px 20px rgba(13,21,37,.2);
  flex-shrink: 0;
}

.brand strong { font-size: 17px; font-weight: 800; letter-spacing: -.025em; color: var(--ink); }
.brand small  { display: block; color: var(--muted); font-size: 12px; font-weight: 400; margin-top: -1px; }

/* Desktop Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
}
.main-nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--ink); background: var(--softer); }
.main-nav a.active { color: var(--amber); background: rgba(232,130,12,.08); }

/* CTA in nav */
.nav-cta {
  background: var(--ink) !important;
  color: #fff !important;
  padding: 8px 16px !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  margin-left: 6px;
  transition: background .15s, transform .15s !important;
}
.nav-cta:hover { background: var(--navy3) !important; transform: translateY(-1px) !important; }

/* Mobile toggle */
.menu-toggle, .drawer-close {
  display: none;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--line);
  background: var(--card);
  color: var(--text);
  box-shadow: none;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

/* Mobile Drawer */
.mobile-drawer { display: none; }
.mobile-drawer.open { display: block; }

/* ---------- HERO — HOME ---------- */
.hero {
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%,  rgba(232,130,12,.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(15,30,56,.6)   0%, transparent 70%),
    linear-gradient(155deg, var(--navy) 0%, var(--ink) 100%);
  color: #fff;
  padding: 88px 0 80px;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,.015) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.015) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.home-hero { padding: 100px 0 90px; }

.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) 390px;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Eyebrow badge */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 800;
  color: var(--amber2);
  margin-bottom: 16px;
  background: rgba(232,130,12,.15);
  border: 1px solid rgba(232,130,12,.3);
  padding: 6px 14px;
  border-radius: 999px;
}
.eyebrow::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--amber2); }

/* Headings */
h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(36px, 5.5vw, 66px);
  line-height: 1.04;
  letter-spacing: -.03em;
  margin: 0 0 20px;
  font-weight: 400; /* DM Serif Display looks best at regular weight */
}

h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.15;
  letter-spacing: -.025em;
  margin: 0 0 14px;
  font-weight: 400;
}

h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 0 0 10px;
  line-height: 1.3;
}

/* Hero text */
.hero-subtitle {
  font-size: clamp(16px, 1.7vw, 20px);
  color: var(--light-text);
  opacity: .88;
  max-width: 680px;
  margin: 0 0 32px;
  line-height: 1.6;
  font-weight: 300;
}

/* Hero search box */
.hero-search {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  padding: 22px;
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), var(--shadow-lg);
}
.hero-search label {
  display: block;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 12px;
  color: #fff;
}
.hero-search > div { display: flex; gap: 10px; }

/* Inputs */
input[type=search] {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 15px 18px;
  font-size: 16px;
  font-family: inherit;
  outline: none;
  color: var(--text);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
input[type=search]:focus {
  border-color: var(--amber);
  box-shadow: var(--glow);
}
input[type=text], input[type=email], textarea, select {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  color: var(--text);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
input[type=text]:focus, input[type=email]:focus, textarea:focus, select:focus {
  border-color: var(--amber);
  box-shadow: var(--glow);
}
textarea { resize: vertical; min-height: 120px; }

/* Buttons */
button, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--amber), #c2550a);
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  padding: 14px 22px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(232,130,12,.35);
  transition: transform .18s, box-shadow .18s, filter .18s;
  white-space: nowrap;
}
button:hover, .button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232,130,12,.45);
  filter: brightness(1.05);
}
button:active, .button:active { transform: translateY(0); }

.button.primary-dark {
  background: linear-gradient(135deg, #1d3461, var(--navy));
  box-shadow: 0 4px 16px rgba(13,21,37,.3);
}
.button.primary-dark:hover { box-shadow: 0 8px 28px rgba(13,21,37,.4); }

.button.secondary {
  background: #fff;
  color: var(--text);
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.button.secondary:hover { background: var(--softer); transform: translateY(-1px); box-shadow: var(--shadow); }

.button.full   { width: 100%; margin-top: 14px; }
.button.outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.4);
  box-shadow: none;
}
.button.outline-white:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); }

/* Trust note */
.trust-note {
  color: rgba(220,233,248,.7);
  font-size: 13px;
  margin-top: 14px;
  font-weight: 400;
}

/* Hero panel / sidebar card */
.hero-panel {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), var(--shadow-lg);
}
.hero-panel strong { display: block; font-size: 17px; font-weight: 700; margin-bottom: 14px; }
.hero-panel ul {
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.hero-panel ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--light-text);
  line-height: 1.4;
}
.hero-panel ul li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(15,122,77,.3);
  border: 1px solid rgba(15,122,77,.4);
  color: #4ade80;
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ---------- TRUST STRIP ---------- */
.trust-strip {
  background: var(--softer);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.trust-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--safe);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  flex-shrink: 0;
}

/* ---------- SECTIONS ---------- */
.content-section { padding: 80px 0; }
.content-section.soft { background: var(--soft); }
.content-section.softer { background: var(--softer); }
.content-section.dark {
  background: linear-gradient(155deg, var(--navy) 0%, var(--ink) 100%);
  color: #fff;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--amber);
  margin-bottom: 10px;
}
.content-section.dark .section-label { color: var(--amber2); }

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 32px;
}
.section-heading h2 { margin: 0; }
.section-heading p { max-width: 560px; color: var(--muted); margin: 0; font-size: 16px; }
.content-section.dark .section-heading p { color: var(--light-text); opacity: .75; }

/* ---------- GUIDE CARDS ---------- */
.guide-grid, .category-grid, .resource-grid, .related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.guide-card, .category-card, .resource-card, .related-card {
  display: block;
  text-decoration: none;
  color: var(--text);
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s cubic-bezier(.2,.8,.3,1), box-shadow .2s, border-color .2s;
  position: relative;
  overflow: hidden;
}

.guide-card::after, .category-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--amber2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.guide-card:hover::after, .category-card:hover::after { transform: scaleX(1); }

.guide-card:hover, .category-card:hover, .related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(232,130,12,.25);
}

.guide-card h2, .category-card h2 { font-size: 18px; margin: 8px 0 8px; }
.guide-card p, .category-card p, .resource-card p { color: var(--muted); margin: 0; font-size: 14px; line-height: 1.55; }

/* Risk badge */
.risk-mini {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 4px 10px;
  border-radius: 999px;
}
.risk-mini.high, .risk-mini[class*="High"] {
  background: rgba(201,43,43,.1);
  color: var(--danger);
  border: 1px solid rgba(201,43,43,.2);
}
.risk-mini.medium, .risk-mini[class*="Medium"] {
  background: rgba(217,119,6,.1);
  color: var(--warning);
  border: 1px solid rgba(217,119,6,.2);
}

/* fallback for inline "Risk: High" text */
.risk-mini { color: var(--danger); background: rgba(201,43,43,.08); border: 1px solid rgba(201,43,43,.15); }

/* ---------- ARTICLE LAYOUT ---------- */
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.article-card {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.article-card h2 { margin-top: 40px; font-size: clamp(20px, 2.2vw, 28px); }
.article-card h2:first-child { margin-top: 0; }
.article-card p  { margin-bottom: 18px; line-height: 1.7; color: var(--text); }
.article-card p:last-child { margin-bottom: 0; }
.article-card ul, .article-card ol { padding-left: 22px; margin-bottom: 18px; }
.article-card li { margin-bottom: 8px; line-height: 1.65; }

/* Answer box */
.answer-box {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 1.5px solid rgba(217,119,6,.3);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-bottom: 32px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
}
.answer-box p { margin: 0; font-size: 15px; line-height: 1.65; }

/* Checklist */
.checklist { list-style: none; padding: 0; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.55;
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background: rgba(15,122,77,.12);
  border: 1.5px solid rgba(15,122,77,.3);
  color: var(--safe);
  font-size: 11px;
  font-weight: 900;
  margin-top: 1px;
}

/* Sidebar sticky card */
.side-card {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 88px;
}
.side-card h3 { margin-bottom: 10px; }
.side-card p  { color: var(--muted); font-size: 14px; margin-bottom: 18px; }

/* ---------- GUIDE META / HERO ---------- */
.guide-hero { padding: 72px 0 60px; }

.guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.guide-meta span {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
}
.risk-high, .risk-urgent {
  background: rgba(220,38,38,.22) !important;
  border-color: rgba(220,38,38,.35) !important;
  color: #fca5a5 !important;
}
.risk-medium, .risk-action-needed {
  background: rgba(217,119,6,.22) !important;
  border-color: rgba(217,119,6,.35) !important;
  color: #fcd34d !important;
}

/* Breadcrumbs */
.breadcrumbs {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 18px;
  color: rgba(220,233,248,.65);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.breadcrumbs a { color: rgba(220,233,248,.85); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span { opacity: .5; }

/* ---------- RELATED CARDS ---------- */
.related-card {
  padding: 20px 24px;
}
.related-card strong { display: block; font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.related-card span { display: block; color: var(--muted); font-size: 13px; }

/* ---------- SEARCH APP ---------- */
.search-app {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--line);
}
.search-results { display: grid; gap: 14px; margin-top: 20px; color: var(--text); }
.search-result {
  display: block;
  text-decoration: none;
  padding: 20px 22px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.search-result:hover {
  border-color: rgba(232,130,12,.35);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.search-result strong { display: block; font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.search-result span { display: block; color: var(--amber); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.search-result p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- SPLIT LAYOUT ---------- */
.split {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 28px;
  align-items: start;
}

/* ---------- RESOURCE CARD ---------- */
.resource-card { padding: 28px; }
.resource-card h3 { margin-bottom: 8px; }
.resource-card .button { margin-top: 18px; }

/* ---------- ASSET SHOWCASE ---------- */
.asset-showcase {
  padding: 60px 0;
  background: linear-gradient(180deg, #ffffff, var(--soft));
}
.asset-showcase.dark {
  background: linear-gradient(155deg, var(--navy) 0%, var(--ink) 100%);
  color: #fff;
}
.asset-card {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
  border: 1.5px solid var(--line);
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.asset-card.dark {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
}
.asset-card img { display: block; width: 100%; height: auto; }
.asset-card-caption { padding: 28px 32px; }
.asset-card-caption h2 { margin: 0 0 8px; }
.asset-card-caption p  { color: var(--muted); margin: 0; }
.asset-card.dark .asset-card-caption p { color: var(--light-text); }

/* ---------- FAQ / ACCORDION ---------- */
details {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 10px 0;
  background: var(--card);
  transition: box-shadow .15s;
}
details[open] { box-shadow: var(--shadow); border-color: rgba(232,130,12,.25); }
summary {
  font-weight: 700;
  cursor: pointer;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 20px; font-weight: 300; color: var(--amber); flex-shrink: 0; transition: transform .2s; }
details[open] summary::after { content: '−'; }

/* ---------- SITEMAP ---------- */
.sitemap-list { columns: 2; gap: 24px; }

/* ---------- MUTED / UTILITY ---------- */
.muted { color: var(--muted); }

/* ---------- STAT CARDS (for homepage trust section) ---------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
}
.stat-card {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat-number {
  font-family: 'DM Serif Display', serif;
  font-size: 42px;
  line-height: 1;
  color: var(--amber);
  margin-bottom: 8px;
}
.stat-label { font-size: 14px; color: var(--muted); font-weight: 500; }

/* ---------- ALERT BANNERS ---------- */
.alert {
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 500;
  border-left: 4px solid;
  margin: 20px 0;
}
.alert-danger  { background: rgba(201,43,43,.07);  border-color: var(--danger);  color: #991b1b; }
.alert-warning { background: rgba(217,119,6,.08);  border-color: var(--warning); color: #92400e; }
.alert-safe    { background: rgba(15,122,77,.08);   border-color: var(--safe);    color: #065f46; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--ink);
  color: var(--light-text);
  padding: 72px 28px 32px;
}
.footer-grid {
  width: min(1180px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand strong {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  margin-bottom: 10px;
  color: #fff;
}
.footer-brand p { font-size: 14px; color: rgba(220,233,248,.6); line-height: 1.7; margin: 0; }
.footer-brand p + p { margin-top: 8px; }

.footer-col strong {
  display: block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(220,233,248,.5);
  margin-bottom: 16px;
}
.site-footer a {
  display: block;
  color: rgba(220,233,248,.7);
  text-decoration: none;
  margin: 9px 0;
  font-size: 14px;
  font-weight: 400;
  transition: color .15s;
}
.site-footer a:hover { color: var(--amber2); }

.footer-bottom {
  width: min(1180px, 100%);
  margin: 28px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.fineprint {
  color: rgba(220,233,248,.35);
  font-size: 13px;
}

/* ---------- FORM STYLES ---------- */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--text); }

/* ---------- PAGE HERO (non-home) ---------- */
.page-hero { padding: 64px 0 52px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .menu-toggle, .drawer-close { display: inline-flex; }

  .mobile-drawer {
    position: fixed;
    inset: 0;
    background: rgba(13,21,37,.55);
    z-index: 100;
    display: none;
    backdrop-filter: blur(4px);
  }
  .mobile-drawer.open { display: block; }
  .drawer-inner {
    margin-left: auto;
    width: min(360px, 92vw);
    height: 100%;
    background: var(--card);
    padding: 24px;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: var(--shadow-xl);
  }
  .drawer-inner .drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
  }
  .drawer-inner a {
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 14px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    color: var(--text);
    background: var(--soft);
    display: block;
    transition: background .15s, border-color .15s;
  }
  .drawer-inner a:hover { background: var(--softer); border-color: rgba(232,130,12,.3); }

  /* Layout collapse */
  .home-grid, .content-grid, .split { grid-template-columns: 1fr; }
  .guide-grid, .category-grid, .resource-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .section-heading { flex-direction: column; align-items: flex-start; }
  .hero-search > div { flex-direction: column; }
  .hero-search button { width: 100%; }
  .side-card { position: static; }
  .stat-row { grid-template-columns: 1fr; }
  .sitemap-list { columns: 1; }
  .trust-strip-inner { gap: 20px; }
  .article-card { padding: 24px; }
  .home-hero { padding: 72px 0 64px; }
  .content-section { padding: 56px 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .guide-grid, .category-grid, .resource-grid, .related-grid { grid-template-columns: 1fr; }
  .asset-card { border-radius: var(--radius); }
  .asset-card-caption { padding: 20px; }
  h1 { font-size: clamp(30px, 8vw, 48px); }
  h2 { font-size: clamp(22px, 5vw, 30px); }
}
