/* ============================================================================
   marketing.css  ·  HairCoPilot marketing pages (Workspace, Studio, For
   Guests, For Salons additions, Home).
   Effect system: browser-chrome panels, 3-image parallax stacks, duo cards,
   section heads, journey/flow. Pairs with theme.css tokens (it remaps its
   own vars to --hcg-* further down). Enqueued only on marketing pages.
   Source of truth: the approved FINAL mockup. Reveal + parallax behaviour
   lives in assets/js/marketing.js.
   ============================================================================ */
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@500;700&family=Neuton:wght@400;700;800&family=Open+Sans:wght@400;600;700;800&display=swap");

:root {
  --font-heading: "Neuton", Georgia, serif;
  --font-body: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --ink: #f7f5f2;
  --ink-2: #ded9d2;
  --muted: #928f8d;
  --bg-0: #111111;
  --bg-1: #161514;
  --bg-2: #1d1c1b;
  --bg-3: #242321;
  --bg-4: #2b2927;
  --surface: #222120;
  --surface-2: #2e2c29;
  --line: rgba(255, 255, 255, .1);
  --line-strong: rgba(255, 255, 255, .2);
  --violet: #6e3aff;
  --pink: #ff3a8c;
  --orange: #ff8a3a;
  --gold: #d8aa58;
  --gradient: linear-gradient(135deg, #6e3aff 0%, #ff3a8c 50%, #ff8a3a 100%);
  --gradient-soft: linear-gradient(135deg, rgba(110, 58, 255, .16), rgba(255, 58, 140, .12), rgba(255, 138, 58, .12));
  --shadow: 0 26px 70px -38px rgba(0, 0, 0, .95);
  --container: 1240px;
  --radius: 8px;
  --radius-lg: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 14% 0%, rgba(110, 58, 255, .15), transparent 28rem),
    radial-gradient(circle at 90% 6%, rgba(255, 58, 140, .12), transparent 24rem),
    linear-gradient(180deg, var(--bg-1), var(--bg-0) 56%, #0f0e0d);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.85;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-1) 82%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.brand__mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--gradient);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 17px;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(110, 58, 255, .34);
}

.menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: var(--muted);
}

.menu a {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 7px;
  white-space: nowrap;
}

.menu a:hover,
.menu a[aria-current="page"] {
  color: var(--ink);
  background: rgba(255, 255, 255, .06);
}

.nav__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .16);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); border-color: rgba(255, 255, 255, .3); }
.btn--primary { border: 0; background: var(--gradient); color: #fff; box-shadow: 0 8px 22px rgba(110, 58, 255, .28); }
.btn--flat { background: transparent; box-shadow: none; }

.hero,
.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 92px 28px;
}

.hero { padding-top: 74px; padding-bottom: 76px; }

.hero-grid,
.split,
.wide-split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(430px, 1.1fr);
  gap: clamp(42px, 7vw, 86px);
  align-items: center;
}

.wide-split { grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); }

.eyebrow {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 16px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 5px rgba(255, 58, 140, .13);
}

h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-heading);
  letter-spacing: -.035em;
  line-height: 1.02;
}

h1 { max-width: 11ch; font-size: clamp(50px, 7.2vw, 88px); font-weight: 800; }
h2 { max-width: 13.5ch; font-size: clamp(36px, 5vw, 58px); font-weight: 800; }
h3 { font-size: 25px; font-weight: 800; line-height: 1.08; letter-spacing: -.025em; }

.grad {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.lead {
  max-width: 60ch;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.action-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 30px; }

.section--band {
  max-width: none;
  background: var(--bg-2);
  box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line);
}

.section--soft {
  max-width: none;
  background: linear-gradient(180deg, var(--bg-1), var(--bg-3));
  box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line);
}

.section--deep {
  max-width: none;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 58, 140, .12), transparent 28rem),
    linear-gradient(180deg, #0f0e0d, var(--bg-2));
  box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line);
}

.section__inner { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .7fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 42px;
}

.section-head--center {
  display: block;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head--center h2,
.section-head--center .lead { margin-left: auto; margin-right: auto; }

.microcopy { color: var(--muted); font-size: 14px; line-height: 1.65; margin: 0; max-width: 48ch; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card-grid--four { grid-template-columns: repeat(4, 1fr); }
.card-grid--two { grid-template-columns: repeat(2, 1fr); }

.card,
.feature,
.panel,
.quote-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.card,
.feature {
  min-height: 230px;
  padding: 22px;
}

.card:nth-child(even),
.feature:nth-child(even) { background: var(--surface-2); }

.card .icon,
.feature .icon {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--pink);
}

.card p,
.feature p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
  margin: 10px 0 0;
}

.panel,
.screenshot-card {
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--surface);
}

.panel::before,
.screenshot-card::before {
  content: "";
  display: block;
  height: 34px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 18px 17px, rgba(255,255,255,.26) 0 4px, transparent 5px),
    radial-gradient(circle at 34px 17px, rgba(255,255,255,.18) 0 4px, transparent 5px),
    radial-gradient(circle at 50px 17px, rgba(255,255,255,.12) 0 4px, transparent 5px),
    rgba(255,255,255,.035);
}

.panel img,
.screenshot-card img {
  width: 100%;
  height: calc(100% - 34px);
  min-height: 280px;
  object-fit: cover;
  object-position: top center;
}

.panel--tall img { min-height: 520px; }

.media-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
}

.media-note::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 5px rgba(255, 58, 140, .12);
  flex: 0 0 auto;
}

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; }
.stat {
  min-height: 130px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--bg-3) 80%, transparent);
}
.stat b { display: block; color: var(--ink); font-family: var(--font-heading); font-size: 42px; line-height: .95; }
.stat span { display: block; color: var(--muted); font-size: 13px; line-height: 1.5; margin-top: 10px; }

.steps { display: grid; gap: 14px; }
.step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.step__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: var(--gradient);
}
.step p { margin: 6px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.storyline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.storyline__item {
  min-height: 220px;
  padding: 24px;
  background: var(--surface);
}

.storyline__item:nth-child(even) { background: var(--surface-2); }
.storyline__item .icon { width: 34px; height: 34px; color: var(--pink); margin-bottom: 20px; }
.storyline__item p { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.58; }

.persona-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.persona {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 24px;
  min-height: 260px;
}

.persona:nth-child(2) { background: var(--surface-2); }
.persona span { color: var(--muted); font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.persona ul { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.persona li { display: grid; grid-template-columns: 18px 1fr; gap: 9px; }
.persona li::before { content: "•"; color: var(--pink); font-weight: 800; }

.screen-story {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(440px, 1.1fr);
  gap: clamp(34px, 6vw, 74px);
  align-items: center;
}

.screen-stack {
  position: relative;
  min-height: 560px;
}

.screen-stack .panel {
  position: absolute;
  width: 74%;
}

.screen-stack .panel:first-child { top: 0; left: 0; z-index: 2; }
.screen-stack .panel:last-child { right: 0; bottom: 0; z-index: 3; }

.caption-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.caption-list div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  padding: 16px;
}

.caption-list b { display: block; color: var(--ink); font-size: 14px; }
.caption-list span { display: block; color: var(--muted); font-size: 13px; line-height: 1.5; margin-top: 4px; }

.access-layers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

.access-layer {
  position: relative;
  min-height: 330px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
  overflow: hidden;
}

.access-layer::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px 18px;
  height: 5px;
  border-radius: 999px;
  background: var(--gradient);
  opacity: .72;
}

.access-layer b {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-heading);
  font-size: 44px;
  line-height: .95;
}

.access-layer p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.58; }
.access-layer ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--ink-2); font-size: 13px; }
.access-layer li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.access-layer li::before { content: "✓"; color: var(--pink); font-weight: 800; }

.matrix {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.matrix__row {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.matrix__row:last-child { border-bottom: 0; }
.matrix__row > div { padding: 16px; color: var(--muted); font-size: 13px; line-height: 1.45; border-right: 1px solid var(--line); }
.matrix__row > div:last-child { border-right: 0; }
.matrix__row.is-head > div { color: var(--ink); font-weight: 800; background: var(--surface-2); }
.matrix strong { color: var(--ink); }

.mock-app {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.mock-app__bar {
  height: 38px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 20px 19px, rgba(255,255,255,.3) 0 4px, transparent 5px),
    radial-gradient(circle at 38px 19px, rgba(255,255,255,.2) 0 4px, transparent 5px),
    radial-gradient(circle at 56px 19px, rgba(255,255,255,.13) 0 4px, transparent 5px),
    rgba(255,255,255,.04);
}

.mock-app__body { padding: 22px; }

.workspace-board,
.booking-board,
.studio-board,
.brand-board {
  display: grid;
  gap: 14px;
}

.board-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.035);
}

.board-row b { display: block; font-size: 14px; color: var(--ink); }
.board-row span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.45; }

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--gradient-soft);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.mini-card {
  min-height: 118px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.035);
}
.mini-card b { display: block; color: var(--ink); font-size: 13px; }
.mini-card span { display: block; color: var(--muted); font-size: 12px; line-height: 1.45; margin-top: 6px; }

.booking-preview {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  min-height: 570px;
}

.booking-preview__profile {
  padding: 24px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)),
    var(--surface);
}

.booking-preview__flow { padding: 24px; background: var(--bg-2); }

.salon-photo {
  height: 150px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255,58,140,.26), rgba(255,138,58,.18)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 24px);
  border: 1px solid var(--line);
  margin-bottom: 18px;
}

.salon-meta { display: grid; gap: 12px; margin-top: 20px; }
.salon-meta div { padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.035); }
.salon-meta b { display: block; color: var(--ink); font-size: 13px; }
.salon-meta span { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }

.booking-steps { display: grid; gap: 10px; margin-top: 18px; }
.booking-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.035);
}
.booking-step i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}
.booking-step b { display: block; color: var(--ink); font-size: 13px; }
.booking-step span { display: block; color: var(--muted); font-size: 12px; line-height: 1.45; margin-top: 4px; }

.brief-panel {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: 18px;
  align-items: stretch;
}

.brief-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px;
}

.brief-card:nth-child(even) { background: var(--surface-2); }
.brief-card h3 { margin-bottom: 14px; }
.brief-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.brief-list li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.brief-list li::before { content: "→"; color: var(--pink); font-weight: 800; }

.slot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.slot {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  background: rgba(255,255,255,.035);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.slot.is-active { border-color: transparent; background: var(--gradient); color: #fff; }

.taxonomy {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.taxonomy div {
  min-height: 170px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.taxonomy div:nth-child(even) { background: var(--surface-2); }
.taxonomy b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 10px; }
.taxonomy span { display: block; color: var(--muted); font-size: 13px; line-height: 1.5; }

.connector {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.connector--six {
  grid-template-columns: repeat(6, 1fr);
}

.connector div {
  position: relative;
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.035);
}

.connector div::after {
  content: "";
  position: absolute;
  top: 30px;
  right: -13px;
  width: 13px;
  height: 1px;
  background: var(--line-strong);
}

.connector div:last-child::after { display: none; }
.connector b { display: block; color: var(--ink); font-size: 14px; }
.connector span { display: block; color: var(--muted); font-size: 12px; line-height: 1.5; margin-top: 8px; }

.pricing-head {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.pricing-head h1,
.pricing-head h2 { max-width: none; }

.hcgpt-mb-pricing-grid {
  --pf-surface: var(--surface);
  --pf-surface-2: var(--surface-2);
  --pf-border: var(--line);
  --pf-border-strong: var(--line-strong);
  --pf-text: var(--ink);
  --pf-text-2: var(--ink-2);
  --pf-muted: var(--muted);
  --pf-on-ink: #141414;
  --pf-gradient: var(--gradient);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  max-width: 1180px;
  margin: 34px auto 0;
  padding: 24px 0 0;
  justify-content: center;
  color: var(--pf-text);
}

.hcgpt-mb-pricing-grid[data-card-count="4"] { grid-template-columns: repeat(4, 1fr); }

.hcgpt-mb-pricing-card {
  position: relative;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  padding: 32px 28px 28px;
  border: 1px solid var(--pf-border);
  border-radius: 18px;
  background: var(--pf-surface);
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}

.hcgpt-mb-pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px -26px rgba(0, 0, 0, .85);
}

.hcgpt-mb-pricing-card--featured {
  border: 2px solid transparent;
  background: linear-gradient(var(--pf-surface), var(--pf-surface)) padding-box, var(--pf-gradient) border-box;
  box-shadow: 0 18px 44px -26px rgba(110, 58, 255, .58);
}

.hcgpt-mb-pricing-card--premium {
  border-color: var(--pf-text);
  border-width: 1.5px;
}

.hcgpt-mb-pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6e3aff, #ff3a8c);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(110, 58, 255, .3);
}

.hcgpt-mb-pricing-card__icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  border-radius: 14px;
  background: var(--gradient-soft);
  color: var(--pink);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.hcgpt-mb-pricing-card__icon .dashicons-admin-users::before { content: "1"; }
.hcgpt-mb-pricing-card__icon .dashicons-groups::before { content: "2"; }
.hcgpt-mb-pricing-card__icon .dashicons-buddicons-groups::before { content: "3"; }
.hcgpt-mb-pricing-card__icon .dashicons-flag::before { content: "4d"; font-size: 18px; }

.hcgpt-mb-pricing-card--featured .hcgpt-mb-pricing-card__icon {
  background: var(--pf-gradient);
  color: #fff;
  box-shadow: 0 6px 16px rgba(110, 58, 255, .35);
}

.hcgpt-mb-pricing-card__name {
  margin: 0 0 8px;
  color: var(--pf-text);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hcgpt-mb-pricing-card--featured .hcgpt-mb-pricing-card__name {
  background: linear-gradient(135deg, #6e3aff, #ff3a8c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hcgpt-mb-pricing-card__subtitle {
  margin: 0 0 12px;
  color: var(--pf-text);
  font-size: 14px;
  font-weight: 700;
}

.hcgpt-mb-pricing-card__tagline {
  min-height: 50px;
  margin: 0;
  color: var(--pf-muted);
  font-size: 13px;
  line-height: 1.5;
}

.hcgpt-mb-pricing-card__divider {
  width: 100%;
  border: 0;
  border-top: 1px solid var(--pf-border);
  margin: 22px 0;
}

.hcgpt-mb-pricing-card__features {
  min-height: 142px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.hcgpt-mb-pricing-card__features + .hcgpt-mb-pricing-card__divider { margin-top: auto; }

.hcgpt-mb-pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 5px 0;
  color: var(--pf-text-2);
  font-size: 13px;
  line-height: 1.55;
}

.hcgpt-mb-pricing-card__features li::before {
  content: "";
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='%236e3aff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5L6.5 11.5L12.5 5'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
}

.hcgpt-mb-pricing-card__price-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-bottom: 4px;
}

.hcgpt-mb-pricing-card__price-amount,
.hcgpt-mb-pricing-card__price-free {
  color: var(--pf-text);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
}

.hcgpt-mb-pricing-card__price-amount { font-size: 36px; }
.hcgpt-mb-pricing-card__price-free { font-size: 30px; }
.hcgpt-mb-pricing-card__price-cycle { color: var(--pf-muted); font-size: 14px; font-weight: 600; }

.hcgpt-mb-pricing-card__cta {
  display: block;
  width: 100%;
  margin-top: 16px;
  padding: 13px 20px;
  border: 0;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-align: center;
  text-transform: uppercase;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.hcgpt-mb-pricing-card__cta--free {
  border: 1.5px solid var(--pf-border-strong);
  color: var(--pf-muted);
  background: transparent;
}

.hcgpt-mb-pricing-card__cta--standard {
  color: var(--pf-on-ink);
  background: var(--pf-text);
}

.hcgpt-mb-pricing-card__cta--featured {
  color: #fff;
  background: var(--pf-gradient);
  box-shadow: 0 8px 20px rgba(110, 58, 255, .35);
}

.hcgpt-mb-pricing-card__cta--premium {
  border: 2px solid transparent;
  color: var(--pf-on-ink);
  background: linear-gradient(var(--pf-text), var(--pf-text)) padding-box, var(--pf-gradient) border-box;
}

.logo-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.logo-wall figure {
  margin: 0;
  min-height: 104px;
  display: grid;
  gap: 10px;
  place-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
}
.logo-wall img { max-width: 104px; max-height: 36px; object-fit: contain; filter: grayscale(1) invert(1); opacity: .78; }
.logo-wall figcaption { color: var(--muted); font-size: 11px; text-align: center; }

.final {
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.18);
  background: radial-gradient(circle at 20% 0%, rgba(255,255,255,.28), transparent 24rem), var(--gradient);
  color: #fff;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}
.final h2,
.final .lead { color: #fff; }
.final .lead { opacity: .86; }
.final .btn { background: #fff; color: #151515; border: 0; box-shadow: none; }

footer { border-top: 1px solid var(--line); padding: 30px 28px; color: var(--muted); font-size: 13px; }
.footer__inner { max-width: var(--container); margin: 0 auto; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
[data-parallax] { transform: translate3d(0, var(--parallax-y, 0px), 0); transition: transform .18s linear; will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  [data-parallax] { transition: none; transform: none; }
}

@media (max-width: 1080px) {
  .hcgpt-mb-pricing-grid[data-card-count="4"] { grid-template-columns: repeat(2, 1fr); }

  .menu { display: none; }
  .hero-grid,
  .split,
  .wide-split,
  .screen-story,
  .brief-panel,
  .section-head { grid-template-columns: 1fr; }
  .card-grid,
  .card-grid--four,
  .logo-wall,
  .storyline,
  .persona-grid,
  .access-layers,
  .taxonomy,
  .connector { grid-template-columns: repeat(2, 1fr); }
  .screen-stack { min-height: auto; display: grid; gap: 16px; }
  .screen-stack .panel { position: relative; width: 100%; inset: auto; }
  .booking-preview { grid-template-columns: 1fr; }
  .booking-preview__profile { border-right: 0; border-bottom: 1px solid var(--line); }
  h1 { max-width: 12ch; }
}

@media (max-width: 720px) {
  .hcgpt-mb-pricing-grid[data-card-count] { grid-template-columns: 1fr; }
  .hcgpt-mb-pricing-grid { gap: 14px; }
  .hcgpt-mb-pricing-card { min-height: auto; padding: 26px 22px 22px; }
  .hcgpt-mb-pricing-card__features,
  .hcgpt-mb-pricing-card__tagline { min-height: 0; }

  .nav__inner,
  .hero,
  .section,
  .section__inner { padding-left: 20px; padding-right: 20px; }
  .nav__actions .btn--flat { display: none; }
  .hero { padding-top: 48px; }
  h1 { font-size: 48px; }
  h2 { font-size: 38px; }
  .card-grid,
  .card-grid--two,
  .card-grid--four,
  .stat-row,
  .logo-wall,
  .storyline,
  .persona-grid,
  .access-layers,
  .matrix__row,
  .mini-grid,
  .taxonomy,
  .connector,
  .slot-grid { grid-template-columns: 1fr; }
  .matrix__row > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .matrix__row > div:last-child { border-bottom: 0; }
  .connector div::after { display: none; }
  .booking-preview { min-height: auto; }
  .booking-preview__profile,
  .booking-preview__flow,
  .mock-app__body { padding: 18px; }
  .final { grid-template-columns: 1fr; padding: 30px; }
}

/* ============================================================
   hcgpt-wp-theme skin
   Source of truth: hcgpt-wp-theme/assets/css/theme.css.
   The mockup keeps its copy, visual effects and screen compositions;
   this layer maps the mockup classes to the real WordPress theme rhythm.
   ============================================================ */

:root {
  --hcg-font-heading: "Neuton", Georgia, serif;
  --hcg-font-body: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --hcg-font-mono: "JetBrains Mono", ui-monospace, monospace;
  --hcg-c1: #6e3aff;
  --hcg-c2: #ff3a8c;
  --hcg-c3: #ff8a3a;
  --hcg-gradient: linear-gradient(135deg, #6e3aff 0%, #ff3a8c 50%, #ff8a3a 100%);
  --hcg-gradient-soft: linear-gradient(135deg, rgba(110,58,255,.06) 0%, rgba(255,58,140,.06) 50%, rgba(255,138,58,.06) 100%);
  --hcg-accent: #6e3aff;
  --hcg-r: 10px;
  --hcg-r-lg: 14px;
  --hcg-r-xl: 20px;
  --hcg-shadow-sm: 0 2px 4px rgba(15,23,42,.04);
  --hcg-shadow: 0 8px 24px -8px rgba(15,23,42,.10), 0 4px 8px -4px rgba(15,23,42,.06);
  --hcg-shadow-lg: 0 20px 40px -12px rgba(15,23,42,.12);
  --container: 1240px;
  --font-heading: var(--hcg-font-heading);
  --font-body: var(--hcg-font-body);
  --font-mono: var(--hcg-font-mono);
  --violet: var(--hcg-c1);
  --pink: var(--hcg-c2);
  --orange: var(--hcg-c3);
  --gradient: var(--hcg-gradient);
  --gradient-soft: var(--hcg-gradient-soft);
  --radius: var(--hcg-r);
  --radius-lg: var(--hcg-r-xl);
}

html,
body,
html[data-hcgpt-theme="dark"],
body.hcgpt-theme-dark {
  --hcg-bg: #161616;
  --hcg-surface: #232323;
  --hcg-surface-2: #2e2e2e;
  --hcg-text: #f5f5f7;
  --hcg-text-2: #d4d4d8;
  --hcg-muted: #8a8a93;
  --hcg-border: rgba(255,255,255,.08);
  --hcg-border-strong: rgba(255,255,255,.16);
  --hcg-hover: rgba(255,255,255,.06);
  --hcg-topbar: rgba(35,35,35,.85);
  --ink: var(--hcg-text);
  --ink-2: var(--hcg-text-2);
  --muted: var(--hcg-muted);
  --bg-0: var(--hcg-bg);
  --bg-1: var(--hcg-bg);
  --bg-2: var(--hcg-surface);
  --bg-3: var(--hcg-surface-2);
  --bg-4: var(--hcg-surface-2);
  --surface: var(--hcg-surface);
  --surface-2: var(--hcg-surface-2);
  --line: var(--hcg-border);
  --line-strong: var(--hcg-border-strong);
  --shadow: var(--hcg-shadow);
  background: var(--hcg-bg);
  color: var(--hcg-text);
  color-scheme: dark;
}

html[data-hcgpt-theme="light"],
body.hcgpt-theme-light {
  --hcg-bg: #fafafa;
  --hcg-surface: #ffffff;
  --hcg-surface-2: #f5f5f5;
  --hcg-text: #0a0a0a;
  --hcg-text-2: #1a1a1d;
  --hcg-muted: #737378;
  --hcg-border: rgba(0,0,0,.08);
  --hcg-border-strong: rgba(0,0,0,.15);
  --hcg-hover: rgba(0,0,0,.04);
  --hcg-topbar: rgba(255,255,255,.85);
  color-scheme: light;
}

@media (prefers-color-scheme: light) {
  html[data-hcgpt-theme="system"],
  body.hcgpt-theme-system {
    --hcg-bg: #fafafa;
    --hcg-surface: #ffffff;
    --hcg-surface-2: #f5f5f5;
    --hcg-text: #0a0a0a;
    --hcg-text-2: #1a1a1d;
    --hcg-muted: #737378;
    --hcg-border: rgba(0,0,0,.08);
    --hcg-border-strong: rgba(0,0,0,.15);
    --hcg-hover: rgba(0,0,0,.04);
    --hcg-topbar: rgba(255,255,255,.85);
    color-scheme: light;
  }
}

body {
  background: var(--hcg-bg);
  color: var(--hcg-text);
  font-family: var(--hcg-font-body);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--hcg-border);
  background: var(--hcg-topbar);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav__inner {
  max-width: 1240px;
  padding: 14px 28px;
  gap: 24px;
}

.brand {
  gap: 12px;
  color: var(--hcg-text);
  font-weight: 600;
  line-height: 1;
}

.brand__mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--hcg-gradient);
  box-shadow: 0 4px 12px rgba(110,58,255,.3);
  font-family: var(--hcg-font-heading);
  font-weight: 800;
}

.menu {
  gap: 4px;
  color: var(--hcg-muted);
  font-size: 13px;
}

.menu a {
  padding: 6px 12px;
  border-radius: 6px;
  color: var(--hcg-muted);
}

.menu a:hover,
.menu a[aria-current="page"] {
  color: var(--hcg-text);
  background: var(--hcg-hover);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.nav__toggle:hover { background: var(--hcg-hover); }
.nav__toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--hcg-text);
  transition: transform .2s ease, opacity .2s ease;
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.tone-switch {
  display: inline-flex;
  flex-shrink: 0;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--hcg-border);
  border-radius: 999px;
  background: var(--hcg-surface-2);
}

.tone-switch button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 28px;
  padding: 6px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--hcg-muted);
  cursor: pointer;
}

.tone-switch button[aria-pressed="true"] {
  background: var(--hcg-surface);
  color: var(--hcg-text);
  box-shadow: var(--hcg-shadow-sm);
}

.tone-switch svg {
  width: 14px;
  height: 14px;
  display: block;
}

.btn {
  min-height: 0;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--hcg-surface);
  color: var(--hcg-text);
  box-shadow: var(--hcg-shadow-sm);
  font-size: 14px;
  font-weight: 600;
}

.btn:hover {
  border-color: var(--hcg-border-strong);
  background: var(--hcg-surface-2);
  box-shadow: var(--hcg-shadow-sm);
}

.btn--primary {
  border: 0;
  background: var(--hcg-gradient);
  color: #fff;
  box-shadow: 0 4px 14px rgba(110,58,255,.3);
}

.btn--primary:hover {
  background: var(--hcg-gradient);
  box-shadow: 0 6px 20px rgba(110,58,255,.4);
}

.btn--flat {
  border-color: var(--hcg-border-strong);
  background: var(--hcg-surface);
}

.hero,
.section {
  max-width: 1240px;
  padding: 96px 28px;
}

.hero {
  padding-top: 32px;
  padding-bottom: 24px;
}

.hero-grid,
.hero__grid {
  grid-template-columns: minmax(0, .95fr) minmax(400px, 1.05fr);
  gap: 56px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--hcg-muted);
  font-family: var(--hcg-font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow::before { display: none; }

h1,
h2,
h3 {
  color: var(--hcg-text);
  font-family: var(--hcg-font-heading);
  letter-spacing: -.025em;
}

h1 {
  max-width: 12ch;
  font-size: clamp(34px, 7vw, 56px);
  line-height: 1.05;
}

h2 {
  max-width: 14ch;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.1;
}

h3 {
  font-size: 19px;
  line-height: 1.16;
}

.grad {
  background: var(--hcg-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.lead {
  margin-top: 16px;
  color: var(--hcg-muted);
  font-size: 17px;
  line-height: 1.62;
}

.microcopy {
  color: var(--hcg-muted);
  line-height: 1.65;
}

.section:nth-of-type(even) {
  background: var(--hcg-surface);
  box-shadow: 0 0 0 100vmax var(--hcg-surface);
  clip-path: inset(0 -100vmax);
}

.section--band,
.section--soft,
.section--deep {
  max-width: 1240px;
  background: transparent;
  box-shadow: none;
}

.section--deep {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-inline: 0;
  background:
    radial-gradient(circle at 18% 20%, color-mix(in srgb, var(--hcg-c2) 16%, transparent), transparent 28%),
    radial-gradient(circle at 80% 8%, color-mix(in srgb, var(--hcg-c3) 14%, transparent), transparent 24%),
    var(--hcg-bg);
  box-shadow: none;
  clip-path: none;
  overflow: hidden;
}

.section--deep > .section__inner,
.section--soft > .section__inner,
.section--band > .section__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding-inline: 28px;
}

.section-head {
  grid-template-columns: minmax(0, .9fr) minmax(320px, .7fr);
  margin-bottom: 56px;
}

.card,
.feature,
.panel,
.quote-panel,
.stat,
.storyline,
.storyline__item,
.persona,
.caption-list div,
.access-layer,
.matrix,
.mock-app,
.board-row,
.mini-card,
.booking-preview__profile,
.booking-preview__flow,
.booking-step,
.brief-card,
.taxonomy div,
.connector div,
.hcgpt-mb-pricing-card {
  border-color: var(--hcg-border);
  border-radius: var(--hcg-r-lg);
  background: var(--hcg-surface);
  color: var(--hcg-text);
}

.card:nth-child(even),
.feature:nth-child(even),
.storyline__item:nth-child(even),
.persona:nth-child(2),
.brief-card:nth-child(even),
.taxonomy div:nth-child(even) {
  background: var(--hcg-surface-2);
}

.card,
.feature,
.brief-card,
.taxonomy div {
  box-shadow: none;
}

.card .icon,
.feature .icon,
.storyline__item .icon {
  color: var(--hcg-c2);
}

.card p,
.feature p,
.storyline__item p,
.step p,
.caption-list span,
.taxonomy span,
.connector span,
.board-row span,
.mini-card span,
.booking-step span,
.brief-list li,
.persona ul,
.access-layer p {
  color: var(--hcg-muted);
}

.stat b,
.caption-list b,
.taxonomy b,
.connector b,
.board-row b,
.mini-card b,
.booking-step b,
.persona b {
  color: var(--hcg-text);
}

.step {
  grid-template-columns: 44px 1fr;
  gap: 20px;
  padding: 0 0 36px;
  border: 0;
  border-radius: 0;
  background: transparent;
  position: relative;
}

.step::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 44px;
  bottom: -4px;
  width: 2px;
  background: linear-gradient(180deg, var(--hcg-c1), var(--hcg-c2));
  opacity: .35;
}

.step:last-child { padding-bottom: 0; }
.step:last-child::before { display: none; }

.step__icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--hcg-border-strong);
  border-radius: 13px;
  background: var(--hcg-surface);
  color: var(--hcg-text);
  position: relative;
  z-index: 1;
}

.mock-app,
.panel,
.screenshot-card {
  border-radius: var(--hcg-r-xl);
  background: var(--hcg-surface);
  box-shadow: var(--hcg-shadow);
}

.mock-app__bar,
.panel::before,
.screenshot-card::before {
  border-bottom-color: var(--hcg-border);
  background:
    radial-gradient(circle at 18px 17px, var(--hcg-border-strong) 0 4px, transparent 5px),
    radial-gradient(circle at 34px 17px, var(--hcg-border) 0 4px, transparent 5px),
    radial-gradient(circle at 50px 17px, var(--hcg-border) 0 4px, transparent 5px),
    var(--hcg-surface-2);
}

.pill,
.slot.is-active {
  background: var(--hcg-gradient);
  color: #fff;
}

.connector div::after {
  background: var(--hcg-border-strong);
}

.hcgpt-mb-pricing-grid {
  --pf-surface: var(--hcg-surface);
  --pf-surface-2: var(--hcg-surface-2);
  --pf-border: var(--hcg-border);
  --pf-border-strong: var(--hcg-border-strong);
  --pf-text: var(--hcg-text);
  --pf-text-2: var(--hcg-text-2);
  --pf-muted: var(--hcg-muted);
  --pf-on-ink: var(--hcg-bg);
  --pf-gradient: var(--hcg-gradient);
}

.final {
  border: 0;
  border-radius: 28px;
  background: var(--hcg-gradient);
  box-shadow: 0 16px 40px -16px rgba(110,58,255,.25);
}

footer {
  border-top: 1px solid var(--hcg-border);
  background: var(--hcg-surface);
  color: var(--hcg-muted);
  padding: 64px 28px 32px;
}

.footer__inner {
  max-width: 1240px;
  align-items: baseline;
}

.footer__inner strong {
  color: var(--hcg-text);
  font-size: 15px;
}

.footer__inner span {
  margin: 0;
  background: var(--hcg-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 18px;
  font-weight: 600;
}

@media (max-width: 1200px) {
  .nav { position: relative; }
  .nav__toggle { display: inline-flex; }
  .nav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    border-top: 1px solid var(--hcg-border);
    border-bottom: 1px solid var(--hcg-border);
    background: var(--hcg-bg);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  }
  .nav.nav--open .nav__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 28px;
    font-size: 15px;
  }
  .menu a {
    display: block;
    padding: 12px;
  }
  body.nav-locked { overflow: hidden; }
}

@media (max-width: 960px) {
  .hero-grid,
  .hero__grid,
  .split,
  .wide-split,
  .screen-story,
  .brief-panel,
  .section-head {
    grid-template-columns: 1fr;
  }
  .hero,
  .section {
    padding: 64px 20px;
  }
  .hero {
    padding-top: 24px;
    text-align: center;
  }
  h1,
  h2,
  .lead {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 720px) {
  .nav__inner {
    padding: 12px 20px;
    gap: 10px;
  }
  .brand {
    min-width: 0;
    flex: 1 1 auto;
  }
  .brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .tone-switch {
    gap: 0;
    padding: 2px;
  }
  .tone-switch button[aria-pressed="false"] { display: none; }
  .tone-switch button[aria-pressed="true"] {
    width: 32px;
    height: 32px;
    padding: 0;
  }
  .nav__actions {
    gap: 6px;
  }
  .nav__actions .btn--flat {
    display: none;
  }
  .nav__actions .btn--primary {
    padding-left: 12px;
    padding-right: 12px;
  }
  h1 {
    font-size: clamp(34px, 11vw, 48px);
  }
  h2 {
    font-size: clamp(28px, 9vw, 38px);
  }
}

/* Source-theme width and layout correction.
   The live WordPress theme defaults to a 1440px container via
   hcg_container_max; the mockup must match that page scale. */
:root,
body {
  --hcg-container-max: 1440px;
  --container: 1440px;
}

.hcg-nav__inner,
.nav__inner,
.hcg-hero,
.hero,
.hcg-section,
.section,
.hcg-footer__inner,
.footer__inner {
  max-width: var(--hcg-container-max, 1440px);
}

.hcg-nav__inner,
.nav__inner {
  padding-left: 28px;
  padding-right: 28px;
}

.hcg-hero,
.hero {
  padding: 32px 28px 24px;
}

.hcg-hero__split,
.hero-grid,
.hero__grid {
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.hcg-hero__split > .mock-app,
.hcg-hero__split > .panel,
.hcg-hero__split > .hero-board {
  order: 1;
  width: 100%;
  max-width: 400px;
  justify-self: stretch;
}

.hcg-hero__split > .reveal:not(.mock-app):not(.panel):not(.hero-board) {
  order: 2;
  text-align: left;
}

.hcg-hero h1,
.hero h1 {
  max-width: 19ch;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.05;
  letter-spacing: -.03em;
}

.hcg-hero .hcg-section-sub,
.hcg-hero .lead,
.hero .lead {
  max-width: 52ch;
  margin-left: 0;
  margin-right: 0;
}

.hcg-hero .action-row,
.hero .action-row {
  margin-top: 24px;
}

.hcg-main .hcg-btn--sm {
  padding: 13px 26px;
  font-size: 15px;
}

.hcg-main .hcg-btn:not(.hcg-btn--primary):not(.hcg-btn--ghost) {
  border-color: var(--hcg-border-strong);
  background: var(--hcg-surface);
  box-shadow: var(--hcg-shadow-sm);
}

.mock-lang-slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 34px;
  padding: 3px 9px;
  border: 1px solid var(--hcg-border);
  border-radius: 999px;
  background: var(--hcg-surface-2);
  color: var(--hcg-text);
  box-shadow: var(--hcg-shadow-sm);
  line-height: 1;
}

.mock-lang-slot span {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  overflow: hidden;
  font-size: 17px;
  line-height: 20px;
  text-align: center;
}

.hcg-section,
.section {
  padding-left: 28px;
  padding-right: 28px;
}

.section__inner {
  width: 100%;
  max-width: var(--hcg-container-max, 1440px);
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

.section-head {
  max-width: none;
}

.section-head h2,
.hcg-section h2,
.section h2 {
  max-width: 16ch;
}

.section-head--center h2 {
  max-width: 18ch;
}

.section--band,
.section--soft {
  max-width: var(--hcg-container-max, 1440px);
}

.section--deep > .section__inner,
.section--soft > .section__inner,
.section--band > .section__inner {
  max-width: var(--hcg-container-max, 1440px);
  padding-inline: 28px;
}

@media (max-width: 1200px) {
  .hcg-hero__split,
  .hero-grid,
  .hero__grid {
    grid-template-columns: minmax(340px, .72fr) minmax(0, 1fr);
    gap: 40px;
  }
}

@media (max-width: 960px) {
  .hcg-hero__split,
  .hero-grid,
  .hero__grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .hcg-hero__split > .mock-app,
  .hcg-hero__split > .panel,
  .hcg-hero__split > .hero-board {
    order: 4;
    max-width: 480px;
  }

  .hcg-hero__split > .reveal:not(.mock-app):not(.panel):not(.hero-board) {
    order: 1;
    text-align: center;
  }

  .hcg-hero .hcg-section-sub,
  .hcg-hero .lead,
  .hero .lead {
    margin-left: auto;
    margin-right: auto;
  }
}


/* ============================================================================
   final-tuning.css  ·  HairCoPilot — FINAL mockup refinements
   Layered on top of theme.css + pages.css. Loaded LAST, so it wins ties.
   This file is the COMPLETE delta to port into the WordPress theme.

   What it does
   1. Heroes — taller than other sections + balanced (kills the "decentrato" hero)
   2. Section heads — tidied so titles stop floating off to one side
   3. "Full cycle" connector (For Salons) — centred, even, intentional
   4. "Product knowledge" taxonomy (Studio) — centred + balanced
   5. Light polish on the browser-chrome panels, duo cards & parallax stacks
   ============================================================================ */

/* ------------------------------------------------------------------ *
   1 · HEROES  —  taller, vertically centred, balanced two-column
       text LEFT · media RIGHT (was: small media crammed in a 400px
       left column = the off-centre look)
 * ------------------------------------------------------------------ */
.hcg-hero,
.hero {
  padding-top: clamp(64px, 8vh, 104px);
  padding-bottom: clamp(72px, 9vh, 116px);
  min-height: min(86vh, 840px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hcg-hero__split,
.hero-grid,
.hero__grid {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}

/* copy column on the LEFT */
.hcg-hero__split > .reveal:not(.mock-app):not(.panel):not(.hero-board) {
  order: 1;
  text-align: left;
  justify-self: start;
}

/* media column on the RIGHT — let it breathe (was capped at 400px) */
.hcg-hero__split > .mock-app,
.hcg-hero__split > .panel,
.hcg-hero__split > .hero-board {
  order: 2;
  width: 100%;
  max-width: none;
  justify-self: stretch;
}

.hcg-hero h1,
.hero h1 {
  max-width: 19ch;
  margin: 4px 0 22px;
  font-size: clamp(46px, 5.2vw, 72px);
  line-height: 1.04;
  letter-spacing: -.032em;
}

.hcg-hero .eyebrow,
.hero .eyebrow { margin-bottom: 16px; }

.hcg-hero .lead,
.hcg-hero .hcg-section-sub,
.hero .lead {
  max-width: 50ch;
}

/* the inner-page hero "panel" image should stand tall on the right */
.hcg-hero__split > .panel--tall img { min-height: 480px; }

/* tablet / mobile — stack cleanly (kept BELOW the 924px preview so the
   balanced desktop hero is what renders in the preview) */
@media (max-width: 820px) {
  .hcg-hero,
  .hero {
    min-height: 0;
    padding-top: 52px;
    padding-bottom: 56px;
    text-align: center;
  }
  .hcg-hero__split,
  .hero-grid,
  .hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 34px;
    text-align: center;
  }
  .hcg-hero__split > .reveal:not(.mock-app):not(.panel):not(.hero-board) {
    order: 1;
    text-align: center;
    justify-self: center;
  }
  .hcg-hero__split > .mock-app,
  .hcg-hero__split > .panel,
  .hcg-hero__split > .hero-board { order: 2; }
  .hcg-hero h1,
  .hero h1 { margin-left: auto; margin-right: auto; }
  .hcg-hero .lead,
  .hcg-hero .hcg-section-sub,
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hcg-hero .action-row,
  .hero .action-row,
  .hcg-hero .stat-row,
  .hero .stat-row { justify-content: center; }
}

/* ------------------------------------------------------------------ *
   2 · SECTION HEADS  —  stop the title floating; sit copy on a tidy
       baseline with the supporting line aligned to it
 * ------------------------------------------------------------------ */
.section-head {
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .62fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: end;
  margin-bottom: clamp(36px, 4vw, 56px);
}
.section-head:not(.section-head--center) > .reveal:first-child h2,
.section-head:not(.section-head--center) h2 { margin-bottom: 0; }
.section-head .microcopy { padding-bottom: 6px; }

@media (max-width: 820px) {
  .section-head { gap: 16px; align-items: start; }
}

/* ------------------------------------------------------------------ *
   3 · CENTRED HEADS + the "Full cycle" connector (For Salons) and any
       centred lead block — make them genuinely centred & contained
 * ------------------------------------------------------------------ */
.section-head--center {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(40px, 4.5vw, 64px);
  text-align: center;
}
.section-head--center .eyebrow { display: inline-block; margin-bottom: 14px; }
.section-head--center h2 {
  max-width: 22ch;
  margin-bottom: 22px;
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1.1;
}
.section-head--center .lead { margin-top: 0; }

/* connector row: contained, evenly weighted, calmer baseline line */
.connector {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  gap: 16px;
}
.connector--six { max-width: 1280px; }
.connector div {
  min-height: 158px;
  padding: 22px 20px;
  border-radius: var(--hcg-r-lg, 14px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.connector b { font-size: 15px; }
.connector span { margin-top: 0; }
/* tidy the little connector dash so it reads as one continuous flow */
.connector div::after {
  width: 16px;
  height: 1px;
  right: -8px;
  opacity: .6;
}

/* ------------------------------------------------------------------ *
   4 · "Product knowledge" taxonomy (Studio) — balanced, contained
 * ------------------------------------------------------------------ */
.taxonomy {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  gap: 16px;
}
.taxonomy div {
  min-height: 184px;
  padding: 24px 22px;
  border-radius: var(--hcg-r-lg, 14px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.taxonomy b { font-size: 16px; margin-bottom: 0; }

/* ------------------------------------------------------------------ *
   5 · POLISH — browser-chrome panels, duo cards, parallax stacks
 * ------------------------------------------------------------------ */
/* a touch more presence on the macOS chrome bar dots */
.mock-app__bar,
.panel::before,
.screenshot-card::before {
  height: 40px;
}

/* duo cards: even rhythm + gentle hover lift */
.duo-card {
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
}
.duo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hcg-shadow-lg, 0 24px 48px -16px rgba(0,0,0,.5));
}

/* give the floating screen-stacks a hair more room so the parallax
   shift never clips the lower card */
.screen-stack { min-height: 600px; }
.screen-stack .panel { box-shadow: var(--hcg-shadow-lg, 0 24px 48px -16px rgba(0,0,0,.45)); }

@media (max-width: 820px) {
  .screen-stack { min-height: auto; }
}

/* ------------------------------------------------------------------ *
   6 · FINAL CTA  —  keep text + button readable on the bright gradient
       (the secondary .hcg-btn was falling back to a dark surface with
       dark text = unreadable). White button, dark label, light eyebrow.
 * ------------------------------------------------------------------ */
.final .eyebrow {
  color: rgba(255, 255, 255, .82);
  -webkit-text-fill-color: rgba(255, 255, 255, .82);
}

.hcg-main .final a.hcg-btn,
.hcg-main .final a.hcg-btn.btn {
  background: #ffffff;
  color: #151515;
  border-color: transparent;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .45);
}
.hcg-main .final a.hcg-btn:hover,
.hcg-main .final a.hcg-btn.btn:hover {
  background: #f1f1f1;
  color: #000000;
  transform: translateY(-2px);
}

/* the H2 final-phrase gradient is illegible on the bright .final card —
   force those .grad spans back to solid white inside .final */
.final h2 .grad {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: #ffffff;
  color: #ffffff;
}

/* ------------------------------------------------------------------ *
   7 · HERO Formula Builder shot — swap light / dark screenshot by tone
 * ------------------------------------------------------------------ */
.hero-shot__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.hero-shot__img--light { display: none; }

body.hcgpt-theme-light .hero-shot__img--dark { display: none; }
body.hcgpt-theme-light .hero-shot__img--light { display: block; }

@media (prefers-color-scheme: light) {
  body.hcgpt-theme-system .hero-shot__img--dark { display: none; }
  body.hcgpt-theme-system .hero-shot__img--light { display: block; }
}
@media (prefers-color-scheme: dark) {
  body.hcgpt-theme-system .hero-shot__img--light { display: none; }
}

/* ------------------------------------------------------------------ *
   7b · Generic tone-swap screenshots (client card, etc.)
       Two stacked <img>; show the one matching the active tone.
 * ------------------------------------------------------------------ */
.shot-swap { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.shot-swap--light { display: none; }

body.hcgpt-theme-light .shot-swap--dark { display: none; }
body.hcgpt-theme-light .shot-swap--light { display: block; }

@media (prefers-color-scheme: light) {
  body.hcgpt-theme-system .shot-swap--dark { display: none; }
  body.hcgpt-theme-system .shot-swap--light { display: block; }
}
@media (prefers-color-scheme: dark) {
  body.hcgpt-theme-system .shot-swap--light { display: none; }
}

/* ------------------------------------------------------------------ *
   8 · LIGHT-MODE hero fixes
       - the two floating cards had hard-coded dark gradients (their
         text adapts to the tone, so on light they went dark-on-dark)
       - the browser chrome "pallini" were hard-coded white = invisible
         on the white bar in light mode
 * ------------------------------------------------------------------ */
.brand-intel {
  background: linear-gradient(180deg, var(--hcg-surface-2), var(--hcg-surface));
}
.care-chip {
  background:
    radial-gradient(circle at 8% 0%, rgba(216, 170, 88, .16), transparent 14rem),
    linear-gradient(180deg, var(--hcg-surface-2), var(--hcg-surface));
}

/* macOS chrome dots — tone-adaptive so they read in BOTH light & dark */
.hero-shot::before,
.panel::before,
.screenshot-card::before {
  background:
    radial-gradient(circle at 18px 17px, color-mix(in srgb, var(--hcg-text) 42%, transparent) 0 4px, transparent 5px),
    radial-gradient(circle at 34px 17px, color-mix(in srgb, var(--hcg-text) 28%, transparent) 0 4px, transparent 5px),
    radial-gradient(circle at 50px 17px, color-mix(in srgb, var(--hcg-text) 16%, transparent) 0 4px, transparent 5px),
    var(--hcg-surface-2);
}

/* ------------------------------------------------------------------ *
   9 · BRAND LOGOS — the SVGs are loaded via <img>, so currentColor
       resolves to black and the base rule uses invert(1) to make them
       white (good on DARK). On LIGHT that white = invisible. Drop the
       invert in light mode so the logos render dark-grey on white.
 * ------------------------------------------------------------------ */
body.hcgpt-theme-light .logo-marquee__item img,
body.hcgpt-theme-light .brand-intel__logos img {
  filter: grayscale(1);
  opacity: .6;
}
@media (prefers-color-scheme: light) {
  body.hcgpt-theme-system .logo-marquee__item img,
  body.hcgpt-theme-system .brand-intel__logos img {
    filter: grayscale(1);
    opacity: .6;
  }
}

/* ------------------------------------------------------------------ *
   11 · "How it works" journey — now a 4-phase high-level arc (was 7
        steps, which echoed the 7-module "Connected system"). 4 columns.
 * ------------------------------------------------------------------ */
.workflow-line--journey {
  grid-template-columns: repeat(4, 1fr);
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

/* ------------------------------------------------------------------ *
   10 · HERO TRUST ROW — the three .pill items read too much like the
        buttons above them. Restyle ONLY the hero trust-row pills (not
        the .pill used elsewhere) into quiet "feature markers":
        a soft gradient-tinted icon chip + a plain muted label, with a
        thin separating rule. No solid fill, no button silhouette.
 * ------------------------------------------------------------------ */
.trust-row {
  gap: 0;
  margin-top: 30px;
  flex-direction: column;
  align-items: flex-start;
  max-width: 440px;
}
.hcg-main .trust-row .pill {
  display: flex;
  width: 100%;
  align-self: stretch;
  justify-content: flex-start;
  background: none;
  border: none;
  border-radius: 0;
  padding: 11px 2px;
  min-height: 0;
  gap: 13px;
  white-space: normal;
  color: var(--hcg-text);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -.005em;
  border-bottom: 1px solid color-mix(in srgb, var(--hcg-text) 9%, transparent);
}
.hcg-main .trust-row .pill:last-child { border-bottom: none; }

.hcg-main .trust-row .pill .icon {
  width: 30px;
  height: 30px;
  padding: 7px;
  flex: none;
  border-radius: 9px;
  color: var(--pink);
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--violet, #8b5cf6) 22%, transparent),
    color-mix(in srgb, var(--pink) 20%, transparent));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pink) 22%, transparent);
}

@media (max-width: 520px) {
  .trust-row { max-width: none; }
}
