/* ==========================================================================
   Delulu Tech & WP Manager — Living Stargazer's Atelier (Production CSS)
   Mobile-first, WCAG AA adaptive palettes (Dawn / Day / Dusk / Night)
   ========================================================================== */

:root {
  --bg: #090d1a;
  --surface: rgba(16, 23, 44, 0.78);
  --surface-solid: #11182f;
  --surface-elevated: rgba(24, 34, 62, 0.88);
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(246, 193, 119, 0.38);
  --text: #f4f1ea;
  --text-muted: #b9c3db;
  --accent: #f6c177;
  --accent-ink: #14110b;
  --accent-2: #8bb8ff;
  --ok: #7ce3b4;
  --shadow: 0 18px 44px rgba(2, 6, 18, 0.48);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --header-h: 64px;
  --font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

:root[data-sky="dawn"] {
  --bg: #1e1933;
  --surface: rgba(39, 31, 63, 0.78);
  --surface-solid: #282040;
  --surface-elevated: rgba(52, 41, 82, 0.88);
  --border: rgba(255, 224, 200, 0.18);
  --border-strong: rgba(255, 191, 145, 0.45);
  --text: #fff5ec;
  --text-muted: #e3cadb;
  --accent: #ffba86;
  --accent-ink: #22120b;
  --accent-2: #f49ac1;
  --ok: #8ce6c0;
}

:root[data-sky="day"] {
  --bg: #f3efe6;
  --surface: rgba(255, 252, 246, 0.86);
  --surface-solid: #fffcf6;
  --surface-elevated: rgba(255, 255, 255, 0.96);
  --border: rgba(23, 33, 54, 0.13);
  --border-strong: rgba(180, 102, 28, 0.42);
  --text: #151c2e;
  --text-muted: #46526d;
  --accent: #b85d19;
  --accent-ink: #ffffff;
  --accent-2: #2457a7;
  --ok: #13795b;
  --shadow: 0 16px 36px rgba(21, 28, 46, 0.1);
}

:root[data-sky="dusk"] {
  --bg: #1a132b;
  --surface: rgba(35, 24, 58, 0.8);
  --surface-solid: #23183a;
  --surface-elevated: rgba(48, 33, 78, 0.9);
  --border: rgba(255, 200, 170, 0.16);
  --border-strong: rgba(247, 168, 124, 0.45);
  --text: #fbf2ea;
  --text-muted: #d6c3df;
  --accent: #f7a87c;
  --accent-ink: #1c100a;
  --accent-2: #b9a4ff;
  --ok: #7ce3b4;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: clip;
  transition: background-color 420ms ease, color 300ms ease;
}

img, svg, canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}
.skip-link:focus {
  top: 12px;
}

/* Fixed Living Sky Canvas */
#sky-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* App Shell */
.app-shell {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1060px;
  margin-inline: auto;
  padding-inline: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
}

/* Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--header-h);
  padding-top: env(safe-area-inset-top);
  background: color-mix(in srgb, var(--surface-solid) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 700;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 1rem;
  white-space: nowrap;
}

.universe-switch {
  display: none;
  align-items: center;
  padding: 3px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
}

.universe-switch a {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: background 200ms ease, color 200ms ease;
}

.universe-switch a.active {
  background: var(--accent);
  color: var(--accent-ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 180ms ease, transform 160ms ease;
}

.pill-btn:hover {
  border-color: var(--border-strong);
}

.icon-btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
}

/* Contextual WP Manager Sub-Nav */
.subnav-bar {
  display: none;
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface-solid) 90%, transparent);
}

.subnav-bar.visible {
  display: block;
}

.subnav-scroll {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 8px max(16px, env(safe-area-inset-left));
}
.subnav-scroll::-webkit-scrollbar { display: none; }

.subnav-scroll a {
  flex-shrink: 0;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid transparent;
}

.subnav-scroll a.active {
  color: var(--text);
  border-color: var(--border-strong);
  background: var(--surface-elevated);
}

/* Sky Control Popover */
.sky-popover {
  position: fixed;
  top: calc(var(--header-h) + env(safe-area-inset-top) + 8px);
  right: max(12px, env(safe-area-inset-right));
  width: min(332px, calc(100vw - 24px));
  z-index: 60;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: var(--surface-solid);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  display: none;
}

.sky-popover.open {
  display: block;
}

.popover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.popover-head .popover-title {
  margin: 0;
  font-size: 0.95rem;
}

.sky-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0 0 12px;
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}

.mode-chip {
  min-height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
}

.mode-chip.active {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: transparent;
}

.scrubber-row {
  margin-bottom: 14px;
}

.scrubber-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.scrubber-row input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}

.popover-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* Mobile Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 65;
  background: rgba(3, 6, 16, 0.62);
  display: none;
}
.drawer-backdrop.open { display: block; }

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 88vw);
  z-index: 70;
  background: var(--surface-solid);
  border-left: 1px solid var(--border);
  padding: calc(18px + env(safe-area-inset-top)) 18px calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto;
  transform: translateX(102%);
  transition: transform 240ms ease;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-group {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.drawer-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 0 0 8px;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drawer-links a {
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.94rem;
}

.drawer-links a.active,
.drawer-links a:hover {
  background: var(--surface-elevated);
  color: var(--accent);
}

/* Main Views */
main {
  flex: 1;
}

.page-view {
  display: none;
  padding-bottom: 56px;
}

.page-view.active {
  display: block;
}

/* Hero */
.hero {
  padding: 36px 0 28px;
  position: relative;
}

.hero-card {
  position: relative;
  padding: 28px 20px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.ribbon-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.hero-emblem-wrap {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.hero-ribbon {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
}

.ribbon-path {
  stroke-dasharray: 260;
  stroke-dashoffset: 0;
}

.ribbon-folding .ribbon-path {
  animation: ribbonFold 1.15s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes ribbonFold {
  0% { stroke-dashoffset: 260; opacity: 0.4; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 10px 0 14px;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 7.2vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0;
  font-size: clamp(1rem, 3.2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 60ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.94rem;
  transition: transform 160ms ease, opacity 160ms ease, border-color 160ms ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover { transform: translateY(-1px); }

.btn-secondary {
  border: 1px solid var(--border-strong);
  background: var(--surface-elevated);
  color: var(--text);
}

.hero-hint {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Sections & Cards */
.section {
  padding: 28px 0;
}

.section-head {
  margin-bottom: 18px;
}

.section-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-head h2 {
  margin: 6px 0 8px;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 5vw, 2.2rem);
  line-height: 1.18;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  max-width: 62ch;
}

.grid-2, .grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.card {
  min-width: 0;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.card p {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.tag {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  color: var(--accent);
  background: var(--surface-elevated);
}

/* Interactive Simulators */
.sim-box {
  margin-top: 14px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--surface-solid);
  border: 1px solid var(--border);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.chip {
  min-height: 36px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.chip.active {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: transparent;
}

.sim-trace {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
}

.sim-status {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ok);
}

/* Meter */
.meter-track {
  height: 10px;
  border-radius: var(--radius-pill);
  background: var(--surface-solid);
  border: 1px solid var(--border);
  overflow: hidden;
  margin: 12px 0 8px;
}

.meter-fill {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  transition: width 320ms ease;
}

/* Form Elements */
.field {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: var(--surface-solid);
  color: var(--text);
  margin-bottom: 10px;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 14px;
}

.roadmap-step {
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--surface-solid);
  border: 1px solid var(--border);
}

.roadmap-step strong {
  display: block;
  color: var(--accent);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

/* Code / Endpoint Copy Box */
.copy-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: var(--surface-solid);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  overflow-x: auto;
}

/* Legal Prose */
.legal-card {
  padding: 22px 18px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}

.legal-card h2 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin: 22px 0 8px;
}

.legal-card h2:first-of-type { margin-top: 8px; }

.legal-card p, .legal-card li {
  color: var(--text-muted);
  font-size: 0.96rem;
}

.legal-card ul {
  padding-left: 20px;
}

/* FAQ Accordion */
.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  list-style: none;
  padding: 14px 0;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item p {
  margin: 0 0 14px;
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface-solid) 88%, transparent);
  padding: 36px 0 calc(32px + env(safe-area-inset-bottom));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.footer-col h2 {
  margin: 0 0 10px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.92rem;
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(20px + env(safe-area-inset-bottom));
  transform: translate(-50%, 120%);
  z-index: 90;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 0.86rem;
  box-shadow: var(--shadow);
  transition: transform 220ms ease;
  pointer-events: none;
}

.toast.show {
  transform: translate(-50%, 0);
}

@media (min-width: 720px) {
  .universe-switch { display: inline-flex; }
  .hero-card { padding: 40px 36px; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .roadmap-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ribbon-folding .ribbon-path { animation: none; }
}

.original-logo { object-fit:contain; background:#0B0D13; border-radius:8px; padding:6px 9px; }
.brand-mark.original-logo { width:118px; height:44px; }
.hero-ribbon.original-logo { width:clamp(100px,22vw,184px); height:auto; aspect-ratio:2.54; }
.hero-ribbon.original-logo.ribbon-folding { animation:originalLogoReveal 1.15s ease both; }
@keyframes originalLogoReveal { from { opacity:.35; transform:perspective(500px) rotateY(-35deg) scale(.92); } to { opacity:1; transform:none; } }
@media(max-width:480px){.brand-mark.original-logo{width:96px;height:40px}.hero-emblem-wrap{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.hero-ribbon.original-logo.ribbon-folding{animation:none}}

/* Post-deployment accessibility and motion remediation */
:root[data-sky="day"] { --accent:#9c4715; }
.drawer-open { overflow:hidden; }
.mobile-drawer[inert] { visibility:hidden; pointer-events:none; }
.mobile-drawer.open { visibility:visible; }
.sky-popover { max-height:calc(100dvh - var(--header-h) - 24px); overflow-y:auto; }
.copy-box { flex-wrap:wrap; overflow:visible; }
.copy-box span { min-width:0; overflow-wrap:anywhere; }
.demo-note { font-size:.83rem; color:var(--text-muted); margin:0 0 10px; }
.chip,.pill-btn,.icon-btn { min-height:44px; }
.icon-btn { min-width:44px; }
@media(max-width:360px){.header-inner{gap:6px}.header-actions{gap:5px}.pill-btn{padding:0 9px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.card-subheading { font-size:1.15rem; margin:0 0 10px; line-height:1.4; }
.popover-title { font-weight:700; }

/* First-paint sky: matches canvas palette until deferred renderer is ready. */
#sky-canvas { background: radial-gradient(ellipse at 72% 24%, rgba(139,184,255,.14), transparent 55%), linear-gradient(180deg,#060914,#0d1428 60%,#151d36); }
:root[data-sky="dawn"] #sky-canvas { background: radial-gradient(ellipse at 72% 24%,rgba(139,184,255,.14),transparent 55%),linear-gradient(180deg,#19152e,#37274d 55%,#72435b); }
:root[data-sky="day"] #sky-canvas { background: radial-gradient(ellipse at 72% 24%,rgba(255,224,175,.42),transparent 55%),linear-gradient(180deg,#dce8f7,#edf1f5 55%,#f6efe2); }
:root[data-sky="dusk"] #sky-canvas { background: radial-gradient(ellipse at 72% 24%,rgba(139,184,255,.14),transparent 55%),linear-gradient(180deg,#141026,#311e4a 58%,#6b3847); }

/* WP Manager R4 — product presentation, existing sky palette */
.wpm-hero { display:grid; gap:clamp(24px,4vw,52px); align-items:center; }
.wpm-hero h1,.wpm-heading h1,.wpm-signup h1 { font-size:clamp(2rem,5.2vw,4rem);line-height:1.12;letter-spacing:-.035em;margin:.55rem 0 1rem; }
.wpm-accent {color:var(--accent);}
.wpm-heading {max-width:760px;margin-bottom:28px;}
.wpm-graph {border:1px solid var(--border);background:var(--surface-solid);border-radius:var(--radius-lg);padding:clamp(14px,3vw,26px);text-align:center;min-width:0;}
.wpm-graph-label,.wpm-kicker {font-size:.75rem;letter-spacing:.09em;color:var(--text-muted);font-weight:700;display:block;margin-bottom:.7rem;}
.wpm-graph-row {display:flex;justify-content:center;gap:8px;flex-wrap:wrap;}
.wpm-graph-row span {padding:10px 12px;border:1px solid var(--border-strong);border-radius:10px;font-size:.875rem;min-width:0;}
.wpm-graph-line {color:var(--accent);font-size:1.4rem;margin:4px;}
.wpm-graph-core {border:1px solid var(--border-strong);background:var(--surface-elevated);border-radius:12px;padding:14px 10px;max-width:260px;margin:auto;}
.wpm-graph-core strong,.wpm-graph-core small {display:block;}
.wpm-graph-core small,.wpm-caption {font-size:.85rem;color:var(--text-muted);line-height:1.5;}
.wpm-graph>.wpm-caption {display:block;margin-top:14px;}
.wpm-cap {display:flex;flex-direction:column;gap:4px;}
.wpm-cap h3 {margin-top:0;}
.wpm-next,.wpm-prereq {margin:20px 0;}
.wpm-next h2,.wpm-prereq h2,.wpm-clients h2,.wpm-journey h2,.page-view .grid-2 article h2 {font-size:clamp(1.15rem,2vw,1.4rem);line-height:1.35;margin:0 0 10px;}
.wpm-next .copy-box {margin:16px 0;}
.wpm-journey {list-style:none;counter-reset:wpm-step;padding:0;display:grid;gap:14px;margin:24px 0;}
.wpm-journey li {counter-increment:wpm-step;display:grid;grid-template-columns:42px minmax(0,1fr);align-items:start;gap:16px;background:var(--surface-solid);border:1px solid var(--border);border-radius:var(--radius-md);padding:clamp(16px,3vw,24px);}
.wpm-journey li::before {content:counter(wpm-step,decimal-leading-zero);display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:var(--surface-elevated);border:1px solid var(--border-strong);font-weight:700;color:var(--accent);}
.wpm-journey p {margin:0 0 8px;color:var(--text-muted);}
.wpm-journey small {color:var(--text);font-size:.85rem;}
.wpm-search {display:block;width:100%;min-height:48px;padding:12px;border:1px solid var(--border-strong);border-radius:10px;background:var(--surface-solid);color:var(--text);font:inherit;}
.wpm-search::placeholder {color:var(--text-muted);}
#help-items [hidden],#help-empty[hidden] {display:none!important;}
#help-items summary::after {content:"+";font-weight:bold;color:var(--accent);}
#help-items details[open] summary::after {content:"−";}
.wpm-signup {max-width:600px;margin:clamp(12px,4vw,48px) auto;text-align:center;padding:clamp(20px,5vw,48px);}
.wpm-signup h1 {font-size:clamp(1.9rem,4.6vw,3rem);}
.wpm-signin {display:flex;justify-content:center;min-height:48px;margin:24px auto 12px;max-width:380px;}
.wpm-signup-note {margin:24px 0;padding:16px;border:1px solid var(--border);border-radius:12px;text-align:left;background:var(--surface-solid);}
.wpm-signup-note p {margin:6px 0 0;}
.wpm-home-path {display:grid;gap:9px;margin:18px 0;padding:14px;border:1px solid var(--border);border-radius:12px;background:var(--surface-solid);}
.wpm-home-path div {display:flex;gap:12px;align-items:center;}
.wpm-home-path strong {color:var(--accent);font-size:.85rem;}
#capabilities {scroll-margin-top:130px;}
.wpm-clients {margin:24px 0;}
#view-wp-support .grid-2 {margin-top:20px;}
@media(min-width:900px){.wpm-hero{grid-template-columns:1.15fr 1fr;}.wpm-journey{grid-template-columns:repeat(2,minmax(0,1fr));}}

/* Accessible standalone product link target. */
.wpm-caption > a {display:inline-flex;align-items:center;min-height:32px;padding:4px 0;}
