/* zrr-components.css — reusable components */

/* ─── Hero base ──────────────────────────────────────────────── */
.zrr-hero {
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.zrr-hero--sm {
  padding: 72px 0 56px;
}
.zrr-hero__inner {
  max-width: var(--zrr-container-max);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.zrr-hero__inner--full {
  grid-template-columns: 1fr;
  max-width: 820px;
}
.zrr-hero__inner--left {
  grid-template-columns: 1fr;
  max-width: 760px;
}

.zrr-hero__eyebrow {
  font-family: var(--zrr-font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--zrr-accent-aa-dark);
  display: block;
  margin-bottom: 20px;
}

/* dark hero: eyebrow teal on dark bg - OK */
.zrr-section--dark .zrr-hero__eyebrow,
.zrr-section--dark-alt .zrr-hero__eyebrow { color: var(--zrr-accent-aa-dark); }
/* light hero: eyebrow teal-AA on light bg */
.zrr-section--light .zrr-hero__eyebrow,
.zrr-section--white .zrr-hero__eyebrow { color: var(--zrr-accent-aa-light); }

.zrr-hero__h1 {
  font-family: var(--zrr-font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--zrr-fg-dark-primary);
  margin-bottom: 20px;
}
.zrr-section--light .zrr-hero__h1,
.zrr-section--white .zrr-hero__h1 { color: var(--zrr-fg-light-primary); }

.zrr-hero__subhead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--zrr-fg-dark-secondary);
  margin-bottom: 32px;
  max-width: 560px;
}
.zrr-section--light .zrr-hero__subhead,
.zrr-section--white .zrr-hero__subhead { color: var(--zrr-fg-light-secondary); }

.zrr-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.zrr-hero__visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.zrr-hero__visual svg {
  max-width: 100%;
  height: auto;
}

/* trust badges row */
.zrr-hero__text {
  /* content column in hero grid */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.zrr-hero__badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
  align-items: center;
}

@media (max-width: 860px) {
  .zrr-hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .zrr-hero__visual { justify-content: center; }
  .zrr-hero__subhead { max-width: none; }
}
@media (max-width: 600px) {
  .zrr-hero { padding: 72px 0 48px; }
  .zrr-hero__inner { padding: 0 20px; }
}

/* ─── Section header ─────────────────────────────────────────── */
.zrr-section__header {
  margin-bottom: 48px;
}
.zrr-section__header--center {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
}
.zrr-section__eyebrow {
  font-family: var(--zrr-font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}
/* eyebrow color by context */
.zrr-section--dark .zrr-section__eyebrow,
.zrr-section--dark-alt .zrr-section__eyebrow,
.zrr-section--dark-card .zrr-section__eyebrow { color: var(--zrr-accent-aa-dark); }
.zrr-section--light .zrr-section__eyebrow,
.zrr-section--white .zrr-section__eyebrow { color: var(--zrr-accent-aa-light); }

.zrr-section__h2 {
  font-family: var(--zrr-font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--zrr-fg-dark-primary);
}
.zrr-section--light .zrr-section__h2,
.zrr-section--white .zrr-section__h2 { color: var(--zrr-fg-light-primary); }

.zrr-section__lede {
  margin-top: 12px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--zrr-fg-dark-secondary);
}
.zrr-section--light .zrr-section__lede,
.zrr-section--white .zrr-section__lede { color: var(--zrr-fg-light-secondary); }

/* ─── Feature / IP Deliverable cards ────────────────────────── */
.zrr-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.zrr-card-grid--2col {
  grid-template-columns: repeat(2, 1fr);
}

.zrr-card {
  background: var(--zrr-bg-dark-card);
  border: 1px solid var(--zrr-border-dark);
  padding: 28px 24px;
  border-radius: 2px;
  transition: border-color 0.18s;
}
.zrr-card:hover { border-color: rgba(0,201,167,0.3); }

.zrr-section--white .zrr-card,
.zrr-section--light .zrr-card {
  background: var(--zrr-bg-white);
  border-color: var(--zrr-border-light);
  box-shadow: 0 1px 4px rgba(10,22,40,0.06);
}
.zrr-section--white .zrr-card:hover,
.zrr-section--light .zrr-card:hover {
  border-color: var(--zrr-accent-aa-light);
}

.zrr-card__icon {
  font-size: 1.25rem;
  color: var(--zrr-accent-aa-dark);
  margin-bottom: 16px;
  display: block;
}
.zrr-section--white .zrr-card__icon,
.zrr-section--light .zrr-card__icon { color: var(--zrr-accent-aa-light); }

.zrr-card__title {
  font-family: var(--zrr-font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--zrr-fg-dark-primary);
  margin-bottom: 10px;
}
.zrr-section--white .zrr-card__title,
.zrr-section--light .zrr-card__title { color: var(--zrr-fg-light-primary); }

.zrr-card__body {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--zrr-fg-dark-secondary);
}
.zrr-section--white .zrr-card__body,
.zrr-section--light .zrr-card__body { color: var(--zrr-fg-light-secondary); }

@media (max-width: 900px) {
  .zrr-card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .zrr-card-grid { grid-template-columns: 1fr; }
  .zrr-card-grid--2col { grid-template-columns: 1fr; }
}

/* ─── Proof strip / stats ────────────────────────────────────── */
.zrr-proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--zrr-border-dark);
}
.zrr-proof-strip__item {
  background: var(--zrr-bg-dark-alt);
  padding: 32px 28px;
  text-align: center;
}
.zrr-proof-strip__value {
  font-family: var(--zrr-font-mono);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--zrr-accent-aa-dark);
  display: block;
  margin-bottom: 6px;
}
.zrr-proof-strip__label {
  font-family: var(--zrr-font-mono);
  font-size: 0.75rem;
  color: var(--zrr-fg-dark-secondary);
  letter-spacing: 0.04em;
  line-height: 1.4;
}

@media (max-width: 720px) {
  .zrr-proof-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 400px) {
  .zrr-proof-strip {
    grid-template-columns: 1fr;
  }
}

/* ─── Standards badges list ──────────────────────────────────── */
.zrr-standards-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.zrr-standard-item {
  background: var(--zrr-bg-dark-card);
  border: 1px solid var(--zrr-border-dark);
  padding: 20px 20px;
  border-radius: 2px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.zrr-standard-item__badge {
  font-family: var(--zrr-font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--zrr-bg-dark);
  background: var(--zrr-accent-decorative);
  padding: 2px 8px;
  letter-spacing: 0.06em;
  flex-shrink: 0;
  border-radius: 1px;
  margin-top: 2px;
}
.zrr-standard-item__text {}
.zrr-standard-item__name {
  font-family: var(--zrr-font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--zrr-fg-dark-primary);
  display: block;
  margin-bottom: 4px;
}
.zrr-standard-item__desc {
  font-size: 0.8125rem;
  color: var(--zrr-fg-dark-secondary);
}

@media (max-width: 760px) {
  .zrr-standards-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .zrr-standards-list { grid-template-columns: 1fr; }
}

/* ─── Integration steps ──────────────────────────────────────── */
.zrr-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.zrr-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.zrr-step__num {
  font-family: var(--zrr-font-mono);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--zrr-accent-aa-dark);
  min-width: 40px;
  line-height: 1;
  padding-top: 2px;
}
.zrr-section--light .zrr-step__num,
.zrr-section--white .zrr-step__num { color: var(--zrr-accent-aa-light); }

.zrr-step__title {
  font-family: var(--zrr-font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--zrr-fg-dark-primary);
  margin-bottom: 4px;
}
.zrr-section--light .zrr-step__title,
.zrr-section--white .zrr-step__title { color: var(--zrr-fg-light-primary); }

.zrr-step__body {
  font-size: 0.9rem;
  color: var(--zrr-fg-dark-secondary);
  line-height: 1.6;
}
.zrr-section--light .zrr-step__body,
.zrr-section--white .zrr-step__body { color: var(--zrr-fg-light-secondary); }

/* ─── Two-column split ───────────────────────────────────────── */
.zrr-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.zrr-split--left-wide {
  grid-template-columns: 3fr 2fr;
}
.zrr-split--right-wide {
  grid-template-columns: 2fr 3fr;
}
@media (max-width: 780px) {
  .zrr-split { grid-template-columns: 1fr; gap: 36px; }
}

/* ─── Callout card ───────────────────────────────────────────── */
.zrr-callout {
  background: var(--zrr-bg-dark-card);
  border-left: 3px solid var(--zrr-accent-aa-dark);
  padding: 24px 28px;
  border-radius: 0 2px 2px 0;
}
.zrr-section--light .zrr-callout,
.zrr-section--white .zrr-callout {
  background: #EAF4F1;
  border-left-color: var(--zrr-accent-aa-light);
}
.zrr-callout__text {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--zrr-fg-dark-primary);
  font-weight: 500;
}
.zrr-section--light .zrr-callout__text,
.zrr-section--white .zrr-callout__text { color: var(--zrr-fg-light-primary); }

/* ─── Feature table ──────────────────────────────────────────── */
.zrr-feature-table {
  width: 100%;
  border: 1px solid var(--zrr-border-light);
  font-size: 0.875rem;
}
.zrr-feature-table th,
.zrr-feature-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
}
.zrr-feature-table thead tr {
  background: var(--zrr-bg-light);
  border-bottom: 2px solid var(--zrr-border-light);
}
.zrr-feature-table thead th {
  font-family: var(--zrr-font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--zrr-fg-light-secondary);
}
.zrr-feature-table tbody tr {
  border-bottom: 1px solid var(--zrr-border-light);
}
.zrr-feature-table tbody tr:last-child { border-bottom: none; }
.zrr-feature-table tbody td:first-child {
  font-family: var(--zrr-font-mono);
  font-size: 0.8125rem;
  color: var(--zrr-fg-light-primary);
  font-weight: 500;
}
.zrr-feature-table tbody td:nth-child(2) {
  font-family: var(--zrr-font-mono);
  color: var(--zrr-accent-aa-light);
  font-size: 0.8125rem;
}
.zrr-feature-table tbody td:nth-child(3) {
  color: var(--zrr-fg-light-secondary);
  font-size: 0.8125rem;
}

/* ─── Code blocks ────────────────────────────────────────────── */
.zrr-code-block {
  background: var(--zrr-bg-dark);
  border: 1px solid var(--zrr-border-dark);
  border-radius: 2px;
  padding: 20px 24px;
  overflow-x: auto;
}
.zrr-code-block pre {
  font-family: var(--zrr-font-mono);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--zrr-fg-dark-secondary);
  white-space: pre;
  tab-size: 2;
}
.zrr-code-block pre .zrr-kw { color: var(--zrr-accent-aa-dark); }
.zrr-code-block pre .zrr-str { color: #7ECFB6; }
.zrr-code-block pre .zrr-num { color: #B5CCDE; }
.zrr-code-block pre .zrr-cm { color: #4D6B88; }

/* ─── Blog cards ─────────────────────────────────────────────── */
.zrr-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.zrr-blog-grid--5col {
  grid-template-columns: repeat(3, 1fr);
}
.zrr-blog-card {
  background: var(--zrr-bg-white);
  border: 1px solid var(--zrr-border-light);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.18s;
}
.zrr-blog-card:hover { border-color: var(--zrr-accent-aa-light); }

.zrr-blog-card__cover {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--zrr-bg-dark);
}
.zrr-blog-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.zrr-blog-card__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.zrr-blog-card__tag {
  font-family: var(--zrr-font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--zrr-accent-aa-light);
  background: rgba(0,122,102,0.09);
  padding: 2px 8px;
  border-radius: 1px;
  text-transform: uppercase;
}
.zrr-blog-card__title {
  font-family: var(--zrr-font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--zrr-fg-light-primary);
  line-height: 1.35;
  margin-bottom: 10px;
}
.zrr-blog-card__excerpt {
  font-size: 0.875rem;
  color: var(--zrr-fg-light-secondary);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 14px;
}
.zrr-blog-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}
.zrr-blog-card__date {
  font-family: var(--zrr-font-mono);
  font-size: 0.75rem;
  color: var(--zrr-fg-light-secondary);
}
.zrr-blog-card__read {
  font-family: var(--zrr-font-mono);
  font-size: 0.75rem;
  color: var(--zrr-accent-aa-light);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .zrr-blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .zrr-blog-grid { grid-template-columns: 1fr; }
}

/* ─── CTA section (full-width centered) ─────────────────────── */
.zrr-cta-section {
  text-align: center;
}
.zrr-cta-section__h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--zrr-fg-dark-primary);
  margin-bottom: 12px;
}
.zrr-cta-section__sub {
  font-size: 1rem;
  color: var(--zrr-fg-dark-secondary);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.65;
}
.zrr-cta-section__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ─── Docs sidebar layout ────────────────────────────────────── */
.zrr-docs-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  min-height: 70vh;
}
.zrr-docs-sidebar {
  background: var(--zrr-bg-light);
  border-right: 1px solid var(--zrr-border-light);
  padding: 32px 24px;
  position: sticky;
  top: var(--zrr-nav-height);
  max-height: calc(100vh - var(--zrr-nav-height));
  overflow-y: auto;
}
.zrr-docs-sidebar__title {
  font-family: var(--zrr-font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--zrr-fg-light-secondary);
  margin-bottom: 16px;
}
.zrr-docs-sidebar__links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.zrr-docs-sidebar__link {
  font-size: 0.875rem;
  color: var(--zrr-fg-light-secondary);
  padding: 6px 10px;
  border-radius: 2px;
  transition: background 0.15s, color 0.15s;
  line-height: 1.4;
}
.zrr-docs-sidebar__link:hover { background: var(--zrr-bg-white); color: var(--zrr-fg-light-primary); }
.zrr-docs-sidebar__link--active {
  background: var(--zrr-bg-white);
  color: var(--zrr-accent-aa-light);
  font-weight: 500;
}

/* zrr-docs-content: shared container, theme-scoped */
body.zrr-page--light-top .zrr-docs-content {
  padding: 40px 48px;
  max-width: 840px;
}
body.zrr-page--light-top .zrr-docs-content h1 {
  font-family: var(--zrr-font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--zrr-fg-light-primary);
  margin-bottom: 12px;
}
body.zrr-page--light-top .zrr-docs-content h2 {
  font-family: var(--zrr-font-heading);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--zrr-fg-light-primary);
  margin-top: 40px;
  margin-bottom: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--zrr-border-light);
}
body.zrr-page--light-top .zrr-docs-content h3 {
  font-family: var(--zrr-font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--zrr-fg-light-primary);
  margin-top: 28px;
  margin-bottom: 8px;
}
body.zrr-page--light-top .zrr-docs-content p {
  font-size: 0.9375rem;
  color: var(--zrr-fg-light-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}
body.zrr-page--light-top .zrr-docs-content ul,
body.zrr-page--light-top .zrr-docs-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
body.zrr-page--light-top .zrr-docs-content li {
  font-size: 0.9375rem;
  color: var(--zrr-fg-light-secondary);
  line-height: 1.7;
  margin-bottom: 6px;
  list-style: disc;
}
body.zrr-page--light-top .zrr-docs-content ol li { list-style: decimal; }
body.zrr-page--light-top .zrr-docs-content a {
  color: var(--zrr-accent-aa-light);
  text-decoration: underline;
}
body.zrr-page--light-top .zrr-docs-content code {
  font-family: var(--zrr-font-mono);
  font-size: 0.85em;
  background: var(--zrr-bg-light);
  padding: 2px 6px;
  border-radius: 2px;
  color: var(--zrr-fg-light-primary);
}
body.zrr-page--light-top .zrr-docs-content pre {
  background: var(--zrr-bg-dark);
  padding: 20px 24px;
  border-radius: 2px;
  overflow-x: auto;
  margin-bottom: 20px;
}
body.zrr-page--light-top .zrr-docs-content pre code {
  background: transparent;
  padding: 0;
  font-size: 0.8125rem;
  color: var(--zrr-fg-dark-secondary);
  line-height: 1.55;
}

@media (max-width: 760px) {
  .zrr-docs-layout { grid-template-columns: 1fr; }
  .zrr-docs-sidebar {
    position: static;
    max-height: none;
    border-right: none;
    border-bottom: 1px solid var(--zrr-border-light);
  }
  body.zrr-page--light-top .zrr-docs-content { padding: 28px 20px; }
}

/* ─── Article body (blog) ────────────────────────────────────── */
.zrr-article-layout {
  display: grid;
  grid-template-columns: 1fr min(720px, 100%) 1fr;
}
.zrr-article-layout > * { grid-column: 2; }

body.zrr-page--light-top .zrr-article-body {
  padding: 40px 0 64px;
}
body.zrr-page--light-top .zrr-article-body h2 {
  font-family: var(--zrr-font-heading);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--zrr-fg-light-primary);
  margin-top: 40px;
  margin-bottom: 12px;
}
body.zrr-page--light-top .zrr-article-body h3 {
  font-family: var(--zrr-font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--zrr-fg-light-primary);
  margin-top: 28px;
  margin-bottom: 8px;
}
body.zrr-page--light-top .zrr-article-body p {
  font-size: 0.9375rem;
  color: var(--zrr-fg-light-secondary);
  line-height: 1.8;
  margin-bottom: 18px;
}
body.zrr-page--light-top .zrr-article-body ul,
body.zrr-page--light-top .zrr-article-body ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
body.zrr-page--light-top .zrr-article-body li {
  font-size: 0.9375rem;
  color: var(--zrr-fg-light-secondary);
  line-height: 1.75;
  margin-bottom: 8px;
  list-style: disc;
}
body.zrr-page--light-top .zrr-article-body ol li { list-style: decimal; }
body.zrr-page--light-top .zrr-article-body a {
  color: var(--zrr-accent-aa-light);
  text-decoration: underline;
}
body.zrr-page--light-top .zrr-article-body code {
  font-family: var(--zrr-font-mono);
  font-size: 0.85em;
  background: var(--zrr-bg-light);
  padding: 2px 6px;
  border-radius: 2px;
  color: var(--zrr-fg-light-primary);
}
body.zrr-page--light-top .zrr-article-body pre {
  background: var(--zrr-bg-dark);
  padding: 20px 24px;
  border-radius: 2px;
  overflow-x: auto;
  margin-bottom: 20px;
}
body.zrr-page--light-top .zrr-article-body pre code {
  background: transparent;
  padding: 0;
  font-size: 0.8125rem;
  color: var(--zrr-fg-dark-secondary);
  line-height: 1.55;
}

/* Article header */
.zrr-article-header {
  padding: 48px 0 36px;
  border-bottom: 1px solid var(--zrr-border-light);
  margin-bottom: 36px;
}
.zrr-article-header__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.zrr-article-header__tag {
  font-family: var(--zrr-font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--zrr-accent-aa-light);
  background: rgba(0,122,102,0.09);
  padding: 3px 10px;
  border-radius: 1px;
  text-transform: uppercase;
}
.zrr-article-header__title {
  font-family: var(--zrr-font-heading);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--zrr-fg-light-primary);
  line-height: 1.2;
  margin-bottom: 14px;
}
.zrr-article-header__meta {
  font-family: var(--zrr-font-mono);
  font-size: 0.8125rem;
  color: var(--zrr-fg-light-secondary);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.zrr-article-header__cover {
  width: 100%;
  border-radius: 2px;
  margin-top: 28px;
  aspect-ratio: 16/8;
  object-fit: cover;
  background: var(--zrr-bg-dark);
}

/* ─── Team card ──────────────────────────────────────────────── */
.zrr-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.zrr-team-card {
  background: var(--zrr-bg-white);
  border: 1px solid var(--zrr-border-light);
  border-radius: 2px;
  overflow: hidden;
}
.zrr-team-card__photo {
  width: 100%;
  aspect-ratio: 5/6;
  object-fit: cover;
  background: var(--zrr-bg-dark-card);
  display: block;
}
.zrr-team-card__info {
  padding: 16px 18px;
}
.zrr-team-card__name {
  font-family: var(--zrr-font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--zrr-fg-light-primary);
  margin-bottom: 2px;
}
.zrr-team-card__title-text {
  font-family: var(--zrr-font-mono);
  font-size: 0.75rem;
  color: var(--zrr-accent-aa-light);
  display: block;
  margin-bottom: 8px;
}
.zrr-team-card__bio {
  font-size: 0.8125rem;
  color: var(--zrr-fg-light-secondary);
  line-height: 1.55;
}
@media (max-width: 860px) {
  .zrr-team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .zrr-team-grid { grid-template-columns: 1fr; }
}

/* ─── Legal pages ────────────────────────────────────────────── */
body.zrr-page--light-top .zrr-legal-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 32px 80px;
}
body.zrr-page--light-top .zrr-legal-page .legal-article {}
body.zrr-page--light-top .zrr-legal-page .legal-header {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--zrr-border-light);
  margin-bottom: 36px;
}
body.zrr-page--light-top .zrr-legal-page .legal-header h1 {
  font-family: var(--zrr-font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--zrr-fg-light-primary);
  margin-bottom: 8px;
}
body.zrr-page--light-top .zrr-legal-page .legal-meta {
  font-family: var(--zrr-font-mono);
  font-size: 0.8125rem;
  color: var(--zrr-fg-light-secondary);
}
body.zrr-page--light-top .zrr-legal-page section {
  margin-bottom: 32px;
}
body.zrr-page--light-top .zrr-legal-page h2 {
  font-family: var(--zrr-font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--zrr-fg-light-primary);
  margin-bottom: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--zrr-border-light);
}
body.zrr-page--light-top .zrr-legal-page h3 {
  font-family: var(--zrr-font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--zrr-fg-light-primary);
  margin-top: 16px;
  margin-bottom: 8px;
}
body.zrr-page--light-top .zrr-legal-page p {
  font-size: 0.9375rem;
  color: var(--zrr-fg-light-secondary);
  line-height: 1.75;
  margin-bottom: 14px;
}
body.zrr-page--light-top .zrr-legal-page ul {
  padding-left: 24px;
  margin-bottom: 12px;
}
body.zrr-page--light-top .zrr-legal-page li {
  font-size: 0.9375rem;
  color: var(--zrr-fg-light-secondary);
  line-height: 1.7;
  margin-bottom: 6px;
  list-style: disc;
}
body.zrr-page--light-top .zrr-legal-page a {
  color: var(--zrr-accent-aa-light);
  text-decoration: underline;
}
body.zrr-page--light-top .zrr-legal-page address {
  font-style: normal;
  font-size: 0.9375rem;
  color: var(--zrr-fg-light-secondary);
  line-height: 1.8;
}
body.zrr-page--light-top .zrr-legal-page .legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin-bottom: 16px;
}
body.zrr-page--light-top .zrr-legal-page .legal-table th,
body.zrr-page--light-top .zrr-legal-page .legal-table td {
  padding: 10px 14px;
  border: 1px solid var(--zrr-border-light);
  color: var(--zrr-fg-light-secondary);
  text-align: left;
}
body.zrr-page--light-top .zrr-legal-page .legal-table th {
  background: var(--zrr-bg-light);
  font-weight: 600;
  color: var(--zrr-fg-light-primary);
}

/* ─── Login / form pages ─────────────────────────────────────── */
.zrr-auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}
.zrr-auth-card {
  background: var(--zrr-bg-dark-card);
  border: 1px solid var(--zrr-border-dark);
  border-radius: 2px;
  padding: 40px 40px;
  width: 100%;
  max-width: 440px;
}
.zrr-auth-card__eyebrow {
  font-family: var(--zrr-font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--zrr-accent-aa-dark);
  margin-bottom: 12px;
  display: block;
}
.zrr-auth-card__title {
  font-family: var(--zrr-font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--zrr-fg-dark-primary);
  margin-bottom: 28px;
}
.zrr-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.zrr-form-group label {
  font-family: var(--zrr-font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--zrr-fg-dark-secondary);
}
.zrr-form-group input,
.zrr-form-group select,
.zrr-form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--zrr-border-dark);
  border-radius: 2px;
  padding: 10px 14px;
  font-family: var(--zrr-font-body);
  font-size: 0.9375rem;
  color: var(--zrr-fg-dark-primary);
  transition: border-color 0.15s;
  appearance: none;
}
.zrr-form-group input:focus,
.zrr-form-group select:focus,
.zrr-form-group textarea:focus {
  outline: none;
  border-color: var(--zrr-accent-aa-dark);
}
.zrr-form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238CA3BF' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.zrr-form-group select option {
  background: var(--zrr-bg-dark-card);
  color: var(--zrr-fg-dark-primary);
}
.zrr-form-group textarea { resize: vertical; min-height: 100px; }
.zrr-auth-card__links {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.zrr-auth-card__link {
  font-family: var(--zrr-font-mono);
  font-size: 0.8125rem;
  color: var(--zrr-fg-dark-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s;
}
.zrr-auth-card__link:hover { color: var(--zrr-fg-dark-primary); }

/* Light-top contact forms */
.zrr-section--white .zrr-form-group label,
.zrr-section--light .zrr-form-group label {
  color: var(--zrr-fg-light-secondary);
}
.zrr-section--white .zrr-form-group input,
.zrr-section--white .zrr-form-group select,
.zrr-section--white .zrr-form-group textarea,
.zrr-section--light .zrr-form-group input,
.zrr-section--light .zrr-form-group select,
.zrr-section--light .zrr-form-group textarea {
  background-color: var(--zrr-bg-white);
  border-color: var(--zrr-border-light);
  color: var(--zrr-fg-light-primary);
}
.zrr-section--white .zrr-form-group input:focus,
.zrr-section--white .zrr-form-group select:focus,
.zrr-section--white .zrr-form-group textarea:focus,
.zrr-section--light .zrr-form-group input:focus,
.zrr-section--light .zrr-form-group select:focus,
.zrr-section--light .zrr-form-group textarea:focus {
  border-color: var(--zrr-accent-aa-light);
}
.zrr-section--white .zrr-form-group select,
.zrr-section--light .zrr-form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233D5068' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}
.zrr-section--white .zrr-form-group select option,
.zrr-section--light .zrr-form-group select option {
  background: var(--zrr-bg-white);
  color: var(--zrr-fg-light-primary);
}

/* ─── Contact page specific ──────────────────────────────────── */
.zrr-contact-form {
  background: var(--zrr-bg-white);
  border: 1px solid var(--zrr-border-light);
  border-radius: 2px;
  padding: 32px;
  max-width: 600px;
  margin: 0 auto;
}
.zrr-contact-form h3 {
  font-family: var(--zrr-font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--zrr-fg-light-primary);
  margin-bottom: 24px;
}

/* ─── Company facts strip ────────────────────────────────────── */
.zrr-facts-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--zrr-border-dark);
}
.zrr-facts-strip__item {
  background: var(--zrr-bg-dark);
  padding: 28px 24px;
  text-align: center;
}
.zrr-facts-strip__value {
  font-family: var(--zrr-font-mono);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--zrr-accent-aa-dark);
  display: block;
  margin-bottom: 4px;
}
.zrr-facts-strip__label {
  font-family: var(--zrr-font-mono);
  font-size: 0.75rem;
  color: var(--zrr-fg-dark-secondary);
}
@media (max-width: 640px) {
  .zrr-facts-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Breadcrumb ─────────────────────────────────────────────── */
.zrr-breadcrumb {
  font-family: var(--zrr-font-mono);
  font-size: 0.75rem;
  color: var(--zrr-fg-dark-secondary);
  margin-bottom: 12px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.zrr-breadcrumb__sep { opacity: 0.4; }
.zrr-breadcrumb__link { color: var(--zrr-fg-dark-secondary); }
.zrr-breadcrumb__link:hover { color: var(--zrr-fg-dark-primary); }
.zrr-section--light .zrr-breadcrumb,
.zrr-section--white .zrr-breadcrumb { color: var(--zrr-fg-light-secondary); }
.zrr-section--light .zrr-breadcrumb__link,
.zrr-section--white .zrr-breadcrumb__link { color: var(--zrr-fg-light-secondary); }

/* ─── State machine diagram ──────────────────────────────────── */
.zrr-state-machine {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  padding: 16px 0;
}
.zrr-state-node {
  background: var(--zrr-bg-dark-card);
  border: 1px solid var(--zrr-border-dark);
  border-radius: 2px;
  padding: 16px 18px;
  text-align: center;
  flex-shrink: 0;
  min-width: 90px;
}
.zrr-state-node--active {
  border-color: var(--zrr-accent-aa-dark);
  background: rgba(0,201,167,0.08);
}
.zrr-state-node__label {
  font-family: var(--zrr-font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--zrr-fg-dark-primary);
}
.zrr-state-node--active .zrr-state-node__label { color: var(--zrr-accent-aa-dark); }
.zrr-state-arrow {
  font-family: var(--zrr-font-mono);
  font-size: 0.75rem;
  color: var(--zrr-fg-dark-secondary);
  padding: 0 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.zrr-state-arrow__icon { font-size: 1rem; }

/* ─── Register map table ─────────────────────────────────────── */
.zrr-reg-table {
  width: 100%;
  font-size: 0.8125rem;
  border: 1px solid var(--zrr-border-dark);
}
.zrr-reg-table th,
.zrr-reg-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--zrr-border-dark);
  text-align: left;
  vertical-align: top;
}
.zrr-reg-table thead th {
  background: rgba(255,255,255,0.05);
  font-family: var(--zrr-font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--zrr-fg-dark-secondary);
}
.zrr-reg-table tbody td:first-child {
  font-family: var(--zrr-font-mono);
  color: var(--zrr-accent-aa-dark);
}
.zrr-reg-table tbody td {
  color: var(--zrr-fg-dark-secondary);
  font-family: var(--zrr-font-mono);
}
.zrr-reg-table tbody td:last-child {
  font-family: var(--zrr-font-body);
  color: var(--zrr-fg-dark-secondary);
}
