/* SERPIFAI V1.13.2 — compact proprietary system showcase */
.system-subsection{
  margin-top:clamp(34px,4vw,54px);
  padding:clamp(30px,3vw,40px) 0 clamp(28px,3vw,38px);
  background:#071827;
  color:#fff;
  border-block:1px solid rgba(75,220,255,.16);
  position:relative;
  overflow:hidden;
}
.system-subsection::before{
  content: "";
  position:absolute;
  inset:0 auto 0 0;
  width:4px;
  background:linear-gradient(180deg,#4bdcff,#8b6cff 48%,#5ce1c2);
}
.system-subsection::after{
  content: "";
  position:absolute;
  right:-110px;
  top:-145px;
  width:310px;
  height:310px;
  border:1px solid rgba(75,220,255,.08);
  border-radius:50%;
  box-shadow:0 0 0 48px rgba(139,108,255,.022),0 0 0 96px rgba(92,225,194,.014);
  pointer-events:none;
}
.system-subsection__inner{position:relative;z-index:1;width:min(1280px,calc(100% - 48px));max-width:1280px;margin-inline:auto}
.system-subsection__intro{
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  gap:clamp(24px,3vw,48px);
  align-items:start;
}
.system-subsection__title h2{
  max-width:650px;
  margin:0;
  color:#fff;
  font-size:clamp(1.9rem,2.7vw,2.55rem);
  line-height:1.06;
  letter-spacing:-.035em;
}
.system-subsection__copy{max-width:720px}
.system-subsection__copy>p{margin:0 0 11px;color:#bac8d4;line-height:1.5}
.system-sample-relationship{font-size:.9rem;padding-top:2px}
.system-sample-relationship a{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  color:#69ddf4;
  font-weight:800;
  text-underline-offset:4px;
}
.system-sample-relationship a:focus-visible{outline:3px solid #fff;outline-offset:4px;border-radius:4px}
.system-progression{
  display:grid;
  grid-template-columns:auto minmax(24px,1fr) auto minmax(24px,1fr) auto minmax(24px,1fr) auto;
  gap:10px;
  align-items:center;
  margin:16px 0 10px;
  color:#eaf8fb;
  font-size:.75rem;
  font-weight:850;
  letter-spacing:.075em;
  text-transform:uppercase;
}
.system-progression i{height:1px;background:linear-gradient(90deg,#4bdcff,#8b6cff);position:relative}
.system-progression i::after{content: "";position:absolute;right:0;top:50%;width:6px;height:6px;border-top:1px solid #8b6cff;border-right:1px solid #8b6cff;transform:translateY(-50%) rotate(45deg)}
.system-illustrative-label{
  margin:0 0 9px;
  color:#93a8b7;
  font-size:.69rem;
  font-weight:850;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.system-view-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}
.system-view-card{
  margin:0;
  min-width:0;
  min-height:365px;
  display:flex;
  flex-direction:column;
  border:1px solid #cbd9e2;
  border-radius:16px;
  background:#f6f9fb;
  color:#0a2134;
  overflow:hidden;
  box-shadow:0 12px 28px rgba(0,0,0,.13);
}
.system-view-card::before{content: "";height:4px;background:linear-gradient(90deg,#4bdcff,#8b6cff,#5ce1c2)}
.system-view-card__heading{padding:14px 16px 10px;border-bottom:1px solid #dbe5eb;background:#fbfdff}
.system-view-card h3{margin:0 0 7px;color:#071d2c;font-size:1.08rem;line-height:1.2;letter-spacing:-.018em}
.system-view-card__heading p{margin:0;color:#4b6475;font-size:.78rem;line-height:1.46}
.system-view-data{margin:0 12px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;outline:none}
.system-view-data:focus-visible{box-shadow:0 0 0 3px rgba(9,116,139,.32);border-radius:7px}
.system-view-data table{width:100%;border-collapse:collapse;font-size:.7rem;line-height:1.32}
.system-view-data caption{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.system-view-data th,.system-view-data td{padding:6px 5px;border-bottom:1px solid #dce6ec;text-align:left;vertical-align:top}
.system-view-data tbody th{width:36%;color:#526b7d;font-size:.62rem;letter-spacing:.035em;text-transform:uppercase;font-weight:850}
.system-view-data td{color:#102d40;font-weight:650}
.system-view-card figcaption{margin-top:auto;padding:9px 16px 11px;color:#526b7d;font-size:.7rem;line-height:1.42;background:#edf4f7;border-top:1px solid #dbe5eb}
.system-status{display:inline-flex;align-items:center;gap:5px;padding:3px 7px;border-radius:999px;font-size:.62rem;line-height:1.2;font-weight:850;white-space:nowrap}
.system-status i{display:inline-block;width:6px;height:6px;border:2px solid currentColor;border-radius:2px;transform:rotate(45deg)}
.system-status--approved,.system-status--fund{color:#116a52;background:#dff5ed}
.system-status--inferred{color:#6146b7;background:#eee9ff}
.system-status--prepare{color:#086b82;background:#dff7fb}
.system-status--defer{color:#825b08;background:#fff1cd}
.system-status--ignore{color:#506273;background:#e8edf1}
.system-view-data--territories{margin-inline:9px}
.system-view-data--territories table{table-layout:fixed;font-size:.64rem}
.system-view-data--territories thead th{padding:7px 5px;color:#506879;background:#eaf2f6;font-size:.56rem;line-height:1.18;text-transform:uppercase;letter-spacing:.03em}
.system-view-data--territories thead th:first-child{width:39%}
.system-view-data--territories tbody th{width:auto;color:#102d40;font-size:.64rem;letter-spacing:0;text-transform:none;line-height:1.24}
.system-view-data--territories td{display:flex;flex-wrap:wrap;gap:4px 7px;align-items:center;padding-inline:5px}
.system-view-data--territories td>span:not(.system-status){display:inline-flex;gap:3px;color:#345064;font-size:.61rem;line-height:1.22}
.system-view-data--territories td>span:not(.system-status) b{color:#647b8b;font-size:.54rem;text-transform:uppercase;letter-spacing:.02em}
.system-boundary-note{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:16px;
  align-items:center;
  margin-top:11px;
  padding:10px 14px;
  border:1px solid rgba(75,220,255,.18);
  border-radius:12px;
  background:rgba(75,220,255,.055);
}
.system-boundary-note strong{color:#fff;font-size:.76rem;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}
.system-boundary-note p{margin:0;color:#c1d0da;font-size:.82rem;line-height:1.48}
.founder-release-gate{
  position:relative;
  overflow:hidden;
  padding:clamp(38px,4.2vw,58px) 0;
  background:#0b2232;
  border-top:1px solid rgba(75,220,255,.16);
  border-bottom:1px solid rgba(75,220,255,.16);
}
.founder-release-gate::before{
  content: "";
  position:absolute;
  inset:0 auto 0 0;
  width:4px;
  background:#4bdcff;
  opacity:.9;
}
.founder-release-gate__inner{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:clamp(26px,4vw,58px);align-items:center;position:relative;z-index:1}
.founder-release-gate__heading .eyebrow{color:#4bdcff}
.founder-release-gate__heading h2{margin:0;color:#fff;font-size:clamp(1.65rem,2.4vw,2.25rem);line-height:1.12;letter-spacing:-.03em}
.founder-release-gate__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border:1px solid rgba(180,211,226,.24);border-radius:14px;background:#102c3e;overflow:hidden;box-shadow:0 14px 34px rgba(0,10,18,.16)}
.founder-release-gate__grid article{position:relative;padding:21px 18px 18px;border-left:1px solid rgba(180,211,226,.18)}
.founder-release-gate__grid article::before{content: "";position:absolute;inset:0 0 auto;height:3px;background:#4bdcff}
.founder-release-gate__grid article:nth-child(2)::before{background:#8b6cff}
.founder-release-gate__grid article:nth-child(3)::before{background:#57d7b2}
.founder-release-gate__grid article:first-child{border-left:0}
.founder-release-gate__grid h3{margin:0 0 7px;color:#fff;font-size:.92rem;line-height:1.2}
.founder-release-gate__grid p{margin:0;color:#c4d3dc;font-size:.79rem;line-height:1.5}
.managed-engagement-note p{line-height:1.62}
@media(max-width:1180px){
  .system-subsection__intro{grid-template-columns:1fr;gap:18px}
  .system-subsection__copy{max-width:850px}
  .system-view-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .system-view-card--territories{grid-column:1/-1;min-height:360px}
  .founder-release-gate__inner{grid-template-columns:1fr}
}
@media(max-width:760px){
  .system-subsection{padding:42px 0 40px}
  .system-subsection__title h2{font-size:clamp(1.85rem,8vw,2.25rem)}
  .system-progression{grid-template-columns:1fr;gap:5px;margin:18px 0 14px}
  .system-progression i{width:1px;height:13px;margin-left:7px;background:linear-gradient(180deg,#4bdcff,#8b6cff)}
  .system-progression i::after{right:50%;top:auto;bottom:0;transform:translateX(50%) rotate(135deg)}
  .system-illustrative-label{line-height:1.45}
  .system-view-grid{grid-template-columns:1fr;gap:14px}
  .system-view-card,.system-view-card--territories{grid-column:auto;min-height:0}
  .system-view-card__heading{padding:16px 15px 11px}
  .system-view-data{margin-inline:9px}
  .system-view-data table{font-size:.76rem}
  .system-view-data tbody th{font-size:.66rem}
  .system-view-card figcaption{padding:11px 15px 13px;font-size:.75rem}
  .system-view-data--territories table{table-layout:auto}
  .system-view-data--territories thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  .system-view-data--territories tbody,.system-view-data--territories tr,.system-view-data--territories th,.system-view-data--territories td{display:block;width:100%}
  .system-view-data--territories tr{padding:9px 0;border-bottom:1px solid #dce6ec}
  .system-view-data--territories tr:last-child{border-bottom:0}
  .system-view-data--territories th,.system-view-data--territories td{border:0;padding:3px 6px;text-align:left}
  .system-view-data--territories tbody th{font-size:.8rem;font-weight:850;margin-bottom:4px}
  .system-view-data--territories td{display:flex;flex-wrap:wrap;gap:6px 9px}
  .system-view-data--territories td>span:not(.system-status){display:grid;grid-template-columns:78px 1fr;gap:5px;font-size:.74rem}
  .system-view-data--territories td>span:not(.system-status) b{font-size:.62rem}
  .system-boundary-note{grid-template-columns:1fr;gap:6px;padding:13px 14px}
  .system-boundary-note strong{white-space:normal}
  .founder-release-gate{padding:36px 0}
  .founder-release-gate__grid{grid-template-columns:1fr}
  .founder-release-gate__grid article{border-left:0;border-top:1px solid rgba(180,211,226,.18)}
  .founder-release-gate__grid article:first-child{border-top:0}
}
@media(max-width:390px){
  .system-subsection__inner{width:calc(100% - 30px)}
  .founder-release-gate__inner{padding-inline:18px}
  .system-view-card h3{font-size:1.02rem}
  .system-view-card__heading p{font-size:.8rem}
}
@media(prefers-reduced-motion:reduce){.system-subsection *{scroll-behavior:auto!important}}

/* SERPIFAI HOMEPAGE SYSTEM DARK COMPACT PATCH START */
.system-subsection {
    position: relative !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: clamp(3rem, 5vw, 4.5rem) 0 !important;
    color: #edf6ff !important;
    background: linear-gradient(180deg, #07111f 0%, #0a1627 52%, #081321 100%) !important;
    border-top: 1px solid rgba(123,211,255,.14) !important;
    border-bottom: 1px solid rgba(123,211,255,.14) !important;
}
.system-subsection__inner,
.founder-release-gate__inner {
    width: min(1240px, calc(100% - 2.5rem)) !important;
    margin-inline: auto !important;
}
.system-subsection__intro {
    display: grid !important;
    grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr) !important;
    gap: clamp(1.5rem,4vw,4rem) !important;
    align-items: start !important;
    margin-bottom: 1.4rem !important;
}
.system-subsection .eyebrow,
.founder-release-gate .eyebrow { color: #62dcf5 !important; }
.system-subsection h2,
.system-view-card h3,
.founder-release-gate h2,
.founder-release-gate h3 { color: #fff !important; }
.system-subsection__copy p,
.system-view-card__heading p,
.system-boundary-note p,
.founder-release-gate p { color: #b8cadd !important; }
.system-sample-relationship a { color: #70e6ff !important; }
.system-progression {
    display: grid !important;
    grid-template-columns: auto 1fr auto 1fr auto 1fr auto !important;
    gap: .7rem !important;
    align-items: center !important;
    margin: 1.5rem 0 1rem !important;
    padding: .8rem 1rem !important;
    color: #dce9f7 !important;
    background: rgba(8,24,41,.78) !important;
    border: 1px solid rgba(102,219,245,.18) !important;
    border-radius: 14px !important;
    font-size: .8rem !important;
    font-weight: 750 !important;
    text-transform: uppercase !important;
}
.system-progression i {
    display: block !important;
    height: 1px !important;
    background: linear-gradient(90deg,rgba(75,211,239,.28),rgba(128,108,255,.78)) !important;
}
.system-illustrative-label {
    display: inline-flex !important;
    margin: 0 0 1rem !important;
    padding: .45rem .7rem !important;
    color: #bcd0e3 !important;
    background: rgba(14,31,52,.82) !important;
    border: 1px solid rgba(145,187,221,.18) !important;
    border-radius: 999px !important;
    font-size: .78rem !important;
    font-weight: 700 !important;
}
.system-view-grid {
    display: grid !important;
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
    gap: 1rem !important;
    align-items: stretch !important;
}
.system-view-card {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 1.1rem !important;
    color: #eaf4ff !important;
    background: linear-gradient(180deg,rgba(19,38,63,.97),rgba(11,25,43,.98)) !important;
    border: 1px solid rgba(111,211,240,.20) !important;
    border-radius: 18px !important;
    box-shadow: 0 18px 42px rgba(0,0,0,.23) !important;
}
.system-view-card__heading { min-height: 8rem !important; margin-bottom: .7rem !important; }
.system-view-card__heading h3 { margin: 0 0 .55rem !important; font-size: clamp(1.02rem,1.4vw,1.2rem) !important; line-height: 1.18 !important; }
.system-view-card__heading p { margin: 0 !important; font-size: .85rem !important; line-height: 1.46 !important; }
.system-view-data {
    flex: 1 1 auto !important;
    overflow: visible !important;
    color: #dce9f6 !important;
    background: rgba(5,16,29,.60) !important;
    border: 1px solid rgba(143,182,216,.15) !important;
    border-radius: 12px !important;
}
.system-view-data table { width: 100% !important; table-layout: fixed !important; border-collapse: collapse !important; color: inherit !important; background: transparent !important; }
.system-view-data th,
.system-view-data td {
    padding: .5rem .6rem !important;
    vertical-align: top !important;
    border-bottom: 1px solid rgba(141,181,214,.11) !important;
    font-size: .78rem !important;
    line-height: 1.35 !important;
    overflow-wrap: anywhere !important;
}
.system-view-data tr:last-child th,
.system-view-data tr:last-child td { border-bottom: 0 !important; }
.system-view-data th { width: 35% !important; color: #8fa7bd !important; text-align: left !important; }
.system-view-data td { color: #e4eef8 !important; }
.system-view-data--territories td {
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: .3rem .55rem !important;
}
.system-view-data--territories td > span { font-size: .72rem !important; line-height: 1.25 !important; }
.system-view-data--territories td > span b { display: block !important; color: #8199af !important; font-size: .63rem !important; text-transform: uppercase !important; }
.system-status {
    display: inline-flex !important;
    align-items: center !important;
    gap: .3rem !important;
    width: fit-content !important;
    padding: .25rem .46rem !important;
    border: 1px solid currentColor !important;
    border-radius: 999px !important;
    font-size: .68rem !important;
    font-weight: 790 !important;
}
.system-status--approved,
.system-status--fund { color: #59e5cb !important; background: rgba(50,204,178,.10) !important; }
.system-status--inferred { color: #a995ff !important; background: rgba(138,114,255,.11) !important; }
.system-status--prepare { color: #75cfff !important; background: rgba(66,170,235,.11) !important; }
.system-status--defer { color: #f2c56a !important; background: rgba(225,167,57,.11) !important; }
.system-status--ignore { color: #a9b7c6 !important; background: rgba(150,168,187,.08) !important; }
.system-view-card figcaption { margin-top: .7rem !important; color: #91a7bb !important; font-size: .75rem !important; line-height: 1.4 !important; }
.system-boundary-note {
    display: grid !important;
    grid-template-columns: minmax(11rem,.26fr) minmax(0,1fr) !important;
    gap: 1rem !important;
    align-items: center !important;
    margin-top: 1rem !important;
    padding: .9rem 1rem !important;
    color: #d9e8f6 !important;
    background: rgba(12,29,49,.88) !important;
    border: 1px solid rgba(99,216,241,.17) !important;
    border-left: 3px solid #55d9ef !important;
    border-radius: 12px !important;
}
.system-boundary-note strong { color: #fff !important; }
.system-boundary-note p { margin: 0 !important; }
.founder-release-gate {
    margin: 0 !important;
    padding: clamp(2.5rem,4vw,3.5rem) 0 !important;
    color: #eaf4ff !important;
    background: #0d1b2d !important;
    border-bottom: 1px solid rgba(118,209,239,.13) !important;
}
.founder-release-gate__grid {
    display: grid !important;
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
    gap: .9rem !important;
}
.founder-release-gate__grid article {
    padding: 1rem !important;
    background: rgba(18,38,63,.78) !important;
    border: 1px solid rgba(119,195,225,.16) !important;
    border-radius: 14px !important;
}
@media (max-width:1120px) {
    .system-view-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
    .system-view-card--territories { grid-column: 1 / -1 !important; }
    .system-view-card__heading { min-height: 0 !important; }
}
@media (max-width:820px) {
    .system-subsection__intro { grid-template-columns: 1fr !important; gap: 1rem !important; }
    .founder-release-gate__grid { grid-template-columns: 1fr !important; }
}
@media (max-width:720px) {
    .system-subsection__inner,
    .founder-release-gate__inner { width: min(100% - 1.5rem,1240px) !important; }
    .system-view-grid { grid-template-columns: 1fr !important; }
    .system-view-card--territories { grid-column: auto !important; }
    .system-progression { display: flex !important; flex-wrap: wrap !important; justify-content: center !important; }
    .system-progression i { width: 1rem !important; }
    .system-boundary-note { grid-template-columns: 1fr !important; gap: .35rem !important; }
}
@media (max-width:520px) {
    .system-view-data--territories thead { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; }
    .system-view-data--territories,
    .system-view-data--territories table,
    .system-view-data--territories tbody,
    .system-view-data--territories tr,
    .system-view-data--territories th,
    .system-view-data--territories td { display: block !important; width: 100% !important; }
    .system-view-data--territories tr { padding: .7rem !important; border-bottom: 1px solid rgba(141,181,214,.13) !important; }
    .system-view-data--territories th,
    .system-view-data--territories td { padding: 0 !important; border: 0 !important; }
    .system-view-data--territories th { margin-bottom: .5rem !important; color: #fff !important; font-size: .9rem !important; }
}
/* SERPIFAI HOMEPAGE SYSTEM DARK COMPACT PATCH END */

/* SERPIFAI SYSTEM CARD READABILITY PATCH START */

/* Remove inherited white blocks inside the dark system cards. */
.system-view-card__heading,
.system-view-card__heading h3,
.system-view-card__heading p,
.system-view-card figcaption,
.system-view-data,
.system-view-data table,
.system-view-data thead,
.system-view-data tbody,
.system-view-data tr,
.system-view-data th,
.system-view-data td {
    background-color: transparent !important;
    background-image: none !important;
}

/* Let each card use only the height its content needs. */
.system-view-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 0.92fr) minmax(0, 1.16fr) !important;
    align-items: start !important;
}

.system-view-card {
    height: auto !important;
    min-height: 0 !important;
}

.system-view-card__heading {
    min-height: 0 !important;
    padding: 0 0 0.9rem !important;
    margin: 0 0 0.75rem !important;
    border-bottom: 1px solid rgba(129, 190, 219, 0.14) !important;
}

.system-view-card__heading h3 {
    margin: 0 0 0.48rem !important;
    padding: 0 !important;
    color: #ffffff !important;
    font-size: clamp(1.05rem, 1.35vw, 1.22rem) !important;
    line-height: 1.2 !important;
}

.system-view-card__heading p {
    margin: 0 !important;
    padding: 0 !important;
    color: #afc1d3 !important;
    font-size: 0.86rem !important;
    line-height: 1.48 !important;
}

.system-view-data {
    flex: 0 0 auto !important;
    overflow: hidden !important;
}

.system-view-data th,
.system-view-data td {
    background: transparent !important;
    color: #e5eef8 !important;
}

.system-view-data th {
    color: #8fa8bd !important;
}

.system-view-card figcaption {
    margin: 0.72rem 0 0 !important;
    padding: 0.72rem 0.78rem !important;
    color: #a9bfd1 !important;
    background: rgba(8, 22, 38, 0.72) !important;
    border: 1px solid rgba(135, 186, 215, 0.12) !important;
    border-radius: 10px !important;
    font-size: 0.76rem !important;
    line-height: 1.42 !important;
}

/* Make the territory card readable instead of squeezing labels into tiny cells. */
.system-view-data--territories table,
.system-view-data--territories tbody {
    display: block !important;
    width: 100% !important;
}

.system-view-data--territories thead {
    display: none !important;
}

.system-view-data--territories tr {
    display: grid !important;
    grid-template-columns: minmax(8.5rem, 0.95fr) minmax(0, 1.55fr) !important;
    gap: 0.75rem !important;
    padding: 0.72rem 0.78rem !important;
    border-bottom: 1px solid rgba(141, 181, 214, 0.12) !important;
}

.system-view-data--territories tr:last-child {
    border-bottom: 0 !important;
}

.system-view-data--territories th,
.system-view-data--territories td {
    display: block !important;
    width: auto !important;
    padding: 0 !important;
    border: 0 !important;
}

.system-view-data--territories th {
    color: #ffffff !important;
    font-size: 0.79rem !important;
    line-height: 1.32 !important;
}

.system-view-data--territories td {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.38rem 0.7rem !important;
}

.system-view-data--territories td > span {
    min-width: 0 !important;
    color: #d9e7f3 !important;
    font-size: 0.73rem !important;
    line-height: 1.28 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
}

.system-view-data--territories td > span b {
    display: inline !important;
    margin-right: 0.25rem !important;
    color: #8199af !important;
    font-size: 0.64rem !important;
    letter-spacing: 0.035em !important;
    text-transform: uppercase !important;
}

.system-view-data--territories .system-status {
    grid-column: 1 / -1 !important;
    margin-top: 0.08rem !important;
}

/* Keep normal text from breaking into single letters. */
.system-view-card,
.system-view-card * {
    word-break: normal !important;
    hyphens: none !important;
}

@media (max-width: 1120px) {
    .system-view-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .system-view-card--territories {
        grid-column: 1 / -1 !important;
    }
}

@media (max-width: 720px) {
    .system-view-grid {
        grid-template-columns: 1fr !important;
    }

    .system-view-card--territories {
        grid-column: auto !important;
    }

    .system-view-data--territories tr {
        grid-template-columns: 1fr !important;
        gap: 0.5rem !important;
    }
}

/* SERPIFAI SYSTEM CARD READABILITY PATCH END */


/* SERPIFAI HOMEPAGE ENGINE SHOWCASE START */
.system-engine-showcase {
    width: min(1120px, 100%);
    margin: 1.15rem auto 1rem;
    color: #eaf4ff;
    background: linear-gradient(180deg, rgba(13, 29, 49, 0.98), rgba(7, 19, 34, 0.98));
    border: 1px solid rgba(105, 218, 242, 0.20);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.28);
}

.system-engine-showcase__frame {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #07111f;
}

.system-engine-showcase__frame::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.system-engine-showcase picture,
.system-engine-showcase img {
    display: block;
    width: 100%;
    height: 100%;
}

.system-engine-showcase img {
    object-fit: cover;
    object-position: top center;
}

.system-engine-showcase figcaption {
    display: grid;
    grid-template-columns: minmax(12rem, 0.28fr) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    margin: 0;
    padding: 0.95rem 1rem 1rem;
    background: rgba(10, 25, 43, 0.94);
    border-top: 1px solid rgba(129, 190, 219, 0.13);
}

.system-engine-showcase figcaption strong {
    color: #ffffff;
    font-size: 0.82rem;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.system-engine-showcase figcaption span {
    color: #afc2d5;
    font-size: 0.84rem;
    line-height: 1.5;
}

@media (max-width: 720px) {
    .system-engine-showcase {
        margin-top: 1rem;
        border-radius: 15px;
    }

    .system-engine-showcase figcaption {
        grid-template-columns: 1fr;
        gap: 0.35rem;
        padding: 0.85rem;
    }
}
/* SERPIFAI HOMEPAGE ENGINE SHOWCASE END */
