/* Arcadia Frequencies v7_37 — Artful Signature Refinement
   Purpose: strengthen TM-present brand feel, fix Human Command Interface pills,
   protect descenders/line breaks, and harmonize Professional Workstation vs UNO Command Station language.
   No Worker, routing, redirects, headers, payment, scheduling, intake endpoint, or hardware checkout changes. */

:root {
  --v37-gold: rgba(234, 184, 93, .88);
  --v37-gold-soft: rgba(234, 184, 93, .16);
  --v37-gold-line: rgba(234, 184, 93, .42);
  --v37-blue-soft: rgba(91, 142, 255, .12);
  --v37-panel: rgba(7, 24, 45, .78);
}

/* Trademark marks should feel intentional and premium, not noisy. */
sup, .tm-mark {
  font-size: .48em;
  letter-spacing: .02em;
  vertical-align: super;
}

/* The Human Command Interface should feel like a prepared decision surface, not stretched vertical ovals. */
.human-command-artboard {
  max-width: 980px;
  margin-inline: auto;
  padding: clamp(1.4rem, 2.8vw, 2.4rem) !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(234,184,93,.14), transparent 35%),
    linear-gradient(180deg, rgba(10,32,58,.78), rgba(5,18,34,.9)) !important;
}

.human-decision-flow.decision-constellation-v8 {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: clamp(.72rem, 1vw, .95rem) !important;
  margin: clamp(1.15rem, 2vw, 1.8rem) auto !important;
  width: 100%;
}

.human-decision-flow.decision-constellation-v8 .decision-row {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: clamp(.65rem, 1.05vw, 1rem) !important;
  width: 100%;
}

.human-decision-flow.decision-constellation-v8 .decision-row-three { max-width: 720px !important; }
.human-decision-flow.decision-constellation-v8 .decision-row-two { max-width: 460px !important; }
.human-decision-flow.decision-constellation-v8 .decision-row-one { max-width: 560px !important; }

.human-decision-flow.decision-constellation-v8 span {
  width: clamp(128px, 16vw, 188px) !important;
  min-width: 128px !important;
  min-height: 0 !important;
  height: auto !important;
  flex: 0 0 auto !important;
  padding: .72rem 1.05rem !important;
  border-radius: 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  line-height: 1.1 !important;
  font-size: clamp(.94rem, 1.02vw, 1.04rem) !important;
  font-weight: 800 !important;
  letter-spacing: .018em !important;
  color: var(--text) !important;
  border: 1px solid var(--v37-gold-line) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.105), rgba(255,255,255,.026)),
    radial-gradient(circle at 22% 8%, rgba(234,184,93,.16), transparent 45%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.1),
    0 10px 26px rgba(0,0,0,.15) !important;
}

.human-decision-flow.decision-constellation-v8 .decision-row-one span {
  width: auto !important;
  min-width: min(100%, 330px) !important;
  padding: .9rem 1.55rem !important;
  border-radius: 999px !important;
  color: var(--accent-2) !important;
  text-shadow: var(--gold-glow) !important;
  border-color: rgba(234,184,93,.55) !important;
  background:
    linear-gradient(180deg, rgba(234,184,93,.13), rgba(255,255,255,.035)),
    rgba(6,22,42,.72) !important;
}

.human-command-title-main,
.human-command-title-heart {
  display: block !important;
  text-align: center !important;
  width: fit-content;
  margin-inline: auto;
}
.human-command-title-heart {
  margin-top: .18em;
  color: var(--accent-2) !important;
  text-shadow: var(--gold-glow) !important;
}

/* Core pathway: no clipped descenders, no ugly heart-led breaks, more premium card below. */
#core-pathway,
#core-pathway .wrap,
#core-pathway .reader-flow-title,
#core-pathway .core-pathway-title,
#core-pathway .core-pathway-title > span {
  overflow: visible !important;
  clip-path: none !important;
  contain: none !important;
}
#core-pathway .core-pathway-title {
  line-height: 1.26 !important;
  padding-bottom: .32rem !important;
  margin-bottom: clamp(1.1rem, 2vw, 1.8rem) !important;
}
#core-pathway .core-pathway-title > span {
  display: block !important;
  line-height: 1.28 !important;
  padding: .08em .04em .22em !important;
  margin-inline: auto !important;
  text-align: center !important;
  hyphens: none !important;
  -webkit-hyphens: none !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}
#core-pathway .protected-path-line {
  white-space: nowrap !important;
}
#core-pathway .luminous-card {
  max-width: 780px;
  margin: clamp(1.1rem, 2vw, 1.7rem) auto 0 !important;
  text-align: center;
  padding: clamp(1.25rem, 2.2vw, 1.9rem) !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(234,184,93,.12), transparent 38%),
    rgba(7, 24, 45, .72) !important;
}

/* Stacked doctrine lines must look intentional and balanced. */
.command-doctrine-stack,
.session-doctrine-stack,
.service-doctrine-stack {
  row-gap: .2rem !important;
}
.command-doctrine-stack > span,
.session-doctrine-stack > span,
.service-doctrine-stack > span,
.command-doctrine-stack > strong,
.session-doctrine-stack > strong,
.service-doctrine-stack > strong {
  display: block !important;
  width: fit-content !important;
  max-width: 100% !important;
  margin-inline: auto !important;
  text-align: center !important;
  line-height: 1.22 !important;
  padding-bottom: .12em !important;
}

/* Hardware status headings: keep approved lines together. */
.hardware-status-title > span,
.hardware-status-title .no-break-desktop {
  display: block !important;
  width: fit-content !important;
  max-width: 100% !important;
  margin-inline: auto !important;
}
@media (min-width: 680px) {
  .hardware-status-title > span:last-child {
    white-space: nowrap !important;
  }
}

/* Hardware path clarity card. */
.hardware-clarity-card {
  text-align: left;
}
.hardware-clarity-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  line-height: 1.35;
  color: var(--text);
}
.hardware-principle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
  margin: 1rem 0 1.1rem;
}
.hardware-principle-grid span {
  border: 1px solid rgba(234,184,93,.26);
  border-radius: 14px;
  padding: .72rem .8rem;
  background: rgba(255,255,255,.045);
  font-weight: 720;
  color: var(--text);
}

/* Professional Workstation / UNO Command Station harmony. */
.hardware-system-grid .small-card,
.workstation-relation-section .small-card {
  padding: clamp(1.25rem, 2.2vw, 1.8rem) !important;
}
.workstation-relation-section h3 {
  color: var(--accent-2) !important;
  text-shadow: var(--gold-glow);
}
.featured-system-card {
  border-color: rgba(234,184,93,.48) !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(234,184,93,.14), transparent 38%),
    rgba(7,24,45,.75) !important;
}
.workstation-page .quote-line {
  color: var(--text);
}
.workstation-page .product-mark-card p,
.workstation-page .small-card p,
.workstation-page .section-intro {
  line-height: 1.68;
}

@media (max-width: 759px) {
  .human-decision-flow.decision-constellation-v8 span {
    width: min(100%, 300px) !important;
    min-width: 0 !important;
  }
  .human-decision-flow.decision-constellation-v8 .decision-row {
    flex-direction: column !important;
    max-width: min(100%, 330px) !important;
  }
  #core-pathway .protected-path-line {
    white-space: normal !important;
  }
  .hardware-principle-grid {
    grid-template-columns: 1fr;
  }
}
