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

:root {
  --navy: #0a1628;
  --navy-mid: #112040;
  --navy-light: #1a3060;
  --orange: #f05a28;
  --orange-light: #ff7a45;
  --yellow: #f5c518;
  --white: #f8f6f1;
  --gray: #8a9ab5;
  --gray-light: #e8ecf4;
  --text: #1a2a44;
  --radius: 4px;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'DM Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── NAVIGATION ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 3px solid var(--orange);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--white);
  letter-spacing: 1px;
}

.nav-logo span {
  color: var(--orange);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--gray);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-weight: 600 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--orange-light) !important; color: var(--white) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* ── HERO ── */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 80px 24px 72px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(240,90,40,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--orange);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: normal;
  color: var(--orange);
}

.hero-sub {
  font-size: 1.125rem;
  color: #adbdd6;
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--orange-light);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.95rem;
  border: 1.5px solid rgba(255,255,255,0.25);
  transition: border-color 0.2s, background 0.2s;
  display: inline-block;
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.05);
}

/* Penalty card in hero */
.penalty-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 28px;
}

.penalty-card h3 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 20px;
}

.penalty-item {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.penalty-item:last-child { border-bottom: none; }

.penalty-label {
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.penalty-amount {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--yellow);
  letter-spacing: 1px;
  line-height: 1;
}

.penalty-note {
  font-size: 0.75rem;
  color: #6a7e9a;
  margin-top: 3px;
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--navy-mid);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 14px 24px;
}

.trust-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.trust-item {
  font-size: 0.8rem;
  color: var(--gray);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-item::before {
  content: '✓';
  color: var(--orange);
  font-weight: 700;
}

/* ── SECTIONS ── */
.section {
  padding: 72px 24px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.section-sub {
  color: #5a6a82;
  max-width: 560px;
  margin-bottom: 48px;
  font-size: 1rem;
}

/* ── TOPIC GRID ── */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.topic-card {
  background: var(--white);
  border: 1.5px solid var(--gray-light);
  border-radius: 6px;
  padding: 24px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  display: block;
}

.topic-card:hover {
  border-color: var(--orange);
  box-shadow: 0 4px 20px rgba(240,90,40,0.1);
  transform: translateY(-2px);
}

.topic-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.topic-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.topic-card p {
  font-size: 0.875rem;
  color: #6a7e9a;
  line-height: 1.5;
}

.topic-card .arrow {
  color: var(--orange);
  font-size: 1.1rem;
  margin-top: 14px;
  display: block;
  transition: transform 0.2s;
}

.topic-card:hover .arrow { transform: translateX(4px); }

/* ── INDUSTRY SECTION ── */
.industry-section {
  background: var(--navy);
  color: var(--white);
}

.industry-section .section-title { color: var(--white); }
.industry-section .section-sub { color: #8a9ab5; }

.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.industry-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: background 0.2s, border-color 0.2s;
}

.industry-card:hover {
  background: rgba(240,90,40,0.1);
  border-color: rgba(240,90,40,0.3);
}

.industry-emoji { font-size: 1.6rem; flex-shrink: 0; }

.industry-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.industry-card p {
  font-size: 0.78rem;
  color: #6a7e9a;
}

/* ── CTA STRIP ── */
.cta-strip {
  background: var(--orange);
  padding: 56px 24px;
  text-align: center;
}

.cta-strip h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.cta-strip p {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.btn-white {
  background: var(--white);
  color: var(--orange);
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-block;
  transition: transform 0.2s;
}

.btn-white:hover { transform: translateY(-2px); }

/* ── FAQ SECTION ── */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
  gap: 24px;
}

.faq-item {
  background: var(--white);
  border: 1.5px solid var(--gray-light);
  border-radius: 6px;
  padding: 28px;
}

.faq-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-light);
}

.faq-item p {
  font-size: 0.9rem;
  color: #5a6a82;
  line-height: 1.6;
}

.faq-item a {
  color: var(--orange);
  font-weight: 500;
}

.faq-item a:hover { text-decoration: underline; }

/* ── ARTICLE PAGE ── */
.article-hero {
  background: var(--navy);
  padding: 56px 24px 48px;
  color: var(--white);
}

.article-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.article-meta {
  display: flex;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.article-meta .tag {
  color: var(--orange);
}

.article-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.article-hero .summary {
  font-size: 1.05rem;
  color: #8a9ab5;
  max-width: 600px;
  line-height: 1.65;
}

.article-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: start;
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--navy);
  margin: 40px 0 16px;
  letter-spacing: 0.3px;
}

.article-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin: 28px 0 10px;
}

.article-body p {
  margin-bottom: 18px;
  color: #2a3a54;
  font-size: 1rem;
}

.article-body ul, .article-body ol {
  margin: 0 0 18px 20px;
  color: #2a3a54;
}

.article-body li { margin-bottom: 8px; font-size: 1rem; }

.article-body .callout {
  background: #fff8f5;
  border-left: 4px solid var(--orange);
  padding: 18px 22px;
  border-radius: 0 4px 4px 0;
  margin: 28px 0;
  font-size: 0.95rem;
  color: #3a2010;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.9rem;
}

.article-body th {
  background: var(--navy);
  color: var(--white);
  padding: 10px 16px;
  text-align: left;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.article-body td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--gray-light);
  color: #2a3a54;
}

.article-body tr:nth-child(even) td { background: #f4f6fb; }

/* Sidebar */
.article-sidebar {
  position: sticky;
  top: 80px;
}

.sidebar-toc {
  background: var(--navy);
  color: var(--white);
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 20px;
}

.sidebar-toc h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 16px;
}

.sidebar-toc ol {
  list-style: none;
  counter-reset: toc;
}

.sidebar-toc li {
  counter-increment: toc;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.85rem;
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.sidebar-toc li::before {
  content: counter(toc);
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  flex-shrink: 0;
}

.sidebar-toc a { color: #8a9ab5; transition: color 0.2s; }
.sidebar-toc a:hover { color: var(--white); }

.sidebar-widget {
  background: #fff8f5;
  border: 1.5px solid #ffd5c0;
  border-radius: 6px;
  padding: 22px;
  margin-bottom: 20px;
}

.sidebar-widget h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.sidebar-widget ul {
  list-style: none;
  font-size: 0.85rem;
}

.sidebar-widget li {
  padding: 7px 0;
  border-bottom: 1px solid #ffd5c0;
  color: #3a2010;
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.sidebar-widget li::before { content: '→'; color: var(--orange); font-size: 0.8rem; }
.sidebar-widget a { color: var(--orange); }
.sidebar-widget a:hover { text-decoration: underline; }

/* ── FOOTER ── */
footer {
  background: var(--navy);
  color: var(--white);
  padding: 56px 24px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: #6a7e9a;
  margin-top: 12px;
  max-width: 280px;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }

.footer-col li {
  padding: 5px 0;
  font-size: 0.875rem;
}

.footer-col a {
  color: #6a7e9a;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: #4a5a70;
  max-width: 700px;
  line-height: 1.6;
}

.footer-copyright {
  font-size: 0.75rem;
  color: #4a5a70;
  white-space: nowrap;
}

/* ── VIOLATIONS LIST (article-specific) ── */
.violation-entry {
  border: 1.5px solid var(--gray-light);
  border-radius: 6px;
  margin-bottom: 24px;
  overflow: hidden;
}

.violation-header {
  background: var(--navy);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.violation-rank {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--orange);
  line-height: 1;
  min-width: 48px;
}

.violation-title-block h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}

.violation-code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gray);
  letter-spacing: 0.08em;
}

.violation-count {
  margin-left: auto;
  text-align: right;
}

.violation-count .num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--yellow);
  letter-spacing: 0.5px;
}

.violation-count .label {
  font-size: 0.7rem;
  color: #6a7e9a;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.violation-body {
  padding: 20px 22px;
  background: var(--white);
}

.violation-body p { font-size: 0.9rem; color: #3a4a62; margin-bottom: 12px; }

.fix-list {
  list-style: none;
  margin: 0;
}

.fix-list li {
  font-size: 0.875rem;
  padding: 5px 0 5px 20px;
  position: relative;
  color: #3a4a62;
}

.fix-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-size: 0.75rem;
  top: 6px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .penalty-card { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 3px solid var(--orange);
  }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
}
