/* /domain premium V2 — page-only styles (loaded after service-page.css).
   Every domain, address and record shown is representative: markaniz.example (RFC 2606), 192.0.2.10 (RFC 5737),
   2001:db8::10 (RFC 3849). Without data-step the hero shows its finished state (no JS / reduced motion). */
.ys-dm {
  --dm-orange: var(--ys-sd-orange, #e67a2e);
  --dm-orange-d: #a94d16;
  --dm-navy: #071426;
  --dm-ink: #15243a;
  --dm-muted: #5b6b82;
  --dm-line: rgba(16, 33, 58, 0.1);
  --dm-soft: #f6f8fb;
  --dm-blue: #2f6fd6;
  --dm-sky: #9cc0ff;
  --dm-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-dm code {
  padding: 0;
  background: none;
  color: inherit;
  font-family: var(--dm-mono);
  font-size: inherit;
}

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

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

/* ---------- Hero: Domain Yönetim Merkezi ---------- */
.ys-dm-hub {
  container: dmhero / inline-size;
  position: relative;
  height: clamp(28.5rem, 26.5rem + 6.04vw, 34rem);
  color: var(--hb-txt);
}

.ys-dm-app {
  position: absolute;
  inset: 0;
  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: 0 30px 70px rgba(0, 0, 0, 0.4), 0 0 0 6px rgba(255, 255, 255, 0.03);
  font-size: 0.8rem;
  line-height: 1.35;
}

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

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

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

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

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

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

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

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

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

.ys-dm-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;
}

.ys-dm-app__main {
  display: grid;
  flex: 1 1 auto;
  min-height: 0;
  grid-template-areas: "nav panes";
  grid-template-columns: 9.6rem minmax(0, 1fr);
}

/* side navigation */
.ys-dm-nav {
  display: flex;
  grid-area: nav;
  flex-direction: column;
  gap: 0.6rem;
  min-width: 0;
  min-height: 0;
  padding: 0.85rem 0.6rem 0.75rem;
  border-inline-end: 1px solid var(--hb-line);
  background: var(--hb-side);
}

.ys-dm .ys-dm-nav__title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding-inline: 0.2rem;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
}

.ys-dm-nav__title i {
  color: var(--dm-orange);
}

.ys-dm .ys-dm-nav__dom {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.5rem 0.55rem;
  border: 1px solid var(--hb-line);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.03);
}

.ys-dm-nav__dom b {
  overflow: hidden;
  color: #fff;
  font-family: var(--dm-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ys-dm-nav__dom span {
  color: var(--hb-mut);
  font-size: 0.68rem;
}

.ys-dm .ys-dm-steps {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ys-dm-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  padding: 0.4rem 0.45rem;
  border-radius: 0.5rem;
  color: var(--hb-mut);
  font-size: 0.76rem;
  font-weight: 700;
  transition: background-color 0.35s ease, color 0.35s ease;
}

.ys-dm-step i {
  display: grid;
  width: 1.45rem;
  height: 1.45rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 0.4rem;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.78rem;
  transition: background-color 0.35s ease, color 0.35s ease;
}

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

.ys-dm-step .ys-dm-step__s {
  display: none;
}

/* done: every stage before the current one */
.ys-dm-hub[data-step="dns"] [data-s="reg"],
.ys-dm-hub[data-step="ns"] :is([data-s="reg"], [data-s="dns"]),
.ys-dm-hub[data-step="host"] :is([data-s="reg"], [data-s="dns"], [data-s="ns"]),
.ys-dm-hub:is(:not([data-step]), [data-step="live"], [data-step="reset"]) :is([data-s="reg"], [data-s="dns"], [data-s="ns"], [data-s="host"]) {
  color: #c5cfdc;
}

.ys-dm-hub[data-step="dns"] [data-s="reg"] i,
.ys-dm-hub[data-step="ns"] :is([data-s="reg"], [data-s="dns"]) i,
.ys-dm-hub[data-step="host"] :is([data-s="reg"], [data-s="dns"], [data-s="ns"]) i,
.ys-dm-hub:is(:not([data-step]), [data-step="live"], [data-step="reset"]) :is([data-s="reg"], [data-s="dns"], [data-s="ns"], [data-s="host"]) i {
  background: rgba(47, 111, 214, 0.16);
  color: var(--dm-sky);
}

/* current */
.ys-dm-hub[data-step="reg"] [data-s="reg"],
.ys-dm-hub[data-step="dns"] [data-s="dns"],
.ys-dm-hub[data-step="ns"] [data-s="ns"],
.ys-dm-hub[data-step="host"] [data-s="host"],
.ys-dm-hub:is(:not([data-step]), [data-step="live"], [data-step="reset"]) [data-s="live"] {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.ys-dm-hub[data-step="reg"] [data-s="reg"] i,
.ys-dm-hub[data-step="dns"] [data-s="dns"] i,
.ys-dm-hub[data-step="ns"] [data-s="ns"] i,
.ys-dm-hub[data-step="host"] [data-s="host"] i,
.ys-dm-hub:is(:not([data-step]), [data-step="live"], [data-step="reset"]) [data-s="live"] i {
  background: var(--dm-orange);
  color: #fff;
}

.ys-dm .ys-dm-nav__note {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-block-start: auto;
  padding-inline: 0.2rem;
  color: var(--hb-mut);
  font-size: 0.68rem;
  font-weight: 600;
}

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

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

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

.ys-dm-pane--reg .ys-dm-chain + .ys-dm-foot {
  margin-block-start: 0.15rem;
}

.ys-dm-hub:is(:not([data-step]), [data-step="live"], [data-step="reset"]) .ys-dm-pane--live,
.ys-dm-hub[data-step="reg"] .ys-dm-pane--reg,
.ys-dm-hub[data-step="dns"] .ys-dm-pane--dns,
.ys-dm-hub[data-step="ns"] .ys-dm-pane--ns,
.ys-dm-hub[data-step="host"] .ys-dm-pane--host {
  display: flex;
}

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

.ys-dm-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(--dm-mono);
  font-size: 0.72rem;
  font-weight: 600;
}

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

.ys-dm .ys-dm-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-dm-foot i {
  color: #f3a46b;
}

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

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

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

.ys-dm-node small {
  max-width: 100%;
  overflow: hidden;
  color: var(--hb-mut);
  font-size: 0.68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.ys-dm-node--end i {
  color: #f3a46b;
}

.ys-dm-wire {
  position: relative;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.ys-dm-wire::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--dm-blue), var(--dm-orange));
  transform-origin: left center;
}

.ys-dm-pkt {
  position: absolute;
  top: 50%;
  left: 0;
  width: 0.5rem;
  height: 0.5rem;
  margin: -0.25rem 0 0 -0.25rem;
  border-radius: 50%;
  background: var(--dm-orange);
  box-shadow: 0 0 0 3px rgba(230, 122, 46, 0.25);
  opacity: 0;
}

/* 01 registration */
.ys-dm .ys-dm-kv {
  display: grid;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--hb-line);
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.025);
}

.ys-dm-kv > div {
  display: grid;
  grid-template-columns: 6.6rem minmax(0, 1fr);
  gap: 0.6rem;
  align-items: center;
  padding: 0.4rem 0.7rem;
}

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

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

.ys-dm .ys-dm-kv dd {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #e6ecf3;
  font-size: 0.76rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ys-dm-chip {
  display: inline-block;
  padding: 0.04rem 0.45rem;
  border-radius: 999px;
  background: rgba(47, 111, 214, 0.22);
  color: var(--dm-sky);
  font-size: 0.7rem;
  font-weight: 800;
}

.ys-dm-chain {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0.8rem, 0.35fr) minmax(0, 1fr) minmax(0.8rem, 0.35fr) minmax(0, 1fr);
  align-items: center;
  gap: 0.3rem;
  margin-block-start: auto;
}

/* 02 DNS zone */
.ys-dm-zone {
  overflow: hidden;
  border: 1px solid var(--hb-line);
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.025);
}

.ys-dm-zone__h,
.ys-dm-zone__r {
  display: grid;
  grid-template-columns: 3.7rem 2.4rem minmax(0, 1fr);
  gap: 0.5rem;
  align-items: center;
  padding: 0.38rem 0.7rem;
}

.ys-dm-zone__h {
  background: rgba(255, 255, 255, 0.04);
  color: var(--hb-mut);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ys-dm-zone__r {
  border-block-start: 1px solid var(--hb-line);
  font-size: 0.76rem;
}

.ys-dm-zone__r b,
.ys-dm-rec b {
  justify-self: start;
  padding: 0.04rem 0.4rem;
  border-radius: 0.3rem;
  background: rgba(47, 111, 214, 0.2);
  color: var(--dm-sky);
  font-family: var(--dm-mono);
  font-size: 0.7rem;
  font-weight: 700;
}

.ys-dm-zone__r:nth-child(4) b {
  background: rgba(42, 168, 140, 0.18);
  color: #7fd8c2;
}

.ys-dm-zone__r:nth-child(5) b,
.ys-dm-links__r + .ys-dm-links__r .ys-dm-rec b {
  background: rgba(230, 122, 46, 0.18);
  color: #f3a46b;
}

.ys-dm-zone__r:nth-child(6) b {
  background: rgba(255, 255, 255, 0.08);
  color: #c5cfdc;
}

.ys-dm-zone__r span {
  color: #c5cfdc;
  font-family: var(--dm-mono);
}

.ys-dm-zone__r code {
  min-width: 0;
  overflow: hidden;
  color: #e6ecf3;
  font-size: 0.74rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ys-dm .ys-dm-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.8rem;
  margin-block-start: auto;
  color: var(--hb-mut);
  font-size: 0.7rem;
}

.ys-dm-legend b {
  color: #c5cfdc;
  font-family: var(--dm-mono);
  font-weight: 600;
}

/* 03 nameservers */
.ys-dm-nsmap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto var(--ns-gap, 2.4rem) auto var(--ns-gap, 2.4rem) auto;
  column-gap: 0.6rem;
  margin-block: auto;
}

.ys-dm-nsmap .ys-dm-node {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 0.45rem;
  align-items: center;
  padding: 0.45rem 0.65rem;
  text-align: start;
}

.ys-dm-nsmap .ys-dm-node i {
  grid-row: span 2;
}

.ys-dm-nsmap__dom {
  grid-column: 1 / -1;
  grid-row: 1;
  justify-self: center;
  border-color: rgba(230, 122, 46, 0.5);
}

.ys-dm-nsmap__dom i {
  color: #f3a46b;
}

.ys-dm-nsmap__ns--1 { grid-column: 1; grid-row: 3; }
.ys-dm-nsmap__ns--2 { grid-column: 2; grid-row: 3; }

.ys-dm-nsmap__zone {
  grid-column: 1 / -1;
  grid-row: 5;
  justify-self: center;
}

.ys-dm-nsmap svg {
  display: block;
  grid-column: 1 / -1;
  width: 100%;
  height: var(--ns-gap, 2.4rem);
  overflow: visible;
}

.ys-dm-nsmap__fork { grid-row: 2; }
.ys-dm-nsmap__join { grid-row: 4; }

.ys-dm-nsmap path {
  fill: none;
  stroke: rgba(156, 192, 255, 0.6);
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

/* 04 hosting */
.ys-dm-links {
  display: grid;
  flex: 1 1 auto;
  align-content: center;
  gap: 0.75rem;
  min-height: 0;
}

.ys-dm-links__r {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(1.2rem, 0.42fr) minmax(0, 1.12fr);
  align-items: center;
  gap: 0.4rem;
}

.ys-dm-rec {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--hb-line);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.03);
}

.ys-dm-rec code {
  overflow: hidden;
  color: #e6ecf3;
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ys-dm-links .ys-dm-node {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 0.5rem;
  align-items: center;
  padding: 0.5rem 0.6rem;
  text-align: start;
}

.ys-dm-links .ys-dm-node i {
  grid-row: span 2;
  font-size: 1.05rem;
}

/* 05 reachable by name */
.ys-dm-visit {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.65rem;
  background: #f4f7fb;
  color: var(--dm-ink);
}

.ys-dm-visit__bar {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  padding: 0.35rem 0.5rem;
  border-block-end: 1px solid #d3dbe6;
  background: #e3e9f1;
}

.ys-dm-visit__addr {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  min-width: 0;
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
  background: #fff;
  color: var(--dm-ink);
  font-family: var(--dm-mono);
  font-size: 0.74rem;
}

.ys-dm-type {
  display: inline-block;
  width: 16ch;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.ys-dm-visit__addr::after {
  content: "";
  width: 1px;
  height: 0.85rem;
  margin-inline-start: 1px;
  background: var(--dm-ink);
  opacity: 0;
}

.ys-dm .ys-dm-path {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  margin: 0;
  padding: 0.4rem 0.5rem;
  border-block-end: 1px solid #dfe5ee;
  background: #eef2f8;
  list-style: none;
}

.ys-dm .ys-dm-path li {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: rgba(47, 111, 214, 0.13);
  color: #1d4fa3;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.35;
}

.ys-dm .ys-dm-path li + li::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  margin-inline: -0.05rem 0.2rem;
  border: solid #7d8ba0;
  border-width: 1.5px 1.5px 0 0;
  transform: rotate(45deg);
}

.ys-dm-path code {
  font-size: 0.68rem;
}

.ys-dm-site {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 0;
  padding: 0.6rem 0.7rem;
}

.ys-dm-site__nav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.ys-dm-site__nav b {
  margin-inline-end: auto;
  color: var(--dm-navy);
  font-size: 0.8rem;
  font-weight: 800;
}

.ys-dm-site__nav i,
.ys-dm-site__hero i {
  display: block;
  width: 1.6rem;
  height: 0.28rem;
  border-radius: 1rem;
  background: #cfd8e4;
}

.ys-dm-site__hero {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  min-height: 0;
  padding: 0.7rem 0.8rem;
  border-radius: 0.5rem;
  background:
    radial-gradient(circle at 92% 20%, rgba(230, 122, 46, 0.35), transparent 34%),
    linear-gradient(135deg, #0b1d36, #183d6b);
}

.ys-dm-site__hero b {
  color: #fff;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.25;
}

.ys-dm-site__hero i {
  width: 62%;
  background: rgba(255, 255, 255, 0.28);
}

.ys-dm-site__hero em {
  display: block;
  width: 4.2rem;
  height: 0.95rem;
  border-radius: 999px;
  background: var(--dm-orange);
}

.ys-dm-site__cards {
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
}

.ys-dm-site__cards i {
  height: 1.9rem;
  border: 1px solid #dfe5ee;
  border-radius: 0.4rem;
  background: #fff;
}

/* cursor */
.ys-dm-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-dm-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-dm-cursor svg {
  display: block;
  filter: drop-shadow(0 3px 5px rgba(7, 20, 38, 0.35));
}

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

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

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

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

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

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

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

.ys-dm-hub.is-live:is([data-step="reg"], [data-step="host"]) .ys-dm-wire::before {
  animation: ys-dm-wire 0.5s ease both;
  animation-delay: 0.9s;
}

.ys-dm-hub.is-live:is([data-step="reg"], [data-step="host"]) .ys-dm-wire .ys-dm-pkt {
  animation: ys-dm-pkt 0.6s ease-in-out both;
  animation-delay: 0.9s;
}

.ys-dm-hub.is-live:is([data-step="reg"], [data-step="host"]) .ys-dm-wire--2::before,
.ys-dm-hub.is-live:is([data-step="reg"], [data-step="host"]) .ys-dm-wire--2 .ys-dm-pkt {
  animation-delay: 1.4s;
}

.ys-dm-hub.is-live:is([data-step="reg"], [data-step="host"]) .ys-dm-node--end {
  animation: ys-dm-glow 0.7s ease-out both;
  animation-delay: 1.9s;
}

.ys-dm-hub.is-live[data-step="host"] .ys-dm-links__r:first-child .ys-dm-node--end {
  animation-delay: 1.4s;
}

.ys-dm-hub.is-live[data-step="dns"] .ys-dm-zone__r {
  animation: ys-dm-row 0.35s ease both, ys-dm-flash 0.9s ease both;
}

.ys-dm-hub.is-live[data-step="dns"] .ys-dm-zone__r:nth-child(2) { animation-delay: 0.15s, 0.15s; }
.ys-dm-hub.is-live[data-step="dns"] .ys-dm-zone__r:nth-child(3) { animation-delay: 0.45s, 0.45s; }
.ys-dm-hub.is-live[data-step="dns"] .ys-dm-zone__r:nth-child(4) { animation-delay: 0.75s, 0.75s; }
.ys-dm-hub.is-live[data-step="dns"] .ys-dm-zone__r:nth-child(5) { animation-delay: 1.05s, 1.05s; }
.ys-dm-hub.is-live[data-step="dns"] .ys-dm-zone__r:nth-child(6) { animation-delay: 1.35s, 1.35s; }

.ys-dm-hub.is-live[data-step="dns"] .ys-dm-legend {
  animation: ys-dm-in 0.4s ease both;
  animation-delay: 1.75s;
}

.ys-dm-hub.is-live[data-step="ns"] .ys-dm-nsmap__fork path {
  animation: ys-dm-draw 0.5s ease both;
  animation-delay: 0.3s;
}

.ys-dm-hub.is-live[data-step="ns"] .ys-dm-nsmap__ns {
  animation: ys-dm-in 0.4s ease both;
  animation-delay: 0.7s;
}

.ys-dm-hub.is-live[data-step="ns"] .ys-dm-nsmap__ns--2 {
  animation-delay: 0.85s;
}

.ys-dm-hub.is-live[data-step="ns"] .ys-dm-nsmap__join path {
  animation: ys-dm-draw 0.5s ease both;
  animation-delay: 1.15s;
}

.ys-dm-hub.is-live[data-step="ns"] .ys-dm-nsmap__zone {
  animation: ys-dm-in 0.4s ease both, ys-dm-glow 0.7s ease-out both;
  animation-delay: 1.5s, 1.8s;
}

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

.ys-dm-hub.is-live[data-step="live"] .ys-dm-type {
  animation: ys-dm-type 1s steps(16, end) both;
  animation-delay: 0.25s;
}

.ys-dm-hub.is-live[data-step="live"] .ys-dm-visit__addr::after {
  animation: ys-dm-caret 1.4s steps(1, end) both;
}

.ys-dm-hub.is-live[data-step="live"] .ys-dm-path li {
  animation: ys-dm-lit 0.35s ease both;
  animation-delay: 1.3s;
}

.ys-dm-hub.is-live[data-step="live"] .ys-dm-path li:nth-child(2) { animation-delay: 1.55s; }
.ys-dm-hub.is-live[data-step="live"] .ys-dm-path li:nth-child(3) { animation-delay: 1.8s; }

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

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

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

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

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

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

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

@keyframes ys-dm-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-dm-draw {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

@keyframes ys-dm-type {
  from { width: 0; }
  to { width: 16ch; }
}

@keyframes ys-dm-caret {
  0%, 30%, 60% { opacity: 1; }
  15%, 45%, 75%, 100% { opacity: 0; }
}

@keyframes ys-dm-lit {
  from { background-color: rgba(125, 139, 160, 0.14); color: #7d8ba0; }
  to { background-color: rgba(47, 111, 214, 0.13); color: #1d4fa3; }
}

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

/* narrow hero: stage tabs run across the top */
@container dmhero (max-width: 30rem) {
  .ys-dm-app__url em {
    display: none;
  }

  .ys-dm-app__main {
    grid-template-areas: "nav" "panes";
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
  }

  .ys-dm-nav {
    padding: 0.4rem 0.45rem;
    border-inline-end: 0;
    border-block-end: 1px solid var(--hb-line);
  }

  .ys-dm .ys-dm-nav__title,
  .ys-dm .ys-dm-nav__dom,
  .ys-dm .ys-dm-nav__note {
    display: none;
  }

  .ys-dm .ys-dm-steps {
    flex-direction: row;
    gap: 0.25rem;
  }

  .ys-dm-step {
    flex: 1 1 0;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.3rem 0.1rem;
    font-size: 0.68rem;
    text-align: center;
  }

  .ys-dm-step i {
    width: 1.3rem;
    height: 1.3rem;
    font-size: 0.72rem;
  }

  .ys-dm-step span {
    max-width: 100%;
  }

  .ys-dm-step .ys-dm-step__l {
    display: none;
  }

  .ys-dm-step .ys-dm-step__s {
    display: block;
  }

  .ys-dm-panes {
    padding: 0.75rem 0.8rem 0.7rem;
  }

  .ys-dm-kv__opt {
    display: none !important;
  }

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

@container dmhero (max-width: 24rem) {
  .ys-dm-app__bar {
    gap: 0.5rem;
    padding: 0.45rem 0.6rem;
  }

  .ys-dm-panes {
    padding: 0.6rem 0.65rem 0.6rem;
  }

  .ys-dm-pane {
    gap: 0.45rem;
  }

  .ys-dm .ys-dm-pane__t {
    font-size: 0.86rem;
  }

  .ys-dm-kv > div {
    grid-template-columns: 5.9rem minmax(0, 1fr);
    padding: 0.3rem 0.6rem;
  }

  .ys-dm-zone__h,
  .ys-dm-zone__r {
    grid-template-columns: 3.3rem 2rem minmax(0, 1fr);
    padding: 0.26rem 0.6rem;
  }

  .ys-dm-nsmap {
    --ns-gap: 1.5rem;
  }

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

  .ys-dm-chain {
    grid-template-columns: minmax(0, 1fr) minmax(0.5rem, 0.2fr) minmax(0, 1fr) minmax(0.5rem, 0.2fr) minmax(0, 1fr);
    gap: 0.2rem;
  }

  .ys-dm-chain .ys-dm-node b {
    font-size: 0.68rem;
  }

  .ys-dm-nsmap .ys-dm-node {
    padding: 0.32rem 0.5rem;
  }

  .ys-dm-nsmap__ns i {
    display: none;
  }

  .ys-dm-nsmap .ys-dm-node b {
    font-size: 0.68rem;
  }

  .ys-dm-links__r {
    grid-template-columns: minmax(0, 1fr) minmax(0.7rem, 0.18fr) minmax(0, 0.95fr);
  }

  .ys-dm-rec,
  .ys-dm-links .ys-dm-node {
    padding: 0.38rem 0.45rem;
  }

  .ys-dm-rec code {
    font-size: 0.68rem;
  }

  .ys-dm-site {
    gap: 0.35rem;
    padding: 0.45rem 0.55rem;
  }

  .ys-dm-site__cards i {
    height: 1.3rem;
  }
}

/* phones: the frame is short, so secondary lines give way to the stage itself */
@media (max-width: 767.98px) {
  .ys-dm .ys-dm-pane__d,
  .ys-dm .ys-dm-legend,
  .ys-dm-node small,
  .ys-dm .ys-dm-pane--reg .ys-dm-foot,
  .ys-dm-site__cards {
    display: none;
  }
}

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

.ys-dm-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(--dm-orange), var(--dm-orange)) left bottom / 2.4rem 2px no-repeat,
    linear-gradient(var(--dm-line), var(--dm-line)) left bottom / 100% 1px no-repeat;
  color: var(--dm-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

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

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

/* links into the real sales flow (/alan-adi) read as a callout */
.ys-service-article :is(.ys-dm-sec--intro, .ys-dm-sec--register) > 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-dm-sec--intro, .ys-dm-sec--register) > 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(--dm-orange);
  border-radius: 50%;
}

.ys-service-article :is(.ys-dm-sec--intro, .ys-dm-sec--register) > 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(--dm-orange);
  transform: rotate(45deg);
}

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

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

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

.ys-dm .ys-dm-crit {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0.3rem 1.1rem;
  border: 1px solid var(--dm-line);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 14px 34px rgba(7, 20, 38, 0.05);
  list-style: none;
}

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

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

.ys-dm-crit 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(--dm-blue);
}

/* scope: numbered two-column service sheet */
.ys-dm .ys-dm-sec--scope > ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1.75rem;
  padding: 0;
  border-block-start: 1px solid var(--dm-line);
  counter-reset: dmscope;
  list-style: none;
}

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

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

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

/* extension: anatomy of a domain + extension families */
.ys-dm-anat {
  margin-block-start: 1.6rem;
  padding: 1.4rem 1.5rem 1.3rem;
  border: 1px solid var(--dm-line);
  border-radius: 1.1rem;
  background:
    radial-gradient(circle, rgba(21, 36, 58, 0.07) 1px, transparent 1.2px) 0 0 / 14px 14px,
    #fff;
  box-shadow: 0 18px 44px rgba(7, 20, 38, 0.06);
}

.ys-dm .ys-dm-anat__url {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  margin: 0 0 1.1rem;
  color: var(--dm-ink);
  font-family: var(--dm-mono);
  font-size: clamp(1.25rem, 1rem + 1.2vw, 1.9rem);
  font-weight: 600;
  line-height: 1.3;
}

.ys-dm-anat__url b {
  color: #a3b0c2;
  font-weight: 600;
}

.ys-dm-anat__p {
  padding: 0.1rem 0.35rem;
  border-block-end: 3px solid currentColor;
}

.ys-dm-anat__p--sub { color: #5b6b82; }
.ys-dm-anat__p--name { color: var(--dm-blue); }
.ys-dm-anat__p--tld { color: var(--dm-orange-d); }

.ys-dm-anat__keys {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.ys-dm-anat__k {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.7rem 0.8rem;
  border-block-start: 3px solid;
  border-radius: 0.2rem 0.2rem 0.6rem 0.6rem;
  background: var(--dm-soft);
  color: var(--dm-muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

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

.ys-dm-anat__k--sub { border-color: #5b6b82; }
.ys-dm-anat__k--name { border-color: var(--dm-blue); }
.ys-dm-anat__k--tld { border-color: var(--dm-orange); }

.ys-dm-anat__types {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  margin-block-start: 1.1rem;
  padding-block-start: 1rem;
  border-block-start: 1px dashed rgba(16, 33, 58, 0.16);
}

.ys-dm-anat__types > span {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  color: var(--dm-muted);
  font-size: 0.84rem;
}

.ys-dm-anat__types b {
  margin-inline-end: 0.15rem;
  color: var(--dm-ink);
}

.ys-dm-anat__types em {
  padding: 0.08rem 0.5rem;
  border: 1px solid var(--dm-line);
  border-radius: 999px;
  background: #fff;
  color: #33465f;
  font-family: var(--dm-mono);
  font-size: 0.8rem;
  font-style: normal;
}

.ys-dm-anat__types span:last-child em {
  font-family: inherit;
}

/* transfer: what is checked before a transfer */
.ys-dm-xfer {
  display: grid;
  grid-template-columns: minmax(7rem, 0.8fr) minmax(0, 2fr) minmax(7rem, 0.8fr);
  gap: 0.9rem;
  align-items: center;
  margin-block-start: 1.6rem;
  padding: 1.3rem 1.4rem 1.15rem;
  border: 1px solid var(--dm-line);
  border-radius: 1.1rem;
  background: #fff;
  box-shadow: 0 18px 44px rgba(7, 20, 38, 0.06);
}

.ys-dm-xfer__end {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  color: var(--dm-ink);
  font-size: 0.86rem;
  text-align: center;
}

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

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

.ys-dm .ys-dm-xfer__checks {
  position: relative;
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ys-dm-xfer__checks::before,
.ys-dm-xfer__checks::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0.9rem;
  height: 2px;
  background: linear-gradient(90deg, rgba(16, 33, 58, 0.18), var(--dm-orange));
}

.ys-dm-xfer__checks::before { left: -0.9rem; }
.ys-dm-xfer__checks::after { right: -0.9rem; }

.ys-dm .ys-dm-xfer__checks li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--dm-line);
  border-radius: 0.6rem;
  background: var(--dm-soft);
  color: #24364f;
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.4;
}

.ys-dm-xfer__checks i {
  color: var(--dm-blue);
}

.ys-dm .ys-dm-xfer__cap {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--dm-muted);
  font-size: 0.8rem;
  text-align: center;
}

/* transfer time: a single framed note */
.ys-dm-article.is-grouped > .ys-dm-sec--ttime {
  padding: clamp(1.3rem, 2.4vw, 1.75rem);
  border: 1px solid var(--dm-line);
  border-radius: 1.1rem;
  background: #fff;
  box-shadow: inset 3px 0 0 var(--dm-blue), 0 14px 34px rgba(7, 20, 38, 0.045);
}

.ys-dm-article.is-grouped > .ys-dm-sec--transfer + .ys-dm-sec--ttime {
  margin-block-start: 1.4rem;
}

/* notes: propagation / transfer pre-check */
.ys-service-article :is(.ys-dm-sec--ns, .ys-dm-sec--move) > p:last-child {
  padding: 0.8rem 1rem;
  border-inline-start: 3px solid var(--dm-orange);
  border-radius: 0 0.6rem 0.6rem 0;
  background: var(--dm-soft);
  color: #33465f;
}

/* domain vs hosting: the two CMS definitions side by side */
.ys-dm-article.is-grouped > .ys-dm-sec--diff {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1rem;
}

.ys-dm-sec--diff > *,
.ys-dm-sec--diff::before {
  grid-column: 1 / -1;
}

.ys-service-article .ys-dm-sec--diff > p:has(> strong:first-child) {
  grid-column: auto;
  margin-block-end: 1.15rem;
  padding: 1.15rem 1.25rem 1.2rem;
  border: 1px solid var(--dm-line);
  border-block-start: 3px solid var(--dm-blue);
  border-radius: 0.3rem 0.3rem 0.9rem 0.9rem;
  background: #fff;
  box-shadow: 0 14px 34px rgba(7, 20, 38, 0.05);
}

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

.ys-service-article .ys-dm-sec--diff > p:has(> strong:first-child)::before {
  content: "";
  display: block;
  width: 2.3rem;
  height: 2.3rem;
  margin-block-end: 0.75rem;
  border-radius: 0.65rem;
  background:
    radial-gradient(circle at 50% 50%, transparent 0.42rem, var(--dm-blue) 0.44rem 0.53rem, transparent 0.55rem),
    rgba(47, 111, 214, 0.1);
}

.ys-service-article .ys-dm-sec--diff > p:has(> strong:first-child) ~ p:has(> strong:first-child)::before {
  background:
    linear-gradient(var(--dm-orange), var(--dm-orange)) 50% 36% / 1rem 2px no-repeat,
    linear-gradient(var(--dm-orange), var(--dm-orange)) 50% 64% / 1rem 2px no-repeat,
    rgba(230, 122, 46, 0.1);
}

.ys-service-article .ys-dm-sec--diff > p > strong:first-child {
  color: var(--dm-ink);
  font-size: 1.1rem;
}

/* expire: lifecycle */
.ys-dm-life {
  margin-block-start: 1.6rem;
  padding: 1.35rem 1.4rem 1.2rem;
  border: 1px solid var(--dm-line);
  border-radius: 1.1rem;
  background: #fff;
  box-shadow: 0 18px 44px rgba(7, 20, 38, 0.06);
}

.ys-dm .ys-dm-life__track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ys-dm .ys-dm-life__s {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: var(--dm-muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.ys-dm-life__s i {
  position: relative;
  z-index: 1;
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  margin-block-end: 0.45rem;
  place-items: center;
  border: 1px solid var(--dm-line);
  border-radius: 50%;
  background: #fff;
  font-size: 1rem;
}

.ys-dm-life__s:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1.2rem;
  left: 2.4rem;
  right: -0.8rem;
  height: 2px;
  background: linear-gradient(90deg, var(--dm-line), rgba(16, 33, 58, 0.18));
}

.ys-dm-life__s b {
  color: var(--dm-ink);
  font-size: 0.92rem;
}

.ys-dm-life__s--ok i { border-color: rgba(47, 111, 214, 0.35); background: rgba(47, 111, 214, 0.08); color: var(--dm-blue); }
.ys-dm-life__s--end i { border-color: rgba(230, 122, 46, 0.4); background: rgba(230, 122, 46, 0.08); color: var(--dm-orange-d); }
.ys-dm-life__s--rule i { color: var(--dm-muted); }
.ys-dm-life__s--open i { border-style: dashed; color: var(--dm-muted); }

.ys-dm .ys-dm-life__renew {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 1.15rem 0 0;
  padding: 0.6rem 0.85rem;
  border-radius: 0.6rem;
  background: rgba(47, 111, 214, 0.07);
  color: #1d4fa3;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.45;
}

/* price: the CMS answer as a pull statement */
.ys-service-article .ys-dm-sec--price > h2 + p {
  padding-inline-start: 1rem;
  border-inline-start: 3px solid var(--dm-orange);
  color: var(--dm-ink);
  font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.45rem);
  font-weight: 800;
  line-height: 1.4;
}

.ys-service-article .ys-dm-sec--price > p:last-child {
  color: var(--dm-muted);
  font-size: 0.93rem;
}

/* manage: three managed areas */
.ys-dm .ys-dm-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.ys-dm .ys-dm-pillars li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--dm-line);
  border-radius: 0.85rem;
  background: #fff;
  color: var(--dm-ink);
  font-size: 0.92rem;
  line-height: 1.35;
}

.ys-dm-pillars i {
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 0.65rem;
  background: linear-gradient(140deg, var(--dm-navy), #1d3a66);
  color: var(--dm-orange);
}

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

.ys-dm-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(--dm-blue);
  font-size: 1.15rem;
}

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

.ys-dm-sec--process .ys-dm-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-dm-sub h3 {
  margin-block: 0.35rem 0.3rem;
}

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

/* provide: checklist panel */
.ys-dm .ys-dm-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(--dm-line);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 14px 34px rgba(7, 20, 38, 0.05);
  list-style: none;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.ys-dm-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(--dm-line);
}

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

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

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

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

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

.ys-dm:not(.is-ready) :is(.ys-dm-dns__tabs, .ys-dm-brand__tabs) {
  display: none;
}

/* ---------- Scene A: DNS record explorer ---------- */
.ys-dm-dns__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.85rem 1.2rem 0;
}

.ys-dm-dns__tabs button {
  min-width: 3.4rem;
  padding: 0.42rem 0.8rem;
  border: 1px solid var(--dm-line);
  border-radius: 0.55rem;
  background: var(--dm-soft);
  color: #33465f;
  font-family: var(--dm-mono);
  font-size: 0.86rem;
  font-weight: 700;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.ys-dm-dns__tabs button:hover {
  border-color: rgba(47, 111, 214, 0.4);
}

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

.ys-dm-dns__body {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  gap: 1rem;
  padding: 1rem 1.2rem;
}

.ys-dm-dns__zone {
  overflow: hidden;
  border-radius: 0.8rem;
  background: var(--hb-bg);
  color: var(--hb-txt);
}

.ys-dm .ys-dm-dns__file {
  padding: 0.55rem 0.8rem;
  border-block-end: 1px solid var(--hb-line);
  color: var(--hb-mut);
  font-family: var(--dm-mono);
  font-size: 0.74rem;
}

.ys-dm-dns__row {
  display: grid;
  grid-template-columns: 3.6rem 2.4rem minmax(0, 1fr);
  gap: 0.45rem;
  align-items: center;
  padding: 0.5rem 0.8rem;
  border-inline-start: 3px solid transparent;
  font-size: 0.8rem;
  opacity: 0.55;
  transition: opacity 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.ys-dm-dns__row + .ys-dm-dns__row {
  border-block-start: 1px solid var(--hb-line);
}

.ys-dm-dns__row b {
  justify-self: start;
  padding: 0.04rem 0.4rem;
  border-radius: 0.3rem;
  background: rgba(47, 111, 214, 0.22);
  color: var(--dm-sky);
  font-family: var(--dm-mono);
  font-size: 0.74rem;
}

.ys-dm-dns__row span {
  color: #c5cfdc;
  font-family: var(--dm-mono);
}

.ys-dm-dns__row code {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #e6ecf3;
}

.ys-dm-dns:is([data-rec="a"]) [data-r="a"].ys-dm-dns__row,
.ys-dm-dns[data-rec="aaaa"] .ys-dm-dns__row[data-r="aaaa"],
.ys-dm-dns[data-rec="cname"] .ys-dm-dns__row[data-r="cname"],
.ys-dm-dns[data-rec="mx"] .ys-dm-dns__row[data-r="mx"],
.ys-dm-dns[data-rec="txt"] .ys-dm-dns__row[data-r="txt"] {
  border-inline-start-color: var(--dm-orange);
  background: rgba(230, 122, 46, 0.1);
  opacity: 1;
}

/* route: requester → authoritative nameserver → target */
.ys-dm-route {
  display: flex;
  min-width: 0;
}

.ys-dm-route__set {
  display: none;
  flex: 1 1 auto;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 2.6rem auto 2.6rem auto;
  justify-items: center;
  min-width: 0;
}

.ys-dm-dns[data-rec="a"] .ys-dm-route__set[data-r="a"],
.ys-dm-dns[data-rec="aaaa"] .ys-dm-route__set[data-r="aaaa"],
.ys-dm-dns[data-rec="cname"] .ys-dm-route__set[data-r="cname"],
.ys-dm-dns[data-rec="mx"] .ys-dm-route__set[data-r="mx"],
.ys-dm-dns[data-rec="txt"] .ys-dm-route__set[data-r="txt"] {
  display: grid;
}

.ys-dm-route__n {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 0.6rem;
  align-items: center;
  width: min(100%, 18rem);
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--dm-line);
  border-radius: 0.75rem;
  background: var(--dm-soft);
}

.ys-dm-route__n i {
  grid-row: span 2;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 0.55rem;
  background: #fff;
  color: var(--dm-muted);
  font-size: 0.95rem;
}

.ys-dm-route__n b {
  color: var(--dm-ink);
  font-size: 0.86rem;
}

.ys-dm-route__n small {
  overflow: hidden;
  color: var(--dm-muted);
  font-size: 0.76rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ys-dm-route__n--ns i {
  background: var(--dm-navy);
  color: var(--dm-sky);
}

.ys-dm-route__n--to {
  border-color: rgba(230, 122, 46, 0.45);
  background: #fff;
}

.ys-dm-route__n--to i {
  background: rgba(230, 122, 46, 0.12);
  color: var(--dm-orange-d);
}

/* question / answer legs */
.ys-dm-route__q,
.ys-dm-route__a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.ys-dm-route__q::before,
.ys-dm-route__a::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  margin-inline-start: -1px;
  background: repeating-linear-gradient(rgba(16, 33, 58, 0.22) 0 4px, transparent 4px 8px);
}

.ys-dm-route__a::before {
  background: linear-gradient(var(--dm-blue), var(--dm-orange));
}

.ys-dm-route__q em,
.ys-dm-route__a em {
  position: relative;
  max-width: calc(100% - 1rem);
  overflow: hidden;
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  font-family: var(--dm-mono);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ys-dm-route__q em {
  border: 1px solid var(--dm-line);
  background: #fff;
  color: #33465f;
}

.ys-dm-route__a em {
  background: var(--dm-navy);
  color: #fff;
}

.ys-dm-route__q em::before {
  content: "Soru · ";
  color: var(--dm-muted);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.ys-dm-route__a em::before {
  content: "Yanıt · ";
  color: #f3a46b;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.ys-dm-dns.is-live .ys-dm-route__set > * {
  animation: ys-dm-in 0.45s ease both;
}

.ys-dm-dns.is-live .ys-dm-route__q { animation-delay: 0.35s; }
.ys-dm-dns.is-live .ys-dm-route__n--ns { animation-delay: 0.75s; }
.ys-dm-dns.is-live .ys-dm-route__a { animation-delay: 1.2s; }
.ys-dm-dns.is-live .ys-dm-route__n--to { animation-delay: 1.65s; }

.ys-dm-dns.is-live .ys-dm-route__n--to {
  animation: ys-dm-in 0.45s ease both, ys-dm-glow 0.9s ease-out both;
  animation-delay: 1.65s, 2.1s;
}

.ys-dm-dns__exp {
  padding: 0 1.2rem 1.1rem;
}

.ys-dm .ys-dm-dns__exp p {
  padding: 0.75rem 0.95rem;
  border-radius: 0.7rem;
  background: var(--dm-soft);
  color: #33465f;
  font-size: 0.92rem;
  line-height: 1.55;
}

.ys-dm .ys-dm-dns__exp p b {
  color: var(--dm-ink);
}

.ys-dm.is-ready .ys-dm-dns__exp p {
  display: none;
}

.ys-dm:not(.is-ready) .ys-dm-dns__exp {
  display: grid;
  gap: 0.4rem;
}

.ys-dm.is-ready .ys-dm-dns[data-rec="a"] .ys-dm-dns__exp p[data-r="a"],
.ys-dm.is-ready .ys-dm-dns[data-rec="aaaa"] .ys-dm-dns__exp p[data-r="aaaa"],
.ys-dm.is-ready .ys-dm-dns[data-rec="cname"] .ys-dm-dns__exp p[data-r="cname"],
.ys-dm.is-ready .ys-dm-dns[data-rec="mx"] .ys-dm-dns__exp p[data-r="mx"],
.ys-dm.is-ready .ys-dm-dns[data-rec="txt"] .ys-dm-dns__exp p[data-r="txt"] {
  display: block;
}

.ys-dm-dns.is-live .ys-dm-dns__exp p {
  animation: ys-dm-in 0.45s ease both;
}

@container dmscene (max-width: 38rem) {
  .ys-dm-dns__body {
    grid-template-columns: minmax(0, 1fr);
  }

  .ys-dm-route__set {
    grid-template-rows: auto 2.2rem auto 2.2rem auto;
  }

  .ys-dm-route__n {
    width: 100%;
  }
}

@container dmscene (max-width: 26rem) {
  .ys-dm-scene__head,
  .ys-dm-dns__exp {
    padding-inline: 0.9rem;
  }

  .ys-dm-dns__tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.3rem;
    padding: 0.75rem 0.9rem 0;
  }

  .ys-dm-dns__tabs button {
    min-width: 0;
    padding: 0.42rem 0.1rem;
    font-size: 0.74rem;
  }

  .ys-dm-dns__body {
    padding: 0.85rem 0.9rem;
  }

  .ys-dm-dns__row {
    grid-template-columns: 3.3rem 2rem minmax(0, 1fr);
    padding: 0.45rem 0.65rem;
    font-size: 0.76rem;
  }

  .ys-dm .ys-dm-dns__exp p {
    font-size: 0.88rem;
  }
}

/* ---------- Scene B: one domain, one digital identity ---------- */
.ys-dm-brand__hub {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  padding: 0.95rem 1.2rem 0;
}

.ys-dm-brand__dom {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  border-radius: 0.7rem;
  background: var(--dm-navy);
  color: #fff;
  font-family: var(--dm-mono);
  font-size: 0.86rem;
  font-weight: 600;
}

.ys-dm-brand__dom i {
  color: var(--dm-orange);
}

.ys-dm-brand__dom::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -0.8rem;
  width: 0.8rem;
  height: 2px;
  background: linear-gradient(90deg, var(--dm-orange), rgba(230, 122, 46, 0.3));
}

.ys-dm-brand__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.3rem;
  border: 1px solid var(--dm-line);
  border-radius: 0.8rem;
  background: var(--dm-soft);
}

.ys-dm-brand__tabs button {
  display: inline-flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.45rem 0.7rem;
  border: 0;
  border-radius: 0.55rem;
  background: transparent;
  color: #33465f;
  font-size: 0.86rem;
  font-weight: 700;
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.ys-dm-brand__tabs button[aria-pressed="true"] {
  background: #fff;
  box-shadow: 0 4px 14px rgba(7, 20, 38, 0.1);
  color: var(--dm-ink);
}

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

.ys-dm-brand__stage {
  display: grid;
  min-height: 15.5rem;
  margin: 1rem 1.2rem;
  padding: 1.2rem;
  place-items: center;
  border-radius: 0.9rem;
  background:
    radial-gradient(circle, rgba(21, 36, 58, 0.08) 1px, transparent 1.2px) 0 0 / 14px 14px,
    linear-gradient(160deg, #eef3f9, #f8fafc);
}

.ys-dm-brand__v {
  display: none;
  width: 100%;
  justify-items: center;
}

.ys-dm-brand[data-view="web"] .ys-dm-brand__v--web,
.ys-dm-brand[data-view="mail"] .ys-dm-brand__v--mail,
.ys-dm-brand[data-view="identity"] .ys-dm-brand__v--identity {
  display: grid;
}

.ys-dm-brand.is-live .ys-dm-brand__v > * {
  animation: ys-dm-in 0.5s ease both;
}

/* web */
.ys-dm-bw {
  width: min(100%, 30rem);
  overflow: hidden;
  border: 1px solid #d6dee9;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 18px 40px rgba(7, 20, 38, 0.1);
}

.ys-dm-bw__bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.65rem;
  border-block-end: 1px solid #e3e9f1;
  background: #f1f4f9;
}

.ys-dm-bw__bar .ys-dm-app__dots i {
  background: #cfd8e4;
}

.ys-dm-bw__addr {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  padding: 0.16rem 0.65rem;
  border-radius: 999px;
  background: #fff;
  color: var(--dm-ink);
  font-family: var(--dm-mono);
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ys-dm-bw__page {
  display: grid;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem 0.9rem;
}

.ys-dm-bw__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.8rem;
  color: var(--dm-muted);
  font-size: 0.74rem;
}

.ys-dm-bw__nav b,
.ys-dm-bi__card b,
.ys-dm-bi__tab span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--dm-navy);
  font-weight: 800;
}

.ys-dm-bw__nav b {
  margin-inline-end: auto;
  font-size: 0.88rem;
}

.ys-dm-bw__nav b i,
.ys-dm-bi__card b i,
.ys-dm-bi__tab i {
  color: var(--dm-orange);
}

.ys-dm-bw__nav em,
.ys-dm-bi em {
  font-style: normal;
}

.ys-dm-bw__hero {
  display: grid;
  gap: 0.45rem;
  justify-items: start;
  padding: 0.95rem 1rem;
  border-radius: 0.55rem;
  background:
    radial-gradient(circle at 92% 20%, rgba(230, 122, 46, 0.35), transparent 34%),
    linear-gradient(135deg, #0b1d36, #183d6b);
}

.ys-dm-bw__hero b {
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.25;
}

.ys-dm-bw__hero i {
  display: block;
  width: 70%;
  height: 0.32rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.28);
}

.ys-dm-bw__hero i + i {
  width: 52%;
}

.ys-dm-bw__hero em {
  margin-block-start: 0.2rem;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  background: var(--dm-orange);
  color: #fff;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
}

.ys-dm-bw__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.ys-dm-bw__cards i {
  height: 2.4rem;
  border: 1px solid #e3e9f1;
  border-radius: 0.45rem;
  background: linear-gradient(#f6f8fb, #fff);
}

/* mail */
.ys-dm-bm {
  display: grid;
  width: min(100%, 27rem);
  gap: 0;
  overflow: hidden;
  border: 1px solid #d6dee9;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 18px 40px rgba(7, 20, 38, 0.1);
}

.ys-dm .ys-dm-bm p {
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
  padding: 0.5rem 0.85rem;
  border-block-end: 1px solid #edf1f6;
  font-size: 0.84rem;
}

.ys-dm .ys-dm-bm__top {
  align-items: center;
  background: var(--dm-navy);
  color: #fff;
  font-weight: 800;
}

.ys-dm-bm__top i {
  color: var(--dm-orange);
}

.ys-dm-bm__f span {
  flex: 0 0 3.6rem;
  color: var(--dm-muted);
}

.ys-dm-bm__f b {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--dm-ink);
  font-weight: 650;
}

.ys-dm-bm__f:nth-of-type(2) b {
  color: var(--dm-orange-d);
  font-family: var(--dm-mono);
}

.ys-dm-bm__body {
  display: grid;
  gap: 0.4rem;
  padding: 0.8rem 0.85rem;
}

.ys-dm-bm__body i {
  display: block;
  height: 0.32rem;
  border-radius: 1rem;
  background: #dfe5ee;
}

.ys-dm-bm__body i:nth-child(2) { width: 86%; }
.ys-dm-bm__body i:nth-child(3) { width: 58%; }

.ys-dm .ys-dm-bm__sig {
  flex-direction: column;
  gap: 0.05rem;
  border-block-end: 0;
  border-block-start: 2px solid var(--dm-orange);
  margin-inline: 0.85rem;
  padding-inline: 0;
  padding-block-end: 0.75rem;
}

.ys-dm-bm__sig b {
  color: var(--dm-ink);
}

.ys-dm-bm__sig span {
  color: var(--dm-muted);
  font-family: var(--dm-mono);
  font-size: 0.78rem;
}

/* identity */
.ys-dm-bi {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  grid-template-areas: "card tab" "card sig";
  gap: 0.75rem;
  width: min(100%, 32rem);
}

.ys-dm-bi__card {
  display: grid;
  grid-area: card;
  align-content: center;
  gap: 0.3rem;
  min-height: 10rem;
  padding: 1.1rem 1.2rem;
  border-radius: 0.8rem;
  background:
    linear-gradient(var(--dm-orange), var(--dm-orange)) left bottom / 100% 4px no-repeat,
    linear-gradient(145deg, #0b1d36, #183d6b);
  box-shadow: 0 18px 40px rgba(7, 20, 38, 0.18);
  color: #c5cfdc;
  font-size: 0.8rem;
}

.ys-dm-bi__card b {
  margin-block-end: 0.35rem;
  color: #fff;
  font-size: 1.05rem;
}

.ys-dm-bi__card em {
  color: #fff;
  font-family: var(--dm-mono);
  font-size: 0.76rem;
  overflow-wrap: anywhere;
}

.ys-dm-bi__tab,
.ys-dm-bi__sig {
  display: grid;
  align-content: center;
  gap: 0.15rem;
  min-width: 0;
  padding: 0.7rem 0.85rem;
  border: 1px solid #d6dee9;
  border-radius: 0.7rem;
  background: #fff;
  box-shadow: 0 10px 24px rgba(7, 20, 38, 0.07);
  font-size: 0.8rem;
}

.ys-dm-bi__tab {
  grid-area: tab;
  border-radius: 0.7rem 0.7rem 0.2rem 0.2rem;
  border-block-end: 3px solid var(--dm-blue);
}

.ys-dm-bi__tab em,
.ys-dm-bi__sig em {
  overflow: hidden;
  color: var(--dm-muted);
  font-family: var(--dm-mono);
  font-size: 0.76rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ys-dm-bi__sig {
  grid-area: sig;
  border-inline-start: 3px solid var(--dm-orange);
}

.ys-dm-bi__sig b {
  color: var(--dm-ink);
}

.ys-dm-bi__sig span {
  color: var(--dm-muted);
}

.ys-dm-brand__exp {
  padding: 0 1.2rem 1.1rem;
}

.ys-dm .ys-dm-brand__exp p {
  padding: 0.75rem 0.95rem;
  border-radius: 0.7rem;
  background: var(--dm-soft);
  color: #33465f;
  font-size: 0.92rem;
  line-height: 1.55;
}

.ys-dm .ys-dm-brand__exp p b {
  color: var(--dm-ink);
}

.ys-dm.is-ready .ys-dm-brand__exp p {
  display: none;
}

.ys-dm:not(.is-ready) .ys-dm-brand__exp {
  display: grid;
  gap: 0.4rem;
}

.ys-dm.is-ready .ys-dm-brand[data-view="web"] .ys-dm-brand__exp p[data-v="web"],
.ys-dm.is-ready .ys-dm-brand[data-view="mail"] .ys-dm-brand__exp p[data-v="mail"],
.ys-dm.is-ready .ys-dm-brand[data-view="identity"] .ys-dm-brand__exp p[data-v="identity"] {
  display: block;
}

.ys-dm-brand.is-live .ys-dm-brand__exp p {
  animation: ys-dm-in 0.45s ease both;
}

@container dmscene (max-width: 34rem) {
  .ys-dm-brand__hub {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
  }

  .ys-dm-brand__dom::after {
    display: none;
  }

  .ys-dm-brand__tabs {
    width: 100%;
  }

  .ys-dm-bi {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "card" "tab" "sig";
  }

  .ys-dm-bi__card {
    min-height: 0;
  }
}

@container dmscene (max-width: 26rem) {
  .ys-dm-brand__hub {
    padding-inline: 0.9rem;
  }

  .ys-dm-brand__tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.25rem;
  }

  .ys-dm-brand__tabs button {
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.45rem 0.2rem;
    font-size: 0.76rem;
    line-height: 1.25;
    text-align: center;
  }

  .ys-dm-brand__stage {
    min-height: 13rem;
    margin: 0.85rem 0.9rem;
    padding: 0.8rem 0.7rem;
  }

  .ys-dm-brand__exp {
    padding-inline: 0.9rem;
  }

  .ys-dm .ys-dm-bm p {
    gap: 0.5rem;
    padding-inline: 0.7rem;
    font-size: 0.8rem;
  }

  .ys-dm-bm__f span {
    flex-basis: 3.1rem;
  }

  .ys-dm-bw__nav em {
    display: none;
  }
}

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

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

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

.ys-dm-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(--dm-blue);
  font-size: 1.05rem;
}

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

/* ---------- Scope / process / delivery / package CTA / final ---------- */
.ys-dm-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-dm-caps .ys-sd-capability > span {
  position: absolute;
  top: 1.35rem;
  right: 1.45rem;
  color: rgba(255, 255, 255, 0.22);
  font-family: var(--dm-mono);
  font-size: 1.35rem;
  line-height: 1;
}

.ys-dm-caps .ys-dm-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(--dm-sky);
  font-size: 1.05rem;
}

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

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

.ys-dm-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-dm-flow li > span {
  width: auto;
  height: auto;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: none;
}

.ys-dm-flow .ys-dm-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(--dm-orange-d);
  font-family: var(--dm-mono);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
}

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

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

.ys-dm-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(--dm-blue);
  font-size: 0.95rem;
}

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

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

.ys-dm-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-dm-final .ys-sd-final__layout {
  grid-template-columns: minmax(0, 1.3fr) minmax(17rem, 0.7fr);
  gap: clamp(2rem, 5vw, 4.5rem);
}

.ys-dm-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-dm-final .ys-sd-actions {
  margin-block-start: 1.6rem;
}

.ys-dm-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-dm-final .ys-dm-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-dm-final__head i {
  color: var(--dm-orange);
}

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

.ys-dm-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-dm-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(--dm-orange);
  font-family: var(--dm-mono);
  font-size: 0.72rem;
  font-weight: 700;
}

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

  .ys-dm-hub {
    height: 25.75rem;
  }

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

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

@media (min-width: 1024px) and (max-width: 1199.98px) {
  .ys-dm .ys-dm-pane--reg .ys-dm-chain + .ys-dm-foot,
  .ys-dm .ys-dm-pane--ns .ys-dm-foot {
    display: none;
  }
}

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

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

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

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

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

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

  .ys-dm-hub {
    height: 20.2rem;
  }

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

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

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

  .ys-dm .ys-dm-sec--scope > ul,
  .ys-dm .ys-dm-sec--provide > ul,
  .ys-dm .ys-dm-pillars,
  .ys-dm-anat__keys {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

  .ys-dm-xfer__checks {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .ys-dm-xfer__checks::before,
  .ys-dm-xfer__checks::after {
    display: none;
  }

  .ys-dm .ys-dm-life__track {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.9rem;
  }

  .ys-dm .ys-dm-life__s {
    display: grid;
    grid-template-columns: 2.4rem minmax(0, 1fr);
    column-gap: 0.8rem;
  }

  .ys-dm-life__s i {
    grid-row: span 2;
    margin: 0;
  }

  .ys-dm-life__s:not(:last-child)::after {
    top: 2.4rem;
    right: auto;
    bottom: -0.9rem;
    left: 1.2rem;
    width: 2px;
    height: auto;
    background: var(--dm-line);
  }

  .ys-dm-anat,
  .ys-dm-life {
    padding: 1.1rem;
  }

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

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

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