body {
  line-height: 1.6;
  font-size: 1.0625rem;
  padding: 0 0.625rem;
  margin: 1.25rem auto;
  max-width: 37.5rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #1a1a1a;
}

/* Layout helpers */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.site-header-image {
  background: #fff;
  background-image: url('/blank-slate/frontier-splash.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Short hero */
  /* min-height: 35vh; */
  /* Parallax effect on supported browsers */
  /* background-attachment: fixed; */
  /* Full-bleed across viewport while content stays centered */
  width: 100vw;
  margin-inline-start: calc(50% - 50vw);
  margin-inline-end: calc(50% - 50vw);
  /* Spacing and subtle separation */
  padding: 0.625rem 0;
  height: 35vh;
  /* border-bottom: 1px solid #eee; */
}

.site-header {
  background-image: none;
  padding: 0.625rem 0;
  width: 100vw;
  margin-inline-start: calc(50% - 50vw);
  margin-inline-end: calc(50% - 50vw);
  border-block-end: 0.0625rem solid #eee;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 1rem;
  /* Match body content width while header is full-bleed */
  max-width: 37.5rem;
  margin: 0 auto;
  padding: 0 0.625rem;
}

/* Mobile/iOS Safari fallback */
@media (max-width: 48rem) {
  .site-header-image {
    /* Shorter hero on small screens */
    height: 24vh;
  }
}

.wordmark {
  font-family: 'Nova Square', system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  text-decoration: none;
  color: #111;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  font-weight: 600;
  /* Ensure font loads properly */
  font-display: swap;
}

.logo-link {
  display: inline-block;
  text-decoration: none;
  line-height: 0;
}

.site-logo-picture {
  display: block;
}

.site-logo {
  height: 1.5rem;
  width: auto;
  display: block;
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  margin-block-start: 1.875rem;
  padding-block-start: 0.625rem;
}

.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  column-gap: 1.25rem;
  row-gap: 0.35rem;
  font-size: 0.9375rem;
  color: #555;
}

.footer-contact address {
  flex: 1 1 100%;
}

.footer-reveal {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 0.05em;
  transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1), color 200ms ease;
}

.footer-reveal:active {
  transform: scale(0.97);
}

@media (hover: hover) and (pointer: fine) {
  .footer-reveal:hover {
    color: #111;
  }
}

.footer-revealed {
  display: inline-block;
  font-style: normal;
  line-height: 1.45;
  color: inherit;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 180ms cubic-bezier(0.23, 1, 0.32, 1),
    transform 180ms cubic-bezier(0.23, 1, 0.32, 1);
}

.footer-revealed a {
  color: inherit;
}

@starting-style {
  .footer-revealed {
    opacity: 0;
    transform: translateY(4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-reveal,
  .footer-revealed {
    transition: none;
  }
}

main .footer-reveal,
main .footer-revealed,
main .footer-revealed a {
  color: #0a58ca;
}

@media (hover: hover) and (pointer: fine) {
  main .footer-reveal:hover {
    color: #084298;
  }
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
  }

  body {
    background-color: #0b0c10;
    color: #e6e6e6;
  }

  .wordmark {
    color: #f2f2f2;
  }

  .site-nav a {
    color: #8ab4f8;
  }

  .site-nav a:hover {
    text-decoration: underline;
  }

  .hamburger-line {
    background-color: #f2f2f2;
  }

  .hamburger:hover .hamburger-line {
    background-color: #8ab4f8;
  }

  .hamburger:focus {
    outline: 2px solid rgba(138, 180, 248, 0.5);
  }

  @media (max-width: 48rem) {
    .site-nav {
      background-color: #0b0c10;
      border-bottom: 0.0625rem solid #1f2937;
      box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.3);
    }

    .site-nav a {
      color: #8ab4f8;
      border-bottom: 1px solid transparent;
    }

    .site-nav a:hover {
      background-color: rgba(138, 180, 248, 0.1);
      border-bottom: 1px solid #1f2937;
    }
  }

  .site-header {
    border-block-end: 0.0625rem solid #1f2937;
  }

  .site-footer {
    color: #b7b7b7;
  }

  .footer-contact {
    color: #a3a3a3;
  }

  @media (hover: hover) and (pointer: fine) {
    .footer-reveal:hover {
      color: #f2f2f2;
    }

    main .footer-reveal:hover {
      color: #b3d1ff;
    }
  }

  main .footer-reveal,
  main .footer-revealed,
  main .footer-revealed a {
    color: #8ab4f8;
  }

  /* Team card tweaks */
  .team-member {
    background-color: #111318;
    border: 0.0625rem solid #1f2937;
  }

  .team-member:hover {
    background-color: #161a22;
    box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.4);
  }

  .headshot {
    border: 0.0625rem solid #1f2937;
  }

  .tag.codex {
    background-color: #0b2340;
    color: #8ab4f8;
    border: 0.0625rem solid #1f3a66;
  }

  .tag.langquest {
    background-color: #2a0f33;
    color: #e6b3ff;
    border: 0.0625rem solid #4a1a59;
  }

  .tag.ai-rd {
    background-color: #0f2a14;
    color: #9ad3a3;
    border: 0.0625rem solid #1c4a26;
  }

  /* Dark mode selection color */
  ::selection {
    background-color: rgba(138, 180, 248, 0.2);
    color: inherit;
  }

  ::-moz-selection {
    background-color: rgba(138, 180, 248, 0.2);
    color: inherit;
  }

  main a:not(.wordmark):not(.product-card) {
    text-decoration-color: rgba(138, 180, 248, 0.3);
  }

  main a:not(.wordmark):not(.product-card):hover {
    text-decoration-color: rgba(138, 180, 248, 0.7);
  }
}

/* Shared nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  color: #0a58ca;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover {
  text-decoration: underline;
}

/* Hamburger menu button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 1.5rem;
  height: 1.25rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 0.125rem;
  background-color: #111;
  transition: all 0.3s ease;
  border-radius: 0.0625rem;
}

.hamburger:hover .hamburger-line {
  background-color: #0a58ca;
}

.hamburger:focus {
  outline: 2px solid rgba(10, 88, 202, 0.5);
  outline-offset: 2px;
  border-radius: 0.25rem;
}

.hamburger:focus:not(:focus-visible) {
  outline: none;
}

/* Mobile styles */
@media (max-width: 48rem) {
  .hamburger {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    gap: 0.75rem;
    border-bottom: 0.0625rem solid #eee;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
  }

  .site-nav.nav-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .site-nav a {
    width: 100%;
    padding: 0.5rem 0;
  }

  .header-inner {
    position: relative;
  }
}

/* Dark mode hamburger styles */
@media (prefers-color-scheme: dark) {
  .hamburger-line {
    background-color: #f2f2f2;
  }

  .hamburger:hover .hamburger-line {
    background-color: #8ab4f8;
  }

  .hamburger:focus {
    outline: 2px solid rgba(138, 180, 248, 0.5);
  }

  @media (max-width: 48rem) {
    .site-nav {
      background-color: #0b0c10;
      border-bottom: 0.0625rem solid #1f2937;
      box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.3);
    }

    .site-nav a {
      color: #8ab4f8;
      border-bottom: 1px solid transparent;
    }

    .site-nav a:hover {
      background-color: rgba(138, 180, 248, 0.1);
      border-bottom: 1px solid #1f2937;
    }
  }
}

/* Footer-specific nav tweaks */
.site-footer .site-nav a {
  color: #555;
}

/* Subtle modern touches */
h1,
h2,
h3 {
  letter-spacing: -0.02em;
  font-weight: 600;
}

h1 {
  font-size: 2.25rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 1.75rem;
  line-height: 1.3;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.25rem;
}

/* Subtle link animation */
a {
  transition: color 0.2s ease;
  position: relative;
}

main a:not(.wordmark):not(.product-card) {
  text-decoration-thickness: 0.05em;
  text-underline-offset: 0.2em;
  text-decoration-color: rgba(10, 88, 202, 0.3);
}

main a:not(.wordmark):not(.product-card):hover {
  text-decoration-color: rgba(10, 88, 202, 0.7);
}

/* Homepage product cards: full-panel links, not default anchor styling */
main a.product-card,
main a.product-card:visited {
  color: #1a1a1a;
  text-decoration: none;
}

/* List refinements */
ul,
ol {
  line-height: 1.8;
}

li {
  margin-bottom: 0.5rem;
}

/* Subtle selection color */
::selection {
  background-color: rgba(10, 88, 202, 0.15);
  color: inherit;
}

::-moz-selection {
  background-color: rgba(10, 88, 202, 0.15);
  color: inherit;
}

/* Team Section Styles */
.team-section {
  margin-bottom: 2rem;
}

.team-section-heading {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #6c757d;
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 0.5rem;
  margin-bottom: 0.25rem;
  margin-top: 0;
}

.team-section-desc {
  font-size: 0.85rem;
  color: #6c757d;
  margin-bottom: 0.75rem;
  margin-top: 0.25rem;
  line-height: 1.5;
}

/* Team Grid Styles */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.375rem, 1fr));
  gap: 0.75rem;
  margin: 0.5rem 0 0 0;
  font-family: 'Roboto', sans-serif;
}

.team-member {
  background-color: #f8f9fa;
  border-radius: 0.375rem;
  padding: 0.75rem 0.5rem;
  text-align: center;
  transition: all 0.2s ease;
  border: 0.0625rem solid #e9ecef;
}

.team-member:hover {
  background-color: #e9ecef;
  transform: translateY(-0.0625rem);
  box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.08);
}

.headshot-placeholder {
  width: 6.25rem;
  height: 6.25rem;
  background-color: #dee2e6;
  border-radius: 50%;
  margin: 0 auto 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #6c757d;
  position: relative;
}

.headshot-placeholder::before {
  content: '👤';
}

.headshot {
  width: 6.25rem;
  height: 6.25rem;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 0.5rem;
  border: 0.0625rem solid #e9ecef;
}

.team-member h3 {
  margin: 0 0 0.125rem 0;
  font-size: 1rem;
  color: #212529;
}

.team-member .role {
  margin: 0 0 0.5rem 0;
  color: #6c757d;
  font-size: 0.8rem;
  line-height: 1.2;
}

.focus-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  justify-content: center;
}

.tag {
  padding: 0.125rem 0.375rem;
  border-radius: 0.75rem;
  letter-spacing: 0.03125rem;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 0.6rem;
  text-transform: uppercase;
}

.tag.codex {
  background-color: #e3f2fd;
  color: #1976d2;
  border: 0.0625rem solid #bbdefb;
}

.tag.langquest {
  background-color: #f3e5f5;
  color: #7b1fa2;
  border: 0.0625rem solid #ce93d8;
}

.tag.ai-rd {
  background-color: #e8f5e8;
  color: #388e3c;
  border: 0.0625rem solid #a5d6a7;
}

/* Final dark-mode overrides (placed at end to win cascade) */
@media (prefers-color-scheme: dark) {
  body {
    background-color: #0b0c10;
    color: #e6e6e6;
  }

  .wordmark {
    color: #f2f2f2;
  }

  a {
    color: #8ab4f8;
  }

  /* Homepage product cards are interactive panels, not inline text links */
  main a.product-card {
    color: #e8eaed;
  }

  .site-nav a {
    color: #8ab4f8;
  }

  .site-footer .site-nav a {
    color: #a3a3a3;
  }

  .site-header {
    border-block-end: 0.0625rem solid #1f2937;
  }

  .team-section-heading {
    color: #9aa3af;
    border-bottom-color: #1f2937;
  }

  .team-section-desc {
    color: #9aa3af;
  }

  .team-member {
    background-color: #111318;
    border: 0.0625rem solid #1f2937;
  }

  .team-member:hover {
    background-color: #161a22;
    box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.4);
  }

  .team-member h3 {
    color: #e6e6e6;
  }

  .team-member .role {
    color: #9aa3af;
  }

  .headshot {
    border: 0.0625rem solid #1f2937;
  }

  .tag.codex {
    background-color: #0b2340;
    color: #8ab4f8;
    border: 0.0625rem solid #1f3a66;
  }

  .tag.langquest {
    background-color: #2a0f33;
    color: #e6b3ff;
    border: 0.0625rem solid #4a1a59;
  }

  .tag.ai-rd {
    background-color: #0f2a14;
    color: #9ad3a3;
    border: 0.0625rem solid #1c4a26;
  }

  /* Dark mode selection color */
  ::selection {
    background-color: rgba(138, 180, 248, 0.2);
    color: inherit;
  }

  ::-moz-selection {
    background-color: rgba(138, 180, 248, 0.2);
    color: inherit;
  }

  main a:not(.wordmark):not(.product-card) {
    text-decoration-color: rgba(138, 180, 248, 0.3);
  }

  main a:not(.wordmark):not(.product-card):hover {
    text-decoration-color: rgba(138, 180, 248, 0.7);
  }
}

/* Blog Styles */
.blog-meta {
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.blog-meta time {
  font-weight: 500;
}

.blog-meta .author {
  color: #6c757d;
}

.blog-content {
  line-height: 1.8;
}

.blog-content hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 2rem 0;
}

.blog-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.blog-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.25rem;
  margin: 1.5rem 0;
}

.blog-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.95rem;
}

.blog-content th,
.blog-content td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.blog-content th {
  font-weight: 600;
  color: #374151;
  border-bottom: 2px solid #d1d5db;
}

.blog-content tr:last-child td {
  border-bottom: none;
}

.blog-hero {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 2rem 0;
  display: block;
}

.blog-list {
  margin-top: 2rem;
}

.blog-post-item {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e5e7eb;
}

.blog-post-item:last-child {
  border-bottom: none;
}

.blog-post-item h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.blog-post-item h2 a {
  color: inherit;
  text-decoration: none;
}

.blog-post-item h2 a:hover {
  text-decoration: underline;
}

.blog-post-item p {
  margin-top: 0.75rem;
  margin-bottom: 0;
  color: #4b5563;
}

.blog-empty {
  color: #6c757d;
  font-style: italic;
}

/* Dark mode blog styles */
@media (prefers-color-scheme: dark) {
  .blog-post-item {
    border-bottom-color: #374151;
  }

  .blog-post-item p {
    color: #9aa3af;
  }

  .blog-meta {
    color: #9aa3af;
  }

  .blog-meta .author {
    color: #9aa3af;
  }

  .blog-content hr {
    border-top-color: #374151;
  }

  .blog-content th,
  .blog-content td {
    border-bottom-color: #374151;
  }

  .blog-content th {
    color: #d1d5db;
    border-bottom-color: #4b5563;
  }

  .blog-empty {
    color: #9aa3af;
  }
}

/* ============================================
   Values Page
   ============================================ */

:root {
  --val-mission: #2563eb;
  --val-innovation: #059669;
  --val-people: #d97706;
  --val-mission-bg: #eff6ff;
  --val-innovation-bg: #ecfdf5;
  --val-people-bg: #fffbeb;
}

@media (prefers-color-scheme: dark) {
  :root {
    --val-mission: #60a5fa;
    --val-innovation: #34d399;
    --val-people: #fbbf24;
    --val-mission-bg: #0c1a2e;
    --val-innovation-bg: #0a1f17;
    --val-people-bg: #1f1a0a;
  }
}

/* --- Values Framework (the "diagram") --- */
.values-framework {
  margin: 2rem 0 2.5rem;
  border: 1px solid #e0e0e0;
  border-radius: 0.5rem;
  overflow: hidden;
}

.values-framework-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e9ecef;
}

.values-framework-item:last-of-type {
  border-bottom: none;
}

.vf-marker {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.vf-mission .vf-marker { background-color: var(--val-mission); }
.vf-innovation .vf-marker { background-color: var(--val-innovation); }
.vf-people .vf-marker { background-color: var(--val-people); }

.values-framework-item strong {
  font-size: 1rem;
  display: block;
  letter-spacing: -0.01em;
}

.vf-sub {
  font-size: 0.8rem;
  color: #6c757d;
  display: block;
  margin-top: 0.125rem;
}

.values-framework-footer {
  padding: 0.875rem 1.25rem;
  background-color: #f8f9fa;
  font-family: 'Nova Square', system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.01em;
  border-top: 1px solid #e9ecef;
}

/* --- Value detail blocks --- */
.value-block {
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  padding-left: 1.75rem;
  border-left: 4px solid #e9ecef;
  border-radius: 0 0.375rem 0.375rem 0;
  background: transparent;
}

.vb-mission { border-left-color: var(--val-mission); }
.vb-innovation { border-left-color: var(--val-innovation); }
.vb-people { border-left-color: var(--val-people); }

.value-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.value-number {
  font-family: 'Nova Square', system-ui, sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1;
  flex-shrink: 0;
}

.vb-mission .value-number { color: var(--val-mission); }
.vb-innovation .value-number { color: var(--val-innovation); }
.vb-people .value-number { color: var(--val-people); }

.value-title {
  font-size: 1.4rem;
  margin: 0;
  line-height: 1.3;
}

.value-lead {
  font-weight: 600;
  font-size: 1.05rem;
}

.value-tension {
  margin-top: 1.25rem;
  margin-bottom: 0;
  padding: 0.875rem 1rem;
  border-radius: 0.375rem;
  color: #4b5563;
  font-style: italic;
  line-height: 1.8;
  font-size: 0.9rem;
}

.vb-mission .value-tension { background-color: var(--val-mission-bg); }
.vb-innovation .value-tension { background-color: var(--val-innovation-bg); }
.vb-people .value-tension { background-color: var(--val-people-bg); }

.value-tension strong {
  font-style: normal;
}

/* --- Intersection block --- */
.intersection-block {
  margin-top: 0.5rem;
  padding: 1.5rem;
  border: 1px solid #e0e0e0;
  border-radius: 0.5rem;
  background-color: #f8f9fa;
}

.intersection-block h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.intersection-list {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
}

.intersection-list li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.6;
}

.intersection-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
}

.intersection-list li:nth-child(1)::before { background-color: var(--val-mission); }
.intersection-list li:nth-child(2)::before { background-color: var(--val-innovation); }
.intersection-list li:nth-child(3)::before { background-color: var(--val-people); }

.intersection-closing {
  font-family: 'Nova Square', system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0;
}

/* --- Dark mode values --- */
@media (prefers-color-scheme: dark) {
  .values-framework {
    border-color: #1f2937;
  }

  .values-framework-item {
    border-bottom-color: #1f2937;
  }

  .vf-sub {
    color: #9aa3af;
  }

  .values-framework-footer {
    background-color: #111318;
    border-top-color: #1f2937;
  }

  .value-block {
    border-left-color: #374151;
  }

  .vb-mission { border-left-color: var(--val-mission); }
  .vb-innovation { border-left-color: var(--val-innovation); }
  .vb-people { border-left-color: var(--val-people); }

  .value-number {
    color: #9aa3af;
  }

  .vb-mission .value-number { color: var(--val-mission); }
  .vb-innovation .value-number { color: var(--val-innovation); }
  .vb-people .value-number { color: var(--val-people); }

  .value-tension {
    color: #9aa3af;
  }

  .intersection-block {
    border-color: #1f2937;
    background-color: #111318;
  }
}

/* /links — QR-friendly hub; data from links/links.json */
.links-hub {
  max-width: 22rem;
  margin-inline: auto;
}

.links-hub__title {
  font-family: 'Nova Square', system-ui, sans-serif;
  font-size: 1.5rem;
  text-align: center;
  margin-block-end: 0.75rem;
}

.links-hub__intro {
  text-align: center;
  font-size: 0.9375rem;
  color: #555;
  margin-block-end: 1.25rem;
}

@media (prefers-color-scheme: dark) {
  .links-hub__intro {
    color: #a8b0bc;
  }
}

.links-hub__loading,
.links-hub__error {
  text-align: center;
}

.links-hub__error {
  color: #b42318;
}

@media (prefers-color-scheme: dark) {
  .links-hub__error {
    color: #fca5a5;
  }
}

.links-hub__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.links-hub__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
  padding: 0.85rem 1rem;
  border: 0.0625rem solid #e5e5e5;
  border-radius: 0.5rem;
  text-decoration: none;
  color: inherit;
  font-weight: 400;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.links-hub__card:hover {
  background-color: #f7f7f7;
  border-color: #ccc;
}

.links-hub__card:focus-visible {
  outline: 0.125rem solid #111;
  outline-offset: 0.125rem;
}

.links-hub__label {
  font-size: 1rem;
  font-weight: 600;
}

.links-hub__subtitle {
  font-size: 0.8125rem;
  font-weight: 400;
  color: #666;
}

.links-hub__cta {
  display: inline-block;
  margin-block-start: 0.5rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  background-color: #111;
  border-radius: 9999px;
  line-height: 1.2;
}

.links-hub__card:hover .links-hub__cta {
  background-color: #333;
}

@media (prefers-color-scheme: dark) {
  .links-hub__cta {
    color: #111;
    background-color: #f2f2f2;
  }

  .links-hub__card:hover .links-hub__cta {
    background-color: #fff;
  }

  .links-hub__card {
    border-color: #374151;
  }

  .links-hub__card:hover {
    background-color: #1a1f26;
    border-color: #4b5563;
  }

  .links-hub__card:focus-visible {
    outline-color: #f2f2f2;
  }

  .links-hub__subtitle {
    color: #9ca3af;
  }
}

.links-hub__empty {
  text-align: center;
  font-size: 0.9375rem;
  color: #555;
}

@media (prefers-color-scheme: dark) {
  .links-hub__empty {
    color: #a8b0bc;
  }
}

/* Homepage: featured product cards (Aquilla + LangQuest)
   Boxed panels — same vocabulary as .values-framework / .team-member */
.product-showcase {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0 1.75rem;
  grid-template-columns: 1fr;
}

@media (min-width: 36rem) {
  .product-showcase {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    gap: 1.125rem;
  }
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: 1.25rem 1.375rem 1.35rem;
  border-radius: 0.5rem;
  text-decoration: none;
  color: #1a1a1a;
  border: 1px solid #e0e0e0;
  background-color: #f8f9fa;
  box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.06);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.product-card:hover {
  transform: translateY(-0.125rem);
  box-shadow: 0 0.375rem 0.75rem rgba(0, 0, 0, 0.1);
}

.product-card:focus-visible {
  outline: 2px solid #0a58ca;
  outline-offset: 3px;
}

.product-card__top--aquilla {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.125rem;
}

.product-card__badge {
  flex-shrink: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #fff;
  line-height: 1.2;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.product-card__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.5rem;
}

.product-card__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #6b7280;
  margin: -0.125rem 0 0;
}

.product-card__logo--aquilla {
  display: block;
  height: 2rem;
  width: 2rem;
  border-radius: 0.4rem;
  flex-shrink: 0;
}

.product-card__brand--langquest {
  gap: 0.625rem;
  margin-bottom: 0.125rem;
}

.product-card__icon-globe {
  flex-shrink: 0;
  color: #6d28d9;
}

.product-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #111827;
  margin: 0;
}

.product-card__title--inline {
  font-family: 'Nova Square', system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: #5b21b6;
}

.product-card__tagline {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #4b5563;
  flex: 1;
  margin: 0;
}

.product-card__cta {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-top: 0.375rem;
  padding-top: 0.625rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.product-card--aquilla {
  border-left: 4px solid #2563eb;
  background: linear-gradient(180deg, #eff5ff 0%, #f8f9fa 100%);
}

.product-card--aquilla .product-card__cta {
  color: #1d4ed8;
  border-top-color: rgba(37, 99, 235, 0.2);
}

.product-card--aquilla:hover {
  border-color: #bedbff;
  background: linear-gradient(180deg, #fff 0%, #eff6ff 100%);
}

.product-card--langquest {
  border-left: 4px solid #7c3aed;
  background: linear-gradient(180deg, #f5f3ff 0%, #f8f9fa 100%);
}

.product-card--langquest .product-card__cta {
  color: #6d28d9;
  border-top-color: rgba(124, 58, 237, 0.22);
}

.product-card--langquest:hover {
  border-color: #ddd6fe;
  background: linear-gradient(180deg, #faf5ff 0%, #f5f3ff 100%);
}

@media (prefers-color-scheme: dark) {
  .product-card {
    background-color: #14161c;
    border-color: #2d3340;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.45);
  }

  .product-card:hover {
    box-shadow: 0 0.375rem 0.875rem rgba(0, 0, 0, 0.55);
  }

  .product-card:focus-visible {
    outline-color: #93c5fd;
  }

  .product-card__title {
    color: #f2f2f2;
  }

  .product-card__title--inline {
    color: #ddd6fe;
  }

  .product-card__tagline {
    color: #b8c0cc;
  }

  .product-card__badge,
  .product-card__badge__mobile {
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    border-color: rgba(0, 0, 0, 0.25);
  }

  .product-card__eyebrow {
    color: #9aa4b2;
  }

  .product-card__icon-globe {
    color: #a78bfa;
  }

  .product-card__cta {
    border-top-color: rgba(255, 255, 255, 0.1);
  }

  .product-card--aquilla {
    border-left-color: #54a2ff;
    background: linear-gradient(180deg, #14213b 0%, #14161c 100%);
  }

  .product-card--aquilla .product-card__cta {
    color: #93c5fd;
    border-top-color: rgba(84, 162, 255, 0.25);
  }

  .product-card--aquilla:hover {
    border-color: #1e3a8a;
    background: linear-gradient(180deg, #16233f 0%, #141821 100%);
  }

  .product-card--langquest {
    border-left-color: #a78bfa;
    background: linear-gradient(180deg, #1e1a2e 0%, #14161c 100%);
  }

  .product-card--langquest .product-card__cta {
    color: #c4b5fd;
    border-top-color: rgba(167, 139, 250, 0.25);
  }

  .product-card--langquest:hover {
    border-color: #4c1d95;
    background: linear-gradient(180deg, #252036 0%, #1a1628 100%);
  }
}

/* Blog: editor's note / update callout */
.editors-note {
  margin: 0 0 1.75rem;
  padding: 0.85rem 1.1rem;
  border-left: 4px solid #dc2626;
  background: #fff5f5;
  border-radius: 0.4rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #4b5563;
}

.editors-note strong {
  color: #1a1a1a;
}

@media (prefers-color-scheme: dark) {
  .editors-note {
    background: #291a1c;
    border-left-color: #ef4444;
    color: #b8c0cc;
  }

  .editors-note strong {
    color: #f2f2f2;
  }
}
