/* public/showroom.css — homepage redesign ("The systems showroom").
   Light, editorial-vibrant. Every rule scoped under .sh-page so it can't
   leak into the rest of the app (which still runs the legacy/hx styles).
   The signature is the color-keyed catalog wall — nine solution plates,
   each carrying its own hue. Everything else stays quiet. */

.sh-page {
  --sh-canvas:  #f6f7f9;
  --sh-surface: #ffffff;
  --sh-ink:     #14161f;
  --sh-ink-2:   #3a3f52;
  --sh-ink-3:   #6b7185;
  --sh-line:    #e6e8f0;
  --sh-line-2:  #d7dae6;
  --sh-brand:   #4f46e5;
  --sh-brand-2: #6d63f7;
  --sh-brand-ink:#3730c4;

  --sh-display: 'Bricolage Grotesque', 'Segoe UI', sans-serif;
  --sh-body:    'Inter', 'Segoe UI', sans-serif;

  --sh-wrap: 1140px;
  --sh-pad: clamp(20px, 5vw, 44px);

  font-family: var(--sh-body);
  color: var(--sh-ink);
  background: var(--sh-canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

/* :where() keeps this reset at zero added specificity, so component rules
   (e.g. .sh-close__title { margin: 0 auto }) win instead of being clobbered
   back to margin:0 and left-aligning. */
.sh-page :where(h1, h2, h3, p, ul, li, figure) { margin: 0; padding: 0; }
.sh-page :where(ul) { list-style: none; }
/* text-decoration only — NOT color: a `.sh-page a` color rule (0,1,1) would
   outrank the single-class .sh-btn--* color rules (0,1,0). Every in-page link
   carries its own color-setting class instead. */
.sh-page a { text-decoration: none; }
.sh-page :focus-visible {
  outline: 2px solid var(--sh-brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.sh-wrap {
  max-width: var(--sh-wrap);
  margin: 0 auto;
  padding-left: var(--sh-pad);
  padding-right: var(--sh-pad);
}

/* ---------- shared type ---------- */
.sh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--sh-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sh-ink-3);
  margin: 0 0 22px;
}
/* the little palette-dot cluster that stands in for a logo mark */
.sh-dots { display: inline-flex; gap: 4px; }
.sh-dots i { width: 7px; height: 7px; border-radius: 50%; display: block; }
.sh-dots i:nth-child(1) { background: #2563eb; }
.sh-dots i:nth-child(2) { background: #7c3aed; }
.sh-dots i:nth-child(3) { background: #e11d48; }
.sh-dots i:nth-child(4) { background: #059669; }

.sh-h2 {
  font-family: var(--sh-display);
  font-weight: 650;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.sh-lede {
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  line-height: 1.62;
  color: var(--sh-ink-2);
  max-width: 60ch;
  margin: 0;
}

/* ---------- buttons ---------- */
.sh-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sh-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 15px 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
              background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.sh-btn__arrow { transition: transform 0.18s ease; }
.sh-btn:hover .sh-btn__arrow { transform: translateX(4px); }

.sh-btn--primary {
  background: var(--sh-brand);
  color: #fff;
  box-shadow: 0 12px 26px -14px rgba(79, 70, 229, 0.85);
}
.sh-btn--primary:hover {
  background: var(--sh-brand-ink);
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -14px rgba(79, 70, 229, 0.9);
}
.sh-btn--ghost {
  background: var(--sh-surface);
  color: var(--sh-ink);
  border-color: var(--sh-line-2);
}
.sh-btn--ghost:hover {
  border-color: var(--sh-brand);
  color: var(--sh-brand);
  transform: translateY(-2px);
}
.sh-btn--light {
  background: #fff;
  color: var(--sh-brand-ink);
}
.sh-btn--light:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -16px rgba(0,0,0,0.5); }
/* outline button for use on the dark gradient panel */
.sh-btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.sh-btn--ghost-light:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; transform: translateY(-2px); }

/* a quiet text link with an arrow */
.sh-textlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--sh-brand);
}
.sh-textlink .sh-btn__arrow { display: inline-block; }
.sh-textlink:hover { color: var(--sh-brand-ink); }

/* ================= HERO ================= */
.sh-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(64px, 11vh, 128px) 0 clamp(56px, 9vh, 104px);
}
/* soft spectrum wash — the showroom, hinted */
.sh-hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 620px;
  z-index: -1;
  background:
    radial-gradient(46% 60% at 12% 8%, rgba(37, 99, 235, 0.16), transparent 62%),
    radial-gradient(42% 55% at 88% 0%, rgba(192, 38, 211, 0.13), transparent 60%),
    radial-gradient(50% 60% at 62% 12%, rgba(234, 88, 12, 0.09), transparent 58%);
  pointer-events: none;
}
.sh-hero__inner { max-width: 940px; }
.sh-hero__title {
  font-family: var(--sh-display);
  font-weight: 700;
  font-size: clamp(2.7rem, 6.2vw, 5rem);
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin: 0 0 26px;
  max-width: 16ch;
}
.sh-hero__sub {
  font-size: clamp(1.12rem, 1.7vw, 1.4rem);
  line-height: 1.55;
  color: var(--sh-ink-2);
  max-width: 52ch;
  margin: 0 0 30px;
}
.sh-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}

/* value chips — what you get, not what you reject */
.sh-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 30px;
}
.sh-tags li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px 8px 12px;
  border: 1px solid var(--sh-line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--sh-ink-2);
}
.sh-tags li::before {
  content: "";
  flex: none;
  width: 16px; height: 16px;
  border-radius: 5px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat,
    #ecebfd;
}

/* ================= SECTION SHELL ================= */
.sh-section { padding: clamp(64px, 10vh, 120px) 0; }
.sh-section__head { max-width: 720px; margin: 0 0 clamp(40px, 6vh, 64px); }
.sh-section__head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ================= SHOWROOM (the signature) ================= */
.sh-showroom { position: relative; }
.sh-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.sh-plate {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--sh-surface);
  border: 1px solid var(--sh-line);
  border-radius: 18px;
  padding: 26px 26px 24px;
  overflow: hidden;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}
/* per-plate top accent, drawn in the plate's own hue */
.sh-plate::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--c);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s ease;
}
.sh-plate:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--c) 45%, var(--sh-line));
  box-shadow: 0 26px 44px -28px color-mix(in srgb, var(--c) 60%, #000);
}
.sh-plate:hover::before { transform: scaleX(1); }

.sh-plate__tile {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--tint);
  color: var(--c);
  font-size: 22px;
  margin-bottom: 20px;
  transition: background-color 0.24s ease, color 0.24s ease, transform 0.24s ease;
}
.sh-plate:hover .sh-plate__tile {
  background: var(--c);
  color: #fff;
  transform: scale(1.04) rotate(-3deg);
}
.sh-plate__title {
  font-family: var(--sh-display);
  font-weight: 600;
  font-size: 1.32rem;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.sh-plate__punch {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--sh-ink);
  margin: 0 0 10px;
}
.sh-plate__eg {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--sh-ink-3);
  margin: 0 0 18px;
}
.sh-plate__foot {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--c);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.24s ease, transform 0.24s ease;
}
.sh-plate:hover .sh-plate__foot { opacity: 1; transform: none; }

.sh-showroom__foot { text-align: center; margin-top: clamp(40px, 6vh, 60px); }
.sh-showroom__foot p {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  color: var(--sh-ink-2);
  max-width: 48ch;
  margin: 0 auto 22px;
}

/* ================= WHY ================= */
.sh-why {
  background: var(--sh-surface);
  border-top: 1px solid var(--sh-line);
  border-bottom: 1px solid var(--sh-line);
}
.sh-why__wrap { max-width: 760px; margin: 0 auto; text-align: center; }
.sh-why__lead {
  font-size: clamp(1.12rem, 1.7vw, 1.34rem);
  line-height: 1.6;
  color: var(--sh-ink-2);
  margin: 0 auto 8px;
  max-width: 54ch;
}
.sh-painlist {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
  max-width: 780px;
  margin: 32px auto;
}
.sh-painlist li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border: 1px solid var(--sh-line-2);
  border-radius: 999px;
  background: var(--sh-canvas);
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  line-height: 1.3;
  color: var(--sh-ink);
}
.sh-painlist li::before {
  content: "";
  flex: none;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--c, var(--sh-brand));
}
.sh-why__punch {
  font-family: var(--sh-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.6vw, 2.05rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--sh-ink);
  max-width: 24ch;
  margin: 0 auto;
}
.sh-why__punch b { color: var(--sh-brand); font-weight: 600; }

/* ================= HOW WE WORK (a real sequence → numbered) ================= */
.sh-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.sh-step {
  position: relative;
  padding-top: 26px;
  border-top: 2px solid var(--sh-line-2);
}
.sh-step__n {
  font-family: var(--sh-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: var(--sh-brand);
  display: block;
  margin-bottom: 12px;
}
.sh-step__t {
  font-family: var(--sh-display);
  font-weight: 600;
  font-size: 1.24rem;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.sh-step__b { font-size: 0.98rem; line-height: 1.55; color: var(--sh-ink-3); margin: 0; }

.sh-how__note {
  margin: clamp(36px, 5vh, 52px) 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 18px;
}
.sh-how__note p {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--sh-ink-2);
  margin: 0;
  max-width: 60ch;
}
.sh-how__note em { font-style: normal; font-weight: 600; color: var(--sh-ink); }

/* ================= RESULTS ================= */
.sh-results { background: var(--sh-surface); border-top: 1px solid var(--sh-line); }
.sh-outcomes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 40px;
  max-width: 900px;
}
.sh-outcomes li {
  position: relative;
  padding-left: 40px;
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
  line-height: 1.5;
  color: var(--sh-ink);
  align-self: start;
}
.sh-outcomes li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.05em;
  width: 26px; height: 26px;
  border-radius: 8px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 15px no-repeat,
    var(--c, var(--sh-brand));
}

/* ================= CLOSING CTA (bold color lives here) ================= */
.sh-close { padding: clamp(20px, 4vw, 40px) 0 clamp(56px, 8vh, 96px); }
.sh-close__panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 28px;
  padding: clamp(48px, 8vw, 88px) clamp(28px, 6vw, 72px);
  text-align: center;
  background:
    radial-gradient(60% 120% at 15% 10%, rgba(255,255,255,0.16), transparent 55%),
    linear-gradient(120deg, #4f46e5 0%, #7c3aed 55%, #c026d3 120%);
  color: #fff;
}
.sh-close__eyebrow {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.78); margin: 0 0 18px;
}
.sh-close__title {
  font-family: var(--sh-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.6vw, 3.3rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin: 0 auto 18px;
}
.sh-close__sub {
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.86);
  max-width: 52ch;
  margin: 0 auto 32px;
}
.sh-close .sh-cta-row { justify-content: center; }

/* ================= HERO two-column + palette preview ================= */
.sh-hero__cols {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}
.sh-hero__copy { min-width: 0; }
.sh-palette {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 1.3vw, 16px);
}
.sh-swatch {
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  background: var(--tint);
  color: var(--c);
  display: grid;
  place-items: center;
  font-size: clamp(20px, 2.2vw, 28px);
  box-shadow: 0 20px 36px -24px color-mix(in srgb, var(--c) 62%, #000);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sh-swatch:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 26px 46px -22px color-mix(in srgb, var(--c) 62%, #000);
}

/* ================= interstitial statement band ================= */
.sh-band {
  text-align: center;
  padding: clamp(56px, 9vh, 108px) 0;
  background: var(--sh-surface);
  border-top: 1px solid var(--sh-line);
  border-bottom: 1px solid var(--sh-line);
}
.sh-band__title {
  font-family: var(--sh-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.4vw, 4rem);
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin: 0 auto;
  max-width: 18ch;
  background: linear-gradient(100deg, #2563eb 0%, #7c3aed 46%, #c026d3 92%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.sh-band__sub {
  margin: 20px auto 0;
  max-width: 54ch;
  color: var(--sh-ink-2);
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  line-height: 1.55;
}

/* showroom foot heading */
.sh-showroom__foot-title {
  font-family: var(--sh-display);
  font-weight: 650;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

/* ============================================================
   INTERIOR PAGES — components shared by Solutions / Pricing / Results
   ============================================================ */

/* ---- compact interior hero ---- */
.sh-hero--page { padding: clamp(56px, 9vh, 104px) 0 clamp(36px, 6vh, 60px); }
.sh-hero--page .sh-hero__title {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  max-width: 20ch;
  margin-bottom: 20px;
}
.sh-hero__intro {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.6;
  color: var(--sh-ink-2);
  max-width: 62ch;
  margin: 0;
}
.sh-hero--page .sh-hero__inner { max-width: 820px; }

/* ---- prose blocks ---- */
.sh-prose { max-width: 720px; }
.sh-prose--center { margin-left: auto; margin-right: auto; text-align: center; }
.sh-prose p {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.65;
  color: var(--sh-ink-2);
  margin: 0 0 18px;
}
.sh-prose p:last-child { margin-bottom: 0; }
.sh-prose em { font-style: normal; font-weight: 600; color: var(--sh-ink); }

/* alt section tint (breaks up long light pages) */
.sh-section--tint { background: var(--sh-surface); border-top: 1px solid var(--sh-line); border-bottom: 1px solid var(--sh-line); }

/* ---- checklist (colored checks, reused from results outcomes) ---- */
.sh-checklist { display: grid; gap: 14px; max-width: 780px; margin: 0; }
.sh-checklist--center { margin-left: auto; margin-right: auto; }
.sh-checklist li {
  position: relative;
  padding-left: 38px;
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
  line-height: 1.5;
  color: var(--sh-ink);
}
.sh-checklist li strong { font-weight: 600; }
.sh-checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.02em;
  width: 24px; height: 24px;
  border-radius: 8px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 14px no-repeat,
    var(--c, var(--sh-brand));
}

/* ================= SOLUTIONS — deep, color-keyed panels ================= */
.sh-solutions-list { display: grid; gap: 20px; }
.sh-solution {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(24px, 4vw, 56px);
  background: var(--sh-surface);
  border: 1px solid var(--sh-line);
  border-left: 4px solid var(--c);
  border-radius: 18px;
  padding: clamp(26px, 3.2vw, 42px);
}
.sh-solution__tile {
  width: 54px; height: 54px;
  border-radius: 15px;
  display: grid; place-items: center;
  background: var(--tint);
  color: var(--c);
  font-size: 23px;
  margin-bottom: 18px;
}
.sh-solution__name {
  font-family: var(--sh-display);
  font-weight: 650;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.sh-solution__punch {
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--sh-ink-2);
  margin: 0;
}
.sh-solution__label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c);
  margin: 0 0 14px;
}
.sh-solution__inc {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
}
.sh-solution__inc li {
  position: relative;
  padding-left: 26px;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--sh-ink);
}
.sh-solution__inc li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5em;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--c);
}
.sh-solution__fit {
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--sh-ink-3);
  margin: 0 0 20px;
  padding: 12px 16px;
  background: var(--tint);
  border-radius: 12px;
}
.sh-solution__fit b { color: var(--sh-ink-2); font-weight: 600; }
.sh-solution__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--c);
}
.sh-solution__cta:hover { gap: 11px; }

/* ================= PRICING — large cards + expandable detail ========= */
.sh-pgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; align-items: start; }
.sh-pcard {
  display: flex; flex-direction: column;
  background: var(--sh-surface);
  border: 1px solid var(--sh-line);
  border-top: 4px solid var(--c);
  border-radius: 20px;
  padding: clamp(28px, 2.6vw, 38px);
}
.sh-pcard__tile { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--tint); color: var(--c); font-size: 22px; margin-bottom: 20px; }
.sh-pcard__title { font-family: var(--sh-display); font-weight: 650; font-size: 1.4rem; letter-spacing: -0.01em; margin: 0 0 10px; }
.sh-pcard__price { margin: 0 0 14px; }
.sh-pcard__from { display: block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sh-ink-3); margin-bottom: 3px; }
.sh-pcard__price b { font-family: var(--sh-display); font-weight: 700; font-size: clamp(1.9rem, 2.6vw, 2.4rem); color: var(--sh-ink); letter-spacing: -0.02em; }
.sh-pcard__price em { font-style: normal; font-size: 0.98rem; font-weight: 600; color: var(--sh-ink-3); }
.sh-pcard__scales { font-size: 0.92rem; font-weight: 600; color: var(--c); margin: 0 0 16px; }
.sh-pcard__desc { font-size: 1rem; line-height: 1.55; color: var(--sh-ink-2); margin: 0 0 22px; }
.sh-pcard__egcap { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sh-ink-3); margin: 0 0 12px; }

/* expandable details (native <details>, no JS) */
.sh-xpand { margin-top: auto; padding-top: 20px; }
.sh-xpand > summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 16px; border: 1px solid var(--sh-line-2); border-radius: 11px;
  font-weight: 600; color: var(--sh-ink); background: var(--sh-canvas);
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.sh-xpand > summary:hover { border-color: var(--c); }
.sh-xpand > summary::-webkit-details-marker { display: none; }
.sh-xpand > summary::after {
  content: ""; width: 9px; height: 9px; flex: none; margin-bottom: 3px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); transition: transform 0.2s ease;
}
.sh-xpand[open] > summary { border-color: var(--c); background: var(--tint); color: var(--c); }
.sh-xpand[open] > summary::after { transform: rotate(-135deg); margin-bottom: -3px; }
.sh-xpand__body { padding: 20px 2px 2px; }

/* simple bordered panel (third-party services) */
.sh-panel { background: var(--sh-surface); border: 1px solid var(--sh-line); border-radius: 20px; padding: clamp(28px, 4vw, 44px); }

/* price table */
.sh-ptable__cap { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sh-ink-3); margin: 0 0 12px; }
.sh-ptable { width: 100%; border-collapse: collapse; }
.sh-ptable th { text-align: left; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sh-ink-3); padding: 0 0 10px; border-bottom: 1px solid var(--sh-line-2); }
.sh-ptable th:last-child { text-align: right; }
.sh-ptable td { padding: 13px 0; border-bottom: 1px solid var(--sh-line); font-size: 1rem; color: var(--sh-ink); }
.sh-ptable tr:last-child td { border-bottom: none; }
.sh-ptable td:last-child { text-align: right; font-family: var(--sh-display); font-weight: 700; white-space: nowrap; }
.sh-ptable__note { font-size: 0.9rem; line-height: 1.5; color: var(--sh-ink-3); margin: 14px 0 0; }

/* stage 3 "needs" prompts */
.sh-needs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.sh-needs li {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 15px; border: 1px solid var(--sh-line-2); border-radius: 999px;
  font-size: 0.92rem; font-weight: 500; color: var(--sh-ink);
}
.sh-needs li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }

/* ================= RESULTS case studies ================= */
.sh-cases { display: grid; gap: 22px; }
.sh-case {
  background: var(--sh-surface);
  border: 1px solid var(--sh-line);
  border-top: 4px solid var(--c);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 48px);
}
.sh-case__label { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c); margin: 0 0 14px; }
.sh-case__title {
  font-family: var(--sh-display); font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.18; letter-spacing: -0.02em; color: var(--sh-ink); margin: 0 0 10px; max-width: 30ch;
}
.sh-case__meta { font-size: 0.92rem; color: var(--sh-ink-3); margin: 0 0 28px; }
.sh-case__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); margin-bottom: 26px; }
.sh-case__ctitle { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sh-ink-3); margin: 0 0 10px; }
.sh-case__grid p { font-size: 0.98rem; line-height: 1.55; color: var(--sh-ink-2); margin: 0; }
.sh-case__oneline {
  font-family: var(--sh-display); font-weight: 500; font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  line-height: 1.3; letter-spacing: -0.01em; color: var(--sh-ink);
  border-left: 3px solid var(--c); padding-left: 20px; margin: 0;
}

/* ================= EVOLUTION TIMELINE (how a system grows) ================= */
.sh-timeline { max-width: 720px; margin: 0 auto; }
.sh-tl { display: grid; grid-template-columns: 28px 1fr; gap: 20px; }
.sh-tl__rail { position: relative; display: flex; justify-content: center; }
.sh-tl__rail::before {
  content: "";
  position: absolute; top: 0; bottom: 0; width: 2px;
  background: var(--sh-line-2);
}
.sh-tl:first-child .sh-tl__rail::before { top: 11px; }
.sh-tl:last-child .sh-tl__rail::before { bottom: calc(100% - 11px); }
.sh-tl__dot {
  position: relative; z-index: 1;
  width: 18px; height: 18px; margin-top: 2px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--c, var(--sh-brand));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c, var(--sh-brand)) 13%, transparent);
}
.sh-tl__body { padding-bottom: 26px; }
.sh-tl:last-child .sh-tl__body { padding-bottom: 0; }
.sh-tl__t {
  font-family: var(--sh-display); font-weight: 600; font-size: 1.16rem;
  letter-spacing: -0.01em; margin: 0 0 4px; color: var(--sh-ink);
}
.sh-tl__b { font-size: 0.98rem; line-height: 1.5; color: var(--sh-ink-2); margin: 0; }

/* ============================================================
   AUTH / FORM / MESSAGE components (login, signup, contact, billing…)
   ============================================================ */

/* ---- inline link ---- */
.sh-link { color: var(--sh-brand); font-weight: 500; }
.sh-link:hover { color: var(--sh-brand-ink); text-decoration: underline; }

/* ---- centered shell (auth + simple message pages) ---- */
.sh-shell {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 20px;
  background: var(--sh-canvas);
}
.sh-shell::before {
  content: "";
  position: absolute;
  inset: -25% -10% auto -10%;
  height: 520px;
  z-index: -1;
  background:
    radial-gradient(46% 60% at 18% 6%, rgba(37, 99, 235, 0.14), transparent 62%),
    radial-gradient(42% 55% at 84% 0%, rgba(192, 38, 211, 0.11), transparent 60%);
  pointer-events: none;
}
.sh-shell__card {
  width: 100%;
  max-width: 440px;
  background: var(--sh-surface);
  border: 1px solid var(--sh-line);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 42px);
  box-shadow: 0 40px 90px -60px rgba(20, 23, 31, 0.4);
}
.sh-shell__card--center { text-align: center; }
.sh-shell__title {
  font-family: var(--sh-display);
  font-weight: 650;
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 8px;
}
.sh-shell__sub { color: var(--sh-ink-2); font-size: 1rem; line-height: 1.55; margin: 0 0 24px; }
.sh-shell__foot { text-align: center; margin-top: 22px; color: var(--sh-ink-3); font-size: 0.95rem; }
.sh-shell__card .sh-btn { width: 100%; justify-content: center; }

/* ---- forms ---- */
.sh-form {
  max-width: 560px;
  margin: 0 auto;
  background: var(--sh-surface);
  border: 1px solid var(--sh-line);
  border-radius: 20px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 40px 90px -60px rgba(20, 23, 31, 0.4);
}
.sh-field { margin-bottom: 18px; text-align: left; }
.sh-field label { display: block; font-size: 0.84rem; font-weight: 600; color: var(--sh-ink-2); margin-bottom: 8px; }
.sh-input {
  width: 100%;
  background: var(--sh-canvas);
  border: 1px solid var(--sh-line-2);
  border-radius: 11px;
  padding: 13px 14px;
  color: var(--sh-ink);
  font-family: var(--sh-body);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}
.sh-input::placeholder { color: var(--sh-ink-3); }
.sh-input:focus { outline: none; background: #fff; border-color: var(--sh-brand); box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15); }
textarea.sh-input { resize: vertical; min-height: 130px; }
.sh-field__hint { color: var(--sh-ink-3); font-size: 0.82rem; margin: 8px 0 0; }
.sh-form .sh-btn { margin-top: 6px; }

/* ---- alerts ---- */
.sh-alert { border-radius: 11px; padding: 12px 14px; margin-bottom: 18px; font-size: 0.95rem; line-height: 1.45; border: 1px solid transparent; }
.sh-alert--error { background: #fdeaea; border-color: #f5c2c2; color: #b42318; }
.sh-alert--warn { background: #fef3e2; border-color: #f7d9a8; color: #a15c07; }
.sh-alert--info { background: #eaf0fe; border-color: #c3d4fb; color: #2b52c9; }

/* ---- plan / billing card ---- */
.sh-plan { max-width: 560px; margin: 0 auto; }
.sh-plan__card { background: var(--sh-surface); border: 1px solid var(--sh-line); border-radius: 20px; padding: clamp(26px, 4vw, 38px); box-shadow: 0 40px 90px -60px rgba(20, 23, 31, 0.4); }
.sh-plan__name { font-family: var(--sh-display); font-weight: 650; font-size: 1.5rem; letter-spacing: -0.01em; margin: 0 0 10px; }
.sh-plan__body { color: var(--sh-ink-2); font-size: 1.02rem; line-height: 1.6; margin: 0 0 12px; }
.sh-plan__price { color: var(--sh-brand); font-weight: 600; }
.sh-plan__card .sh-btn { margin-top: 12px; }

/* ---- small button variant ---- */
.sh-btn--sm { padding: 10px 16px; font-size: 0.92rem; border-radius: 9px; }

/* ---- generic two-column (book page, etc.) ---- */
.sh-two { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: center; }

/* ---- demo top bar (live Cadence demo chrome) — dark, matches the navbar ---- */
.sh-demobar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 18px; background: #0e1014; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--sh-body);
}
.sh-demobar__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.sh-demobar__brand img { height: 26px; }
.sh-demobar__tag { color: #9aa3b2; font-size: 0.82rem; }
.sh-demobar__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.sh-demobar__link { color: #9aa3b2; font-size: 0.9rem; text-decoration: none; white-space: nowrap; transition: color 0.15s ease; }
.sh-demobar__link:hover { color: #fff; }

/* ================= navbar harmonization (dark bar over a light page) ==== */
.sh-body .nv-link.is-active { color: #a5b4ff; }
/* retire the amber CTA in the header for the brand indigo */
.sh-body .nv-auth-primary { background: #4f46e5; border-color: #4f46e5; color: #fff; }
.sh-body .nv-auth-primary:hover { background: #3730c4; color: #fff; filter: none; }

/* ================= reveal motion ================= */
.js .sh-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--i, 0) * 55ms);
}
.js .sh-reveal.is-in { opacity: 1; transform: none; }

/* ================= responsive ================= */
@media (max-width: 980px) {
  .sh-hero__cols { grid-template-columns: 1fr; }
  /* the palette previews the catalog that's directly below — drop it once stacked */
  .sh-hero__art { display: none; }
}
@media (max-width: 900px) {
  .sh-grid { grid-template-columns: repeat(2, 1fr); }
  .sh-steps { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .sh-solution { grid-template-columns: 1fr; gap: 22px; }
  .sh-case__grid { grid-template-columns: 1fr; gap: 22px; }
  .sh-two { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 620px) {
  .sh-grid { grid-template-columns: 1fr; }
  .sh-steps { grid-template-columns: 1fr; }
  .sh-outcomes { grid-template-columns: 1fr; }
  .sh-btn { width: 100%; justify-content: center; }
  .sh-cta-row { width: 100%; }
  /* keep plate footers visible on touch (no hover) */
  .sh-plate__foot { opacity: 1; transform: none; }
  .sh-plate::before { transform: scaleX(1); }
  .sh-demobar__tag { display: none; }
  .sh-demobar__link--back { display: none; }
}

/* touch devices: reveal the plate footer + accent (no hover state) */
@media (hover: none) {
  .sh-plate__foot { opacity: 1; transform: none; }
  .sh-plate::before { transform: scaleX(1); }
}

/* ================= reduced motion ================= */
@media (prefers-reduced-motion: reduce) {
  .js .sh-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .sh-btn, .sh-plate, .sh-plate__tile, .sh-plate::before, .sh-plate__foot { transition: none !important; }
}
