/* ============================================================================
   FCA PROXI Tool — Connected Workshop / inner pages
   Additive layer loaded after site.css. Homepage intentionally does not load it.
   Direction: titanium black, graphite gray, premium indigo, editorial density.
   ============================================================================ */

:root {
  --inner-bg: #07080d;
  --inner-bg-raised: #0d0f17;
  --inner-surface: #10131d;
  --inner-surface-2: #141722;
  --inner-surface-3: #1b1f2c;
  --inner-border: rgba(165, 180, 252, 0.12);
  --inner-border-strong: rgba(165, 180, 252, 0.22);
  --inner-rule: rgba(165, 180, 252, 0.08);
  --inner-text: #f6f7fb;
  --inner-text-soft: #d1d5e3;
  --inner-muted: #9299ac;
  --inner-faint: #676e82;
  --inner-primary: #676af2;
  --inner-primary-hover: #818cf8;
  --inner-primary-ink: #05060a;
  --inner-primary-soft: rgba(99, 102, 241, 0.12);
  --inner-primary-line: rgba(129, 140, 248, 0.48);
  --inner-primary-light: #a5b4fc;
  --inner-primary-light-soft: rgba(165, 180, 252, 0.10);
  --inner-primary-light-line: rgba(165, 180, 252, 0.36);
  --inner-danger: #ff6c79;
  --inner-radius-xs: 4px;
  --inner-radius-sm: 7px;
  --inner-radius-md: 11px;
  --inner-radius-lg: 16px;
  --inner-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --inner-shadow-heavy: 0 36px 100px rgba(0, 0, 0, 0.48);
  --inner-content: 1240px;
  --inner-reading: 820px;

  /* Re-map legacy tokens used by site.css without touching its markup. */
  --bg-0: var(--inner-bg);
  --bg-1: var(--inner-bg-raised);
  --bg-2: var(--inner-surface);
  --bg-3: var(--inner-surface-2);
  --amber: var(--inner-primary);
  --amber-bright: var(--inner-primary-hover);
  --amber-dim: var(--inner-primary-hover);
  --amber-glow: rgba(99, 102, 241, 0.30);
  --amber-glow-soft: var(--inner-primary-soft);
  --amber-text: var(--inner-primary-light);
  --accent: var(--inner-primary);
  --accent-bright: var(--inner-primary-hover);
  --accent-light: var(--inner-primary-light);
  --accent-text: var(--inner-primary-light);
  --border-amber: var(--inner-primary-line);
  --text: var(--inner-text);
  --text-2: var(--inner-text-soft);
  --text-muted: var(--inner-muted);
  --text-faint: var(--inner-faint);
  --glass: var(--inner-surface);
  --glass-2: var(--inner-surface-2);
  --border: var(--inner-border);
  --border-2: var(--inner-border-strong);
}

/* ---- Base canvas ---------------------------------------------------------- */

html {
  scroll-padding-top: 108px;
}

body {
  color: var(--inner-text);
  background: var(--inner-bg);
  font-size: 16px;
  line-height: 1.68;
  letter-spacing: -0.008em;
}

body::before {
  background:
    radial-gradient(900px 460px at 72% -10%, rgba(99, 102, 241, 0.12), transparent 70%),
    var(--inner-bg);
  background-size: auto;
}

body::after {
  display: none;
}

#bg-particles {
  display: none !important;
}

::selection {
  color: #ffffff;
  background: var(--inner-primary);
}

.page {
  isolation: isolate;
}

.shell {
  max-width: 1480px;
  padding: 18px 36px 64px;
}

main,
.footer {
  width: min(100%, var(--inner-content));
  margin-inline: auto;
}

main {
  position: relative;
}

main:focus {
  outline: none;
}

a {
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

.card-body a:not(.btn),
.faq-body a,
.note a,
.section-sub a,
.section-lead a,
.footer-legal a {
  color: var(--inner-primary-light);
  text-decoration-color: rgba(165, 180, 252, 0.48);
  transition: color var(--t-fast), text-decoration-color var(--t-fast);
}

.card-body a:not(.btn):hover,
.faq-body a:hover,
.note a:hover,
.section-sub a:hover,
.section-lead a:hover,
.footer-legal a:hover {
  color: #c7d2fe;
  text-decoration-color: currentColor;
}

.muted {
  color: var(--inner-muted) !important;
}

/* ---- Breadcrumbs --------------------------------------------------------- */

.breadcrumbs {
  margin: 0 0 24px;
  color: var(--inner-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
}

.breadcrumbs li + li::before {
  content: "/";
  color: var(--inner-faint);
}

.breadcrumbs a {
  color: var(--inner-primary-light);
  text-decoration: none;
  transition: color var(--t-fast);
}

.breadcrumbs a:hover {
  color: #ffffff;
}

.breadcrumbs [aria-current="page"] {
  overflow: hidden;
  max-width: min(52vw, 520px);
  color: var(--inner-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.model-guide-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  margin: -8px 0 30px;
  padding: 7px;
  border: 1px solid var(--inner-border);
  border-radius: var(--inner-radius-sm);
  background: rgba(16, 19, 29, 0.72);
}

.model-guide-nav__label {
  margin: 0 5px 0 3px;
  color: var(--inner-muted);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.model-guide-nav a,
.model-guide-nav [aria-current="page"] {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: var(--inner-radius-xs);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
}

.model-guide-nav a {
  color: var(--inner-text-soft);
  border-color: var(--inner-border);
  background: rgba(27, 31, 44, 0.54);
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}

.model-guide-nav a:hover {
  color: #ffffff;
  border-color: var(--inner-primary-line);
  background: var(--inner-primary-soft);
}

.model-guide-nav [aria-current="page"] {
  color: #ffffff;
  border-color: var(--inner-primary-line);
  background: var(--inner-primary);
}

/* ---- Header / navigation -------------------------------------------------- */

.header {
  top: 12px;
  min-height: 70px;
  margin-bottom: clamp(62px, 7vw, 104px);
  padding: 10px 13px 10px 18px;
  border: 1px solid var(--inner-border-strong);
  border-radius: var(--inner-radius-md);
  background: rgba(7, 8, 13, 0.96);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.38);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.header::before {
  left: 18px;
  bottom: -1px;
  width: 74px;
  height: 1px;
  background: var(--inner-primary);
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.38);
}

.header::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: -1px;
  width: 26px;
  height: 1px;
  background: var(--inner-primary-light);
  opacity: 0.72;
}

.logo-link {
  min-height: 44px;
  padding-right: 8px;
}

.logo-link img {
  width: auto;
  height: 30px;
  filter: none;
}

.nav {
  gap: 1px;
  color: #8f96a8;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.075em;
}

.nav a {
  min-height: 40px;
  padding: 11px 8px 9px;
  border-radius: var(--inner-radius-xs);
}

.nav a:hover {
  color: var(--inner-text);
  background: #141722;
}

.nav a::after {
  left: 8px;
  right: 8px;
  bottom: 5px;
  background: var(--inner-primary);
}

.nav a[aria-current="page"] {
  color: var(--inner-primary-light);
}

.header-controls {
  gap: 9px;
}

.header-controls > .btn {
  min-height: 42px;
  padding: 9px 15px;
}

.lang-switch {
  min-height: 42px;
  gap: 5px;
  margin-left: 1px;
  padding: 0 9px;
  border-left: 1px solid var(--inner-border);
}

.lang-link {
  display: inline-flex;
  align-items: center;
  min-width: 26px;
  min-height: 38px;
  justify-content: center;
  color: var(--inner-muted);
  font-size: 11px;
}

.lang-link.lang-active {
  color: var(--inner-primary);
}

.contact-icons {
  gap: 4px;
}

.contact-icons a {
  width: 40px;
  height: 40px;
  border-radius: var(--inner-radius-sm) !important;
  transition: background var(--t-fast);
}

.contact-icons a:hover {
  background: var(--inner-surface-2) !important;
}

.contact-icons svg {
  width: 24px !important;
  height: 24px !important;
  opacity: 0.82;
}

.contact-icons svg.wa path:first-child,
.contact-icons svg.fb path:first-child {
  fill: var(--inner-primary) !important;
}

.contact-icons svg.wa path:last-child,
.contact-icons svg.fb path:last-child {
  fill: #ffffff !important;
}

.nav-toggle {
  min-width: 46px;
  min-height: 46px;
  border-color: var(--inner-border-strong);
  border-radius: var(--inner-radius-sm);
  background: var(--inner-surface);
}

.nav-toggle span {
  height: 1px;
}

/* ---- Buttons -------------------------------------------------------------- */

.btn {
  min-height: 48px;
  padding: 12px 19px;
  border: 1px solid var(--inner-border-strong);
  border-radius: var(--inner-radius-sm);
  background: var(--inner-surface);
  color: var(--inner-text-soft);
  box-shadow: none;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-transform: uppercase;
  transition:
    color var(--t-fast),
    border-color var(--t-fast),
    background var(--t-fast),
    box-shadow var(--t-fast),
    transform var(--t-fast);
}

.btn::before {
  display: none;
}

.btn.btn-primary {
  color: var(--inner-primary-ink);
  border-color: var(--inner-primary);
  background: var(--inner-primary);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.24);
}

.btn.btn-primary:hover {
  color: var(--inner-primary-ink);
  border-color: var(--inner-primary-light);
  background: var(--inner-primary-hover);
  box-shadow: 0 16px 38px rgba(99, 102, 241, 0.38);
  transform: translateY(-1px);
}

.btn.btn-ghost:hover {
  color: var(--inner-primary-light);
  border-color: var(--inner-primary-light-line);
  background: var(--inner-primary-light-soft);
  box-shadow: none;
  transform: translateY(-1px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* ---- Inner page masthead -------------------------------------------------- */

.section {
  position: relative;
  margin-bottom: clamp(74px, 8vw, 112px);
}

main > .section:first-child {
  margin-bottom: clamp(80px, 9vw, 124px);
}

.hero-label {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  min-height: 30px;
  margin-bottom: 22px;
  padding: 5px 10px;
  border: 1px solid var(--inner-primary-line);
  border-radius: var(--inner-radius-xs);
  background: var(--inner-primary-soft);
  color: var(--inner-primary-light);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-label::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--inner-primary);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.56);
}

.hero-label::after {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--inner-primary);
  opacity: 0.58;
}

h1.section-title,
main > .section:first-child > h1.section-title {
  max-width: 1040px;
  margin: 0 0 24px;
  color: var(--inner-text);
  font-size: clamp(42px, 5.4vw, 72px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.99;
  text-wrap: balance;
}

main > .section:first-child > h1.section-title::before {
  display: none;
}

main > .section:first-child > h1.section-title::after {
  content: "";
  display: block;
  width: clamp(88px, 14vw, 172px);
  height: 2px;
  margin-top: 30px;
  background: var(--inner-primary);
  box-shadow: 34px 0 0 -0.5px var(--inner-primary-light);
}

.section-sub,
.section-lead {
  max-width: 78ch;
  margin-bottom: 30px;
  color: var(--inner-muted);
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.72;
}

main > .section:first-child > .section-sub,
main > .section:first-child > .section-lead {
  max-width: 76ch;
  margin-bottom: 38px;
  color: #aeb4c4;
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.72;
}

.section-sub b,
.section-sub strong,
.section-lead b,
.section-lead strong {
  color: var(--inner-text-soft);
  font-weight: 650;
}

h2.section-title,
.section > h2.section-title:first-child {
  display: flex;
  max-width: 960px;
  align-items: flex-start;
  gap: 14px;
  margin: 0 0 22px;
  color: var(--inner-text);
  font-size: clamp(28px, 3.25vw, 42px);
  font-weight: 760;
  letter-spacing: -0.04em;
  line-height: 1.08;
  text-wrap: balance;
}

h2.section-title::before,
.section > h2.section-title:first-child::before {
  content: "";
  display: block;
  flex: 0 0 28px;
  width: 28px;
  height: 2px;
  margin-top: 0.58em;
  background: var(--inner-primary-light);
  box-shadow: none;
}

.section > h2.section-title[style*="margin-top"] {
  margin-top: clamp(48px, 6vw, 72px) !important;
}

h3.card-title {
  text-wrap: balance;
}

/* Compact feature pages use repeated h2 + card pairs in one section. */
main > .section:first-child > h2.section-title + .card {
  margin-top: 0;
}

main > .section:first-child > .card + h2.section-title,
main > .section:first-child > .faq + h2.section-title {
  padding-top: 8px;
}

/* ---- Card and grid system ------------------------------------------------- */

.feature-grid,
.grid-3 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: none;
}

.feature-grid > *,
.grid-3 > * {
  grid-column: span 4;
}

.feature-grid > :only-child,
.grid-3 > :only-child {
  grid-column: 1 / -1;
}

.feature-grid:has(> :nth-child(2):last-child) > *,
.grid-3:has(> :nth-child(2):last-child) > *,
.feature-grid:has(> :nth-child(4):last-child) > *,
.grid-3:has(> :nth-child(4):last-child) > * {
  grid-column: span 6;
}

.feature-grid:has(> :nth-child(5):last-child) > :nth-last-child(-n + 2),
.grid-3:has(> :nth-child(5):last-child) > :nth-last-child(-n + 2) {
  grid-column: span 6;
}

@media (min-width: 1201px) {
  .feature-grid:has(> :nth-child(7):last-child) > :nth-last-child(-n + 4),
  .grid-3:has(> :nth-child(7):last-child) > :nth-last-child(-n + 4),
  .feature-grid:has(> :nth-child(8):last-child) > *,
  .grid-3:has(> :nth-child(8):last-child) > * {
    grid-column: span 3;
  }
}

.card {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  padding: clamp(22px, 2.25vw, 30px);
  border: 1px solid var(--inner-border);
  border-radius: var(--inner-radius-md);
  background: var(--inner-surface);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition:
    border-color var(--t-med),
    background var(--t-med),
    box-shadow var(--t-med),
    transform var(--t-med);
}

.card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 28px;
  width: 34px;
  height: 2px;
  background: var(--inner-primary);
  transform: none;
  transform-origin: left;
  opacity: 0.68;
  transition: width var(--t-med), opacity var(--t-med);
}

.card::after {
  display: none;
}

.card:hover {
  z-index: 1;
  border-color: var(--inner-border-strong);
  background: var(--inner-surface-2);
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.24);
  transform: translateY(-2px);
}

.card:hover::before {
  width: 58px;
  opacity: 1;
  transform: none;
}

.card-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 24px;
  margin-bottom: 16px;
  color: var(--inner-primary-light);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.card-tag::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--inner-primary);
}

.card-title {
  margin-bottom: 11px;
  color: var(--inner-text);
  font-size: clamp(18px, 1.65vw, 22px);
  font-weight: 720;
  letter-spacing: -0.025em;
  line-height: 1.22;
}

.card-title a {
  transition: color var(--t-fast);
}

.card-title a:hover {
  color: var(--inner-primary);
}

.card-body {
  max-width: 74ch;
  color: var(--inner-muted);
  font-size: 14px;
  line-height: 1.72;
}

.card-body b,
.card-body strong {
  color: var(--inner-text-soft);
  font-weight: 650;
}

.card-body > * + * {
  margin-top: 0.9em;
}

.card-body ul,
.card-body ol {
  margin-top: 0.75em;
  padding-left: 1.25rem;
}

.card-body li {
  margin: 0.42em 0;
  padding-left: 0.2em;
}

.card-body li::marker,
.note li::marker,
.faq-body li::marker {
  color: var(--inner-primary);
}

.section > .card {
  max-width: 1040px;
}

.section > .card:has(.sv-table),
.section > .price-hero,
.section > .feature-grid > .card {
  max-width: none;
}

.badge-row {
  gap: 6px;
  margin-top: 18px;
}

.badge,
.download-pill,
.sv-pill {
  min-height: 27px;
  padding: 5px 9px;
  border: 1px solid var(--inner-border);
  border-radius: var(--inner-radius-xs);
  background: #0d0f17;
  color: var(--inner-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.3;
}

.download-pill {
  color: #b8c0d6;
  border-color: var(--inner-primary-light-line);
  background: var(--inner-primary-light-soft);
}

/* ---- Long-form guide rhythm ---------------------------------------------- */

.section[id] {
  scroll-margin-top: 110px;
}

#toc {
  margin-top: -34px;
  margin-bottom: clamp(64px, 7vw, 88px);
}

#toc h2.section-title {
  margin-bottom: 16px;
  font-size: clamp(22px, 2.4vw, 30px);
}

#toc .note {
  max-width: 1040px;
  padding: 10px;
  border-left-width: 1px;
  background: var(--inner-bg-raised);
}

#toc .note::before {
  display: none;
}

#toc .note ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#toc .note li {
  margin: 0;
  padding: 0;
}

#toc .note a {
  display: flex;
  min-height: 46px;
  align-items: center;
  padding: 10px 13px;
  border: 1px solid transparent;
  border-radius: var(--inner-radius-sm);
  background: var(--inner-surface);
  color: var(--inner-text-soft);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}

#toc .note a::before {
  content: "↳";
  margin-right: 9px;
  color: var(--inner-primary-light);
  font-family: var(--font-mono);
}

#toc .note a:hover {
  border-color: var(--inner-primary-light-line);
  background: var(--inner-primary-light-soft);
  color: var(--inner-text);
}

#workflow .feature-grid {
  counter-reset: workflow-step;
}

#workflow .feature-grid > .card {
  counter-increment: workflow-step;
}

#workflow .feature-grid > .card::after {
  content: counter(workflow-step, decimal-leading-zero);
  display: block;
  position: absolute;
  top: 21px;
  right: 22px;
  color: rgba(165, 180, 252, 0.42);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

#workflow .feature-grid > .card .card-tag {
  padding-right: 34px;
}

#faq .feature-grid > .card,
#references .feature-grid > .card,
#related .feature-grid > .card {
  background: var(--inner-bg-raised);
}

/* ---- Notes / high-value callouts ----------------------------------------- */

.note {
  position: relative;
  max-width: 1040px;
  padding: 18px 20px 18px 50px;
  border: 1px solid var(--inner-border);
  border-left: 2px solid var(--inner-primary-light);
  border-radius: var(--inner-radius-sm);
  background: var(--inner-primary-light-soft);
  color: #9aa1b3;
  font-size: 14px;
  line-height: 1.66;
}

.note::before {
  content: "i";
  position: absolute;
  top: 18px;
  left: 17px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid var(--inner-primary-light-line);
  border-radius: 50%;
  color: var(--inner-primary-light);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.note b,
.note strong {
  color: var(--inner-text-soft);
  font-weight: 680;
}

#workflow > .note,
#when-alignment > .note,
#getTool + .section .note {
  border-color: var(--inner-primary-line);
  border-left-color: var(--inner-primary);
  background: var(--inner-primary-soft);
}

#workflow > .note::before,
#when-alignment > .note::before,
#getTool + .section .note::before {
  content: "✓";
  color: var(--inner-primary);
  border-color: var(--inner-primary-line);
}

/* ---- Pricing -------------------------------------------------------------- */

.price-hero {
  display: grid;
  grid-template-columns: minmax(340px, 0.88fr) minmax(0, 1.35fr);
  gap: 0;
  min-height: 410px;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid var(--inner-primary-line);
  border-radius: var(--inner-radius-lg);
  background: var(--inner-surface);
  box-shadow: var(--inner-shadow-heavy);
}

.price-hero::before {
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--inner-primary);
  opacity: 1;
}

.price-hero:hover {
  border-color: var(--inner-primary-line);
  background: var(--inner-surface);
  box-shadow: var(--inner-shadow-heavy);
  transform: none;
}

.price-hero .ph-left {
  position: relative;
  padding: clamp(30px, 4vw, 52px);
  border-right: 1px solid var(--inner-border);
  background: var(--inner-surface-2);
}

.price-hero .ph-left::after {
  content: "LIC // 01 PC";
  position: absolute;
  right: 26px;
  bottom: 22px;
  color: var(--inner-faint);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
}

.price-hero .ph-right {
  display: flex;
  align-items: center;
  padding: clamp(30px, 4vw, 52px);
}

.price-num,
.text-grad {
  margin: 10px 0 4px;
  color: var(--inner-primary);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  font-size: clamp(68px, 8vw, 110px);
  letter-spacing: -0.07em;
  text-shadow: none;
}

.price-meta {
  max-width: 34ch;
  margin-top: 12px;
  color: var(--inner-muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 1.55;
  text-transform: uppercase;
}

.price-hero .card-body {
  max-width: 64ch;
  color: #aeb4c4;
  font-size: 15px;
}

.price-hero .card-body li {
  margin: 0.62em 0;
}

.scanlines::after {
  display: none;
}

/* ---- Tables --------------------------------------------------------------- */

.table-scroll {
  position: relative;
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--inner-border);
  border-radius: var(--inner-radius-sm);
  background: var(--inner-bg-raised);
  scrollbar-color: rgba(129, 140, 248, 0.44) transparent;
}

.sv-table {
  width: 100%;
  min-width: 700px;
  overflow: visible;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 0;
  background: transparent;
}

.sv-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 14px 16px;
  border: 0;
  border-bottom: 1px solid var(--inner-border-strong);
  background: #141722;
  color: #aab1c1;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sv-table tbody td {
  padding: 15px 16px;
  border: 0;
  border-top: 1px solid var(--inner-rule);
  background: transparent;
  color: #9299ac;
  font-size: 13px;
  line-height: 1.45;
}

.sv-table tbody tr:first-child td {
  border-top: 0;
}

.sv-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.014);
}

.sv-table tbody tr:hover td {
  background: var(--inner-primary-light-soft);
  color: var(--inner-text-soft);
}

.sv-table tbody td:first-child {
  color: var(--inner-text-soft);
}

.sv-table b,
.sv-table strong {
  color: inherit;
}

.sv-table a {
  color: var(--inner-primary-light);
  text-decoration-color: rgba(165, 180, 252, 0.40);
}

.card:has(.sv-table) {
  padding: clamp(22px, 2.2vw, 30px);
}

.card:has(.sv-table) .card-body {
  max-width: none;
}

.card:has(.sv-table) .table-scroll {
  margin-top: 18px;
}

/* ---- FAQ ------------------------------------------------------------------ */

.faq {
  display: flex;
  overflow: visible;
  flex-direction: column;
  gap: 8px;
  max-width: 1040px;
  margin-top: 18px;
  border: 0;
  border-radius: 0;
  background: none;
}

.faq-item {
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--inner-border);
  border-radius: var(--inner-radius-sm);
  background: var(--inner-surface);
  transition: border-color var(--t-fast), background var(--t-fast);
}

.faq-item:hover {
  border-color: var(--inner-border-strong);
}

.faq-item[open] {
  border-color: var(--inner-primary-line);
  background: var(--inner-surface-2);
}

.faq-item summary {
  min-height: 58px;
  padding: 14px 18px;
  color: var(--inner-text-soft);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
}

.faq-item summary:hover {
  color: var(--inner-text);
}

.faq-item summary::after {
  display: grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--inner-border-strong);
  border-radius: var(--inner-radius-xs);
  color: var(--inner-primary-light);
  font-size: 16px;
  font-weight: 400;
}

.faq-item[open] summary::after {
  border-color: var(--inner-primary-line);
  color: var(--inner-primary);
}

.faq-body {
  margin: 0 18px;
  padding: 16px 0 19px;
  border-top: 1px solid var(--inner-rule);
  color: var(--inner-muted);
  font-size: 14px;
  line-height: 1.72;
}

/* ---- CTA ------------------------------------------------------------------ */

.cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  overflow: hidden;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--inner-primary-line);
  border-radius: var(--inner-radius-md);
  background: var(--inner-surface-2);
  box-shadow: var(--inner-shadow);
}

.cta > * {
  min-width: 0;
}

.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--inner-primary);
}

.cta::after {
  content: "SYS // 01";
  position: absolute;
  top: 14px;
  right: 16px;
  color: rgba(165, 180, 252, 0.54);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.cta-main {
  max-width: 720px;
}

.cta-title {
  margin-bottom: 9px;
  color: var(--inner-text);
  font-size: clamp(24px, 2.65vw, 36px);
  font-weight: 760;
  letter-spacing: -0.04em;
  line-height: 1.08;
  text-wrap: balance;
}

.cta-text {
  max-width: 66ch;
  color: #a2a9bb;
  font-size: 15px;
  line-height: 1.65;
}

.cta-note {
  margin-top: 12px;
  color: var(--inner-faint);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: flex-end;
}

/* ---- Changelog / controls ------------------------------------------------- */

.changelog-wrap {
  padding: 18px;
  border: 1px solid var(--inner-border);
  border-radius: var(--inner-radius-md);
  background: var(--inner-bg-raised);
  box-shadow: none;
}

.changelog-toolbar {
  gap: 8px;
}

.changelog-toolbar .input {
  min-height: 46px;
  border-color: var(--inner-border-strong);
  border-radius: var(--inner-radius-sm);
  background: #07080d;
  color: var(--inner-text);
}

.changelog-toolbar .input:focus {
  border-color: var(--inner-primary-light-line);
  box-shadow: 0 0 0 3px var(--inner-primary-light-soft);
}

.cl-card {
  border-color: var(--inner-border);
  border-radius: var(--inner-radius-sm);
  background: var(--inner-surface);
}

.cl-head {
  min-height: 52px;
}

.cl-ver {
  color: var(--inner-primary);
}

/* ---- Legal, policy and compact editorial pages --------------------------- */

main > .section:first-child > .card:not(.price-hero):not(:has(.sv-table)) > .card-body > p {
  max-width: 78ch;
}

main > .section:first-child > .card:not(.price-hero):not(:has(.sv-table)) > .card-body > p + p {
  margin-top: 1.05em;
  padding-top: 1.05em;
  border-top: 1px solid var(--inner-rule);
}

pre,
code,
.mono {
  font-family: var(--font-mono);
}

pre {
  border-color: var(--inner-border-strong);
  border-radius: var(--inner-radius-sm);
  background: #07080d;
  color: #c4cad8;
}

/* ---- 404 / centered system states ---------------------------------------- */

main > .section:first-child[style*="text-align:center"] {
  max-width: 900px;
  margin-inline: auto;
  padding-top: clamp(34px, 6vw, 76px) !important;
  padding-bottom: clamp(42px, 6vw, 72px) !important;
  text-align: center;
}

main > .section:first-child[style*="text-align:center"] .hero-label {
  margin-inline: auto;
}

main > .section:first-child[style*="text-align:center"] h1.section-title {
  margin-inline: auto;
  color: var(--inner-primary-light);
  font-family: var(--font-mono);
  font-size: clamp(80px, 14vw, 168px) !important;
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 0.86;
}

main > .section:first-child[style*="text-align:center"] h1.section-title::after {
  margin-inline: auto;
  box-shadow: none;
}

main > .section:first-child[style*="text-align:center"] .section-sub {
  margin-inline: auto;
}

main > .section:first-child[style*="text-align:center"] .hero-actions {
  justify-content: center;
}

/* ---- Footer --------------------------------------------------------------- */

.footer {
  position: relative;
  margin-top: 22px;
  padding-top: 34px;
  padding-bottom: 8px;
  border-top: 1px solid var(--inner-border-strong);
  color: var(--inner-faint);
  font-size: 11px;
}

.footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 52px;
  height: 1px;
  background: var(--inner-primary);
}

.footer-row {
  align-items: flex-start;
  gap: 26px;
}

.footer-links {
  gap: 8px 18px;
  font-size: 10px;
}

.footer-links a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  color: var(--inner-muted);
  letter-spacing: 0.07em;
}

.footer-links a:hover {
  color: var(--inner-primary);
}

.footer-legal {
  max-width: 860px;
  margin-top: 10px;
  color: var(--inner-faint);
  font-size: 10px;
  line-height: 1.65;
}

.footer-fop {
  color: #666d80;
}

/* ---- Focus, input and touch accessibility -------------------------------- */

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible,
.slide-zoom:focus-visible {
  outline: 2px solid var(--inner-primary-light);
  outline-offset: 3px;
  border-radius: var(--inner-radius-xs);
}

.btn:focus-visible {
  outline: 2px solid var(--inner-primary-light);
  outline-offset: 3px;
  box-shadow: none;
}

.skip-link {
  min-height: 44px;
  border-color: var(--inner-primary-light-line);
  background: var(--inner-surface-2);
  color: var(--inner-text);
}

*::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.34);
  background-clip: content-box;
}

*::-webkit-scrollbar-thumb:hover {
  background: rgba(129, 140, 248, 0.52);
  background-clip: content-box;
}

/* ---- Responsive ----------------------------------------------------------- */

@media (max-width: 1200px) {
  .shell {
    padding-inline: 24px;
  }

  .header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav {
    width: min(88vw, 390px);
    padding: 82px 18px 28px;
    border-left: 1px solid var(--inner-primary-line);
    background: #0d0f17;
  }

  .nav a {
    min-height: 50px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--inner-rule);
    border-radius: var(--inner-radius-xs);
    color: var(--inner-text-soft);
    font-size: 13px;
  }

  .nav a::after {
    display: none;
  }

  .nav-scrim {
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
  }

  .feature-grid > *,
  .grid-3 > *,
  .feature-grid:has(> :nth-child(2):last-child) > *,
  .grid-3:has(> :nth-child(2):last-child) > *,
  .feature-grid:has(> :nth-child(4):last-child) > *,
  .grid-3:has(> :nth-child(4):last-child) > *,
  .feature-grid:has(> :nth-child(5):last-child) > :nth-last-child(-n + 2),
  .grid-3:has(> :nth-child(5):last-child) > :nth-last-child(-n + 2) {
    grid-column: span 6;
  }

  .feature-grid > :only-child,
  .grid-3 > :only-child {
    grid-column: 1 / -1;
  }

  .cta {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  html {
    scroll-padding-top: 88px;
  }

  .shell {
    padding: 10px 15px 42px;
  }

  .header {
    top: 7px;
    min-height: 60px;
    margin-bottom: 58px;
    padding: 7px 8px 7px 12px;
  }

  .header::after {
    display: none;
  }

  .logo-link {
    min-height: 42px;
  }

  .logo-link img {
    height: 25px;
  }

  .header-controls > .btn {
    min-height: 42px;
    padding: 9px 11px;
    font-size: 9px;
  }

  h1.section-title,
  main > .section:first-child > h1.section-title {
    font-size: clamp(38px, 10.8vw, 58px);
    line-height: 1.01;
  }

  h2.section-title,
  .section > h2.section-title:first-child {
    gap: 10px;
    font-size: clamp(25px, 7.2vw, 34px);
  }

  h2.section-title::before,
  .section > h2.section-title:first-child::before {
    flex-basis: 20px;
    width: 20px;
  }

  main > .section:first-child > .section-sub,
  main > .section:first-child > .section-lead {
    font-size: 16px;
  }

  .section {
    margin-bottom: 72px;
  }

  main > .section:first-child {
    margin-bottom: 82px;
  }

  .feature-grid,
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .feature-grid > *,
  .grid-3 > *,
  .feature-grid:has(> :nth-child(2):last-child) > *,
  .grid-3:has(> :nth-child(2):last-child) > *,
  .feature-grid:has(> :nth-child(4):last-child) > *,
  .grid-3:has(> :nth-child(4):last-child) > *,
  .feature-grid:has(> :nth-child(5):last-child) > :nth-last-child(-n + 2),
  .grid-3:has(> :nth-child(5):last-child) > :nth-last-child(-n + 2),
  .feature-grid > :only-child,
  .grid-3 > :only-child {
    grid-column: 1 / -1;
  }

  .card {
    padding: 22px;
  }

  .card::before {
    left: 22px;
  }

  .card:hover {
    transform: none;
  }

  .price-hero {
    grid-template-columns: 1fr;
  }

  .price-hero .ph-left {
    min-height: 330px;
    border-right: 0;
    border-bottom: 1px solid var(--inner-border);
  }

  .price-hero .ph-right {
    padding: 28px 22px;
  }

  .price-num,
  .text-grad {
    font-size: clamp(72px, 22vw, 104px);
  }

  #toc {
    margin-top: -20px;
  }

  #toc .note ul {
    grid-template-columns: 1fr;
  }

  .cta {
    gap: 22px;
    padding: 28px 22px;
  }

  .cta-actions {
    width: 100%;
  }

  .cta-actions .btn {
    flex: 1 1 220px;
  }

  .footer-row {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .header-controls > .btn {
    display: none;
  }

  .model-guide-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .model-guide-nav__label {
    grid-column: 1 / -1;
    margin: 3px 4px 1px;
  }

  .model-guide-nav a,
  .model-guide-nav [aria-current="page"] {
    min-width: 0;
    text-align: center;
  }

  .hero-label {
    max-width: 100%;
    margin-bottom: 18px;
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .hero-label::after {
    display: none;
  }

  h1.section-title,
  main > .section:first-child > h1.section-title {
    font-size: clamp(36px, 11.5vw, 50px);
    letter-spacing: -0.048em;
  }

  h1.section-title,
  h2.section-title,
  .card-title,
  .cta-title {
    overflow-wrap: anywhere;
  }

  .btn {
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
  }

  main > .section:first-child > h1.section-title::after {
    margin-top: 24px;
  }

  .section-sub,
  .section-lead,
  main > .section:first-child > .section-sub,
  main > .section:first-child > .section-lead {
    line-height: 1.64;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .note {
    padding: 46px 16px 16px;
  }

  .note::before {
    top: 15px;
    left: 16px;
  }

  .faq-item summary {
    min-height: 62px;
    padding: 14px;
    font-size: 14px;
  }

  .faq-body {
    margin-inline: 14px;
  }

  .price-hero .ph-left {
    padding: 28px 22px;
  }

  .price-hero .ph-left::after {
    right: 20px;
    bottom: 18px;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
}

@media (hover: none) {
  .card:hover,
  .btn:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal-on .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (forced-colors: active) {
  .hero-label,
  .card,
  .note,
  .faq-item,
  .cta,
  .price-hero,
  .table-scroll {
    border: 1px solid CanvasText;
  }

  .btn.btn-primary {
    border: 2px solid ButtonText;
  }
}
