/* =============================================================================
   ReWoo — site.css
   Component layer for the reference-inspired redesign (2026).
   Loads AFTER styles.css and reuses its tokens: --bg/--surface/--text/--dim/
   --accent/--line, Inter typography (display + body), spacing, radii,
   durations and the [data-theme] light-first system.
   ============================================================================= */


/* ---- local additions to the token system (theme-aware) -------------------- */

:root { --err: #D70015; --ok: #1A7F37; }
[data-theme="dark"] { --err: #FF6B6B; --ok: #4ADE80; }

.icon {
  width: 24px; height: 24px;
  stroke: currentColor; fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
.icon--check { width: 15px; height: 15px; stroke-width: 2.5; color: var(--accent); }


/* =============================================================================
   1. NAVIGATION — expanded links, mega panels, mobile groups, brief pill
   ============================================================================= */

.nav__links--site { display: flex; align-items: center; gap: 2px; }

/* Re-assert the legacy mobile hide: styles.css hides .nav__links at ≤900px,
   but this later file's display:flex would otherwise win the cascade. */
@media (max-width: 900px) {
  .nav__links--site { display: none; }
}

/* Links live inside the charcoal pill — near-white labels */
.nav__link {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.84rem;
  color: var(--pill-text);
  padding: 8px 10px;
  border-radius: 999px;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease-apple),
              background var(--dur-fast) var(--ease-apple);
}
.nav__link:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }
.nav__link.is-current { color: #fff; }
.nav__caret {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.65);
  transition: transform var(--dur-fast) var(--ease-apple);
}
/* Panels drop from the pill itself: keep list items in normal flow so the
   absolutely-positioned panel anchors to the fixed .nav container. */
.has-mega { position: static; }
.has-mega:hover .nav__caret,
.has-mega:focus-within .nav__caret,
.has-mega.is-open .nav__caret { transform: rotate(180deg); }

/* Mega panel — opens centered below the pill */
.mega__panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 1001;
  width: min(560px, calc(100vw - 40px));
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 14px;
  box-shadow: 0 32px 70px -22px rgba(16, 24, 40, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: opacity var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out),
              visibility var(--dur-fast);
}
[data-theme="dark"] .mega__panel {
  box-shadow: 0 32px 70px -18px rgba(0, 0, 0, 0.65);
}
.has-mega:hover .mega__panel,
.has-mega:focus-within .mega__panel,
.has-mega.is-open .mega__panel {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}

.mega__grid { list-style: none; display: grid; gap: 2px; }
.mega__grid--tight { grid-template-columns: 1fr 1fr; }
.mega__panel--wide { left: 50%; width: min(640px, calc(100vw - 40px)); }

.mega__item {
  display: block;
  padding: 10px 14px;
  border-radius: 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  transition: background var(--dur-fast) var(--ease-apple);
}
.mega__item:hover { background: var(--surface-2); }
.mega__item--tight { font-size: 0.82rem; font-weight: 400; padding: 7px 12px; }
.mega__sub {
  display: block;
  margin-top: 1px;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--dim);
}

.mega__grid--groups { grid-template-columns: 1fr 1fr; gap: 4px 18px; }
.mega__group { list-style: none; }
.mega__group-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dim-2);
  padding: 6px 12px 4px;
}
.mega__list { list-style: none; }

.mega__foot {
  margin-top: 8px;
  padding: 10px 12px 4px;
  border-top: 1px solid var(--line-2);
}
.mega__foot a {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
}
.mega__foot a:hover { opacity: 0.8; }

/* Nav right cluster */
.nav__right--site { gap: 10px; }

/* Mobile drawer groups */
.mgroup { border-bottom: 1px solid var(--line-2); }
.mgroup summary {
  list-style: none;
  cursor: pointer;
  padding: 13px 2px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mgroup summary::-webkit-details-marker { display: none; }
.mgroup summary::after {
  content: '+';
  color: var(--dim);
  font-size: 1.1rem;
  font-weight: 400;
}
.mgroup[open] summary::after { content: '−'; }
.mgroup__list { display: flex; flex-direction: column; padding-bottom: 10px; }
.mgroup__list a {
  padding: 9px 2px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--dim);
  border-radius: var(--r-sm);
  transition: color var(--dur-fast) var(--ease-apple);
}
.mgroup__list a:hover { color: var(--text); }


/* =============================================================================
   2. PAGE HERO (detail pages) — compact centered, clean canvas
   ============================================================================= */

.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 88px) var(--sp-6) 56px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.page-hero--tight { padding: calc(var(--nav-h) + 64px) var(--sp-6) 40px; }
.page-hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 1.3rem + 2.6vw, 2.6rem);
  line-height: 1.16;
  letter-spacing: -0.025em;
  color: var(--text);
  max-width: 860px;
  margin: var(--sp-5) auto 0;
}
.page-hero__title em {
  font-style: normal; font-weight: 600; color: var(--accent);
}
.page-hero__sub {
  max-width: 620px;
  margin: var(--sp-6) auto 0;
  font-family: var(--font-body);
  font-size: var(--size-base);
  color: var(--dim);
  line-height: 1.7;
}
.page-hero__badges {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin-top: var(--sp-6);
}
.page-hero__ctas {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  margin-top: var(--sp-8);
}
.badge {
  display: inline-flex; align-items: center;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--surface-3);
  border: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--dim);
  white-space: nowrap;
}

/* Breadcrumbs */
.crumbs { margin-bottom: var(--sp-5); }
.crumbs ol {
  list-style: none;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--dim-2);
}
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: '›'; color: var(--dim-2); }
.crumbs a { color: var(--dim); transition: color var(--dur-fast) var(--ease-apple); }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current="page"] { color: var(--dim); }


/* =============================================================================
   3. SECTION HEADS, LAYOUT HELPERS
   ============================================================================= */

.sec-head { max-width: 780px; }
.sec-head--center { margin: 0 auto; text-align: center; }
.sec-head__link { margin-top: var(--sp-6); }
.sec-cta-row {
  margin-top: var(--sp-10);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center;
}
.sec-cta-note { font-size: 0.78rem; color: var(--dim-2); }
.sec-cta-row .btn--ghost { padding-left: 2px; }
/* Long ghost links must be able to wrap on narrow screens (legacy .btn sets nowrap) */
.sec-cta-row .btn--ghost { white-space: normal; max-width: 100%; text-align: center; }

.wrap--narrow { max-width: 800px; }
.wrap--form { max-width: 660px; }

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: start;
}
@media (max-width: 900px) { .intro-grid { grid-template-columns: 1fr; gap: var(--sp-8); } }

.prose { max-width: 780px; margin-top: var(--sp-8); }
.prose p { color: var(--dim); line-height: 1.75; font-size: var(--size-base); }
.prose p + p { margin-top: var(--sp-5); }


/* =============================================================================
   4. CARDS — link cards, mini cards, grids
   ============================================================================= */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--sp-4);
  margin-top: var(--sp-12);
}
.card-grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-grid--4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
.card-grid--ind { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.l-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
  transition: transform var(--dur) var(--ease-apple),
              border-color var(--dur) var(--ease-apple),
              box-shadow var(--dur) var(--ease-apple);
}
.l-card:hover {
  transform: translateY(-3px);
  border-color: var(--dim-2);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}
[data-theme="light"] .l-card:hover { box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08); }
.l-card__icon { color: var(--accent); display: inline-flex; }
.l-card__icon .icon { width: 26px; height: 26px; }
.l-card__num {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.05em;
}
.l-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
}
.l-card__sub {
  font-family: var(--font-body);
  font-size: var(--size-sm);
  color: var(--dim);
  line-height: 1.6;
}
.l-card__go { margin-top: auto; color: var(--accent); display: inline-flex; }
.l-card__go .icon { width: 16px; height: 16px; }

.m-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  height: 100%;
  transition: transform var(--dur) var(--ease-apple), border-color var(--dur) var(--ease-apple);
}
.m-card:hover { transform: translateY(-3px); border-color: var(--dim-2); }
.m-card--accent { border-color: rgba(79, 155, 244, 0.4); }
[data-theme="light"] .m-card--accent { border-color: rgba(31, 111, 214, 0.3); }
.m-card__icon { color: var(--accent); display: inline-flex; margin-top: 2px; }
.m-card__t {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.015em;
  color: var(--text);
  line-height: 1.25;
}
.m-card__d {
  font-family: var(--font-body);
  font-size: var(--size-sm);
  color: var(--dim);
  line-height: 1.6;
  margin-top: 5px;
}
.m-card__meta { font-family: var(--font-body); font-size: 0.8rem; color: var(--accent); margin-top: 10px; }
a.m-card--link { text-decoration: none; cursor: pointer; }
a.m-card--link:hover .m-card__t { color: var(--accent); }
a.m-card--link .m-card__d { transition: color var(--dur-fast) var(--ease-apple); }


/* =============================================================================
   6. HUB PATTERNS — systems grid, capabilities filter grid, packages
   ============================================================================= */

.sys-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin-top: var(--sp-12);
}
@media (max-width: 900px) { .sys-grid { grid-template-columns: 1fr; } }

.sys-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur) var(--ease-apple), border-color var(--dur) var(--ease-apple);
}
.sys-card:hover { transform: translateY(-3px); border-color: var(--dim-2); }
.sys-card__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: var(--sp-4);
}
.sys-card__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.7rem;
  color: var(--dim-2);
  line-height: 1;
}
.sys-card__icon { color: var(--accent); display: inline-flex; }
.sys-card__icon .icon { width: 28px; height: 28px; }
.sys-card__t { font-family: var(--font-display); font-weight: 600; font-size: 1.55rem; letter-spacing: -0.025em; line-height: 1.15; }
.sys-card__t a { color: var(--text); }
.sys-card__t a:hover { color: var(--accent); }
.sys-card__cat {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-top: 8px;
}
.sys-card__d { font-family: var(--font-body); font-size: var(--size-sm); color: var(--dim); line-height: 1.6; margin-top: var(--sp-4); }
.sys-card__feats { list-style: none; margin-top: var(--sp-5); }
.sys-card__feats li {
  font-family: var(--font-body);
  font-size: 0.84rem;
  color: var(--dim);
  padding: 4px 0 4px 16px;
  position: relative;
}
.sys-card__feats li::before {
  content: '';
  position: absolute; left: 0; top: 12px;
  width: 6px; height: 1.5px;
  background: var(--accent);
  opacity: 0.7;
}
.sys-card__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: var(--sp-6); align-items: center; }

/* Capabilities filter grid */
.filterbar {
  display: flex; flex-wrap: wrap; gap: var(--sp-4);
  align-items: center; justify-content: space-between;
  margin-top: var(--sp-10);
}
.search-box { position: relative; flex: 1; min-width: 240px; max-width: 380px; }
.search-box svg {
  position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
  width: 15px; height: 15px;
  stroke: var(--dim-2); fill: none; stroke-width: 2;
  pointer-events: none;
}
.search-box input {
  width: 100%;
  padding: 11px 16px 11px 40px;
  border-radius: 100px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.88rem;
  transition: border-color var(--dur-fast) var(--ease-apple);
}
.search-box input::placeholder { color: var(--dim-2); }
.search-box input:focus { border-color: var(--accent); outline: none; }
.search-box input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.filter-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-pill {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--dim);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 8px 15px;
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease-apple),
              border-color var(--dur-fast) var(--ease-apple),
              background var(--dur-fast) var(--ease-apple);
}
.filter-pill:hover { color: var(--text); border-color: var(--dim-2); }
.filter-pill.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.filter-status { font-family: var(--font-body); font-size: 0.78rem; color: var(--dim-2); margin-top: var(--sp-4); min-height: 1.2em; }

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}
@media (max-width: 1024px) { .cap-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cap-grid { grid-template-columns: 1fr; } }

.cap-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur) var(--ease-apple), border-color var(--dur) var(--ease-apple);
}
.cap-card:hover { transform: translateY(-3px); border-color: var(--dim-2); }
.cap-card[hidden] { display: none; }
.cap-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-3); }
.cap-card__num { font-family: var(--font-body); font-weight: 600; font-size: 0.75rem; color: var(--accent); letter-spacing: 0.06em; }
.cap-card__icon { color: var(--accent); display: inline-flex; }
.cap-card__icon .icon { width: 22px; height: 22px; }
.cap-card__t { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.02em; line-height: 1.2; }
.cap-card__t a { color: var(--text); }
.cap-card__t a:hover { color: var(--accent); }
.cap-card__d { font-family: var(--font-body); font-size: var(--size-sm); color: var(--dim); line-height: 1.6; margin-top: var(--sp-3); }
.cap-card__ctas { margin-top: auto; padding-top: var(--sp-5); display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.cap-card__link {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
}
.cap-card__link:hover { opacity: 0.8; }

.filter-empty {
  margin-top: var(--sp-8);
  text-align: center;
  padding: var(--sp-16) var(--sp-6);
  border: 1px dashed var(--line);
  border-radius: var(--r-lg);
  color: var(--dim);
  font-family: var(--font-body);
}
.filter-empty p { margin-bottom: var(--sp-5); }
.noscript-note { text-align: center; font-family: var(--font-body); font-size: 0.85rem; color: var(--dim-2); margin-top: var(--sp-6); }

/* Packages grid */
/* Packages grid — 5 items: one clean row on desktop, 3+2 on tablet, stacked on mobile */
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-12);
}
@media (max-width: 1100px) { .pkg-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .pkg-grid { grid-template-columns: 1fr; } }
.pkg-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur) var(--ease-apple), border-color var(--dur) var(--ease-apple);
}
.pkg-card:hover { transform: translateY(-3px); border-color: var(--dim-2); }
.pkg-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-4); }
.pkg-card__icon { color: var(--accent); display: inline-flex; }
.pkg-card__icon .icon { width: 26px; height: 26px; }
.pkg-card__t { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1.15; }
.pkg-card__t a { color: var(--text); }
.pkg-card__t a:hover { color: var(--accent); }
.pkg-card__d { font-family: var(--font-body); font-size: var(--size-sm); color: var(--dim); line-height: 1.6; margin-top: var(--sp-3); }
.pkg-card__buyers { font-family: var(--font-body); font-size: 0.8rem; color: var(--dim-2); margin-top: var(--sp-4); }
.pkg-card__buyers strong { color: var(--dim); font-weight: 500; }
.pkg-card__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: var(--sp-6); align-items: center; }

/* Brief add buttons */
.brief-add {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--dim);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 6px 13px;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease-apple),
              border-color var(--dur-fast) var(--ease-apple);
}
.brief-add:hover { color: var(--accent); border-color: var(--accent); }
.brief-add.is-added { color: var(--accent); border-color: var(--accent); }
.split .btn--outline { width: auto; }


/* =============================================================================
   7. STEPS, CHECKS, SCOPE, SPLIT
   ============================================================================= */

.steps { list-style: none; margin-top: var(--sp-12); }
.step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: var(--sp-4);
  padding: var(--sp-5) 0;
  border-bottom: 1px solid var(--line-2);
}
.step:last-child { border-bottom: none; }
.step__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.55rem;
  line-height: 1;
  color: var(--accent);
  padding-top: 3px;
}
.step__t { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.015em; color: var(--text); }
.step__d { font-family: var(--font-body); font-size: var(--size-sm); color: var(--dim); line-height: 1.65; margin-top: 4px; }
.steps--wide { max-width: 900px; margin: var(--sp-12) auto 0; }
.workflow-note { font-family: var(--font-body); font-size: 0.78rem; color: var(--dim-2); margin-top: var(--sp-6); }

.checks { list-style: none; }
.checks li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-2);
  font-family: var(--font-body);
  font-size: var(--size-sm);
  color: var(--dim);
  line-height: 1.55;
}
.checks li:last-child { border-bottom: none; }
.checks li .icon--check { margin-top: 3px; }
.checks--cross li { color: var(--dim-2); }
.checks__x {
  color: var(--dim-2);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
  width: 15px;
  flex-shrink: 0;
  text-align: center;
}

.inputs { list-style: none; }
.inputs li {
  position: relative;
  padding: 8px 0 8px 18px;
  font-family: var(--font-body);
  font-size: var(--size-sm);
  color: var(--dim);
  line-height: 1.55;
}
.inputs li::before {
  content: '';
  position: absolute; left: 0; top: 15px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

.scope-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin-top: var(--sp-12);
}
@media (max-width: 800px) { .scope-grid { grid-template-columns: 1fr; } }
.scope-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
}
.scope-card--in { border-color: rgba(79, 155, 244, 0.35); }
[data-theme="light"] .scope-card--in { border-color: rgba(31, 111, 214, 0.25); }
.scope-card--out .m-card__d, .scope-card--out { color: var(--dim); }
.scope-card--solo { max-width: 720px; margin: var(--sp-12) auto 0; }
.scope-card__t {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: var(--sp-4);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-10);
  margin-top: var(--sp-12);
}
@media (max-width: 800px) { .split { grid-template-columns: 1fr; gap: var(--sp-8); } }
.split__t {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: var(--sp-3);
}
.split__d { font-family: var(--font-body); font-size: var(--size-sm); color: var(--dim); line-height: 1.65; margin-bottom: var(--sp-5); }
.split .btn--primary { margin-bottom: var(--sp-3); }

.includes { list-style: none; counter-reset: incl; margin-top: var(--sp-10); max-width: 780px; }
.includes li {
  counter-increment: incl;
  position: relative;
  padding: 12px 0 12px 38px;
  border-bottom: 1px solid var(--line-2);
  font-family: var(--font-body);
  font-size: var(--size-sm);
  color: var(--dim);
  line-height: 1.55;
}
.includes li:last-child { border-bottom: none; }
.includes li::before {
  content: counter(incl, decimal-leading-zero);
  position: absolute; left: 0; top: 13px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.05em;
}


/* =============================================================================
   8. CHIPS, NOTES, FAQ, CTA BAND
   ============================================================================= */

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--sp-8); padding: 0; }
.chips--center { justify-content: center; }
.chip {
  display: inline-flex; align-items: center;
  padding: 6px 13px;
  border-radius: 100px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--dim);
}
a.chip--link { color: var(--text); transition: border-color var(--dur-fast) var(--ease-apple), color var(--dur-fast) var(--ease-apple); }
a.chip--link:hover { border-color: var(--accent); color: var(--accent); }

.note {
  background: transparent;
  border: none;
  padding: 6px var(--sp-6);
}
.note__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 14px 22px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.03);
}
.note__label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  white-space: nowrap;
  margin-top: 3px;
}
.note__inner p {
  flex: 1;
  min-width: 260px;
  font-family: var(--font-body);
  font-size: var(--size-sm);
  color: var(--dim);
  line-height: 1.65;
}

/* Start-here variant — accent edge, reads as the beginner on-ramp */
.note--start .note__inner { background: var(--pastel-sky); border-color: rgba(79, 155, 244, 0.35); }
[data-theme="dark"] .note--start .note__inner { background: var(--pastel-sky); border-color: rgba(111, 170, 247, 0.3); }
.note--start .note__label { color: var(--accent); }
.note--start .note__inner p { color: var(--text); }

/* =============================================================================
   "IN PLAIN WORDS" — beginner layer on every catalog page
   ============================================================================= */

.plain { padding-top: 64px; padding-bottom: 64px; }
.plain__card {
  max-width: 780px;
  margin: 0 auto;
  padding: var(--sp-8) var(--sp-8) var(--sp-6);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 14px;
  background: var(--bg);
}
.plain__head {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}
.plain__badge {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  padding: 5px 12px;
  white-space: nowrap;
}
.plain__t {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--size-lg);
  letter-spacing: -0.02em;
  color: var(--text);
}
.plain__what {
  font-family: var(--font-body);
  font-size: var(--size-base);
  line-height: 1.7;
  color: var(--text);
}
.plain__like {
  margin-top: var(--sp-4);
  font-family: var(--font-body);
  font-size: var(--size-sm);
  line-height: 1.65;
  color: var(--dim);
}
.plain__like-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 6px;
}
.plain__terms {
  margin-top: var(--sp-6);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: var(--sp-4) var(--sp-6);
}
.plain__term dt {
  font-family: var(--font-body);
  font-size: var(--size-sm);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.plain__term dd {
  font-family: var(--font-body);
  font-size: var(--size-sm);
  line-height: 1.6;
  color: var(--dim);
}
.plain__more {
  margin-top: var(--sp-6);
  padding-top: var(--sp-4);
  border-top: 1px dashed var(--line);
  font-family: var(--font-body);
  font-size: var(--size-sm);
  color: var(--dim);
}
.plain__more a { color: var(--accent); border-bottom: 1px solid var(--accent); }
.plain__more a:hover { opacity: 0.8; }

@media (max-width: 768px) {
  .plain { padding-top: 48px; padding-bottom: 48px; }
  .plain__card { padding: var(--sp-6) var(--sp-5) var(--sp-5); }
  .plain__head { flex-wrap: wrap; gap: var(--sp-2) var(--sp-3); }
}

/* =============================================================================
   "FOR TECHNICAL EVALUATORS" — expert layer on every catalog page
   ============================================================================= */

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-8);
  align-items: start;
}
.tech-card {
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 14px;
  background: var(--surface);
  padding: var(--sp-6);
}
.tech-card__t {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--size-lg);
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: var(--sp-4);
}
.tech-card__list { list-style: none; }
.tech-card__list li {
  font-family: var(--font-body);
  font-size: var(--size-sm);
  line-height: 1.65;
  color: var(--dim);
  padding-left: var(--sp-4);
  position: relative;
  margin-bottom: var(--sp-3);
}
.tech-card__list li:last-child { margin-bottom: 0; }
.tech-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  transform: rotate(45deg);
  background: var(--accent);
}
.tech-card__list strong { color: var(--text); font-weight: 600; }

@media (max-width: 1024px) {
  .tech-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .tech-grid { grid-template-columns: 1fr; gap: var(--sp-4); }
  .tech-card { padding: var(--sp-5); }
}

/* Buttons in the new layouts may wrap on narrow screens (legacy .btn sets nowrap) */
.page-hero__ctas .btn,
.cta-band__btns .btn,
.call-card .btn,
.split .btn,
.review__btns .btn,
.sys-card__ctas .btn,
.pkg-card__ctas .btn,
.cap-card__ctas .btn,
.hero__cta-row .btn,
.brief-actions .btn,
.filter-empty .btn { white-space: normal; min-width: 0; }
.call-grid .call-card { min-width: 0; }

/* Room for descenders/ascenders in the two-line hero headline */
.hero__headline { line-height: 1.14; }
.page-hero__title em, .hero__headline em { padding-bottom: 0.04em; }

/* FAQ — narrow column of separate rounded rows */
.faq { margin-top: var(--sp-8); display: flex; flex-direction: column; gap: 10px; }
.faq__item {
  background: var(--surface-2);
  border: 1px solid rgba(16, 24, 40, 0.12);
  border-radius: 20px;
  padding: 2px 4px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.03);
  transition: border-color var(--dur-fast) var(--ease-apple);
}
[data-theme="dark"] .faq__item { border-color: rgba(255, 255, 255, 0.11); }
.faq__item[open] { border-color: rgba(79, 155, 244, 0.4); }
.faq__q {
  list-style: none;
  cursor: pointer;
  padding: 18px 56px 18px 22px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--text);
  position: relative;
  transition: color var(--dur-fast) var(--ease-apple);
}
.faq__q:hover { color: var(--accent); }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: '+';
  position: absolute;
  right: 18px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--dim);
  transition: transform var(--dur-fast) var(--ease-apple), color var(--dur-fast) var(--ease-apple);
}
.faq__item[open] .faq__q::after { content: '−'; color: var(--accent); }
.faq__a { padding: 0 22px 20px; }
.faq__a p {
  font-family: var(--font-body);
  font-size: var(--size-sm);
  color: var(--dim);
  line-height: 1.7;
  max-width: 640px;
}

.cta-band {
  position: relative;
  background: var(--bg);
  padding: 140px var(--sp-6);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, var(--glow) 0%, transparent 65%);
  pointer-events: none; z-index: -1;
}
.cta-band__inner { max-width: 780px; margin: 0 auto; }
.cta-band__t {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--size-2xl);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
}
.cta-band__s {
  font-family: var(--font-body);
  font-size: var(--size-base);
  color: var(--dim);
  line-height: 1.7;
  margin-top: var(--sp-5);
}
.cta-band__btns {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  margin-top: var(--sp-8);
}


/* =============================================================================
   9. HOME-SPECIFIC — capability minis, system grid, evidence, packages
   ============================================================================= */

.cap-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: var(--sp-12);
}
@media (max-width: 1024px) { .cap-mini-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .cap-mini-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .cap-mini-grid { grid-template-columns: 1fr; } }
.cap-mini {
  display: flex; flex-direction: column; gap: 6px;
  background: var(--bg);
  padding: 20px 18px;
  transition: background var(--dur-fast) var(--ease-apple);
}
[data-theme="light"] .cap-mini { background: #FFFFFF; }
.cap-mini:hover { background: var(--surface-2); }
.cap-mini__num { font-family: var(--font-body); font-weight: 600; font-size: 0.68rem; color: var(--accent); letter-spacing: 0.08em; }
.cap-mini__t { font-family: var(--font-body); font-weight: 500; font-size: 0.86rem; color: var(--text); line-height: 1.35; }

.home-sys-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin-top: var(--sp-12);
}
@media (max-width: 900px) { .home-sys-grid { grid-template-columns: 1fr; } }
.home-sys {
  display: flex; flex-direction: column;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  transition: transform var(--dur) var(--ease-apple), border-color var(--dur) var(--ease-apple);
}
.home-sys:hover { transform: translateY(-3px); border-color: var(--dim-2); }
.home-sys--feature { grid-column: 1 / -1; }
.home-sys__icon { color: var(--accent); display: inline-flex; }
.home-sys__icon .icon { width: 28px; height: 28px; }
.home-sys__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--dim-2);
  margin-left: auto;
}
.home-sys__t { font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; letter-spacing: -0.02em; margin-top: var(--sp-4); color: var(--text); line-height: 1.15; }
.home-sys--feature .home-sys__t { font-size: 1.8rem; }
.home-sys__d { font-family: var(--font-body); font-size: var(--size-sm); color: var(--dim); line-height: 1.6; margin-top: var(--sp-3); }
.home-sys__feats {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  margin-top: var(--sp-5);
}
.home-sys__feats li {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--dim);
  padding-left: 14px;
  position: relative;
}
.home-sys__feats li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 6px; height: 1.5px;
  background: var(--accent);
}

.evidence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin-top: var(--sp-12);
  align-items: stretch;
}
@media (max-width: 900px) { .evidence-grid { grid-template-columns: 1fr; } }
.evidence__t {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: var(--sp-3);
}
.illustrative {
  background: var(--surface-2);
  border: 1px dashed var(--dim-2);
  border-radius: var(--r-lg);
  padding: 28px;
}
.illustrative__label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 4px 12px;
}
.illustrative__t { font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; color: var(--text); margin-top: var(--sp-4); }
.mini-steps { list-style: none; margin-top: var(--sp-5); counter-reset: ms; }
.mini-steps li {
  counter-increment: ms;
  position: relative;
  padding: 10px 0 10px 34px;
  font-family: var(--font-body);
  font-size: var(--size-sm);
  color: var(--dim);
  line-height: 1.6;
  border-bottom: 1px solid var(--line-2);
}
.mini-steps li:last-child { border-bottom: none; }
.mini-steps li strong { color: var(--text); font-weight: 500; }
.mini-steps li::before {
  content: counter(ms);
  position: absolute; left: 0; top: 11px;
  width: 22px; height: 22px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--accent);
  text-align: center;
  line-height: 21px;
}
.illustrative__note { font-family: var(--font-body); font-size: 0.78rem; color: var(--dim-2); margin-top: var(--sp-5); line-height: 1.6; }

.pkg-mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: var(--sp-4);
  margin-top: var(--sp-12);
}
.pkg-mini {
  display: flex; flex-direction: column;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
  transition: transform var(--dur) var(--ease-apple), border-color var(--dur) var(--ease-apple);
}
.pkg-mini:hover { transform: translateY(-3px); border-color: var(--dim-2); }
.pkg-mini .badge { align-self: flex-start; }
.pkg-mini__t { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.015em; margin-top: var(--sp-4); color: var(--text); line-height: 1.2; }
.pkg-mini__d { font-family: var(--font-body); font-size: 0.85rem; color: var(--dim); line-height: 1.55; margin-top: 8px; }

.cov-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-10);
}
@media (max-width: 800px) { .cov-links { grid-template-columns: 1fr; } }
.cov-link {
  display: block;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  transition: transform var(--dur) var(--ease-apple), border-color var(--dur) var(--ease-apple);
}
.cov-link:hover { transform: translateY(-3px); border-color: var(--dim-2); }
.cov-link strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--text);
}
.cov-link span { display: block; font-family: var(--font-body); font-size: 0.84rem; color: var(--dim); margin-top: 6px; line-height: 1.5; }


/* =============================================================================
   10. INDUSTRY / AUDIENCE / DEPARTMENT PATTERNS
   ============================================================================= */

.wf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-12);
}
@media (max-width: 1024px) { .wf-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .wf-grid { grid-template-columns: 1fr; } }
.wf-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
}
.wf-card__t { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.02em; color: var(--text); }
.wf-steps { list-style: none; margin-top: var(--sp-4); counter-reset: wfs; }
.wf-steps li {
  counter-increment: wfs;
  position: relative;
  padding: 7px 0 7px 28px;
  font-family: var(--font-body);
  font-size: 0.86rem;
  color: var(--dim);
  line-height: 1.5;
}
.wf-steps li::before {
  content: counter(wfs);
  position: absolute; left: 0; top: 8px;
  width: 19px; height: 19px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--accent);
  text-align: center;
  line-height: 18px;
}
.wf-card__note { font-family: var(--font-body); font-size: 0.78rem; color: var(--dim-2); margin-top: var(--sp-4); }
.wf-card__note a, .wf-card__note strong { color: var(--dim); font-weight: 500; }

.aud-block { padding: 96px var(--sp-6); }
@media (max-width: 768px) { .aud-block { padding: 64px var(--sp-5); } }
.aud-tag {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.35rem;
  color: var(--dim);
  margin-top: var(--sp-4);
}
.aud-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
  margin-top: var(--sp-10);
}
@media (max-width: 1024px) { .aud-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .aud-grid { grid-template-columns: 1fr; } }
.aud-t {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: var(--sp-4);
}
.aud-t--gap { margin-top: var(--sp-8); }
.aud-d { font-family: var(--font-body); font-size: var(--size-sm); color: var(--dim); line-height: 1.7; }

.dept-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin-top: var(--sp-12);
}
@media (max-width: 1024px) { .dept-list { grid-template-columns: 1fr; } }
.dept-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px;
}
.dept-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: var(--sp-6); }
.dept-card__icon { color: var(--accent); display: inline-flex; }
.dept-card__icon .icon { width: 24px; height: 24px; }
.dept-card__t { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.02em; color: var(--text); }
.dept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
}
@media (max-width: 640px) { .dept-grid { grid-template-columns: 1fr; } }
.dept-wf { margin-bottom: var(--sp-4); }
.dept-wf__t { font-family: var(--font-body); font-weight: 600; font-size: 0.92rem; color: var(--text); }
.dept-wf__d { font-family: var(--font-body); font-size: 0.84rem; color: var(--dim); line-height: 1.55; margin-top: 3px; }
.dept-grid .chips { margin-top: 0; }

/* Comparison table */
.table-wrap {
  overflow-x: auto;
  margin-top: var(--sp-12);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.cmp {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
}
.cmp th, .cmp td {
  text-align: left;
  vertical-align: top;
  padding: 16px 18px;
  font-family: var(--font-body);
  font-size: var(--size-sm);
  line-height: 1.55;
}
.cmp thead th {
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dim);
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}
.cmp tbody th[scope="row"] {
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  background: var(--surface);
}
.cmp tbody td { color: var(--dim); border-bottom: 1px solid var(--line-2); background: var(--bg); }
[data-theme="light"] .cmp tbody td { background: #FFFFFF; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: none; }


/* =============================================================================
   11. CONTACT — call cards, brief panel, form, review
   ============================================================================= */

.call-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin-top: var(--sp-12);
}
@media (max-width: 900px) { .call-grid { grid-template-columns: 1fr; } }
.call-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
}
.call-card__t { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; letter-spacing: -0.02em; color: var(--text); }
.call-card__d { font-family: var(--font-body); font-size: var(--size-sm); color: var(--dim); line-height: 1.7; margin: var(--sp-4) 0 var(--sp-6); }
.call-card__btns { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 640px) {
  .call-card__btns .btn { flex: 1 1 100%; justify-content: center; padding: 10px 16px; font-size: 0.9rem; }
}
.call-card__meta { font-family: var(--font-body); font-size: 0.78rem; color: var(--dim-2); line-height: 1.6; margin-top: var(--sp-6); }
.call-card__meta a { color: var(--dim); text-decoration: underline; text-underline-offset: 3px; }
.call-card__meta a:hover { color: var(--accent); }

.brief-panel {
  margin-top: var(--sp-10);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
}
.brief-items { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.brief-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 6px 6px 14px;
  border-radius: 100px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text);
}
[data-theme="light"] .brief-item { background: #FFFFFF; }
.brief-item__kind { color: var(--dim-2); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; }
.brief-item__x {
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--dim);
  font-size: 0.95rem;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-apple), color var(--dur-fast) var(--ease-apple);
}
.brief-item__x:hover { background: var(--surface-3); color: var(--text); }
.brief-empty { font-family: var(--font-body); font-size: var(--size-sm); color: var(--dim); line-height: 1.6; }
.brief-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--sp-6); align-items: center; }
.brief-browse { display: flex; flex-wrap: wrap; gap: 18px; margin-top: var(--sp-6); }
.brief-browse a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
}
.brief-browse a:hover { opacity: 0.8; }
.brief-note { font-family: var(--font-body); font-size: 0.75rem; color: var(--dim-2); margin-top: var(--sp-6); line-height: 1.6; }

.inquiry { margin-top: var(--sp-12); }
.field { margin-bottom: var(--sp-6); }
.field__label {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 8px;
}
.field__label span { color: var(--accent); }
.field__input {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--size-sm);
  transition: border-color var(--dur-fast) var(--ease-apple);
}
.field__input::placeholder { color: var(--dim-2); }
.field__input:focus { border-color: var(--accent); }
.field__input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.field__input--area { min-height: 130px; resize: vertical; line-height: 1.6; }
.field__input.is-invalid { border-color: var(--err); }
.field__hint { font-family: var(--font-body); font-size: 0.75rem; color: var(--dim-2); margin-top: 6px; }
.field__err { font-family: var(--font-body); font-size: 0.8rem; color: var(--err); margin-top: 6px; }
.form-note { font-family: var(--font-body); font-size: 0.78rem; color: var(--dim-2); line-height: 1.6; margin-bottom: var(--sp-6); }
.form-note a { color: var(--dim); text-decoration: underline; text-underline-offset: 3px; }
.form-note a:hover { color: var(--accent); }

.review {
  margin-top: var(--sp-8);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
}
.review__t { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: var(--text); }
.review__note { font-family: var(--font-body); font-size: var(--size-sm); color: var(--dim); margin-top: var(--sp-3); line-height: 1.6; }
.review__pre {
  white-space: pre-wrap;
  word-break: break-word;
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--dim);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 18px;
  margin: var(--sp-5) 0;
  max-height: 340px;
  overflow-y: auto;
}
[data-theme="light"] .review__pre { background: #FFFFFF; }
.review__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.review__status { font-family: var(--font-body); font-size: 0.82rem; color: var(--ok); margin-top: var(--sp-4); min-height: 1.2em; }


/* =============================================================================
   12. RESOURCES — guides
   ============================================================================= */

.guide + .guide { margin-top: var(--sp-24); }
.guide__meta {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.guide__t {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--size-xl);
  letter-spacing: -0.025em;
  color: var(--text);
  line-height: 1.15;
  margin-top: var(--sp-3);
}
.guide__sum { font-family: var(--font-body); font-size: var(--size-base); color: var(--dim); line-height: 1.7; margin-top: var(--sp-4); max-width: 640px; }
.guide__body { margin-top: var(--sp-8); max-width: 700px; }
.guide__body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: var(--sp-8) 0 var(--sp-3);
}
.guide__body h3:first-child { margin-top: 0; }
.guide__body p {
  font-family: var(--font-body);
  font-size: var(--size-sm);
  color: var(--dim);
  line-height: 1.8;
  margin-bottom: var(--sp-4);
}
.guide__body p strong { color: var(--text); font-weight: 500; }
.roadmap-note {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--dim-2);
  text-align: center;
  max-width: 560px;
  margin: var(--sp-8) auto 0;
  line-height: 1.6;
}


/* =============================================================================
   13. MISC + RESPONSIVE REFINEMENTS
   ============================================================================= */

.related-note { font-family: var(--font-body); font-size: 0.85rem; color: var(--dim-2); margin-top: var(--sp-6); text-align: center; }

@media (max-width: 1024px) {
  .mega__panel--wide { right: 0; min-width: 500px; }
  .mega__grid--tight { min-width: 380px; }
}

@media (max-width: 768px) {
  .section { padding: 80px var(--sp-5); }
  .cta-band { padding: var(--sp-16) var(--sp-5); }
  .page-hero { padding: calc(var(--nav-h) + 64px) var(--sp-5) 48px; }
  .page-hero--tight { padding: calc(var(--nav-h) + 56px) var(--sp-5) 36px; }
  .steps .step { grid-template-columns: 40px 1fr; gap: var(--sp-3); }
  .step__num { font-size: 1.2rem; }
  .crumbs ol { justify-content: flex-start; }
  .page-hero { text-align: left; }
  .page-hero__badges, .page-hero__ctas { justify-content: flex-start; }
}

@media (max-width: 480px) {
  .filterbar { flex-direction: column; align-items: stretch; }
  .search-box { max-width: none; }
  .filter-pills { justify-content: flex-start; }
  .cap-grid { grid-template-columns: 1fr; }
}

/* Reduced motion — the base [data-animate] rules live in styles.css */
@media (prefers-reduced-motion: reduce) {
  .mega__panel, .nav__caret, .l-card, .m-card, .sys-card, .cap-card, .pkg-card,
  .home-sys, .pkg-mini, .cov-link, .faq__q::after, .brief-add, .brief-item__x {
    transition: none !important;
  }
  .step, .step__num { animation: none !important; }
}


/* =============================================================================
   v4 — PROOF LAYER + JOBS POLISH
   Components for the audit-era pages: proof cards, founder section, demo
   consoles (voice + knowledge search), benchmark, scope generator, arch
   flows, flagship grids — and a softer, smoother micro-interaction pass.
   ============================================================================= */

/* ---- Global softness ------------------------------------------------------ */

::selection { background: var(--accent); color: var(--bg); }

section[id], div[id] { scroll-margin-top: calc(var(--nav-h) + 24px); }

.btn { transition: transform var(--dur-micro) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out),
                background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out),
                color var(--dur-fast) var(--ease-out); }
.btn:active { transform: scale(0.965); }

.btn--lg { padding: 16px 32px; font-size: 1.02rem; }

.m-card, .l-card, .sys-card, .pkg-mini, .proof-card, .flag-card {
  transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.m-card:hover, .l-card:hover, .sys-card:hover, .pkg-mini:hover, .proof-card:hover, .flag-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px -18px rgba(0, 0, 0, 0.45), 0 2px 10px -4px rgba(0, 0, 0, 0.2);
}
[data-theme="light"] .m-card:hover, [data-theme="light"] .l-card:hover,
[data-theme="light"] .sys-card:hover, [data-theme="light"] .pkg-mini:hover,
[data-theme="light"] .proof-card:hover, [data-theme="light"] .flag-card:hover {
  box-shadow: 0 18px 44px -20px rgba(0, 0, 0, 0.18), 0 2px 10px -6px rgba(0, 0, 0, 0.08);
}

/* Elements injected by the demos get a soft entrance */
@media (prefers-reduced-motion: no-preference) {
  [data-animate-in] { animation: fadeUpIn 0.55s var(--ease-out) both; }
  @keyframes fadeUpIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* ---- Live / status badges --------------------------------------------------- */

.badge--live {
  color: #34d058;
  border-color: rgba(52, 208, 88, 0.4);
  background: rgba(52, 208, 88, 0.08);
  display: inline-flex; align-items: center; gap: 7px;
}
.badge--live::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: #34d058; box-shadow: 0 0 0 0 rgba(52, 208, 88, 0.5);
  animation: livePulse 2.4s var(--ease-out) infinite;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 208, 88, 0.45); }
  70% { box-shadow: 0 0 0 9px rgba(52, 208, 88, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 208, 88, 0); }
}
.badge--prep { color: var(--accent); border-color: rgba(79, 155, 244, 0.35); background: rgba(79, 155, 244, 0.07); }
.badge--road { color: var(--accent); border-color: rgba(79, 155, 244, 0.35); background: rgba(79, 155, 244, 0.07); }
[data-theme="light"] .badge--live { color: #1a7f37; border-color: rgba(26, 127, 55, 0.35); background: rgba(26, 127, 55, 0.06); }
[data-theme="light"] .badge--live::before { background: #1a7f37; }

/* ---- Proof cards -------------------------------------------------------------- */

.proof-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5);
}
.proof-card {
  position: relative; display: flex; flex-direction: column; gap: var(--sp-3);
  padding: var(--sp-8); border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface-2);
  min-height: 100%;
}
.proof-card__icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--glow); color: var(--accent); border: 1px solid var(--line);
}
.proof-card__icon .icon { width: 22px; height: 22px; }
.proof-card__body { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.proof-card__tag {
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim);
}
.proof-card__t { font-family: var(--font-display); font-weight: 600; font-size: 1.45rem;
  letter-spacing: -0.02em; line-height: 1.15; color: var(--text); }
.proof-card__d { font-size: 0.92rem; color: var(--dim); line-height: 1.6; }
.proof-card__go {
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; color: var(--accent);
}
.proof-card--bench { border-color: rgba(79, 155, 244, 0.35); }
.proof-card--bench .proof-card__icon { background: var(--glow); }

/* ---- Case study panel ---------------------------------------------------------- */

.case-panel {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--sp-8);
  padding: var(--sp-10); border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface-2);
}
.case-panel__status { display: flex; flex-direction: column; gap: var(--sp-4); align-items: flex-start;
  font-size: 0.95rem; color: var(--text-2); line-height: 1.65; }
.case-panel__t { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600;
  letter-spacing: -0.01em; margin-bottom: var(--sp-4); }
.case-steps { display: flex; flex-direction: column; gap: var(--sp-3); font-size: 0.92rem;
  color: var(--dim); line-height: 1.6; }
.case-steps strong { color: var(--text); font-weight: 600; }
.case-steps li { padding-left: var(--sp-5); position: relative; }
.case-steps li::before {
  content: ''; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px;
  border-radius: 50%; background: var(--accent); opacity: 0.75;
}
.case-panel__note { margin-top: var(--sp-4); font-size: 0.85rem; color: var(--dim);
  padding-top: var(--sp-4); border-top: 1px dashed var(--line); }

/* ---- Ask-AI row ----------------------------------------------------------------- */

.askai { display: flex; flex-direction: column; gap: var(--sp-5); align-items: center; text-align: center; }
.askai__prompt {
  font-family: var(--font-display); font-style: italic; font-size: 1.08rem; line-height: 1.6;
  color: var(--text-2); max-width: 640px; padding: var(--sp-5) var(--sp-6);
  border: 1px dashed var(--line); border-radius: var(--r);
  background: var(--surface-2);
}
.askai__btns { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; }
.askai__note { font-size: 0.82rem; color: var(--dim); }

.proof-next { padding: var(--sp-10); border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface-2); }
.proof-next .s-body { margin-top: var(--sp-4); max-width: 640px; }

/* ---- Founder section ------------------------------------------------------------- */

.founder-grid { display: grid; grid-template-columns: 300px 1fr; gap: var(--sp-12); align-items: start; }
.founder-card {
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-4);
  padding: var(--sp-10) var(--sp-6); border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface-2);
  position: relative; overflow: hidden;
}
.founder-card__avatar { position: relative; width: 148px; height: 148px; }
.founder-avatar__ring { fill: none; stroke: var(--line); stroke-width: 1.5; }
.founder-avatar__letter {
  font-family: var(--font-display); font-size: 64px; fill: var(--accent);
  font-weight: 600; letter-spacing: -0.02em;
}
.founder-card__ring {
  position: absolute; inset: -6px; border-radius: 50%;
  border: 1px solid rgba(79, 155, 244, 0.35);
  animation: founderPulse 3.6s var(--ease-out) infinite;
}
@keyframes founderPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.06); opacity: 0.25; }
}
.founder-card__meta { text-align: center; }
.founder-card__name { font-family: var(--font-display); font-size: 1.6rem; font-weight: 400;
  letter-spacing: -0.02em; color: var(--text); }
.founder-card__role { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin-top: 4px; }
.founder-card__soon, .founder-card__meta .founder-card__soon {
  font-size: 0.8rem; color: var(--dim); margin-top: 10px; line-height: 1.5;
}
.founder-facts {
  margin: var(--sp-6) 0 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4);
}
.founder-facts li {
  display: flex; flex-direction: column; gap: 4px; padding: var(--sp-4) var(--sp-5);
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface-2);
}
.founder-facts strong { font-family: var(--font-body); font-size: 0.92rem; font-weight: 600; color: var(--text); }
.founder-facts span { font-size: 0.84rem; color: var(--dim); line-height: 1.55; }

/* ---- Demo strip (flagship system pages) ------------------------------------------- */

.demo-strip { padding: var(--sp-10) 0; background: var(--glow); border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line); }
.demo-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-8); flex-wrap: wrap; }
.demo-strip__t { font-family: var(--font-display); font-size: clamp(1.6rem, 2.5vw, 2.1rem); font-weight: 400;
  letter-spacing: -0.02em; color: var(--text); margin: 6px 0 10px; }
.demo-strip__d { max-width: 560px; color: var(--text-2); font-size: 0.98rem; line-height: 1.6; }

/* ---- Arch flow diagram --------------------------------------------------------------- */

.arch-flow {
  display: flex; align-items: stretch; flex-wrap: wrap; gap: var(--sp-3) var(--sp-6);
  list-style: none; margin: var(--sp-8) 0 var(--sp-10); padding: var(--sp-6);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface-2);
}
.arch-node {
  position: relative; display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--bg); font-size: 0.88rem; font-weight: 500; color: var(--text-2);
}
.arch-node__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.arch-node:not(:last-child)::after {
  content: '→'; position: absolute; right: -26px; color: var(--dim-2); font-size: 0.9rem;
}

/* ---- Flagship cards (systems hub) ------------------------------------------------------ */

.flag-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6); margin-top: var(--sp-8); }
.flag-card {
  display: flex; flex-direction: column; gap: var(--sp-3);
  padding: var(--sp-10); border: 1px solid rgba(79, 155, 244, 0.3); border-radius: var(--r-lg);
  background: var(--surface-2);
}
.flag-card__head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); }
.flag-card__icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: var(--glow); color: var(--accent); border: 1px solid var(--line);
}
.flag-card__icon .icon { width: 26px; height: 26px; }
.flag-card__t { font-family: var(--font-display); font-weight: 600; font-size: 1.75rem;
  letter-spacing: -0.02em; line-height: 1.12; }
.flag-card__t a { color: var(--text); }
.flag-card__cat { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.flag-card__d { color: var(--text-2); font-size: 0.95rem; line-height: 1.62; }
.flag-card__ctas { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-2); align-items: center; }
.sys-grid--five { grid-template-columns: repeat(3, 1fr); }

/* ---- Mobile drawer direct links -------------------------------------------------------------- */

.mdirect {
  display: block; padding: 13px 4px; font-family: var(--font-display); font-size: 1.05rem;
  color: var(--text); border-bottom: 1px solid var(--line-2);
}
.mdirect:hover { color: var(--accent); }

/* ---- Mega multi-foot ---------------------------------------------------------------------------- */

.mega__foot--multi { display: flex; flex-wrap: wrap; gap: var(--sp-6); }
.mega__foot--multi a { color: var(--accent); font-size: 0.85rem; font-weight: 600; }

/* =============================================================================
   KNOWLEDGE SEARCH CONSOLE
   ============================================================================= */

.ks-console {
  margin-top: var(--sp-8); padding: var(--sp-6); border: 1px solid var(--line);
  border-radius: var(--r-lg); background: var(--surface-2);
}
.ks-console__bar {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: 8px 8px 8px 18px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--bg); transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.ks-console__bar:focus-within { border-color: rgba(79, 155, 244, 0.55); box-shadow: 0 0 0 4px var(--glow); }
.ks-console__bar svg { width: 18px; height: 18px; color: var(--dim); flex: none; }
.ks-console__bar input {
  flex: 1; min-width: 0; background: none; border: none; outline: none;
  font-family: var(--font-body); font-size: 1rem; color: var(--text); padding: 10px 0;
}
.ks-console__bar input::placeholder { color: var(--dim-2); }
.ks-samples { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--sp-4); align-items: center; }
.chip--sample {
  cursor: pointer; font-family: var(--font-body); font-size: 0.8rem; color: var(--dim);
  border: 1px solid var(--line); background: none; padding: 6px 14px; border-radius: 999px;
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.chip--sample:hover { color: var(--accent); border-color: rgba(79, 155, 244, 0.45); }
.ks-status { margin: var(--sp-4) 0 0; font-size: 0.85rem; color: var(--dim); min-height: 1.2em; }
.ks-results { display: flex; flex-direction: column; gap: var(--sp-4); margin-top: var(--sp-4); }
.ks-result {
  padding: var(--sp-5) var(--sp-6); border: 1px solid var(--line); border-radius: var(--r);
  background: var(--bg);
}
.ks-result__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; }
.ks-result__cite { font-size: 0.85rem; font-weight: 600; color: var(--accent); }
.ks-result__cite:hover { text-decoration: underline; }
.ks-result__score { font-size: 0.72rem; color: var(--dim-2); font-variant-numeric: tabular-nums; }
.ks-result__text { margin-top: 10px; font-size: 0.92rem; color: var(--text-2); line-height: 1.65; }
.ks-result__text mark {
  background: rgba(79, 155, 244, 0.18); color: var(--accent-2);
  border-radius: 3px; padding: 0 2px;
}
[data-theme="light"] .ks-result__text mark { color: var(--accent); background: rgba(31, 111, 214, 0.08); }
.ks-empty { padding: var(--sp-6); text-align: center; color: var(--dim); font-size: 0.9rem; }
.ks-cite-note { margin-top: var(--sp-6); font-size: 0.9rem; color: var(--dim); text-align: center; }

/* ---- Benchmark --------------------------------------------------------------------------------- */

.bench-panel {
  margin-top: var(--sp-8); border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface-2); overflow: hidden;
}
.bench-panel__head {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-6);
  padding: var(--sp-8); flex-wrap: wrap;
}
.bench-panel__t { font-family: var(--font-display); font-size: 1.2rem; font-weight: 400; letter-spacing: -0.01em; }
.bench-panel__d { margin-top: 8px; font-size: 0.88rem; color: var(--dim); line-height: 1.6; max-width: 520px; }
.bench-results { border-top: 1px solid var(--line); padding: var(--sp-8); }
.bench-summary { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-bottom: var(--sp-6); }
.bench-metric {
  flex: 1; min-width: 150px; display: flex; flex-direction: column; gap: 4px;
  padding: var(--sp-4) var(--sp-5); border: 1px solid var(--line); border-radius: var(--r); background: var(--bg);
}
.bench-metric__v { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.bench-metric__n { font-family: var(--font-display); font-size: 1.9rem; font-weight: 400; color: var(--text);
  font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.bench-metric__d { font-size: 0.76rem; color: var(--dim-2); line-height: 1.45; }
.bench-note { flex-basis: 100%; font-size: 0.84rem; color: var(--dim); line-height: 1.6; }
.bench-table-wrap { overflow-x: auto; }
.bench-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
.bench-table th, .bench-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.bench-table thead th { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.bench-table td { color: var(--text-2); }
.bench-rank { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.bench-table tr.is-hit .bench-rank { color: #34d058; }
[data-theme="light"] .bench-table tr.is-hit .bench-rank { color: #1a7f37; }
.bench-table tr.is-partial .bench-rank { color: var(--accent); }
.bench-table tr.is-miss .bench-rank { color: #ff6b6b; }
[data-theme="light"] .bench-table tr.is-miss .bench-rank { color: #cf222e; }
.bench-fine { margin-top: var(--sp-6); font-size: 0.88rem; color: var(--dim); line-height: 1.65; }

/* =============================================================================
   VOICE DEMO CONSOLE
   ============================================================================= */

.vd-console {
  margin-top: var(--sp-8); border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface-2); padding: var(--sp-6);
}
.vd-console__bar { display: flex; align-items: flex-end; gap: var(--sp-4); flex-wrap: wrap; }
.vd-lang { display: flex; flex-direction: column; gap: 6px; }
.vd-lang__label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.vd-lang__select { min-width: 200px; }
.vd-meter { display: flex; align-items: center; gap: 7px; margin: var(--sp-5) 0 0; opacity: 0.35; }
.vd-meter.is-live { opacity: 1; }
.vd-meter__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dim-2); }
.vd-meter.is-live .vd-meter__dot { background: #34d058; animation: meterBlink 1.2s infinite; }
.vd-meter.is-live .vd-meter__dot:nth-child(2) { animation-delay: 0.2s; }
.vd-meter.is-live .vd-meter__dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes meterBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.vd-meter__label { font-size: 0.78rem; color: var(--dim); margin-left: 6px; }
.vd-support {
  margin-top: var(--sp-4); padding: 12px 16px; border-radius: var(--r);
  background: rgba(255, 107, 107, 0.08); border: 1px solid rgba(255, 107, 107, 0.25);
  font-size: 0.85rem; color: var(--text-2); line-height: 1.55;
}
.vd-transcript-box {
  margin-top: var(--sp-5); min-height: 140px; padding: var(--sp-5) var(--sp-6);
  border: 1px solid var(--line); border-radius: var(--r); background: var(--bg);
}
.vd-transcript__final { font-size: 1.02rem; line-height: 1.7; color: var(--text); }
.vd-transcript__interim { margin-top: 8px; font-size: 0.95rem; color: var(--dim); font-style: italic; }
.vd-stats { display: flex; gap: var(--sp-8); margin-top: var(--sp-5); flex-wrap: wrap; }
.vd-stat { display: flex; align-items: baseline; gap: 10px; }
.vd-stat__v { font-family: var(--font-display); font-size: 1.7rem; font-weight: 400; color: var(--accent);
  font-variant-numeric: tabular-nums; letter-spacing: -0.02em; min-width: 60px; }
.vd-stat__l { font-size: 0.8rem; color: var(--dim); }
.vd-note { margin-top: var(--sp-6); font-size: 0.86rem; color: var(--dim); line-height: 1.65; }

/* Scripted pipeline */
.vd-pipeline { margin-top: var(--sp-8); }
.vd-stages { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--sp-3); list-style: none; margin: 0 0 var(--sp-6); }
.vd-stage {
  display: flex; flex-direction: column; gap: 8px; padding: var(--sp-4);
  border: 1px solid var(--line); border-radius: var(--r); background: var(--bg);
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out);
  opacity: 0.55;
}
.vd-stage.is-active { opacity: 1; border-color: rgba(79, 155, 244, 0.55); box-shadow: 0 0 0 4px var(--glow); }
.vd-stage.is-done { opacity: 1; border-color: rgba(52, 208, 88, 0.4); }
.vd-stage__n { font-size: 0.72rem; font-weight: 600; color: var(--dim-2); font-variant-numeric: tabular-nums; }
.vd-stage.is-done .vd-stage__n { color: #34d058; }
.vd-stage__t { font-family: var(--font-display); font-size: 1.02rem; font-weight: 400; letter-spacing: -0.01em; color: var(--text); }
.vd-stage__d { font-size: 0.78rem; color: var(--dim); line-height: 1.5; }
.vd-console--scripted { margin-top: 0; }
.vd-turns { display: flex; flex-direction: column; gap: var(--sp-4); margin: var(--sp-5) 0 0; list-style: none; }
.vd-turn { max-width: 78%; display: flex; flex-direction: column; gap: 3px; }
.vd-turn--customer { align-self: flex-start; align-items: flex-start; }
.vd-turn--agent { align-self: flex-end; align-items: flex-end; }
.vd-turn__who { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim-2); }
.vd-turn__bn, .vd-turn__en {
  padding: 12px 18px; border-radius: 18px; font-size: 0.95rem; line-height: 1.6;
}
.vd-turn--customer .vd-turn__bn, .vd-turn--customer .vd-turn__en {
  background: var(--surface-3); color: var(--text-2); border-bottom-left-radius: 6px;
}
.vd-turn--agent .vd-turn__bn, .vd-turn--agent .vd-turn__en {
  background: var(--glow); color: var(--text); border-bottom-right-radius: 6px;
}
.vd-turn__en { font-size: 0.82rem; color: var(--dim); padding-top: 6px; padding-bottom: 6px; }
body.vd-hide-en .vd-turn__en { display: none; }
.vd-extract-wrap { margin-top: var(--sp-6); }
.vd-extract__t { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.vd-extract { display: flex; flex-direction: column; gap: 8px; list-style: none; margin-top: var(--sp-3); }
.vd-kv {
  display: grid; grid-template-columns: 160px 1fr; gap: var(--sp-4); align-items: baseline;
  padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg);
  font-size: 0.88rem;
}
.vd-kv__k { color: var(--dim); font-weight: 500; }
.vd-kv__v { color: var(--text-2); }
.vd-action { margin-top: var(--sp-5); display: none; }
.vd-action.is-shown { display: block; }
.vd-action__t { font-size: 0.8rem; font-weight: 600; color: var(--accent); margin-bottom: 6px; }
.vd-action__d { font-size: 0.95rem; line-height: 1.65; color: var(--text-2); }
.vd-action__flag {
  margin-top: 10px; padding: 10px 14px; border-left: 2px solid var(--accent);
  font-size: 0.82rem; color: var(--dim); background: var(--glow); border-radius: 0 var(--r) var(--r) 0;
}

/* =============================================================================
   SCOPE GENERATOR
   ============================================================================= */

.sg-app { margin-top: var(--sp-8); display: flex; flex-direction: column; gap: var(--sp-5); }
.sg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4) var(--sp-5); }
.sg-check { display: flex; align-items: center; gap: 12px; padding: var(--sp-3) 0; }
.sg-check input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); cursor: pointer; }
.sg-check label { font-size: 0.95rem; color: var(--text-2); cursor: pointer; }
.sg-samples { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: var(--sp-2); }
.sg-samples__l { font-size: 0.8rem; color: var(--dim); }
.sg-out { margin-top: var(--sp-8); display: flex; flex-direction: column; gap: var(--sp-6); }
.sg-scores { padding: var(--sp-6) var(--sp-8); border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface-2); }
.sg-sub-t { font-family: var(--font-display); font-size: 1.25rem; font-weight: 400; letter-spacing: -0.01em;
  color: var(--text); margin-bottom: var(--sp-5); }
.sg-total { display: flex; align-items: baseline; gap: var(--sp-4); margin-bottom: var(--sp-5); }
.sg-total__n { font-family: var(--font-display); font-size: 3.4rem; font-weight: 400; color: var(--accent);
  letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.sg-total__l { font-size: 0.85rem; color: var(--dim); max-width: 380px; line-height: 1.5; }
.sg-bar { display: grid; grid-template-columns: 170px 1fr 44px; gap: var(--sp-4); align-items: center;
  padding: 9px 0; }
.sg-bar__l { font-size: 0.85rem; color: var(--dim); }
.sg-bar__track { height: 8px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.sg-bar__fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 1.1s var(--ease-out); }
.sg-bar__v { font-size: 0.85rem; color: var(--text-2); font-variant-numeric: tabular-nums; text-align: right; }
.sg-signals { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: var(--sp-4); }
.sg-signals__l { font-size: 0.8rem; color: var(--dim); }
.chip--sig { font-size: 0.78rem; color: var(--accent); border-color: rgba(79, 155, 244, 0.4);
  background: rgba(79, 155, 244, 0.06); }
.sg-draft { display: flex; flex-direction: column; gap: var(--sp-4); }
.sg-pre {
  padding: var(--sp-6) var(--sp-8); border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--bg); font-family: 'JetBrains Mono', 'SF Mono', ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.8rem; line-height: 1.7; color: var(--text-2); white-space: pre-wrap; word-break: break-word;
  max-height: 460px; overflow-y: auto;
}
.sg-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }
.sg-fine { font-size: 0.8rem; color: var(--dim); line-height: 1.6; }

/* ---- Form additions ---------------------------------------------------------------------------- */

.field--check { display: flex; flex-direction: column; gap: 8px; }
.field--check input { width: 18px; height: 18px; accent-color: var(--accent); cursor: pointer; align-self: flex-start; margin-top: 3px; }
.field--check label { font-size: 0.95rem; color: var(--text-2); cursor: pointer; }
.field__input--file { padding: 10px 14px; cursor: pointer; }
.field__input--file::file-selector-button {
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 600;
  color: var(--accent); background: none; border: 1px solid rgba(79, 155, 244, 0.4);
  border-radius: 999px; padding: 7px 16px; margin-right: 14px; cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out);
}
.field__input--file::file-selector-button:hover { background: var(--glow); }
.sec-checks { max-width: 640px; margin: var(--sp-8) auto 0; display: flex; flex-direction: column; gap: var(--sp-3); }

/* =============================================================================
   RESPONSIVE
   ============================================================================= */

@media (max-width: 1024px) {
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .founder-grid { grid-template-columns: 260px 1fr; gap: var(--sp-8); }
  .vd-stages { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .case-panel { grid-template-columns: 1fr; padding: var(--sp-6); }
  .flag-grid { grid-template-columns: 1fr; }
  .sys-grid--five { grid-template-columns: 1fr 1fr; }
  .arch-flow { flex-direction: column; gap: var(--sp-2); padding: var(--sp-5); }
  .arch-node:not(:last-child)::after { content: '↓'; right: auto; top: auto; bottom: -24px; left: 22px; }
  .arch-node { width: fit-content; }
  .founder-grid { grid-template-columns: 1fr; }
  .founder-card { flex-direction: row; align-items: center; text-align: left; gap: var(--sp-6); }
  .founder-card__avatar { width: 110px; height: 110px; flex: none; }
  .founder-avatar__letter { font-size: 46px; }
  .founder-card__meta { text-align: left; }
  .founder-facts { grid-template-columns: 1fr; }
  .demo-strip__inner { flex-direction: column; align-items: flex-start; }
  .sg-grid { grid-template-columns: 1fr; }
  .vd-kv { grid-template-columns: 120px 1fr; }
  .vd-turn { max-width: 92%; }
}
@media (max-width: 640px) {
  .proof-grid { grid-template-columns: 1fr; }
  .sys-grid--five { grid-template-columns: 1fr; }
  .vd-stages { grid-template-columns: 1fr 1fr; }
  .vd-kv { grid-template-columns: 1fr; gap: 2px; padding: 10px 14px; }
  .sg-bar { grid-template-columns: 1fr 40px; }
  .sg-bar__l { grid-column: 1 / -1; }
  .ks-console__bar { flex-wrap: wrap; border-radius: var(--r); }
  .ks-console__bar .btn { width: 100%; }
}

/* ---- Reduced motion ---------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  [data-animate-in] { animation: none !important; }
  .badge--live::before, .founder-card__ring, .vd-meter.is-live .vd-meter__dot { animation: none !important; }
  .sg-bar__fill { transition: none !important; }
}


/* =============================================================================
   v4.1 — footer architecture + readable links (kept from the audit-era pass)
   ============================================================================= */

/* Footer: single-row 6-column architecture on wide screens, readable links */
.footer__inner--site {
  grid-template-columns: 1.35fr 1fr 1fr 1fr 1fr 1fr;
  gap: var(--sp-10) var(--sp-6);
  align-items: start;
}
.footer__links a {
  color: var(--text-2);
  opacity: 0.74;
  font-size: 0.84rem;
  line-height: 2.15;
}
.footer__links a:hover { opacity: 1; color: var(--text); }
.footer__bottom { color: var(--dim); }
@media (max-width: 1199px) {
  .footer__inner--site { grid-template-columns: 1fr 1fr 1fr; gap: var(--sp-10) var(--sp-8); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .footer__inner--site { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .footer__brand { grid-column: 1 / -1; }
}

/* Footer email: readable in both themes */
.footer__email { color: var(--text-2); opacity: 0.88; font-size: 0.92rem; }
.footer__book { display: block; margin-top: 4px; color: var(--accent); opacity: 0.92; font-size: 0.92rem; }
.footer__book:hover { opacity: 1; }

/* Hero key line: the trust triple deserves full presence */
.hero-keys { color: var(--text); font-weight: 500; }

/* Section footnote: sized to matter */
.sec-cta-note { font-size: 0.85rem; }

/* Light theme: give cards real, quiet elevation */
[data-theme="light"] .m-card,
[data-theme="light"] .proof-card,
[data-theme="light"] .flag-card,
[data-theme="light"] .sys-card,
[data-theme="light"] .ks-result,
[data-theme="light"] .vd-kv,
[data-theme="light"] .case-panel {
  border-color: rgba(16, 24, 40, 0.08);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.03), 0 10px 28px -16px rgba(16, 24, 40, 0.1);
}

/* Micro-copy contrast safety */
.sec-cta-note, .workflow-note, .related-note { color: var(--dim); }

/* Founder card: the monogram is the mark — no placeholder captions needed */
.founder-card__meta .founder-card__soon { display: none; }


/* =============================================================================
   v4.2 — mobile polish (kept from the audit-era pass)
   ============================================================================= */

@media (max-width: 640px) {
  /* Hero CTAs: stacked, equal width — one deliberate column, not ragged pills */
  .hero__cta-row { flex-direction: column; align-items: stretch; gap: var(--sp-3); }
  .hero__cta-row .btn { width: 100%; }
  /* Founder card: compact inline mark, not a slab */
  .founder-card { padding: var(--sp-5); gap: var(--sp-4); border-radius: var(--r); }
  .founder-card__avatar { width: 64px; height: 64px; }
  .founder-avatar__letter { font-size: 30px; }
  .founder-card__ring { inset: -4px; }
  .founder-card__name { font-size: 1.2rem; }
}

/* Voice demo: button row alignment + escalation note presence */
.vd-console__bar .btn--ghost { padding: 13px 20px; }
.vd-action__flag { border-left-width: 3px; background: rgba(79, 155, 244, 0.12); }

/* Search console: optically center the sample chips under the centered bar */
.ks-samples { justify-content: center; }


/* =============================================================================
   v5 — REFERENCE-INSPIRED REDESIGN COMPONENTS (2026)
   Homepage composition pieces: pastel demo panels, engagement
   process with central preview, 3+2 engagement cards, studio orbital.
   ============================================================================= */

/* ---- Pastel demo panels — square illustration tops, text underneath ---- */

.demo-panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-12);
}
@media (max-width: 1024px) { .demo-panels { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; } }

.demo-panel {
  display: flex; flex-direction: column;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 14px 14px 22px;
  gap: 16px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.03), 0 14px 32px -26px rgba(16, 24, 40, 0.14);
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}
.demo-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 155, 244, 0.4);
  box-shadow: 0 24px 48px -24px rgba(16, 24, 40, 0.22);
}
.demo-panel__art {
  aspect-ratio: 1 / 0.82;
  border-radius: 18px;
  display: block;
  width: 100%;
  height: auto;
}
.demo-panel__art--sky { background: var(--pastel-sky); }
.demo-panel__art--lavender { background: var(--pastel-lavender); }
.demo-panel__art--lime { background: var(--pastel-lime); }
.demo-panel__body { display: flex; flex-direction: column; gap: 6px; padding: 2px 8px 0; flex: 1; }
.demo-panel__tag {
  font-family: var(--font-body); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent);
}
.demo-panel__t {
  font-family: var(--font-display); font-weight: 600; font-size: 1.25rem;
  letter-spacing: -0.015em; line-height: 1.2; color: var(--text);
}
.demo-panel__d { font-size: 0.9rem; color: var(--dim); line-height: 1.6; }
.demo-panel__go {
  margin-top: auto; padding-top: 10px;
  font-family: var(--font-body); font-size: 0.86rem; font-weight: 600; color: var(--accent);
}

/* ---- Engagement process — five steps around a central system preview ---- */

.process-grid {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 420px) 1fr;
  gap: var(--sp-5);
  align-items: start;
  margin-top: var(--sp-12);
}
.process-col { display: flex; flex-direction: column; gap: 52px; }

.process-preview {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 16px 36px -28px rgba(16, 24, 40, 0.16);
}
.process-preview__label {
  font-family: var(--font-body); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent);
}
.process-preview__svg { width: 100%; height: auto; display: block; }
.process-preview__note { font-size: 0.78rem; color: var(--dim-2); line-height: 1.55; }

/* Step chips — compact cards with a blue number disc */
.pstep {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.03), 0 12px 28px -24px rgba(16, 24, 40, 0.14);
  transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.pstep:hover { transform: translateY(-2px); border-color: rgba(79, 155, 244, 0.4); }
/* Sequence cue: a soft downward arrow between the steps of each column */
.pstep:not(:last-child) { position: relative; }
.pstep:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -27px;
  width: 9px; height: 9px;
  border-right: 2px solid var(--accent-2);
  border-bottom: 2px solid var(--accent-2);
  transform: translateX(-50%) rotate(45deg);
  opacity: 0.65;
}
.process-col { overflow: visible; }
.pstep__num {
  width: 34px; height: 34px; flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--pastel-sky);
  color: var(--accent);
  font-family: var(--font-body); font-weight: 600; font-size: 0.86rem;
  border: 1px solid rgba(79, 155, 244, 0.35);
}
.pstep__t { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; letter-spacing: -0.01em; color: var(--text); line-height: 1.25; }
.pstep__d { font-size: 0.86rem; color: var(--dim); line-height: 1.55; margin-top: 4px; }

@media (max-width: 1024px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-preview { position: static; order: -1; max-width: 460px; margin: 0 auto; width: 100%; }
  .process-col { gap: var(--sp-3); }
}

/* ---- Engagements — 3 + 2 centered arrangement ---- */

.pkg-arrange {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-12);
}
.pkg-arrange > * { grid-column: span 2; }
.pkg-arrange > *:nth-child(4) { grid-column: 2 / span 2; }
.pkg-arrange > *:nth-child(5) { grid-column: 4 / span 2; }
@media (max-width: 1130px) {
  .pkg-arrange { grid-template-columns: repeat(2, 1fr); }
  .pkg-arrange > *,
  .pkg-arrange > *:nth-child(4),
  .pkg-arrange > *:nth-child(5) { grid-column: auto; }
}
@media (max-width: 640px) {
  .pkg-arrange { grid-template-columns: 1fr; }
}

/* ---- Studio orbital — fine rings, abstract system nodes ---- */

.studio-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--sp-12);
  align-items: center;
}
@media (max-width: 980px) {
  .studio-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
}

.orbital {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}
.orbital__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(16, 24, 40, 0.16);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
[data-theme="dark"] .orbital__ring { border-color: rgba(255, 255, 255, 0.14); }
.orbital__ring--1 { width: 46%; height: 46%; }
.orbital__ring--2 { width: 72%; height: 72%; border-style: dashed; }
.orbital__ring--3 { width: 98%; height: 98%; }
.orbital__core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 74px; height: 74px;
  border-radius: 50%;
  background: linear-gradient(180deg, #2F80EC, #1B62CC);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 14px 30px -10px rgba(31, 111, 214, 0.55);
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--font-body); font-weight: 600; font-size: 0.92rem; letter-spacing: 0.01em;
}
.orbital__node {
  position: absolute;
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--bg);
  border: 1px solid rgba(16, 24, 40, 0.1);
  border-radius: 999px;
  padding: 8px 15px;
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 500;
  color: var(--text-2);
  box-shadow: 0 2px 4px rgba(16, 24, 40, 0.04), 0 12px 26px -14px rgba(16, 24, 40, 0.22);
  white-space: nowrap;
}
[data-theme="dark"] .orbital__node { border-color: rgba(255, 255, 255, 0.12); }
.orbital__node::before {
  content: '';
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-2);
  flex: none;
}
.orbital__node--a { top: 4%; left: 50%; transform: translateX(-50%); }
.orbital__node--b { top: 26%; right: -2%; }
.orbital__node--c { bottom: 26%; right: -2%; }
.orbital__node--d { bottom: 4%; left: 50%; transform: translateX(-50%); }
.orbital__node--e { top: 26%; left: -2%; }
.orbital__node--f { bottom: 26%; left: -2%; }
@media (prefers-reduced-motion: no-preference) {
  .orbital__node--a, .orbital__node--d { animation: nodeBob 5.5s var(--ease-apple) infinite; }
  .orbital__node--b, .orbital__node--e { animation: nodeBob 6.5s var(--ease-apple) -2s infinite; }
  .orbital__node--c, .orbital__node--f { animation: nodeBob 7s var(--ease-apple) -4s infinite; }
}
@keyframes nodeBob {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -7px; }
}
@media (max-width: 560px) {
  .orbital__node { font-size: 0.7rem; padding: 6px 12px; }
  /* Keep only the top and bottom nodes on small screens — the side nodes
     collide with the rings; the system families remain linked in the text. */
  .orbital__node--b, .orbital__node--c,
  .orbital__node--e, .orbital__node--f { display: none; }
}

/* Studio text column */
.studio-copy { display: flex; flex-direction: column; gap: var(--sp-5); }
.studio-copy .s-body { margin-top: 0; max-width: 560px; }
.studio-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
