/* Arcadia Frequencies v7_38 — Artful Pathway + Professional Workstation + TM Polish
   Purpose: rebuild Core Pathway from scratch, fix descender clipping, refine Human Command Interface geometry,
   harmonize The Professional Workstation™ and The UNO Command Station™, and protect hardware-status reader flow.
   No Worker, routes, redirects, headers, payment, scheduling, intake endpoint, or hardware checkout changes. */

:root {
  --v38-gold: rgba(234, 184, 93, .92);
  --v38-gold-soft: rgba(234, 184, 93, .14);
  --v38-gold-line: rgba(234, 184, 93, .40);
  --v38-deep: rgba(6, 22, 40, .74);
  --v38-blue: rgba(92, 144, 214, .14);
}

sup.tm,
.tm-mark {
  font-size: .52em !important;
  line-height: 0 !important;
  position: relative !important;
  top: -.48em !important;
  letter-spacing: .015em !important;
  color: var(--accent-2) !important;
  text-shadow: 0 0 10px rgba(234,184,93,.24) !important;
}

.artful-command-section .human-command-artboard {
  max-width: min(100%, 1020px) !important;
  padding: clamp(1.35rem, 2.2vw, 2.25rem) !important;
  overflow: visible !important;
}

.decision-constellation-v8.human-decision-flow,
.human-decision-flow.artful-decision-constellation {
  display: grid !important;
  grid-template-columns: 1fr !important;
  justify-items: center !important;
  align-items: center !important;
  gap: clamp(.78rem, 1vw, 1.05rem) !important;
  max-width: 860px !important;
  margin: clamp(1.05rem, 1.6vw, 1.55rem) auto !important;
}

.decision-constellation-v8 .decision-row {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(.7rem, 1.2vw, 1rem) !important;
  width: 100% !important;
  margin-inline: auto !important;
}

.decision-constellation-v8 .decision-row-three { max-width: 740px !important; }
.decision-constellation-v8 .decision-row-two { max-width: 500px !important; }
.decision-constellation-v8 .decision-row-one { max-width: 500px !important; }

.decision-constellation-v8 span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: clamp(145px, 14vw, 205px) !important;
  min-width: 145px !important;
  max-width: 230px !important;
  min-height: 46px !important;
  height: auto !important;
  padding: .76rem 1.16rem !important;
  border-radius: 999px !important;
  white-space: nowrap !important;
  text-align: center !important;
  font-size: clamp(.94rem, 1.06vw, 1.08rem) !important;
  line-height: 1.16 !important;
  font-weight: 820 !important;
  letter-spacing: .012em !important;
  color: var(--text) !important;
  border: 1px solid var(--v38-gold-line) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(234,184,93,.18), transparent 44%),
    linear-gradient(145deg, rgba(255,255,255,.085), rgba(255,255,255,.026)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.085),
    0 12px 30px rgba(0,0,0,.14) !important;
}

.decision-constellation-v8 .decision-row-one span {
  width: auto !important;
  min-width: min(100%, 360px) !important;
  max-width: 520px !important;
  color: var(--accent-2) !important;
  border-color: rgba(234,184,93,.58) !important;
  text-shadow: var(--gold-glow) !important;
  font-size: clamp(1.02rem, 1.28vw, 1.22rem) !important;
  padding-inline: 1.65rem !important;
}

.rebuilt-core-pathway,
.rebuilt-core-pathway .wrap,
.core-pathway-stage,
.core-pathway-stage span,
.premium-pathway-card {
  overflow: visible !important;
  clip-path: none !important;
  contain: none !important;
}

.core-pathway-stage {
  display: grid !important;
  grid-template-columns: 1fr !important;
  justify-items: center !important;
  align-items: center !important;
  gap: clamp(.28rem, .65vw, .48rem) !important;
  margin: clamp(.9rem, 1.4vw, 1.25rem) auto clamp(1rem, 1.8vw, 1.5rem) !important;
  max-width: min(1040px, 100%) !important;
  text-align: center !important;
}

.core-pathway-stage span {
  display: block !important;
  width: max-content !important;
  max-width: 100% !important;
  margin-inline: auto !important;
  padding: .05em .08em .28em !important;
  font-family: var(--font-display, inherit);
  font-weight: 900 !important;
  font-size: clamp(2.05rem, 5.2vw, 4.35rem) !important;
  line-height: 1.22 !important;
  letter-spacing: -.035em !important;
  color: var(--text) !important;
  text-wrap: balance;
  hyphens: none !important;
  -webkit-hyphens: none !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  text-shadow: 0 0 24px rgba(106,152,220,.12);
}

.core-pathway-stage span:last-child {
  padding-bottom: .42em !important;
}

.premium-pathway-card {
  max-width: min(860px, 100%) !important;
  margin: 0 auto !important;
  padding: clamp(1.18rem, 2.1vw, 1.85rem) !important;
  text-align: center !important;
  border-color: rgba(234,184,93,.30) !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(234,184,93,.13), transparent 42%),
    linear-gradient(180deg, rgba(7,24,45,.74), rgba(6,21,39,.86)) !important;
}

.premium-pathway-card p {
  max-width: 700px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.artful-hardware-status-card {
  border-color: rgba(234,184,93,.30) !important;
  background:
    radial-gradient(circle at 22% 0%, rgba(234,184,93,.13), transparent 42%),
    rgba(7,24,45,.72) !important;
}

.hardware-clarity-lead span,
.hardware-status-title > span:last-child {
  white-space: nowrap !important;
}

.hardware-status-poise { max-width: 640px; }

.artful-hardware-principles span {
  text-align: center;
  min-height: 54px;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.workstation-difference-card,
.uno-difference-card { border-radius: 22px !important; }

.uno-difference-card {
  border-color: rgba(234,184,93,.52) !important;
  box-shadow: 0 18px 46px rgba(0,0,0,.16), 0 0 0 1px rgba(234,184,93,.10) inset !important;
}

.uno-difference-card strong {
  color: var(--accent-2);
  text-shadow: var(--gold-glow);
}

@media (min-width: 760px) and (max-width: 1180px) {
  .decision-constellation-v8 .decision-row-three { max-width: 670px !important; }
  .decision-constellation-v8 .decision-row-two { max-width: 470px !important; }
  .decision-constellation-v8 span {
    width: clamp(138px, 18vw, 190px) !important;
    min-width: 138px !important;
    padding-inline: .95rem !important;
  }
  .core-pathway-stage span {
    font-size: clamp(2rem, 5vw, 3.4rem) !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 759px) {
  .decision-constellation-v8 .decision-row {
    flex-direction: column !important;
    max-width: min(100%, 340px) !important;
  }
  .decision-constellation-v8 span {
    width: min(100%, 315px) !important;
    min-width: 0 !important;
    white-space: normal !important;
  }
  .core-pathway-stage span {
    width: auto !important;
    max-width: 100% !important;
    font-size: clamp(1.85rem, 10vw, 2.8rem) !important;
    line-height: 1.18 !important;
    overflow-wrap: normal !important;
  }
  .core-pathway-stage span:last-child { max-width: 11.5em !important; }
  .hardware-clarity-lead span,
  .hardware-status-title > span:last-child { white-space: normal !important; }
}
