/* Yusensoft services overview page (/hizmetler).
   Scene animations are declared paused; ys-services-overview.js adds .is-run only while a scene is on screen. */

.ys-so {
  --so-navy: var(--ys-navy-900, #0b1f3a);
  --so-navy-2: var(--ys-navy-800, #123056);
  --so-ink: var(--ys-text, #15243a);
  --so-muted: var(--ys-text-muted, #5b6b82);
  --so-line: var(--ys-border, #e2e7ee);
  --so-surface: var(--ys-surface, #f5f7fa);
  --so-or: var(--ys-orange-500, #e67a2e);
  --so-or-d: var(--ys-orange-600, #c85f18);
  --so-ok: #157a43;
  --so-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --so-io: cubic-bezier(0.65, 0, 0.35, 1);
  color: var(--so-ink);
}

.ys-so-wrap {
  width: min(100% - 2.5rem, 81rem);
  margin-inline: auto;
}

.ys-so a:focus-visible {
  outline: 2px solid var(--so-or);
  outline-offset: 3px;
  border-radius: 4px;
}

.ys-so-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  color: var(--so-or);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ys-so-eyebrow::before {
  content: "";
  inline-size: 1.75rem;
  block-size: 2px;
  background-color: currentColor;
}

.ys-so-eyebrow--dark {
  color: var(--so-or-d);
}

/* ---------- buttons ---------- */

.ys-so-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-block-size: 3rem;
  padding: 0 1.35rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ys-so-btn--primary {
  background-color: var(--so-or);
  color: #fff;
  box-shadow: 0 12px 26px -14px rgba(230, 122, 46, 0.85);
}

.ys-so-btn--primary:hover,
.ys-so-btn--primary:focus-visible {
  background-color: var(--so-or-d);
  color: #fff;
}

.ys-so-btn--ghost {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.ys-so-btn--ghost:hover,
.ys-so-btn--ghost:focus-visible {
  border-color: #fff;
  color: #fff;
}

.ys-so-btn--lg {
  min-block-size: 3.4rem;
  font-size: 1rem;
}

.ys-so .ys-so-btn:focus-visible {
  outline-color: #fff;
  border-radius: 0.5rem;
}

/* ---------- hero ---------- */

.ys-so-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 2.5vw, 2rem) 0 clamp(2.25rem, 3.5vw, 3rem);
  background-color: var(--so-navy);
  color: #fff;
  isolation: isolate;
}

.ys-so-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 65% 85% at 75% 45%, #000 15%, transparent 72%);
  mask-image: radial-gradient(ellipse 65% 85% at 75% 45%, #000 15%, transparent 72%);
}

.ys-so-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.ys-so-crumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8125rem;
  font-weight: 600;
}

.ys-so-crumb li + li::before {
  content: "/";
  margin-inline-end: 0.4rem;
  color: rgba(255, 255, 255, 0.35);
}

.ys-so-crumb a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.ys-so-crumb a:hover {
  color: #fff;
}

.ys-so-crumb [aria-current] {
  color: var(--so-or);
}

.ys-so-h1 {
  max-inline-size: 18ch;
  margin: 0.6rem 0 0.85rem;
  color: #fff;
  font-size: clamp(2.05rem, 1.3rem + 2.5vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.ys-so-lead {
  max-inline-size: 40rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  line-height: 1.6;
}

.ys-so-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-block-start: 1.5rem;
}

.ys-so-jump {
  margin-block-start: 1.5rem;
  padding-block-start: 1.15rem;
  border-block-start: 1px solid rgba(255, 255, 255, 0.1);
}

.ys-so-jump-label {
  margin: 0 0 0.6rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ys-so-jump ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ys-so-jump a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.ys-so-jump a i {
  color: var(--so-or);
  font-size: 0.8rem;
}

.ys-so-jump a:hover,
.ys-so-jump a:focus-visible {
  border-color: var(--so-or);
  background-color: rgba(230, 122, 46, 0.08);
  color: #fff;
}

/* ---------- shared UI pieces (visuals) ---------- */

.ys-so-win {
  position: absolute;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
  background-color: #fff;
  color: var(--so-ink);
}

.ys-so-chrome {
  flex: none;
  display: flex;
  align-items: center;
  gap: 6px;
  block-size: 30px;
  padding: 0 12px;
  border-block-end: 1px solid #e3e8ef;
  background-color: #f1f4f8;
}

.ys-so-chrome > i {
  inline-size: 8px;
  block-size: 8px;
  border-radius: 50%;
  background-color: #f3655c;
}

.ys-so-chrome > i:nth-child(2) { background-color: #f6bd3b; }
.ys-so-chrome > i:nth-child(3) { background-color: #3cc153; }

.ys-so-url {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-inline-size: 0;
  block-size: 19px;
  margin-inline-start: 10px;
  padding: 0 10px;
  overflow: hidden;
  border: 1px solid #e3e8ef;
  border-radius: 10px;
  background-color: #fff;
  color: #5b6b82;
  font-size: 10.5px;
  white-space: nowrap;
}

.ys-so-url b {
  color: #2c9a5b;
  font-size: 9px;
}

.ys-so-devs {
  display: inline-flex;
  gap: 4px;
  margin-inline-start: auto;
}

.ys-so-devs b {
  display: grid;
  place-items: center;
  inline-size: 20px;
  block-size: 18px;
  border-radius: 4px;
  color: #8a96a8;
  font-size: 10px;
}

.ys-so-devs b.is-on {
  background-color: #fff;
  color: var(--so-or-d);
  box-shadow: 0 0 0 1px #e3e8ef;
}

.ys-so-view,
.ys-so-phone-view {
  position: relative;
  flex: 1 1 auto;
  min-block-size: 0;
  overflow: hidden;
}

.ys-so-scroll {
  will-change: transform;
}

.ys-so-site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  block-size: 40px;
  padding: 0 16px;
  border-block-end: 1px solid #eef1f5;
  font-size: 11px;
}

.ys-so-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1c1a17;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.ys-so-brand em {
  display: grid;
  place-items: center;
  inline-size: 18px;
  block-size: 18px;
  border-radius: 4px;
  background-color: #1c1a17;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0;
}

.ys-so-brand small {
  color: #8a8279;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0;
}

.ys-so-brand.is-arka { color: #1f2a24; }
.ys-so-brand.is-arka em { background-color: #1f2a24; }

.ys-so-links {
  display: flex;
  gap: 14px;
  margin-inline-start: auto;
  color: #4a5668;
  white-space: nowrap;
}

.ys-so-links span {
  padding-block: 3px;
}

.ys-so-site-btn {
  padding: 5px 10px;
  border-radius: 5px;
  background-color: #1c1a17;
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
}

.ys-so-site-hero {
  position: relative;
  block-size: 196px;
  overflow: hidden;
}

.ys-so-site-hero img,
.ys-so-site-tiles img {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}

.ys-so-site-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(24, 20, 16, 0.74) 0%, rgba(24, 20, 16, 0.38) 48%, rgba(24, 20, 16, 0) 78%);
}

.ys-so-site-copy {
  position: absolute;
  inset-inline-start: 18px;
  inset-block-end: 18px;
  z-index: 1;
  max-inline-size: 58%;
  color: #fff;
}

.ys-so-site-copy span {
  color: #ead9c3;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ys-so-site-copy strong {
  display: block;
  margin: 4px 0 10px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.18;
}

.ys-so-site-copy em,
.ys-so-site-band em,
.ys-so-arka-copy em,
.ys-so-phone-copy em {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 4px;
  background-color: #fff;
  color: #1c1a17;
  font-size: 10.5px;
  font-style: normal;
  font-weight: 700;
}

.ys-so-site-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 12px 16px;
}

.ys-so-site-tiles span {
  position: relative;
  block-size: 84px;
  overflow: hidden;
  border-radius: 6px;
}

.ys-so-site-tiles span::after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
}

.ys-so-site-tiles b {
  position: absolute;
  inset-inline-start: 8px;
  inset-block-end: 6px;
  z-index: 1;
  color: #fff;
  font-size: 10.5px;
}

.ys-so-site-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 4px 16px 12px;
  padding: 12px 14px;
  border-radius: 8px;
  background-color: #f4efe8;
}

.ys-so-site-band b {
  color: #1c1a17;
  font-size: 12px;
}

.ys-so-site-band em {
  background-color: #1c1a17;
  color: #fff;
  white-space: nowrap;
}

.ys-so-site-band.is-light { background-color: #eef1ec; }
.ys-so-site-band.is-light b { color: #1f2a24; }
.ys-so-site-band.is-light em { background-color: #1f2a24; }

.ys-so-site-foot {
  padding: 10px 16px 14px;
  border-block-start: 1px solid #eef1f5;
  color: #8a96a8;
  font-size: 10px;
}

.ys-so-card-ui {
  position: absolute;
  border-radius: 12px;
  background-color: #fff;
  color: var(--so-ink);
}

.ys-so-ui-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-block-end: 9px;
}

.ys-so-ui-ico {
  display: grid;
  place-items: center;
  inline-size: 24px;
  block-size: 24px;
  border-radius: 6px;
  background-color: #fff1e4;
  color: var(--so-or-d);
  font-size: 12px;
}

.ys-so-ui-head b {
  font-size: 12px;
  font-weight: 800;
}

.ys-so-ui-head small {
  margin-inline-start: auto;
  color: #8a96a8;
  font-size: 10px;
}

.ys-so-ui-rows {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ys-so-ui-rows li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  background-color: #f7f9fb;
  font-size: 11px;
  font-weight: 600;
}

.ys-so-ui-rows li + li {
  margin-block-start: 4px;
}

.ys-so-ui-rows li > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ys-so-av {
  display: grid;
  place-items: center;
  inline-size: 22px;
  block-size: 22px;
  border-radius: 50%;
  background-color: var(--so-navy-2);
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ys-so-av.is-b { background-color: #8a5a2b; }
.ys-so-av.is-c { background-color: #2d6a4f; }

.ys-so-st {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.ys-so-st.is-ok { background-color: #e7f6ee; color: var(--so-ok); }
.ys-so-st.is-wait { background-color: #fff3e6; color: #a8530f; }
.ys-so-st.is-run { background-color: #e8f0fb; color: #1d4e89; }

.ys-so-st-a,
.ys-so-st-b {
  grid-area: 1 / 3;
  justify-self: end;
}

.ys-so-st-b {
  opacity: 0;
}

.ys-so-swap {
  display: grid;
}

.ys-so-swap .ys-so-st-a,
.ys-so-swap .ys-so-st-b {
  grid-area: 1 / 1;
  justify-self: start;
}

.ys-so-serp-url {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #4d5b6e;
  font-size: 10.5px;
  white-space: nowrap;
}

.ys-so-serp-url i {
  display: grid;
  place-items: center;
  inline-size: 16px;
  block-size: 16px;
  border-radius: 50%;
  background-color: #1c1a17;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.ys-so-serp-title {
  display: block;
  margin: 6px 0 4px;
  color: #1a3fae;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
}

.ys-so-serp-desc {
  display: -webkit-box;
  overflow: hidden;
  color: #4d5b6e;
  font-size: 10.5px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ys-so-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background-color: rgba(11, 31, 58, 0.94);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 12px 24px -14px rgba(0, 0, 0, 0.6);
}

.ys-so-chip > i.bi {
  color: var(--so-or);
}

.ys-so-dot {
  position: relative;
  inline-size: 7px;
  block-size: 7px;
  border-radius: 50%;
  background-color: #34d399;
}

.ys-so-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-color: #34d399;
  opacity: 0;
}

/* ---------- hero visual ---------- */

.ys-so-hero-visual {
  min-inline-size: 0;
}

.ys-so-hv {
  position: relative;
  max-inline-size: 40rem;
  margin-inline: auto;
  aspect-ratio: 6 / 5;
  container: sohv / inline-size;
}

.ys-so-hv-win {
  inset-block-start: 0;
  inset-inline-start: 0;
  inline-size: 86%;
  block-size: 76%;
  box-shadow: 0 30px 60px -26px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.ys-so-hv-panel {
  inset-inline-end: 0;
  inset-block-end: 3%;
  inline-size: 50%;
  padding: 12px;
  box-shadow: 0 26px 50px -22px rgba(0, 0, 0, 0.6);
}

.ys-so-hv-serp {
  inset-inline-start: 0;
  inset-block-end: 0;
  inline-size: 46%;
  padding: 12px 14px;
  box-shadow: 0 26px 50px -22px rgba(0, 0, 0, 0.6);
}

.ys-so-hv-chip {
  inset-block-start: 8%;
  inset-inline-end: 1%;
}

@container sohv (max-width: 520px) {
  .ys-so-hv-win { inline-size: 100%; block-size: 66%; }
  .ys-so-hv-panel { inline-size: 80%; inset-block-end: 0; }
  .ys-so-hv-serp { display: none; }
  .ys-so-hv-chip { inset-block-start: 84px; inset-inline-end: 10px; }
  .ys-so-hv .ys-so-links { display: none; }
  .ys-so-hv .ys-so-site-btn { margin-inline-start: auto; }
  .ys-so-hv .ys-so-site-hero { block-size: 150px; }
  .ys-so-hv .ys-so-site-copy { max-inline-size: 72%; inset-block-end: 14px; }
  .ys-so-hv .ys-so-site-copy strong { font-size: 15px; }
  .ys-so-hv .ys-so-site-tiles span { block-size: 64px; }
}

/* ---------- services ---------- */

.ys-so-svc {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  border-block-end: 1px solid #e4e9ef;
  background-color: #f2f4f7;
}

.ys-so-head {
  max-inline-size: 46rem;
  margin: 0 0 clamp(2.25rem, 4vw, 3.25rem);
}

.ys-so-h2 {
  margin: 0.7rem 0 0.9rem;
  color: var(--so-navy);
  font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.ys-so-h2--light {
  color: #fff;
}

.ys-so-sublead {
  max-inline-size: 42rem;
  margin: 0;
  color: var(--so-muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.ys-so-feat {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  border: 1px solid #d9e0e9;
  border-radius: 1.25rem;
  background-color: #fff;
  box-shadow: 0 1px 2px rgba(7, 20, 40, 0.05), 0 14px 34px -20px rgba(7, 20, 40, 0.2);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.ys-so-feat:hover {
  border-color: #cbd4df;
  box-shadow: 0 1px 2px rgba(7, 20, 40, 0.05), 0 22px 46px -24px rgba(7, 20, 40, 0.28);
}

.ys-so-feat + .ys-so-feat {
  margin-block-start: 2rem;
}

.ys-so-feat::before,
.ys-so-card::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 1.5rem;
  z-index: 1;
  block-size: 2px;
  border-radius: 0 0 2px 2px;
  background-color: var(--so-or);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.4s var(--so-ease);
}

.ys-so-feat:hover::before,
.ys-so-card:hover::before {
  transform: scaleX(1);
}

.ys-so-feat--software .ys-so-feat-copy {
  order: 2;
}

.ys-so-feat-copy,
.ys-so-feat-visual {
  min-inline-size: 0;
}

.ys-so-feat-visual {
  position: relative;
  padding: clamp(1rem, 2.5vw, 2rem);
  border: 1px solid #e1e7ee;
  border-radius: 1rem;
  background-color: #f3f6fa;
  background-image:
    linear-gradient(#e6ebf2 1px, transparent 1px),
    linear-gradient(90deg, #e6ebf2 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: -1px -1px;
}

.ys-so-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-block-end: 1rem;
}

.ys-so-num {
  display: inline-block;
  color: var(--so-or-d);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

.ys-so-kick {
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--so-line);
  border-radius: 999px;
  color: var(--so-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ys-so-h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.85rem;
  color: var(--so-navy);
  font-size: clamp(1.45rem, 1.15rem + 0.9vw, 1.95rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.ys-so-h3-ico {
  flex: none;
  display: grid;
  place-items: center;
  inline-size: 2.5rem;
  block-size: 2.5rem;
  border: 1px solid #fbe0c8;
  border-radius: 0.65rem;
  background-color: #fff6ee;
  color: var(--so-or-d);
  font-size: 1.1rem;
}

.ys-so-h3--sm {
  font-size: 1.25rem;
}

.ys-so-h3--sm .ys-so-h3-ico {
  inline-size: 2.2rem;
  block-size: 2.2rem;
  font-size: 1rem;
}

.ys-so-desc {
  margin: 0 0 1rem;
  color: #3d4d63;
  font-size: 1rem;
  line-height: 1.65;
}

.ys-so-val {
  margin: 0 0 1.1rem;
  padding: 0.75rem 1rem;
  border-inline-start: 3px solid var(--so-or);
  border-radius: 0 0.5rem 0.5rem 0;
  background-color: #fafbfd;
  color: var(--so-ink);
  font-size: 0.95rem;
  line-height: 1.55;
}

.ys-so-val span {
  display: block;
  margin-block-end: 0.2rem;
  color: var(--so-or-d);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ys-so-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
}

.ys-so-tags li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.7rem;
  border: 1px solid var(--so-line);
  border-radius: 999px;
  background-color: #fff;
  color: #2a3a52;
  font-size: 0.84rem;
  font-weight: 600;
}

.ys-so-tags li::before {
  content: "\f26e";
  color: var(--so-or-d);
  font-family: bootstrap-icons;
  font-size: 0.85rem;
  line-height: 1;
}

.ys-so-tags--sm li {
  padding: 0.3rem 0.6rem;
  font-size: 0.8rem;
}

.ys-so-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-block-end: 2px;
  border-block-end: 2px solid var(--so-or);
  color: var(--so-navy);
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.ys-so-more:hover,
.ys-so-more:focus-visible {
  gap: 0.75rem;
  color: var(--so-or-d);
}

/* featured: web */

.ys-so-fv {
  position: relative;
}

.ys-so-fv--web {
  aspect-ratio: 16 / 11;
  container: sofw / inline-size;
}

.ys-so-fw-win {
  inset-block-start: 0;
  inset-inline-start: 0;
  inline-size: 86%;
  block-size: 88%;
  border: 1px solid #e3e8ef;
  box-shadow: 0 26px 50px -30px rgba(7, 20, 40, 0.45);
}

.ys-so-fv--web .ys-so-site-btn { background-color: #1f2a24; }

.ys-so-arka-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 16px;
}

.ys-so-arka-copy span,
.ys-so-phone-copy span {
  color: #8a6d45;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ys-so-arka-copy strong {
  display: block;
  margin: 6px 0;
  color: #16201b;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.16;
}

.ys-so-arka-copy p {
  margin: 0 0 10px;
  color: #5b6b82;
  font-size: 11px;
  line-height: 1.5;
}

.ys-so-arka-copy em,
.ys-so-phone-copy em {
  background-color: #1f2a24;
  color: #fff;
}

.ys-so-arka-hero img {
  inline-size: 100%;
  block-size: 150px;
  border-radius: 8px;
  object-fit: cover;
}

.ys-so-arka-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0 16px 14px;
}

.ys-so-arka-row img {
  display: block;
  inline-size: 100%;
  block-size: 76px;
  border-radius: 6px;
  object-fit: cover;
}

.ys-so-arka-row b {
  display: block;
  margin-block-start: 6px;
  color: #16201b;
  font-size: 11px;
}

.ys-so-arka-row small {
  color: #8a96a8;
  font-size: 10px;
}

.ys-so-phone {
  position: absolute;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 6px solid #0f1b2d;
  border-radius: 24px;
  background-color: #fff;
  color: var(--so-ink);
  box-shadow: 0 26px 46px -24px rgba(7, 20, 40, 0.55);
}

.ys-so-fw-phone {
  inset-inline-end: 0;
  inset-block-end: 0;
  inline-size: 27%;
  aspect-ratio: 9 / 18;
}

.ys-so-phone-bar {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  block-size: 20px;
  padding: 0 10px;
  font-size: 10px;
}

.ys-so-phone-bar span {
  font-size: 10px;
}

.ys-so-phone-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px 8px;
  border-block-end: 1px solid #eef1f5;
}

.ys-so-phone-nav .ys-so-brand {
  font-size: 11px;
}

.ys-so-phone-nav b {
  font-size: 15px;
}

.ys-so-phone-view img {
  display: block;
  inline-size: 100%;
  block-size: 92px;
  object-fit: cover;
}

.ys-so-phone-copy {
  padding: 10px;
}

.ys-so-phone-copy strong {
  display: block;
  margin: 4px 0 8px;
  color: #16201b;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.ys-so-phone-copy em {
  font-size: 10px;
}

.ys-so-phone-card {
  margin: 0 10px 12px;
}

.ys-so-phone-card img {
  block-size: 64px;
  border-radius: 6px;
}

.ys-so-phone-card b {
  display: block;
  margin-block-start: 5px;
  font-size: 10.5px;
}

.ys-so-chip--light,
.ys-so-fw-chip,
.ys-so-fa-chip {
  border-color: #e3e8ef;
  background-color: #fff;
  color: var(--so-navy);
  box-shadow: 0 12px 24px -16px rgba(7, 20, 40, 0.45);
}

.ys-so-fw-chip {
  inset-block-start: 6%;
  inset-inline-end: 1%;
}

@container sofw (max-width: 470px) {
  .ys-so-fw-win { inline-size: 80%; block-size: 100%; }
  .ys-so-fv--web .ys-so-links { display: none; }
  .ys-so-fv--web .ys-so-site-btn { margin-inline-start: auto; }
  .ys-so-arka-hero { grid-template-columns: minmax(0, 1fr); padding: 14px 52px 14px 14px; }
  .ys-so-arka-hero img,
  .ys-so-arka-copy p { display: none; }
  .ys-so-arka-copy strong { font-size: 15px; }
  .ys-so-arka-row { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-inline: 14px 52px; }
  .ys-so-arka-row > span:nth-child(3) { display: none; }
  .ys-so-arka-row img { block-size: 64px; }
  .ys-so-fw-phone { inline-size: max(30%, 106px); }
  .ys-so-phone-copy strong { font-size: 12px; }
  .ys-so-fw-chip { display: none; }
}

/* featured: software */

.ys-so-fv--app {
  container: sofa / inline-size;
}

.ys-so-app {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #e3e8ef;
  border-radius: 12px;
  background-color: #fff;
  color: var(--so-ink);
  box-shadow: 0 26px 50px -30px rgba(7, 20, 40, 0.45);
}

.ys-so-app-side {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 10px;
  background-color: var(--so-navy);
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
}

.ys-so-app-side > span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.ys-so-app-side > span b {
  font-size: 12px;
}

.ys-so-app-side > span.is-on {
  background-color: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.ys-so-app-side > span.ys-so-app-logo {
  margin-block-end: 10px;
  padding-inline: 4px;
  color: #fff;
  font-weight: 800;
}

.ys-so-app-logo em {
  display: grid;
  place-items: center;
  inline-size: 20px;
  block-size: 20px;
  border-radius: 5px;
  background-color: var(--so-or);
  color: #fff;
  font-size: 11px;
  font-style: normal;
}

.ys-so-app-main {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-inline-size: 0;
  padding: 12px 14px 14px;
  background-color: #f7f9fc;
}

.ys-so-app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ys-so-app-search {
  display: flex;
  align-items: center;
  gap: 6px;
  min-inline-size: 0;
  max-inline-size: 75%;
  padding: 6px 10px;
  overflow: hidden;
  border: 1px solid #e3e8ef;
  border-radius: 7px;
  background-color: #fff;
  color: #8a96a8;
  font-size: 10.5px;
  white-space: nowrap;
}

.ys-so-app-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.ys-so-app-kpis > span,
.ys-so-app-chart,
.ys-so-app-flow,
.ys-so-app-table {
  border: 1px solid #e8edf3;
  border-radius: 8px;
  background-color: #fff;
}

.ys-so-app-kpis > span {
  padding: 8px 10px;
}

.ys-so-app-kpis small,
.ys-so-app-chart small,
.ys-so-app-flow small {
  display: block;
  color: #6b7a90;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.ys-so-app-kpis b {
  display: block;
  color: var(--so-navy);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
}

.ys-so-app-kpis em {
  color: #8a96a8;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

.ys-so-app-kpis em.is-up { color: var(--so-or-d); }
.ys-so-app-kpis em.is-ok { color: var(--so-ok); }

.ys-so-app-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 8px;
}

.ys-so-app-chart,
.ys-so-app-flow {
  padding: 10px;
}

.ys-so-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  block-size: 62px;
  margin-block-start: 8px;
}

.ys-so-bars i {
  flex: 1 1 0;
  block-size: var(--h);
  border-radius: 3px 3px 0 0;
  background-color: #2d5f9a;
  transform-origin: 50% 100%;
}

.ys-so-bars i:last-child {
  background-color: var(--so-or);
}

.ys-so-bars-x {
  display: flex;
  gap: 6px;
  margin-block-start: 4px;
}

.ys-so-bars-x span {
  flex: 1 1 0;
  color: #8a96a8;
  font-size: 10px;
  text-align: center;
}

.ys-so-app-flow > span {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  border-block-end: 1px dashed #edf0f5;
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
}

.ys-so-app-flow > span:last-child {
  border-block-end: 0;
}

.ys-so-app-flow > span b {
  display: grid;
  place-items: center;
  inline-size: 18px;
  block-size: 18px;
  border-radius: 50%;
  background-color: #fff3e6;
  color: #a8530f;
  font-size: 10px;
}

.ys-so-app-flow > span.is-done b {
  background-color: #e7f6ee;
  color: var(--so-ok);
}

.ys-so-app-table {
  overflow: hidden;
}

.ys-so-app-tr {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.8fr) minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-block-start: 1px solid #f0f3f7;
  font-size: 10.5px;
}

.ys-so-app-tr > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ys-so-app-tr.is-head {
  border-block-start: 0;
  background-color: #fafbfd;
  color: #6b7a90;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ys-so-app-tr b {
  margin-inline-end: 4px;
  color: var(--so-navy);
}

.ys-so-fa-chip {
  inset-block-start: -14px;
  inset-inline-end: 14px;
}

@container sofa (max-width: 520px) {
  .ys-so-app { grid-template-columns: minmax(0, 1fr); }
  .ys-so-app-side { display: none; }
  .ys-so-app-grid { grid-template-columns: minmax(0, 1fr); }
  .ys-so-app-flow { display: none; }
}

@container sofa (max-width: 360px) {
  .ys-so-app-kpis small { white-space: normal; line-height: 1.25; }
  .ys-so-app-kpis em { display: none; }
  .ys-so-app-tr { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .ys-so-app-tr > span:nth-child(2) { display: none; }
  .ys-so-fa-chip { display: none; }
}

/* ---------- service cards ---------- */

.ys-so-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
  margin-block-start: 2rem;
}

.ys-so-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-inline-size: 0;
  overflow: hidden;
  border: 1px solid #d9e0e9;
  border-radius: 1.25rem;
  background-color: #fff;
  box-shadow: 0 1px 2px rgba(7, 20, 40, 0.05), 0 10px 28px -20px rgba(7, 20, 40, 0.22);
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.45s var(--so-ease), opacity 0.6s ease;
}

.ys-so-card:hover {
  border-color: #cbd4df;
  box-shadow: 0 1px 2px rgba(7, 20, 40, 0.05), 0 24px 44px -24px rgba(7, 20, 40, 0.32);
  transform: translateY(-4px);
}

.ys-so-mini {
  display: grid;
  place-items: center;
  block-size: 200px;
  padding: 18px;
  overflow: hidden;
  border-block-end: 1px solid #dfe5ed;
  background-color: #eef2f7;
  background-image:
    linear-gradient(#e2e8f0 1px, transparent 1px),
    linear-gradient(90deg, #e2e8f0 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: -1px -1px;
}

.ys-so-mini > div {
  inline-size: min(100%, 300px);
  transition: transform 0.45s var(--so-ease);
}

.ys-so-card:hover .ys-so-mini > div {
  transform: translateY(-3px);
}

.ys-so-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 1.5rem 1.6rem 1.6rem;
}

.ys-so-card-body > .ys-so-num {
  margin-block-end: 0.6rem;
}

.ys-so-card .ys-so-h3--sm {
  margin-block-end: 0.7rem;
  font-size: 1.3rem;
}

.ys-so-card .ys-so-desc {
  color: #46566c;
  font-size: 0.95rem;
}

.ys-so-card .ys-so-val {
  font-size: 0.9rem;
}

.ys-so-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  margin-block-start: auto;
  padding-block-start: 1.1rem;
  border-block-start: 1px solid #edf0f4;
}

/* mini UIs */

.ys-so-m-portal,
.ys-so-m-serp,
.ys-so-m-cal,
.ys-so-m-infra,
.ys-so-m-product,
.ys-so-m-order {
  border: 1px solid #e3e8ef;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 14px 28px -20px rgba(7, 20, 40, 0.35);
}

.ys-so-m-portal,
.ys-so-m-cal,
.ys-so-m-infra {
  padding: 12px;
}

.ys-so-m-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-block-end: 10px;
}

.ys-so-m-bar b {
  color: var(--so-navy);
  font-size: 12px;
  font-weight: 800;
}

.ys-so-m-bar span {
  color: #8a96a8;
  font-size: 10px;
  font-weight: 600;
}

.ys-so-m-bar .ys-so-m-role {
  padding: 2px 8px;
  border-radius: 999px;
  background-color: var(--so-navy);
  color: #fff;
}

.ys-so-m-steps {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-block-end: 10px;
}

.ys-so-m-steps span {
  padding: 3px 8px;
  border-radius: 999px;
  background-color: #eef2f7;
  color: #6b7a90;
  font-size: 10px;
  font-weight: 700;
}

.ys-so-m-steps span.is-done { background-color: #e7f6ee; color: var(--so-ok); }
.ys-so-m-steps span.is-cur { background-color: #fff3e6; color: #a8530f; }

.ys-so-m-steps i {
  flex: 1 1 auto;
  block-size: 2px;
  min-inline-size: 6px;
  background-color: #dfe5ee;
}

.ys-so-m-portal ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ys-so-m-portal li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-block-start: 1px solid #f0f3f7;
  font-size: 11px;
  font-weight: 700;
}

.ys-so-m-portal li span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ys-so-m-portal li small {
  display: block;
  color: #8a96a8;
  font-size: 10px;
  font-weight: 600;
}

.ys-so-m-product {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
}

.ys-so-m-product img {
  inline-size: 96px;
  block-size: 84px;
  border-radius: 8px;
  object-fit: cover;
}

.ys-so-m-product > span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-inline-size: 0;
}

.ys-so-m-product small {
  color: #8a96a8;
  font-size: 10px;
  font-weight: 700;
}

.ys-so-m-product b {
  color: var(--so-navy);
  font-size: 12.5px;
  font-weight: 800;
}

.ys-so-m-cart {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-block-start: 4px;
  padding: 5px 9px;
  border-radius: 6px;
  background-color: var(--so-navy);
  color: #fff;
  font-size: 10.5px;
  font-style: normal;
  font-weight: 700;
}

.ys-so-m-cart b {
  color: #fff;
  font-size: 11px;
}

.ys-so-m-order {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-block-start: 8px;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 700;
}

.ys-so-m-order > b {
  color: var(--so-or-d);
  font-size: 14px;
}

.ys-so-m-order small {
  display: block;
  color: #8a96a8;
  font-size: 10px;
  font-weight: 600;
}

.ys-so-m-track {
  display: flex;
  gap: 3px;
  margin-inline-start: auto;
}

.ys-so-m-track i {
  inline-size: 14px;
  block-size: 4px;
  border-radius: 2px;
  background-color: #dfe5ee;
}

.ys-so-m-track i.is-done { background-color: #2c9a5b; }
.ys-so-m-track i.is-cur { background-color: var(--so-or); }

.ys-so-m-serp {
  padding: 12px 14px;
}

.ys-so-m-serp .ys-so-serp-url i {
  background-color: var(--so-navy);
}

.ys-so-m-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-block-start: 10px;
}

.ys-so-m-chips span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border: 1px solid #e3e8ef;
  border-radius: 6px;
  background-color: #fff;
  color: #2a3a52;
  font-size: 10px;
  font-weight: 700;
}

.ys-so-m-chips b {
  color: var(--so-or-d);
}

.ys-so-m-days {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.ys-so-m-days > span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-inline-size: 0;
}

.ys-so-m-days small {
  color: #6b7a90;
  font-size: 10px;
  font-weight: 700;
}

.ys-so-m-days img,
.ys-so-m-days .is-empty b {
  inline-size: 100%;
  block-size: 58px;
  border-radius: 6px;
  object-fit: cover;
}

.ys-so-m-days .is-empty b {
  display: grid;
  place-items: center;
  border: 1px dashed #cdd6e2;
  color: #8a96a8;
}

.ys-so-m-days em {
  color: #8a96a8;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

.ys-so-m-days em.is-ok { color: var(--so-ok); }
.ys-so-m-days em.is-run { color: #1d4e89; }

.ys-so-mini > .ys-so-m-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.ys-so-m-grid {
  flex: none;
  display: grid;
  place-items: center;
  inline-size: 128px;
  block-size: 128px;
  border: 1px solid #e3e8ef;
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0 14px 28px -20px rgba(7, 20, 40, 0.35);
}

.ys-so-m-mark {
  inline-size: 104px;
  block-size: 104px;
}

.ys-so-m-mark .g {
  fill: none;
  stroke: #d7dee8;
  stroke-width: 1;
  stroke-dasharray: 3 3;
}

.ys-so-m-mark .m,
.ys-so-m-vars svg path {
  fill: none;
  stroke: var(--so-navy);
  stroke-width: 9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ys-so-m-vars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ys-so-m-vars span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  block-size: 36px;
  padding: 0 10px;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  background-color: #fff;
}

.ys-so-m-vars svg {
  inline-size: 20px;
  block-size: 20px;
}

.ys-so-m-vars b {
  color: var(--so-navy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.ys-so-m-vars .is-i {
  justify-content: center;
  inline-size: 36px;
  padding: 0;
  border-color: var(--so-or);
  background-color: var(--so-or);
}

.ys-so-m-vars .is-i svg path { stroke: #fff; }

.ys-so-m-vars .is-d {
  border-color: var(--so-navy);
  background-color: var(--so-navy);
}

.ys-so-m-vars .is-d svg path { stroke: #fff; }
.ys-so-m-vars .is-d b { color: #fff; }

.ys-so-m-domain {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-block-end: 8px;
  border-block-end: 1px solid #f0f3f7;
}

.ys-so-m-domain > b {
  color: var(--so-or-d);
  font-size: 14px;
}

.ys-so-m-domain > span {
  overflow: hidden;
  color: var(--so-navy);
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ys-so-m-domain .ys-so-st {
  margin-inline-start: auto;
}

.ys-so-m-dns {
  display: grid;
  gap: 4px;
  margin: 8px 0;
}

.ys-so-m-dns div {
  display: grid;
  grid-template-columns: 50px 34px minmax(0, 1fr);
  gap: 6px;
  padding: 5px 8px;
  border-radius: 6px;
  background-color: #f7f9fb;
  color: #5b6b82;
  font-size: 10.5px;
}

.ys-so-m-dns span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ys-so-m-dns span:first-child {
  color: var(--so-navy);
  font-weight: 800;
}

.ys-so-m-srv {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
}

.ys-so-m-srv span {
  margin-inline-start: auto;
  color: #8a96a8;
  font-weight: 600;
}

/* ---------- complementary flow ---------- */

.ys-so-flow {
  padding: clamp(3.5rem, 5.5vw, 5rem) 0;
  border-block-end: 1px solid #e9edf3;
  background-color: #fff;
}

.ys-so-flow .ys-so-head {
  margin-block-end: clamp(1.5rem, 2.2vw, 2rem);
}

.ys-so-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ys-so-track::before,
.ys-so-track::after {
  content: "";
  position: absolute;
  inset-block-start: calc(1.75rem - 1px);
  z-index: 0;
  inset-inline: 1.75rem calc(25% - 2.875rem);
  block-size: 2px;
}

.ys-so-track::before {
  background-color: #cdd6e1;
}

.ys-so-track::after {
  background-image: linear-gradient(90deg, transparent, var(--so-or), transparent);
  background-repeat: no-repeat;
  background-size: 22% 100%;
  background-position: -30% 0;
}

.ys-so-node {
  position: relative;
  z-index: 1;
  min-inline-size: 0;
}

.ys-so-node-ico {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  inline-size: 3.5rem;
  block-size: 3.5rem;
  margin-block-end: 1rem;
  border: 1px solid #d3dbe5;
  border-radius: 1rem;
  background-color: #fff;
  color: var(--so-navy);
  font-size: 1.3rem;
  box-shadow: 0 1px 2px rgba(11, 31, 58, 0.05), 0 6px 14px -8px rgba(11, 31, 58, 0.18);
}

.ys-so-node-step {
  display: block;
  margin-block-end: 0.35rem;
  color: var(--so-or-d);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ys-so-node-t {
  margin: 0 0 0.5rem;
  color: var(--so-navy);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.3;
}

.ys-so-node p {
  margin: 0 0 0.85rem;
  color: var(--so-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.ys-so-node .ys-so-node-rel {
  margin: 0;
  font-size: 0.875rem;
}

.ys-so-node-rel span {
  display: block;
  margin-block-end: 0.35rem;
  color: #8a96a8;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ys-so-node-rel a {
  display: inline-block;
  margin: 0 0.6rem 0.35rem 0;
  border-block-end: 1px solid #c9d3df;
  color: var(--so-navy-2);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.ys-so-node-rel a:hover,
.ys-so-node-rel a:focus-visible {
  border-color: var(--so-or);
  color: var(--so-or-d);
}

.ys-so-note {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 2.5rem 0 0;
  padding: 1rem 1.2rem;
  border: 1px dashed #c9d3df;
  border-radius: 0.75rem;
  background-color: #fff;
  color: #3d4d63;
  font-size: 0.95rem;
  line-height: 1.55;
}

.ys-so-note i {
  margin-block-start: 0.1rem;
  color: var(--so-or-d);
}

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

.ys-so-cta {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0 clamp(4rem, 7vw, 6rem);
  background-color: #fff;
}

.ys-so-cta-box {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.75fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(2rem, 4.5vw, 3.75rem);
  overflow: hidden;
  border-radius: 1.5rem;
  background-color: var(--so-navy);
  color: #fff;
  isolation: isolate;
}

.ys-so-cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
}

.ys-so-cta-text {
  max-inline-size: 40rem;
  margin: 0 0 1.4rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.05rem;
  line-height: 1.65;
}

.ys-so-cta-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ys-so-cta-points li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  font-weight: 600;
}

.ys-so-cta-points i {
  color: var(--so-or);
}

.ys-so-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ---------- reveal ---------- */

.ys-so.is-js [data-so-reveal] {
  transition: opacity 0.6s ease, transform 0.7s var(--so-ease);
}

.ys-so.is-js .ys-so-card[data-so-reveal],
.ys-so.is-js .ys-so-feat[data-so-reveal] {
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.5s var(--so-ease), opacity 0.6s ease;
}

.ys-so.is-js [data-so-reveal]:not(.is-in) {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
}

/* the flow track (icons + connector) must never be hidden; only its steps settle in */
.ys-so.is-js .ys-so-track[data-so-reveal]:not(.is-in) {
  opacity: 1;
  transform: none;
}

.ys-so.is-js .ys-so-track[data-so-reveal] .ys-so-node {
  transition: transform 0.6s var(--so-ease);
}

.ys-so.is-js .ys-so-track[data-so-reveal]:not(.is-in) .ys-so-node {
  transform: translate3d(0, 10px, 0);
}

.ys-so.is-js .ys-so-track[data-so-reveal] .ys-so-node:nth-child(2) { transition-delay: 0.06s; }
.ys-so.is-js .ys-so-track[data-so-reveal] .ys-so-node:nth-child(3) { transition-delay: 0.12s; }
.ys-so.is-js .ys-so-track[data-so-reveal] .ys-so-node:nth-child(4) { transition-delay: 0.18s; }

/* ---------- scene motion (paused unless .is-run) ---------- */

.ys-so-hv-scroll,
.ys-so-fw-scroll {
  animation: so-scroll 15s var(--so-io) infinite;
}

.ys-so-fw-pscroll {
  animation: so-scroll 15s var(--so-io) -4s infinite;
}

.ys-so-hv-flip {
  animation: so-flash 9s ease infinite;
}

.ys-so-hv-flip .ys-so-st-a,
.ys-so-swap .ys-so-st-a {
  animation: so-flip-a 9s ease infinite;
}

.ys-so-hv-flip .ys-so-st-b,
.ys-so-swap .ys-so-st-b {
  animation: so-flip-b 9s ease infinite;
}

.ys-so-app-new {
  animation: so-flash-w 9s ease infinite;
}

.ys-so-hv-panel {
  animation: so-float 8s ease-in-out infinite;
}

.ys-so-hv-serp {
  animation: so-float 9s ease-in-out -3s infinite;
}

.ys-so-dot::after {
  animation: so-ping 2.4s ease-out infinite;
}

.ys-so-mini .ys-so-dot::after {
  animation: none;
}

.ys-so-fw-hover {
  animation: so-hover 15s ease infinite;
}

.ys-so-bars i:last-child {
  animation: so-bar 9s var(--so-ease) infinite;
}

.ys-so-app-step b {
  animation: so-step 9s ease infinite;
}

.ys-so-track::after {
  animation: so-pulse 6s linear infinite;
}

.ys-so-node-ico {
  animation: so-node 12s ease infinite;
}

.ys-so-node:nth-child(2) .ys-so-node-ico { animation-delay: 3s; }
.ys-so-node:nth-child(3) .ys-so-node-ico { animation-delay: 6s; }
.ys-so-node:nth-child(4) .ys-so-node-ico { animation-delay: 9s; }

.ys-so [data-so-scene]:not(.is-run),
.ys-so [data-so-scene]:not(.is-run)::after,
.ys-so [data-so-scene]:not(.is-run) *,
.ys-so [data-so-scene]:not(.is-run) *::after {
  animation-play-state: paused;
}

@keyframes so-scroll {
  0%, 14% { transform: translate3d(0, 0, 0); }
  42%, 60% { transform: translate3d(0, var(--dy, 0px), 0); }
  88%, 100% { transform: translate3d(0, 0, 0); }
}

@keyframes so-flip-a {
  0%, 40% { opacity: 1; }
  46%, 92% { opacity: 0; }
  98%, 100% { opacity: 1; }
}

@keyframes so-flip-b {
  0%, 40% { opacity: 0; }
  46%, 92% { opacity: 1; }
  98%, 100% { opacity: 0; }
}

@keyframes so-flash {
  0%, 40% { background-color: #f7f9fb; }
  46% { background-color: #fff0e2; }
  62%, 100% { background-color: #f7f9fb; }
}

@keyframes so-flash-w {
  0%, 40% { background-color: #fff; }
  46% { background-color: #fff3e8; }
  62%, 100% { background-color: #fff; }
}

@keyframes so-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -6px, 0); }
}

@keyframes so-ping {
  0% { opacity: 0.6; transform: scale(1); }
  80%, 100% { opacity: 0; transform: scale(2.8); }
}

@keyframes so-hover {
  0%, 20% { color: #4a5668; box-shadow: inset 0 -2px 0 transparent; }
  26%, 44% { color: #16201b; box-shadow: inset 0 -2px 0 #e67a2e; }
  50%, 100% { color: #4a5668; box-shadow: inset 0 -2px 0 transparent; }
}

@keyframes so-bar {
  0%, 30% { transform: scaleY(0.62); }
  50%, 100% { transform: scaleY(1); }
}

@keyframes so-step {
  0%, 40% { background-color: #fff3e6; color: #a8530f; }
  46%, 92% { background-color: #e7f6ee; color: #157a43; }
  98%, 100% { background-color: #fff3e6; color: #a8530f; }
}

@keyframes so-pulse {
  from { background-position: -30% 0; }
  to { background-position: 130% 0; }
}

@keyframes so-node {
  0%, 3% { border-color: #d3dbe5; color: #0b1f3a; }
  8%, 20% { border-color: #e67a2e; color: #c85f18; }
  26%, 100% { border-color: #d3dbe5; color: #0b1f3a; }
}

/* ---------- responsive ---------- */

@media (max-width: 1199.98px) {
  .ys-so-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ys-so-feat { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 1099.98px) {
  .ys-so-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
  .ys-so-track { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
  .ys-so-track::before,
  .ys-so-track::after { display: none; }
}

@media (min-width: 576px) and (max-width: 1099.98px) {
  .ys-so-node:nth-child(odd)::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset-block-start: calc(1.75rem - 1px);
    inset-inline: 1.75rem calc(-1.5rem - 1.75rem);
    block-size: 2px;
    background-color: #cdd6e1;
  }
}

@media (max-width: 991.98px) {
  .ys-so-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .ys-so-h1 { max-inline-size: 22ch; }
  .ys-so-feat { grid-template-columns: minmax(0, 1fr); }
  .ys-so-feat--software .ys-so-feat-copy { order: 0; }
  .ys-so-cta-box { grid-template-columns: minmax(0, 1fr); }
  .ys-so-cta-actions { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 699.98px) {
  .ys-so-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 575.98px) {
  .ys-so-wrap { width: min(100% - 2rem, 81rem); }
  .ys-so-hv { aspect-ratio: 1 / 1.05; }
  .ys-so-fv--web { aspect-ratio: 1 / 0.92; }
  .ys-so-crumb ol { margin-block-end: 0.9rem; }
  .ys-so-actions .ys-so-btn,
  .ys-so-cta-actions .ys-so-btn { flex: 1 1 100%; }
  .ys-so-jump a { padding: 0.35rem 0.65rem; font-size: 0.78rem; }
  .ys-so-feat,
  .ys-so-card { border-radius: 1.1rem; }
  .ys-so-feat { padding: 1.25rem; }
  .ys-so-feat + .ys-so-feat,
  .ys-so-grid { margin-block-start: 1.5rem; }
  .ys-so-feat::before,
  .ys-so-card::before { inset-inline: 1.1rem; }
  .ys-so-feat-visual { padding: 0.9rem; }
  .ys-so-h3 { gap: 0.6rem; }
  .ys-so-mini { block-size: auto; min-block-size: 190px; padding: 16px 12px; }
  .ys-so-card-body { padding: 1.2rem 1.15rem 1.3rem; }
  .ys-so-track { grid-template-columns: minmax(0, 1fr); row-gap: 2rem; }
  .ys-so-track::before,
  .ys-so-track::after {
    display: block;
    inset-block: 1.75rem 1.75rem;
    inset-inline: calc(1.75rem - 1px) auto;
    inline-size: 2px;
    block-size: auto;
  }
  .ys-so-track::after {
    background-image: linear-gradient(180deg, transparent, var(--so-or), transparent);
    background-size: 100% 22%;
    background-position: 0 -30%;
    animation-name: so-pulse-v;
  }
  .ys-so-node { padding-inline-start: 4.75rem; }
  .ys-so-node-ico { position: absolute; inset-block-start: 0; inset-inline-start: 0; margin: 0; }
  .ys-so-cta-box { border-radius: 1.1rem; }
}

@keyframes so-pulse-v {
  from { background-position: 0 -30%; }
  to { background-position: 0 130%; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .ys-so *,
  .ys-so *::before,
  .ys-so *::after {
    animation: none !important;
    transition: none !important;
  }

  .ys-so-card:hover { transform: none; }
}

html.ys-reduce .ys-so *,
html.ys-reduce .ys-so *::before,
html.ys-reduce .ys-so *::after {
  animation: none !important;
  transition: none !important;
}

html.ys-reduce .ys-so-card:hover {
  transform: none;
}
