@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800&family=DM+Sans:wght@400;500&display=swap');

:root {
  --red: #E8001A;
  --bg: #0C0C0C;
  --bg2: #141414;
  --bg3: #1A1A1A;
  --border: rgba(255,255,255,0.08);
  --text: #F0F0F0;
  --muted: #888;
  --white: #fff;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12,12,12,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-logo img { height: 32px; display: block; }
.nav-cta {
  background: var(--red);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  text-decoration: none;
  padding: 0.45rem 1.1rem;
  border-radius: 4px;
  transition: opacity 0.15s;
}
.nav-cta:hover { opacity: 0.85; }
.nav-links { display: flex; gap: 1.75rem; }
.nav-links a {
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }

/* BREADCRUMB */
.breadcrumb {
  padding: 1rem clamp(1.5rem, 5vw, 4rem);
  font-size: 0.8rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span { margin: 0 0.4rem; }

/* HERO */
.hero {
  padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 5vw, 4rem) clamp(2rem, 5vw, 3rem);
  max-width: 860px;
}
.hero-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.hero-meta {
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* LAYOUT */
.page-layout {
  display: grid;
  grid-template-columns: 1fr min(680px, 100%) 1fr;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}
.page-layout > * { grid-column: 2; }

/* CONTENT */
.content { padding: 2.5rem 0 5rem; }

.content h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.01em;
  color: var(--white);
  margin: 3rem 0 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.content h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }

.content h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--white);
  margin: 2rem 0 0.6rem;
}

.content p { margin-bottom: 1.25rem; color: var(--text); }

.content ul, .content ol {
  padding-left: 1.4rem;
  margin-bottom: 1.25rem;
}
.content li { margin-bottom: 0.4rem; }

.content strong { color: var(--white); font-weight: 500; }

.content em { color: var(--muted); font-style: italic; }

/* TABLE */
.table-wrap { overflow-x: auto; margin: 1.5rem 0 2rem; border-radius: 8px; border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
thead tr { background: var(--bg3); }
th {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.8rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--bg3); }
td:first-child { color: var(--muted); font-size: 0.85rem; font-weight: 500; }
td strong { color: var(--white); }

/* CALLOUT BOX */
.callout {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  border-radius: 0 8px 8px 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}
.callout p { margin: 0; font-size: 0.95rem; }

/* NUMBERED LIST STYLED */
.step-list { list-style: none; padding: 0; counter-reset: steps; }
.step-list li {
  counter-increment: steps;
  padding: 0.9rem 0 0.9rem 3rem;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.step-list li:last-child { border-bottom: none; }
.step-list li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0.85rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--red);
  width: 2rem;
  text-align: center;
}

/* CTA BOX */
.cta-box {
  background: linear-gradient(135deg, var(--bg3) 0%, #1f1010 100%);
  border: 1px solid rgba(232,0,26,0.2);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  margin: 3rem 0;
  text-align: center;
}
.cta-box h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.cta-box p { color: var(--muted); margin-bottom: 1.5rem; font-size: 0.95rem; }
.btn {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  text-decoration: none;
  padding: 0.8rem 2rem;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: opacity 0.15s, transform 0.15s;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }

/* RELATED */
.related {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  margin-top: 1rem;
}
.related-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.related-links { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.related-links a {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.related-links a:hover { border-color: var(--red); color: var(--white); }

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem clamp(1.5rem, 5vw, 4rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
}
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }

@media (max-width: 640px) {
  .hero h1 { font-size: 2rem; }
  .page-layout { grid-template-columns: 1fr; padding: 0 1.25rem; }
  .nav-links { display: none; }
}
