:root {
  /* Dynamic Palette: Neon Cyber Edge (Strictly No Blue) */
  --bg-canvas: #160f2e;
  --bg-surface: rgba(255, 255, 255, 0.03);
  --bg-surface-hover: rgba(255, 255, 255, 0.08);
  --text-primary: #ffffff;
  --text-muted: #a39eb8;
  --accent-primary: #e0409b;
  --accent-secondary: #F43F5E;
  --border-subtle: rgba(255, 255, 255, 0.1);
  --shadow-elevation: 0 12px 32px -4px rgba(0, 0, 0, 0.5);
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.8;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  overflow-wrap: anywhere;
  hyphens: auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p { margin-bottom: 1.5rem; color: var(--text-muted); }
a { color: var(--accent-primary); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--accent-secondary); }

/* Layout & Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.reading-column {
  max-width: 70ch;
  margin: 0 auto;
}

.breakout-image {
  width: 100vw;
  max-width: 1200px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin: 4rem 0;
  display: block;
  object-fit: cover;
  border-radius: 0; /* Strict 0px radius */
}

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.split-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 6rem 0;
}

@media (max-width: 768px) {
  .split-hero {
    grid-template-columns: 1fr;
    padding: 3rem 0;
  }
}

/* Header & Nav */
header {
  position: relative; /* Must move out of view */
  padding: 2rem 0;
  background: var(--bg-canvas);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.brand {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-primary);
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-primary);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-canvas);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    z-index: 100;
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
  }
}

/* UI Elements */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border: 2px solid var(--accent-primary);
  background: transparent;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
  border-radius: 0; /* Strict 0px radius */
  cursor: pointer;
  transition: all 0.4s var(--ease-kinetic);
}

.btn:hover {
  background: var(--accent-primary);
  color: var(--bg-canvas);
  transform: translateY(-2px);
  box-shadow: 0 0 20px -5px var(--accent-primary);
}

.card {
  background: var(--bg-surface);
  padding: 2rem;
  border-radius: 0; /* Strict 0px radius */
  border: none; /* No border rule */
  transition: all 0.4s var(--ease-kinetic);
}

.card:hover {
  background: var(--bg-surface-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-elevation);
}

.pull-quote {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  border-left: 4px solid var(--accent-primary);
  padding-left: 1.5rem;
  margin: 3rem 0;
  line-height: 1.4;
}

/* Diagonal Background Sections */
.section-diagonal {
  background: #110c24;
  padding: 6rem 0;
  clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
  margin: 4rem 0;
}

@media (max-width: 768px) {
  .section-diagonal {
    clip-path: polygon(0 2%, 100% 0, 100% 98%, 0 100%);
    padding: 4rem 0;
  }
}

/* Tool: Requirements Builder */
.tool-panel {
  background: var(--bg-surface);
  padding: 2rem;
  margin: 3rem 0;
}
.tool-panel h3 { margin-bottom: 1.5rem; }
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-weight: 800;
}
input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent-primary);
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}
input[type="checkbox"]:checked {
  background: var(--accent-primary);
}
input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid var(--bg-canvas);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
#tool-output {
  width: 100%;
  min-height: 120px;
  background: #090614;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 1rem;
  font-family: monospace;
  border-radius: 0;
  margin-bottom: 1rem;
  resize: vertical;
}

/* Forms */
input[type="text"], input[type="email"], textarea {
  width: 100%;
  padding: 1rem;
  background: #090614;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  border-radius: 0; /* Strict 0px radius */
  margin-bottom: 1.5rem;
  font-family: inherit;
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s var(--ease-kinetic);
}
.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
footer {
  margin-top: auto;
  background: #090614;
  padding: 4rem 0 2rem 0;
  border-top: 1px solid var(--border-subtle);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}
.footer-col h4 {
  color: var(--accent-primary);
  text-transform: uppercase;
  font-size: 1rem;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 0.5rem;
}
.footer-col a {
  color: var(--text-muted);
}
.footer-col a:hover {
  color: var(--text-primary);
}
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  color: #666;
  font-size: 0.85rem;
}

/* Tables */
.table-wrapper {
  overflow-x: auto;
  margin: 3rem 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
th, td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}
th {
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-primary);
}

/* Hero vectors styling */
.hero-vector {
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
