/* ==========================================================================
   SensoRing — Tactical DefenseTech & Counter-UAS Perimeter Web Design System
   Brand Accent derived from SensoRing logo: #00B4FF
   ========================================================================== */

:root {
  --bg: #05080f;
  --bg-elevated: #0a101d;
  --surface: #0f1728;
  --surface-hover: #141f36;
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(148, 163, 184, 0.26);
  --border-cyan: rgba(0, 180, 255, 0.35);

  --text: #f1f5f9;
  --text-secondary: #cbd5e1;
  --muted: #8b9bb4;

  --cyan: #00b4ff;
  --cyan-bright: #38c9ff;
  --cyan-dim: rgba(0, 180, 255, 0.12);
  --emerald: #10b981;
  --emerald-dim: rgba(16, 185, 129, 0.14);
  --amber: #f59e0b;
  --danger: #ef4444;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-lg: 0 24px 64px -16px rgba(0, 0, 0, 0.65);
  --container-max: 1180px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--cyan-bright);
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

a:hover {
  color: #7ddaff;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.mono {
  font-family: var(--font-mono);
}

.muted {
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-bright);
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--cyan-dim);
  border: 1px solid rgba(0, 180, 255, 0.28);
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
  animation: pulse-dot 2.2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.82); }
}

/* ==========================================================================
   Navigation Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 8, 15, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  height: 32px;
  width: auto;
}

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

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
}

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

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  cursor: pointer;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.93rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  padding: 8px 15px;
  font-size: 0.86rem;
}

.btn-primary {
  background: linear-gradient(135deg, #00b4ff 0%, #0088d6 100%);
  color: #03111c;
  box-shadow: 0 8px 24px -6px rgba(0, 180, 255, 0.45);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #27c3ff 0%, #0098ee 100%);
  color: #020c14;
  box-shadow: 0 12px 28px -6px rgba(0, 180, 255, 0.6);
}

.btn-secondary {
  background: rgba(15, 23, 40, 0.85);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: var(--surface-hover);
  border-color: var(--border-cyan);
  color: #ffffff;
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--border-strong);
  color: #ffffff;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  position: relative;
  padding: 76px 0 84px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 65% 55% at 75% 20%, rgba(0, 180, 255, 0.14), transparent 70%),
    radial-gradient(ellipse 50% 45% at 15% 80%, rgba(16, 185, 129, 0.06), transparent 70%),
    linear-gradient(180deg, #05080f 0%, #080e1a 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  margin: 20px 0 18px;
  font-size: clamp(2.25rem, 4.1vw, 3.45rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 750;
  color: #ffffff;
}

.hero h1 .accent {
  background: linear-gradient(90deg, #38c9ff 0%, #00b4ff 55%, #6ee7b7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 0 28px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.metric-item .metric-value {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.metric-item .metric-label {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 2px;
}

/* Tactical Visualization Frame */
.tactical-card {
  position: relative;
  background: rgba(10, 16, 29, 0.9);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 180, 255, 0.08);
}

.tactical-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(15, 23, 40, 0.95);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
}

.tactical-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--emerald-dim);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.tactical-canvas-wrap {
  position: relative;
  aspect-ratio: 16 / 11;
  width: 100%;
  background: #060b14;
}

.tactical-canvas-wrap canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.tactical-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 12px 16px;
  background: rgba(8, 13, 24, 0.95);
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.tactical-stat span {
  display: block;
  color: var(--muted);
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tactical-stat strong {
  color: var(--text);
  font-weight: 600;
}

.tactical-stat strong.cyan {
  color: var(--cyan-bright);
}

.tactical-stat strong.warn {
  color: #fbbf24;
}

/* ==========================================================================
   Content Sections
   ========================================================================== */

.section {
  padding: 88px 0;
  border-bottom: 1px solid var(--border);
}

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

.section-header {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-header h2 {
  margin: 14px 0 12px;
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.section-header p {
  margin: 0;
  font-size: 1.03rem;
  color: var(--muted);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.card:hover {
  border-color: var(--border-cyan);
  background: var(--surface-hover);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cyan-dim);
  border: 1px solid rgba(0, 180, 255, 0.26);
  color: var(--cyan-bright);
  margin-bottom: 18px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  color: #ffffff;
}

.card p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--muted);
}

.spec-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.spec-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 4px 9px;
  border-radius: 6px;
  background: rgba(5, 8, 15, 0.65);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

/* Mission Split Panel */
.mission-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: start;
}

.mission-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 14px;
}

.mission-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-secondary);
  font-size: 0.96rem;
}

.mission-list .check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cyan-dim);
  color: var(--cyan-bright);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  font-size: 0.78rem;
  font-weight: 700;
}

.threat-box {
  background: linear-gradient(180deg, rgba(15, 23, 40, 0.95) 0%, rgba(10, 16, 29, 0.95) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.threat-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  gap: 16px;
}

.threat-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.threat-row .label {
  font-weight: 600;
  color: #ffffff;
  font-size: 0.95rem;
}

.threat-row .desc {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 4px;
}

.threat-pill {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 180, 255, 0.12);
  color: var(--cyan-bright);
  border: 1px solid rgba(0, 180, 255, 0.25);
}

/* Step Cards */
.step-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cyan-bright);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

/* CTA Banner */
.cta-banner {
  background:
    radial-gradient(ellipse 80% 100% at 85% 50%, rgba(0, 180, 255, 0.16), transparent 65%),
    var(--surface);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-banner h2 {
  margin: 10px 0 10px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: #ffffff;
}

.cta-banner p {
  margin: 0;
  color: var(--text-secondary);
  max-width: 600px;
}

/* ==========================================================================
   Page Header (Subpages: NDA, Terms, Privacy)
   ========================================================================== */

.page-hero {
  padding: 56px 0 42px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 60% 80% at 80% 0%, rgba(0, 180, 255, 0.12), transparent 65%),
    var(--bg-elevated);
}

.page-hero h1 {
  margin: 14px 0 10px;
  font-size: clamp(1.9rem, 3.2vw, 2.65rem);
  letter-spacing: -0.02em;
  color: #ffffff;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 700px;
  font-size: 1.02rem;
}

.doc-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
}

/* ==========================================================================
   Legal Document Layout (Terms & Privacy)
   ========================================================================== */

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 44px;
  padding: 56px 0 88px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 96px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.legal-toc h2 {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.legal-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.legal-toc a {
  font-size: 0.87rem;
  color: var(--text-secondary);
  display: block;
  padding: 3px 0;
}

.legal-toc a:hover {
  color: var(--cyan-bright);
}

.legal-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
}

.legal-content section {
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 96px;
}

.legal-content section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-content h2 {
  margin: 0 0 12px;
  font-size: 1.32rem;
  color: #ffffff;
}

.legal-content h3 {
  margin: 18px 0 8px;
  font-size: 1.02rem;
  color: var(--text);
}

.legal-content p,
.legal-content li {
  color: var(--text-secondary);
  font-size: 0.96rem;
}

.legal-content ul {
  padding-left: 20px;
}

.legal-callout {
  background: rgba(0, 180, 255, 0.08);
  border-left: 3px solid var(--cyan);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 18px 0;
  font-size: 0.93rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   NDA Signing Page
   ========================================================================== */

.nda-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 32px;
  padding: 48px 0 84px;
  align-items: start;
}

.nda-document-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.nda-doc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: rgba(8, 13, 24, 0.95);
  border-bottom: 1px solid var(--border);
  gap: 12px;
}

.nda-doc-scroll {
  max-height: 680px;
  overflow-y: auto;
  padding: 28px 30px;
  font-size: 0.93rem;
  color: var(--text-secondary);
}

.nda-doc-scroll h3 {
  color: #ffffff;
  font-size: 1.02rem;
  margin: 22px 0 8px;
}

.nda-doc-scroll h3:first-child {
  margin-top: 0;
}

.nda-doc-scroll p {
  margin: 0 0 12px;
}

.nda-doc-scroll ul {
  margin: 0 0 12px;
  padding-left: 20px;
}

.nda-form-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: 92px;
}

.nda-form-card h2 {
  margin: 0 0 6px;
  font-size: 1.32rem;
  color: #ffffff;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: #070c17;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  padding: 10px 12px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 180, 255, 0.16);
}

.field textarea {
  resize: vertical;
  min-height: 70px;
}

/* Signature Pad */
.sig-tabs {
  display: inline-flex;
  background: #070c17;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 3px;
  margin-bottom: 10px;
}

.sig-tab {
  background: transparent;
  border: none;
  color: var(--muted);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.sig-tab.active {
  background: var(--cyan-dim);
  color: var(--cyan-bright);
}

.sig-pad-wrap {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 150px;
  touch-action: none;
}

.sig-pad-wrap canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: crosshair;
}

.sig-pad-hint {
  position: absolute;
  bottom: 8px;
  left: 12px;
  right: 12px;
  border-top: 1px dashed #cbd5e1;
  padding-top: 4px;
  font-size: 0.72rem;
  color: #64748b;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
}

.sig-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  gap: 10px;
}

.typed-sig-wrap {
  margin-bottom: 10px;
}

.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.84rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.checkbox-row input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--cyan);
  flex-shrink: 0;
}

.alert-box {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  margin-top: 14px;
  display: none;
}

.alert-box.show {
  display: block;
}

.alert-error {
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.alert-success {
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}

/* Executed NDA Receipt */
.receipt-panel {
  display: none;
  background: var(--surface);
  border: 1px solid rgba(16, 185, 129, 0.45);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 32px;
}

.receipt-panel.show {
  display: block;
}

.receipt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0;
  padding: 18px;
  background: rgba(5, 8, 15, 0.55);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.receipt-field span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-family: var(--font-mono);
}

.receipt-field strong {
  color: #ffffff;
  font-size: 0.94rem;
  word-break: break-word;
}

.receipt-sig-preview {
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  max-width: 340px;
  margin-top: 8px;
}

.receipt-sig-preview img {
  max-height: 76px;
  width: auto;
}

.verify-box {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.verify-row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.verify-row input {
  flex: 1;
  background: #070c17;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: #ffffff;
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 0.86rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: #04070d;
  border-top: 1px solid var(--border);
  padding: 56px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 340px;
  margin: 14px 0 0;
}

.footer-col h4 {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-col a:hover {
  color: var(--cyan-bright);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 24px;
  font-size: 0.83rem;
  color: var(--muted);
}

.print-only {
  display: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
  .hero-grid,
  .mission-split,
  .nda-layout,
  .legal-layout,
  .grid-3,
  .grid-4,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .legal-toc,
  .nda-form-card {
    position: static;
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 26px;
  }
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px 24px;
    background: rgba(5, 8, 15, 0.98);
    border-bottom: 1px solid var(--border-strong);
    gap: 14px;
  }

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

  .menu-toggle {
    display: inline-flex;
  }

  .grid-2,
  .form-grid,
  .receipt-grid,
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .legal-content {
    padding: 26px 22px;
  }
}

/* ==========================================================================
   Print Stylesheet (Clean White-Paper Executed NDA Export)
   ========================================================================== */

@media print {
  body {
    background: #ffffff !important;
    color: #111827 !important;
    font-size: 11pt;
  }

  .site-header,
  .site-footer,
  .page-hero,
  .nda-form-card,
  .verify-box,
  .no-print {
    display: none !important;
  }

  .print-only {
    display: block !important;
  }

  .nda-layout {
    display: block !important;
    padding: 0 !important;
  }

  .nda-document-card,
  .receipt-panel {
    background: #ffffff !important;
    border: none !important;
    color: #111827 !important;
    padding: 0 !important;
  }

  .nda-doc-scroll {
    max-height: none !important;
    overflow: visible !important;
    padding: 0 !important;
    color: #1f2937 !important;
  }

  .nda-doc-scroll h3,
  .receipt-panel h2,
  .receipt-field strong {
    color: #0f172a !important;
  }

  .receipt-grid {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
  }

  .nda-doc-header {
    background: transparent !important;
    border-bottom: 2px solid #0f172a !important;
    padding: 0 0 12px 0 !important;
    margin-bottom: 16px !important;
  }
}
