/* /hosting premium V2 — page-only styles (loaded after service-page.css).
   Every domain, address, path and value shown is representative: markaniz.example (RFC 2606), 192.0.2.10 (RFC 5737).
   Usage bars are sample ratios, not measurements or package limits. Without data-step the hero shows its finished
   state (no JS / reduced motion). */
.ys-hs {
  --hs-orange: var(--ys-sd-orange, #e67a2e);
  --hs-orange-d: #a94d16;
  --hs-navy: #071426;
  --hs-ink: #15243a;
  --hs-muted: #5b6b82;
  --hs-line: rgba(16, 33, 58, 0.1);
  --hs-soft: #f6f8fb;
  --hs-blue: #2f6fd6;
  --hs-sky: #9cc0ff;
  --hs-green: #2fbf71;
  --hs-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --hb-bg: #0b1524;
  --hb-side: #091220;
  --hb-panel: #0f1b2d;
  --hb-line: rgba(255, 255, 255, 0.08);
  --hb-txt: #d7dee8;
  --hb-mut: #8fa0b5;
}

.ys-hs .ys-hs-mono {
  font-family: var(--hs-mono);
  font-weight: 500;
}

/* ---------- Hero layout ---------- */
.ys-hs .ys-sd-hero__grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: clamp(1.5rem, 3.2vw, 3.25rem);
}

.ys-hs .ys-hs-points {
  display: grid;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.ys-hs .ys-hs-points li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(244, 247, 251, 0.84);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
}

.ys-hs-points i {
  display: grid;
  width: 1.7rem;
  height: 1.7rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(230, 122, 46, 0.35);
  border-radius: 0.5rem;
  background: rgba(230, 122, 46, 0.08);
  color: #f3a46b;
  font-size: 0.82rem;
}

/* ---------- Hero: rack + hosting panel ---------- */
.ys-hs-hub {
  container: hshero / inline-size;
  position: relative;
  height: clamp(28.5rem, 26.5rem + 6.04vw, 34rem);
  color: var(--hb-txt);
}

/* data-centre side: overhead tray, rack, floor */
.ys-hs-dc {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 40%;
  perspective: 1100px;
  perspective-origin: 80% 40%;
}

.ys-hs-dc::before {
  content: "";
  position: absolute;
  top: 0.35rem;
  right: -6%;
  left: 2%;
  height: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.2rem;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 0.55rem),
    linear-gradient(#18263a, #0e1828);
}

.ys-hs-dc__floor {
  position: absolute;
  right: -4%;
  bottom: 0.2rem;
  left: 4%;
  height: 1.4rem;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.55), transparent);
}

.ys-hs-rack {
  position: absolute;
  top: 2.5rem;
  right: 0;
  bottom: 1.1rem;
  left: 4%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 0.55rem 0.55rem 0.3rem 0.3rem;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05), transparent 12% 88%, rgba(0, 0, 0, 0.25)),
    linear-gradient(#111d30, #0a1322);
  box-shadow: 0 34px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: rotateY(13deg);
  transform-origin: 0 50%;
}

.ys-hs-rack::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  background: linear-gradient(112deg, rgba(255, 255, 255, 0.075) 0 16%, transparent 32% 72%, rgba(255, 255, 255, 0.03) 86%);
  pointer-events: none;
}

.ys-hs-rack__cap {
  display: flex;
  flex: 0 0 1.6rem;
  align-items: center;
  gap: 0.35rem;
  padding: 0 0.7rem;
  border-block-end: 1px solid rgba(0, 0, 0, 0.5);
  background: linear-gradient(#1a283d, #121e30);
  border-radius: 0.55rem 0.55rem 0 0;
}

.ys-hs-rack__cap span {
  margin-inline-end: auto;
  color: #7f90a8;
  font-family: var(--hs-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.ys-hs-rack__cap i {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--hs-green);
  box-shadow: 0 0 6px rgba(47, 191, 113, 0.8);
}

.ys-hs-rack__cap i + i {
  background: #4d8df0;
  box-shadow: 0 0 6px rgba(77, 141, 240, 0.8);
}

.ys-hs-rack__body {
  position: relative;
  display: grid;
  flex: 1 1 auto;
  grid-template-rows: 2.2rem 0.7fr 2fr 2fr 1fr 2fr 0.7fr 1fr;
  gap: 0.28rem;
  min-height: 0;
  padding: 0.5rem 0.95rem;
}

.ys-hs-rail {
  position: absolute;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 0.4rem;
  border-radius: 1px;
  background:
    repeating-linear-gradient(transparent 0 0.38rem, rgba(0, 0, 0, 0.7) 0.38rem 0.58rem) center / 0.2rem 100% no-repeat,
    linear-gradient(90deg, #223149, #1a283c);
}

.ys-hs-rail--l { left: 0.3rem; }
.ys-hs-rail--r { right: 0.3rem; }

.ys-hs-u {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  min-height: 0;
  padding: 0 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 0.22rem;
  background: linear-gradient(#1d2b40, #142236 55%, #0f1a2b);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 2px 4px rgba(0, 0, 0, 0.35);
  transition: border-color 0.5s ease, box-shadow 0.5s ease;
}

.ys-hs-u--blank {
  background: linear-gradient(#111c2d, #0c1626);
}

.ys-hs-u--pdu {
  background: linear-gradient(#18222f, #10171f);
}

.ys-hs-u__leds {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 0.24rem;
}

.ys-hs-u__leds b {
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 50%;
  background: var(--hs-green);
  box-shadow: 0 0 5px rgba(47, 191, 113, 0.75);
}

.ys-hs-u__leds b + b {
  background: #4d8df0;
  box-shadow: 0 0 5px rgba(77, 141, 240, 0.7);
  opacity: 0.45;
}

.ys-hs-u__tag {
  flex: 0 0 2.4rem;
  color: #7f90a8;
  font-family: var(--hs-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  transition: color 0.5s ease;
}

.ys-hs-u__vent {
  flex: 1 1 auto;
  align-self: stretch;
  min-width: 0;
  margin-block: 0.45rem;
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0 2px, rgba(255, 255, 255, 0.025) 2px 5px);
}

.ys-hs-u--blank .ys-hs-u__vent {
  margin-block: 0.2rem;
}

.ys-hs-u__bays {
  display: flex;
  flex: 0 0 auto;
  gap: 0.2rem;
  height: 72%;
}

.ys-hs-u__bays i {
  position: relative;
  width: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 2px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.12)) 50% 22% / 55% 1px no-repeat,
    linear-gradient(#26364d, #182639);
}

.ys-hs-u__bays i::after {
  content: "";
  position: absolute;
  bottom: 0.28rem;
  left: 50%;
  width: 0.24rem;
  height: 0.24rem;
  margin-left: -0.12rem;
  border-radius: 50%;
  background: var(--hs-green);
  opacity: 0.8;
}

.ys-hs-u__bays--8 {
  flex: 1 1 auto;
  min-width: 0;
}

.ys-hs-u__bays--8 i {
  flex: 1 1 0;
  width: auto;
  max-width: 0.95rem;
}

.ys-hs-u__ports {
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0.2rem;
  min-width: 0;
}

.ys-hs-u__ports i {
  position: relative;
  height: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1px;
  background: #050b14;
}

.ys-hs-u__ports i::before {
  content: "";
  position: absolute;
  top: -0.3rem;
  left: 0.1rem;
  width: 0.2rem;
  height: 0.16rem;
  border-radius: 1px;
  background: var(--hs-green);
  opacity: 0.85;
}

/* uplinks: straight up to the overhead tray */
.ys-hs-u__ports i:nth-child(-n+6)::after {
  content: "";
  position: absolute;
  bottom: 50%;
  left: 50%;
  width: 3px;
  height: 4.7rem;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--cable, #2f6fd6);
  background-size: 100% 260%;
  opacity: 0.9;
}

.ys-hs-u__ports i:nth-child(2) { --cable: #3b4d68; }
.ys-hs-u__ports i:nth-child(3) { --cable: #c86a2a; }
.ys-hs-u__ports i:nth-child(4) { --cable: #2f6fd6; }
.ys-hs-u__ports i:nth-child(5) { --cable: #3b4d68; }
.ys-hs-u__ports i:nth-child(6) { --cable: #2a5fb8; }

.ys-hs-u__outlets {
  display: flex;
  flex: 1 1 auto;
  justify-content: space-around;
  min-width: 0;
}

.ys-hs-u__outlets i {
  width: 0.7rem;
  height: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 2px;
  background: #070d16;
}

/* the units involved in the current stage */
.ys-hs-hub[data-step="acct"] :is(.ys-hs-u--web, .ys-hs-u--disk),
.ys-hs-hub[data-step="dom"] .ys-hs-u--net,
.ys-hs-hub[data-step="files"] :is(.ys-hs-u--disk, .ys-hs-u--web),
.ys-hs-hub[data-step="db"] .ys-hs-u--db,
.ys-hs-hub[data-step="live"] :is(.ys-hs-u--net, .ys-hs-u--web),
.ys-hs-hub[data-step="mail"] :is(.ys-hs-u--mail, .ys-hs-u--net) {
  border-color: rgba(230, 122, 46, 0.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 0 0 1px rgba(230, 122, 46, 0.22), 0 0 18px rgba(230, 122, 46, 0.22);
}

.ys-hs-hub[data-step="acct"] :is(.ys-hs-u--web, .ys-hs-u--disk) .ys-hs-u__tag,
.ys-hs-hub[data-step="dom"] .ys-hs-u--net .ys-hs-u__tag,
.ys-hs-hub[data-step="files"] :is(.ys-hs-u--disk, .ys-hs-u--web) .ys-hs-u__tag,
.ys-hs-hub[data-step="db"] .ys-hs-u--db .ys-hs-u__tag,
.ys-hs-hub[data-step="live"] :is(.ys-hs-u--net, .ys-hs-u--web) .ys-hs-u__tag,
.ys-hs-hub[data-step="mail"] :is(.ys-hs-u--mail, .ys-hs-u--net) .ys-hs-u__tag {
  color: #f3a46b;
}

/* panel */
.ys-hs-app {
  container: hsapp / inline-size;
  position: absolute;
  top: 1.1rem;
  right: 0;
  bottom: 1.1rem;
  left: 33%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  background: var(--hb-bg);
  box-shadow: -18px 30px 64px rgba(0, 0, 0, 0.45), 0 0 0 6px rgba(255, 255, 255, 0.03);
  font-size: 0.8rem;
  line-height: 1.35;
}

.ys-hs .ys-hs-app p {
  margin: 0;
}

.ys-hs-app__bar {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  padding: 0.55rem 0.75rem;
  border-block-end: 1px solid var(--hb-line);
  background: var(--hb-side);
  font-size: 0.72rem;
}

.ys-hs-app__dots {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 0.3rem;
}

.ys-hs-app__dots i {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.ys-hs-app__dots i:first-child {
  background: rgba(230, 122, 46, 0.75);
}

.ys-hs-app__url {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #c5cfdc;
  font-weight: 600;
}

.ys-hs-app__url i {
  flex: 0 0 auto;
  color: var(--hb-mut);
}

.ys-hs-app__url > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ys-hs-app__url em {
  color: #7d8ba0;
  font-style: normal;
}

.ys-hs-app__badge {
  flex: 0 0 auto;
  padding: 0.16rem 0.55rem;
  border: 1px solid rgba(230, 122, 46, 0.45);
  border-radius: 999px;
  color: #f3a46b;
  font-size: 0.7rem;
  font-weight: 800;
  white-space: nowrap;
}

/* stage tabs */
.ys-hs .ys-hs-steps {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.2rem;
  margin: 0;
  padding: 0.45rem 0.5rem 0.55rem;
  border-block-end: 1px solid var(--hb-line);
  background: var(--hb-side);
  list-style: none;
}

.ys-hs-steps::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--hs-orange);
  transform-origin: 0 50%;
  transition: transform 0.6s ease;
}

.ys-hs-hub[data-step="acct"] .ys-hs-steps::after { transform: scaleX(0.1667); }
.ys-hs-hub[data-step="dom"] .ys-hs-steps::after { transform: scaleX(0.3333); }
.ys-hs-hub[data-step="files"] .ys-hs-steps::after { transform: scaleX(0.5); }
.ys-hs-hub[data-step="db"] .ys-hs-steps::after { transform: scaleX(0.6667); }
.ys-hs-hub[data-step="live"] .ys-hs-steps::after { transform: scaleX(0.8333); }
.ys-hs-hub[data-step="reset"] .ys-hs-steps::after { transform: scaleX(0); transition-duration: 0.5s; }

.ys-hs-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  min-width: 0;
  padding: 0.3rem 0.15rem;
  border-radius: 0.5rem;
  color: var(--hb-mut);
  font-size: 0.68rem;
  font-weight: 700;
  text-align: center;
  transition: background-color 0.35s ease, color 0.35s ease;
}

.ys-hs-step i {
  display: grid;
  width: 1.5rem;
  height: 1.5rem;
  place-items: center;
  border-radius: 0.42rem;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.78rem;
  transition: background-color 0.35s ease, color 0.35s ease;
}

.ys-hs-step span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* done: every stage before the current one (no step = finished overview) */
.ys-hs-hub[data-step="dom"] [data-s="acct"],
.ys-hs-hub[data-step="files"] :is([data-s="acct"], [data-s="dom"]),
.ys-hs-hub[data-step="db"] :is([data-s="acct"], [data-s="dom"], [data-s="files"]),
.ys-hs-hub[data-step="live"] :is([data-s="acct"], [data-s="dom"], [data-s="files"], [data-s="db"]),
.ys-hs-hub[data-step="mail"] :is([data-s="acct"], [data-s="dom"], [data-s="files"], [data-s="db"], [data-s="live"]),
.ys-hs-hub:not([data-step]) .ys-hs-step:not([data-s="live"]) {
  color: #c5cfdc;
}

.ys-hs-hub[data-step="dom"] [data-s="acct"] i,
.ys-hs-hub[data-step="files"] :is([data-s="acct"], [data-s="dom"]) i,
.ys-hs-hub[data-step="db"] :is([data-s="acct"], [data-s="dom"], [data-s="files"]) i,
.ys-hs-hub[data-step="live"] :is([data-s="acct"], [data-s="dom"], [data-s="files"], [data-s="db"]) i,
.ys-hs-hub[data-step="mail"] :is([data-s="acct"], [data-s="dom"], [data-s="files"], [data-s="db"], [data-s="live"]) i,
.ys-hs-hub:not([data-step]) .ys-hs-step:not([data-s="live"]) i {
  background: rgba(47, 111, 214, 0.16);
  color: var(--hs-sky);
}

/* current */
.ys-hs-hub[data-step="acct"] [data-s="acct"],
.ys-hs-hub[data-step="dom"] [data-s="dom"],
.ys-hs-hub[data-step="files"] [data-s="files"],
.ys-hs-hub[data-step="db"] [data-s="db"],
.ys-hs-hub:is(:not([data-step]), [data-step="live"]) [data-s="live"],
.ys-hs-hub[data-step="mail"] [data-s="mail"] {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.ys-hs-hub[data-step="acct"] [data-s="acct"] i,
.ys-hs-hub[data-step="dom"] [data-s="dom"] i,
.ys-hs-hub[data-step="files"] [data-s="files"] i,
.ys-hs-hub[data-step="db"] [data-s="db"] i,
.ys-hs-hub:is(:not([data-step]), [data-step="live"]) [data-s="live"] i,
.ys-hs-hub[data-step="mail"] [data-s="mail"] i {
  background: var(--hs-orange);
  color: #fff;
}

/* panes */
.ys-hs-panes {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  padding: 0.9rem 0.95rem 0.8rem;
  background:
    radial-gradient(circle at 100% 0, rgba(47, 111, 214, 0.13), transparent 46%),
    var(--hb-panel);
}

.ys-hs-pane {
  display: none;
  flex-direction: column;
  gap: 0.6rem;
  height: 100%;
  min-height: 0;
}

.ys-hs-pane > * {
  flex-shrink: 0;
}

.ys-hs-hub:is(:not([data-step]), [data-step="live"]) .ys-hs-pane--live,
.ys-hs-hub[data-step="acct"] .ys-hs-pane--acct,
.ys-hs-hub[data-step="dom"] .ys-hs-pane--dom,
.ys-hs-hub[data-step="files"] .ys-hs-pane--files,
.ys-hs-hub[data-step="db"] .ys-hs-pane--db,
.ys-hs-hub:is([data-step="mail"], [data-step="reset"]) .ys-hs-pane--mail {
  display: flex;
}

.ys-hs .ys-hs-pane__t {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
}

.ys-hs-pane__t b {
  padding: 0.08rem 0.35rem;
  border: 1px solid rgba(230, 122, 46, 0.45);
  border-radius: 0.3rem;
  color: #f3a46b;
  font-family: var(--hs-mono);
  font-size: 0.72rem;
  font-weight: 600;
}

.ys-hs .ys-hs-pane__d {
  color: #a3b2c6;
  font-size: 0.76rem;
  line-height: 1.45;
}

.ys-hs .ys-hs-foot {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin-block-start: auto;
  color: var(--hb-mut);
  font-size: 0.7rem;
  line-height: 1.4;
}

.ys-hs-foot i {
  color: #f3a46b;
}

/* pane: account */
.ys-hs-kv {
  display: grid;
  margin: 0;
  border: 1px solid var(--hb-line);
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.025);
}

.ys-hs-kv > div {
  display: grid;
  grid-template-columns: 6.2rem minmax(0, 1fr);
  gap: 0.6rem;
  padding: 0.38rem 0.7rem;
}

.ys-hs-kv > div + div {
  border-block-start: 1px solid var(--hb-line);
}

.ys-hs-kv dt {
  color: var(--hb-mut);
  font-size: 0.72rem;
  font-weight: 600;
}

.ys-hs-kv dd {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #fff;
  font-size: 0.74rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ys-hs .ys-hs-prep {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ys-hs-prep li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  padding: 0.38rem 0.45rem;
  border: 1px solid rgba(47, 191, 113, 0.32);
  border-radius: 0.5rem;
  background: rgba(47, 191, 113, 0.08);
  color: #cfe9db;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}

.ys-hs-prep i {
  color: var(--hs-green);
}

/* pane: domain */
.ys-hs-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(1.4rem, 0.45fr) minmax(0, 1fr);
  align-items: center;
}

.ys-hs-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  min-width: 0;
  padding: 0.5rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.6rem;
  background: #0c182a;
  text-align: center;
}

.ys-hs-node i {
  color: var(--hs-sky);
  font-size: 0.95rem;
  line-height: 1;
}

.ys-hs-node b {
  max-width: 100%;
  overflow: hidden;
  color: #fff;
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ys-hs-node small {
  color: var(--hb-mut);
  font-size: 0.68rem;
}

.ys-hs-node--srv {
  border-color: rgba(230, 122, 46, 0.5);
}

.ys-hs-node--srv i {
  color: #f3a46b;
}

.ys-hs-wire,
.ys-hs-dbx__wire {
  position: relative;
  height: 2px;
  border-radius: 2px;
  background: rgba(156, 192, 255, 0.45);
  transform-origin: 0 50%;
}

.ys-hs-pkt {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.45rem;
  height: 0.45rem;
  margin: -0.225rem 0 0 -0.225rem;
  border-radius: 50%;
  background: var(--hs-orange);
  box-shadow: 0 0 8px rgba(230, 122, 46, 0.8);
  opacity: 0;
}

.ys-hs-recs {
  border: 1px solid var(--hb-line);
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.025);
}

.ys-hs .ys-hs-recs p {
  display: grid;
  grid-template-columns: 3.6rem 2.2rem minmax(0, 1fr);
  gap: 0.5rem;
  align-items: center;
  padding: 0.36rem 0.7rem;
  font-size: 0.74rem;
}

.ys-hs .ys-hs-recs p + p {
  border-block-start: 1px solid var(--hb-line);
}

.ys-hs-recs span {
  min-width: 0;
  overflow: hidden;
  color: #fff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ys-hs-type {
  justify-self: start;
  padding: 0.05rem 0.4rem;
  border-radius: 0.3rem;
  background: rgba(47, 111, 214, 0.2);
  color: var(--hs-sky);
  font-family: var(--hs-mono);
  font-size: 0.68rem;
  font-weight: 700;
}

.ys-hs-type--c {
  background: rgba(156, 192, 255, 0.12);
}

.ys-hs-type--m {
  background: rgba(230, 122, 46, 0.18);
  color: #f3a46b;
}

/* pane: files */
.ys-hs-upl {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--hb-line);
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.74rem;
}

.ys-hs-upl > i:first-child {
  color: var(--hs-sky);
}

.ys-hs-upl > span {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  color: #fff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ys-hs-upl__bar {
  position: relative;
  flex: 1 1 3rem;
  min-width: 2.5rem;
  height: 0.36rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.ys-hs-upl__bar b {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--hs-blue), var(--hs-sky));
  transform-origin: 0 50%;
}

.ys-hs-upl__ok {
  color: var(--hs-green);
}

.ys-hs .ys-hs-tree {
  display: grid;
  margin: 0;
  padding: 0.25rem 0;
  border: 1px solid var(--hb-line);
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.025);
  list-style: none;
}

.ys-hs-tree li {
  display: grid;
  grid-template-columns: 1rem minmax(0, 1fr) auto;
  gap: 0.45rem;
  align-items: center;
  padding: 0.26rem 0.7rem 0.26rem 1.6rem;
  font-size: 0.74rem;
}

.ys-hs-tree .ys-hs-tree__dir {
  padding-inline-start: 0.7rem;
}

.ys-hs-tree i {
  color: var(--hs-sky);
}

.ys-hs-tree li:nth-child(2) i {
  color: #b7a3ff;
}

.ys-hs-tree span {
  min-width: 0;
  overflow: hidden;
  color: #fff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ys-hs-tree em {
  color: var(--hb-mut);
  font-size: 0.68rem;
  font-style: normal;
}

/* pane: database */
.ys-hs-dbx {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.6rem minmax(0, 1.15fr);
  align-items: center;
}

.ys-hs-dbcard,
.ys-hs-code {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
  padding: 0.6rem 0.65rem;
  border: 1px solid var(--hb-line);
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.03);
}

.ys-hs .ys-hs-dbcard__h,
.ys-hs .ys-hs-code__h {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
}

.ys-hs-dbcard__h i {
  color: #f3a46b;
}

.ys-hs-code__h i {
  color: #b7a3ff;
}

.ys-hs .ys-hs-dbcard p:not(.ys-hs-dbcard__h) {
  display: grid;
  gap: 0.05rem;
}

.ys-hs-dbcard small {
  color: var(--hb-mut);
  font-size: 0.68rem;
}

.ys-hs-dbcard span {
  overflow: hidden;
  color: #fff;
  font-size: 0.74rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ys-hs-code {
  background: #070f1c;
}

.ys-hs .ys-hs-code p:not(.ys-hs-code__h) {
  overflow: hidden;
  color: #9fd8b6;
  font-size: 0.7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ys-hs-code em {
  margin-inline-end: 0.35rem;
  color: var(--hs-sky);
  font-style: normal;
}

.ys-hs-pkt--back {
  background: var(--hs-sky);
  box-shadow: 0 0 8px rgba(156, 192, 255, 0.8);
}

/* pane: live */
.ys-hs-live {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 0.6rem;
  align-items: start;
}

.ys-hs-site {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.6rem;
  background: #f4f7fb;
}

.ys-hs .ys-hs-site__addr {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.5rem;
  background: #e3e9f2;
  color: #24364f;
  font-size: 0.7rem;
}

.ys-hs-site__addr i {
  color: #1f9d5c;
}

.ys-hs-site__addr span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ys-hs-site__page {
  display: grid;
  gap: 0.4rem;
  padding: 0.5rem;
}

.ys-hs .ys-hs-site__nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.ys-hs-site__nav b {
  margin-inline-end: auto;
  color: #15243a;
  font-size: 0.72rem;
}

.ys-hs-site__nav i {
  width: 1.1rem;
  height: 0.25rem;
  border-radius: 2px;
  background: #c6d0dd;
}

.ys-hs-site__hero {
  display: grid;
  gap: 0.3rem;
  padding: 0.55rem 0.6rem;
  border-radius: 0.4rem;
  background: linear-gradient(120deg, #0d2342, #1d3a66);
}

.ys-hs-site__hero b {
  color: #fff;
  font-size: 0.74rem;
}

.ys-hs-site__hero i {
  width: 70%;
  height: 0.25rem;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
}

.ys-hs-site__hero em {
  width: 2.6rem;
  height: 0.65rem;
  border-radius: 999px;
  background: var(--hs-orange);
}

.ys-hs .ys-hs-site__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.3rem;
}

.ys-hs-site__cards i {
  height: 1.5rem;
  border: 1px solid #dfe5ee;
  border-radius: 0.3rem;
  background: #fff;
}

.ys-hs .ys-hs-checks {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ys-hs-checks li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.5rem;
  border: 1px solid rgba(47, 191, 113, 0.3);
  border-radius: 0.5rem;
  background: rgba(47, 191, 113, 0.08);
  color: #dcefe4;
  font-size: 0.72rem;
  font-weight: 700;
}

.ys-hs-checks i {
  display: grid;
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--hs-green);
  color: #062414;
  font-size: 0.7rem;
}

/* pane: mail */
.ys-hs .ys-hs-boxes {
  display: grid;
  margin: 0;
  padding: 0.2rem 0;
  border: 1px solid var(--hb-line);
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.025);
  list-style: none;
}

.ys-hs-boxes li {
  display: grid;
  grid-template-columns: 1rem minmax(0, 1fr) 4.2rem;
  gap: 0.5rem;
  align-items: center;
  padding: 0.4rem 0.7rem;
  font-size: 0.74rem;
}

.ys-hs-boxes li + li {
  border-block-start: 1px solid var(--hb-line);
}

.ys-hs-boxes i {
  color: var(--hs-sky);
}

.ys-hs-boxes span {
  min-width: 0;
  overflow: hidden;
  color: #fff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ys-hs-boxes b {
  position: relative;
  height: 0.32rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.ys-hs-boxes b em {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--hs-sky);
  transform: scaleX(var(--q, 0.3));
  transform-origin: 0 50%;
}

.ys-hs-boxes__new {
  background: rgba(230, 122, 46, 0.07);
}

.ys-hs-boxes__new i {
  color: #f3a46b;
}

.ys-hs-boxes strong {
  justify-self: end;
  padding: 0.05rem 0.4rem;
  border: 1px solid rgba(230, 122, 46, 0.5);
  border-radius: 999px;
  color: #f3a46b;
  font-size: 0.68rem;
  white-space: nowrap;
}

.ys-hs .ys-hs-mx {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  padding: 0.4rem 0.7rem;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 0.6rem;
  font-size: 0.74rem;
}

.ys-hs-mx span {
  min-width: 0;
  overflow: hidden;
  color: #fff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* cursor */
.ys-hs-cursor {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 8;
  opacity: 0;
  pointer-events: none;
  transform: translateX(var(--cx, 0));
  transition: transform 0.95s cubic-bezier(0.55, 0.05, 0.3, 1), opacity 0.4s ease;
}

.ys-hs-cursor__y {
  position: relative;
  display: block;
  transform: translateY(var(--cy, 0));
  transition: transform 0.95s cubic-bezier(0.2, 0.65, 0.35, 1);
}

.ys-hs-cursor svg {
  display: block;
  filter: drop-shadow(0 3px 5px rgba(7, 20, 38, 0.35));
}

.ys-hs-cursor__y::after {
  content: "";
  position: absolute;
  top: -0.55rem;
  left: -0.55rem;
  width: 1.4rem;
  height: 1.4rem;
  border: 2px solid var(--hs-orange);
  border-radius: 50%;
  opacity: 0;
}

.ys-hs-cursor.is-press .ys-hs-cursor__y::after {
  animation: ys-hs-ring 0.55s ease-out;
}

.ys-hs.is-ready .ys-hs-hub.is-live .ys-hs-cursor {
  opacity: 1;
}

/* ---------- Hero motion (only while .is-live; otherwise every pane is in its final state) ---------- */
.ys-hs-hub.is-live:not([data-step="reset"]) .ys-hs-pane {
  animation: ys-hs-in 0.45s ease both;
}

.ys-hs-hub.is-live[data-step="reset"] .ys-hs-pane--mail {
  animation: ys-hs-out 0.6s ease forwards;
}

/* rack: activity LEDs and uplink traffic for the units in use */
.ys-hs-hub.is-live[data-step="acct"] :is(.ys-hs-u--web, .ys-hs-u--disk) .ys-hs-u__leds b + b,
.ys-hs-hub.is-live[data-step="dom"] .ys-hs-u--net .ys-hs-u__leds b + b,
.ys-hs-hub.is-live[data-step="files"] :is(.ys-hs-u--disk, .ys-hs-u--web) .ys-hs-u__leds b + b,
.ys-hs-hub.is-live[data-step="db"] .ys-hs-u--db .ys-hs-u__leds b + b,
.ys-hs-hub.is-live[data-step="live"] :is(.ys-hs-u--net, .ys-hs-u--web) .ys-hs-u__leds b + b,
.ys-hs-hub.is-live[data-step="mail"] :is(.ys-hs-u--mail, .ys-hs-u--net) .ys-hs-u__leds b + b {
  animation: ys-hs-blink 0.9s steps(2, jump-none) infinite;
}

.ys-hs-hub.is-live[data-step="files"] .ys-hs-u--disk .ys-hs-u__bays i:nth-child(odd)::after,
.ys-hs-hub.is-live[data-step="db"] .ys-hs-u--db .ys-hs-u__bays i::after {
  animation: ys-hs-blink 0.7s steps(2, jump-none) infinite;
}

.ys-hs-hub.is-live:is([data-step="dom"], [data-step="live"], [data-step="mail"]) .ys-hs-u__ports i:nth-child(-n+6)::after {
  background-image: linear-gradient(transparent 0 38%, rgba(214, 230, 255, 0.95) 50%, transparent 62% 100%);
  animation: ys-hs-flow 1.6s linear infinite;
}

.ys-hs-hub.is-live .ys-hs-u__ports i:nth-child(3)::after { animation-delay: -0.5s; }
.ys-hs-hub.is-live .ys-hs-u__ports i:nth-child(5)::after { animation-delay: -1.1s; }

/* Each stage settles within ~2.5s; the rest of its slot shows the finished state. */
.ys-hs-hub.is-live[data-step="acct"] .ys-hs-kv > div {
  animation: ys-hs-row 0.35s ease both;
}

.ys-hs-hub.is-live[data-step="acct"] .ys-hs-kv > div:nth-child(2) { animation-delay: 0.12s; }
.ys-hs-hub.is-live[data-step="acct"] .ys-hs-kv > div:nth-child(3) { animation-delay: 0.24s; }
.ys-hs-hub.is-live[data-step="acct"] .ys-hs-kv > div:nth-child(4) { animation-delay: 0.36s; }

.ys-hs-hub.is-live[data-step="acct"] .ys-hs-prep li {
  animation: ys-hs-chip 0.5s ease both;
  animation-delay: 0.9s;
}

.ys-hs-hub.is-live[data-step="acct"] .ys-hs-prep li:nth-child(2) { animation-delay: 1.4s; }
.ys-hs-hub.is-live[data-step="acct"] .ys-hs-prep li:nth-child(3) { animation-delay: 1.9s; }

.ys-hs-hub.is-live[data-step="dom"] .ys-hs-wire {
  animation: ys-hs-wire 0.5s ease both;
  animation-delay: 0.4s;
}

.ys-hs-hub.is-live[data-step="dom"] .ys-hs-wire .ys-hs-pkt {
  animation: ys-hs-pkt 0.7s ease-in-out both;
  animation-delay: 0.9s;
}

.ys-hs-hub.is-live[data-step="dom"] .ys-hs-node--srv {
  animation: ys-hs-glow 0.7s ease-out both;
  animation-delay: 1.5s;
}

.ys-hs-hub.is-live[data-step="dom"] .ys-hs-recs p {
  animation: ys-hs-row 0.35s ease both, ys-hs-flash 0.9s ease both;
  animation-delay: 1.1s, 1.1s;
}

.ys-hs-hub.is-live[data-step="dom"] .ys-hs-recs p:nth-child(2) { animation-delay: 1.35s, 1.35s; }
.ys-hs-hub.is-live[data-step="dom"] .ys-hs-recs p:nth-child(3) { animation-delay: 1.6s, 1.6s; }

.ys-hs-hub.is-live[data-step="dom"] .ys-hs-pane--dom .ys-hs-foot {
  animation: ys-hs-in 0.4s ease both;
  animation-delay: 2s;
}

.ys-hs-hub.is-live[data-step="files"] .ys-hs-upl__bar b {
  animation: ys-hs-fill 1.4s cubic-bezier(0.3, 0.6, 0.4, 1) both;
  animation-delay: 0.3s;
}

.ys-hs-hub.is-live[data-step="files"] .ys-hs-upl__ok {
  animation: ys-hs-pop 0.35s ease both;
  animation-delay: 1.7s;
}

.ys-hs-hub.is-live[data-step="files"] .ys-hs-tree li {
  animation: ys-hs-row 0.35s ease both;
  animation-delay: 0.9s;
}

.ys-hs-hub.is-live[data-step="files"] .ys-hs-tree li:nth-child(2) { animation-delay: 1.1s; }
.ys-hs-hub.is-live[data-step="files"] .ys-hs-tree li:nth-child(3) { animation-delay: 1.3s; }
.ys-hs-hub.is-live[data-step="files"] .ys-hs-tree li:nth-child(4) { animation-delay: 1.5s; }
.ys-hs-hub.is-live[data-step="files"] .ys-hs-tree li:nth-child(5) { animation-delay: 1.7s; }

.ys-hs-hub.is-live[data-step="db"] .ys-hs-code p:not(.ys-hs-code__h) {
  animation: ys-hs-row 0.3s ease both;
  animation-delay: 0.4s;
}

.ys-hs-hub.is-live[data-step="db"] .ys-hs-code p:nth-child(3) { animation-delay: 0.6s; }
.ys-hs-hub.is-live[data-step="db"] .ys-hs-code p:nth-child(4) { animation-delay: 0.8s; }
.ys-hs-hub.is-live[data-step="db"] .ys-hs-code p:nth-child(5) { animation-delay: 1s; }

.ys-hs-hub.is-live[data-step="db"] .ys-hs-dbx__wire .ys-hs-pkt {
  animation: ys-hs-pkt-r 0.6s ease-in-out both;
  animation-delay: 1.35s;
}

.ys-hs-hub.is-live[data-step="db"] .ys-hs-dbx__wire .ys-hs-pkt--back {
  animation-name: ys-hs-pkt;
  animation-delay: 1.9s;
}

.ys-hs-hub.is-live[data-step="db"] .ys-hs-dbcard {
  animation: ys-hs-glow 0.7s ease-out both;
  animation-delay: 1.9s;
}

.ys-hs-hub.is-live[data-step="live"] .ys-hs-site {
  animation: ys-hs-in 0.5s ease both;
  animation-delay: 0.25s;
}

.ys-hs-hub.is-live[data-step="live"] .ys-hs-site__page {
  animation: ys-hs-load 0.7s ease both;
  animation-delay: 0.55s;
}

.ys-hs-hub.is-live[data-step="live"] .ys-hs-checks li {
  animation: ys-hs-chip 0.45s ease both;
  animation-delay: 1.2s;
}

.ys-hs-hub.is-live[data-step="live"] .ys-hs-checks li:nth-child(2) { animation-delay: 1.6s; }
.ys-hs-hub.is-live[data-step="live"] .ys-hs-checks li:nth-child(3) { animation-delay: 2s; }

.ys-hs-hub.is-live[data-step="live"] .ys-hs-pane--live .ys-hs-foot {
  animation: ys-hs-in 0.4s ease both;
  animation-delay: 2.2s;
}

.ys-hs-hub.is-live[data-step="mail"] .ys-hs-boxes li {
  animation: ys-hs-row 0.35s ease both;
  animation-delay: 0.3s;
}

.ys-hs-hub.is-live[data-step="mail"] .ys-hs-boxes li:nth-child(2) { animation-delay: 0.5s; }

.ys-hs-hub.is-live[data-step="mail"] .ys-hs-boxes__new {
  animation: ys-hs-row 0.4s ease both, ys-hs-flash 1.2s ease both;
  animation-delay: 1.3s, 1.3s;
}

.ys-hs-hub.is-live[data-step="mail"] .ys-hs-boxes b em {
  animation: ys-hs-fill-q 0.9s ease both;
  animation-delay: 0.7s;
}

.ys-hs-hub.is-live[data-step="mail"] .ys-hs-mx {
  animation: ys-hs-in 0.4s ease both;
  animation-delay: 1.9s;
}

@keyframes ys-hs-in {
  from { opacity: 0; transform: translateY(0.3rem); }
  to { opacity: 1; transform: none; }
}

@keyframes ys-hs-out {
  to { opacity: 0; }
}

@keyframes ys-hs-row {
  from { opacity: 0; transform: translateX(-0.4rem); }
  to { opacity: 1; transform: none; }
}

@keyframes ys-hs-chip {
  from { border-color: rgba(255, 255, 255, 0.08); background-color: rgba(255, 255, 255, 0.02); color: #7d8ba0; }
  to { border-color: rgba(47, 191, 113, 0.32); background-color: rgba(47, 191, 113, 0.08); }
}

@keyframes ys-hs-flash {
  0% { background-color: rgba(230, 122, 46, 0.18); }
  100% { background-color: transparent; }
}

@keyframes ys-hs-wire {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes ys-hs-pkt {
  0% { left: 0; opacity: 0; }
  15%, 85% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

@keyframes ys-hs-pkt-r {
  0% { left: 100%; opacity: 0; }
  15%, 85% { opacity: 1; }
  100% { left: 0; opacity: 0; }
}

@keyframes ys-hs-glow {
  0% { box-shadow: 0 0 0 0 rgba(230, 122, 46, 0.55); }
  100% { box-shadow: 0 0 0 0.55rem rgba(230, 122, 46, 0); }
}

@keyframes ys-hs-fill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes ys-hs-fill-q {
  from { transform: scaleX(0); }
  to { transform: scaleX(var(--q, 0.3)); }
}

@keyframes ys-hs-pop {
  from { opacity: 0; transform: scale(0.4); }
  to { opacity: 1; transform: none; }
}

@keyframes ys-hs-load {
  from { opacity: 0; filter: blur(2px); }
  to { opacity: 1; filter: none; }
}

@keyframes ys-hs-blink {
  0% { opacity: 1; }
  100% { opacity: 0.25; }
}

@keyframes ys-hs-flow {
  from { background-position: 50% 100%; }
  to { background-position: 50% 0; }
}

@keyframes ys-hs-ring {
  from { opacity: 0.9; transform: scale(0.4); }
  to { opacity: 0; transform: scale(1.5); }
}

/* mid-width hero: the panel takes more of the frame */
@container hshero (max-width: 36rem) {
  .ys-hs-dc {
    width: 34%;
  }

  .ys-hs-app {
    left: 26%;
  }

  .ys-hs-u__tag,
  .ys-hs-rack__cap span {
    display: none;
  }

  .ys-hs-u__bays:not(.ys-hs-u__bays--8) i:nth-child(n+3) {
    display: none;
  }
}

/* narrow hero: slim rack strip, icon-only stage tabs, no cursor */
@container hshero (max-width: 30rem) {
  .ys-hs-dc {
    width: 26%;
  }

  .ys-hs-app {
    top: 0.7rem;
    bottom: 0.7rem;
    left: 17%;
  }

  .ys-hs-rack {
    left: 0;
  }

  .ys-hs-rack__body {
    padding-inline: 0.75rem;
  }

  .ys-hs-u {
    padding-inline: 0.3rem;
  }

  .ys-hs-u__vent,
  .ys-hs-u__bays,
  .ys-hs-u__outlets {
    display: none;
  }

  .ys-hs-u__ports {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ys-hs-u__ports i:nth-child(n+4) {
    display: none;
  }

  .ys-hs-app__url em {
    display: none;
  }

  .ys-hs-cursor {
    display: none;
  }
}

/* narrow panel content */
@container hsapp (max-width: 23rem) {
  .ys-hs-app__badge {
    display: none;
  }

  .ys-hs .ys-hs-steps {
    padding: 0.35rem 0.4rem 0.45rem;
  }

  .ys-hs-step span {
    display: none;
  }

  .ys-hs-panes {
    padding: 0.7rem 0.75rem 0.65rem;
  }

  .ys-hs-pane {
    gap: 0.5rem;
  }

  .ys-hs .ys-hs-pane__t {
    font-size: 0.88rem;
  }

  .ys-hs-kv > div {
    grid-template-columns: 5.2rem minmax(0, 1fr);
    padding: 0.32rem 0.6rem;
  }

  .ys-hs .ys-hs-prep {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .ys-hs-prep li:last-child {
    grid-column: 1 / -1;
  }

  .ys-hs .ys-hs-recs p {
    grid-template-columns: 3.3rem 1.8rem minmax(0, 1fr);
    padding: 0.3rem 0.6rem;
  }

  .ys-hs-node {
    padding: 0.4rem 0.35rem;
  }

  .ys-hs-dbx {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 0.8rem auto;
    justify-items: stretch;
  }

  .ys-hs-dbx__wire {
    justify-self: center;
    width: 2px;
    height: 100%;
  }

  .ys-hs-hub.is-live[data-step="db"] .ys-hs-dbx__wire .ys-hs-pkt {
    animation-name: ys-hs-pkt-dn;
  }

  .ys-hs-hub.is-live[data-step="db"] .ys-hs-dbx__wire .ys-hs-pkt--back {
    animation-name: ys-hs-pkt-up;
  }

  .ys-hs-dbcard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 0.6rem;
  }

  .ys-hs .ys-hs-dbcard__h {
    grid-column: 1 / -1;
  }

  .ys-hs-dbcard,
  .ys-hs-code {
    gap: 0.2rem;
    padding: 0.45rem 0.6rem;
  }

  .ys-hs .ys-hs-dbcard p:not(.ys-hs-dbcard__h) {
    gap: 0;
  }

  .ys-hs-code p:nth-child(2) {
    display: none;
  }

  .ys-hs-live {
    grid-template-columns: minmax(0, 1fr);
  }

  .ys-hs .ys-hs-checks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.3rem;
  }

  .ys-hs-checks li {
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.35rem 0.2rem;
    text-align: center;
  }

  .ys-hs-boxes li {
    grid-template-columns: 1rem minmax(0, 1fr) 3rem;
    padding: 0.36rem 0.6rem;
  }

  .ys-hs-boxes strong {
    display: none;
  }

  .ys-hs-boxes__new {
    grid-template-columns: 1rem minmax(0, 1fr);
  }
}

@keyframes ys-hs-pkt-dn {
  0% { top: 0; left: 50%; opacity: 0; }
  15%, 85% { opacity: 1; }
  100% { top: 100%; left: 50%; opacity: 0; }
}

@keyframes ys-hs-pkt-up {
  0% { top: 100%; left: 50%; opacity: 0; }
  15%, 85% { opacity: 1; }
  100% { top: 0; left: 50%; opacity: 0; }
}

/* phones: the frame is short, so secondary lines give way to the stage itself */
@media (max-width: 767.98px) {
  .ys-hs .ys-hs-pane__d,
  .ys-hs .ys-hs-site__cards,
  .ys-hs .ys-hs-site__nav,
  .ys-hs .ys-hs-pane--dom .ys-hs-foot,
  .ys-hs-node small,
  .ys-hs-tree li:nth-child(n+5) {
    display: none;
  }

  .ys-hs .ys-hs-points li {
    font-size: 0.9rem;
  }
}

/* ---------- Article: chapters ---------- */
.ys-hs-article.is-grouped > .ys-hs-sec + .ys-hs-sec {
  margin-block-start: clamp(2.6rem, 4.4vw, 3.6rem);
}

.ys-hs-sec[data-ch]::before {
  content: attr(data-no) "\2002\2002" attr(data-ch);
  display: block;
  margin-block-end: 0.95rem;
  padding-block-end: 0.6rem;
  background:
    linear-gradient(var(--hs-orange), var(--hs-orange)) left bottom / 2.4rem 2px no-repeat,
    linear-gradient(var(--hs-line), var(--hs-line)) left bottom / 100% 1px no-repeat;
  color: var(--hs-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.ys-service-article .ys-hs-sec > h2 {
  margin-block: 0 1rem;
}

.ys-service-article .ys-hs-sec > :last-child {
  margin-block-end: 0;
}

.ys-hs .ys-hs-art {
  margin-block: 1.4rem 0;
}

/* links into the real sales page (/web-hosting) and /alan-adi read as a callout */
.ys-service-article :is(.ys-hs-sec--choose, .ys-hs-sec--ssl) > p:has(> a[href*="web-hosting"]),
.ys-service-article .ys-hs-sec--diff > p:has(> a[href*="alan-adi"]) {
  position: relative;
  padding: 0.85rem 1.1rem 0.85rem 3.1rem;
  border: 1px solid rgba(230, 122, 46, 0.28);
  border-radius: 0.85rem;
  background: linear-gradient(100deg, rgba(230, 122, 46, 0.07), #fff 60%);
  color: #33465f;
}

.ys-service-article :is(.ys-hs-sec--choose, .ys-hs-sec--ssl) > p:has(> a[href*="web-hosting"])::before,
.ys-service-article .ys-hs-sec--diff > p:has(> a[href*="alan-adi"])::before {
  content: "";
  position: absolute;
  top: 1.05rem;
  left: 1.1rem;
  width: 1.15rem;
  height: 1.15rem;
  border: 2px solid var(--hs-orange);
  border-radius: 50%;
}

.ys-service-article :is(.ys-hs-sec--choose, .ys-hs-sec--ssl) > p:has(> a[href*="web-hosting"])::after,
.ys-service-article .ys-hs-sec--diff > p:has(> a[href*="alan-adi"])::after {
  content: "";
  position: absolute;
  top: 2.05rem;
  left: 2.05rem;
  width: 0.5rem;
  height: 2px;
  border-radius: 2px;
  background: var(--hs-orange);
  transform: rotate(45deg);
}

/* intro */
.ys-service-article .ys-hs-sec--intro > h2 + p {
  color: #24364f;
  font-size: 1.14rem;
  line-height: 1.75;
}

/* why: text + what is weighed together */
.ys-hs-sec__cols {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(13rem, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.ys-service-article .ys-hs-sec__txt > p:last-child {
  margin-block-end: 0;
}

.ys-hs .ys-hs-weigh {
  margin: 0;
  padding: 0.95rem 1.1rem 0.4rem;
  border: 1px solid var(--hs-line);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 14px 34px rgba(7, 20, 38, 0.05);
}

.ys-hs .ys-hs-weigh__t {
  margin: 0 0 0.35rem;
  color: var(--hs-muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ys-hs .ys-hs-weigh ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ys-hs .ys-hs-weigh li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.58rem 0;
  color: var(--hs-ink);
  font-size: 0.93rem;
  font-weight: 700;
  line-height: 1.4;
}

.ys-hs .ys-hs-weigh li + li {
  border-block-start: 1px solid var(--hs-line);
}

.ys-hs-weigh i {
  display: grid;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 0.6rem;
  background: rgba(47, 111, 214, 0.09);
  color: var(--hs-blue);
}

/* who: project types as a tile grid */
.ys-hs .ys-hs-sec--who > ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  padding: 0;
  list-style: none;
}

.ys-hs .ys-hs-sec--who > ul > li {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 3.6rem;
  padding: 0.75rem 1rem 0.75rem 3.4rem;
  border: 1px solid var(--hs-line);
  border-radius: 0.85rem;
  background: #fff;
  box-shadow: 0 10px 24px rgba(7, 20, 38, 0.04);
  color: var(--hs-ink);
  font-weight: 700;
  line-height: 1.4;
}

.ys-hs .ys-hs-sec--who > ul > li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 1rem;
  width: 1.7rem;
  height: 1.7rem;
  margin-top: -0.85rem;
  border-radius: 0.5rem;
  background:
    linear-gradient(var(--hs-blue), var(--hs-blue)) 50% 34% / 0.8rem 2px no-repeat,
    linear-gradient(var(--hs-blue), var(--hs-blue)) 50% 52% / 0.8rem 2px no-repeat,
    linear-gradient(var(--hs-orange), var(--hs-orange)) 50% 70% / 0.8rem 2px no-repeat,
    rgba(47, 111, 214, 0.1);
}

/* choose: criteria checklist */
.ys-hs .ys-hs-sec--choose > ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding: 0 1.2rem;
  border: 1px solid var(--hs-line);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 14px 34px rgba(7, 20, 38, 0.05);
  list-style: none;
  counter-reset: hschoose;
}

.ys-hs .ys-hs-sec--choose > ul > li {
  position: relative;
  padding: 0.72rem 0 0.72rem 2.3rem;
  border-block-end: 1px solid var(--hs-line);
  color: #24364f;
  font-weight: 600;
  line-height: 1.45;
  counter-increment: hschoose;
}

.ys-hs .ys-hs-sec--choose > ul > li:nth-last-child(-n+2) {
  border-block-end: 0;
}

.ys-hs .ys-hs-sec--choose > ul > li:nth-child(odd) {
  margin-inline-end: 1.2rem;
}

.ys-hs .ys-hs-sec--choose > ul > li::before {
  content: counter(hschoose, decimal-leading-zero);
  position: absolute;
  top: 0.82rem;
  left: 0;
  color: var(--hs-orange);
  font-family: var(--hs-mono);
  font-size: 0.78rem;
  font-weight: 700;
}

/* perf: hosting is one factor among several */
.ys-hs-factors {
  display: grid;
  grid-template-columns: minmax(11rem, 0.8fr) minmax(0, 2fr);
  gap: 1rem;
  align-items: stretch;
  padding: 1.2rem;
  border: 1px solid var(--hs-line);
  border-radius: 1rem;
  background:
    radial-gradient(circle, rgba(16, 33, 58, 0.06) 1px, transparent 1.2px) 0 0 / 16px 16px,
    var(--hs-soft);
}

.ys-hs-factors__core {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.3rem;
  padding: 1rem;
  border-radius: 0.85rem;
  background: linear-gradient(145deg, var(--hs-navy), #1d3a66);
  color: #fff;
}

.ys-hs-factors__core i {
  color: var(--hs-orange);
  font-size: 1.4rem;
}

.ys-hs-factors__core b {
  font-size: 1rem;
}

.ys-hs-factors__core span {
  color: rgba(244, 247, 251, 0.7);
  font-size: 0.82rem;
}

.ys-hs .ys-hs-factors__ring {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ys-hs .ys-hs-factors__ring li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.7rem;
  border: 1px solid var(--hs-line);
  border-radius: 0.7rem;
  background: #fff;
  color: var(--hs-ink);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
}

.ys-hs-factors__ring i {
  color: var(--hs-blue);
}

.ys-hs .ys-hs-factors__cap {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--hs-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

/* ssl: encrypted channel */
.ys-hs-tls {
  display: grid;
  grid-template-columns: auto minmax(6rem, 1fr) auto;
  gap: 0.9rem;
  align-items: center;
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--hs-line);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 14px 34px rgba(7, 20, 38, 0.05);
}

.ys-hs-tls__end {
  display: grid;
  justify-items: center;
  gap: 0.15rem;
  min-width: 7rem;
  text-align: center;
}

.ys-hs-tls__end i {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border-radius: 0.75rem;
  background: rgba(47, 111, 214, 0.1);
  color: var(--hs-blue);
  font-size: 1.1rem;
}

.ys-hs-tls__end--srv i {
  background: linear-gradient(140deg, var(--hs-navy), #1d3a66);
  color: var(--hs-orange);
}

.ys-hs-tls__end b {
  color: var(--hs-ink);
  font-size: 0.9rem;
}

.ys-hs-tls__end small {
  color: var(--hs-muted);
  font-size: 0.78rem;
}

.ys-hs-tls__wire {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  padding-block: 0.3rem;
}

.ys-hs-tls__wire::before {
  content: "";
  position: absolute;
  top: 1.05rem;
  right: 0;
  left: 0;
  height: 2px;
  background: repeating-linear-gradient(90deg, #1f9d5c 0 0.5rem, transparent 0.5rem 0.8rem);
}

.ys-hs-tls__lock {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.65rem;
  border: 1px solid rgba(31, 157, 92, 0.4);
  border-radius: 999px;
  background: #effaf4;
  color: #157a46;
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 800;
}

.ys-hs-tls__data {
  display: flex;
  gap: 0.35rem;
}

.ys-hs-tls__data i {
  padding: 0.08rem 0.45rem;
  border-radius: 0.3rem;
  background: var(--hs-soft);
  color: var(--hs-muted);
  font-family: var(--hs-mono);
  font-size: 0.74rem;
  font-style: normal;
  letter-spacing: 0.08em;
}

.ys-hs .ys-hs-tls__cap {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--hs-muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
}

/* backup: neutral risk list + package-dependent note */
.ys-hs .ys-hs-risks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  padding: 0;
  list-style: none;
}

.ys-hs .ys-hs-risks li {
  display: grid;
  justify-items: start;
  gap: 0.45rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--hs-line);
  border-radius: 0.8rem;
  background: #fff;
  color: var(--hs-ink);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
}

.ys-hs-risks i {
  color: var(--hs-orange-d);
  font-size: 1.05rem;
}

.ys-service-article .ys-hs-sec--backup > p:last-of-type {
  position: relative;
  margin-block-start: 1.2rem;
  padding: 0.85rem 1.1rem 0.85rem 3.1rem;
  border: 1px dashed rgba(16, 33, 58, 0.22);
  border-radius: 0.85rem;
  background: var(--hs-soft);
  color: #33465f;
}

.ys-service-article .ys-hs-sec--backup > p:last-of-type::before {
  content: "i";
  position: absolute;
  top: 0.95rem;
  left: 1.1rem;
  display: grid;
  width: 1.3rem;
  height: 1.3rem;
  place-items: center;
  border-radius: 50%;
  background: var(--hs-ink);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 0.8rem;
  font-style: italic;
  font-weight: 700;
}

/* move: what is checked before a migration */
.ys-hs-move {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr) minmax(0, 0.8fr);
  gap: 1rem;
  align-items: center;
  padding: 1.2rem;
  border: 1px solid var(--hs-line);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 14px 34px rgba(7, 20, 38, 0.05);
}

.ys-hs-move__end {
  display: grid;
  justify-items: center;
  gap: 0.4rem;
  text-align: center;
}

.ys-hs-move__end i {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  border-radius: 0.8rem;
  background: var(--hs-soft);
  color: var(--hs-muted);
  font-size: 1.15rem;
}

.ys-hs-move__end--to i {
  background: linear-gradient(140deg, var(--hs-navy), #1d3a66);
  color: var(--hs-orange);
}

.ys-hs-move__end b {
  color: var(--hs-ink);
  font-size: 0.88rem;
  line-height: 1.3;
}

.ys-hs .ys-hs-move__checks {
  position: relative;
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0.7rem;
  border: 1px dashed rgba(47, 111, 214, 0.35);
  border-radius: 0.85rem;
  background: rgba(47, 111, 214, 0.04);
  list-style: none;
}

.ys-hs-move__checks::before,
.ys-hs-move__checks::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: -0.275rem;
  border: solid rgba(16, 33, 58, 0.35);
  border-width: 2px 2px 0 0;
  transform: rotate(45deg);
}

.ys-hs-move__checks::before { left: -0.85rem; }
.ys-hs-move__checks::after { right: -0.85rem; }

.ys-hs .ys-hs-move__checks li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.38rem 0.6rem;
  border-radius: 0.55rem;
  background: #fff;
  color: var(--hs-ink);
  font-size: 0.88rem;
  font-weight: 700;
}

.ys-hs-move__checks i {
  color: var(--hs-blue);
}

.ys-hs .ys-hs-move__cap {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--hs-muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
}

/* diff: domain and hosting as two definition cards */
.ys-hs-article.is-grouped > .ys-hs-sec--diff {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1rem;
}

.ys-hs-sec--diff > :not(p:has(> strong:first-child)) {
  grid-column: 1 / -1;
}

.ys-service-article .ys-hs-sec--diff > p:has(> strong:first-child) {
  margin-block-end: 1.15rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--hs-line);
  border-block-start: 3px solid var(--hs-blue);
  border-radius: 0.9rem;
  background: #fff;
  box-shadow: 0 10px 26px rgba(7, 20, 38, 0.04);
}

.ys-service-article .ys-hs-sec--diff > p:has(> strong:first-child) ~ p:has(> strong:first-child) {
  border-block-start-color: var(--hs-orange);
}

.ys-service-article .ys-hs-sec--diff > p > strong:first-child {
  color: var(--hs-ink);
}

/* mail: mailboxes on the brand domain */
.ys-hs-mbx {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.6rem 1rem;
  align-items: center;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--hs-line);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 14px 34px rgba(7, 20, 38, 0.05);
}

.ys-hs .ys-hs-mbx__dom {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.55rem 0.8rem;
  border-radius: 0.7rem;
  background: linear-gradient(140deg, var(--hs-navy), #1d3a66);
  color: #fff;
  font-family: var(--hs-mono);
  font-size: 0.86rem;
}

.ys-hs-mbx__dom i {
  color: var(--hs-orange);
}

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

.ys-hs .ys-hs-mbx li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(47, 111, 214, 0.22);
  border-radius: 999px;
  background: rgba(47, 111, 214, 0.05);
  color: var(--hs-ink);
  font-family: var(--hs-mono);
  font-size: 0.82rem;
}

.ys-hs-mbx li i {
  color: var(--hs-blue);
}

.ys-hs .ys-hs-mbx__note {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  color: var(--hs-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

/* upgrade: current package → higher-resource package */
.ys-hs-up {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--hs-line);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 14px 34px rgba(7, 20, 38, 0.05);
}

.ys-hs-up__pkg {
  display: grid;
  gap: 0.4rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--hs-line);
  border-radius: 0.8rem;
  background: var(--hs-soft);
}

.ys-hs-up__pkg b {
  color: var(--hs-ink);
  font-size: 0.88rem;
}

.ys-hs-up__pkg i {
  height: 0.35rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #8aa6cf calc(var(--v) * 100%), rgba(16, 33, 58, 0.08) 0);
}

.ys-hs-up__pkg--to {
  border-color: rgba(230, 122, 46, 0.35);
  background: #fff8f2;
}

.ys-hs-up__pkg--to i {
  background: linear-gradient(90deg, var(--hs-orange) calc(var(--v) * 100%), rgba(16, 33, 58, 0.08) 0);
}

.ys-hs-up__go {
  display: grid;
  justify-items: center;
  gap: 0.25rem;
  max-width: 8rem;
  color: var(--hs-muted);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
}

.ys-hs-up__go i {
  color: var(--hs-orange);
  font-size: 1.2rem;
}

/* process: CMS steps on a vertical rail */
.ys-hs-sec--process .ys-hs-sub {
  position: relative;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
  padding-block: 0.9rem;
}

.ys-hs-sub__ico {
  position: relative;
  z-index: 1;
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 1px solid rgba(47, 111, 214, 0.25);
  border-radius: 0.85rem;
  background: #fff;
  box-shadow: 0 10px 24px rgba(7, 20, 38, 0.06);
  color: var(--hs-blue);
  font-size: 1.15rem;
}

.ys-hs-sec--process .ys-hs-sub:last-child .ys-hs-sub__ico {
  border-color: rgba(230, 122, 46, 0.4);
  color: var(--hs-orange-d);
}

.ys-hs-sec--process .ys-hs-sub:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 3.9rem;
  bottom: -0.9rem;
  left: 1.5rem;
  width: 2px;
  background: linear-gradient(rgba(47, 111, 214, 0.3), rgba(16, 33, 58, 0.08));
}

.ys-service-article .ys-hs-sub h3 {
  margin-block: 0.35rem 0.3rem;
}

.ys-service-article .ys-hs-sub p {
  margin-block-end: 0;
}

/* provide: checklist panel */
.ys-hs .ys-hs-sec--provide > ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1.4rem;
  padding: 1.2rem 1.35rem;
  border: 1px solid var(--hs-line);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 14px 34px rgba(7, 20, 38, 0.05);
  list-style: none;
}

.ys-hs .ys-hs-sec--provide > ul > li {
  position: relative;
  padding-inline-start: 1.7rem;
  color: #24364f;
  line-height: 1.55;
}

.ys-hs .ys-hs-sec--provide > ul > li::before {
  content: "";
  position: absolute;
  top: 0.38rem;
  left: 0;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: rgba(47, 111, 214, 0.12);
}

.ys-hs .ys-hs-sec--provide > ul > li::after {
  content: "";
  position: absolute;
  top: 0.6rem;
  left: 0.32rem;
  width: 0.36rem;
  height: 0.2rem;
  border: solid var(--hs-blue);
  border-width: 0 0 1.6px 1.6px;
  transform: rotate(-45deg);
}

.ys-service-article .ys-hs-sec--provide > ul + p {
  color: var(--hs-muted);
  font-size: 0.93rem;
}

/* faq: one connected accordion */
.ys-service-article .ys-hs-sec--faq > details {
  margin: 0;
  padding: 0;
  border: 1px solid var(--hs-line);
  border-block-end: 0;
  border-radius: 0;
  background: #fff;
}

.ys-service-article .ys-hs-sec--faq > h2 + details {
  border-radius: 1rem 1rem 0 0;
}

.ys-service-article .ys-hs-sec--faq > details:last-child {
  border-block-end: 1px solid var(--hs-line);
  border-radius: 0 0 1rem 1rem;
}

.ys-service-article .ys-hs-sec--faq > details > summary {
  position: relative;
  display: block;
  padding: 1rem 3.2rem 1rem 1.25rem;
  color: var(--hs-ink);
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.45;
  list-style: none;
}

.ys-service-article .ys-hs-sec--faq > details > summary::-webkit-details-marker {
  display: none;
}

.ys-service-article .ys-hs-sec--faq > details > summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.25rem;
  width: 1.45rem;
  height: 1.45rem;
  border: 1px solid var(--hs-line);
  border-radius: 50%;
  background:
    linear-gradient(var(--hs-orange), var(--hs-orange)) center / 0.6rem 1.5px no-repeat,
    linear-gradient(var(--hs-orange), var(--hs-orange)) center / 1.5px 0.6rem no-repeat;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.ys-service-article .ys-hs-sec--faq > details[open] > summary {
  margin: 0;
}

.ys-service-article .ys-hs-sec--faq > details[open] > summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.ys-service-article .ys-hs-sec--faq > details > summary:hover {
  color: var(--hs-orange-d);
}

.ys-service-article .ys-hs-sec--faq > details > p {
  margin: 0;
  padding: 0 1.25rem 1.15rem;
}

/* ---------- Scenes (shared) ---------- */
.ys-hs-scene {
  container: hsscene / inline-size;
  margin-block: 1.8rem 0;
  overflow: hidden;
  border: 1px solid var(--hs-line);
  border-radius: 1.1rem;
  background: #fff;
  box-shadow: 0 18px 44px rgba(7, 20, 38, 0.07);
}

.ys-hs .ys-hs-scene :is(p, li) {
  margin: 0;
  line-height: 1.45;
}

.ys-hs .ys-hs-scene :is(ul, ol) {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ys-hs-scene__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 1rem;
  padding: 0.95rem 1.2rem;
  border-block-end: 1px solid var(--hs-line);
}

.ys-hs .ys-hs-scene__t {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--hs-ink);
  font-size: 0.98rem;
  font-weight: 800;
}

.ys-hs-scene__t i {
  color: var(--hs-orange);
}

.ys-hs .ys-hs-scene__tag {
  padding: 0.16rem 0.6rem;
  border: 1px dashed rgba(16, 33, 58, 0.22);
  border-radius: 999px;
  color: var(--hs-muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.ys-hs-scene button {
  cursor: pointer;
  font: inherit;
}

.ys-hs-scene button:focus-visible {
  outline: 2px solid var(--hs-blue);
  outline-offset: 2px;
}

.ys-hs-req__tabs,
.ys-hs-cp__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.85rem 1.2rem 0;
}

.ys-hs-req__tabs button,
.ys-hs-cp__tabs button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.25rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--hs-line);
  border-radius: 999px;
  background: #fff;
  color: var(--hs-ink);
  font-size: 0.86rem;
  font-weight: 700;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.ys-hs-req__tabs button:hover,
.ys-hs-cp__tabs button:hover {
  border-color: rgba(47, 111, 214, 0.4);
}

.ys-hs-req__tabs button[aria-pressed="true"],
.ys-hs-cp__tabs button[aria-pressed="true"] {
  border-color: var(--hs-navy);
  background: var(--hs-navy);
  color: #fff;
}

.ys-hs-cp__tabs button i {
  color: var(--hs-blue);
}

.ys-hs-cp__tabs button[aria-pressed="true"] i {
  color: var(--hs-orange);
}

.ys-hs:not(.is-ready) :is(.ys-hs-req__tabs, .ys-hs-cp__tabs) {
  display: none;
}

/* ---------- Scene B: request flow ---------- */
.ys-hs-req [data-r] {
  display: none;
}

.ys-hs-req[data-req="page"] [data-r~="page"],
.ys-hs-req[data-req="asset"] [data-r~="asset"],
.ys-hs-req[data-req="form"] [data-r~="form"] {
  display: block;
}

.ys-hs-req[data-req="page"] .ys-hs-req__mods[data-r~="page"],
.ys-hs-req[data-req="asset"] .ys-hs-req__mods[data-r~="asset"],
.ys-hs-req[data-req="form"] .ys-hs-req__mods[data-r~="form"] {
  display: flex;
}

.ys-hs-req__alt {
  display: contents;
}

/* with JS the variants share one grid cell, so rotating request types never changes the scene height */
.ys-hs.is-ready .ys-hs-req__alt,
.ys-hs.is-ready .ys-hs-req__log,
.ys-hs.is-ready .ys-hs-req__exp {
  display: grid;
}

.ys-hs.is-ready .ys-hs-req__alt {
  justify-items: center;
  max-width: 100%;
}

.ys-hs.is-ready .ys-hs-req__alt > [data-r],
.ys-hs.is-ready .ys-hs-req__exp > [data-r] {
  display: block;
  grid-area: 1 / 1;
  visibility: hidden;
}

.ys-hs.is-ready .ys-hs-req__logh {
  grid-row: 1;
}

.ys-hs.is-ready .ys-hs-req__log > [data-r] {
  display: block;
  grid-area: 2 / 1;
  visibility: hidden;
}

.ys-hs.is-ready .ys-hs-req__alt > .ys-hs-req__mods {
  display: flex;
}

.ys-hs.is-ready .ys-hs-req[data-req="page"] :is(.ys-hs-req__alt, .ys-hs-req__log, .ys-hs-req__exp) > [data-r~="page"],
.ys-hs.is-ready .ys-hs-req[data-req="asset"] :is(.ys-hs-req__alt, .ys-hs-req__log, .ys-hs-req__exp) > [data-r~="asset"],
.ys-hs.is-ready .ys-hs-req[data-req="form"] :is(.ys-hs-req__alt, .ys-hs-req__log, .ys-hs-req__exp) > [data-r~="form"] {
  visibility: visible;
}

.ys-hs-req__body {
  display: grid;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
}

.ys-hs .ys-hs-req__path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.1rem;
}

.ys-hs .ys-hs-req__n {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
  padding: 0.8rem 0.5rem;
  border: 1px solid var(--hs-line);
  border-radius: 0.85rem;
  background: var(--hs-soft);
  text-align: center;
}

.ys-hs-req__n:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1.55rem;
  right: -1.05rem;
  width: 1rem;
  height: 2px;
  background: linear-gradient(90deg, rgba(47, 111, 214, 0.5), rgba(230, 122, 46, 0.6));
}

.ys-hs-req__n > i {
  display: grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  border-radius: 0.6rem;
  background: #fff;
  color: var(--hs-blue);
  font-size: 1rem;
  box-shadow: 0 6px 14px rgba(7, 20, 38, 0.06);
}

.ys-hs-req[data-req] .ys-hs-req__n > i[data-r] {
  display: none;
}

.ys-hs-req[data-req="page"] .ys-hs-req__n > i[data-r~="page"],
.ys-hs-req[data-req="asset"] .ys-hs-req__n > i[data-r~="asset"],
.ys-hs-req[data-req="form"] .ys-hs-req__n > i[data-r~="form"] {
  display: grid;
}

.ys-hs-req__n--res > i {
  background: var(--hs-navy);
  color: var(--hs-orange);
}

.ys-hs-req__n b {
  color: var(--hs-ink);
  font-size: 0.84rem;
  line-height: 1.25;
}

.ys-hs-req__n small {
  max-width: 100%;
  color: var(--hs-muted);
  font-size: 0.74rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.ys-hs-req__mods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem;
}

.ys-hs-req__mod {
  padding: 0.08rem 0.4rem;
  border-radius: 0.3rem;
  background: rgba(47, 111, 214, 0.1);
  color: #1d4fa3;
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.ys-hs-req__mod i {
  margin-inline-end: 0.25rem;
}

.ys-hs-req__mod--off {
  background: rgba(16, 33, 58, 0.06);
  color: var(--hs-muted);
  text-decoration: line-through;
}

.ys-hs-req__log {
  overflow: hidden;
  border-radius: 0.85rem;
  background: #0b1524;
}

.ys-hs .ys-hs-req__logh {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  border-block-end: 1px solid rgba(255, 255, 255, 0.08);
  color: #8fa0b5;
  font-size: 0.76rem;
  font-weight: 700;
}

.ys-hs .ys-hs-req__log ol {
  padding: 0.6rem 0.9rem 0.7rem;
}

.ys-hs .ys-hs-req__log li {
  display: grid;
  grid-template-columns: 1.1rem minmax(0, 1fr);
  color: #d7dee8;
  font-size: 0.78rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.ys-hs-req__log li b {
  color: var(--hs-sky);
}

.ys-hs-req__log li:last-child {
  color: #9fd8b6;
}

.ys-hs-req__log li:last-child b {
  color: #9fd8b6;
}

.ys-hs-req__exp {
  padding: 0 1.2rem 1.1rem;
}

.ys-hs .ys-hs-req__exp p {
  padding: 0.75rem 0.95rem;
  border-inline-start: 3px solid var(--hs-orange);
  border-radius: 0 0.6rem 0.6rem 0;
  background: var(--hs-soft);
  color: #33465f;
  font-size: 0.93rem;
  line-height: 1.6;
}

.ys-hs:not(.is-ready) .ys-hs-req__exp p {
  display: block;
}

.ys-hs:not(.is-ready) .ys-hs-req__exp p + p {
  margin-block-start: 0.5rem;
}

/* motion: nodes light up in request order; names differ per request so a switch restarts them */
.ys-hs-req.is-live[data-req="page"] .ys-hs-req__n { animation: ys-hs-lit1 0.5s ease both; }
.ys-hs-req.is-live[data-req="asset"] .ys-hs-req__n { animation: ys-hs-lit2 0.5s ease both; }
.ys-hs-req.is-live[data-req="form"] .ys-hs-req__n { animation: ys-hs-lit3 0.5s ease both; }

.ys-hs-req.is-live .ys-hs-req__n:nth-child(2) { animation-delay: 0.45s; }
.ys-hs-req.is-live .ys-hs-req__n:nth-child(3) { animation-delay: 0.9s; }
.ys-hs-req.is-live .ys-hs-req__n:nth-child(4) { animation-delay: 1.35s; }
.ys-hs-req.is-live .ys-hs-req__n:nth-child(5) { animation-delay: 1.8s; }

.ys-hs-req.is-live .ys-hs-req__log li {
  animation: ys-hs-row 0.3s ease both;
}

.ys-hs-req.is-live[data-req="asset"] .ys-hs-req__log li { animation-name: ys-hs-row2; }
.ys-hs-req.is-live[data-req="form"] .ys-hs-req__log li { animation-name: ys-hs-row3; }

@keyframes ys-hs-row2 {
  from { opacity: 0; transform: translateX(-0.4rem); }
  to { opacity: 1; transform: none; }
}

@keyframes ys-hs-row3 {
  from { opacity: 0; transform: translateX(-0.4rem); }
  to { opacity: 1; transform: none; }
}

.ys-hs-req.is-live .ys-hs-req__log li:nth-child(2) { animation-delay: 0.45s; }
.ys-hs-req.is-live .ys-hs-req__log li:nth-child(3) { animation-delay: 0.9s; }
.ys-hs-req.is-live .ys-hs-req__log li:nth-child(4) { animation-delay: 1.35s; }
.ys-hs-req.is-live .ys-hs-req__log li:nth-child(5) { animation-delay: 1.8s; }

@keyframes ys-hs-lit1 {
  0% { border-color: var(--hs-line); box-shadow: 0 0 0 0 rgba(230, 122, 46, 0); }
  40% { border-color: rgba(230, 122, 46, 0.6); box-shadow: 0 0 0 4px rgba(230, 122, 46, 0.14); }
  100% { border-color: var(--hs-line); box-shadow: 0 0 0 0 rgba(230, 122, 46, 0); }
}

@keyframes ys-hs-lit2 {
  0% { border-color: var(--hs-line); box-shadow: 0 0 0 0 rgba(230, 122, 46, 0); }
  40% { border-color: rgba(230, 122, 46, 0.6); box-shadow: 0 0 0 4px rgba(230, 122, 46, 0.14); }
  100% { border-color: var(--hs-line); box-shadow: 0 0 0 0 rgba(230, 122, 46, 0); }
}

@keyframes ys-hs-lit3 {
  0% { border-color: var(--hs-line); box-shadow: 0 0 0 0 rgba(230, 122, 46, 0); }
  40% { border-color: rgba(230, 122, 46, 0.6); box-shadow: 0 0 0 4px rgba(230, 122, 46, 0.14); }
  100% { border-color: var(--hs-line); box-shadow: 0 0 0 0 rgba(230, 122, 46, 0); }
}

@container hsscene (max-width: 40rem) {
  .ys-hs .ys-hs-req__path {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.55rem;
  }

  .ys-hs .ys-hs-req__n {
    display: grid;
    grid-template-columns: 2.1rem minmax(0, 1fr);
    column-gap: 0.75rem;
    align-items: center;
    padding: 0.6rem 0.75rem;
    text-align: left;
  }

  .ys-hs-req__n > * {
    grid-column: 2;
  }

  .ys-hs-req__n > i {
    grid-row: 1 / span 3;
    grid-column: 1;
  }

  .ys-hs-req__mods {
    justify-content: flex-start;
  }

  .ys-hs.is-ready .ys-hs-req__alt {
    justify-items: start;
  }

  .ys-hs-req__n:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -0.56rem;
    left: 1.78rem;
    width: 2px;
    height: 0.55rem;
    background: rgba(47, 111, 214, 0.45);
  }
}

/* ---------- Scene A: hosting management panel ---------- */
.ys-hs-cp__win {
  display: grid;
  grid-template-rows: auto 1fr;
  margin: 1rem 1.2rem 1.1rem;
  overflow: hidden;
  border: 1px solid rgba(16, 33, 58, 0.14);
  border-radius: 0.9rem;
  background: #f8fafc;
}

.ys-hs .ys-hs-cp__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.55rem 0.9rem;
  background: var(--hs-navy);
  color: #c5cfdc;
  font-size: 0.8rem;
}

.ys-hs-cp__acct {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.ys-hs-cp__acct i {
  color: var(--hs-orange);
}

.ys-hs-cp__acct b {
  color: #fff;
}

.ys-hs-cp__v {
  grid-row: 2;
  grid-column: 1;
  min-width: 0;
  padding: 1rem 1.05rem;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.ys-hs-cp[data-tab="sites"] .ys-hs-cp__v--sites,
.ys-hs-cp[data-tab="files"] .ys-hs-cp__v--files,
.ys-hs-cp[data-tab="db"] .ys-hs-cp__v--db,
.ys-hs-cp[data-tab="mail"] .ys-hs-cp__v--mail,
.ys-hs-cp[data-tab="domains"] .ys-hs-cp__v--domains,
.ys-hs-cp[data-tab="res"] .ys-hs-cp__v--res {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.ys-hs-mono {
  overflow-wrap: anywhere;
}

.ys-hs .ys-hs-cp__h {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--hs-ink);
  font-size: 0.95rem;
  font-weight: 800;
}

.ys-hs-cp__h i {
  color: var(--hs-orange);
}

.ys-hs .ys-hs-cp__note {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin-block-start: 0.75rem;
  color: var(--hs-muted);
  font-size: 0.8rem;
}

.ys-hs-cp__note i {
  color: var(--hs-orange-d);
}

.ys-hs .ys-hs-cp__tool {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-block-end: 0.7rem;
  color: var(--hs-ink);
  font-size: 0.82rem;
  font-weight: 700;
}

.ys-hs-cp__tool > span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  margin-inline-end: auto;
}

.ys-hs-cp__tool > span i {
  color: var(--hs-blue);
}

.ys-hs-cp__tool b {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22rem 0.6rem;
  border: 1px solid var(--hs-line);
  border-radius: 0.45rem;
  background: #fff;
  color: var(--hs-ink);
  font-size: 0.78rem;
}

.ys-hs-cp__tool b:last-child {
  border-color: var(--hs-orange);
  background: var(--hs-orange);
  color: #fff;
}

/* sites */
.ys-hs-cp__v--sites {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr);
  gap: 1rem;
  align-items: start;
}

.ys-hs-cp__site {
  display: grid;
  gap: 0.6rem;
}

.ys-hs-cp__thumb {
  display: grid;
  gap: 0.35rem;
  padding: 0.65rem;
  border: 1px solid rgba(16, 33, 58, 0.12);
  border-radius: 0.6rem;
  background: linear-gradient(140deg, #0d2342, #1d3a66);
}

.ys-hs-cp__thumb b {
  color: #fff;
  font-size: 0.8rem;
}

.ys-hs-cp__thumb > i {
  width: 80%;
  height: 0.3rem;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
}

.ys-hs-cp__thumb > i + i {
  width: 55%;
}

.ys-hs-cp__thumb em {
  width: 3rem;
  height: 0.75rem;
  margin-block-start: 0.15rem;
  border-radius: 999px;
  background: var(--hs-orange);
}

.ys-hs-cp__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
  margin-block-start: 0.4rem;
}

.ys-hs-cp__cards i {
  height: 1.9rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.08);
}

.ys-hs .ys-hs-cp__state {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-block-start: 0.2rem;
  color: #157a46;
  font-size: 0.8rem;
  font-weight: 800;
}

.ys-hs-cp__state i {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #1f9d5c;
}

.ys-hs-cp__kv {
  display: grid;
  margin: 0;
  border: 1px solid var(--hs-line);
  border-radius: 0.7rem;
  background: #fff;
}

.ys-hs-cp__kv > div {
  display: grid;
  grid-template-columns: 6.4rem minmax(0, 1fr);
  gap: 0.6rem;
  padding: 0.5rem 0.8rem;
}

.ys-hs-cp__kv > div + div {
  border-block-start: 1px solid var(--hs-line);
}

.ys-hs-cp__kv dt {
  color: var(--hs-muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.ys-hs-cp__kv dd {
  margin: 0;
  color: var(--hs-ink);
  font-size: 0.82rem;
}

.ys-hs-cp__kv dd i {
  margin-inline-end: 0.3rem;
  color: #1f9d5c;
}

/* files / tables / mailboxes / domains / resources: list rows */
.ys-hs .ys-hs-cp__fm,
.ys-hs .ys-hs-cp__tables,
.ys-hs .ys-hs-cp__mbx,
.ys-hs .ys-hs-cp__dom,
.ys-hs .ys-hs-cp__res {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--hs-line);
  border-radius: 0.7rem;
  background: #fff;
}

.ys-hs-cp__fm li,
.ys-hs-cp__tables li,
.ys-hs-cp__mbx li,
.ys-hs-cp__dom li,
.ys-hs-cp__res li {
  display: grid;
  gap: 0.7rem;
  align-items: center;
  padding: 0.5rem 0.85rem;
  color: var(--hs-ink);
  font-size: 0.84rem;
}

.ys-hs .ys-hs-cp__win li + li {
  border-block-start: 1px solid var(--hs-line);
}

.ys-hs-cp__fm li {
  grid-template-columns: minmax(0, 1fr) 3rem 6.5rem;
}

.ys-hs-cp__fm li > span,
.ys-hs-cp__res li > span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.ys-hs-cp__fm i,
.ys-hs-cp__res i {
  color: var(--hs-blue);
}

.ys-hs-cp__fm li:nth-child(n+4) i {
  color: #7b61d6;
}

.ys-hs-cp__fm em {
  color: var(--hs-muted);
  font-size: 0.8rem;
  font-style: normal;
}

.ys-hs-cp__fm small,
.ys-hs-cp__tables small {
  color: var(--hs-muted);
  font-size: 0.8rem;
}

.ys-hs .ys-hs-cp__fmh {
  padding-block: 0.4rem;
  background: var(--hs-soft);
  color: var(--hs-muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* db */
.ys-hs-cp__dbs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 1rem;
  align-items: start;
}

.ys-hs-cp__db {
  display: grid;
  gap: 0.45rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--hs-line);
  border-radius: 0.7rem;
  background: #fff;
}

.ys-hs .ys-hs-cp__db p:not(.ys-hs-cp__h) {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.84rem;
}

.ys-hs-cp__db small {
  color: var(--hs-muted);
  font-size: 0.8rem;
}

.ys-hs-cp__tables li {
  grid-template-columns: minmax(0, 1fr) auto;
}

/* mail */
.ys-hs-cp__mbx li {
  grid-template-columns: minmax(0, 1fr) minmax(4rem, 0.5fr) 2.6rem;
}

.ys-hs-cp__mbx b,
.ys-hs-cp__res b {
  position: relative;
  height: 0.4rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(16, 33, 58, 0.08);
}

.ys-hs-cp__mbx b em,
.ys-hs-cp__res b em {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--hs-blue);
  transform: scaleX(var(--q, var(--u, 0.3)));
  transform-origin: 0 50%;
}

.ys-hs-cp__mbx small,
.ys-hs-cp__res small {
  color: var(--hs-muted);
  font-family: var(--hs-mono);
  font-size: 0.8rem;
  text-align: right;
}

/* domains */
.ys-hs-cp__dom li {
  grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 1fr) auto;
}

.ys-hs-cp__dom li > i {
  color: var(--hs-orange);
}

.ys-hs-cp__dom small {
  padding: 0.08rem 0.5rem;
  border-radius: 999px;
  background: rgba(47, 111, 214, 0.09);
  color: #1d4fa3;
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
}

.ys-hs .ys-hs-cp__ns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.8rem;
  margin-block-start: 0.75rem;
  color: var(--hs-ink);
  font-size: 0.84rem;
}

.ys-hs-cp__ns small {
  color: var(--hs-muted);
  font-size: 0.8rem;
  font-weight: 700;
}

/* resources */
.ys-hs-cp__res li {
  grid-template-columns: minmax(8rem, 0.9fr) minmax(0, 1.3fr) 2.6rem;
}

.ys-hs-cp__res li:nth-child(2) b em {
  background: #7b61d6;
}

.ys-hs-cp__res li:nth-child(3) b em {
  background: var(--hs-orange);
}

.ys-hs-cp__res li:nth-child(4) b em {
  background: #1f9d5c;
}

.ys-hs-cp__exp {
  padding: 0 1.2rem 1.1rem;
}

.ys-hs .ys-hs-cp__exp p {
  display: none;
  padding: 0.75rem 0.95rem;
  border-inline-start: 3px solid var(--hs-orange);
  border-radius: 0 0.6rem 0.6rem 0;
  background: var(--hs-soft);
  color: #33465f;
  font-size: 0.93rem;
  line-height: 1.6;
}

.ys-hs-cp[data-tab="sites"] .ys-hs-cp__exp [data-v="sites"],
.ys-hs-cp[data-tab="files"] .ys-hs-cp__exp [data-v="files"],
.ys-hs-cp[data-tab="db"] .ys-hs-cp__exp [data-v="db"],
.ys-hs-cp[data-tab="mail"] .ys-hs-cp__exp [data-v="mail"],
.ys-hs-cp[data-tab="domains"] .ys-hs-cp__exp [data-v="domains"],
.ys-hs-cp[data-tab="res"] .ys-hs-cp__exp [data-v="res"],
.ys-hs:not(.is-ready) .ys-hs-cp__exp p {
  display: block;
}

.ys-hs:not(.is-ready) .ys-hs-cp__exp p + p {
  margin-block-start: 0.5rem;
}

/* motion: rows and bars settle each time a tab is shown */
.ys-hs-cp.is-live[data-tab="files"] .ys-hs-cp__fm li,
.ys-hs-cp.is-live[data-tab="db"] .ys-hs-cp__tables li,
.ys-hs-cp.is-live[data-tab="mail"] .ys-hs-cp__mbx li,
.ys-hs-cp.is-live[data-tab="domains"] .ys-hs-cp__dom li {
  animation: ys-hs-row 0.35s ease both;
}

.ys-hs-cp.is-live li:nth-child(2) { animation-delay: 0.08s; }
.ys-hs-cp.is-live li:nth-child(3) { animation-delay: 0.16s; }
.ys-hs-cp.is-live li:nth-child(4) { animation-delay: 0.24s; }
.ys-hs-cp.is-live li:nth-child(5) { animation-delay: 0.32s; }
.ys-hs-cp.is-live li:nth-child(6) { animation-delay: 0.4s; }

.ys-hs-cp.is-live[data-tab="mail"] .ys-hs-cp__mbx b em,
.ys-hs-cp.is-live[data-tab="res"] .ys-hs-cp__res b em {
  animation: ys-hs-fill-cp 0.9s cubic-bezier(0.3, 0.6, 0.4, 1) both;
  animation-delay: 0.25s;
}

.ys-hs-cp.is-live[data-tab="sites"] .ys-hs-cp__kv > div {
  animation: ys-hs-row 0.35s ease both;
}

.ys-hs-cp.is-live[data-tab="sites"] .ys-hs-cp__kv > div:nth-child(2) { animation-delay: 0.08s; }
.ys-hs-cp.is-live[data-tab="sites"] .ys-hs-cp__kv > div:nth-child(3) { animation-delay: 0.16s; }
.ys-hs-cp.is-live[data-tab="sites"] .ys-hs-cp__kv > div:nth-child(4) { animation-delay: 0.24s; }

@keyframes ys-hs-fill-cp {
  from { transform: scaleX(0); }
  to { transform: scaleX(var(--q, var(--u, 0.3))); }
}

@container hsscene (max-width: 40rem) {
  .ys-hs-cp__v--sites,
  .ys-hs-cp__dbs {
    grid-template-columns: minmax(0, 1fr);
  }

  .ys-hs-cp__site {
    grid-template-columns: 7.5rem minmax(0, 1fr);
    align-items: center;
  }

  .ys-hs-cp__fm li {
    grid-template-columns: minmax(0, 1fr) 2.6rem;
  }

  .ys-hs-cp__fm li > small,
  .ys-hs-cp__fmh span:last-child {
    display: none;
  }

  .ys-hs-cp__dom li {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 0.15rem;
  }

  .ys-hs-cp__dom li > i {
    display: none;
  }

  .ys-hs-cp__dom li > span:nth-of-type(2) {
    grid-row: 2;
    color: var(--hs-muted);
    font-size: 0.8rem;
  }

  .ys-hs-cp__dom small {
    grid-row: 1 / span 2;
    grid-column: 2;
  }

  .ys-hs-cp__res li {
    grid-template-columns: minmax(0, 1fr) 2.6rem;
    row-gap: 0.35rem;
  }

  .ys-hs-cp__res li > b {
    grid-row: 2;
    grid-column: 1 / -1;
  }

  .ys-hs-cp__mbx li {
    grid-template-columns: minmax(0, 1fr) 2.6rem;
    row-gap: 0.35rem;
  }

  .ys-hs-cp__mbx li > b {
    grid-row: 2;
    grid-column: 1 / -1;
  }

  .ys-hs-cp__win {
    margin: 0.9rem 0.9rem 1rem;
  }

  .ys-hs-cp__v {
    padding: 0.85rem 0.8rem;
  }
}

/* ---------- Sidebar ---------- */
/* Sticky only while the whole card fits the viewport (ys-hosting-service.js measures it and adds .is-sticky);
   otherwise, and without JS, it scrolls with the page. */
.ys-hs .ys-hs-side {
  position: static;
}

@media (min-width: 1025px) {
  .ys-hs .ys-hs-side.is-sticky {
    position: sticky;
    top: var(--hs-side-top, 6.5rem);
  }
}

.ys-hs-side .ys-sd-summary__head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.ys-hs-side__ico {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 0.75rem;
  background: linear-gradient(140deg, rgba(47, 111, 214, 0.14), rgba(230, 122, 46, 0.12));
  color: var(--hs-blue);
  font-size: 1.05rem;
}

.ys-hs-side .ys-sd-summary__head p:last-child {
  margin-block-end: 0;
}

/* ---------- Scope / process / delivery / package CTA / final ---------- */
.ys-hs-caps .ys-sd-capability {
  position: relative;
  grid-column: span 4;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.2rem;
  padding: 1.5rem 1.55rem 1.6rem;
}

.ys-hs-caps .ys-sd-capability > span {
  position: absolute;
  top: 1.35rem;
  right: 1.45rem;
  color: rgba(255, 255, 255, 0.22);
  font-family: var(--hs-mono);
  font-size: 1.35rem;
  line-height: 1;
}

.ys-hs-caps .ys-hs-caps__ico {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  margin-block-end: 0.95rem;
  place-items: center;
  border: 1px solid rgba(156, 192, 255, 0.3);
  border-radius: 0.7rem;
  background: rgba(47, 111, 214, 0.14);
  color: var(--hs-sky);
  font-size: 1.05rem;
}

.ys-hs-flow {
  gap: 0.8rem;
}

.ys-hs-flow li {
  padding: 1.2rem 1.15rem 1.25rem;
  border: 1px solid var(--hs-line);
  border-radius: 0.9rem;
  background: #fff;
  box-shadow: 0 10px 26px rgba(7, 20, 38, 0.04);
}

.ys-hs-flow li:not(:last-child)::before {
  content: "";
  top: 1.85rem;
  right: -0.62rem;
  left: auto;
  z-index: 1;
  width: 0.45rem;
  height: 0.45rem;
  border: solid rgba(16, 33, 58, 0.3);
  border-width: 1.5px 1.5px 0 0;
  background: none;
  transform: rotate(45deg);
}

.ys-hs-flow li > span {
  width: auto;
  height: auto;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: none;
}

.ys-hs-flow .ys-hs-flow__no {
  display: inline-block;
  margin-block-end: 0.7rem;
  padding: 0.12rem 0.45rem;
  border: 1px solid rgba(230, 122, 46, 0.45);
  border-radius: 0.35rem;
  color: var(--hs-orange-d);
  font-family: var(--hs-mono);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
}

.ys-hs-flow h3 {
  min-height: 0;
}

.ys-hs-delivery {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border: 1px solid var(--hs-line);
  border-radius: 1.1rem;
  background: #fff;
  box-shadow: 0 16px 40px rgba(7, 20, 38, 0.05);
}

.ys-hs-delivery .ys-sd-deliverables__grid article > span {
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 0.65rem;
  background: rgba(47, 111, 214, 0.1);
  color: var(--hs-blue);
  font-size: 0.95rem;
}

.ys-hs-refcta {
  grid-template-columns: auto minmax(0, 7fr) minmax(14rem, 3fr);
}

.ys-hs-refcta__ico {
  display: grid;
  width: 3.4rem;
  height: 3.4rem;
  place-items: center;
  border-radius: 0.9rem;
  background: linear-gradient(140deg, var(--hs-navy), #1d3a66);
  color: var(--hs-orange);
  font-size: 1.3rem;
}

.ys-hs-final {
  background:
    radial-gradient(circle at 86% 26%, rgba(47, 111, 214, 0.16), transparent 26%),
    radial-gradient(circle at 6% 86%, rgba(230, 122, 46, 0.1), transparent 28%),
    linear-gradient(145deg, var(--ys-sd-navy-3), var(--ys-sd-navy));
}

.ys-hs-final .ys-sd-final__layout {
  grid-template-columns: minmax(0, 1.3fr) minmax(17rem, 0.7fr);
  gap: clamp(2rem, 5vw, 4.5rem);
}

.ys-hs-final .ys-sd-final__layout > div:first-child > p:last-of-type {
  max-width: 47rem;
  margin: 0;
  color: rgba(244, 247, 251, 0.7);
}

.ys-hs-final .ys-sd-actions {
  margin-block-start: 1.6rem;
}

.ys-hs-final__brief {
  padding: 1.3rem 1.35rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1.2px) 0 0 / 14px 14px,
    rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ys-hs-final .ys-hs-final__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 800;
}

.ys-hs-final__head i {
  color: var(--hs-orange);
}

.ys-hs-final__brief ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ys-hs-final__brief li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-block-start: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(244, 247, 251, 0.82);
  font-size: 0.9rem;
}

.ys-hs-final__brief b {
  display: grid;
  width: 1.85rem;
  height: 1.85rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(230, 122, 46, 0.45);
  border-radius: 0.3rem;
  color: var(--hs-orange);
  font-family: var(--hs-mono);
  font-size: 0.72rem;
  font-weight: 700;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .ys-hs .ys-sd-hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  }

  .ys-hs-hub {
    height: 30rem;
  }

  .ys-hs-caps .ys-sd-capability {
    grid-column: span 6;
  }

  .ys-hs-sec__cols {
    grid-template-columns: minmax(0, 1fr);
  }

  .ys-hs-factors {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 1023.98px) {
  .ys-hs .ys-sd-hero__grid {
    align-items: stretch;
    gap: 1.5rem;
  }

  .ys-hs .ys-sd-hero__visual {
    display: flex;
  }

  .ys-hs-hub {
    width: 100%;
    height: 30.9rem;
  }

  .ys-hs-flow li:nth-child(3)::before {
    display: none;
  }

  .ys-hs-final .ys-sd-final__layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 767.98px) {
  .ys-hs .ys-sd-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }

  .ys-hs-hub {
    height: 22.75rem;
  }

  .ys-hs-caps .ys-sd-capability {
    grid-column: span 12;
  }

  .ys-hs-refcta {
    grid-template-columns: minmax(0, 1fr);
  }

  .ys-hs-article.is-grouped > .ys-hs-sec + .ys-hs-sec {
    margin-block-start: 2.2rem;
  }

  .ys-hs .ys-hs-sec--who > ul,
  .ys-hs .ys-hs-sec--choose > ul,
  .ys-hs .ys-hs-sec--provide > ul,
  .ys-hs .ys-hs-factors__ring {
    grid-template-columns: minmax(0, 1fr);
  }

  .ys-hs .ys-hs-sec--choose > ul > li:nth-child(odd) {
    margin-inline-end: 0;
  }

  .ys-hs .ys-hs-sec--choose > ul > li:nth-last-child(2) {
    border-block-end: 1px solid var(--hs-line);
  }

  .ys-hs .ys-hs-risks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ys-hs-article.is-grouped > .ys-hs-sec--diff {
    grid-template-columns: minmax(0, 1fr);
  }

  .ys-hs-tls {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    padding: 1.1rem;
  }

  .ys-hs-tls__wire {
    width: 100%;
  }

  .ys-hs-move,
  .ys-hs-up {
    grid-template-columns: minmax(0, 1fr);
    padding: 1.1rem;
  }

  .ys-hs-move__checks::before,
  .ys-hs-move__checks::after {
    display: none;
  }

  .ys-hs-up__go i {
    transform: rotate(90deg);
  }

  .ys-hs-up__go {
    max-width: none;
  }

  .ys-hs-mbx {
    grid-template-columns: minmax(0, 1fr);
    padding: 1.1rem;
  }

  .ys-hs-factors {
    padding: 1rem;
  }

  .ys-hs-flow li::before {
    display: none;
  }
}

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

  .ys-hs-cursor {
    display: none;
  }
}
