:root {
  --primary-navy: #0f172a;
  --header-navy: #1e293b;
  --brand-blue: #1e3a8a;
  --accent-blue: #2563eb;
  --accent-blue-hover: #1d4ed8;
  --bg-slate: #f8fafc;
  --card-bg: #ffffff;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --border-color: #e2e8f0;
  --border-dark: #cbd5e1;
  
  --pass-green: #166534;
  --pass-bg: #dcfce7;
  --pass-border: #86efac;
  
  --warning-amber: #854d0e;
  --warning-bg: #fef9c3;
  --warning-border: #fde047;
  
  --fail-red: #991b1b;
  --fail-bg: #fee2e2;
  --fail-border: #fca5a5;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.08);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  --font-stack: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-stack);
  background-color: var(--bg-slate);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top Authority Strip */
.gov-strip {
  background-color: #0b1120;
  color: #94a3b8;
  font-size: 12px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.gov-strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.gov-strip-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.gov-strip-crest {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
  font-weight: 500;
}

/* Global Navigation */
.site-header {
  background-color: var(--primary-navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-mark {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.brand-text h1 {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.brand-text span {
  font-size: 11px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-link {
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease;
  position: relative;
  padding: 6px 0;
}
.nav-link:hover, .nav-link.active {
  color: #ffffff;
  text-decoration: none;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -18px;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--accent-blue);
  border-radius: var(--radius-full);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.reform-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #93c5fd;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
}
.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
}

/* Sub-Navigation Bar */
.view-switcher-bar {
  background-color: #1e293b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 0;
}
.view-switcher-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tab-pills {
  display: flex;
  gap: 8px;
  background: #0f172a;
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.tab-pill {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s ease;
  text-decoration: none;
}
.tab-pill.active {
  background: var(--accent-blue);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}
.tab-pill:hover:not(.active) {
  color: #ffffff;
  text-decoration: none;
}
.reg-citation-tag {
  font-size: 12px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
}
.reg-citation-tag strong {
  color: #e2e8f0;
}

/* Hero Section */
.hero-band {
  background: linear-gradient(180deg, #0f172a 0%, #1e3a8a 100%);
  color: #ffffff;
  padding: 56px 0 96px 0;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-content {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hero-band h2 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: #ffffff;
}
.hero-band p {
  font-size: 17px;
  line-height: 1.5;
  color: #cbd5e1;
  max-width: 760px;
  margin: 0 auto;
}

/* Tool Workspace (Homepage) */
.tool-workspace {
  margin-top: -64px;
  margin-bottom: 64px;
  position: relative;
  z-index: 10;
}
.tool-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.tool-header {
  padding: 24px 32px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tool-header-info h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  gap: 10px;
}
.tool-header-info p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 2px;
}
.version-stamp {
  font-size: 12px;
  color: #64748b;
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  border: 1px solid #e2e8f0;
}

/* Forms */
.calc-form {
  padding: 32px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.form-label span.req {
  color: var(--fail-red);
}
.form-label small {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 11px;
}
.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.input-prefix {
  position: absolute;
  left: 14px;
  font-weight: 600;
  color: var(--text-muted);
  font-size: 14px;
  pointer-events: none;
}
.form-input, .form-select {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text-main);
  background: #ffffff;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  transition: all 0.15s ease;
}
.form-input.has-prefix {
  padding-left: 32px;
}
.form-input:focus, .form-select:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.radio-card-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.radio-card {
  position: relative;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  background: #ffffff;
  transition: all 0.15s ease;
}
.radio-card:hover {
  background: #f8fafc;
  border-color: var(--accent-blue);
}
.radio-card input[type="radio"] {
  accent-color: var(--accent-blue);
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.radio-card-info strong {
  display: block;
  font-size: 13px;
  color: var(--text-main);
}
.radio-card-info span {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
}

.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}
.form-hints {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background-color: var(--accent-blue);
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.25);
}
.btn-primary:hover {
  background-color: var(--accent-blue-hover);
  box-shadow: 0 4px 6px rgba(37, 99, 235, 0.35);
  text-decoration: none;
}
.btn-secondary {
  background-color: #ffffff;
  border-color: var(--border-dark);
  color: var(--text-main);
}
.btn-secondary:hover {
  background-color: #f1f5f9;
  border-color: #94a3b8;
}
.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Results & Metrics (Threshold Calculator) */
.results-container {
  background: #f8fafc;
  border-top: 1px solid var(--border-color);
  padding: 32px;
}
.status-banner {
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
  border-left: 6px solid;
}
.status-banner.status-mandatory {
  background-color: #fef2f2;
  border-color: var(--fail-red);
  color: #7f1d1d;
}
.status-banner.status-exempt {
  background-color: #f0fdf4;
  border-color: var(--pass-green);
  color: #14532d;
}
.status-badge-wrap {
  display: flex;
  gap: 16px;
}
.status-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}
.status-mandatory .status-icon-box {
  background-color: var(--fail-bg);
  color: var(--fail-red);
  border: 1px solid var(--fail-border);
}
.status-exempt .status-icon-box {
  background-color: var(--pass-bg);
  color: var(--pass-green);
  border: 1px solid var(--pass-border);
}
.status-banner-content h4 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 4px;
}
.status-banner-content p {
  font-size: 14px;
  opacity: 0.9;
}
.status-tag {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: fit-content;
}
.status-mandatory .status-tag {
  background: var(--fail-red);
  color: #ffffff;
}
.status-exempt .status-tag {
  background: var(--pass-green);
  color: #ffffff;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.metric-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.metric-card-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.metric-card-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.2;
  margin-bottom: 4px;
}
.metric-card-sub {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

.checklist-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
}
.checklist-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}
.checklist-title span {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}
.checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.check-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  border: 1px solid #f1f5f9;
}
.check-icon {
  color: var(--accent-blue);
  font-size: 16px;
  margin-top: 1px;
}
.check-text strong {
  display: block;
  font-size: 13px;
  color: var(--text-main);
}
.check-text p {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.trust-strip {
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}
.trust-strip-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Homepage Teaser Band & Content Blocks */
.tool2-teaser-band {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  color: #ffffff;
  margin-bottom: 64px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.teaser-content {
  max-width: 720px;
}
.teaser-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #3b82f6;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.teaser-content h3 {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 8px;
}
.teaser-content p {
  font-size: 15px;
  color: #cbd5e1;
  line-height: 1.5;
}

.section-block {
  margin-bottom: 64px;
}
.section-title-wrap {
  margin-bottom: 32px;
  text-align: center;
}
.section-title-wrap h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: -0.01em;
}
.section-title-wrap p {
  font-size: 16px;
  color: var(--text-muted);
  margin-top: 6px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.benefit-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: #eff6ff;
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 16px;
}
.benefit-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 8px;
}
.benefit-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.content-article-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 64px;
}
.content-article-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 16px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 10px;
}
.content-article-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.content-article-card p:last-child {
  margin-bottom: 0;
}
.content-article-card ul {
  margin: 16px 0 16px 24px;
  color: var(--text-muted);
  font-size: 14px;
}
.content-article-card li {
  margin-bottom: 8px;
}

.faq-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
}
.faq-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 8px;
}
.faq-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   TOOL #2: STATEMENT QUALITY AUDIT WORKSPACE (statement-audit.php STYLES)
   ========================================================================== */
.audit-section-wrap {
  padding: 48px 0 72px 0;
  background-color: var(--bg-slate);
}
.audit-section-header {
  margin-bottom: 32px;
}
.audit-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e0e7ff;
  color: #3730a3;
  border: 1px solid #c7d2fe;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.audit-section-header h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.audit-section-header p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 800px;
}

/* Privacy Banner */
.privacy-banner {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.privacy-left {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #065f46;
  font-size: 14px;
}
.privacy-left strong {
  font-weight: 700;
  color: #047857;
}
.privacy-badge {
  font-size: 11px;
  font-weight: 700;
  background: #047857;
  color: #ffffff;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
}

/* Split View Audit Grid */
.audit-workspace-grid {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 32px;
  align-items: start;
}

.audit-input-panel {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 96px;
}
.jurisdiction-selector {
  margin-bottom: 20px;
}
.jurisdiction-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
  display: block;
}
.jurisdiction-toggles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: #f1f5f9;
  padding: 4px;
  border-radius: var(--radius-md);
}
.j-btn {
  background: transparent;
  border: none;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
}
.j-btn.active {
  background: #ffffff;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

.form-textarea {
  width: 100%;
  height: 240px;
  padding: 14px;
  font-size: 13px;
  font-family: inherit;
  color: var(--text-main);
  background: #ffffff;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  resize: vertical;
  line-height: 1.5;
  margin-bottom: 16px;
}
.textarea-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Score Card */
.audit-score-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.score-summary-left {
  display: flex;
  align-items: center;
  gap: 24px;
}
.score-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 6px solid #e2e8f0;
  border-top-color: var(--warning-amber);
  border-right-color: var(--warning-amber);
  border-bottom-color: var(--warning-amber);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--primary-navy);
  flex-shrink: 0;
}
.score-num {
  font-size: 24px;
  line-height: 1;
}
.score-max {
  font-size: 11px;
  color: var(--text-muted);
}
.score-details h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 4px;
}
.score-details p {
  font-size: 14px;
  color: var(--text-muted);
}
.score-breakdown-tags {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.tag-count {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tag-count.tag-pass { background: var(--pass-bg); color: var(--pass-green); }
.tag-count.tag-partial { background: var(--warning-bg); color: var(--warning-amber); }
.tag-count.tag-fail { background: var(--fail-bg); color: var(--fail-red); }

/* Criteria Stack */
.criteria-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.criterion-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease;
}
.criterion-card:hover {
  border-color: #cbd5e1;
}
.criterion-card.is-gap {
  border-left: 5px solid var(--warning-amber);
}
.criterion-card.is-pass {
  border-left: 5px solid var(--pass-green);
}
.criterion-card.is-missing {
  border-left: 5px solid var(--fail-red);
}

.criterion-header {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
}
.criterion-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}
.criterion-num {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #f1f5f9;
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  border: 1px solid #e2e8f0;
}
.criterion-title h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-navy);
}
.criterion-ref {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.badge-status {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.badge-status.pass {
  background: var(--pass-bg);
  color: var(--pass-green);
  border: 1px solid var(--pass-border);
}
.badge-status.partial {
  background: var(--warning-bg);
  color: var(--warning-amber);
  border: 1px solid var(--warning-border);
}
.badge-status.missing {
  background: var(--fail-bg);
  color: var(--fail-red);
  border: 1px solid var(--fail-border);
}

.criterion-body {
  padding: 0 24px 20px 24px;
  background: #ffffff;
  border-top: 1px solid #f8fafc;
}
.criterion-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
  padding-top: 12px;
}

.gap-panel {
  background: #fffbeb;
  border: 1px solid #fef3c7;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-top: 8px;
}
.gap-panel-header {
  font-size: 12px;
  font-weight: 700;
  color: #92400e;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.gap-panel-text {
  font-size: 13px;
  color: #78350f;
  line-height: 1.5;
}
.gap-panel-suggested {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #fde68a;
  font-size: 12px;
  color: #451a03;
  font-family: monospace;
  background: rgba(255, 255, 255, 0.6);
  padding: 8px;
  border-radius: 4px;
}

.audit-action-bar {
  margin-top: 24px;
  background: var(--primary-navy);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}
.action-bar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.action-bar-left h4 {
  font-size: 15px;
  font-weight: 700;
}
.action-bar-left p {
  font-size: 12px;
  color: #94a3b8;
}
.action-bar-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* NSW Callout Box */
.nsw-callout {
  margin-top: 48px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: center;
}
.nsw-callout-text h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 8px;
}
.nsw-callout-text p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}
.nsw-callout-stats {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
}
.nsw-callout-stats strong {
  font-size: 28px;
  color: var(--accent-blue);
  font-weight: 800;
  display: block;
}
.nsw-callout-stats span {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

/* Footer */
.site-footer {
  background-color: var(--primary-navy);
  color: #cbd5e1;
  padding: 64px 0 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-col h5 {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}
.footer-col p {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links li a {
  color: #94a3b8;
  font-size: 13px;
  transition: color 0.15s ease;
}
.footer-links li a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-badge-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-top: 16px;
}
.footer-badge-box span {
  font-size: 11px;
  color: #94a3b8;
  display: block;
}
.footer-badge-box strong {
  color: #ffffff;
  font-size: 13px;
  display: block;
  margin-top: 2px;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #64748b;
}
.footer-disclaimer-box {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 11px;
  line-height: 1.5;
  color: #94a3b8;
  margin-bottom: 24px;
}

@media print {
  .site-header, .view-switcher-bar, .btn, .site-footer, .tool2-teaser-band, .audit-input-panel, .privacy-banner {
    display: none !important;
  }
  .tool-workspace {
    margin-top: 0;
  }
  .tool-card, .criterion-card {
    box-shadow: none !important;
    border: 1px solid #000 !important;
  }
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
}

@media (max-width: 1024px) {
  .form-grid, .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }
  .metrics-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .tool2-teaser-band {
    flex-direction: column;
    align-items: flex-start;
  }
  .audit-workspace-grid {
    grid-template-columns: 1fr;
  }
  .audit-input-panel {
    position: static;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: auto;
    padding: 16px 0;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .main-nav {
    display: none;
  }
  .hero-band {
    padding: 40px 0 80px 0;
  }
  .hero-band h2 {
    font-size: 26px;
  }
  .form-grid, .benefits-grid, .metrics-grid, .checklist-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .radio-card-group {
    grid-template-columns: 1fr;
  }
  .status-banner {
    flex-direction: column;
    gap: 16px;
  }
  .gov-strip-inner {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
  }
  .audit-score-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .audit-action-bar {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .action-bar-buttons {
    flex-direction: column;
  }
  .action-bar-buttons .btn {
    width: 100%;
  }
  .nsw-callout {
    grid-template-columns: 1fr;
  }
}