/* ============================================================
   KORVA SENTINEL · SHARED STYLESHEET
   v1.0  ·  loaded by every page on the marketing surface
   Change a token here → every page updates.
   ============================================================ */

/* ============================================
   1 · TOKENS  (the only place colors/fonts live)
   ============================================ */
:root {
  /* —— PALETTE —— */
  --obsidian:    #05091B;
  --obsidian-2:  #080E27;
  --obsidian-3:  #0E1638;
  --obsidian-4:  #111C42;
  --royal:       #123B8F;
  --royal-2:     #1B4FB0;
  --signal:      #0AA6C2;
  --signal-2:    #14C4DD;
  --gold:        #C9A24D;
  --gold-2:      #E0BB6B;
  --gold-dim:    rgba(201, 162, 77, 0.15);
  --white:       #F7F8FF;
  --danger:      #E84545;
  --ok:          #22C77F;

  /* —— SEMANTIC —— */
  --bg:     var(--obsidian);
  --text:   var(--white);
  --text-2: rgba(247, 248, 255, 0.70);
  --text-3: rgba(247, 248, 255, 0.42);
  --text-4: rgba(247, 248, 255, 0.22);
  --line:   rgba(247, 248, 255, 0.07);
  --line-2: rgba(247, 248, 255, 0.13);

  /* —— TYPOGRAPHY —— */
  /* Change --display here to swap headline font sitewide */
  --display: 'Outfit', system-ui, sans-serif;
  --body:    'Manrope', system-ui, sans-serif;
  --mono:    'JetBrains Mono', 'Courier New', monospace;

  /* —— LAYOUT —— */
  --max:    1320px;
  --max-narrow: 840px;
  --gutter: clamp(20px, 4vw, 48px);

  /* —— FORM TOKENS —— */
  --field-bg:     rgba(14, 22, 56, 0.80);
  --field-border: rgba(247, 248, 255, 0.13);
  --field-hover:  rgba(247, 248, 255, 0.20);
  --field-focus:  rgba(201, 162, 77, 0.55);
  --field-radius: 10px;
  --field-pad:    14px 16px;
}

/* ============================================
   2 · RESET + BASE
   ============================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
::selection { background: var(--gold); color: var(--obsidian); }

body::before {
  content: '';
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 70% -10%, rgba(18, 59, 143, 0.30) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at -10% 110%, rgba(10, 166, 194, 0.10) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.wrap, .wrap-narrow {
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 1;
}
.wrap        { max-width: var(--max); }
.wrap-narrow { max-width: var(--max-narrow); }

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

/* ============================================
   3 · TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(40px, 5.8vw, 80px); font-weight: 700; }
h2 { font-size: clamp(30px, 4vw, 56px); }
h3 { font-size: clamp(20px, 2vw, 28px); }
h4 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
em { font-style: normal; color: var(--gold-2); font-weight: 700; }

.lede {
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--text-2);
  line-height: 1.65;
  font-weight: 400;
  max-width: 56ch;
}
.section-pad { padding: clamp(72px, 10vw, 140px) 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--gold); }

/* Numerical / stat display — heavy Manrope per brand kit (NOT Outfit) */
.stat-num {
  font-family: var(--body);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

/* ============================================
   4 · NAV
   ============================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5, 9, 27, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  padding: 0 var(--gutter);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  height: 60px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-inner.narrow { max-width: var(--max-narrow); }
.nav-logo {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--white);
  display: flex; align-items: center; gap: 10px;
}
.nav-logo-k { color: var(--gold); }
.nav-badge {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 3px 8px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
}

/* ============================================
   5 · BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  border: none;
  border-radius: 12px;
  padding: 14px 24px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--obsidian);
  font-weight: 700;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(201, 162, 77, 0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--line-2);
}
.btn-ghost:hover {
  border-color: var(--gold);
  background: var(--gold-dim);
}
.btn-arrow-circle {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(0,0,0,0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.btn-sm {
  padding: 6px 20px 6px 6px;
  font-size: 13px;
  gap: 10px;
}
.btn-sm .btn-arrow-circle { width: 28px; height: 28px; font-size: 12px; }

/* Submit button (full-width) */
.btn-submit {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--obsidian);
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  padding: 17px 32px;
  cursor: pointer;
  width: 100%;
  transition: all 0.2s;
}
.btn-submit:hover { transform: translateY(-1px); box-shadow: 0 8px 30px rgba(201, 162, 77, 0.35); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-submit .arrow { font-size: 20px; transition: transform 0.2s; }
.btn-submit:hover .arrow { transform: translateX(4px); }

/* ============================================
   6 · FORM PRIMITIVES
   ============================================ */
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13px; font-weight: 600; color: var(--text-2); letter-spacing: 0.01em; }
.field label .req { color: var(--gold); margin-left: 2px; }
.field .hint { font-size: 12px; color: var(--text-3); font-family: var(--mono); }

.field input[type="text"],
.field input[type="email"],
.field input[type="date"],
.field input[type="number"],
.field input[type="tel"],
.field select,
.field textarea {
  background: var(--field-bg);
  border: 1px solid var(--field-border);
  border-radius: var(--field-radius);
  padding: var(--field-pad);
  color: var(--white);
  font-family: var(--body);
  font-size: 15px;
  width: 100%;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--field-hover); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--field-focus); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-4); }
.field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9a24d' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.field select option { background: var(--obsidian-3); color: var(--white); }
.field textarea { resize: vertical; min-height: 80px; font-size: 14px; }

.field-group { display: flex; flex-direction: column; gap: 22px; }
.field-row { display: grid; gap: 16px; }
.field-row.two-col { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .field-row.two-col { grid-template-columns: 1fr; } }

/* Radio + checkbox cards */
.radio-group, .check-group { display: flex; flex-direction: column; gap: 8px; }
.radio-opt, .check-opt {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--field-border);
  border-radius: var(--field-radius);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}
.radio-opt:hover, .check-opt:hover { border-color: var(--field-hover); background: rgba(247, 248, 255, 0.02); }
.radio-opt input, .check-opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.radio-opt.selected, .check-opt.selected { border-color: var(--gold); background: var(--gold-dim); }
.custom-radio, .custom-check {
  width: 18px; height: 18px; flex-shrink: 0;
  border: 1.5px solid var(--field-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  margin-top: 1px;
}
.custom-check { border-radius: 4px; }
.radio-opt.selected .custom-radio, .check-opt.selected .custom-check { border-color: var(--gold); background: var(--gold); }
.custom-radio::after { content: ''; width: 6px; height: 6px; background: var(--obsidian); border-radius: 50%; opacity: 0; transition: opacity 0.2s; }
.radio-opt.selected .custom-radio::after { opacity: 1; }
.custom-check::after { content: '✓'; font-size: 11px; color: var(--obsidian); font-weight: 700; opacity: 0; transition: opacity 0.2s; }
.check-opt.selected .custom-check::after { opacity: 1; }
.opt-label { font-size: 14px; color: var(--text-2); line-height: 1.4; flex: 1; }
.opt-label strong { display: block; color: var(--text); font-size: 14px; margin-bottom: 1px; }
.opt-label span { font-size: 12px; color: var(--text-3); }

/* Scale buttons (1–5) */
.scale-group { display: flex; gap: 8px; }
.scale-btn {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 12px 8px;
  border: 1px solid var(--field-border);
  border-radius: var(--field-radius);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  background: transparent;
}
.scale-btn:hover { border-color: var(--field-hover); }
.scale-btn.selected { border-color: var(--gold); background: var(--gold-dim); }
.scale-num { font-family: var(--mono); font-size: 18px; font-weight: 600; color: var(--text-3); }
.scale-btn.selected .scale-num { color: var(--gold-2); }
.scale-label { font-size: 10px; color: var(--text-3); letter-spacing: 0.02em; line-height: 1.3; }
@media (max-width: 480px) { .scale-label { display: none; } }

/* Conditional reveal */
.conditional { display: none; margin-top: 14px; padding-top: 18px; border-top: 1px dashed var(--line-2); }
.conditional.show { display: block; animation: section-in 0.3s ease; }

/* ============================================
   7 · CARDS / PANELS
   ============================================ */
.panel {
  background: rgba(8, 14, 39, 0.70);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 36px);
  position: relative;
  overflow: hidden;
}
.panel-accent::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--royal), var(--signal), transparent);
  opacity: 0.5;
}

/* Form section variant */
.form-section { background: rgba(8, 14, 39, 0.70); border: 1px solid var(--line); border-radius: 16px; padding: clamp(24px, 4vw, 36px); position: relative; overflow: hidden; animation: section-in 0.5s ease backwards; }
.form-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--royal), var(--signal), transparent); opacity: 0.5; }
.form-section:nth-child(1) { animation-delay: 0.05s; }
.form-section:nth-child(2) { animation-delay: 0.10s; }
.form-section:nth-child(3) { animation-delay: 0.15s; }
.form-section:nth-child(4) { animation-delay: 0.20s; }
.form-section:nth-child(5) { animation-delay: 0.25s; }

.section-header { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.section-number { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--gold); background: var(--gold-dim); border: 1px solid rgba(201, 162, 77, 0.25); border-radius: 6px; padding: 5px 10px; white-space: nowrap; flex-shrink: 0; margin-top: 2px; }
.section-title { font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.section-desc { font-size: 13px; color: var(--text-3); margin-top: 4px; line-height: 1.5; }

/* ============================================
   8 · STATUS BANNERS
   ============================================ */
.status-banner {
  display: flex; align-items: center; gap: 14px;
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 48px;
}
.status-banner.ok { background: rgba(34, 199, 127, 0.08); border: 1px solid rgba(34, 199, 127, 0.22); }
.status-banner.warn { background: rgba(232, 69, 69, 0.08); border: 1px solid rgba(232, 69, 69, 0.22); }
.status-icon { width: 32px; height: 32px; flex-shrink: 0; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; }
.status-icon.ok { background: rgba(34, 199, 127, 0.15); color: var(--ok); }
.status-icon.warn { background: rgba(232, 69, 69, 0.15); color: var(--danger); }
.status-text strong { font-size: 15px; display: block; margin-bottom: 2px; }
.status-text strong.ok { color: var(--ok); }
.status-text p { font-size: 13px; color: var(--text-2); }

/* ============================================
   9 · PROGRESS TRACKER
   ============================================ */
.progress { margin-bottom: 48px; }
.progress-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; display: flex; justify-content: space-between; }
.progress-track { display: flex; gap: 6px; }
.progress-step { flex: 1; height: 3px; border-radius: 999px; background: var(--line-2); transition: background 0.3s; }
.progress-step.active { background: var(--gold); }
.progress-step.done { background: rgba(34, 199, 127, 0.55); }

/* ============================================
   10 · ANIMATIONS
   ============================================ */
@keyframes section-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pop-in {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* ============================================
   11 · UTILS
   ============================================ */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.text-2 { color: var(--text-2); }
.text-3 { color: var(--text-3); }
.gold-text { color: var(--gold-2); }

/* ============================================
   12 · BRAND LOCKUP (nav full variant)
   ============================================ */
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-logo {
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.brand-product {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--white);
  line-height: 1;
}
.brand-k    { color: var(--gold); }
.brand-orva { color: var(--white); }
.brand-sentinel { color: var(--signal); letter-spacing: 0.02em; }
.brand-parent {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  line-height: 1;
}

/* Nav links (subscription-tiers page) */
.nav-links { display: flex; list-style: none; gap: 28px; align-items: center; }
.nav-links a { font-family: var(--display); font-size: 14px; font-weight: 500; color: var(--text-2); transition: color 0.15s; text-decoration: none; }
.nav-links a:hover { color: var(--white); }
.nav-cta .btn { padding: 10px 18px; font-size: 13px; }
@media (max-width: 880px) { .nav-links { display: none; } }

/* ============================================
   13 · POLICY PAGES
   ============================================ */

/* Page wrapper */
.policy-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(24px, 3vw, 40px) var(--gutter) 100px;
  position: relative;
  z-index: 1;
}

/* Two-column grid: TOC sidebar + body */
.policy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 900px) {
  .policy-grid {
    grid-template-columns: 220px 1fr;
    gap: 60px;
    align-items: flex-start;
  }
}

/* Page header */
.policy-header { margin-bottom: 32px; }
.policy-header h1 {
  font-size: clamp(32px, 5vw, 56px);
  margin: 12px 0 12px;
  line-height: 1.05;
}
.policy-header h1 em { font-style: normal; color: var(--gold-2); }
.policy-header .lede {
  font-size: 17px;
  color: var(--text-2);
  max-width: 58ch;
  line-height: 1.65;
  margin-top: 8px;
  font-weight: 400;
}

/* Meta row (effective date / version / contact) */
.meta-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.meta-item {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  color: var(--text-3);
  text-transform: uppercase;
}
.meta-item strong {
  color: var(--text-2);
  display: block;
  font-weight: 600;
  margin-top: 2px;
  letter-spacing: 0.06em;
}

/* Top callout (security page summary) */
.policy-top-callout {
  background: rgba(201, 162, 77, 0.06);
  border: 1px solid rgba(201, 162, 77, 0.22);
  border-left: 3px solid var(--gold);
  border-radius: 10px;
  padding: 18px 22px;
  margin-bottom: 40px;
}
.policy-top-callout p { margin: 0; font-size: 14px; color: var(--text-2); line-height: 1.6; }
.policy-top-callout strong { color: var(--gold-2); }

/* TOC sidebar */
.toc { position: sticky; top: 80px; }
.toc-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.toc li { counter-increment: toc; margin-bottom: 10px; }
.toc a {
  display: block;
  font-size: 13px;
  color: var(--text-2);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.15s;
  line-height: 1.4;
}
.toc a::before {
  content: counter(toc, decimal-leading-zero) " · ";
  font-family: var(--mono);
  color: var(--text-4);
  margin-right: 4px;
}
.toc a:hover { color: var(--gold-2); }

/* Policy body */
.policy-body { max-width: 70ch; }

/* Individual sections */
.policy-section {
  margin-bottom: 44px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.policy-section:last-of-type { border-bottom: none; }
.policy-section h2 {
  font-family: var(--display);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
  display: flex;
  align-items: baseline;
  gap: 16px;
  scroll-margin-top: 90px;
}
.policy-section h2 .num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.12em;
  flex-shrink: 0;
}
.policy-section h3 {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  color: var(--gold-2);
  margin: 22px 0 10px;
  letter-spacing: -0.01em;
}
.policy-section p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 14px;
}
.policy-section ul { margin: 12px 0 18px; padding-left: 4px; }
.policy-section li {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 8px;
  padding-left: 22px;
  position: relative;
}
.policy-section li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 10px; height: 1px;
  background: var(--gold);
}
.policy-section strong { color: var(--white); font-weight: 600; }
.policy-section a { color: var(--signal-2); text-decoration: none; }
.policy-section a:hover { text-decoration: underline; }

/* Callout variants */
.callout {
  border-radius: 10px;
  padding: 18px 22px;
  margin: 20px 0;
}
.callout p { margin: 0; font-size: 14px; color: var(--text-2); line-height: 1.6; }
.callout p + p { margin-top: 10px; }
.callout strong { color: var(--gold-2); }
.callout ul { margin: 10px 0 0; padding-left: 4px; }
.callout li {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.5;
  margin-bottom: 6px;
  padding-left: 18px;
  position: relative;
}
.callout li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 1px;
  background: var(--gold);
}

/* Gold callout (default) */
.callout-gold {
  background: rgba(201, 162, 77, 0.06);
  border: 1px solid rgba(201, 162, 77, 0.22);
  border-left: 3px solid var(--gold);
}
.callout-gold strong { color: var(--gold-2); }

/* Teal / signal callout */
.callout-signal {
  background: rgba(10, 166, 194, 0.06);
  border: 1px solid rgba(10, 166, 194, 0.20);
  border-left: 3px solid var(--signal);
}
.callout-signal strong { color: var(--signal-2); }
.callout-signal li::before { background: var(--signal); }

/* Green / ok callout */
.callout-ok {
  background: rgba(34, 199, 127, 0.06);
  border: 1px solid rgba(34, 199, 127, 0.20);
  border-left: 3px solid var(--ok);
}
.callout-ok strong { color: var(--ok); }
.callout-ok li::before { background: var(--ok); }

/* Tables — policy pages */
.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  background: rgba(8, 14, 39, 0.50);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.policy-table th {
  background: rgba(14, 22, 56, 0.80);
  padding: 12px 16px;
  text-align: left;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.policy-table td {
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-2);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.5;
}
.policy-table tr:last-child td { border-bottom: none; }
.policy-table .pname { color: var(--white); font-weight: 600; }
.policy-table .pcert {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--signal-2);
  letter-spacing: 0.06em;
}

/* Status badges (security certifications) */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.status-active {
  background: rgba(34, 199, 127, 0.12);
  border: 1px solid rgba(34, 199, 127, 0.30);
  color: var(--ok);
}
.status-active::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--ok);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--ok);
}
.status-planned {
  background: rgba(201, 162, 77, 0.10);
  border: 1px solid rgba(201, 162, 77, 0.25);
  color: var(--gold-2);
}
.status-planned::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold-2);
  border-radius: 50%;
}

/* Cert status rows */
.cert-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(8, 14, 39, 0.50);
  border: 1px solid var(--line);
  border-radius: 8px;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.cert-row:last-child { margin-bottom: 0; }
.cert-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  color: var(--white);
  margin-bottom: 3px;
}
.cert-desc { font-size: 13px; color: var(--text-3); }

/* Policy footer cross-links */
.policy-footer {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.policy-footer a {
  color: var(--gold);
  text-decoration: none;
  font-size: 13px;
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  transition: all 0.15s;
}
.policy-footer a:hover {
  border-color: var(--gold);
  background: var(--gold-dim);
}
