/* ═══════════════════════════════════════════════════════════════
   Bitlyne — unified UI polish (all pages)
   ═══════════════════════════════════════════════════════════════ */

:root {
  --glass-bg: linear-gradient(165deg, rgba(22, 32, 58, 0.75) 0%, rgba(10, 16, 32, 0.88) 100%);
  --glass-border: rgba(107, 155, 255, 0.14);
  --glow-blue: 0 0 40px rgba(27, 79, 232, 0.12);
  --glow-soft: 0 8px 32px rgba(0, 0, 0, 0.28);
  --accent-line: linear-gradient(90deg, transparent, var(--violet-light), var(--indigo-light), transparent);
}

/* ── Section typography ── */
.section-label {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(27, 79, 232, 0.1);
  border: 1px solid rgba(107, 155, 255, 0.25);
  box-shadow: 0 0 20px rgba(27, 79, 232, 0.08);
  margin-bottom: 16px;
}
.section-h2 {
  color: var(--text);
  text-shadow: 0 2px 24px rgba(27, 79, 232, 0.12);
}
.section-h2 .hl-gradient {
  filter: drop-shadow(0 2px 12px rgba(27, 79, 232, 0.2));
}

/* ── Shared glass card base ── */
.glass-surface {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glow-soft), var(--glow-blue);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Marketing cards */
.exp-card,
.mf-card,
.step-card,
.market-pkg,
.feature-group,
.hub-card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--glow-soft);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}
.exp-card::before,
.mf-card::before,
.hub-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent-line);
  opacity: 0.6;
}
.exp-card:hover,
.mf-card:hover,
.hub-card:hover {
  border-color: rgba(107, 155, 255, 0.35);
  box-shadow: var(--glow-soft), 0 0 32px rgba(27, 79, 232, 0.15);
  transform: translateY(-3px);
}

/* Icon wells */
.exp-tags li {
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(27, 79, 232, 0.1);
}
.tag-pill,
.status-chip {
  backdrop-filter: blur(6px);
}

.exp-icon,
.hub-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(27, 79, 232, 0.2), rgba(27, 79, 232, 0.06));
  border: 1px solid rgba(107, 155, 255, 0.25);
  margin-bottom: 14px;
  box-shadow: 0 4px 16px rgba(27, 79, 232, 0.12);
}

/* Hero */
.hero-eyebrow {
  background: linear-gradient(135deg, rgba(27, 79, 232, 0.14), rgba(227, 24, 35, 0.08));
  border-color: rgba(107, 155, 255, 0.3);
  box-shadow: 0 4px 24px rgba(27, 79, 232, 0.1);
}
.hero h1 {
  filter: drop-shadow(0 4px 24px rgba(27, 79, 232, 0.15));
}
.pill {
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.coming-soon-strip {
  background: linear-gradient(90deg, rgba(27, 79, 232, 0.12), rgba(27, 79, 232, 0.04));
  border: 1px solid rgba(107, 155, 255, 0.2);
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(27, 79, 232, 0.08);
}

/* Forms */
.access-form,
.af-field input,
.form-field input {
  border-color: rgba(255, 255, 255, 0.1);
}
.af-field input,
.form-field input {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
}
.af-field input:focus,
.form-field input:focus {
  border-color: var(--violet-light);
  box-shadow: 0 0 0 3px rgba(27, 79, 232, 0.2), 0 0 20px rgba(27, 79, 232, 0.1);
}
.btn-primary {
  box-shadow: 0 4px 24px rgba(27, 79, 232, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

/* Spotlight tags */
.spot-tag {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(6px);
}

/* Marketplace */
.market-pkg {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.08), rgba(255, 255, 255, 0.02));
  border-color: rgba(251, 191, 36, 0.2);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
}
.market-pkg-featured {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.14), rgba(27, 79, 232, 0.06));
  border-color: rgba(251, 191, 36, 0.35);
  box-shadow: 0 4px 20px rgba(217, 119, 6, 0.1);
}
.mpkg-install {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.25), rgba(217, 119, 6, 0.1));
  border-radius: 999px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.mpkg-install:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
}

/* Feature atlas */
.feature-group {
  border-radius: var(--radius);
  border-color: rgba(255, 255, 255, 0.08);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.feature-group[open] {
  border-color: rgba(107, 155, 255, 0.35);
  box-shadow: 0 8px 32px rgba(27, 79, 232, 0.1);
}
.feature-group summary {
  background: linear-gradient(90deg, rgba(27, 79, 232, 0.06), transparent);
}
.feature-list li::before {
  box-shadow: 0 0 8px rgba(27, 79, 232, 0.5);
}

/* Final CTA */
.final-cta {
  background: linear-gradient(180deg, transparent 0%, rgba(27, 79, 232, 0.06) 40%, rgba(227, 24, 35, 0.04) 100%);
}
.fcta-glow {
  background: radial-gradient(circle, rgba(27, 79, 232, 0.18) 0%, rgba(227, 24, 35, 0.06) 40%, transparent 70%) !important;
  filter: blur(2px);
}
.fcta-inner {
  background: linear-gradient(165deg, rgba(22, 32, 58, 0.6), rgba(10, 16, 32, 0.8));
  border: 1px solid rgba(107, 155, 255, 0.2);
  border-radius: calc(var(--radius) + 8px);
  padding: 48px 32px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3), 0 0 60px rgba(27, 79, 232, 0.08);
  backdrop-filter: blur(12px);
}

/* Calm banner */
.calm-banner-inner {
  background: linear-gradient(135deg, rgba(27, 79, 232, 0.1), rgba(5, 150, 105, 0.06));
  border-color: rgba(107, 155, 255, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* ═══ ACCESS & DOC PAGES ═══ */
body[data-page^="access"] .page-wrap {
  padding-top: 8px;
}

body[data-page^="access"] .page-content {
  background: linear-gradient(180deg, rgba(27, 79, 232, 0.04) 0%, transparent 120px);
  border-radius: calc(var(--radius) + 4px);
  padding: 8px 4px 24px;
}

body[data-page^="access"] .breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 20px;
}

body[data-page^="access"] .page-content h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 16px;
  filter: drop-shadow(0 2px 16px rgba(27, 79, 232, 0.12));
}

body[data-page^="access"] .page-lead {
  font-size: 1.02rem;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--violet);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  max-width: 100%;
}

body[data-page^="access"] .page-content h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  padding-top: 8px;
}
body[data-page^="access"] .page-content h2::before {
  content: "";
  width: 4px;
  height: 1.1em;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--violet-light), var(--indigo-light));
  flex-shrink: 0;
}

/* Sidebar */
.page-sidebar {
  background: linear-gradient(180deg, rgba(22, 32, 58, 0.85), rgba(10, 16, 32, 0.92));
  border-color: rgba(107, 155, 255, 0.15);
  box-shadow: var(--glow-soft), var(--glow-blue);
}
.page-sidebar a.active {
  background: linear-gradient(90deg, rgba(27, 79, 232, 0.18), transparent);
  border-right: 2px solid var(--violet-light);
  color: #fff;
}

/* Tables */
.table-scroll {
  border: 1px solid rgba(107, 155, 255, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.doc-table th {
  background: linear-gradient(180deg, rgba(27, 79, 232, 0.2), rgba(27, 79, 232, 0.1));
  border-color: rgba(107, 155, 255, 0.15);
  font-size: 0.75rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.doc-table td {
  border-color: rgba(255, 255, 255, 0.06);
}
.doc-table tr:hover td {
  background: rgba(27, 79, 232, 0.06);
}
.doc-table code {
  background: rgba(27, 79, 232, 0.15);
  border: 1px solid rgba(107, 155, 255, 0.2);
  padding: 2px 8px;
  border-radius: 4px;
}

/* Callouts */
.callout {
  border-radius: var(--radius-sm);
  border: 1px solid rgba(107, 155, 255, 0.2);
  border-left-width: 4px;
  background: linear-gradient(90deg, rgba(27, 79, 232, 0.12), rgba(27, 79, 232, 0.04));
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.callout-warn {
  border-color: rgba(251, 191, 36, 0.25);
  border-left-color: var(--amber-light);
  background: linear-gradient(90deg, rgba(217, 119, 6, 0.12), rgba(217, 119, 6, 0.04));
}

/* Hub cards (access overview) */
.hub-card {
  padding: 26px 22px 24px;
}
.hub-card span:last-child,
.hub-card > span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 0;
  font-size: 0.78rem;
  transition: gap 0.2s;
}
.hub-card:hover span {
  gap: 8px;
}

/* Doc pager */
.doc-pager a {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border-color: rgba(107, 155, 255, 0.15);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.doc-pager a:hover {
  border-color: rgba(107, 155, 255, 0.4);
  box-shadow: 0 8px 24px rgba(27, 79, 232, 0.12);
  transform: translateY(-2px);
}

/* Access strip tabs */
.access-strip {
  background: linear-gradient(180deg, rgba(27, 79, 232, 0.1) 0%, rgba(27, 79, 232, 0.02) 100%);
}
.access-tab.is-active {
  box-shadow: 0 4px 16px rgba(27, 79, 232, 0.25);
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, transparent, rgba(8, 15, 31, 0.95));
}
.footer-brand a img {
  filter: drop-shadow(0 2px 8px rgba(27, 79, 232, 0.2));
}

/* Header CTA on desktop */
.site-header .header-cta {
  box-shadow: 0 4px 16px rgba(27, 79, 232, 0.35);
}

/* Solve wide card */
.solve-card-wide {
  background: linear-gradient(135deg, rgba(27, 79, 232, 0.1), rgba(227, 24, 35, 0.05)) !important;
  border-color: rgba(107, 155, 255, 0.25) !important;
}

/* UC tags */
.uc-tag {
  background: rgba(27, 79, 232, 0.1);
  border-color: rgba(107, 155, 255, 0.2);
  color: var(--violet-light);
}

/* ═══ SITE-WIDE READING & SECTIONS ═══ */
.section-copy {
  padding: 0 12px;
}
.section-rest {
  box-shadow: 0 4px 20px rgba(5, 150, 105, 0.08);
  backdrop-filter: blur(8px);
}
.diagram-caption {
  font-size: 0.72rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--violet-light);
  opacity: 0.85;
}
.content-bullets li {
  padding: 10px 14px;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s, background 0.2s;
}
.content-bullets li:hover {
  border-color: rgba(107, 155, 255, 0.2);
  background: rgba(27, 79, 232, 0.06);
}

/* Principle / how-it-works */
.principle-inner {
  padding: 40px 32px 44px;
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(165deg, rgba(22, 32, 58, 0.55), rgba(10, 16, 32, 0.75));
  border: 1px solid rgba(107, 155, 255, 0.12);
  box-shadow: var(--glow-soft), var(--glow-blue);
  backdrop-filter: blur(12px);
  text-align: center;
}
.principle-inner .section-copy {
  margin-left: auto;
  margin-right: auto;
}
.principle-inner .diagram-panel {
  margin-left: auto;
  margin-right: auto;
}

.how-it-works .steps-row {
  gap: 16px;
  margin-top: 8px;
}
.step-card {
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.step-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: var(--accent-line);
  opacity: 0.5;
}
.step-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  font-size: 1.1rem !important;
  letter-spacing: 0 !important;
  -webkit-text-fill-color: #fff !important;
  background: linear-gradient(135deg, #1B4FE8, #6B9BFF) !important;
  box-shadow: 0 6px 20px rgba(27, 79, 232, 0.35);
  margin-bottom: 16px !important;
}

/* Spotlight blocks */
.spotlight-content {
  padding: 8px 4px;
}
.spotlight-visual {
  padding: 20px;
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(165deg, rgba(22, 32, 58, 0.5), rgba(10, 16, 32, 0.7));
  border: 1px solid rgba(107, 155, 255, 0.12);
  box-shadow: var(--glow-soft);
  backdrop-filter: blur(10px);
}
.spot-tag {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
}
.spot-list li {
  padding: 8px 12px;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.spot-list li:hover {
  border-color: rgba(107, 155, 255, 0.15);
  background: rgba(27, 79, 232, 0.05);
}
.spotlight-content .diagram-panel {
  margin-top: 8px;
}

/* Ops demo + code window */
.ops-demo {
  border-color: rgba(107, 155, 255, 0.3) !important;
  box-shadow: var(--glow-soft), 0 0 48px rgba(27, 79, 232, 0.1) !important;
}
.ops-record-title {
  background: linear-gradient(90deg, #fff, #94a3b8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.code-window {
  border-color: rgba(107, 155, 255, 0.28) !important;
  box-shadow: var(--glow-soft), 0 0 40px rgba(27, 79, 232, 0.1) !important;
}
.code-titlebar {
  background: linear-gradient(90deg, rgba(27, 79, 232, 0.12), transparent) !important;
}

/* Experiences + more-features sections */
.experiences-section,
.more-features,
.features-atlas,
.solutions-section,
.roadmap-section {
  position: relative;
}
.experiences-section::before,
.solutions-section::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: min(480px, 80%);
  height: 1px;
  background: var(--accent-line);
  opacity: 0.35;
  pointer-events: none;
}

/* Marketplace grid */
.market-grid {
  gap: 12px;
}
.mpkg-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.2), rgba(217, 119, 6, 0.06));
  border: 1px solid rgba(251, 191, 36, 0.25);
  flex-shrink: 0;
}
.mpkg-badge {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.market-pkg-publish {
  background: linear-gradient(135deg, rgba(27, 79, 232, 0.12), rgba(227, 24, 35, 0.08)) !important;
  border-color: rgba(107, 155, 255, 0.3) !important;
}

/* Capability + mf icons */
.mf-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(27, 79, 232, 0.2), rgba(27, 79, 232, 0.06));
  border: 1px solid rgba(107, 155, 255, 0.25);
  margin-bottom: 14px;
  box-shadow: 0 4px 16px rgba(27, 79, 232, 0.12);
}

/* Solutions cards */
.solve-card,
.solve-card-hybrid {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--glow-soft);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}
.solve-card::before,
.solve-card-hybrid::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent-line);
  opacity: 0.55;
}
.solve-card-hybrid {
  border-color: rgba(107, 155, 255, 0.2);
  background: linear-gradient(165deg, rgba(27, 79, 232, 0.08), rgba(255, 255, 255, 0.02));
}
.solve-card:hover,
.solve-card-hybrid:hover {
  border-color: rgba(107, 155, 255, 0.35);
  box-shadow: var(--glow-soft), 0 0 28px rgba(27, 79, 232, 0.12);
  transform: translateY(-3px);
}
.solve-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(27, 79, 232, 0.12);
  border: 1px solid rgba(107, 155, 255, 0.2);
  font-size: 1.15rem !important;
}
.solve-problem {
  padding: 12px 14px;
  border-radius: var(--radius-xs);
  background: rgba(153, 27, 27, 0.08);
  border-left: 3px solid rgba(248, 113, 113, 0.5);
}
.solve-resolve {
  padding: 12px 14px;
  border-radius: var(--radius-xs);
  background: rgba(5, 150, 105, 0.08);
  border-left: 3px solid rgba(52, 211, 153, 0.45);
  margin-top: 10px;
}
.flow-chart {
  padding: 14px 12px;
  margin-bottom: 14px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(107, 155, 255, 0.12);
}

/* Diagram fold (solutions optional diagrams) */
.diagram-fold {
  border: 1px solid rgba(107, 155, 255, 0.22) !important;
  background: linear-gradient(165deg, rgba(27, 79, 232, 0.08), rgba(10, 16, 32, 0.4)) !important;
  box-shadow: var(--glow-soft);
  backdrop-filter: blur(8px);
  padding: 6px 20px 16px !important;
}
.diagram-fold summary {
  display: flex;
  align-items: center;
  gap: 10px;
}
.diagram-fold summary::before {
  content: "◆";
  font-size: 0.55rem;
  color: var(--violet-light);
  opacity: 0.8;
}
.diagram-fold[open] summary::before {
  content: "▼";
  font-size: 0.5rem;
}
.diagram-fold[open] {
  border-color: rgba(107, 155, 255, 0.35) !important;
  box-shadow: var(--glow-soft), 0 0 32px rgba(27, 79, 232, 0.1);
}

/* Roadmap */
.roadmap-section .diagram-panel {
  text-align: left;
}
.roadmap-step {
  padding: 16px 10px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.25s;
}
.roadmap-step:hover {
  background: rgba(27, 79, 232, 0.06);
}
.roadmap-step ul {
  background: rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-xs);
  padding: 10px 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.diagram-panel pre.mermaid.diagram-timeline {
  padding: 12px 8px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.15);
}

/* Hero + header chrome */
.hero {
  position: relative;
}
.site-header {
  border-bottom-color: rgba(107, 155, 255, 0.12) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}
.site-header .logo img {
  filter: drop-shadow(0 2px 12px rgba(27, 79, 232, 0.25));
}
.header-nav a:hover {
  color: #fff !important;
}
.form-note {
  opacity: 0.75;
}

/* Access hub + doc extras */
.hub-grid {
  gap: 18px;
}
body[data-page^="access"] .hub-card h3 {
  font-size: 1.08rem;
  letter-spacing: -0.3px;
}
body[data-page^="access"] .page-content h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  margin-top: 32px;
}
body[data-page^="access"] .page-content h3::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet-light), var(--indigo-light));
  box-shadow: 0 0 10px rgba(107, 155, 255, 0.5);
  flex-shrink: 0;
}
body[data-page^="access"] .page-content ol {
  counter-reset: access-step;
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}
body[data-page^="access"] .page-content ol > li {
  counter-increment: access-step;
  position: relative;
  padding: 12px 14px 12px 48px;
  margin-bottom: 10px;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
body[data-page^="access"] .page-content ol > li::before {
  content: counter(access-step);
  position: absolute;
  left: 12px;
  top: 12px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  border-radius: 8px;
  background: linear-gradient(135deg, #1B4FE8, #6B9BFF);
  color: #fff;
  box-shadow: 0 4px 12px rgba(27, 79, 232, 0.3);
}
body[data-page^="access"] .page-content strong {
  color: var(--text);
}
body[data-page="access-overview"] .hub-card:nth-child(1) { border-top: 2px solid rgba(107, 155, 255, 0.35); }
body[data-page="access-overview"] .hub-card:nth-child(2) { border-top: 2px solid rgba(52, 211, 153, 0.35); }
body[data-page="access-overview"] .hub-card:nth-child(3) { border-top: 2px solid rgba(251, 191, 36, 0.35); }

/* Floating section guide (homepage desktop) */
.page-guide {
  border: 1px solid rgba(107, 155, 255, 0.2);
  background: linear-gradient(165deg, rgba(22, 32, 58, 0.92), rgba(10, 16, 32, 0.95));
  box-shadow: var(--glow-soft), 0 0 32px rgba(27, 79, 232, 0.1);
  backdrop-filter: blur(14px);
}
.page-guide a.is-active {
  background: linear-gradient(90deg, rgba(27, 79, 232, 0.2), transparent);
  border-left: 2px solid var(--violet-light);
  padding-left: 10px;
  margin-left: -2px;
  color: #fff;
}

/* Mermaid rendered output (all pages) */
.diagram-panel .mermaid svg {
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.25));
}
.diagram-panel pre.mermaid:not(.mermaid-fallback) {
  min-height: 48px;
}

.mobile-nav-panel {
  background: linear-gradient(180deg, #0a1224 0%, var(--bg2) 100%);
  box-shadow: -16px 0 48px rgba(0, 0, 0, 0.5);
}
.mobile-nav-panel a.nav-active {
  color: #fff;
  padding-left: 8px;
  border-left: 2px solid var(--violet-light);
}
.mobile-nav-close {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(107, 155, 255, 0.25);
}
.mobile-nav-close:hover {
  background: rgba(27, 79, 232, 0.15);
}

body[data-page^="access"] .page-content ul li,
body[data-page^="access"] .page-content ol li {
  padding-left: 4px;
}
body[data-page^="access"] .page-content ul li::marker {
  color: var(--violet-light);
}

@media (max-width: 768px) {
  .fcta-inner { padding: 32px 20px; }
  body[data-page^="access"] .page-lead { padding: 14px; font-size: 0.92rem; }
  .exp-card:hover,
  .solve-card:hover,
  .solve-card-hybrid:hover,
  .mf-card:hover,
  .hub-card:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .exp-card:hover,
  .solve-card:hover,
  .solve-card-hybrid:hover,
  .mf-card:hover,
  .hub-card:hover,
  .doc-pager a:hover { transform: none; }
}
