/* FalconForgeAI — shared compliance section styles */
:root {
  --bg: #070b14;
  --bg-2: #0c1730;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.09);
  --line: rgba(29, 64, 156, 0.30);
  --line-soft: rgba(255, 255, 255, 0.10);
  --text: #eef3ff;
  --muted: #bfcae0;
  --soft: #dde6f8;
  --accent: #1d409c;
  --highlight: #6f8ee8;
  --warning: #f1c77a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background:
    radial-gradient(circle at 15% 0%, rgba(29, 64, 156, 0.18), transparent 34rem),
    radial-gradient(circle at 82% 12%, rgba(29, 64, 156, 0.24), transparent 30rem),
    linear-gradient(180deg, #061012 0%, #081316 38%, #0b0c10 100%);
  color: var(--text);
  line-height: 1.7;
  font-size: 1rem;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--highlight); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  background: var(--highlight);
  color: #031011;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  z-index: 2000;
  font-weight: 600;
}

.skip-link:focus { left: 1rem; }

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  background: rgba(7, 11, 20, 0.82);
  border-bottom: 1px solid var(--line);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1rem;
  gap: 0.75rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: inherit;
}

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--highlight);
}

.logo-text span {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  flex: 1 1 auto;
  justify-content: flex-end;
  min-width: 0;
}

.nav-menu li { flex-shrink: 0; }

.nav-link,
.cta {
  color: var(--soft);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.4rem 0.5rem;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: var(--highlight);
  outline: none;
}

.nav-link.active { font-weight: 600; }

.cta {
  border: 1px solid var(--highlight);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  color: var(--highlight);
  font-weight: 600;
  font-size: 0.82rem;
  background: rgba(29, 64, 156, 0.08);
  margin-left: 0.2rem;
}

.cta:hover,
.cta:focus {
  color: #031011;
  background: var(--highlight);
  outline: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: transparent;
  border: 0;
  padding: 0.5rem;
  flex-shrink: 0;
}

.bar {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--text);
  border-radius: 999px;
  transition: 0.3s;
}

section { padding: 3.5rem 1.25rem; }

.container {
  max-width: var(--max);
  margin: 0 auto;
}

.content-narrow {
  max-width: 820px;
  margin: 0 auto;
}

.content-wide {
  max-width: var(--max);
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--highlight);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--highlight);
  opacity: 0.8;
}

h1, h2, h3 {
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 600;
}

h1 {
  font-size: clamp(1.85rem, 3.6vw, 2.65rem);
  max-width: 100%;
  width: 100%;
  font-weight: 700;
  color: var(--text);
}

h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  color: var(--text);
  font-weight: 600;
  margin-top: 2.25rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--line-soft);
}

h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--highlight);
  margin-top: 1.15rem;
}

.hero {
  padding: 3.5rem 1.25rem 1.75rem;
  overflow: visible;
}

.hero .container {
  max-width: var(--max);
  width: 100%;
  overflow: visible;
}

.hero .eyebrow {
  display: flex;
  flex-wrap: wrap;
  max-width: 100%;
  width: auto;
  white-space: normal;
}

.hero h1 {
  max-width: 100%;
  width: 100%;
  overflow: visible;
  overflow-wrap: break-word;
  white-space: normal;
}

.hero-lead {
  max-width: 100%;
  width: 100%;
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--muted);
  margin: 1.1rem 0 0;
  overflow: visible;
  white-space: normal;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

/* Full-width hub intro (compliance index and similar) */
.hero-intro {
  max-width: var(--max);
  width: 100%;
}

.hero-intro h1,
.hero-intro .hero-lead,
.hero-intro .eyebrow {
  max-width: 100%;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.7rem 1.1rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--highlight);
  color: #031011;
  box-shadow: 0 18px 50px rgba(29, 64, 156, 0.24);
}

.btn-secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-2px);
}

.context-panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(29, 64, 156, 0.14), rgba(255,255,255,0.045));
  border-radius: var(--radius-md);
  padding: 1.25rem 1.35rem;
  margin-bottom: 2rem;
  color: var(--soft);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.65;
}

.context-panel strong {
  color: var(--highlight);
  font-weight: 600;
}

.panel {
  border: 1px solid var(--line-soft);
  background: var(--panel);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: 1.25rem 0;
}

.panel ul {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.panel li {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.6;
}

.panel strong { font-weight: 600; }

.content-body p {
  color: var(--muted);
  margin: 1rem 0 0;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.7;
}

.content-body p:first-of-type { margin-top: 0; }

/* Framework pill nav */
.framework-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.framework-nav a {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  border: 1px solid var(--line-soft);
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
}

.framework-nav a:hover,
.framework-nav a.active {
  border-color: var(--highlight);
  color: var(--highlight);
  background: rgba(29, 64, 156, 0.15);
}

/* Stat grid */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.85rem;
  margin: 1.5rem 0;
}

.stat-card {
  border: 1px solid var(--line-soft);
  background: var(--panel);
  border-radius: var(--radius-sm);
  padding: 1.1rem;
  text-align: center;
}

.stat-card .value {
  display: block;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--highlight);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.stat-card .label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.45;
}

/* Card grids */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.card {
  border: 1px solid var(--line-soft);
  background: var(--panel);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.card h3 {
  margin-top: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.card p {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.65;
}

.card a {
  display: inline-block;
  margin-top: 0.85rem;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}

/* FAQ */
.faq-item {
  border: 1px solid var(--line-soft);
  background: var(--panel);
  border-radius: var(--radius-sm);
  margin: 0.75rem 0;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 0.95rem 1.1rem;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--soft);
  list-style: none;
  line-height: 1.45;
}

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

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--highlight);
  font-weight: 500;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item .faq-body {
  padding: 0 1.1rem 1.1rem;
  color: var(--muted);
  border-top: 1px solid var(--line-soft);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.7;
}

.faq-item .faq-body p { margin-top: 0.85rem; }

/* Tables */
.table-wrap {
  overflow-x: auto;
  margin: 1.25rem 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

th, td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

th {
  background: rgba(29, 64, 156, 0.2);
  color: var(--soft);
  font-weight: 600;
  font-size: 0.8rem;
  white-space: nowrap;
}

td {
  color: var(--muted);
  font-weight: 400;
  line-height: 1.55;
}

tr:last-child td { border-bottom: 0; }

/* Callout strip */
.callout {
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(29, 64, 156, 0.22), rgba(255,255,255,0.04));
  border-radius: var(--radius-md);
  padding: 1.35rem 1.5rem;
  margin: 2rem 0;
}

.callout h2 {
  margin-top: 0;
  border: 0;
  padding: 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.callout p {
  color: var(--soft);
  margin-top: 0.75rem;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.65;
}

/* Customer-facing help block used on every compliance page */
.help-box {
  border: 1px solid rgba(111, 142, 232, 0.45);
  background: linear-gradient(180deg, rgba(29, 64, 156, 0.28), rgba(255,255,255,0.05));
  border-radius: var(--radius-md);
  padding: 1.35rem 1.5rem 1.25rem;
  margin: 2rem 0;
}

.help-box h2 {
  margin-top: 0;
  border: 0;
  padding: 0;
  color: var(--highlight);
  font-size: 1.25rem;
  font-weight: 600;
}

.help-box > p {
  color: var(--soft);
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.65;
}

.help-box ol,
.help-box ul {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
  color: var(--soft);
}

.help-box li {
  margin-bottom: 0.55rem;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.55;
}

.help-box .help-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.6;
}

.plain-box {
  border: 1px solid var(--line-soft);
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.35rem;
  margin: 1.25rem 0;
}

.plain-box h3 {
  margin-top: 0;
  color: var(--highlight);
  font-size: 1.05rem;
  font-weight: 600;
}

.plain-box p {
  color: var(--muted);
  margin: 0.65rem 0 0;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.7;
}

.steps {
  counter-reset: help-step;
  list-style: none;
  padding-left: 0;
  margin: 1rem 0 0;
}

.steps li {
  counter-increment: help-step;
  position: relative;
  padding: 0.85rem 0 0.85rem 3rem;
  border-bottom: 1px solid var(--line-soft);
  color: var(--soft);
  font-size: 0.95rem;
  font-weight: 400;
}

.steps li:last-child { border-bottom: 0; }

.steps li::before {
  content: counter(help-step);
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  background: rgba(111, 142, 232, 0.2);
  border: 1px solid var(--highlight);
  color: var(--highlight);
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Resource list */
.resource-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.resource-list li {
  margin: 0.5rem 0;
  padding-left: 0;
  font-size: 0.95rem;
}

.resource-list a {
  font-weight: 600;
  text-decoration: none;
}

.resource-list a:hover { text-decoration: underline; }

/* Hub cards on index */
.hub-intro {
  max-width: none;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.7;
  margin: 1rem 0 0;
}

.footer {
  border-top: 1px solid var(--line-soft);
  background: #050b0d;
  padding: 2rem 1.25rem;
  color: var(--muted);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.footer-inner strong {
  font-weight: 600;
  font-size: 0.95rem;
}

.footer-inner span {
  font-size: 0.88rem;
  font-weight: 400;
}

.footer a {
  color: var(--soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
}

.disclaimer {
  max-width: var(--max);
  margin: 1.5rem auto 0;
  color: #9fb3b4;
  font-size: 0.86rem;
  font-weight: 400;
  line-height: 1.6;
  border-top: 1px solid var(--line-soft);
  padding-top: 1rem;
}

.breadcrumb {
  font-size: 0.86rem;
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--soft);
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb a:hover { color: var(--highlight); }

@media (max-width: 1100px) {
  .logo-text span { display: none; }
  .nav-link,
  .cta {
    font-size: 0.78rem;
    padding: 0.35rem 0.42rem;
  }
  .cta { padding: 0.35rem 0.65rem; }
}

@media (max-width: 980px) {
  .hamburger { display: flex; }

  .nav-menu {
    position: absolute;
    top: 68px;
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    white-space: normal;
    gap: 0;
    background: rgba(7, 11, 20, 0.98);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 0.75rem;
    box-shadow: var(--shadow);
  }

  .nav-menu.active { display: flex; }
  .nav-menu li { width: 100%; }

  .nav-link,
  .cta {
    display: block;
    width: 100%;
    padding: 0.85rem;
    font-size: 0.9rem;
    white-space: normal;
  }

  .cta {
    text-align: center;
    margin-top: 0.4rem;
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .logo-text span { display: none; }
}
