/* ==========================================================================
   PRCI — Public Relations & Communications Intelligence
   Design System derived from official PRCI Brand Kit
   Teal #22C1B6 · Cyan #0EA5A6 · Blue #1E6FB3 · Navy #0B2F6B
   ========================================================================== */

:root {
  --teal: #22c1b6;
  --cyan: #0ea5a6;
  --blue: #1e6fb3;
  --navy: #0b2f6b;

  --bg-dark: #050e1d;
  --bg-dark-2: #081529;
  --bg-dark-card: #0c1d36;
  --bg-dark-card-2: #102544;
  --border-dark: rgba(154, 187, 222, 0.14);
  --border-dark-strong: rgba(34, 193, 182, 0.32);

  --bg-light: #f6f9fb;
  --bg-white: #ffffff;
  --border-light: #dce6ef;
  --border-light-strong: #c2d4e4;

  --ink: #071529;
  --ink-muted: #4b6078;
  --ink-subtle: #647b94;
  --ink-dark: #f2f7fb;
  --ink-dark-muted: #93acc6;
  --ink-dark-subtle: #6f8aa8;

  --amber: #f59e0b;
  --amber-text: #fbbf24;
  --amber-bg: rgba(245, 158, 11, 0.14);
  --green: #10b981;
  --green-bg: rgba(16, 185, 129, 0.14);
  --red: #ef4444;
  --red-bg: rgba(239, 68, 68, 0.14);

  --font-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max-w: 1200px;
}

html[dir="rtl"] {
  --font-display: "IBM Plex Sans Arabic", "Geeza Pro", "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans Arabic", "Geeza Pro", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--bg-dark);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -100px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--teal);
  color: var(--bg-dark);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 16px;
}

.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

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

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 14, 29, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-dark);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.site-nav.scrolled {
  background: rgba(5, 14, 29, 0.94);
  border-bottom-color: rgba(154, 187, 222, 0.2);
}

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

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

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-dark-muted);
  position: relative;
  padding-block: 4px;
  transition: color 0.2s var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -2px;
  height: 1.5px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: start;
  transition: transform 0.24s var(--ease);
}

.nav-links a:hover {
  color: var(--ink-dark);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

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

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding-inline: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink-dark);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.15s var(--ease);
}

.lang-toggle:hover {
  border-color: var(--border-dark-strong);
  background: rgba(34, 193, 182, 0.08);
}

.lang-toggle:active {
  transform: scale(0.97);
}

.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-dark);
  background: transparent;
  color: var(--ink-dark);
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  border-top: 1px solid var(--border-dark);
  background: var(--bg-dark-2);
  padding: 20px 24px 28px;
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer nav {
  display: grid;
  gap: 14px;
}

.mobile-drawer a {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-dark);
  padding-block: 6px;
}

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

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

.btn:active {
  transform: scale(0.98);
}

.btn-sm {
  height: 38px;
  padding-inline: 16px;
  font-size: 13.5px;
}

.btn-lg {
  height: 48px;
  padding-inline: 24px;
  font-size: 15px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal) 0%, var(--cyan) 55%, var(--blue) 100%);
  color: #03121e;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.22) inset, 0 8px 24px -8px rgba(34, 193, 182, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.28) inset, 0 12px 28px -8px rgba(34, 193, 182, 0.58);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-dark);
  color: var(--ink-dark);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(154, 187, 222, 0.34);
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--ink);
  color: #ffffff;
}

.btn-dark:hover {
  background: var(--navy);
  transform: translateY(-1px);
}

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

.hero {
  position: relative;
  background: var(--bg-dark);
  color: var(--ink-dark);
  padding-block: clamp(52px, 7vh, 84px) clamp(64px, 8vh, 96px);
  overflow: hidden;
  border-bottom: 1px solid var(--border-dark);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.45;
}

.hero-glow {
  position: absolute;
  inset-inline-end: -140px;
  top: -160px;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 111, 179, 0.22) 0%, rgba(14, 165, 166, 0.08) 42%, transparent 72%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.08fr);
  gap: clamp(32px, 4.5vw, 60px);
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 22px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  width: fit-content;
}

html[dir="rtl"] .eyebrow {
  letter-spacing: 0;
  text-transform: none;
  font-size: 13.5px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(34, 193, 182, 0.16);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.1vw, 54px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0;
  color: #ffffff;
  text-wrap: balance;
}

html[dir="rtl"] .hero h1 {
  letter-spacing: 0;
  line-height: 1.24;
  font-size: clamp(32px, 3.8vw, 48px);
}

.hero-sub {
  margin: 0;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.68;
  color: var(--ink-dark-muted);
  max-width: 54ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 4px;
}

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

.metric-item {
  display: grid;
  gap: 3px;
}

.metric-val {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

html[dir="rtl"] .metric-val {
  letter-spacing: 0;
}

.metric-label {
  font-size: 12.5px;
  color: var(--ink-dark-muted);
  line-height: 1.4;
}

/* ==========================================================================
   Hero Live Product Command Surface
   ========================================================================== */

.command-shell {
  background: rgba(10, 24, 46, 0.9);
  border: 1px solid rgba(154, 187, 222, 0.2);
  border-radius: var(--radius-xl);
  box-shadow: 0 28px 70px -24px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(34, 193, 182, 0.08) inset;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.command-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
  background: rgba(5, 14, 29, 0.85);
  border-bottom: 1px solid var(--border-dark);
}

.command-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.command-dots {
  display: flex;
  gap: 6px;
}

.command-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(154, 187, 222, 0.26);
}

.command-dots span:first-child {
  background: var(--teal);
}

.command-brand {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-dark);
}

.command-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--teal);
  background: rgba(34, 193, 182, 0.1);
  border: 1px solid rgba(34, 193, 182, 0.24);
  padding: 3px 9px;
  border-radius: 999px;
}

.command-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 8px 12px;
  background: rgba(7, 19, 38, 0.75);
  border-bottom: 1px solid var(--border-dark);
}

.command-tab {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-dark-muted);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.command-tab:hover {
  color: var(--ink-dark);
  background: rgba(255, 255, 255, 0.04);
}

.command-tab[aria-selected="true"] {
  background: rgba(34, 193, 182, 0.12);
  border-color: rgba(34, 193, 182, 0.34);
  color: #ffffff;
}

.command-body {
  padding: 18px;
  min-height: 392px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.command-panel {
  display: none;
  gap: 12px;
}

.command-panel.active {
  display: grid;
  animation: panelFade 0.28s var(--ease);
}

@keyframes panelFade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.panel-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-dark-muted);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-dark);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 6px;
}

.pill-teal {
  color: var(--teal);
  background: rgba(34, 193, 182, 0.12);
}

.pill-amber {
  color: var(--amber-text);
  background: var(--amber-bg);
}

.pill-blue {
  color: #7cc4ff;
  background: rgba(30, 111, 179, 0.22);
}

.signal-card {
  background: rgba(5, 14, 29, 0.68);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 14px 15px;
  display: grid;
  gap: 7px;
}

.signal-card-amber {
  border-color: rgba(245, 158, 11, 0.38);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.07) 0%, rgba(5, 14, 29, 0.72) 100%);
}

.signal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.signal-title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.45;
}

.signal-line {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-dark-muted);
}

.signal-line strong {
  color: var(--ink-dark);
  font-weight: 600;
}

.signal-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 4px;
  font-size: 11.5px;
  color: var(--ink-dark-subtle);
}

.triage-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding-top: 6px;
}

.triage-btn {
  appearance: none;
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink-dark);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s var(--ease);
}

.triage-btn:hover {
  border-color: var(--teal);
  background: rgba(34, 193, 182, 0.1);
}

.triage-btn.selected {
  background: var(--teal);
  border-color: var(--teal);
  color: #03121e;
}

.triage-feedback {
  font-size: 12px;
  color: var(--teal);
  min-height: 18px;
}

.brain-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(5, 14, 29, 0.65);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
}

.auth-badge {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 5px;
  background: rgba(34, 193, 182, 0.14);
  color: var(--teal);
}

.brain-name {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
}

.brain-desc {
  font-size: 12px;
  color: var(--ink-dark-muted);
}

.command-disclaimer {
  font-size: 11.5px;
  color: var(--ink-dark-subtle);
  border-top: 1px solid var(--border-dark);
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ==========================================================================
   Sections (Alternating Light Editorial & Deep Institutional Navy)
   ========================================================================== */

.section {
  padding-block: clamp(72px, 9vh, 112px);
}

.section-light {
  background: var(--bg-light);
  color: var(--ink);
  border-bottom: 1px solid var(--border-light);
}

.section-white {
  background: var(--bg-white);
  color: var(--ink);
  border-bottom: 1px solid var(--border-light);
}

.section-dark {
  background: var(--bg-dark);
  color: var(--ink-dark);
  border-bottom: 1px solid var(--border-dark);
}

.section-head {
  display: grid;
  gap: 12px;
  max-width: 720px;
  margin-bottom: clamp(36px, 5vh, 56px);
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

html[dir="rtl"] .section-head h2 {
  letter-spacing: 0;
  line-height: 1.3;
}

.section-head p {
  margin: 0;
  font-size: 17px;
  line-height: 1.68;
  color: var(--ink-muted);
}

.section-dark .section-head p {
  color: var(--ink-dark-muted);
}

.section-eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
}

html[dir="rtl"] .section-eyebrow {
  letter-spacing: 0;
  text-transform: none;
  font-size: 14px;
}

.section-dark .section-eyebrow {
  color: var(--teal);
}

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

.problem-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--navy);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  display: grid;
  gap: 12px;
  align-content: start;
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease), border-color 0.24s var(--ease);
}

.problem-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -22px rgba(7, 21, 41, 0.25);
  border-top-color: var(--cyan);
}

.problem-num {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--cyan);
}

.problem-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}

.problem-card p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.65;
}

/* Capabilities Grid */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.cap-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: grid;
  gap: 14px;
  align-content: start;
  transition: transform 0.24s var(--ease), border-color 0.24s var(--ease), background 0.24s var(--ease), box-shadow 0.24s var(--ease);
}

.cap-card:hover {
  transform: translateY(-2px);
  background: var(--bg-white);
  border-color: var(--cyan);
  box-shadow: 0 18px 38px -24px rgba(11, 47, 107, 0.22);
}

.cap-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(14, 165, 166, 0.1);
  border: 1px solid rgba(14, 165, 166, 0.22);
  color: var(--navy);
  display: grid;
  place-items: center;
}

.cap-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}

.cap-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-muted);
  line-height: 1.65;
}

.cap-tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--cyan);
  font-weight: 600;
  padding-top: 6px;
  border-top: 1px solid var(--border-light);
}

/* Architecture Pipeline (Dark Band) */
.pipeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  position: relative;
  margin-bottom: 44px;
}

.pipe-step {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  display: grid;
  gap: 10px;
  align-content: start;
  position: relative;
  transition: border-color 0.24s var(--ease), transform 0.24s var(--ease);
}

.pipe-step:hover {
  border-color: var(--border-dark-strong);
  transform: translateY(-2px);
}

.pipe-index {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--teal);
  font-weight: 600;
}

.pipe-step h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
}

.pipe-step p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-dark-muted);
  line-height: 1.55;
}

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

.gov-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.gov-card h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  color: #ffffff;
}

.gov-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-dark-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Access & Pilot Request Section
   ========================================================================== */

.access-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.access-info {
  display: grid;
  gap: 24px;
}

.access-info h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--ink);
}

html[dir="rtl"] .access-info h2 {
  letter-spacing: 0;
  line-height: 1.32;
}

.access-info > p {
  margin: 0;
  font-size: 16.5px;
  color: var(--ink-muted);
  line-height: 1.7;
}

.timeline-list {
  display: grid;
  gap: 16px;
  padding: 22px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
}

.timeline-item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.timeline-step {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(14, 165, 166, 0.12);
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.timeline-item h4 {
  margin: 0 0 3px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.timeline-item p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.55;
}

.direct-contact {
  display: grid;
  gap: 8px;
  padding-top: 8px;
  font-size: 14.5px;
  color: var(--ink-muted);
}

.direct-contact a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.direct-contact a:hover {
  color: var(--cyan);
}

/* Form Card */
.form-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 3.5vw, 36px);
  box-shadow: 0 22px 50px -28px rgba(7, 21, 41, 0.16);
}

.form-grid {
  display: grid;
  gap: 16px;
}

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

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--border-light-strong);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--ink);
  font-size: 15px;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(14, 165, 166, 0.14);
}

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

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-muted);
  line-height: 1.5;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--cyan);
  flex-shrink: 0;
}

.checkbox-row a {
  color: var(--navy);
  text-decoration: underline;
  font-weight: 600;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.turnstile-wrap {
  min-height: 66px;
  display: flex;
  align-items: center;
}

.form-status {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  display: none;
}

.form-status.show {
  display: block;
}

.form-status.success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #065f46;
}

.form-status.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #991b1b;
}

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

.site-footer {
  background: var(--bg-dark);
  color: var(--ink-dark-muted);
  padding-block: 56px 36px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-dark);
}

.footer-brand {
  display: grid;
  gap: 14px;
  align-content: start;
}

.footer-brand img {
  height: 28px;
  width: auto;
}

.footer-brand p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  max-width: 36ch;
}

.footer-col {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-col h4 {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffffff;
}

html[dir="rtl"] .footer-col h4 {
  letter-spacing: 0;
  text-transform: none;
  font-size: 14px;
}

.footer-col a {
  font-size: 14px;
  color: var(--ink-dark-muted);
  transition: color 0.18s var(--ease);
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  font-size: 13px;
  color: var(--ink-dark-subtle);
}

/* Legal pages */
.legal-hero {
  background: var(--bg-dark);
  color: var(--ink-dark);
  padding-block: 56px 44px;
  border-bottom: 1px solid var(--border-dark);
}

.legal-hero h1 {
  margin: 10px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 42px);
  color: #ffffff;
}

.legal-body {
  background: var(--bg-white);
  color: var(--ink);
  padding-block: 56px 84px;
}

.legal-prose {
  max-width: 760px;
  display: grid;
  gap: 26px;
}

.legal-prose h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 21px;
  color: var(--ink);
}

.legal-prose p,
.legal-prose li {
  margin: 0;
  color: var(--ink-muted);
  line-height: 1.75;
}

.legal-prose ul {
  margin: 8px 0 0;
  padding-inline-start: 20px;
  display: grid;
  gap: 6px;
}

/* Reveal utility */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

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

@media (max-width: 1080px) {
  .hero-grid,
  .access-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .pipeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gov-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .nav-links,
  .nav-cta-desktop {
    display: none;
  }
  .mobile-toggle {
    display: inline-flex;
  }
  .problem-grid,
  .cap-grid,
  .pipeline,
  .gov-grid,
  .form-row-2,
  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .metric-val {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .hero-metrics {
    grid-template-columns: minmax(0, 1fr);
  }
  .command-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .command-tab {
    font-size: 11.5px;
    padding: 7px 6px;
  }
}
