/* TrueNorth Node Base — Enterprise static site styles */
:root {
  --bg-deep: #0a192f;
  --bg-panel: #112240;
  --bg-elevated: #172a45;
  --text-primary: #f8fafc;
  --text-muted: #94a3b8;
  --accent: #10b981;
  --accent-hover: #059669;
  --accent-soft: rgba(16, 185, 129, 0.12);
  --sky: #38bdf8;
  --border: rgba(148, 163, 184, 0.18);
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 24px 48px rgba(2, 12, 27, 0.45);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--sky);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 12px 16px;
  background: var(--accent);
  color: var(--bg-deep);
  z-index: 9999;
  border-radius: var(--radius-sm);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 25, 47, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 1rem;
}

.brand-tag {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  cursor: pointer;
  color: var(--text-primary);
}

.nav-toggle svg {
  display: block;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
}

.site-nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  color: #042f2e;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #022c22;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-block {
  width: 100%;
}

main {
  flex: 1;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 72px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-kicker {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-lead {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.hero {
  padding: 88px 0 72px;
  background: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(56, 189, 248, 0.14), transparent),
    linear-gradient(180deg, var(--bg-panel) 0%, var(--bg-deep) 100%);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2rem, 4.8vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin: 0 0 28px;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.hero-meta strong {
  color: var(--text-primary);
}

.hero-visual {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.mini-stat {
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  padding: 14px;
  text-align: center;
}

.mini-stat .num {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
}

.mini-stat .lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.profile-preview-grid {
  display: grid;
  gap: 14px;
}

.trust-strip {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-deep);
}

.trust-strip .container {
  text-align: center;
}

.trust-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 24px;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 36px;
  align-items: center;
}

.logo-pill {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-muted);
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-panel);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.feature-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.feature-card h3 {
  margin: 16px 0 10px;
  font-size: 1.15rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: grid;
  gap: 14px;
}

.profile-top {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.avatar-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sky), var(--accent));
  flex-shrink: 0;
}

.profile-headline {
  flex: 1;
}

.profile-headline h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-elevated);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.badge-verified {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent);
  border-color: rgba(16, 185, 129, 0.35);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tag {
  font-size: 0.78rem;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-deep);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.profile-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cta-band {
  background: linear-gradient(135deg, var(--bg-panel), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  margin-top: 48px;
}

.cta-band h2 {
  margin: 0 0 12px;
  font-size: 1.55rem;
}

.cta-band p {
  margin: 0 0 22px;
  color: var(--text-muted);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #071424;
  padding: 48px 0 100px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 32px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 12px 0 0;
  max-width: 320px;
}

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--text-primary);
  font-size: 0.92rem;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--accent);
  text-decoration: none;
}

.footer-disclaimer {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.footer-copy {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.split-aside {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.split-aside ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--text-muted);
}

.split-aside li {
  margin-bottom: 10px;
}

.form-panel {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.form-row {
  margin-bottom: 18px;
}

.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.form-error {
  color: #f87171;
  font-size: 0.82rem;
  margin-top: 8px;
  display: none;
}

.form-error.visible {
  display: block;
}

.form-success {
  background: var(--accent-soft);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--accent);
  padding: 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  display: none;
}

.form-success.visible {
  display: block;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 24px;
}

.step-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: start;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent);
  color: #042f2e;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.case-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.case-card h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.case-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 0;
}

.case-metric {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-deep);
  font-size: 0.82rem;
  color: var(--accent);
  border: 1px solid var(--border);
}

.prose {
  max-width: 800px;
}

.prose h2 {
  margin-top: 36px;
  font-size: 1.35rem;
}

.prose p,
.prose li {
  color: var(--text-muted);
}

.page-hero {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-panel);
}

.page-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.85rem, 4vw, 2.4rem);
}

.page-hero .lead {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 720px;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--bg-panel);
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.35);
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.cookie-text {
  flex: 1;
  min-width: 240px;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-cookie {
  padding: 10px 18px;
  font-size: 0.88rem;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .split-layout {
    grid-template-columns: 1fr;
  }

  .mini-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 780px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(10, 25, 47, 0.98);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .site-nav.open {
    max-height: 480px;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 4px;
  }

  .site-nav a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  .header-actions .btn-secondary {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .mini-stats {
    grid-template-columns: 1fr;
  }
}
