/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #ffffff;
  --primary-light: #f8f8f8;
  --accent: #F2511B;
  --accent-hover: #C53F12;
  --accent-text: #C53F12; /* darker accent for small text/links — clears WCAG AA on white */
  --accent-alt: #1F7E32;
  --green: #2AA542;
  --green-dark: #1F7E32;
  --accent-gradient: linear-gradient(135deg, #F2511B 0%, #C53F12 100%);
  --green-gradient: linear-gradient(135deg, #2AA542 0%, #1F7E32 100%);
  --ink: #0B0B0B;
  --text: #2d2d2d;
  --text-muted: #5D606A;
  --white: #ffffff;
  --dark: #1a1a1a;
  --surface: #F7F7F8;
  --border: #DDDEE2;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: 12px;
  --transition: 0.3s ease;
  --max-width: 1200px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ===== FOCUS & MOTION ===== */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 {
  color: var(--ink);
  line-height: 1.2;
}

/* Light display headings (design language); card/small headings stay semibold */
h1 { font-weight: 200; letter-spacing: -0.01em; }
h2 { font-weight: 300; letter-spacing: -0.01em; }
h3, h4, h5 { font-weight: 600; }

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }

.section-label {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 0.9rem;
}

/* Eyebrow bar: inline before left-aligned labels, centered under centered ones */
.section-label::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 2px;
  background: var(--green);
  vertical-align: middle;
  margin-right: 10px;
}
.section-head.center .section-label::before,
.cta-section .section-label::before {
  content: none;
}
.section-head.center .section-label::after,
.cta-section .section-label::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  background: var(--green);
  margin: 10px auto 0;
}

.section-title {
  margin-bottom: 1rem;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.page-hero .section-title {
  font-weight: 200;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 640px;
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3.5vw, 2rem);
}

section {
  padding: 6rem 0;
}

/* Anchor offset: in-page anchors are always followed in the scrolled state,
   where the header has collapsed to the compact ~56px single-row bar. */
[id] {
  scroll-margin-top: 5rem;
}

/* ===== SITE HEADER (redesign) ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0 22px;
  background: rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: padding .28s cubic-bezier(.2,0,.1,1), background .28s, box-shadow .28s, border-color .28s;
}
.site-header.scrolled {
  padding: 9px 0 14px;
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 4px rgba(11, 11, 11, 0.07);
}
.header-wave {
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 100%;
  height: 26px;
  pointer-events: none;
  display: block;
}
.header-inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3.5vw, 30px);
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-chip { height: 34px; width: auto; display: block; transition: height .28s cubic-bezier(.2,0,.1,1); }
.site-header.scrolled .brand-chip { height: 28px; }
.brand-word { display: inline-flex; align-items: baseline; gap: 5px; }
.brand-name {
  font-weight: 300; font-size: 18px; letter-spacing: 0.16em; color: var(--ink);
  line-height: 1; white-space: nowrap; transition: font-size .28s cubic-bezier(.2,0,.1,1);
}
.site-header.scrolled .brand-name { font-size: 15px; }
.brand-inc {
  font-weight: 400; color: #8E9099; font-size: 0.42em; letter-spacing: 0;
  align-self: flex-end; margin-bottom: 0.14em;
}

.live-chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px;
  border: 1px solid rgba(42, 165, 66, 0.35); background: rgba(255, 255, 255, 0.5);
  font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.08em;
  color: var(--green-dark); white-space: nowrap; cursor: pointer; transition: background .28s, border-color .28s;
}
.live-hz { min-width: 52px; text-align: left; font-variant-numeric: tabular-nums; }
.site-header.scrolled .live-chip { background: #fff; border-color: #CBD9CD; }
.live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green); display: inline-block;
  animation: nr-sig 1s cubic-bezier(.2,0,.1,1) infinite;
}
.live-sep { opacity: 0.4; }
@keyframes nr-sig { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

.main-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px; padding: 8px 12px;
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-muted); border-radius: 6px; transition: color .18s;
}
.nav-link:hover, .nav-link.active { color: var(--ink); }
.caret { font-size: 9px; opacity: 0.6; }
.nav-item { position: relative; }
.nav-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 8px;
  background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 6px;
  min-width: 190px; box-shadow: 0 12px 30px rgba(11,11,11,0.1);
  display: none; flex-direction: column; z-index: 1001;
}
/* Transparent bridge over the 8px gap so hover isn't lost moving to the menu */
.nav-menu::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.nav-item:hover .nav-menu, .nav-item:focus-within .nav-menu, .nav-item.open .nav-menu { display: flex; }
.nav-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px; font-size: 0.86rem; color: var(--text-muted);
  border-radius: 7px; white-space: nowrap; transition: color .18s, background .18s;
}
.nav-menu .menu-icon {
  font-size: 18px;
  color: var(--green-dark);
  flex-shrink: 0;
}
.nav-menu a:hover { color: var(--accent-text); background: rgba(242,81,27,0.05); }
.nav-contact {
  margin-left: 12px; padding: 9px 19px; border-radius: 8px; background: var(--accent); color: #fff;
  font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; transition: background .18s cubic-bezier(.2,0,.1,1);
}
.nav-contact:hover { background: var(--accent-hover); }

.nav-burger {
  display: none; margin-left: auto; width: 40px; height: 40px; border: 1px solid var(--border);
  border-radius: 8px; background: #fff; cursor: pointer; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px;
}
.nav-burger span { width: 18px; height: 2px; background: var(--ink); display: block; transition: transform .2s, opacity .2s; }
.nav-burger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-panel {
  display: none; flex-direction: column; background: #fff; border-top: 1px solid var(--border);
  padding: 10px clamp(16px,3.5vw,30px) 18px; gap: 2px; box-shadow: 0 12px 30px rgba(11,11,11,0.08);
}
.mobile-panel.open { display: flex; }
.mobile-panel a {
  display: block; padding: 12px 14px; font-family: var(--mono); font-size: 13px;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid #F0F0F2;
}
.mobile-panel a.active { color: var(--accent-text); }
.mobile-contact {
  margin-top: 8px; border-radius: 8px; background: var(--accent); color: #fff !important;
  text-align: center; border-bottom: none !important;
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-burger { display: flex; }
}
@media (max-width: 620px) { .live-chip { display: none; } }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--white);
  color: var(--accent-alt);
  border: 1px solid var(--accent-alt);
}

.btn-secondary:hover {
  background: var(--accent-alt);
  color: var(--white);
}

/* ===== CARDS (design language: 16px radius, quiet hover) ===== */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
}

.card:hover,
.card:focus-within {
  border-color: rgba(242, 81, 27, 0.3);
  box-shadow: 0 16px 40px rgba(11, 11, 11, 0.06);
}

/* Mono kicker line above a card title (e.g. ecosystem partner cards) */
.card-kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--green-dark);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.card-kicker.accent {
  color: var(--accent);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--green-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.3rem;
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== HERO BACKGROUND (shared tints + waveform host) ===== */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 103, 28, 0.07) 0%, transparent 70%);
  top: -10%;
  right: -5%;
}

.hero-bg::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 125, 50, 0.06) 0%, transparent 70%);
  bottom: 0;
  left: -10%;
}

/* ===== GRID LAYOUTS ===== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* ===== TEAM CARDS (avatar-left header, mono role line) ===== */
.team-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.team-card .avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-gradient);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  overflow: hidden;
}

/* Alternate the avatar tint down the grid, per the design */
.team-card:nth-child(even) .avatar {
  background: var(--green-gradient);
}

/* Initials placeholder shown until a real headshot is dropped in. */
.team-card .avatar .avatar-initials {
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* When a photo is added (<img> inside .avatar) it fills the tile. */
.team-card .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  margin-bottom: 0;
  font-size: 1.05rem;
}

.team-card .role {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--green-dark);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 2px;
}

.team-card .role .focus {
  display: block;
  margin-top: 3px;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.01em;
  font-weight: 400;
  color: var(--text-muted);
}

.team-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ===== FORM ===== */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--dark);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(42, 165, 66, 0.12);
}

.form-group input:focus:not(:focus-visible),
.form-group textarea:focus:not(:focus-visible),
.form-group select:focus:not(:focus-visible) {
  outline: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===== FOOTER (redesign) ===== */
.footer {
  padding: 64px 0 32px;
  background: #fff;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
}
.footer .container { max-width: 1240px; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand { grid-column: 1 / -1; max-width: 300px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo svg { height: 30px; width: auto; display: block; }
.footer-logo span { font-weight: 300; font-size: 1.02rem; letter-spacing: 0.14em; color: var(--ink); }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }
.footer-loc { margin-top: 10px; font-size: 0.85rem; color: #8E9099; }
.footer-col h4 {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 14px; font-weight: 500;
}
.footer-col a { display: block; color: var(--text-muted); font-size: 0.9rem; padding: 5px 0; transition: color .18s; }
.footer-col a:hover { color: var(--accent-text); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding-top: 26px; border-top: 1px solid var(--border); font-size: 0.85rem; color: #8E9099;
}
.footer-bottom a { color: #8E9099; }
.footer-bottom a:hover { color: var(--accent-text); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 7rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero .hero-bg::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 103, 28, 0.06) 0%, transparent 70%);
  top: -20%;
  right: -5%;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin-bottom: 1rem;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 600px;
}

/* ===== CTA SECTION ===== */
.cta-section {
  text-align: center;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-section h2 {
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* Dark CTA variant (deep green, orange eyebrow) */
.cta-section.dark {
  background: #2d3a2e;
  border-color: transparent;
}
.cta-section.dark h2 {
  color: var(--white);
}
.cta-section.dark p {
  color: rgba(255, 255, 255, 0.72);
}
.cta-section.dark .section-label {
  color: var(--accent);
}

/* ===== CONTACT INFO ===== */
.contact-info-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
}

.contact-info-card .icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 9px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-info-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.contact-info-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== WAVEFORM CANVAS (hero animation) ===== */
.waveform-canvas {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.waveform-canvas.is-ready {
  opacity: 1;
}

/* ===== ANIMATIONS =====
   Content is visible by default; the reveal animation only engages once JS
   has successfully registered the observers (html.js). If JS fails for any
   reason, nothing stays hidden. */
html.js .fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

html.js .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Detectable States — badges reveal like a meter sweeping to its level */
html.js .dev-stage-badge {
  display: inline-block;
  opacity: 0;
  transform: translateX(18px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in.visible .dev-stage-badge {
  opacity: 1;
  transform: translateX(0);
}

.fade-in.visible .dev-stage-row:nth-child(1) .dev-stage-badge { transition-delay: 0.10s; }
.fade-in.visible .dev-stage-row:nth-child(2) .dev-stage-badge { transition-delay: 0.20s; }
.fade-in.visible .dev-stage-row:nth-child(3) .dev-stage-badge { transition-delay: 0.30s; }
.fade-in.visible .dev-stage-row:nth-child(4) .dev-stage-badge { transition-delay: 0.40s; }
.fade-in.visible .dev-stage-row:nth-child(5) .dev-stage-badge { transition-delay: 0.50s; }
.fade-in.visible .dev-stage-row:nth-child(6) .dev-stage-badge { transition-delay: 0.60s; }

@media (prefers-reduced-motion: reduce) {
  .dev-stage-badge {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== RESPONSIVE ===== */
/* Tablet: intermediate 2-column layout for content grids so cards don't get cramped */
@media (min-width: 769px) and (max-width: 1023px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-brand p {
    max-width: 100%;
  }
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }





  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .stats-row {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }



  .hero {
    padding-top: calc(17.5vw + 2rem);
  }

  .page-hero {
    padding: 6.5rem 0 3rem;
  }



}

/* Small phones: tighten section and hero spacing */
@media (max-width: 480px) {
  section {
    padding: 3rem 0;
  }
  .hero {
    padding-top: calc(17.5vw + 1.5rem);
  }
  .page-hero {
    padding: 6rem 0 2.5rem;
  }
  .highlight-number {
    font-size: 2.6rem;
  }
  .card {
    padding: 1.5rem;
  }
  .stats-row {
    gap: 1.5rem 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
  }
}

/* Wide screens: stop hero text from feeling lost in negative space */
@media (min-width: 1400px) {
  .hero-content {
    max-width: 800px;
  }
}

/* ===== LEGAL PAGES ===== */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
}

.legal-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.legal-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.legal-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.legal-content ul li {
  margin-bottom: 0.4rem;
}

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
}

.legal-content a:hover {
  opacity: 0.8;
}

/* Section images and video */
.section-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
}

.section-video {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
}

/* Material Symbols icon overrides */
.material-symbols-rounded {
  font-variation-settings: 'FILL' 0, 'wght' 600, 'GRAD' 200, 'opsz' 24;
}

.card-icon .material-symbols-rounded {
  color: var(--white);
  font-size: inherit;
}

.contact-info-card .icon .material-symbols-rounded {
  color: var(--green-dark);
  font-size: inherit;
}

.bullet-icon {
  font-size: 0.75rem;
  line-height: 1.7;
}

/* ===== AUDIT REFINEMENTS ===== */
/* Reusable highlight card (was inline-styled gradient in 4 places) */
.card-highlight {
  background: linear-gradient(135deg, rgba(232, 103, 28, 0.05), rgba(46, 125, 50, 0.05));
  border-color: rgba(232, 103, 28, 0.15);
}

/* Reusable section header wrapper (was inline-styled in ~16 places) */
.section-head {
  margin-bottom: 3rem;
}
.section-head.center {
  text-align: center;
}
.section-head.center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Four-up grid for the four solution sectors (collapses to 2-up then 1-up) */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
@media (min-width: 769px) and (max-width: 1023px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ===== HOME REDESIGN (index only) ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(140px, 17vh, 190px) 0 90px;
  min-height: 0;
  display: block;
}
.hero .container { position: relative; z-index: 1; max-width: 1240px; }
.hero-content { max-width: 760px; }
.dc-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.dc-eyebrow .bar { width: 26px; height: 2px; background: var(--green); display: inline-block; }
.dc-eyebrow .txt { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--green-dark); }
.hero h1 { font-weight: 200; font-size: clamp(2.4rem, 5.4vw, 4rem); line-height: 1.08; letter-spacing: -.01em; color: var(--ink); margin-bottom: 24px; }
.hero h1 .accent { color: var(--accent); font-weight: 300; }
.hero p.lead { font-size: 1.14rem; color: var(--text-muted); max-width: 580px; line-height: 1.65; margin-bottom: 34px; }
.dc-btns { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.dc-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: 8px; font-weight: 600; font-size: .98rem; transition: transform .18s, background .18s, color .18s; }
.dc-btn-primary { background: var(--accent); color: #fff; }
.dc-btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.dc-btn-secondary { background: #fff; color: var(--green-dark); border: 1px solid var(--green); }
.dc-btn-secondary:hover { background: var(--green); color: #fff; }

.stats-row { display: flex; flex-wrap: wrap; gap: 28px 44px; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--border); }
.stat { flex: 1 1 150px; min-width: 0; text-align: left; }
.stat h3 { font-size: clamp(1.7rem, 2.6vw, 2.1rem); font-weight: 600; color: var(--accent); line-height: 1; margin: 0; font-variant-numeric: tabular-nums; }
.stat p { color: var(--text-muted); font-size: .85rem; margin-top: 8px; }

.dc-section { padding: 90px 0; }
.dc-section .container, .dc-evidence .container { max-width: 1240px; }
.dc-section.surface { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.dc-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.dc-eyebrow-c { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 16px; }
.dc-eyebrow-c .txt { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--green-dark); }
.dc-eyebrow-c .bar { width: 34px; height: 2px; background: var(--green); display: inline-block; }
.dc-head h2 { font-weight: 300; font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.2; color: var(--ink); margin-bottom: 16px; }
.dc-head p { color: var(--text-muted); font-size: 1.08rem; }
.dc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.dc-grid.apps { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-bottom: 40px; }
.dc-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 30px; transition: box-shadow .2s, border-color .2s; }
.dc-card:hover { border-color: rgba(242,81,27,.3); box-shadow: 0 16px 40px rgba(11,11,11,.06); }
.dc-card h3 { font-size: 1.18rem; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.dc-card p { color: var(--text-muted); font-size: .95rem; }
.dc-icon { width: 46px; height: 46px; border-radius: 10px; background: var(--green-gradient); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: #fff; }
.dc-icon .material-symbols-rounded { font-size: 24px; }
.dc-card-featured { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 30px; position: relative; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.dc-card-featured:hover { border-color: rgba(42,165,66,.35); box-shadow: 0 16px 40px rgba(11,11,11,.05); }
.dc-card-featured::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--green-gradient); }
.dc-card-featured h3 { font-size: 1.18rem; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.dc-card-featured p { color: var(--text-muted); font-size: .95rem; }
.dc-card-featured a { color: var(--accent-text); font-weight: 600; }

/* Evidence (dark) */
.dc-evidence { padding: 90px 0; background: #2d3a2e; color: #fff; }
.dc-evidence .dc-eyebrow-c .txt { color: var(--accent); }
.dc-evidence .dc-head h2 { color: #fff; }
.dc-evidence .dc-head p { color: rgba(255, 255, 255, .72); }
.dc-ev-intro { max-width: 800px; margin: 0 auto 40px; text-align: center; }
.dc-ev-intro p { color: rgba(255, 255, 255, .75); font-size: 1.05rem; line-height: 1.8; }
.dc-ev-intro strong { color: #fff; }
.dc-ev-media { margin: 0 auto 40px; max-width: 860px; }
.dc-ev-media video { width: 100%; height: auto; border-radius: 16px; display: block; }
.dc-ev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-bottom: 44px; }
.dc-ev-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; padding: 26px; }
.dc-ev-card h3 { color: #fff; font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; }
.dc-ev-card p { color: rgba(255, 255, 255, .7); font-size: .92rem; line-height: 1.7; }
.dc-ev-card strong { color: #fff; }
.dc-ev-callout { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; background: var(--accent-gradient); border-radius: 16px; padding: 32px 40px; margin-bottom: 24px; }
.dc-ev-callout .num { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.dc-ev-callout .num .highlight-number { font-size: 3.4rem; font-weight: 800; line-height: 1; color: #fff; }
.dc-ev-callout .num .highlight-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; color: rgba(255, 255, 255, .85); margin-top: 6px; text-align: center; }
.dc-ev-callout p { color: rgba(255, 255, 255, .96); font-size: 1rem; line-height: 1.7; flex: 1; min-width: 240px; }
.dc-ev-impact { max-width: 800px; margin: 0 auto 24px; }
.dc-ev-impact h3 { color: #fff; font-size: 1.2rem; margin-bottom: 12px; }
.dc-ev-impact p { color: rgba(255, 255, 255, .8); font-size: 1rem; line-height: 1.8; }
.dc-ev-impact strong { color: #fff; }
.dc-ev-pubs { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.dc-ev-pubs p { color: rgba(255, 255, 255, .82); font-size: .9rem; line-height: 1.7; border-bottom: 1px solid rgba(255, 255, 255, .15); padding-bottom: .75rem; }
.dc-ev-pubs p:last-child { border-bottom: none; }
.dc-ev-pubs a { color: rgba(255, 255, 255, .7); }

/* CTA */
.dc-cta { padding: 90px 0; text-align: center; background: var(--surface); border-bottom: 1px solid var(--border); }
.dc-cta h2 { font-weight: 300; font-size: clamp(1.7rem, 3.4vw, 2.4rem); color: var(--ink); margin-bottom: 14px; }
.dc-cta p { color: var(--text-muted); max-width: 520px; margin: 0 auto 30px; font-size: 1.05rem; }

@media (max-width: 640px) {
  .dc-section, .dc-evidence, .dc-cta { padding: 60px 0; }
  .dc-ev-callout { padding: 26px; }
}

/* ===== UTILITIES (extracted from repeated inline styles) ===== */
.icon-bullet {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.section-surface {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ===== OVERVIEW DOT-CARDS (platform) ===== */
.dot-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  color: var(--text-muted);
  font-size: 0.96rem;
}
.dot-card .bullet-icon {
  color: var(--green-dark);
  margin-top: 4px;
}
.dot-card strong {
  color: var(--ink);
}

/* ===== SPEC PANEL (detectable states, light) ===== */
.spec-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  position: relative;
  overflow: hidden;
}
.spec-panel::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--green);
}
.spec-panel h3 {
  color: var(--ink);
}
.spec-panel .panel-note {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}
.state-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.state-row:last-child {
  border-bottom: none;
}
.state-row .state-name {
  color: var(--ink);
}
.state-pill {
  font-family: var(--mono);
  font-size: 0.72rem;
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
}
.state-pill.validated { color: var(--green-dark); border: 1px solid rgba(42, 165, 66, 0.4); }
.state-pill.indev { color: #0E7490; border: 1px solid rgba(14, 116, 144, 0.4); }
.state-pill.research { color: var(--text-muted); border: 1px solid rgba(93, 96, 106, 0.4); }

/* Ghost secondary button on dark CTA */
.cta-section.dark .btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}
.cta-section.dark .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

/* External link inside a card title (e.g. Syrinx Industrial Electronics B.V. -> syrinx.nl) */
.ext-link {
  color: inherit;
  transition: color 0.18s;
}
.ext-link:hover {
  color: var(--accent-text);
}
.ext-arrow {
  font-size: 0.7em;
  margin-left: 5px;
  opacity: 0.55;
}
