:root {
  --primary-color: #7C3AED;
  --primary-hover: #6D28D9;
  --secondary-color: #8B5CF6;
  --accent-color: #A78BFA;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-light: #94a3b8;
  --background-primary: #ffffff;
  --background-secondary: #f8fafc;
  --background-accent: #f1f5f9;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --gradient-primary: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 100%);
  --gradient-accent: linear-gradient(135deg, #A78BFA 0%, #C4B5FD 100%);
  --border-radius: 12px;
  --border-radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  background-color: var(--background-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Logo */
.logo-container {
  margin-bottom: 1rem;
}

.aion-logo {
  width: 60px;
  height: 60px;
  filter: drop-shadow(0 4px 6px rgba(124, 58, 237, 0.3));
  transition: var(--transition);
}

.aion-logo:hover {
  transform: scale(1.1) rotate(5deg);
}

/* Buttons */
.button {
  border-radius: var(--border-radius) !important;
  font-weight: 600 !important;
  transition: var(--transition) !important;
  border: 2px solid transparent !important;
  position: relative;
  overflow: hidden;
}

.button.is-dark {
  background: var(--primary-color) !important;
  border: none !important;
  color: white !important;
  box-shadow: var(--shadow-md);
}

.button.is-dark:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: var(--primary-hover) !important;
}

.button.is-dark:active {
  transform: translateY(0);
  box-shadow: var(--shadow-md);
}

.link-block a {
    margin: 8px 4px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
}

.hero.is-light {
  background: var(--background-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.hero-body {
  padding: 2rem 1.5rem;
}

/* Publication */
.publication-title {
    font-family: 'Inter', sans-serif !important;
    font-weight: 800 !important;
    color: var(--text-primary) !important;
    margin-bottom: 1rem !important;
    line-height: 1.2 !important;
}

.publication-authors {
    font-family: 'Inter', sans-serif !important;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.publication-venue {
    color: var(--text-secondary);
    width: fit-content;
    font-weight: 600;
    background: var(--background-accent);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius);
    margin-top: 0.5rem;
    display: inline-block;
    font-size: 0.9rem;
}

.publication-authors a {
   color: var(--primary-color) !important;
   text-decoration: none;
   font-weight: 600;
   transition: var(--transition);
   position: relative;
}

.publication-authors a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: var(--gradient-accent);
    transition: var(--transition);
}

.publication-authors a:hover::after {
    width: 100%;
}

.publication-authors a:hover {
    color: var(--primary-hover) !important;
}

.author-block {
  display: inline-block;
  margin-right: 0.5rem;
}

/* Section titles */
.title.is-3 {
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  color: var(--text-primary);
  margin-bottom: 2rem !important;
  position: relative;
  padding-bottom: 1rem;
}

.title.is-3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

/* Content */
.content.has-text-justified {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.content.has-text-justified p {
  margin-bottom: 1.5rem;
}

/* Architecture Diagram */
.architecture-diagram {
  max-width: 980px;
  margin: 1.5rem auto 2rem;
}

.horizontal-diagram {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
}

.layer {
  background: var(--background-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  min-height: 130px;
  padding: 1rem;
  transition: var(--transition);
}

.layer:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.review-layer {
  border-top: 3px solid #ef4444;
}

.execution-layer {
  border-top: 3px solid #f59e0b;
}

.workspace-layer {
  border-top: 3px solid #10b981;
}

.task-layer {
  border-top: 3px solid #3b82f6;
}

.layer-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.layer-icon {
  display: none;
}

.layer-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
}

.layer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.layer-item {
  background: var(--background-accent);
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
}

.layer-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  width: 100%;
  margin-top: 0.25rem;
}

.layer-arrow {
  align-items: center;
  color: #94a3b8;
  display: flex;
  font-size: 1rem;
  justify-content: center;
  min-height: 130px;
}

/* Component Cards */
.component-card {
  background: var(--background-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  height: 100%;
}

.component-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.component-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 1.5rem;
}

.component-title {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.component-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Quick Start */
.quick-start-card {
  background: var(--background-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.quick-start-card pre {
  background: #1e293b !important;
  color: #e2e8f0 !important;
  border-radius: var(--border-radius) !important;
  padding: 1rem !important;
  margin-bottom: 1.5rem;
}

.yt-embed-wrap {
  position: relative;
  width: 100%;
  max-width: 880px;
  margin: 1.5rem auto 2.5rem auto;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.18);
  background: #0f172a;
}
.yt-embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Inline <code> inside text (NOT inside <pre>). The pill style makes the
   token pop out of body copy. <pre><code> blocks have their own style
   (light text on dark background) defined in .quick-start-card pre above. */
.quick-start-card p > code,
.quick-start-card li > code,
.quick-start-card h4 > code,
.quick-start-card .is-size-6 > code {
  background: var(--background-accent) !important;
  color: var(--primary-color) !important;
  font-family: 'SF Mono', 'Monaco', 'Cascadia Code', monospace !important;
  padding: 0.1em 0.4em;
  border-radius: 4px;
  font-weight: 500;
}

.quick-start-card .subtitle {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

/* Governance */
.governance-hierarchy {
  max-width: 980px;
  margin: 1.5rem auto 2rem;
}

.governance-level {
  background: var(--background-primary);
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--primary-color);
  border-radius: var(--border-radius);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  min-height: 112px;
}

.governance-level:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.governance-label {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-color);
}

.governance-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.governance-arrow {
  align-items: center;
  color: #94a3b8;
  display: flex;
  justify-content: center;
  min-height: 112px;
}

/* BibTeX */
pre {
  background: var(--background-accent) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--border-radius) !important;
  padding: 1.5rem !important;
  font-size: 0.9rem !important;
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}

code {
  background: var(--background-accent) !important;
  color: var(--text-primary) !important;
  font-family: 'SF Mono', 'Monaco', 'Cascadia Code', 'Roboto Mono', monospace !important;
}

/* <code> inside <pre> must NOT carry the inline-code pill background or
   the pill text color. Code blocks have their own dark-bg + light-text
   style defined on .quick-start-card pre (and similar). Reset the
   background to transparent and inherit the surrounding text color. */
pre code,
pre code * {
  background: transparent !important;
  color: inherit !important;
  padding: 0 !important;
  border-radius: 0 !important;
  font-weight: inherit !important;
}

.bibtex-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.copy-bibtex-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.copy-bibtex-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.copy-bibtex-btn.copied {
  background: #10b981;
}

/* Inline code copy button — appended to every <pre> by aion.js.
   Floats top-right; stays semi-transparent until the user hovers/focuses
   the block or the button itself, then it pops in. Light text on dark
   code background for high contrast. */
.code-copy-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.75rem;
  font-family: 'SF Mono', 'Monaco', 'Cascadia Code', monospace;
  font-weight: 500;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  z-index: 1;
  line-height: 1;
}
pre:hover .code-copy-btn,
.code-copy-btn:focus,
.code-copy-btn:focus-visible {
  opacity: 1;
}
.code-copy-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.32);
}
.code-copy-btn.copied {
  background: #10b981 !important;
  color: #ffffff !important;
  border-color: #10b981 !important;
  opacity: 1;
}
.code-copy-btn svg {
  display: block;
  flex: 0 0 auto;
}

/* Scroll to Top */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-lg);
}

.scroll-to-top:hover {
  background: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

/* Footer */
.footer {
  background: var(--background-secondary);
  border-top: 1px solid var(--border-color);
  padding: 3rem 1.5rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

.footer-links a {
  font-size: 2rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-color);
  transform: translateY(-4px);
}

.footer .content {
  color: var(--text-secondary);
  line-height: 1.7;
}

.footer a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

.footer a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.workflow-kicker {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: -1rem 0 1.5rem;
}

.fsm-workflow {
  max-width: 960px;
  margin: 1.5rem auto 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.fsm-track {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr) 36px minmax(0, 1fr) 36px minmax(0, 1fr);
  align-items: center;
}

.fsm-state {
  background: var(--background-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  min-height: 112px;
  padding: 1rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.fsm-state:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.fsm-state.task,
.fsm-state.info,
.fsm-state.experiment {
  border-top: 3px solid var(--primary-color);
}

  .fsm-state.dual-review {
    border-color: #fcd34d;
    border-top: 3px solid #f59e0b;
    background: #fffbeb;
  }

  .fsm-state.dual-review::before {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    width: 8px;
    height: 8px;
    background: #f59e0b;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
  }

.fsm-index {
  color: var(--primary-color);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
}

.fsm-label {
  color: var(--text-primary);
  display: block;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.fsm-desc {
  color: var(--text-secondary);
  display: block;
  font-size: 0.8rem;
  line-height: 1.35;
}

.fsm-connector,
.branch-connector {
  background: #cbd5e1;
  height: 2px;
  position: relative;
}

.fsm-connector::after,
.branch-connector::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -1px;
  width: 9px;
  height: 9px;
  border-top: 2px solid #cbd5e1;
  border-right: 2px solid #cbd5e1;
  transform: translateY(-50%) rotate(45deg);
  background: var(--background-secondary);
}

  .fsm-state.dual-review::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    width: 2px;
    height: 12px;
    background: #f59e0b;
    transform: translateX(-50%);
    z-index: 2;
  }

.fsm-branches {
  position: relative;
  margin-top: 6px;
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 0.75rem;
  align-items: stretch;
}

  .fsm-branches::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 37.74%;
    right: 11.1%;
    height: 2px;
    background: #10b981;
    z-index: 1;
  }

  .fsm-branches::after {
    content: '';
    position: absolute;
    top: -6px;
    left: 88.9%;
    right: 0;
    height: 2px;
    background: #ef4444;
    z-index: 1;
  }

.branch-label {
  position: relative;
  z-index: 2;
}

.branch-label::before {
  content: '';
  position: absolute;
  top: calc(-0.75rem - 6px);
  left: 50%;
  width: 2px;
  height: calc(0.75rem + 6px);
  transform: translateX(-50%);
  z-index: 2;
}

.pass-branch .branch-label::before {
  background: #10b981;
}

.fail-branch .branch-label::before {
  background: #ef4444;
}

.fsm-branch {
  display: grid;
  align-items: center;
  min-height: 92px;
  background: var(--background-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  padding: 0.75rem;
}

.pass-branch {
  grid-template-columns: auto 32px minmax(0, 1fr);
}

.fail-branch {
  grid-template-columns: auto 32px minmax(0, 1fr) 32px minmax(0, 1fr);
}

.pass-branch .branch-label,
.fail-branch .branch-label {
  align-self: start;
}

.branch-label {
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  min-width: 60px;
  padding: 0.4rem 0.7rem;
  text-transform: uppercase;
}

.branch-label.pass {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.branch-label.fail {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.fsm-state.final {
  border-color: #a7f3d0;
  border-top: 3px solid #10b981;
  min-height: 76px;
}

.fsm-state.rebuttal {
  border-color: #fed7aa;
  border-top: 3px solid #f97316;
  min-height: 76px;
}

.fsm-loop-back {
  min-height: 76px;
  padding: 1rem;
  border: 1px dashed var(--primary-color);
  border-radius: var(--border-radius);
  background: var(--background-accent);
}

.branch-connector.loop {
  border-top: 2px dashed var(--primary-color);
  background: transparent;
}

.branch-connector.loop::after {
  border-color: var(--primary-color);
}

.workflow-pass {
  color: #047857;
}

.workflow-fail {
  color: #dc2626;
}

/* Mermaid Workflow */
.mermaid-container {
  max-width: 960px;
  margin: 1.5rem auto 2rem;
  background: var(--background-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  overflow-x: auto;
}

.mermaid-container .mermaid {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Inter', sans-serif;
}

.mermaid-container .mermaid svg {
  max-width: 100%;
  height: auto;
}

/* Mermaid node styling overrides */
.mermaid-container .mermaid .node rect,
.mermaid-container .mermaid .node circle,
.mermaid-container .mermaid .node ellipse,
.mermaid-container .mermaid .node polygon,
.mermaid-container .mermaid .node path {
  transition: all 0.3s ease;
}

.mermaid-container .mermaid .node:hover rect,
.mermaid-container .mermaid .node:hover circle,
.mermaid-container .mermaid .node:hover ellipse,
.mermaid-container .mermaid .node:hover polygon,
.mermaid-container .mermaid .node:hover path {
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
  transform: translateY(-2px);
}

.mermaid-container .mermaid .edgeLabel {
  background-color: var(--background-primary);
  border-radius: 4px;
  padding: 2px 6px;
  font-weight: 600;
  font-size: 12px;
}

.mermaid-container .mermaid .edgeLabel:contains("PASS") {
  color: #047857;
  background-color: #ecfdf5;
}

.mermaid-container .mermaid .edgeLabel:contains("FAIL") {
  color: #dc2626;
  background-color: #fef2f2;
}

.mermaid-container .mermaid .edgeLabel:contains("Loop Back") {
  color: #7C3AED;
  background-color: #f8fafc;
}

/* Mermaid arrow styling */
.mermaid-container .mermaid .arrowheadPath {
  fill: #94a3b8;
}

.mermaid-container .mermaid .flowchart-link {
  stroke: #94a3b8;
  stroke-width: 2px;
}

.mermaid-container .mermaid .flowchart-link.loop {
  stroke-dasharray: 5 5;
  stroke: #8B5CF6;
}

@media screen and (max-width: 768px) {
  .fsm-track,
  .fsm-branches,
  .pass-branch,
  .fail-branch {
    grid-template-columns: 1fr;
  }

  .fsm-track,
  .fsm-branches {
    gap: 0.75rem;
  }

  .fsm-connector,
  .branch-connector {
    width: 1px;
    height: 22px;
    justify-self: center;
  }

  .fsm-connector::after,
  .branch-connector::after {
    top: auto;
    right: 50%;
    bottom: -1px;
    transform: translateX(50%) rotate(135deg);
  }

  .branch-connector.loop {
    border-left: 1px dashed var(--primary-color);
    border-top: 0;
  }

  .fsm-state,
  .fsm-state.final,
  .fsm-state.rebuttal,
  .fsm-loop-back,
  .fsm-branch {
    min-height: auto;
  }
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero, .section {
  animation: fadeInUp 0.6s ease-out;
}

/* Mobile */
@media screen and (max-width: 768px) {
  .hero-body {
    padding: 2rem 1rem;
  }
  
  .publication-title {
    font-size: 2rem !important;
    line-height: 1.2 !important;
    margin-bottom: 1.5rem !important;
  }
  
  .publication-authors {
    font-size: 1rem !important;
  }
  
  .button {
    margin: 0.25rem !important;
    font-size: 0.875rem !important;
    padding: 0.75rem 1rem !important;
  }
  
  .layer:hover {
    transform: translateY(-2px);
  }
  
  .component-card {
    margin-bottom: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .publication-title {
    font-size: 1.75rem !important;
  }
  
  .hero-body {
    padding: 1.5rem 0.75rem;
  }
  
  .link-block {
    display: block;
    margin-bottom: 0.5rem;
  }
  
  .button {
    width: 100%;
    justify-content: center;
  }
  
  .architecture-diagram {
    padding: 0;
  }
}

@media screen and (max-width: 900px) {
  .horizontal-diagram {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .layer,
  .governance-level {
    min-height: auto;
  }

  .layer-arrow,
  .governance-arrow {
    min-height: auto;
    transform: rotate(90deg);
  }
}

/* Focus states */
.button:focus,
a:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Print */
@media print {
  .hero, .section {
    animation: none;
  }
  
  .button {
    background: transparent !important;
    color: var(--text-primary) !important;
    box-shadow: none !important;
  }
  
  .scroll-to-top {
    display: none;
  }
}
