/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* === Theme Variables === */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f5f5f5;
  --bg-card: #ffffff;
  --bg-nav: rgba(245, 245, 245, 0.9);
  --text-primary: #111111;
  --text-secondary: #555555;
  --text-tertiary: #888888;
  --border: rgba(0, 0, 0, 0.08);
  --border-accent: rgba(255, 115, 0, 0.25);
  --brand-orange: #FF7300;
  --brand-burnt-orange: #D14C00;
  --brand-burnt-sienna: #551A11;
  --dot-color: rgba(0, 0, 0, 0.12);
  --shadow-nav: 0 4px 30px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.dark {
  --bg-primary: #050505;
  --bg-secondary: #0d0d0d;
  --bg-card: #141414;
  --bg-nav: rgba(17, 17, 17, 0.9);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-tertiary: rgba(255, 255, 255, 0.45);
  --border: rgba(255, 255, 255, 0.08);
  --dot-color: rgba(255, 255, 255, 0.12);
  --shadow-nav: 0 4px 30px rgba(0, 0, 0, 0.3);
  --shadow-card: none;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Fira Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s, color 0.3s;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === Light/Dark visibility === */
.dark .dark-only { display: block; }
.dark .light-only { display: none; }
html:not(.dark) .dark-only { display: none; }
html:not(.dark) .light-only { display: block; }

/* === Nav === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 24px;
}

.nav-pill {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 9999px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-nav);
  transition: background-color 0.3s, border-color 0.3s;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 28px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Theme Toggle */
.theme-toggle {
  position: relative;
  width: 52px;
  height: 28px;
  background: var(--border);
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  padding: 2px;
  transition: background-color 0.2s;
}

.theme-toggle:focus {
  outline: 2px solid var(--brand-orange);
  outline-offset: 2px;
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.theme-toggle .icon-sun {
  left: 6px;
  color: #f59e0b;
}

.theme-toggle .icon-moon {
  right: 6px;
  color: #60a5fa;
}

.toggle-thumb {
  width: 22px;
  height: 22px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  transition: transform 0.2s;
  position: relative;
  z-index: 1;
}

.dark .toggle-thumb {
  transform: translateX(24px);
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  background: var(--brand-orange);
  color: #fff;
  transition: background-color 0.2s;
  white-space: nowrap;
}

.btn-nav:hover {
  background: var(--brand-burnt-orange);
}

/* Mobile nav */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
}

.nav-mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: all 0.3s;
}

.nav-mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 8px;
  max-width: 900px;
  margin: 8px auto 0;
  padding: 16px;
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  border: 1px solid var(--border);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  padding: 10px 16px;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  border-radius: 8px;
  transition: all 0.2s;
}

.nav-mobile a:hover {
  background: var(--border);
  color: var(--text-primary);
}

/* === Hero === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--bg-primary);
  padding-top: 80px;
}

.hero-dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, var(--dot-color) 1px, transparent 1px);
  background-size: 10px 10px;
  pointer-events: none;
}

/* Fade the dot grid into the background at the bottom */
.hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to bottom, transparent, var(--bg-primary));
  pointer-events: none;
  z-index: 1;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  animation: pulse 8s ease-in-out infinite;
}

.hero-blob-1 {
  top: -100px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: rgba(209, 76, 0, 0.2);
}

.hero-blob-2 {
  bottom: -100px;
  left: -80px;
  width: 450px;
  height: 450px;
  background: rgba(255, 115, 0, 0.12);
  animation-delay: 3s;
}

.hero-blob-3 {
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(209, 76, 0, 0.1) 0%, transparent 60%);
  animation: pulse3 8s ease-in-out infinite;
  animation-delay: 1.5s;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@keyframes pulse3 {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-logo {
  max-width: 320px;
  width: 65%;
  height: auto;
  margin-bottom: 20px;
  display: block;
}

html:not(.dark) .hero-logo {
  filter: invert(1) brightness(0.2);
}

.hero-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--brand-orange);
  border: 1px solid var(--border-accent);
  border-radius: 9999px;
  padding: 6px 18px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-align: center;
}

.hero-problem {
  font-size: clamp(20px, 3.5vw, 30px);
  font-weight: 600;
  color: var(--text-primary);
  max-width: 700px;
  margin-bottom: 16px;
  line-height: 1.3;
}

.hero-subtitle {
  font-size: clamp(16px, 2.5vw, 22px);
  color: var(--brand-orange);
  font-weight: 300;
  margin-bottom: 16px;
}

.hero-differentiator {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 12px;
  line-height: 1.6;
}

.hero-body {
  max-width: 640px;
  margin: 0 auto 16px;
  font-size: 16px;
  color: var(--text-tertiary);
  line-height: 1.7;
}

.hero-signal {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 32px;
  letter-spacing: 0.3px;
}

.btn-tertiary {
  background: transparent;
  color: var(--brand-orange);
  border: 2px solid var(--border-accent);
}

.btn-tertiary:hover {
  background: rgba(255, 115, 0, 0.08);
}

.hero-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #FF7300, #D14C00);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(255, 115, 0, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 6px 25px rgba(255, 115, 0, 0.4);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange);
}

/* === Sections === */
.section {
  padding: 80px 0;
  background: var(--bg-primary);
  transition: background-color 0.3s;
  position: relative;
  overflow: hidden;
}

.section-alt {
  background: var(--bg-secondary);
}

.section-glow {
  position: relative;
}

.section-glow-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.section .container {
  position: relative;
  z-index: 1;
}

.section h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  text-align: center;
}

.section h2::before {
  content: '.';
  color: var(--brand-orange);
}

.section-intro {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 48px;
  max-width: 600px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.closing-line {
  margin-top: 48px;
  font-size: 15px;
  color: var(--text-tertiary);
  font-style: italic;
  text-align: center;
}

/* === Two Column (What PACT5 Is) === */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 32px;
}

.col-text p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Stack Diagram */
.stack-diagram {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stack-item {
  padding: 16px 18px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  transition: background-color 0.3s, border-color 0.3s;
}

.stack-label {
  font-weight: 600;
  min-width: 110px;
}

.stack-detail {
  color: var(--text-tertiary);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
}

.stack-arrow {
  color: var(--brand-orange);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  margin-left: auto;
}

.stack-note {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 12px;
  font-style: italic;
}

.stack-regulation,
.stack-communication,
.stack-connection {
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.stack-governance {
  background: rgba(255, 115, 0, 0.08);
  border: 1px solid var(--border-accent);
  box-shadow: 0 0 20px rgba(255, 115, 0, 0.05);
}

/* === Layers (Architecture) === */
.layers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.layer {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  transition: border-color 0.2s, background-color 0.3s;
  box-shadow: var(--shadow-card);
}

.layer:hover {
  border-color: var(--border-accent);
}

.layer-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.layer-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-orange);
  background: rgba(255, 115, 0, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
}

.layer h3 {
  font-size: 17px;
  font-weight: 600;
}

.layer p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.layer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-tertiary);
  background: var(--bg-secondary);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

/* === Stats (Production) === */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 52px;
  font-weight: 700;
  color: var(--brand-orange);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Flow diagram */
.production-example {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: background-color 0.3s;
}

.production-example h3 {
  font-size: 18px;
  margin-bottom: 24px;
}

.flow {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
}

.flow-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--brand-orange);
  background: rgba(255, 115, 0, 0.1);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.flow-text {
  font-size: 15px;
  color: var(--text-secondary);
}

.flow-step code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--brand-orange);
  background: rgba(255, 115, 0, 0.08);
  padding: 3px 8px;
  border-radius: 6px;
  margin-left: auto;
}

.flow-connector {
  width: 1px;
  height: 6px;
  background: var(--border-accent);
  margin-left: 14px;
}

/* === Three Column (Open Protocol) === */
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.2s, background-color 0.3s;
  box-shadow: var(--shadow-card);
}

.card:hover {
  border-color: var(--border-accent);
}

.card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.card-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--brand-orange);
  text-decoration: none;
  transition: color 0.2s;
}

.card-link:hover {
  color: var(--brand-burnt-orange);
}

/* === Standards Table === */
.standards-table-wrapper {
  overflow-x: auto;
  margin-top: 32px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.standards-table {
  width: 100%;
  border-collapse: collapse;
}

.standards-table th,
.standards-table td {
  text-align: left;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}

.standards-table th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-tertiary);
  font-weight: 500;
  background: var(--bg-secondary);
}

.standards-table td {
  font-size: 14px;
  color: var(--text-secondary);
}

.standards-table td strong {
  color: var(--text-primary);
}

.standards-table tr:last-child td {
  border-bottom: none;
}

.standards-table tr:hover td {
  background: rgba(255, 115, 0, 0.03);
}

/* === Compliance Section === */
.compliance-block {
  margin-bottom: 48px;
}

.compliance-heading {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.compliance-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 400;
  padding: 4px 12px;
  border-radius: 9999px;
}

.status-active {
  color: var(--brand-orange);
  background: rgba(255, 115, 0, 0.1);
  border: 1px solid rgba(255, 115, 0, 0.2);
}

.status-live {
  color: #00c853;
  background: rgba(0, 200, 83, 0.08);
  border: 1px solid rgba(0, 200, 83, 0.2);
}

.status-engaged {
  color: var(--brand-orange);
  background: rgba(255, 115, 0, 0.08);
  border: 1px solid var(--border-accent);
}

.compliance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.compliance-grid-wide {
  grid-template-columns: 1fr 1fr;
}

.compliance-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--shadow-card);
  transition: background-color 0.3s;
}

.compliance-card h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.compliance-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* === Compliance Urgency & Details === */
.compliance-urgency {
  background: rgba(255, 115, 0, 0.06);
  border: 1px solid var(--border-accent);
  border-radius: 12px;
  padding: 16px 24px;
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.6;
}

.compliance-urgency strong {
  color: var(--brand-orange);
}

.compliance-details {
  margin-top: 32px;
}

.compliance-details summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: var(--brand-orange);
  padding: 12px 0;
  list-style: none;
}

.compliance-details summary::-webkit-details-marker {
  display: none;
}

.compliance-details summary::before {
  content: '+ ';
  font-family: 'JetBrains Mono', monospace;
}

.compliance-details[open] summary::before {
  content: '- ';
}

.compliance-details .compliance-block:first-child {
  margin-top: 24px;
}

/* === Blog Section === */
.blog-grid {
  margin-top: 32px;
}

.blog-placeholder {
  text-align: center;
  color: var(--text-tertiary);
  font-size: 16px;
  padding: 48px 0;
}

.blog-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.2s, background-color 0.3s;
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: inherit;
  display: block;
}

.blog-card:hover {
  border-color: var(--border-accent);
}

.blog-card-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--brand-orange);
  margin-bottom: 12px;
}

.blog-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}

.blog-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.blog-card-hidden {
  display: none;
}

.blog-all-link {
  display: none;
}

.blog-all-link.blog-all-visible {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.blog-card-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr;
}

.blog-card-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-tertiary);
  background: var(--bg-secondary);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--border);
  margin-top: 12px;
}

/* === Footer === */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--bg-primary);
  transition: background-color 0.3s;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
}

.footer-brand {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-left p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.footer-left a {
  color: var(--brand-orange);
  text-decoration: none;
}

.footer-tagline {
  font-style: italic;
  color: var(--text-tertiary) !important;
  margin-top: 8px !important;
}

.footer-center p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.footer-center a {
  color: var(--brand-orange);
  text-decoration: none;
}

.footer-right p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.footer-right a {
  color: var(--brand-orange);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-tertiary);
}

/* === Responsive === */
@media (max-width: 768px) {
  .site-header { padding: 12px 16px; }

  .nav-links,
  .nav-actions { display: none; }

  .nav-mobile-toggle { display: flex; }

  .hero { min-height: auto; padding: 140px 0 80px; }
  .section { padding: 60px 0; }

  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .layers {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .stat { text-align: left; }
  .stat-number { font-size: 36px; }

  .three-col {
    grid-template-columns: 1fr;
  }

  .blog-posts {
    grid-template-columns: 1fr;
  }

  .blog-card-featured {
    grid-column: 1;
  }

  .blog-all-link.blog-all-visible {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 32px;
  }

  .flow-step code {
    display: none;
  }

  .stack-arrow {
    display: none;
  }

  .compliance-grid {
    grid-template-columns: 1fr;
  }

  .compliance-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .hero-links { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
}
