/* E-Ring modern design system (2026 redesign)
   Used by index-new.html. No framework; works in all current browsers. */

:root {
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --text-on-dark: #f5f5f7;
  --text-2-on-dark: #a1a1a6;
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --bg-dark: #000000;
  --accent: #0066cc;          /* buttons and links on light backgrounds */
  --accent-hover: #004f9e;
  --accent-on-dark: #2997ff;  /* links on dark backgrounds */
  --brand-orange: #F26C4E;    /* eyebrow labels on dark backgrounds, large text */
  --brand-orange-text: #C4461F; /* small orange text on light backgrounds (WCAG AA) */
  --radius-lg: 28px;
  --radius-md: 20px;
  --max: 1180px;

  /* Menu bar theme: dark by default. Swap these four for the light option:
     --nav-bg: rgba(255,255,255,0.82); --nav-border: rgba(0,0,0,0.08);
     --nav-text: #1d1d1f; and use the dark logo (see index-new.html). */
  --nav-bg: rgba(22, 22, 23, 0.8);
  --nav-border: rgba(255, 255, 255, 0.08);
  --nav-text: #e8e8ed;
  --nav-text-hover: #ffffff;
  --nav-panel: #161617; /* light option: #ffffff */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.47;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid #0071e3; outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: #fff; color: var(--text); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Menu bar ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--nav-border);
}
.site-nav__inner {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-nav__logo { display: flex; align-items: center; min-height: 44px; }
.site-nav__logo img { height: 22px; width: auto; }
.site-nav__links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.site-nav__links a { color: var(--nav-text); font-size: 13px; padding: 12px 0; display: inline-block; }
.site-nav__links a:hover { color: var(--nav-text-hover); text-decoration: none; }
.site-nav__links a[aria-current="page"] { color: var(--nav-text-hover); }
.site-nav__toggle {
  display: none; background: none; border: 0; color: var(--nav-text);
  width: 44px; height: 44px; padding: 10px; cursor: pointer;
}
.site-nav__toggle svg { width: 24px; height: 24px; }

@media (max-width: 860px) {
  .site-nav__toggle { display: block; }
  .site-nav__links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--nav-panel); padding: 8px 24px 24px;
    -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--nav-border);
  }
  .site-nav.is-open .site-nav__links { display: flex; }
  .site-nav__links a { font-size: 17px; padding: 12px 0; width: 100%; }
  .site-nav__links .btn { margin-top: 12px; text-align: center; }
}

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-block; background: var(--accent); color: #fff;
  border-radius: 980px; padding: 14px 26px; font-size: 17px; font-weight: 500; line-height: 1.2;
}
.btn:hover { background: var(--accent-hover); text-decoration: none; color: #fff; }
.btn--sm { padding: 8px 16px; font-size: 13px; }
.site-nav__links .btn--sm { color: #fff; padding: 8px 16px; }
.link-more { font-size: 17px; padding: 10px 0; display: inline-block; }
.link-more::after { content: " ›"; }
.on-dark .link-more, .on-dark a.link-more { color: var(--accent-on-dark); }
.link-row { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center; margin-top: 16px; }
.link-row--left { justify-content: flex-start; }

/* ---------- Type ---------- */
.eyebrow { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: 0.02em; color: var(--brand-orange-text); }
.on-dark .eyebrow { color: var(--brand-orange); }
.kicker { margin: 0; font-size: 19px; font-weight: 600; color: var(--text-2); }
.display {
  margin: 10px auto 0; font-weight: 800; letter-spacing: -0.03em; line-height: 1.06;
  font-size: clamp(36px, 5vw, 64px); max-width: 820px;
}
.lead { margin: 18px auto 0; font-size: clamp(19px, 2vw, 21px); line-height: 1.42; color: var(--text-2); max-width: 640px; }
.on-dark { background: var(--bg-dark); color: var(--text-on-dark); }
.on-dark .lead, .on-dark .muted { color: var(--text-2-on-dark); }
.center { text-align: center; }

/* ---------- Hero ---------- */
.hero { padding: 96px 24px 0; text-align: center; overflow: hidden; }
.hero .eyebrow { font-size: 19px; }
.hero h1 {
  margin: 14px auto 0; max-width: 1040px; font-weight: 800;
  font-size: clamp(44px, 7vw, 88px); line-height: 1.04; letter-spacing: -0.035em;
}
.hero .lead { max-width: 660px; font-size: clamp(19px, 2vw, 24px); margin-top: 22px; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 20px; margin-top: 34px; }
.hero__image { width: 100%; max-width: var(--max); margin: 64px auto 0; border-radius: 22px 22px 0 0; }

/* ---------- AI product tiles ---------- */
.tiles { background: var(--bg-2); padding: 12px; }
.tiles__grid {
  display: grid; gap: 12px; max-width: 1416px; margin: 0 auto;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 560px), 1fr));
}
.tile {
  background: var(--bg); border-radius: var(--radius-lg); overflow: hidden;
  text-align: center; padding: 56px 32px 0; display: flex; flex-direction: column;
}
.tile.on-dark { background: var(--bg-dark); }
.tile h2 { margin: 8px 0 0; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 700; }
.tile p.desc { margin: 12px auto 0; max-width: 460px; font-size: 19px; line-height: 1.42; color: var(--text-2); }
.tile.on-dark p.desc { color: var(--text-2-on-dark); }
.tile__img { margin: auto -32px 0; width: calc(100% + 64px); max-width: none; height: 340px; object-fit: cover; }
.tile .link-row { margin-bottom: 28px; }
.tile--wide { grid-column: 1 / -1; padding: 0; text-align: left; flex-direction: row; flex-wrap: wrap; align-items: center; }
.tile--wide .tile__body { flex: 1 1 380px; padding: 56px 48px; min-width: 0; }
.tile--wide p.desc { margin-left: 0; }
.tile--wide .tile__img { flex: 2 1 560px; min-width: 0; width: 100%; height: 440px; margin: 0; object-position: 60% 50%; }

/* ---------- Stats ---------- */
.section { padding: 120px 24px; }
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px; max-width: 980px; margin: 72px auto 0; text-align: center;
}
.stat__num { margin: 0; font-size: 64px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.stat__num--accent { color: #D9512F; }
.stat__label { margin: 6px 0 0; font-size: 17px; color: var(--text-2); }

/* ---------- Platform ---------- */
.platform { background: var(--bg-2); }
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.split > * { flex: 1 1 420px; min-width: 0; }
.split h2 { margin: 10px 0 0; font-size: clamp(36px, 4.6vw, 56px); line-height: 1.07; letter-spacing: -0.03em; font-weight: 800; }
.split .lead { margin-left: 0; }
.split img { max-width: 560px; margin: 0 auto; }
.cards {
  display: grid; gap: 16px; margin-top: 72px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}
.card {
  background: var(--bg); border-radius: var(--radius-md); padding: 28px; color: var(--text);
  display: flex; flex-direction: column; gap: 10px; transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.card svg { width: 32px; height: 32px; }
.card__title { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.card__text { font-size: 15px; line-height: 1.45; color: var(--text-2); }

/* ---------- Connect band ---------- */
.connect { padding: 120px 24px 0; overflow: hidden; }
.connect img { max-width: 1000px; margin: 40px auto 0; width: 100%; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }

/* ---------- Event ---------- */
.event-wrap { background: var(--bg-2); padding: 96px 24px; }
.event {
  max-width: var(--max); margin: 0 auto; background: var(--bg); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-wrap: wrap;
}
.event img { flex: 1 1 340px; min-width: 0; width: 100%; height: 360px; object-fit: cover; }
.event__body { flex: 1 1 420px; min-width: 0; padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.event__body h2 { margin: 8px 0 0; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; }
.event__body p { margin: 12px 0 0; font-size: 19px; color: var(--text-2); }

/* ---------- Demo CTA ---------- */
.cta { padding: 128px 24px; text-align: center; }
.cta h2 { margin: 0 auto; max-width: 760px; font-size: clamp(40px, 5.6vw, 72px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; }
.cta .lead { max-width: 560px; margin-top: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); color: var(--text-2); font-size: 13px; line-height: 1.5; padding: 48px 24px 32px; }
.site-footer a { color: #424245; }
.footer__grid {
  display: grid; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid #d2d2d7;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.footer__col { display: flex; flex-direction: column; gap: 8px; }
.footer__head { font-weight: 600; color: var(--text); margin: 0; font-size: 13px; }
.footer__col img { height: 20px; width: 97px; align-self: flex-start; object-fit: contain; object-position: left center; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; }
.footer__social { display: flex; flex-wrap: wrap; gap: 20px; }

/* ---------- Scroll reveal (off for reduced motion and no-JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .card { transition: none; }
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* =====================================================================
   Product page components (connect-*-new.html)
   ===================================================================== */

/* Product sub-navigation: sticks under the menu bar */
.subnav {
  position: sticky; top: 53px; z-index: 40;
  background: rgba(255,255,255,0.85);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.subnav__inner {
  max-width: var(--max); margin: 0 auto; padding: 0 24px; min-height: 52px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.subnav__title { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; color: var(--text); white-space: nowrap; }
.subnav__links { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; font-size: 13px; }
.subnav__links a:not(.btn) { color: var(--text); padding: 12px 0; display: inline-block; }
.subnav__links a:not(.btn):hover { color: var(--accent); text-decoration: none; }
@media (max-width: 760px) {
  .subnav__links li:not(:last-child) { display: none; }
  .subnav__title { font-size: 17px; }
}

/* Product hero */
.page-hero { padding: 88px 24px 0; text-align: center; overflow: hidden; }
.page-hero h1 {
  margin: 10px auto 0; max-width: 960px; font-weight: 800;
  font-size: clamp(44px, 6.4vw, 80px); line-height: 1.04; letter-spacing: -0.035em;
}
.page-hero .tagline { margin: 14px auto 0; font-size: clamp(22px, 2.6vw, 32px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }
.page-hero .lead { max-width: 680px; }
.page-hero__img { width: 100%; max-width: var(--max); margin: 56px auto 0; border-radius: 22px 22px 0 0; }

/* Big statement paragraph */
.statement { padding: 120px 24px; }
.statement p {
  max-width: 900px; margin: 0 auto; font-size: clamp(24px, 3vw, 36px); line-height: 1.3;
  font-weight: 600; letter-spacing: -0.015em; color: var(--text-2);
}
.statement p strong { color: var(--text); font-weight: 600; }

/* Numbered steps */
.steps {
  display: grid; gap: 16px; max-width: var(--max); margin: 56px auto 0;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); text-align: left;
}
.step { background: var(--bg); border-radius: var(--radius-md); padding: 28px; }
.bg-2 { background: var(--bg-2); }
.bg-2 .step, .bg-2 .cap { background: var(--bg); }
.step__num {
  width: 36px; height: 36px; border-radius: 50%; background: var(--text); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 15px;
}
.step h3 { margin: 16px 0 0; font-size: 21px; letter-spacing: -0.01em; }
.step p { margin: 8px 0 0; color: var(--text-2); font-size: 15px; line-height: 1.5; }

/* Feature rows: image + text, alternating */
.feature { padding: 104px 24px; }
.feature__inner { max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.feature__inner > * { flex: 1 1 440px; min-width: 0; }
.feature--reverse .feature__inner { flex-direction: row-reverse; }
.feature__img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature h2 { margin: 8px 0 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 800; }
.feature-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 20px; }
.feature-list li { padding-left: 34px; position: relative; font-size: 17px; line-height: 1.5; color: var(--text-2); }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.feature-list strong { color: var(--text); font-weight: 600; display: block; }
.on-dark .feature-list li { color: var(--text-2-on-dark); }
.on-dark .feature-list strong { color: var(--text-on-dark); }

/* Capability cards */
.caps {
  display: grid; gap: 16px; max-width: var(--max); margin: 56px auto 0; text-align: left;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}
.cap { background: var(--bg-2); border-radius: var(--radius-md); padding: 32px; }
.cap h3 { margin: 0; font-size: 21px; letter-spacing: -0.01em; line-height: 1.25; }
.cap p { margin: 10px 0 0; color: var(--text-2); font-size: 15px; line-height: 1.55; }

/* Status pills */
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 32px auto 0; padding: 0; list-style: none; max-width: 820px; }
.pills li { background: var(--bg); border: 1px solid #d2d2d7; border-radius: 980px; padding: 8px 16px; font-size: 15px; font-weight: 500; }

/* "Why E-Ring" points on dark */
.points {
  display: grid; gap: 40px; max-width: var(--max); margin: 64px auto 0; text-align: left;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
.points p { margin: 0; font-size: 19px; line-height: 1.5; color: var(--text-2-on-dark); border-top: 1px solid #424245; padding-top: 20px; }

/* Video (click to load: no YouTube until the visitor asks for it) */
.video { max-width: 980px; margin: 48px auto 0; }
.video__frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #000;
}
.video__frame iframe, .video__frame img, .video__play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__frame img { object-fit: cover; opacity: 0.85; }
.video__play { background: none; cursor: pointer; display: grid; place-items: center; padding: 0; }
.video__play span {
  width: 84px; height: 84px; border-radius: 50%; background: rgba(255,255,255,0.92);
  display: grid; place-items: center; box-shadow: 0 8px 30px rgba(0,0,0,0.3); transition: transform .2s ease;
}
.video__play:hover span { transform: scale(1.06); }
.video__play svg { width: 30px; height: 30px; margin-left: 5px; }

/* Brochure / resource band */
.resource {
  max-width: var(--max); margin: 0 auto; background: var(--bg); border-radius: var(--radius-lg);
  padding: 40px 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.resource h2 { margin: 6px 0 0; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.02em; }
.btn--ghost { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.btn--ghost:hover { background: var(--accent); color: #fff; }

/* Demo form card (Formsite) */
.form-card {
  max-width: 860px; margin: 48px auto 0; background: var(--bg); border-radius: var(--radius-lg);
  padding: 16px; box-shadow: 0 2px 30px rgba(0,0,0,0.06);
}
.form-card iframe { width: 100%; height: 780px; border: 0; display: block; }

/* More products */
.more {
  display: grid; gap: 16px; max-width: var(--max); margin: 48px auto 0;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}
.more a { background: var(--bg-2); border-radius: var(--radius-lg); overflow: hidden; color: var(--text); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.more a:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.bg-2 .more a { background: var(--bg); }
.more img { width: 100%; height: 220px; object-fit: cover; }
.more__body { padding: 28px 32px 32px; }
.more__body h3 { margin: 0; font-size: 24px; letter-spacing: -0.015em; }
.more__body p { margin: 8px 0 12px; color: var(--text-2); font-size: 15px; }
.more__body .link-more { padding: 0; font-size: 15px; color: var(--accent); }

/* Legal and text pages */
.doc { max-width: 760px; margin: 0 auto; padding: 64px 24px 120px; }
.doc h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -0.03em; line-height: 1.08; margin: 0; font-weight: 800; }
.doc .updated { color: var(--text-2); margin: 12px 0 40px; }
.doc h2 { font-size: 24px; letter-spacing: -0.015em; margin: 44px 0 0; }
.doc p, .doc li { font-size: 17px; line-height: 1.6; color: #424245; }
.doc ul { padding-left: 22px; }
.draft-note {
  background: #fff4e5; border: 1px solid #f5c27a; color: #6b3f00; border-radius: 14px;
  padding: 14px 18px; font-size: 15px; margin: 0 0 32px;
}
.placeholder { background: #fff4e5; padding: 0 4px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  .more a, .video__play span { transition: none; }
}

/* =====================================================================
   Platform page components (cama-edition, connect, AI-Infused CAMA)
   ===================================================================== */

/* Light hero variant */
.page-hero--light { background: var(--bg-2); color: var(--text); }
.page-hero--light .page-hero__img { border-radius: 22px; margin-bottom: 72px; }

/* Feature rows with paragraphs instead of a checklist */
.feature-text p { margin: 18px 0 0; font-size: 17px; line-height: 1.6; color: var(--text-2); }
.on-dark .feature-text p { color: var(--text-2-on-dark); }

/* Numbered capability cards */
.cap__num { display: block; font-size: 14px; font-weight: 700; color: var(--brand-orange-text); margin-bottom: 10px; letter-spacing: 0.04em; }
.caps--compact { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.caps--compact .cap { padding: 24px; }
.caps--compact .cap h3 { font-size: 17px; }

/* Timeline */
.timeline {
  list-style: none; padding: 0; max-width: var(--max); margin: 56px auto 0; text-align: left;
  display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}
.timeline li { background: var(--bg); border-radius: var(--radius-md); padding: 28px; }
.timeline__year { display: block; font-size: 40px; font-weight: 800; letter-spacing: -0.03em; color: var(--text); }
.timeline li:last-child .timeline__year { color: #D9512F; }
.timeline p { margin: 8px 0 0; color: var(--text-2); font-size: 15px; line-height: 1.5; }

/* Comparison table */
.compare-wrap { max-width: 980px; margin: 56px auto 0; overflow-x: auto; border-radius: var(--radius-lg); background: var(--bg); }
.compare { width: 100%; border-collapse: collapse; text-align: left; font-size: 16px; min-width: 620px; }
.compare th, .compare td { padding: 20px 24px; border-bottom: 1px solid #e5e5ea; vertical-align: top; }
.compare thead th { font-size: 14px; letter-spacing: 0.02em; color: var(--text-2); font-weight: 600; background: var(--bg); }
.compare thead th:last-child { color: var(--brand-orange-text); }
.compare tbody th { font-weight: 600; color: var(--text); width: 34%; }
.compare tbody td { color: var(--text-2); }
.compare tbody td:last-child { color: var(--text); font-weight: 600; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }

/* Product family menu (Connect modules) */
.subnav__links a[aria-current="page"] { color: var(--text-2); }
@media (max-width: 860px) {
  .subnav--family .subnav__links { overflow-x: auto; }
}

/* Cards without links (gallery) */
.more--static > div { background: var(--bg-2); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; text-align: left; }
.bg-2 .more--static > div { background: var(--bg); }
.more--static img { height: 260px; object-position: 50% 20%; }
.more__body p.long { font-size: 15px; line-height: 1.55; }

/* Four-up grids: 4 columns on desktop, 2 on tablets, 1 on phones (avoids a lone card on its own row) */
.caps.grid-4, .more.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .caps.grid-4, .more.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .caps.grid-4, .more.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.more.grid-4 img { height: 180px; }
.page-hero--light .page-hero__img { max-width: 820px; }
.page-hero.on-dark .page-hero__img { aspect-ratio: 2 / 1; object-fit: cover; }

/* Show the whole image (screenshots, device mockups, composites): no cropping */
.feature__img--whole {
  aspect-ratio: auto; object-fit: contain; width: auto; max-width: 100%; max-height: 560px;
  margin: 0 auto; border-radius: 0;
}
.more--static img { height: auto; aspect-ratio: auto; object-fit: contain; }
.more--static.grid-4 img { height: auto; }

/* =====================================================================
   Company and module page components
   ===================================================================== */

/* Split hero: text left, whole product image right */
.hero-split { background: var(--bg-2); padding: 80px 24px; }
.hero-split__inner { max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero-split__inner > * { flex: 1 1 420px; min-width: 0; }
.hero-split h1 { margin: 10px 0 0; font-weight: 800; font-size: clamp(40px, 5.4vw, 68px); line-height: 1.05; letter-spacing: -0.035em; }
.hero-split .tagline { margin: 12px 0 0; font-size: clamp(21px, 2.2vw, 28px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.hero-split .lead { margin-left: 0; }
.hero-split .hero__actions { justify-content: flex-start; }
.hero-split img { max-height: 560px; width: auto; max-width: 100%; margin: 0 auto; object-fit: contain; }
.hero-split.on-dark { background: var(--bg-dark); }

/* Partner logos */
.logos { list-style: none; padding: 0; margin: 48px auto 0; max-width: 980px; display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); }
.logos li { background: var(--bg); border-radius: var(--radius-md); height: 96px; display: grid; place-items: center; padding: 16px; }
.logos img { max-height: 40px; max-width: 120px; width: auto; filter: grayscale(1); opacity: 0.85; }

/* Event list */
.events { max-width: var(--max); margin: 48px auto 0; display: grid; gap: 16px; text-align: left; }
.event-card { background: var(--bg); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-wrap: wrap; }
.event-card img { flex: 1 1 280px; min-width: 0; width: 100%; height: 280px; object-fit: cover; }
.event-card__body { flex: 2 1 420px; min-width: 0; padding: 36px 40px; }
.event-card h3 { margin: 6px 0 0; font-size: 28px; letter-spacing: -0.02em; line-height: 1.15; }
.event-card dl { margin: 14px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; font-size: 16px; }
.event-card dt { font-weight: 600; color: var(--text); }
.event-card dd { margin: 0; color: var(--text-2); }
.event-card p { margin: 14px 0 0; color: var(--text-2); font-size: 15px; line-height: 1.55; }

/* Job listings */
.jobs { max-width: 860px; margin: 48px auto 0; text-align: left; display: grid; gap: 12px; }
.jobs details { background: var(--bg); border-radius: var(--radius-md); padding: 0 28px; }
.jobs summary { cursor: pointer; list-style: none; padding: 24px 0; font-size: 21px; font-weight: 700; letter-spacing: -0.01em;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.jobs summary::-webkit-details-marker { display: none; }
.jobs summary::after { content: "+"; font-size: 28px; font-weight: 400; color: var(--accent); line-height: 1; }
.jobs details[open] summary::after { content: "−"; }
.jobs details p { margin: 0 0 24px; color: var(--text-2); font-size: 16px; line-height: 1.6; }

/* Contact info cards */
.cap a { color: var(--accent); }
.map-frame { max-width: var(--max); margin: 48px auto 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg); }
.map-frame iframe { width: 100%; height: 420px; border: 0; display: block; }

/* News */
.news-card { max-width: 980px; margin: 48px auto 0; background: var(--bg); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-wrap: wrap; text-align: left; color: var(--text); }
.news-card:hover { text-decoration: none; box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.news-card img { flex: 1 1 320px; min-width: 0; width: 100%; height: 300px; object-fit: cover; }
.news-card div { flex: 1 1 360px; padding: 40px; min-width: 0; }
.news-card h3 { margin: 8px 0 0; font-size: 28px; letter-spacing: -0.02em; line-height: 1.2; }

/* Footer offices */
.footer__tagline { color: var(--text); font-weight: 600; }
.on-dark .kicker { color: var(--text-2-on-dark); }
.cap a { text-decoration: underline; }
.news-card h2 { margin: 8px 0 0; font-size: 28px; letter-spacing: -0.02em; line-height: 1.2; }
.section:not(.bg-2):not(.platform) .card { background: var(--bg-2); }

/* About page: glass 25+ graphic and Capture Connect on black */
.glass25 { width: 100%; max-width: 560px; height: auto; display: block; margin: 0 auto; }
.connect-dark { background: #000; }
.connect-dark__img { width: 100%; max-width: 1080px; margin: 48px auto 0; }
.connect-dark .points { max-width: var(--max); margin-left: auto; margin-right: auto; }
.connect-dark .points strong { color: var(--text-on-dark); font-weight: 600; display: block; margin-bottom: 4px; }
/* Heroes without an image need space below the text or buttons */
.page-hero--noimg { padding-bottom: 96px; }
.statement--center p { text-align: center; }
/* Show a hero image whole (no 2:1 crop) */
.page-hero.on-dark .page-hero__img--full { aspect-ratio: auto; object-fit: contain; height: auto; }
