/* Software, AI & Automation — native rebuild (sw2) */
#software-ai-automation > *:not([data-sw2]) { display: none !important; }

.sw2 {
  --g: #ecb965;
  --navy: #05122d;
  --light: #f4f9fb;
  --soft: #e9f5f9;
  --body: #4b5563;
  --div: #dce5ea;
  --green: #4aa46c;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  background: var(--light);
  color: var(--navy);
}

/* ---------- entrance ---------- */
.sw2 [style*="--i"] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.78s var(--ease),
    transform 0.78s var(--ease);
  transition-delay: calc(var(--i) * 100ms);
}
.sw2 .is-on [style*="--i"],
.sw2 .is-on[style*="--i"] {
  opacity: 1;
  transform: none;
}

.sw2 :focus-visible {
  outline: 2px solid var(--g);
  outline-offset: 3px;
}

/* ---------- part 1 : introduction ---------- */
.sw2-toprule {
  border-top: 1px solid var(--div);
  position: relative;
}
.sw2-toprule span {
  background: var(--g);
  width: 64px;
  height: 2px;
  position: absolute;
  top: -1px;
  left: 0;
  display: block;
}
.sw2-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(20rem, 0.68fr);
  align-items: center;
  gap: clamp(4rem, 8vw, 9rem);
  padding-top: clamp(4.5rem, 8vw, 7.5rem);
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
}
.sw2-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body, inherit);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}
.sw2-eyebrow-line {
  display: block;
  flex: none;
  width: 34px;
  height: 2px;
  background: var(--g);
}
.sw2-headline {
  font-family: var(--font-display, inherit);
  font-size: clamp(60px, 5.4vw, 82px);
  font-weight: 300;
  line-height: 0.99;
  letter-spacing: -0.04em;
  color: var(--navy);
  margin-top: clamp(1.5rem, 2.4vw, 2.25rem);
}
.sw2-headline span.sw2-hl {
  display: block;
}
.sw2-intro-right {
  display: grid;
  grid-template-columns: 1px minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.25rem, 2vw, 1.75rem);
}
.sw2-intro-rule {
  display: block;
  width: 1px;
  min-height: 96px;
  align-self: stretch;
  background: var(--g);
}
.sw2-intro-p {
  color: var(--body);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.6;
}
.sw2-intro-strong {
  color: var(--navy);
  margin-top: 1.25rem;
  font-size: clamp(15px, 1vw, 17px);
  font-weight: 500;
  line-height: 1.5;
}

/* ---------- part 2 : navy panel ---------- */
.sw2-panelwrap {
  padding-bottom: clamp(1rem, 2vw, 1.5rem);
}
.sw2-panel {
  background: var(--navy);
  border: 1px solid rgba(220, 229, 234, 0.1);
  border-radius: 20px;
  padding: clamp(2.75rem, 5vw, 4.5rem);
  box-shadow: 0 16px 42px rgba(5, 18, 45, 0.08);
  position: relative;
  overflow: hidden;
}
.sw2-sys {
  display: grid;
  grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1.2fr);
  align-items: end;
  gap: clamp(3rem, 6vw, 7rem);
}
.sw2-sys-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--g);
}
.sw2-sys-heading {
  font-family: var(--font-display, inherit);
  font-size: clamp(38px, 3vw, 54px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--light);
  margin-top: 1.25rem;
}
.sw2-sys-heading span {
  display: block;
}
.sw2-sys-rule {
  display: block;
  width: 56px;
  height: 2px;
  margin-top: clamp(1.5rem, 2.4vw, 2rem);
  background: var(--g);
}

/* stages */
.sw2-stages {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.sw2-stages-line {
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  height: 1px;
  overflow: hidden;
}
.sw2-stages-line-in {
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(236, 185, 101, 0.42);
  transform: scaleX(0);
  transform-origin: 0;
  transition: transform 1.05s var(--ease);
}
.sw2-panel.is-on .sw2-stages-line-in {
  transform: scaleX(1);
}
.sw2-stage {
  position: relative;
  padding-right: clamp(0.5rem, 1.5vw, 1.25rem);
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
}
.sw2-panel.is-on .sw2-stage {
  opacity: 1;
  transform: none;
}
.sw2-panel.is-on .sw2-stage:nth-child(2) {
  transition-delay: 0.12s;
}
.sw2-panel.is-on .sw2-stage:nth-child(3) {
  transition-delay: 0.24s;
}
.sw2-panel.is-on .sw2-stage:nth-child(4) {
  transition-delay: 0.36s;
}
.sw2-stage:nth-child(5) {
  transition-delay: 0.48s;
}
.sw2-node {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(236, 185, 101, 0.34);
  background: var(--navy);
  transition:
    border-color 0.26s var(--ease),
    background-color 0.26s var(--ease);
}
.sw2-node i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--g);
}
.sw2-stage-num {
  display: block;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--g);
}
.sw2-stage-numrule {
  display: block;
  width: 0;
  height: 1px;
  margin-top: 4px;
  background: var(--g);
  transition: width 0.26s var(--ease);
}
.sw2-stage-name {
  font-family: var(--font-display, inherit);
  margin-top: 8px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  color: rgba(244, 249, 251, 0.92);
  transition: color 0.26s var(--ease);
}
.sw2-stage-desc {
  margin-top: 6px;
  max-width: 22ch;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(244, 249, 251, 0.62);
}
@media (hover: hover) {
  .sw2-stage:hover .sw2-node {
    border-color: rgba(236, 185, 101, 0.8);
    background: rgba(236, 185, 101, 0.07);
  }
  .sw2-stage:hover .sw2-stage-name {
    color: var(--light);
  }
  .sw2-stage:hover .sw2-stage-numrule {
    width: 20px;
  }
}

/* inputs */
.sw2-inputs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px clamp(1.25rem, 2.6vw, 2.5rem);
  margin-top: clamp(2rem, 3.4vw, 3rem);
  padding-top: clamp(1.5rem, 2.4vw, 2rem);
  border-top: 1px solid rgba(220, 229, 234, 0.12);
}
.sw2-inputs-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 249, 251, 0.62);
}
.sw2-inputs-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px clamp(1rem, 2.2vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.sw2-input {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 400;
  color: rgba(244, 249, 251, 0.72);
  transition: color 0.26s var(--ease);
  opacity: 0;
  transform: translateY(8px);
}
.sw2-inputs.is-on .sw2-input {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease),
    color 0.26s var(--ease);
  transition-delay: calc(var(--n) * 55ms);
}
.sw2-input i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--g);
  transition: transform 0.26s var(--ease);
}
@media (hover: hover) {
  .sw2-input:hover {
    color: var(--light);
  }
  .sw2-input:hover i {
    transform: scale(1.12);
  }
}

/* tabs */
.sw2-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(2rem, 3vw, 2.75rem);
  border-top: 1px solid rgba(220, 229, 234, 0.18);
  border-bottom: 1px solid rgba(220, 229, 234, 0.18);
}
.sw2-tab {
  position: relative;
  overflow: hidden;
  min-height: 68px;
  padding: 1rem 0.75rem;
  background: none;
  border: 0;
  border-left: 1px solid rgba(220, 229, 234, 0.14);
  font-size: 15px;
  font-weight: 500;
  color: rgba(244, 249, 251, 0.7);
  cursor: pointer;
  transition:
    color 0.32s var(--ease),
    background-color 0.32s var(--ease);
}
.sw2-tab:first-child {
  border-left: 0;
}
.sw2-tab-hover {
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 50%;
  height: 1px;
  background: rgba(236, 185, 101, 0.6);
  transition:
    left 0.32s var(--ease),
    right 0.32s var(--ease);
}
.sw2-tab-ind {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--g);
  transform: scaleX(0);
  transition: transform 0.32s var(--ease);
}
.sw2-tab.is-active {
  color: var(--light);
  font-weight: 600;
}
.sw2-tab.is-active .sw2-tab-ind {
  transform: scaleX(1);
}
@media (hover: hover) {
  .sw2-tab:hover {
    color: var(--light);
    background: rgba(244, 249, 251, 0.025);
  }
  .sw2-tab:hover .sw2-tab-hover {
    left: 24%;
    right: 24%;
  }
}

/* active capability panel */
.sw2-view {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) 1px minmax(18rem, 0.52fr);
  align-items: stretch;
  gap: clamp(2.5rem, 5vw, 5rem);
  margin-top: clamp(2rem, 3.4vw, 3rem);
  min-height: 410px;
}
.sw2-view-div {
  background: rgba(220, 229, 234, 0.16);
}
@keyframes sw2-in {
  to {
    opacity: 1;
    transform: none;
  }
}
.sw2-view-visual,
.sw2-view-copy {
  opacity: 0;
  transform: translateY(10px);
  animation: sw2-in 0.36s var(--ease) forwards;
}
.sw2-view-visual {
  animation-delay: 0s;
}
.sw2-view-copy {
  animation-delay: 0.05s;
}
.sw2-view.is-out .sw2-view-visual,
.sw2-view.is-out .sw2-view-copy {
  animation: none;
  opacity: 0;
  transition: opacity 0.14s linear;
}
.sw2-detail-label {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--g);
}
.sw2-detail-heading {
  font-family: var(--font-display, inherit);
  margin-top: 1rem;
  font-size: clamp(28px, 2.3vw, 38px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--light);
}
.sw2-detail-heading span {
  display: block;
}
.sw2-detail-copy {
  margin-top: 1.1rem;
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(244, 249, 251, 0.74);
}
.sw2-benefits {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.sw2-benefit {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: rgba(244, 249, 251, 0.86);
}
.sw2-check {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(236, 185, 101, 0.6);
  color: var(--g);
  font-size: 9px;
  line-height: 1;
}
.sw2-detail-line {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(220, 229, 234, 0.16);
  font-size: 12.5px;
  color: rgba(244, 249, 251, 0.6);
}

/* ---------- native mockups ---------- */
.sw2-mock {
  width: 100%;
  height: 100%;
  min-height: 360px;
  background: var(--light);
  border: 1px solid rgba(236, 185, 101, 0.72);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--navy);
}
.sw2-mock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #fff;
  border-bottom: 1px solid var(--div);
}
.sw2-mock-bar .sw2-d {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--div);
}
.sw2-mock-bar .sw2-tabline {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: var(--soft);
  margin-left: 10px;
}
.sw2-mock-body {
  flex: 1;
  display: flex;
  min-height: 0;
}
.sw2-nav {
  width: 54px;
  flex: none;
  border-right: 1px solid var(--div);
  padding: 12px 10px;
  display: grid;
  align-content: start;
  gap: 9px;
  background: #fff;
}
.sw2-nav span {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: var(--div);
}
.sw2-nav span.is-on {
  background: var(--navy);
}
.sw2-work {
  flex: 1;
  min-width: 0;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sw2-wh {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sw2-wh-t {
  height: 9px;
  width: 42%;
  border-radius: 3px;
  background: var(--navy);
}
.sw2-btn {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(236, 185, 101, 0.22);
  border: 1px solid rgba(236, 185, 101, 0.7);
  border-radius: 5px;
  padding: 5px 10px;
}
.sw2-rows2 {
  display: grid;
  gap: 6px;
}
.sw2-r {
  position: relative;
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) 54px;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--div);
  border-radius: 6px;
  background: #fff;
  transition: background-color 0.26s var(--ease);
  font-size: 10.5px;
  color: var(--body);
}
.sw2-r .sw2-sd {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--g);
  opacity: 0.55;
  transition: opacity 0.26s var(--ease);
}
.sw2-r .sw2-sd.green {
  background: var(--green);
}
.sw2-r .sw2-meta {
  text-align: right;
  font-size: 9.5px;
  color: #8a97a3;
}
.sw2-r .sw2-actrule {
  position: absolute;
  left: 10px;
  bottom: 3px;
  width: 0;
  height: 1px;
  background: var(--g);
  transition: width 0.26s var(--ease);
}
@media (hover: hover) {
  .sw2-r:hover {
    background: var(--soft);
  }
  .sw2-r:hover .sw2-sd {
    opacity: 1;
  }
  .sw2-r:hover .sw2-actrule {
    width: 26px;
  }
}
.sw2-table {
  border: 1px solid var(--div);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}
.sw2-tr {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 58px;
  gap: 8px;
  padding: 6px 10px;
  font-size: 10px;
  color: var(--body);
  border-top: 1px solid var(--div);
}
.sw2-tr:first-child {
  border-top: 0;
  background: var(--soft);
  color: var(--navy);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 9px;
}
.sw2-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.sw2-card {
  border: 1px solid var(--div);
  border-radius: 6px;
  background: #fff;
  padding: 8px;
  display: grid;
  gap: 6px;
  font-size: 9.5px;
  color: var(--body);
}
.sw2-card b {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--navy);
}
.sw2-ready {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}
.sw2-ready i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--green);
}
/* automation flow */
.sw2-flow {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 12px;
  padding: 14px;
  min-height: 0;
}
.sw2-steps {
  display: grid;
  gap: 6px;
  align-content: start;
}
.sw2-step {
  position: relative;
  border: 1px solid var(--div);
  border-radius: 6px;
  background: #fff;
  padding: 7px 10px;
  transition: border-color 0.26s var(--ease);
}
.sw2-step .sw2-k {
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a97a3;
}
.sw2-step .sw2-v {
  font-size: 11px;
  color: var(--navy);
  transition: color 0.26s var(--ease);
}
.sw2-step .sw2-mark {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--g);
  opacity: 0;
  transition: opacity 0.26s var(--ease);
}
@media (hover: hover) {
  .sw2-step:hover {
    border-color: rgba(236, 185, 101, 0.72);
  }
  .sw2-step:hover .sw2-mark {
    opacity: 1;
  }
  .sw2-step:hover .sw2-v {
    color: #05122d;
  }
}
.sw2-conn {
  height: 10px;
  width: 1px;
  margin-left: 16px;
  background: rgba(5, 18, 45, 0.22);
}
.sw2-side2 {
  display: grid;
  align-content: start;
  gap: 8px;
}
.sw2-panelbox {
  border: 1px solid var(--div);
  border-radius: 6px;
  background: #fff;
  padding: 8px;
  font-size: 9.5px;
  color: var(--body);
  display: grid;
  gap: 5px;
}
.sw2-panelbox b {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 500;
}
.sw2-grid4 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.sw2-mod {
  position: relative;
  border: 1px solid var(--div);
  border-radius: 6px;
  background: #fff;
  padding: 8px 10px;
  display: grid;
  gap: 4px;
  transition:
    border-color 0.26s var(--ease),
    background-color 0.26s var(--ease);
}
.sw2-mod b {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--navy);
}
.sw2-mod span {
  font-size: 9px;
  color: var(--body);
}
.sw2-mod .sw2-hint {
  font-size: 8.5px;
  color: var(--green);
  opacity: 0;
  transition: opacity 0.26s var(--ease);
}
@media (hover: hover) {
  .sw2-mod:hover {
    border-color: rgba(236, 185, 101, 0.72);
    background: var(--soft);
  }
  .sw2-mod:hover .sw2-hint {
    opacity: 1;
  }
}
.sw2-envs {
  display: flex;
  gap: 6px;
  padding: 10px 14px 0;
}
.sw2-env {
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--body);
  border: 1px solid var(--div);
  border-radius: 5px;
  padding: 4px 8px;
}
.sw2-env.is-on {
  color: var(--navy);
  border-color: rgba(236, 185, 101, 0.7);
  background: rgba(236, 185, 101, 0.16);
}
.sw2-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid var(--div);
  border-radius: 6px;
  background: #fff;
  padding: 7px 10px;
  font-size: 9.5px;
  color: var(--body);
}
.sw2-log {
  border-top: 1px solid var(--div);
  padding-top: 6px;
  display: grid;
  gap: 3px;
  font-size: 9px;
  color: #8a97a3;
}
.sw2-warn {
  color: #b07d24;
}

/* ---------- part 3 : capability lists ---------- */
.sw2-caps {
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
}
.sw2-caps-heading {
  font-family: var(--font-display, inherit);
  font-size: clamp(30px, 2.7vw, 42px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.sw2-caps-heading span {
  display: block;
}
.sw2-caps-rule {
  display: block;
  width: 48px;
  height: 2px;
  margin-top: 14px;
  background: var(--g);
}
.sw2-caps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 5vw, 4.5rem);
  margin-top: clamp(2rem, 3.4vw, 3rem);
}
.sw2-caps-col + .sw2-caps-col {
  border-left: 1px solid var(--div);
  padding-left: clamp(2.5rem, 5vw, 4.5rem);
}
.sw2-caps-title {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}
.sw2-caps-sub {
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--body);
}
.sw2-rows {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}
.sw2-row {
  display: grid;
  grid-template-columns: 26px minmax(88px, 0.42fr) minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 14px 10px;
  border-bottom: 1px solid var(--div);
  transition: background-color 0.32s var(--ease);
  opacity: 0;
  transform: translateY(14px);
}
.sw2-caps.is-on .sw2-row {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease),
    background-color 0.32s var(--ease);
  transition-delay: calc(var(--n) * 60ms);
}
.sw2-row-num {
  position: relative;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--g);
}
.sw2-row-numrule {
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--g);
  transition: width 0.32s var(--ease);
}
.sw2-row-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid var(--div);
  color: var(--body);
  transition: border-color 0.32s var(--ease);
}
.sw2-row-icon svg {
  width: 13px;
  height: 13px;
}
.sw2-row-name {
  font-size: 15px;
  font-weight: 500;
  color: rgba(5, 18, 45, 0.82);
  transition: color 0.32s var(--ease);
}
.sw2-row-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--body);
}
@media (hover: hover) {
  .sw2-row:hover {
    background: rgba(233, 245, 249, 0.55);
  }
  .sw2-row:hover .sw2-row-numrule {
    width: 18px;
  }
  .sw2-row:hover .sw2-row-name {
    color: var(--navy);
  }
  .sw2-row:hover .sw2-row-icon {
    border-color: rgba(236, 185, 101, 0.68);
  }
}

/* ---------- final CTA ---------- */
.sw2-closewrap {
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
}
.sw2-close {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) 1px minmax(18rem, 0.72fr) minmax(22rem, 1fr);
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5rem);
  background: var(--soft);
  border: 1px solid var(--div);
  border-radius: 18px;
  padding: clamp(2.5rem, 4.5vw, 4rem);
}
.sw2-close-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}
.sw2-close-label i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
}
.sw2-close-heading {
  font-family: var(--font-display, inherit);
  margin-top: 1rem;
  font-size: clamp(24px, 1.95vw, 32px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.sw2-close-heading span {
  display: block;
}
.sw2-close-div {
  align-self: stretch;
  width: 1px;
  background: var(--g);
}
.sw2-close-copy {
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.6;
  color: var(--body);
}
.sw2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 3vw, 2.75rem);
}
.sw2-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
}
.sw2-link > span:first-child {
  position: relative;
  padding-bottom: 6px;
}
.sw2-link > span:first-child::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  transition:
    width 0.32s var(--ease),
    background-color 0.32s var(--ease);
}
.sw2-link-primary > span:first-child::after {
  background: var(--g);
}
.sw2-link-secondary {
  color: var(--body);
}
.sw2-link-secondary > span:first-child::after {
  background: var(--div);
}
.sw2-arrow {
  display: inline-block;
  transition: transform 0.32s var(--ease);
}
.sw2-link-primary .sw2-arrow {
  color: var(--g);
}
@media (hover: hover) {
  .sw2-link-primary:hover > span:first-child::after {
    width: calc(100% + 18px);
  }
  .sw2-link-primary:hover .sw2-arrow {
    transform: translateX(4px);
  }
  .sw2-link-secondary:hover > span:first-child::after {
    background: #b9c6ce;
  }
  .sw2-link-secondary:hover .sw2-arrow {
    transform: translate(3px, -3px);
  }
}

/* ---------- responsive ---------- */
@media (width <= 980px) {
  .sw2-view {
    grid-template-columns: minmax(0, 1.25fr) 1px minmax(0, 0.75fr);
  }
}
@media (width <= 820px) {
  .sw2-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }
}
@media (width <= 800px) {
  .sw2-sys {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
  }
}
@media (width <= 800px) {
  .sw2-stages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 1rem;
  }
  .sw2-stages-line {
    display: none;
  }
  .sw2-stage {
    border-top: 1px solid rgba(236, 185, 101, 0.3);
    padding-top: 1rem;
  }
  .sw2-view {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }
  .sw2-view-div {
    width: 100%;
    height: 1px;
  }
  .sw2-close {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
  .sw2-close-div {
    width: 100%;
    height: 1px;
  }
}
@media (width <= 720px) {
  .sw2-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (width <= 700px) {
  .sw2-caps-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }
  .sw2-caps-col + .sw2-caps-col {
    border-left: 0;
    border-top: 1px solid var(--div);
    padding-left: 0;
    padding-top: 2rem;
  }
}
@media (width <= 640px) {
  .sw2-row {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    row-gap: 6px;
  }
  .sw2-row-icon {
    display: none;
  }
  .sw2-row-desc {
    grid-column: 1;
  }
}
@media (width <= 560px) {
  .sw2-headline {
    font-size: clamp(42px, 11vw, 56px);
  }
  .sw2-panel {
    padding: 1.5rem 1.15rem;
  }
  .sw2-tabs {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .sw2-tabs::-webkit-scrollbar {
    display: none;
  }
  .sw2-tab {
    flex: 0 0 auto;
    min-width: 180px;
  }
  .sw2-mock {
    min-height: 300px;
  }
  .sw2-flow {
    grid-template-columns: minmax(0, 1fr);
  }
  .sw2-nav {
    width: 40px;
  }
  .sw2-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .sw2 [style*="--i"],
  .sw2 .sw2-stage,
  .sw2 .sw2-input,
  .sw2 .sw2-row,
  .sw2 .sw2-view-visual,
  .sw2 .sw2-view-copy {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition-delay: 0s !important;
  }
  .sw2 .sw2-stages-line-in {
    transform: scaleX(1) !important;
    transition: none !important;
  }
  .sw2 * {
    transition-duration: 0.01ms !important;
  }
}

/* Outcome index: fr columns so the 12px gaps cannot push the row past 100%. */
.oi-grid { padding-inline: 0; grid-template-columns: minmax(0, 7fr) minmax(0, 34fr) minmax(0, 43fr) minmax(0, 16fr); }
.oi-grid > * { min-width: 0; }
.oi-action { padding-right: 2px; overflow: hidden; }
@media (max-width: 1024px) {
  .oi-grid { grid-template-columns: minmax(0, 9fr) minmax(0, 34fr) minmax(0, 39fr) minmax(0, 18fr); }
}
@media (max-width: 767px) {
  .oi-grid { grid-template-columns: 34px minmax(0, 1fr) 28px; }
}

/* Keep the closing action row inside the container on tablet widths. */
.sw2-actions { max-width: 100%; min-width: 0; }
.sw2-actions > * { max-width: 100%; }
