/* ==========================================================================
   CyberA — site styles
   Dark theme only. Logical properties are used throughout so an Arabic
   (dir="rtl") version can reuse this stylesheet.
   ========================================================================== */

@font-face {
  font-family: "Brandmark Stencil";
  src: url("/assets/fonts/brandmark-stencil.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Syne";
  src: url("/assets/fonts/syne-var.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/plexmono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/plexmono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0c0c15;
  --navy: #11111c;
  --raise: #171724;
  --raise-2: #1e1e2e;
  --fg: #f2f2f3;
  --soft: #c9c9d1;
  --muted: #98979c;
  --cyan: #2ecbff;
  --blue: #0a7bff;
  --indigo: #3d4bf0;
  --line: rgba(242, 242, 243, 0.09);
  --line-strong: rgba(242, 242, 243, 0.16);
  --green: #3dd68c;
  --amber: #f5b544;
  --red: #ff5c6c;
  --grad: linear-gradient(120deg, #2ecbff 0%, #0a7bff 48%, #3d4bf0 100%);

  --f-display: "Brandmark Stencil", "Syne", system-ui, sans-serif;
  --f-body: "Syne", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --radius: 14px;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --band-y: clamp(64px, 9vw, 120px);
  --header-h: 84px;
  color-scheme: dark;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--soft);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--fg); }
button, input, select, textarea { font: inherit; color: inherit; }
abbr[title] { text-decoration: none; cursor: help; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  inset-block-start: -100px;
  z-index: 100;
  background: var(--fg);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { inset-block-start: 12px; color: var(--ink); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.band {
  position: relative;
  padding-block: var(--band-y);
  border-block-start: 1px solid var(--line);
}
.band--navy { background: var(--navy); }
.band--tight { padding-block: clamp(48px, 6vw, 80px); }
.band:first-of-type { border-block-start: 0; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1080px) {
  .grid-4, .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .grid-2, .grid-4, .grid-5 { grid-template-columns: minmax(0, 1fr); }
}

.section-head { max-width: 760px; margin-block-end: clamp(32px, 4vw, 52px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-block-start: 18px; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-block-end: 20px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--grad);
}
.eyebrow .k { color: var(--cyan); }

.display,
h1.display,
h2.display {
  font-family: var(--f-display);
  font-weight: 500;
  color: var(--fg);
  letter-spacing: -0.005em;
}
h1.display {
  font-size: clamp(2.6rem, 6.2vw, 5.1rem);
  line-height: 1.02;
}
h2.display {
  font-size: clamp(1.9rem, 3.8vw, 3.1rem);
  line-height: 1.08;
}
h1.display .line { display: block; }
h3, .h3 {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 1.32rem;
  line-height: 1.3;
  color: var(--fg);
}
h4 { font-weight: 600; color: var(--fg); font-size: 1.04rem; line-height: 1.4; }
.lead {
  font-size: clamp(1.06rem, 1.4vw, 1.22rem);
  line-height: 1.55;
  color: var(--soft);
  max-width: 62ch;
}
.measure { max-width: 65ch; }
.muted { color: var(--muted); }
.fg { color: var(--fg); }
.mono {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.prose p + p { margin-block-start: 1em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
/* Ink text sits on the cyan→blue half of the brand gradient to keep AA contrast. */
.btn--primary {
  background-image: var(--grad);
  background-size: 200% 100%;
  background-position: 0% 50%;
  color: var(--ink);
  box-shadow: 0 0 0 0 rgba(10, 123, 255, 0);
}
.btn--primary:hover {
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px -10px rgba(46, 203, 255, 0.55);
}
.btn--ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--cyan); color: var(--fg); background: rgba(46, 203, 255, 0.06); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 14.5px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-weight: 600;
  text-decoration: none;
}
.text-link:hover { color: var(--fg); }
.text-link .arr { transition: transform 0.2s ease; }
.text-link:hover .arr { transform: translateX(3px); }
[dir="rtl"] .text-link:hover .arr { transform: translateX(-3px) scaleX(-1); }
[dir="rtl"] .arr { display: inline-block; transform: scaleX(-1); }

/* ---------- Cards, chips ---------- */
.card {
  position: relative;
  background: var(--raise);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 2.4vw, 30px);
}
.card--hl {
  background: linear-gradient(180deg, rgba(10, 123, 255, 0.1), rgba(10, 123, 255, 0.03)), var(--raise);
  border-color: rgba(46, 203, 255, 0.55);
}
.card--flat { background: transparent; }
.card h3 + p, .card h4 + p { margin-block-start: 10px; }
.card p { color: var(--soft); }
.card .card-label { margin-block-end: 14px; display: block; color: var(--muted); }
a.card { display: block; text-decoration: none; color: inherit; transition: border-color 0.2s ease, transform 0.2s ease; }
a.card:hover { border-color: rgba(46, 203, 255, 0.5); transform: translateY(-2px); }
a.card:hover h3 { color: var(--fg); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--soft);
  padding: 6px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(242, 242, 243, 0.02);
  white-space: nowrap;
  text-decoration: none;
}
a.chip:hover { border-color: var(--cyan); color: var(--fg); }
.chip--muted { color: var(--muted); border-style: dashed; }
.chip--ok::before, .chip--warn::before, .chip--bad::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
}
.chip--ok::before { background: var(--green); }
.chip--warn::before { background: var(--amber); }
.chip--bad::before { background: var(--red); }
.chip-note { font-size: 11px; letter-spacing: 0.08em; color: var(--muted); margin-inline-start: 2px; }

.pillar-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.pillar-tag::before {
  content: "A";
  font-family: var(--f-display);
  font-size: 13px;
  letter-spacing: 0;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-inline-start: 22px; }
.ticks li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0.62em;
  width: 10px; height: 1px;
  background: var(--cyan);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(64px, 9vw, 120px) clamp(64px, 8vw, 110px);
  border-block-start: 0;
}
.hero .lead { margin-block-start: 24px; }
.hero .btn-row { margin-block-start: 34px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero-narrow { max-width: 880px; }
.glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.28;
  z-index: 0;
}
.glow--blue { width: 520px; height: 520px; background: var(--blue); inset-block-start: -180px; inset-inline-end: -120px; }
.glow--indigo { width: 440px; height: 440px; background: var(--indigo); inset-block-end: -220px; inset-inline-start: -160px; opacity: 0.2; }
.hero > .wrap { position: relative; z-index: 1; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-block-start: 40px;
  padding-block-start: 22px;
  border-block-start: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  list-style: none;
  padding-inline: 0;
}
.trust-row li + li::before { content: "·"; margin-inline-end: 18px; color: var(--line-strong); }
.facts {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-block-start: 28px; padding: 0; list-style: none;
}
.facts li {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--soft); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; background: rgba(23, 23, 36, 0.6);
}
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--soft); padding: 8px 14px; border: 1px solid rgba(46, 203, 255, 0.35);
  border-radius: 999px; background: rgba(10, 123, 255, 0.08);
}

/* Rise-in on hero elements (one gentle movement only). */
@media (prefers-reduced-motion: no-preference) {
  .rise { opacity: 0; transform: translateY(14px); animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
  .rise-2 { animation-delay: 0.08s; }
  .rise-3 { animation-delay: 0.16s; }
  .rise-4 { animation-delay: 0.24s; }
  .rise-5 { animation-delay: 0.32s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 50;
  background: rgba(12, 12, 21, 0.72);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-block-end: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
  padding-block: 6px;
}
.brand img { height: 48px; width: auto; }
.wordmark {
  font-family: var(--f-display);
  font-size: 30px;
  line-height: 1;
  color: var(--fg);
  letter-spacing: 0;
}
.wordmark .wm-a { color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 8px; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 13px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--soft);
  text-decoration: none;
  white-space: nowrap;
}
.nav-list a:hover { color: var(--fg); }
.nav-list a:not(.btn)::after {
  content: "";
  position: absolute;
  inset-inline: 13px;
  inset-block-end: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-list a[aria-current="page"] { color: var(--fg); }
.nav-list a[aria-current="page"]::after,
.nav-list a:not(.btn):hover::after { transform: scaleX(1); }
.nav-list a.btn { margin-inline-start: 10px; padding: 8px 18px; color: var(--ink); }
.nav-list a.btn[aria-current="page"] { box-shadow: 0 0 0 2px var(--ink), 0 0 0 3px var(--cyan); }
/* Reserved slot for a future AR / EN language switch. */
.lang-slot:empty { display: none; }
.menu-btn {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--fg);
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
}
.menu-btn .bars { display: grid; gap: 4px; }
.menu-btn .bars span { display: block; width: 16px; height: 1.5px; background: currentColor; transition: transform 0.2s ease, opacity 0.2s ease; }
.menu-btn[aria-expanded="true"] .bars span:nth-child(1) { transform: translateY(2.75px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars span:nth-child(2) { transform: translateY(-2.75px) rotate(-45deg); }

@media (max-width: 1179.98px) {
  .menu-btn { display: inline-flex; }
  .nav-list {
    display: none;
    position: absolute;
    inset-inline: 0;
    inset-block-start: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) 24px;
    background: rgba(12, 12, 21, 0.97);
    border-block-end: 1px solid var(--line);
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overscroll-behavior: contain;
    overflow-y: auto;
  }
  .nav-list.is-open { display: flex; }
  .nav-list li { border-block-end: 1px solid var(--line); }
  .nav-list li:last-child { border: 0; padding-block-start: 16px; }
  .nav-list a { width: 100%; min-height: 52px; padding-inline: 4px; font-size: 16px; }
  .nav-list a:not(.btn)::after { inset-inline: 4px; inset-block-end: 10px; width: 40px; }
  .nav-list a.btn { margin: 0; justify-content: center; }
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); overflow: hidden; }
.cta-band .glow--blue { inset-block-start: auto; inset-block-end: -300px; inset-inline-end: 10%; opacity: 0.18; }
.cta-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: end;
}
@media (max-width: 900px) { .cta-inner { grid-template-columns: minmax(0, 1fr); align-items: start; } }
.cta-band h2.display { font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.12; }
.cta-actions { display: grid; gap: 18px; justify-items: start; }
.copy-mail {
  display: inline-flex; align-items: center; gap: 4px;
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 4px 4px 16px;
  background: rgba(12, 12, 21, 0.5);
  max-width: 100%;
}
[dir="rtl"] .copy-mail { padding: 4px 16px 4px 4px; }
.copy-mail a { color: var(--fg); text-decoration: none; font-weight: 500; overflow-wrap: anywhere; }
.copy-mail a:hover { color: var(--cyan); }
.copy-btn {
  display: inline-flex; align-items: center; gap: 6px;
  border: 0; border-radius: 999px; padding: 8px 12px; min-height: 36px;
  background: var(--raise-2); color: var(--soft); cursor: pointer;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
}
.copy-btn:hover { color: var(--fg); background: #26263a; }
.copy-btn svg { width: 14px; height: 14px; }
.cta-note { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { border-block-start: 1px solid var(--line); padding-block: 72px 36px; background: var(--ink); }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.footer-wordmark { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.footer-wordmark img { height: 52px; width: auto; }
.footer-wordmark .wordmark { font-size: 32px; display: block; }
.footer-wordmark .tagline { display: block; font-family: var(--f-body); font-weight: 500; font-size: 13px; color: var(--soft); margin-block-start: 6px; letter-spacing: 0.01em; }
.footer-brand p { margin-block-start: 20px; max-width: 40ch; }
.footer-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-block-start: 18px; }
.footer-contact a { color: var(--fg); text-decoration: none; }
.footer-contact a:hover { color: var(--cyan); }
.icon-link { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-strong); color: var(--soft); }
.icon-link:hover { border-color: var(--cyan); color: var(--fg); }
.icon-link svg { width: 18px; height: 18px; }
.footer-col h2 { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-block-end: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--soft); text-decoration: none; }
.footer-col a:hover { color: var(--fg); }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  margin-block-start: 56px; padding-block-start: 24px; border-block-start: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}

/* ---------- Dashboard mock-up (CUP) ---------- */
.dash {
  position: relative;
  background: linear-gradient(180deg, rgba(30, 30, 46, 0.92), rgba(23, 23, 36, 0.96));
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7);
}
.dash-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 20px; border-block-end: 1px solid var(--line);
}
.dash-title { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); }
.dash-title b { color: var(--fg); font-weight: 500; }
.live { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
@media (prefers-reduced-motion: no-preference) {
  .pulse::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green);
    animation: pulse 2.4s ease-out infinite;
  }
  @keyframes pulse { 0% { transform: scale(1); opacity: 0.7; } 80%, 100% { transform: scale(3); opacity: 0; } }
}
.dash-row {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 20px;
  border-block-end: 1px solid var(--line);
}
.dash-row:last-of-type { border-block-end: 0; }
.dash-k { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.dash-v { color: var(--fg); font-weight: 600; font-size: 1.02rem; line-height: 1.35; }
.dash-v small { display: block; font-weight: 400; font-size: 13.5px; color: var(--soft); margin-block-start: 2px; }
.dash-row .chips { margin-block-start: 10px; }
.dash-row .chip { font-size: 10.5px; padding: 4px 9px; }
.ring { width: 104px; height: 104px; position: relative; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
[dir="rtl"] .ring svg { transform: rotate(-90deg) scaleY(-1); }
.ring .track { stroke: rgba(242, 242, 243, 0.08); }
.ring .meter { stroke-dasharray: 289.03; stroke-dashoffset: calc(289.03 * (1 - var(--p, 0.87))); stroke-linecap: round; }
@media (prefers-reduced-motion: no-preference) {
  .ring .meter { animation: ring-fill 1.6s 0.3s cubic-bezier(0.3, 0.7, 0.2, 1) both; }
  @keyframes ring-fill { from { stroke-dashoffset: 289.03; } }
}
.ring-val { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-val b { font-family: var(--f-display); font-weight: 500; font-size: 28px; color: var(--fg); line-height: 1; }
.ring-val span { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-block-start: 4px; }
.status { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot--ok { background: var(--green); } .dot--warn { background: var(--amber); } .dot--bad { background: var(--red); }
.up { color: var(--green); }
.spark { width: 100%; height: 56px; margin-block-start: 8px; }
.dash-foot {
  padding: 10px 20px; border-block-start: 1px solid var(--line);
  background: rgba(12, 12, 21, 0.55);
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
@media (max-width: 460px) {
  .dash-row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}

/* ---------- Home specifics ---------- */
.service-col { display: flex; flex-direction: column; gap: 16px; }
.service-col .chips { margin-block-start: auto; padding-block-start: 10px; }
.col-num { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--muted); }

.dept {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
  gap: 1px;
}
@media (max-width: 900px) { .dept { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .dept { grid-template-columns: minmax(0, 1fr); } }
.dept-cell { background: var(--raise); padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; min-height: 112px; }
.dept-cell h3 { font-size: 1.08rem; }
.dept-cell .pillar-tag { margin-block-start: auto; }

.a-card { display: flex; flex-direction: column; gap: 12px; }
.big-a {
  font-family: var(--f-display);
  font-size: 64px;
  line-height: 0.9;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  width: max-content;
}
.a-card h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.6rem; letter-spacing: 0; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.split--center { align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }

.link-card { display: flex; flex-direction: column; gap: 10px; min-height: 100%; }
.link-card .text-link { margin-block-start: auto; padding-block-start: 12px; }

/* ---------- 4A page ---------- */
.compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
@media (max-width: 900px) { .compare { grid-template-columns: minmax(0, 1fr); } }
.compare h3 { margin-block-end: 6px; }
.reg-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-block-start: 20px; }
@media (max-width: 460px) { .reg-stack { grid-template-columns: minmax(0, 1fr); } }
.reg {
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: rgba(12, 12, 21, 0.5);
}
.reg b { display: block; color: var(--fg); font-weight: 600; font-size: 14.5px; }
.reg span { display: block; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-block-start: 6px; }
.hub { margin-block-start: 20px; display: grid; gap: 14px; justify-items: center; }
.hub-core {
  width: 100%; text-align: center; border: 1px solid rgba(46, 203, 255, 0.55); border-radius: 12px; padding: 14px;
  background: rgba(10, 123, 255, 0.1);
}
.hub-core b { color: var(--fg); display: block; }
.hub-core span { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--soft); }
.hub-lines { width: 100%; height: 34px; }
.hub-regs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; width: 100%; }
@media (max-width: 460px) { .hub-regs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hub-lines { display: none; } }
.hub-regs .reg { text-align: center; padding: 10px 6px; }
.hub-regs .reg b { font-size: 13px; }

.pillar-band .pillar-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .pillar-band .pillar-grid { grid-template-columns: minmax(0, 1fr); } }
.pillar-name { font-family: var(--f-display); font-weight: 500; font-size: clamp(3rem, 8vw, 6.2rem); line-height: 0.95; color: var(--fg); }
.pillar-name .a { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pillar-promise { margin-block-start: 18px; font-size: 1.2rem; color: var(--fg); font-weight: 500; }
.pillar-num { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--muted); margin-block-end: 14px; display: block; }
.covers { margin-block-start: 28px; padding-block-start: 22px; border-block-start: 1px solid var(--line); }
.covers h3 { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-block-end: 14px; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .stats { grid-template-columns: minmax(0, 1fr); } }
.stat { padding: 32px 24px; border-inline-start: 1px solid var(--line); }
.stat:first-child { border-inline-start: 0; }
@media (max-width: 900px) { .stat:nth-child(3) { border-inline-start: 0; } .stat:nth-child(n+3) { border-block-start: 1px solid var(--line); } }
@media (max-width: 420px) { .stat { border-inline-start: 0 !important; } .stat + .stat { border-block-start: 1px solid var(--line); } }
.stat b { display: block; font-family: var(--f-display); font-weight: 500; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; color: var(--fg); }
.stat span { display: block; margin-block-start: 12px; color: var(--soft); }

.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .tiers { grid-template-columns: minmax(0, 1fr); } }
.tier-level { display: flex; gap: 5px; margin-block-end: 18px; }
.tier-level i { width: 28px; height: 4px; border-radius: 2px; background: rgba(242, 242, 243, 0.1); }
.tier-level i.on { background: var(--grad); }
.note {
  margin-block-start: 24px; padding: 14px 18px; border-inline-start: 2px solid var(--cyan);
  background: rgba(46, 203, 255, 0.05); border-radius: 0 10px 10px 0; color: var(--soft); max-width: 72ch;
}
[dir="rtl"] .note { border-radius: 10px 0 0 10px; }
.fw-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 720px) { .fw-groups { grid-template-columns: minmax(0, 1fr); } }
.fw-group h3 { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-block-end: 14px; }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-block-start: 1px solid var(--line); }
@media (max-width: 900px) { .principles { grid-template-columns: minmax(0, 1fr); } }
.principle { padding: 28px 28px 8px 0; }
.principle + .principle { padding-inline-start: 28px; border-inline-start: 1px solid var(--line); }
@media (max-width: 900px) { .principle + .principle { border-inline-start: 0; padding-inline-start: 0; border-block-start: 1px solid var(--line); } .principle { padding-block-end: 28px; } }
.principle .mono { color: var(--cyan); display: block; margin-block-end: 10px; }
.path-steps { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.path-steps li { display: inline-flex; align-items: center; gap: 8px; }
.path-steps li + li::before { content: "→"; color: var(--muted); }
[dir="rtl"] .path-steps li + li::before { content: "←"; }
.path-steps .chip.on { border-color: rgba(46, 203, 255, 0.6); color: var(--fg); background: rgba(10, 123, 255, 0.12); }
.delivers { margin-block-start: 22px; padding-block-start: 18px; border-block-start: 1px solid var(--line); }
.delivers .mono { color: var(--muted); display: block; margin-block-end: 6px; }

/* ---------- CUP page ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .steps:not(.steps--4) { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .steps--4 { grid-template-columns: minmax(0, 1fr); } }
.steps > li { counter-increment: step; position: relative; }
.step-num { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--cyan); display: block; margin-block-end: 14px; }
.chat { display: grid; gap: 14px; }
.bubble { max-width: 88%; padding: 14px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--raise-2); color: var(--fg); }
.bubble--me { justify-self: end; border-end-end-radius: 4px; background: rgba(10, 123, 255, 0.14); border-color: rgba(46, 203, 255, 0.35); }
.bubble--cup { justify-self: start; border-end-start-radius: 4px; color: var(--soft); }
.bubble .who { display: block; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-block-end: 6px; }
.bubble[lang="ar"] { font-family: "Segoe UI", "Noto Sans Arabic", "Geeza Pro", Tahoma, sans-serif; line-height: 1.8; }
.bubble[lang="ar"] .who { font-family: var(--f-mono); }
.illus-label { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.roadmap { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
@media (max-width: 900px) { .roadmap { grid-template-columns: minmax(0, 1fr); } }
.roadmap li { padding: 24px 24px 24px 0; border-block-start: 2px solid var(--line-strong); position: relative; }
.roadmap li + li { padding-inline-start: 24px; }
@media (max-width: 900px) { .roadmap li + li { padding-inline-start: 0; } .roadmap li { padding-inline-end: 0; } }
.roadmap li.now { border-block-start-color: transparent; }
.roadmap li.now::before { content: ""; position: absolute; inset-inline: 0; inset-block-start: -2px; height: 2px; background: var(--grad); }
.roadmap .stage { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 10px; margin-block-end: 10px; }
.roadmap .now .stage { color: var(--cyan); }
.roadmap h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.5rem; }
.roadmap p { margin-block-start: 8px; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
@media (max-width: 720px) { .feature-list { grid-template-columns: minmax(0, 1fr); } }
.feature-list li { padding: 16px 0; border-block-start: 1px solid var(--line); display: grid; gap: 2px; }
.feature-list b { color: var(--fg); font-weight: 600; }

/* ---------- Services ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 36px; }
.filter-btn {
  min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: transparent; color: var(--soft); font-weight: 600; font-size: 14.5px; cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.filter-btn:hover { color: var(--fg); border-color: rgba(46, 203, 255, 0.5); }
.filter-btn[aria-pressed="true"] { color: var(--fg); border-color: var(--cyan); background: rgba(10, 123, 255, 0.14); }
.filter-btn .count { font-family: var(--f-mono); font-size: 11px; color: var(--muted); margin-inline-start: 6px; }
.svc-group + .svc-group { margin-block-start: 56px; }
.svc-group[hidden] { display: none; }
.svc-group-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-block-end: 20px; padding-block-end: 16px; border-block-end: 1px solid var(--line); }
.svc-group-head h2 { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--fg); }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .svc-grid { grid-template-columns: minmax(0, 1fr); } }
.svc { padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.svc h3 { font-size: 1.04rem; }
.svc p { font-size: 15px; color: var(--soft); }
.svc .pillar-tag { margin-block-start: auto; padding-block-start: 8px; }
.ladder { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: end; }
@media (max-width: 900px) { .ladder { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; } }
@media (max-width: 480px) { .ladder { grid-template-columns: minmax(0, 1fr); } }
.ladder li { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
@media (min-width: 901px) {
  .ladder li:nth-child(1) { min-height: 190px; }
  .ladder li:nth-child(2) { min-height: 220px; }
  .ladder li:nth-child(3) { min-height: 250px; }
  .ladder li:nth-child(4) { min-height: 280px; }
}
.ladder h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.7rem; }
.ladder .mono { color: var(--muted); }
.buy { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; gap: 1px; background: var(--line); }
@media (max-width: 900px) { .buy { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .buy { grid-template-columns: minmax(0, 1fr); } }
.buy > div { background: var(--raise); padding: 24px; }
.buy h3 { margin-block-end: 6px; }
.hours { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
@media (max-width: 720px) { .hours { grid-template-columns: minmax(0, 1fr); } }
.closing { text-align: center; }
.closing .display { max-width: 22ch; margin-inline: auto; }

/* ---------- Partners ---------- */
.logo-wall {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; gap: 1px; background: var(--line);
}
@media (max-width: 900px) { .logo-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) { .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.logo-cell {
  background: var(--raise); aspect-ratio: 16 / 9; display: grid; place-items: center; padding: 20px; text-align: center;
  transition: background-color 0.25s ease;
}
.logo-cell:hover { background: var(--raise-2); }
.logo-cell img {
  max-height: 44px; max-width: 72%; width: auto; object-fit: contain;
  filter: brightness(0) invert(1); opacity: 0.7; transition: filter 0.25s ease, opacity 0.25s ease;
}
.logo-cell:hover img { opacity: 1; }
.logo-name {
  font-family: var(--f-body); font-weight: 600; font-size: clamp(1rem, 1.8vw, 1.25rem); letter-spacing: 0.01em;
  color: var(--muted); transition: color 0.25s ease;
}
.logo-cell:hover .logo-name { color: var(--fg); }

/* ---------- AIShield ---------- */
.popup {
  max-width: 460px; margin-inline: auto; background: var(--raise-2); border: 1px solid var(--line-strong); border-radius: 16px; overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
}
.popup-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-block-end: 1px solid var(--line); }
.popup-head img { height: 22px; width: auto; }
.popup-head b { color: var(--fg); font-weight: 600; }
.popup-head .mono { margin-inline-start: auto; font-size: 10.5px; color: var(--amber); }
.popup-body { padding: 20px; display: grid; gap: 14px; }
.detect { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.detect li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(12, 12, 21, 0.5); font-size: 14.5px; color: var(--fg); }
.detect li span { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); align-self: center; text-align: end; }
.popup-actions { display: grid; gap: 8px; padding: 0 20px 20px; }
.popup-actions span {
  display: flex; justify-content: center; align-items: center; min-height: 42px; border-radius: 999px; font-weight: 600; font-size: 14.5px; border: 1px solid var(--line-strong); color: var(--fg);
}
.popup-actions span.primary { background-image: var(--grad); background-size: 200% 100%; color: var(--ink); border-color: transparent; }
.popup-foot { padding: 10px 20px; border-block-start: 1px solid var(--line); background: rgba(12, 12, 21, 0.55); }
.dest { display: flex; flex-direction: column; gap: 10px; }
.dest .mono { color: var(--cyan); }

/* ---------- About ---------- */
.vm { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
@media (max-width: 900px) { .vm { grid-template-columns: minmax(0, 1fr); } }
.vm .card { padding: clamp(28px, 3.6vw, 48px); display: flex; flex-direction: column; gap: 18px; }
.vm h2 { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); }
.vm .vm-head { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.12; color: var(--fg); }
.vm p.vm-text { font-size: 1.1rem; line-height: 1.65; color: var(--soft); }
.team-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.team-grid--lead { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; margin-inline: auto; margin-block-end: 20px; }
@media (max-width: 1000px) { .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 400px) { .team-grid { gap: 12px; } }
.person { background: var(--raise); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.person-photo { position: relative; aspect-ratio: 1 / 1; background: linear-gradient(160deg, #1e1e2e, #141420); overflow: hidden; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.person-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 123, 255, 0.06), rgba(61, 75, 240, 0.22)); mix-blend-mode: color; pointer-events: none; }
.person-photo svg { width: 100%; height: 100%; }
.person-body { padding: 16px 18px 18px; }
.person-name { color: var(--fg); font-weight: 600; font-size: 1.02rem; line-height: 1.3; }
.person-role { color: var(--muted); font-size: 14px; margin-block-start: 4px; line-height: 1.4; }
.team-grid--lead .person-name { font-size: 1.2rem; }
.team-grid--lead .person-body { padding: 20px 22px 22px; }
.event-group + .event-group { margin-block-start: 48px; }
.event-group h3.group-title { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-block-end: 18px; }
.event-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.event {
  display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  background: var(--raise); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.event.is-upcoming { border-color: rgba(46, 203, 255, 0.45); }
@media (max-width: 820px) { .event { grid-template-columns: minmax(0, 1fr); } }
.event-media { position: relative; min-height: 260px; background: var(--navy); overflow: hidden; }
.event-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.event-art { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; }
.event-art::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: var(--blue); filter: blur(90px); opacity: 0.35; inset-block-start: -120px; inset-inline-end: -100px; }
.event-art::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: var(--indigo); filter: blur(90px); opacity: 0.3; inset-block-end: -140px; inset-inline-start: -80px; }
.event-art > * { position: relative; z-index: 1; }
.event-art .t { font-family: var(--f-display); font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; color: var(--fg); }
.event-art .d { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); }
.event-body { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 16px; }
.event-status { align-self: flex-start; }
.status-badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); }
.status-badge.upcoming { color: var(--fg); border-color: rgba(61, 214, 140, 0.5); }
.status-badge.upcoming::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.event-body h4 { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.1; }
.event-meta { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.event-meta li { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; color: var(--fg); }
.event-meta li span { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-block-start: 3px; }
.event-body .btn { align-self: flex-start; margin-block-start: 6px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.details { list-style: none; padding: 0; margin: 0; display: grid; }
.details li { padding: 18px 0; border-block-start: 1px solid var(--line); display: grid; gap: 4px; }
.details li:last-child { border-block-end: 1px solid var(--line); }
.details .mono { color: var(--muted); }
.details a, .details address { color: var(--fg); font-style: normal; text-decoration: none; overflow-wrap: anywhere; }
.details a:hover { color: var(--cyan); }
.details .li-link { display: inline-flex; align-items: center; gap: 10px; }
.details .li-link svg { width: 20px; height: 20px; }
.form-card { padding: clamp(24px, 3.4vw, 44px); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 14px; font-weight: 600; color: var(--fg); }
.field .req { color: var(--cyan); margin-inline-start: 2px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: var(--ink); color: var(--fg); font-size: 15.5px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field select {
  appearance: none; -webkit-appearance: none;
  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 1.5l5 5 5-5' fill='none' stroke='%23C9C9D1' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-inline-end: 38px;
}
[dir="rtl"] .field select { background-position: left 14px center; }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(46, 203, 255, 0.2); }
.field input::placeholder, .field textarea::placeholder { color: #7d7c84; }
.field [aria-invalid="true"] { border-color: var(--red); }
.field-error { color: #ff8a95; font-size: 13.5px; }
.field-error:empty { display: none; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.field legend { padding: 0; margin-block-end: 10px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-radio { position: relative; }
.pill-radio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill-radio span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--soft); font-size: 14.5px; font-weight: 500; cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.pill-radio span:hover { border-color: rgba(46, 203, 255, 0.5); color: var(--fg); }
.pill-radio input:checked + span { border-color: var(--cyan); background: rgba(10, 123, 255, 0.14); color: var(--fg); }
.pill-radio input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 3px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-block-start: 26px; }
.form-foot p { font-size: 14px; color: var(--muted); max-width: 40ch; }
.form-status { margin-block-start: 16px; color: #ff8a95; }
.form-status:empty { display: none; }
.hp { position: absolute !important; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.confirm { text-align: start; display: grid; gap: 16px; justify-items: start; }
.confirm .check { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(61, 214, 140, 0.12); border: 1px solid rgba(61, 214, 140, 0.5); color: var(--green); }
.confirm h2 { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--fg); line-height: 1.12; }
.confirm:focus { outline: none; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; align-content: center; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
.plain-link { color: var(--fg); text-decoration: none; } .plain-link:hover { color: var(--cyan); }
/* Brand name stays "CyberA" even inside uppercase labels. */
.nc { text-transform: none; letter-spacing: 0.04em; }
.nowrap { white-space: nowrap; }
.footer-base { text-transform: none; letter-spacing: 0.06em; }
[hidden] { display: none !important; }

/* Logo wall: separate tiles so a short last row stays tidy and centred. */
.logo-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; background: none; border: 0; border-radius: 0; overflow: visible; }
.logo-cell { flex: 0 0 calc((100% - 36px) / 4); border: 1px solid var(--line); border-radius: 12px; }
@media (max-width: 900px) { .logo-cell { flex-basis: calc((100% - 24px) / 3); } }
@media (max-width: 620px) { .logo-cell { flex-basis: calc((100% - 12px) / 2); } }
.logo-cell img { max-height: 40px; max-width: 70%; }
.logo-mark { display: inline-flex; align-items: center; justify-content: center; gap: 10px; max-width: 80%; }
.logo-mark img { max-width: 100%; }
.logo-mark img + .logo-name { color: #fff; opacity: 0.7; transition: opacity 0.25s ease; font-size: 1.15rem; }
.logo-cell:hover .logo-mark .logo-name { opacity: 1; color: #fff; }
.logo-mark:has(.logo-name) img { height: 30px; width: auto; max-width: none; }
.logo-cell--lg img { max-height: 64px; max-width: 78%; }

/* Brandmark Stencil is always set in capitals (the logo wordmark is excluded). */
.display, h1.display, h2.display, .ring-val b, .big-a, .a-card h3, .pillar-name, .stat b,
.roadmap h3, .svc-group-head h2, .ladder h3, .vm .vm-head, .event-art .t, .event-body h4, .confirm h2 {
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
@media (max-width: 420px) { h1.display { font-size: 2.15rem; } h2.display { font-size: 1.7rem; } .pillar-name { font-size: 2.6rem; } }

/* Home hero: longer "Who we are" headline, with the three cards beneath. */
h1.display.hero-h1--long { font-size: clamp(2rem, 4.2vw, 3.5rem); line-height: 1.06; }
.hero .grid-3 { margin-block-start: clamp(48px, 6vw, 80px); position: relative; }
h2.display .line { display: block; }
@media (max-width: 420px) { h1.display.hero-h1--long { font-size: 1.8rem; } }

/* 4A pillar icons (home page). */
.a-icon {
  display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 14px;
  border: 1px solid rgba(46, 203, 255, 0.28); background: rgba(10, 123, 255, 0.07);
}
.a-card .a-icon svg { width: 40px; height: 40px; flex: none; }

/* ==========================================================================
   Motion layer — calm, purposeful, and fully disabled for reduced motion.
   ========================================================================== */
.scroll-progress {
  position: absolute; inset-inline: 0; inset-block-end: -1px; height: 2px;
  background: var(--grad); transform-origin: left; transform: scaleX(0); pointer-events: none;
}
[dir="rtl"] .scroll-progress { transform-origin: right; }
.site-header { transition: background-color 0.3s ease, box-shadow 0.3s ease; }
.site-header.is-scrolled { background: rgba(12, 12, 21, 0.88); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.8); }

/* Spotlight that follows the pointer across cards. */
.card, .dept-cell, .logo-cell, .person, .event { position: relative; }
.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(46, 203, 255, 0.09), transparent 60%);
  opacity: 0; transition: opacity 0.35s ease;
}
.spot:hover::after { opacity: 1; }
.card:not(a):hover, .person:hover, .event:hover { border-color: rgba(46, 203, 255, 0.28); }
.card, .person, .event { transition: border-color 0.3s ease, translate 0.3s ease; }

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .site-header { view-transition-name: site-header; }
  ::view-transition-old(root) { animation: vt-out 0.22s ease both; }
  ::view-transition-new(root) { animation: vt-in 0.42s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  @keyframes vt-out { to { opacity: 0; } }
  @keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

  /* Scroll reveal */
  .reveal { opacity: 0; translate: 0 22px; transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), translate 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.3s ease; transition-delay: var(--d, 0ms); }
  .reveal.is-in { opacity: 1; translate: 0 0; }
  .reveal.is-in:hover { transition-delay: 0ms; }
  .section-head.reveal .eyebrow::before { width: 0; transition: width 0.7s 0.25s ease; }
  .section-head.reveal.is-in .eyebrow::before { width: 18px; }

  /* Gentle lift on cards */
  .card:not(a):hover, .person:hover, .dept-cell:hover { translate: 0 -3px; }
  .dept-cell { transition: translate 0.3s ease, background-color 0.3s ease; }
  .dept-cell:hover { background: #1b1b2a; }

  /* Hero atmosphere */
  .glow { animation: drift 18s ease-in-out infinite alternate; }
  .glow--indigo { animation-duration: 23s; animation-direction: alternate-reverse; }
  @keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-40px, 30px) scale(1.08); } 100% { transform: translate(30px, -20px) scale(0.96); } }
  .hero .grad-text { background-size: 200% 100%; animation: sheen-text 9s ease-in-out infinite alternate; }
  @keyframes sheen-text { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

  /* Buttons */
  .btn--primary { position: relative; overflow: hidden; isolation: isolate; }
  .btn--primary::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
    transform: translateX(-120%); transition: transform 0.7s ease;
  }
  .btn--primary:hover::after { transform: translateX(120%); }
  .btn .arr { display: inline-block; transition: transform 0.25s ease; }
  .btn:hover .arr { transform: translateX(4px); }
  [dir="rtl"] .btn:hover .arr { transform: translateX(-4px) scaleX(-1); }
  .btn:active { transform: translateY(0) scale(0.98); }

  /* Icons and big letters respond to their card */
  .a-icon { transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), background-color 0.3s ease, border-color 0.3s ease; }
  .a-card:hover .a-icon { transform: translateY(-3px) rotate(-4deg); background: rgba(10, 123, 255, 0.14); border-color: rgba(46, 203, 255, 0.55); }
  .pillar-name { transition: letter-spacing 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }

  /* Dashboard / product visuals: soft tilt toward the pointer */
  .dash, .popup { transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.5s ease; transform-style: preserve-3d; will-change: transform; }
  .spark .line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s 0.6s cubic-bezier(0.3, 0.7, 0.2, 1) forwards; }
  .spark .area { opacity: 0; animation: fade-in 1s 1.6s ease forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @keyframes fade-in { to { opacity: 1; } }
  .chip--ok::before, .chip--warn::before { animation: blink 3.2s ease-in-out infinite; }
  .chip--warn::before { animation-duration: 1.8s; }
  @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

  /* Sequenced details once revealed */
  .tier-level i.on { transform: scaleX(0); transform-origin: left; transition: transform 0.6s ease; }
  .reveal.is-in .tier-level i.on { transform: scaleX(1); }
  .reveal.is-in .tier-level i.on:nth-child(2) { transition-delay: 0.15s; }
  .reveal.is-in .tier-level i.on:nth-child(3) { transition-delay: 0.3s; }
  .roadmap li.now::before { transform: scaleX(0); transform-origin: left; transition: transform 1.1s 0.3s cubic-bezier(0.3, 0.7, 0.2, 1); }
  .roadmap li.now.is-in::before { transform: scaleX(1); }
  .hub-lines path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s 0.4s ease; }
  .is-in .hub-lines path { stroke-dashoffset: 0; }
  .path-steps .chip.on { transition: box-shadow 0.4s ease; }
  .card:hover .path-steps .chip.on { box-shadow: 0 0 0 4px rgba(46, 203, 255, 0.08); }
  .svc.is-swap { animation: swap-in 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: var(--d, 0ms); }
  @keyframes swap-in { from { opacity: 0; translate: 0 12px; } }
  .logo-cell img { transition: opacity 0.25s ease, transform 0.35s ease; }
  .logo-cell:hover img { transform: scale(1.05); }
  .person-photo svg, .person-photo img { transition: transform 0.6s ease; }
  .person:hover .person-photo svg, .person:hover .person-photo img { transform: scale(1.04); }
  .copy-btn.is-done { color: var(--green); }
  .nav-list a:not(.btn)::after { transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
}

/* ---------- 4A page: pillar bands with interactive visuals ---------- */
.pillar-band .pillar-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.pillar-name { font-size: clamp(2.3rem, 4.4vw, 4rem); line-height: 1; overflow-wrap: normal; }
@media (max-width: 420px) { .pillar-name { font-size: 2.3rem; } }
.pillar-top { display: flex; align-items: center; gap: 16px; margin-block-end: 22px; }
.pillar-top .pillar-num { margin: 0; }
.pillar-top .a-icon svg { width: 40px; height: 40px; }

.pviz { margin-block-start: 32px; padding: 22px; display: grid; gap: 16px; }
.pviz-label { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.pviz-svg { width: 100%; max-width: 380px; height: auto; margin-inline: auto; overflow: visible; }
.pviz-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.pviz-tab {
  min-height: 38px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: transparent; color: var(--soft); cursor: pointer;
  font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}
.pviz-tab:hover { color: var(--fg); border-color: rgba(46, 203, 255, 0.5); }
.pviz-tab[aria-pressed="true"] { color: var(--fg); border-color: var(--cyan); background: rgba(10, 123, 255, 0.16); }
.pviz-cap { color: var(--soft); min-height: 3.2em; }

/* Shared SVG parts */
.pviz-svg text { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.08em; fill: var(--soft); pointer-events: none; }
.pviz-svg .core { fill: rgba(10, 123, 255, 0.16); stroke: rgba(46, 203, 255, 0.6); stroke-width: 1; }
.pviz-svg .core-t { font-size: 9px; fill: var(--fg); }
.pviz-svg .core-mark { fill: none; stroke: url(#a4-grad); stroke-width: 1.6; }
[data-pick] { cursor: pointer; }

/* Alignment orbit */
.orbit { stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 2 6; }
.orbit--outer { stroke: rgba(46, 203, 255, 0.22); stroke-dasharray: 1 9; transform-origin: 160px 120px; }
.link { stroke: rgba(242, 242, 243, 0.12); stroke-width: 1.2; transition: stroke 0.3s ease, stroke-width 0.3s ease; }
.link.is-on { stroke: var(--cyan); stroke-width: 1.8; }
.node circle { fill: var(--raise-2); stroke: var(--line-strong); stroke-width: 1; transition: fill 0.3s ease, stroke 0.3s ease, r 0.3s ease; }
.node.is-on circle { fill: rgba(10, 123, 255, 0.28); stroke: var(--cyan); r: 27; }
.node.is-on text { fill: var(--fg); }

/* Armor layers */
.layer circle { fill: rgba(10, 123, 255, 0.035); stroke: rgba(242, 242, 243, 0.14); stroke-width: 1; transition: stroke 0.3s ease, fill 0.3s ease, stroke-width 0.3s ease; }
.layer text { font-size: 8.5px; fill: var(--muted); transition: fill 0.3s ease; }
.layer.is-on circle { stroke: url(#a4-grad); stroke-width: 3; fill: rgba(10, 123, 255, 0.1); }
.layer.is-on text { fill: var(--fg); }

/* Awareness radar */
.ring-l { fill: none; stroke: rgba(242, 242, 243, 0.1); stroke-width: 1; }
.sweep { transform-origin: 160px 120px; }
.blip { fill: var(--cyan); opacity: 0.25; }
.blip.warn { fill: var(--amber); }
[data-auto] .pviz-tabs { counter-reset: s; }
[data-auto] .pviz-tab::before { counter-increment: s; content: "0" counter(s) " "; color: var(--muted); }

/* Assurance cycle */
.ctl-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ctl { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; background: rgba(12, 12, 21, 0.5); transition: border-color 0.3s ease, background-color 0.3s ease; }
.ctl-name { color: var(--fg); font-size: 14.5px; }
.ctl-state { flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ctl.is-testing { border-color: rgba(46, 203, 255, 0.45); }
.ctl.is-testing .ctl-state::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--cyan); border-inline-end-color: transparent; animation: spin 0.8s linear infinite; }
.ctl.is-pass .ctl-state { color: var(--green); }
.ctl.is-pass .ctl-state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.ctl.is-partial { border-color: rgba(245, 181, 68, 0.4); }
.ctl.is-partial .ctl-state { color: var(--amber); }
.ctl.is-partial .ctl-state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.assure-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.assure-sum { color: var(--soft); font-size: 14.5px; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: no-preference) {
  .orbit--outer { animation: spin 60s linear infinite; }
  .sweep { animation: spin 4.8s linear infinite; }
  .blip { animation: blip 4.8s linear infinite; }
  .blip.b1 { animation-delay: 0.6s; } .blip.b2 { animation-delay: 3.2s; } .blip.b3 { animation-delay: 1.7s; }
  @keyframes blip { 0% { opacity: 1; r: 6; } 30% { opacity: 0.25; r: 4; } 100% { opacity: 0.25; } }
  .pviz-cap.is-swap { animation: cap-in 0.4s ease both; }
  @keyframes cap-in { from { opacity: 0; translate: 0 6px; } }
}
@media (max-width: 560px) { .pillar-name { font-size: 9.4vw; } }
@media (max-width: 900px) { .pillar-band .pillar-grid { grid-template-columns: minmax(0, 1fr); } .pviz { max-width: 520px; } }

/* ==========================================================================
   Round 3 — blue titles, home visuals, interactive CUP / Services / AIShield / About
   ========================================================================== */
/* Blue titles inside boxes, site-wide */
.card h3, .dept-cell h3, .buy h3, .service-col h3 .plain-link { color: var(--cyan); }
.service-col h3 .plain-link:hover { color: var(--fg); }
.a-card h3, .person-name { color: var(--fg); }
.feature-list b { color: var(--cyan); }
.c-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; border: 1px solid rgba(46, 203, 255, 0.28); background: rgba(10, 123, 255, 0.07); margin-block-end: 16px; transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), background-color 0.3s ease, border-color 0.3s ease; }
.c-icon--sm { width: 36px; height: 36px; border-radius: 10px; margin: 0; flex-shrink: 0; }
.card:hover .c-icon, .buy-item:hover .c-icon, .feature-list li:hover .c-icon { transform: translateY(-2px) rotate(-4deg); background: rgba(10, 123, 255, 0.15); border-color: rgba(46, 203, 255, 0.55); }

/* ---------- Home: CyberA department ---------- */
.cyd { background: linear-gradient(180deg, rgba(30, 30, 46, 0.92), rgba(23, 23, 36, 0.96)); border: 1px solid var(--line-strong); border-radius: 18px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7); }
.cyd-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; border-block-end: 1px solid var(--line); }
.cyd-body { padding: 20px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.cyd-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cyd-q {
  display: grid; gap: 4px; justify-items: start; text-align: start; padding: 16px; min-height: 118px;
  border-radius: 12px; border: 1px solid var(--line); background: rgba(12, 12, 21, 0.55); color: var(--soft); cursor: pointer;
  transition: border-color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}
.cyd-q:nth-child(2), .cyd-q:nth-child(4) { justify-items: end; text-align: end; }
.cyd-q:nth-child(3), .cyd-q:nth-child(4) { align-content: end; }
.cyd-ic { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-strong); transition: border-color 0.3s ease, background-color 0.3s ease; }
.cyd-name { font-family: var(--f-display); text-transform: uppercase; color: var(--fg); font-size: 1.05rem; margin-block-start: 6px; letter-spacing: 0.02em; }
.cyd-line { font-size: 13px; color: var(--muted); }
.cyd-q:hover, .cyd-q[aria-pressed="true"] { border-color: rgba(46, 203, 255, 0.55); background: rgba(10, 123, 255, 0.1); }
.cyd-q[aria-pressed="true"] .cyd-ic { border-color: var(--cyan); background: rgba(10, 123, 255, 0.16); }
.cyd-q[aria-pressed="true"] .cyd-name { color: var(--cyan); }
.cyd-core {
  position: absolute; inset-inline-start: 50%; inset-block-start: 50%; translate: -50% -50%;
  width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; align-content: center; gap: 4px;
  background: radial-gradient(circle, #1b1b2b 60%, #141420); border: 1px solid rgba(46, 203, 255, 0.5);
  box-shadow: 0 0 0 6px rgba(12, 12, 21, 0.9), 0 0 40px -6px rgba(10, 123, 255, 0.6); pointer-events: none;
}
[dir="rtl"] .cyd-core { translate: 50% -50%; }
.cyd-core img { width: 28px; height: auto; }
.cyd-core span:not(.cyd-orbit) { font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); }
.cyd-orbit { position: absolute; inset: -10px; border-radius: 50%; border: 1px dashed rgba(46, 203, 255, 0.35); }
.cyd-detail { display: grid; gap: 10px; min-height: 84px; }
.cyd-detail .mono { color: var(--cyan); }
.cyd-detail { min-width: 0; }
.cyd-detail .chip { font-size: 10.5px; white-space: normal; max-width: 100%; overflow-wrap: anywhere; line-height: 1.35; }
.cyd-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-block-start: 1px solid var(--line); }
.cyd-stats li { padding: 14px 18px; display: grid; gap: 2px; }
.cyd-stats li + li { border-inline-start: 1px solid var(--line); }
.cyd-stats b { font-family: var(--f-display); font-size: 1.6rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; width: max-content; }
.cyd-stats span { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 460px) { .cyd-q { min-height: 104px; padding: 12px; } .cyd-line { display: none; } .cyd-core { width: 74px; height: 74px; } }

/* ---------- Home: IT list hand-off ---------- */
.itl { display: grid; grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr); gap: 10px; align-items: center; position: relative; }
.itl-card { background: var(--raise); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 12px; align-self: stretch; }
.itl-card--cy { border-color: rgba(46, 203, 255, 0.4); background: linear-gradient(180deg, rgba(10, 123, 255, 0.1), rgba(10, 123, 255, 0.02)), var(--raise); align-content: start; }
.itl-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.itl-head .mono { color: var(--muted); font-size: 11px; }
.itl-count, .itl-badge { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--soft); }
.itl-badge { border-color: rgba(46, 203, 255, 0.5); color: var(--cyan); }
.itl-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.itl-items li { font-size: 13.5px; color: var(--soft); padding: 8px 10px; border-radius: 8px; background: rgba(12, 12, 21, 0.5); border: 1px solid var(--line); position: relative; padding-inline-start: 30px; }
.itl-items li::before { content: ""; position: absolute; inset-inline-start: 10px; inset-block-start: 50%; translate: 0 -50%; width: 11px; height: 11px; border-radius: 3px; border: 1px solid var(--line-strong); }
.itl-move { color: var(--fg) !important; border-color: rgba(245, 181, 68, 0.45) !important; background: rgba(245, 181, 68, 0.06) !important; transition: opacity 0.6s ease, translate 0.6s ease, filter 0.6s ease; }
.itl-flag { display: block; font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); margin-block-end: 2px; }
.itl-arrow { height: 2px; background: var(--line-strong); position: relative; border-radius: 2px; overflow: hidden; }
.itl-arrow span { position: absolute; inset: 0; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 0.6s 0.5s ease; }
.itl-land { color: var(--fg); font-weight: 600; font-size: 14.5px; padding: 12px; border-radius: 10px; border: 1px solid rgba(61, 214, 140, 0.45); background: rgba(61, 214, 140, 0.06); display: flex; gap: 10px; align-items: flex-start; opacity: 0; translate: -16px 0; transition: opacity 0.6s 0.8s ease, translate 0.6s 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.itl-check { color: var(--green); }
.itl-subs .chip { font-size: 10px; padding: 4px 8px; opacity: 0; scale: 0.8; transition: opacity 0.4s ease, scale 0.4s ease; }
.itl-subs li:nth-child(1) { transition-delay: 1.1s; } .itl-subs li:nth-child(2) { transition-delay: 1.18s; } .itl-subs li:nth-child(3) { transition-delay: 1.26s; }
.itl-subs li:nth-child(4) { transition-delay: 1.34s; } .itl-subs li:nth-child(5) { transition-delay: 1.42s; } .itl-subs li:nth-child(6) { transition-delay: 1.5s; }
.itl.is-played .itl-move { opacity: 0.35; translate: 14px 0; filter: grayscale(1); text-decoration: line-through; }
.itl.is-played .itl-arrow span { transform: scaleX(1); }
.itl.is-played .itl-land { opacity: 1; translate: 0 0; }
.itl.is-played .itl-subs .chip { opacity: 1; scale: 1; }
.itl-note { grid-column: 1 / -1; }
@media (prefers-reduced-motion: reduce) { .itl-land, .itl-subs .chip { opacity: 1; translate: 0; scale: 1; } }
@media (max-width: 620px) { .itl { grid-template-columns: minmax(0, 1fr); } .itl-arrow { height: 28px; width: 2px; justify-self: center; } .itl-arrow span { transform-origin: top; transform: scaleY(0); } .itl.is-played .itl-arrow span { transform: scaleY(1); } }

/* ---------- Radial fan-out (4A hero, CUP integrations) ---------- */
.radial { position: relative; width: 100%; max-width: 460px; aspect-ratio: 1; margin-inline: auto; }
.radial-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.radial-ring { fill: none; stroke: rgba(242, 242, 243, 0.08); stroke-width: 0.3; stroke-dasharray: 0.6 1.6; }
.rl { stroke: rgba(46, 203, 255, 0.35); stroke-width: 0.3; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke 0.3s ease, stroke-width 0.3s ease; }
.rl.is-on { stroke: var(--cyan); stroke-width: 0.6; }
.rf { stroke: var(--cyan); stroke-width: 0.6; stroke-linecap: round; stroke-dasharray: 0.04 0.96; stroke-dashoffset: 0; opacity: 0; }
.rcore {
  position: absolute; inset-inline-start: 50%; inset-block-start: 50%; translate: -50% -50%;
  width: 30%; aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; text-align: center; gap: 4px;
  background: radial-gradient(circle, rgba(10, 123, 255, 0.22), rgba(12, 12, 21, 0.9) 70%); border: 1px solid rgba(46, 203, 255, 0.55);
  box-shadow: 0 0 60px -10px rgba(10, 123, 255, 0.6); cursor: pointer;
}
[dir="rtl"] .rcore { translate: 50% -50%; }
.rcore b { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.4rem, 4vw, 2.2rem); line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rcore span { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--soft); }
.rnodes { list-style: none; margin: 0; padding: 0; }
.rnode {
  position: absolute; translate: -50% -50%; white-space: nowrap; cursor: default;
  font-family: var(--f-mono); font-size: clamp(9px, 1.6vw, 11px); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--soft); padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--raise-2);
  transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}
[dir="rtl"] .rnode { translate: 50% -50%; }
.rnode.is-on, .rnode:hover, .rnode:focus-visible { color: var(--fg); border-color: var(--cyan); background: rgba(10, 123, 255, 0.2); box-shadow: 0 0 24px -6px rgba(46, 203, 255, 0.7); }
.radial--fan .rnode::after { content: " ✓"; color: var(--green); }
.fan { margin: 0; display: grid; gap: 16px; justify-items: center; }
.fan-cap { color: var(--soft); text-align: center; }
.fan-cap .mono { color: var(--cyan); }
.fan-cap b { font-family: var(--f-display); font-weight: 500; color: var(--fg); font-size: 1.3rem; }
.hero-grid--4a { align-items: center; }
.h1-4a { font-size: clamp(2.8rem, 6.6vw, 5.6rem); }
.h1-mark { position: relative; display: inline-block; }
.h1-mark::after { content: ""; position: absolute; inset-inline: 0; inset-block-end: -0.08em; height: 0.08em; border-radius: 4px; background: var(--grad); transform-origin: left; }
.int-wrap { display: grid; gap: 14px; justify-items: center; }
.radial--int { max-width: 440px; }
@media (max-width: 520px) { .rnode { padding: 4px 7px; letter-spacing: 0.04em; } .radial--int .rnode { white-space: normal; max-width: 92px; text-align: center; } }

/* ---------- 4A problem: branch + repeat ---------- */
[data-branch], [data-repeat] { cursor: pointer; }
@keyframes pop-in { from { opacity: 0; scale: 0.7; } }
@keyframes core-pulse { 50% { box-shadow: 0 0 0 6px rgba(46, 203, 255, 0.18), 0 0 30px rgba(10, 123, 255, 0.5); } }
@keyframes amber-flash { 30% { border-color: rgba(245, 181, 68, 0.8); background: rgba(245, 181, 68, 0.08); } }

/* ---------- 4A key numbers hover ---------- */
.stat { position: relative; cursor: default; transition: background-color 0.3s ease; }
.stat::after { content: ""; position: absolute; inset-inline: 24px; inset-block-end: 0; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.stat:hover { background: rgba(10, 123, 255, 0.05); }
.stat:hover::after { transform: scaleX(1); }
.stat b { transition: color 0.3s ease; }
.stat:hover b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 4A pillar visuals: neutral until hovered ---------- */
[data-idle] .core { fill: rgba(242, 242, 243, 0.04); stroke: var(--line-strong); transition: fill 0.3s ease, stroke 0.3s ease; }
[data-idle]:hover .core, [data-idle]:focus-within .core { fill: rgba(10, 123, 255, 0.16); stroke: rgba(46, 203, 255, 0.6); }
[data-idle] .orbit--outer { stroke: rgba(242, 242, 243, 0.12); transition: stroke 0.3s ease; }
[data-idle]:hover .orbit--outer { stroke: rgba(46, 203, 255, 0.3); }
[data-idle] .core-mark { stroke: var(--muted); }
[data-idle]:hover .core-mark { stroke: url(#a4-grad); }

/* ---------- CUP ---------- */
.fw-btn { cursor: pointer; font: inherit; font-family: var(--f-mono); font-size: 10.5px; padding: 4px 9px; background: rgba(242, 242, 243, 0.02); }
.fw-btn:hover, .fw-btn[aria-pressed="true"] { border-color: var(--cyan); color: var(--fg); background: rgba(10, 123, 255, 0.16); }
.mod-card { cursor: default; }
.mod-card.is-on { border-color: rgba(46, 203, 255, 0.6); background: linear-gradient(180deg, rgba(10, 123, 255, 0.1), rgba(10, 123, 255, 0.02)), var(--raise); }
.dlayer { margin-block-start: 28px; }
.dl-nodes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.dl-node { position: relative; display: grid; justify-items: center; gap: 8px; padding-block-end: 36px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); transition: color 0.3s ease; text-align: center; }
.dl-node i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--raise-2); transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; order: 2; }
.dl-node::after { content: ""; position: absolute; inset-block-end: 0; inset-inline-start: 50%; width: 1px; height: 30px; background: linear-gradient(var(--line-strong), rgba(46, 203, 255, 0.5)); }
.dl-node.is-on { color: var(--cyan); }
.dl-node.is-on i { background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 18px rgba(46, 203, 255, 0.8); }
.dl-node.is-on::after { background: var(--cyan); width: 2px; }
.dl-bar { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 18px; padding: 16px 20px; border-radius: 12px; border: 1px solid rgba(46, 203, 255, 0.45); background: rgba(10, 123, 255, 0.08); }
.dl-bar b { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; color: var(--fg); font-size: 1.1rem; }
.dl-bar .mono { color: var(--soft); font-size: 11px; }
.dl-flow { position: absolute; inset-block: 0; width: 30%; background: linear-gradient(90deg, transparent, rgba(46, 203, 255, 0.18), transparent); inset-inline-start: -30%; }
@media (max-width: 720px) { .dl-nodes { gap: 6px; } .dl-node { font-size: 8.5px; letter-spacing: 0.04em; } }
.flow-track { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); height: 14px; margin-block-end: 18px; }
.flow-track::before { content: ""; position: absolute; inset-inline: 16.66%; inset-block-start: 50%; height: 1px; background: linear-gradient(90deg, rgba(46, 203, 255, 0.2), rgba(46, 203, 255, 0.6)); }
.ft-dot { justify-self: center; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--cyan); background: var(--navy); position: relative; z-index: 1; }
.ft-packet { position: absolute; inset-block-start: 50%; inset-inline-start: 16.66%; width: 8px; height: 8px; margin-block-start: -4px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
@media (max-width: 900px) { .flow-track { display: none; } }
.ask-prompts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-block-start: 20px; padding-block-start: 16px; border-block-start: 1px solid var(--line); }
.ask-prompts .mono { color: var(--muted); font-size: 11px; inline-size: 100%; }
.ask-q { min-height: 38px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--soft); cursor: pointer; font-size: 14px; transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease; }
.ask-q[lang="ar"] { font-family: "Segoe UI", "Noto Sans Arabic", Tahoma, sans-serif; }
.ask-q:hover, .ask-q[aria-pressed="true"] { color: var(--fg); border-color: var(--cyan); background: rgba(10, 123, 255, 0.14); }
.chat { min-height: 220px; align-content: start; }
.typing { display: inline-flex; gap: 4px; padding-block: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); opacity: 0.4; }
.bubble-note { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.06em; color: var(--muted); }
.feature-list--icons li { display: flex; gap: 14px; align-items: flex-start; }
.fl-txt { display: grid; gap: 2px; }
.roadmap--int li { cursor: pointer; transition: background-color 0.3s ease; border-radius: 0 0 12px 12px; }
.roadmap--int li:hover, .roadmap--int li.is-sel { background: rgba(10, 123, 255, 0.06); }
.roadmap--int li.is-sel h3, .roadmap--int li.is-past h3 { color: var(--cyan); }
.roadmap--int li.is-sel { border-block-start-color: var(--cyan); }
.roadmap--int li.is-past { border-block-start-color: rgba(46, 203, 255, 0.45); }
@media (min-width: 901px) { .roadmap--int li + li { padding-inline-start: 24px; } .roadmap--int li { padding-inline-end: 24px; } }
.autonomy { margin-block-start: 32px; display: grid; gap: 12px; max-width: 760px; }
.aut-row { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; align-items: center; }
.aut-row .mono { color: var(--muted); font-size: 11px; }
.aut-bar { height: 30px; border-radius: 999px; border: 1px solid var(--line); background: rgba(12, 12, 21, 0.5); overflow: hidden; position: relative; }
.aut-bar i { position: absolute; inset-block: 0; inset-inline-start: 0; width: 25%; background: var(--grad); border-radius: 999px; transition: width 0.6s cubic-bezier(0.3, 0.7, 0.2, 1); }
.aut-bar--human { border-color: rgba(61, 214, 140, 0.45); background: rgba(61, 214, 140, 0.07); display: flex; align-items: center; padding-inline: 14px; }
.aut-bar--human b { font-size: 13.5px; color: var(--fg); font-weight: 600; }

/* ---------- Services ---------- */
.donut { margin: 0; display: grid; gap: 18px; justify-items: center; }
.donut-chart { position: relative; width: min(320px, 80vw); aspect-ratio: 1; }
.donut-chart svg { width: 100%; height: 100%; transform: rotate(0deg); }
.seg-track { stroke: rgba(242, 242, 243, 0.06); stroke-width: 5; }
.seg { stroke-width: 5; cursor: pointer; transition: stroke-width 0.3s ease, opacity 0.3s ease; }
.seg--advisory { stroke: #2ECBFF; } .seg--technology { stroke: #0A7BFF; } .seg--monitoring { stroke: #3D4BF0; }
.donut.has-on .seg { opacity: 0.3; }
.donut.has-on .seg.is-on { opacity: 1; stroke-width: 6.5; }
.donut-c { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 6px; pointer-events: none; }
.donut-c b { font-family: var(--f-display); font-weight: 500; font-size: clamp(2.6rem, 7vw, 3.8rem); color: var(--fg); line-height: 1; }
.donut-c span { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--soft); max-width: 150px; }
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; width: min(360px, 100%); }
.leg { width: 100%; display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line); background: rgba(23, 23, 36, 0.6); color: var(--soft); cursor: pointer; text-align: start; font-size: 14.5px; transition: border-color 0.25s ease, background-color 0.25s ease; }
.leg b { font-family: var(--f-display); font-weight: 500; color: var(--fg); font-size: 1.1rem; }
.leg:hover, .leg.is-on { border-color: rgba(46, 203, 255, 0.55); background: rgba(10, 123, 255, 0.1); color: var(--fg); }
.sw { width: 12px; height: 12px; border-radius: 3px; }
.sw--advisory { background: #2ECBFF; } .sw--technology { background: #0A7BFF; } .sw--monitoring { background: #3D4BF0; }
.svc-tools { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; justify-content: space-between; }
.svc-search { display: flex; align-items: center; gap: 10px; flex: 1 1 320px; max-width: 480px; min-height: 48px; padding-inline: 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--ink); color: var(--muted); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.svc-search:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(46, 203, 255, 0.2); }
.svc-search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--fg); font-size: 15px; outline: none; min-height: 44px; }
.pillar-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-btn { min-height: 38px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--soft); cursor: pointer; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease; }
.pf-btn:hover, .pf-btn[aria-pressed="true"] { color: var(--fg); border-color: var(--cyan); background: rgba(10, 123, 255, 0.14); }
.acronyms { margin-block-start: 18px; color: var(--muted); font-size: 14px; }
.acronyms summary { cursor: pointer; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.acronyms summary:hover { color: var(--cyan); }
.acronyms p { margin-block-start: 10px; max-width: 90ch; }
.svc-status { margin-block-start: 18px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); }
.svc-group.is-empty { display: none; }
.svc.is-off { display: none; }
.svc { position: relative; overflow: hidden; min-height: 158px; cursor: default; }
.svc-ic { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(46, 203, 255, 0.28); background: rgba(10, 123, 255, 0.07); margin-block-end: 6px; transition: transform 0.35s ease; }
.svc:hover .svc-ic, .svc:focus .svc-ic { transform: rotate(-6deg) scale(1.05); }
@media (hover: hover) and (pointer: fine) {
  .svc p {
    position: absolute; inset: auto 0 0 0; margin: 0; padding: 18px 22px 20px; font-size: 14.5px; color: var(--fg);
    background: linear-gradient(180deg, rgba(23, 23, 36, 0.4), #18213a 30%); border-block-start: 1px solid rgba(46, 203, 255, 0.4);
    transform: translateY(101%); transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .svc:hover p, .svc:focus p, .svc:focus-within p { transform: translateY(0); }
  .svc:hover, .svc:focus { border-color: rgba(46, 203, 255, 0.55); }
  .svc::before { content: "Hover for outcome"; position: absolute; inset-block-start: 22px; inset-inline-end: 20px; font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); opacity: 0.7; }
}
.tierb { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 20px 40px; align-items: center; }
@media (max-width: 860px) { .tierb { grid-template-columns: minmax(0, 1fr); } }
.tierb-tabs { display: grid; gap: 10px; }
.tierb-btn { display: flex; align-items: baseline; gap: 14px; padding: 16px 20px; border-radius: 12px; border: 1px solid var(--line); background: var(--raise); color: var(--soft); text-align: start; cursor: pointer; transition: border-color 0.25s ease, background-color 0.25s ease; }
.tierb-btn b { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; font-size: 1.4rem; color: var(--fg); letter-spacing: 0.02em; }
.tierb-btn .mono { color: var(--muted); }
.tierb-btn:hover, .tierb-btn[aria-pressed="true"] { border-color: var(--cyan); background: rgba(10, 123, 255, 0.12); }
.tierb-btn[aria-pressed="true"] b { color: var(--cyan); }
.tierb-stack { display: grid; gap: 8px; }
.tierb-layer { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 18px 22px; border-radius: 12px; border: 1px dashed var(--line-strong); color: var(--muted); opacity: 0.45; translate: 0 6px; transition: opacity 0.4s ease, translate 0.4s ease, border-color 0.3s ease, background-color 0.3s ease; }
.tierb-layer b { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; font-size: 1.15rem; color: inherit; }
.tierb-layer span { font-size: 14px; text-align: end; }
.tierb-layer.is-on { opacity: 1; translate: 0 0; border-style: solid; border-color: rgba(46, 203, 255, 0.35); background: rgba(10, 123, 255, 0.07); color: var(--soft); }
.tierb-layer.is-on b { color: var(--cyan); }
.tierb-layer.is-top { border-color: var(--cyan); background: linear-gradient(90deg, rgba(10, 123, 255, 0.22), rgba(61, 75, 240, 0.1)); color: var(--fg); box-shadow: 0 16px 40px -24px rgba(10, 123, 255, 0.8); }
.tierb-layer.is-top b { color: var(--fg); }
.tierb-cap { grid-column: 1 / -1; color: var(--soft); padding: 14px 18px; border-inline-start: 2px solid var(--cyan); background: rgba(46, 203, 255, 0.05); border-radius: 0 10px 10px 0; }
.buy-item { transition: background-color 0.3s ease; }
.buy-item:hover { background: var(--raise-2) !important; }
.hours-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px; align-items: center; }
@media (max-width: 900px) { .hours-wrap { grid-template-columns: minmax(0, 1fr); } }
.hours [data-mode] { cursor: pointer; }
.hours [data-mode].is-sel { border-color: var(--cyan); }
.dial { position: relative; margin: 0; width: min(340px, 100%); justify-self: center; display: grid; gap: 14px; }
.dial svg { width: 100%; height: auto; }
.dial-ticks line { stroke: var(--line-strong); stroke-width: 1; }
.dial text { font-family: var(--f-mono); font-size: 8px; fill: var(--muted); }
.arc-biz { fill: none; stroke: var(--cyan); stroke-width: 10; stroke-linecap: round; }
.arc-oncall { fill: none; stroke: var(--amber); stroke-width: 3; stroke-dasharray: 2 5; stroke-linecap: round; opacity: 0.8; }
.arc-mdr { fill: none; stroke: url(#a4-grad); stroke-width: 6; stroke-dasharray: 1; stroke-dashoffset: 1; transform: rotate(-90deg); transform-origin: 100px 100px; transition: stroke-dashoffset 1s cubic-bezier(0.3, 0.7, 0.2, 1); }
.dial.is-mdr .arc-mdr { stroke-dashoffset: 0; }
.dial-hand-dot { fill: var(--cyan); }
.dial-c { position: absolute; inset-inline: 0; inset-block-start: 0; aspect-ratio: 1; display: grid; place-content: center; text-align: center; gap: 4px; pointer-events: none; padding: 30%; }
.dial-c b { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; color: var(--fg); font-size: 1.3rem; }
.dial-c span { font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--soft); }
.dial-key { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.dial-key li { display: inline-flex; align-items: center; gap: 7px; }
.dial-key i { width: 14px; height: 4px; border-radius: 2px; }
.k-biz { background: var(--cyan); } .k-oncall { background: var(--amber); } .k-mdr { background: var(--grad); }
.dial figcaption { text-align: center; }

/* ---------- AIShield ---------- */
.ai-step { position: relative; transition: border-color 0.3s ease, background-color 0.3s ease; }
.ai-step.is-on { border-color: var(--cyan); background: linear-gradient(180deg, rgba(10, 123, 255, 0.14), rgba(10, 123, 255, 0.03)), var(--raise); }
.ai-step.is-done .step-num { color: var(--green); }
.step-hit { all: unset; cursor: pointer; }
.step-hit::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.step-hit:focus-visible::after { outline: 2px solid var(--cyan); outline-offset: 3px; }
.ai-step h3 { position: static; }
.aid { margin-block-start: 20px; display: grid; gap: 16px; min-height: 230px; align-content: start; }
.aid-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.aid-head .mono { color: var(--muted); font-size: 11px; }
.aid-stage { color: var(--cyan) !important; }
.aid-view { display: none; gap: 14px; }
.aid-view.is-on { display: grid; }
.aid-prompt { font-size: 1.08rem; line-height: 1.9; color: var(--fg); padding: 16px 18px; border-radius: 12px; background: rgba(12, 12, 21, 0.6); border: 1px solid var(--line); }
.aid-prompt mark { position: relative; color: var(--fg); padding: 2px 6px; border-radius: 6px; background: transparent; }
.m-val { background: rgba(255, 92, 108, 0.14) !important; box-shadow: inset 0 -2px 0 var(--red); }
.m-mean { background: rgba(245, 181, 68, 0.14) !important; box-shadow: inset 0 -2px 0 var(--amber); }
.m-tok { font-family: var(--f-mono); font-size: 0.86em; background: rgba(10, 123, 255, 0.2) !important; color: var(--cyan) !important; }
.m-ok { background: rgba(61, 214, 140, 0.14) !important; box-shadow: inset 0 -2px 0 var(--green); }
.aid-prompt mark[data-tip]:hover::after { content: attr(data-tip); position: absolute; inset-inline-start: 0; inset-block-end: calc(100% + 6px); white-space: nowrap; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 9px; border-radius: 6px; background: var(--raise-2); border: 1px solid var(--line-strong); color: var(--fg); z-index: 2; }
.aid-rules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 620px) { .aid-rules { grid-template-columns: minmax(0, 1fr); } }
.aid-rules li { display: grid; gap: 4px; padding: 14px; border-radius: 10px; border: 1px solid var(--line); background: rgba(12, 12, 21, 0.5); }
.aid-rules .mono, .aid-route .mono, .aid-decision .mono { color: var(--muted); font-size: 10.5px; }
.aid-rules b { color: var(--fg); font-weight: 600; }
.aid-decision, .aid-route { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; padding: 14px 16px; border-radius: 10px; border: 1px solid rgba(46, 203, 255, 0.5); background: rgba(10, 123, 255, 0.1); }
.aid-decision b, .aid-route b { color: var(--cyan); font-weight: 600; }
.aid-log { color: var(--green); font-size: 11.5px; padding: 12px 14px; border-radius: 10px; border: 1px dashed rgba(61, 214, 140, 0.45); }
.aid-progress { height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.aid-progress i { display: block; height: 100%; width: 0; background: var(--grad); }
.popup-actions button { all: unset; box-sizing: border-box; display: flex; justify-content: center; align-items: center; min-height: 42px; border-radius: 999px; font-weight: 600; font-size: 14.5px; border: 1px solid var(--line-strong); color: var(--fg); cursor: pointer; transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.2s ease; }
.popup-actions button:hover { border-color: var(--cyan); background: rgba(10, 123, 255, 0.12); }
.popup-actions button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.popup-actions button.primary { background-image: var(--grad); background-size: 200% 100%; color: var(--ink); border-color: transparent; }
.popup-actions button[hidden] { display: none; }
.popup-actions .pop-reset { border-style: dashed; color: var(--soft); }
.detect li { transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease; }
.detect li.is-masked { border-color: rgba(61, 214, 140, 0.45); color: var(--green); font-family: var(--f-mono); font-size: 13px; }
.popup.is-ok .popup-head .mono { color: var(--green); }
.popup.is-private .popup-head .mono { color: var(--cyan); }
.popup.is-private .detect li { border-color: rgba(46, 203, 255, 0.45); }
.popup.is-cancel .popup-head .mono { color: var(--muted); }
.popup.is-cancel .detect li { opacity: 0.45; }

/* ---------- About: vision & mission ---------- */
.vm2 { display: grid; gap: 20px; }
.vm-card { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 56px); }
.vm-card--vision { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); }
.vm-card--mission { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
@media (max-width: 900px) { .vm-card--vision, .vm-card--mission { grid-template-columns: minmax(0, 1fr); } }
.vm-card h2 { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); margin-block-end: 16px; }
.vm-card .vm-head { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1.05; color: var(--fg); }
.vm-card .vm-text { font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.7; color: var(--soft); margin-block-start: 18px; }
.vm-orbit { position: relative; width: min(320px, 100%); aspect-ratio: 1; justify-self: center; }
.vm-orbit svg { width: 100%; height: 100%; overflow: visible; }
.vm-spin { transform-origin: 100px 100px; }
.vm-orbit text { font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.1em; fill: var(--soft); }
.vm-ring-track { fill: none; stroke: rgba(242, 242, 243, 0.08); stroke-width: 2; }
.vm-ring { fill: none; stroke: url(#a4-grad); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; transform: rotate(-90deg); transform-origin: 100px 100px; }
.vm-orbit-c { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; }
.vm-orbit-c img { width: 34px; height: auto; }
.vm-orbit-c b { font-family: var(--f-display); font-weight: 500; font-size: clamp(2.4rem, 6vw, 3.4rem); line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vm-flow { display: flex; align-items: center; gap: 14px; margin-block-start: 20px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.vm-flow span:last-child { color: var(--cyan); }
.vm-track { position: relative; flex: 1; max-width: 220px; height: 2px; background: linear-gradient(90deg, rgba(242, 242, 243, 0.14), rgba(46, 203, 255, 0.6)); border-radius: 2px; }
.vm-track i { position: absolute; inset-block-start: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); inset-inline-start: 0; opacity: 0; }
.mk { color: var(--fg); background-image: linear-gradient(var(--cyan), var(--cyan)); background-size: 0% 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size 0.4s ease, color 0.3s ease; cursor: default; }
.mk.is-on { background-size: 100% 2px; color: var(--cyan); }
.vm-conv { width: 100%; height: auto; overflow: visible; }
.cv-node rect, .cv-plat rect { fill: var(--raise-2); stroke: var(--line-strong); stroke-width: 1; transition: stroke 0.3s ease, fill 0.3s ease; }
.cv-node text, .cv-plat text { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.08em; fill: var(--soft); pointer-events: none; }
.cv-line { fill: none; stroke: rgba(46, 203, 255, 0.25); stroke-width: 1.2; transition: stroke 0.3s ease; }
.cv-flow { fill: none; stroke: var(--cyan); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 0.06 0.94; stroke-dashoffset: 1; opacity: 0.8; }
.cv-node, .cv-plat { cursor: default; }
.cv-plat rect { fill: rgba(10, 123, 255, 0.16); stroke: rgba(46, 203, 255, 0.6); }
.cv-plat text { fill: var(--fg); }
.cv-node.is-on rect { stroke: var(--cyan); fill: rgba(10, 123, 255, 0.2); }
.cv-node.is-on text { fill: var(--fg); }
.cv-node.is-on .cv-line { stroke: var(--cyan); }
[data-mission].has-on .cv-node:not(.is-on) { opacity: 0.45; }
.cv-node { transition: opacity 0.3s ease; }
.cv-plat.is-on rect { stroke: var(--cyan); fill: rgba(10, 123, 255, 0.3); }

@media (prefers-reduced-motion: no-preference) {
  .cyd-orbit { animation: spin 24s linear infinite; }
  .cyd-detail .is-swap .chip { animation: pop-in 0.4s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: calc(var(--k, 0) * 70ms); }
  .radial.play .rl { animation: rl-draw 0.7s cubic-bezier(0.3, 0.7, 0.2, 1) both; animation-delay: calc(var(--i) * 60ms); }
  .radial.play .rnode { animation: pop-in 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: calc(var(--i) * 60ms + 200ms); }
  .radial.play .rcore { animation: core-pulse 0.9s ease 0.1s; }
  @keyframes rl-draw { from { stroke-dashoffset: 1; } }
  .radial--int .rf { opacity: 1; animation: flow-in 2.6s linear infinite; }
  .radial--int .rf:nth-of-type(4n) { animation-delay: -0.7s; } .radial--int .rf:nth-of-type(4n+2) { animation-delay: -1.5s; } .radial--int .rf:nth-of-type(3n) { animation-delay: -2.1s; }
  @keyframes flow-in { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
  .h1-mark::after { animation: underline 1.1s 0.6s cubic-bezier(0.3, 0.7, 0.2, 1) both; }
  @keyframes underline { from { transform: scaleX(0); } }
  .branch .hub-lines path { animation: rl-draw 0.8s cubic-bezier(0.3, 0.7, 0.2, 1) both; }
  .branch .hub-lines path:nth-child(2) { animation-delay: 0.08s; } .branch .hub-lines path:nth-child(3) { animation-delay: 0.16s; } .branch .hub-lines path:nth-child(4) { animation-delay: 0.24s; }
  .branch .hub-core { animation: core-pulse 0.8s ease; }
  .branch .hub-regs .reg { animation: pop-in 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .branch .hub-regs .reg:nth-child(1) { animation-delay: 0.45s; } .branch .hub-regs .reg:nth-child(2) { animation-delay: 0.53s; } .branch .hub-regs .reg:nth-child(3) { animation-delay: 0.61s; } .branch .hub-regs .reg:nth-child(4) { animation-delay: 0.69s; }
  .repeat .reg-stack .reg { animation: amber-flash 0.9s ease both; }
  .repeat .reg-stack .reg:nth-child(2) { animation-delay: 0.2s; } .repeat .reg-stack .reg:nth-child(3) { animation-delay: 0.4s; } .repeat .reg-stack .reg:nth-child(4) { animation-delay: 0.6s; }
  .dl-flow { animation: sweep-x 3.6s ease-in-out infinite; }
  @keyframes sweep-x { to { inset-inline-start: 100%; } }
  .ft-packet { animation: packet 3.4s cubic-bezier(0.6, 0, 0.4, 1) infinite; }
  @keyframes packet { 0% { inset-inline-start: 16.66%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { inset-inline-start: 83.33%; opacity: 0; } }
  .bubble.is-new, .bubble-note.is-new { animation: pop-up 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  @keyframes pop-up { from { opacity: 0; translate: 0 10px; } }
  .typing i { animation: typing 1s ease-in-out infinite; }
  .typing i:nth-child(2) { animation-delay: 0.15s; } .typing i:nth-child(3) { animation-delay: 0.3s; }
  @keyframes typing { 50% { opacity: 1; translate: 0 -3px; } }
  .seg { animation: rl-seg 1.2s cubic-bezier(0.3, 0.7, 0.2, 1) both; }
  @keyframes rl-seg { from { stroke-dasharray: 0 100; } }
  .aid-view.is-enter { animation: pop-up 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .aid-view.is-enter mark { animation: mark-in 0.6s ease both; }
  .aid-view.is-enter mark:nth-of-type(2) { animation-delay: 0.15s; } .aid-view.is-enter mark:nth-of-type(3) { animation-delay: 0.3s; } .aid-view.is-enter mark:nth-of-type(4) { animation-delay: 0.45s; }
  @keyframes mark-in { from { background-color: transparent; box-shadow: none; } }
  .popup.is-scan .detect li { animation: pop-in 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .popup.is-scan .detect li:nth-child(2) { animation-delay: 0.2s; } .popup.is-scan .detect li:nth-child(3) { animation-delay: 0.4s; }
  .popup.is-scan .popup-actions button { animation: pop-up 0.4s ease both; animation-delay: 0.65s; }
  .vm-spin { animation: spin 40s linear infinite; }
  .vm-ring { animation: rl-draw 2s 0.4s cubic-bezier(0.3, 0.7, 0.2, 1) both; }
  .vm-track i { animation: downstream 3.2s linear infinite; }
  .vm-track i:nth-child(2) { animation-delay: 0.8s; } .vm-track i:nth-child(3) { animation-delay: 1.6s; } .vm-track i:nth-child(4) { animation-delay: 2.4s; }
  @keyframes downstream { 0% { inset-inline-start: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { inset-inline-start: calc(100% - 8px); opacity: 0; } }
  .cv-flow { animation: flow-out 3s linear infinite; }
  .cv-node:nth-child(2) .cv-flow { animation-delay: -0.75s; } .cv-node:nth-child(3) .cv-flow { animation-delay: -1.5s; } .cv-node:nth-child(4) .cv-flow { animation-delay: -2.25s; }
  @keyframes flow-out { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
}
@media (prefers-reduced-motion: reduce) { .rf, .cv-flow, .vm-track i { display: none; } }
.aid, .aid-view { grid-template-columns: minmax(0, 1fr); } .aid .chip { white-space: normal; } .aid-prompt { overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) { .svc p { transform: translateY(115%); visibility: hidden; transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s 0.4s; } .svc:hover p, .svc:focus p, .svc:focus-within p { visibility: visible; transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s; } }

/* ---------- Home: full-width "Who we are" headline ---------- */
.hero-title { margin-block-end: clamp(24px, 3vw, 40px); }
h1.display.hero-h1--wide { font-size: clamp(2.1rem, 4.4vw, 3.6rem); line-height: 1.06; }
h1.display.hero-h1--wide .line + .line { margin-block-start: 6px; }
.hero-l1 { text-wrap: balance; }
.hero-grid--top { align-items: start; }
.hero-title + .hero-grid .lead { margin-block-start: 0; }

/* ---------- Wider section heads ---------- */
.section-head--wide { max-width: 1040px; }

/* ---------- Home: NIST Cybersecurity Framework wheel ---------- */
.nist-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.nist { margin: 0; display: grid; place-items: center; }
.nist-wheel { position: relative; width: min(100%, 500px); aspect-ratio: 1; }
.nist-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.nist-seg path { stroke: rgba(46, 203, 255, 0.18); stroke-width: 1; transition: filter 0.3s ease, transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); transform-origin: 200px 200px; }
.nist-seg:hover path { filter: brightness(1.18); transform: scale(1.025); }
.nist-seg text { font-family: var(--f-display); font-size: 24px; letter-spacing: 0.06em; fill: #fff; pointer-events: none; }
.nist-hub { fill: var(--ink); stroke: rgba(46, 203, 255, 0.55); stroke-width: 1.5; }
.nist-core { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.nist-core img { width: 22%; height: auto; filter: drop-shadow(0 0 24px rgba(10, 123, 255, 0.55)); }
.nist-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.nist-item { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 14px; align-items: start; padding-block: 12px; border-block-end: 1px solid var(--line); }
.nist-item:last-child { border-block-end: 0; }
.nist-item h3 { font-size: 1.08rem; margin-block-end: 2px; }
.nist-item p { color: var(--muted); font-size: 0.95rem; }
.nist-dot { width: 12px; height: 12px; border-radius: 50%; margin-block-start: 6px; }
.nist-item--0 .nist-dot { background: #1C8EE6; }
.nist-item--1 .nist-dot { background: #0D72D6; }
.nist-item--2 .nist-dot { background: #0A5BC0; }
.nist-item--3 .nist-dot { background: #1B46A8; }
.nist-item--4 .nist-dot { background: #2B3592; }
@media (max-width: 900px) { .nist-split { grid-template-columns: minmax(0, 1fr); } .nist-wheel { width: min(100%, 420px); } }
@media (prefers-reduced-motion: reduce) { .nist-seg path { transition: none; } .nist-seg:hover path { transform: none; } }
.section-head--wide .lead { max-width: 84ch; }

/* ---------- Headline phrases kept on one line (wrap only on small screens) ---------- */
@media (min-width: 760px) {
  .one-line { white-space: nowrap; }
  .section-head:has(.one-line) { max-width: none; }
}
.map-link { display: inline-flex; margin-block-start: 8px; font-size: 14px; }
/* AIShield hero headline: two lines, sized to always fit the page */
h1.display.h1-ais { font-size: clamp(2rem, 4.8vw, 4rem); line-height: 1.06; max-width: 100%; overflow-wrap: break-word; text-wrap: balance; }
/* Long section headline sized to fit the page; wraps cleanly if the screen is too narrow */
h2.display.h2-fit { font-size: clamp(1.7rem, 3.3vw, 2.6rem); text-wrap: balance; overflow-wrap: break-word; }
/* Round partner marks (e.g. Randtronics) need more height to read at the same size as wordmarks */
.logo-cell--xl { padding: 10px; }
.logo-cell--xl img { max-height: 104px; max-width: 80%; }
@media (max-width: 620px) { .logo-cell--xl img { max-height: 84px; } }

/* ---------- Brand watermark (from the CyberA document template) ----------
   A faint, fixed CyberA shield mark on every page. It sits above section backgrounds
   but below the header, ignores clicks, and is too faint to affect legibility. */
body::before {
  content: ""; position: fixed; z-index: 40; pointer-events: none;
  inset-block: 0; inset-inline-start: 0; width: min(46vw, 620px);
  background: url("/assets/img/watermark.png") left center / contain no-repeat;
  opacity: 0.045;
}
[dir="rtl"] body::before { transform: scaleX(-1); }
@media (max-width: 720px) { body::before { width: 78vw; opacity: 0.035; } }
@media print { body::before { display: none; } }
/* Home "Why we exist" headline sits in a half-width column: size it so "business responsibility," fits */
h2.display.h2-why { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }

/* ==========================================================================
   Phone & touch adjustments (iOS / Android)
   Every rule below is scoped to small screens, touch-only devices, or uses
   values that resolve to zero on desktop, so Windows and macOS are unchanged.
   ========================================================================== */

/* 1. No sideways sliding. iOS Safari ignores overflow-x on <body> alone;
      `clip` (unlike `hidden`) does not create a scroll container, so the
      sticky header keeps working. */
@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}

/* 2. Long headlines wrap on phones instead of running off the screen. */
@media (max-width: 600px) {
  .nowrap { white-space: normal; }
  h1.display, h2.display { overflow-wrap: break-word; text-wrap: balance; }
  h1.display.hero-h1--wide { font-size: clamp(1.75rem, 8.4vw, 2.3rem); }
}
@media (max-width: 420px) {
  .cyd-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cyd-stats li { padding: 12px 10px; min-width: 0; }
  .cyd-stats span { letter-spacing: 0.06em; overflow-wrap: break-word; }
}

/* 3. Lighter background glows on phones: smaller, softer, still. */
@media (max-width: 720px) {
  .glow { animation: none !important; filter: blur(60px); }
  .glow--blue { width: 300px; height: 300px; inset-block-start: -110px; inset-inline-end: -90px; }
  .glow--indigo { width: 260px; height: 260px; inset-block-end: -130px; inset-inline-start: -100px; }
  .cta-band .glow--blue { inset-block-end: -160px; }
}

/* 4. Touch screens: hover lifts and shifts don't stick after a tap. */
@media (hover: none) {
  a.card:hover, .card:not(a):hover, .person:hover, .dept-cell:hover { transform: none; translate: none; }
  .a-card:hover .a-icon { transform: none; }
  .btn:hover .arr, .text-link:hover .arr { transform: none; }
  [dir="rtl"] .btn:hover .arr, [dir="rtl"] .text-link:hover .arr { transform: scaleX(-1); }
  .btn--primary:hover::after { transform: translateX(-120%); }
  a, button, [role="button"], label { -webkit-tap-highlight-color: rgba(46, 203, 255, 0.15); }
}

/* 5. iPhone notch / home bar: keep content inside the safe area (env() is 0 elsewhere). */
.wrap {
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.site-footer { padding-block-end: max(36px, calc(env(safe-area-inset-bottom, 0px) + 20px)); }

/* 6. iOS zooms into form fields under 16px; keep them at 16px on touch devices. */
@media (pointer: coarse) {
  .field input, .field select, .field textarea, .svc-search input { font-size: 16px; }
}
