/* ShineIvory — Premium Client Intelligence Portal */
:root {
  --bg: #FAF8F4;
  --ivory: #FAF8F4;
  --surface: #FFFFFF;
  --ink: #1F2937;
  --muted: #6B7280;
  --muted-light: #9CA3AF;
  --gold: #B38A3C;
  --gold-soft: #F5EDE0;
  --gold-dark: #8B6B2E;
  --success: #15803D;
  --info: #2563EB;
  --border: #E7E5E4;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 3px rgba(31,41,55,0.04), 0 12px 40px rgba(31,41,55,0.06);
  --max: 1200px;
  --announce-h: 36px;
  --header-h: 72px;
  --site-top-h: calc(var(--announce-h) + var(--header-h));
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans); font-size: 0.9375rem; line-height: 1.65;
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-dark); }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.site-shell { min-height: 100vh; display: flex; flex-direction: column; padding-top: var(--site-top-h); }
main { flex: 1; }
.container { width: min(var(--max), 90vw); margin: 0 auto; }
.container.narrow { width: min(720px, 90vw); }

.kicker {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold);
}
.kicker.centered, .centered-head { text-align: center; }
.lead { font-size: 1.05rem; color: var(--muted); line-height: 1.75; }
.lead.centered { text-align: center; }
.centered { text-align: center; }
h1, h2, h3, .section-title { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-intro { font-size: 0.9rem; color: var(--muted); margin-bottom: 28px; text-align: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 22px; border-radius: var(--radius); font-size: 0.84rem; font-weight: 600;
  border: 1.5px solid transparent; transition: all 0.15s; white-space: nowrap;
}
.btn-sm { padding: 8px 16px; font-size: 0.78rem; }
.btn-lg { padding: 14px 26px; font-size: 0.9rem; }
.btn-full { width: 100%; }
.btn-gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-dark); color: #fff; }
.btn-outline-gold { background: transparent; border-color: var(--gold); color: var(--gold-dark); }
.btn-outline-gold:hover { background: var(--gold-soft); }
.btn-outline-dark { background: var(--surface); border-color: var(--border); color: var(--ink); }
.btn-outline-dark:hover { border-color: var(--ink); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,0.35); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.55); color: #fff; }
.btn-ghost { background: transparent; color: var(--muted); padding: 8px 12px; }
.btn-ghost:hover { color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-row--secondary { margin-top: 8px; }

.tag {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
}
.tag-success { background: #DCFCE7; color: var(--success); }
.tag-gold { background: var(--gold-soft); color: var(--gold-dark); }
.tag-neutral { background: #F3F4F6; color: var(--muted); }

/* Announce bar */
.announce-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 110;
  display: flex; align-items: center; justify-content: center;
  min-height: var(--announce-h); padding: 0 clamp(12px, 3vw, 24px);
  background: linear-gradient(90deg, #F0E6D4 0%, #FAF8F4 28%, #FFFDF9 50%, #FAF8F4 72%, #F0E6D4 100%);
  border-bottom: 1px solid rgba(179,138,60,0.18);
  color: var(--ink); overflow: hidden;
}
.announce-bar-inner {
  display: flex; flex-wrap: nowrap; align-items: center; justify-content: center;
  gap: 8px; width: min(var(--max), 90vw); white-space: nowrap;
  font-size: clamp(0.68rem, 1.05vw, 0.78rem); font-weight: 500; line-height: 1;
}
.announce-bar-inner span { white-space: nowrap; flex-shrink: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.announce-bar-inner a { color: var(--gold-dark); font-weight: 600; white-space: nowrap; flex-shrink: 0; }
.announce-bar-inner a:hover { color: var(--gold); }

/* Header — single row, spacious */
[data-site-header] { flex-shrink: 0; }
.site-header {
  position: fixed; top: var(--announce-h); left: 0; right: 0; z-index: 100;
  background: rgba(250,248,244,0.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-bar {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: 24px 32px; min-height: var(--header-h);
  width: min(var(--max), 90vw); margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 24px);
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); flex-shrink: 0; }
.brand:hover { color: var(--ink); opacity: 0.85; }
.logo-mark { width: 38px; height: 38px; flex-shrink: 0; }
.logo-mark svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 1rem; font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; }
.brand-text span { font-size: 0.65rem; color: var(--muted); font-weight: 500; white-space: nowrap; }
.nav-main {
  display: flex; flex-wrap: nowrap; align-items: center; justify-content: center;
  gap: 4px 6px; min-width: 0;
}
.nav-link {
  font-size: 0.875rem; font-weight: 500; color: var(--muted);
  padding: 8px 14px; border-radius: var(--radius); white-space: nowrap; flex-shrink: 0;
}
.nav-link:hover { color: var(--ink); background: rgba(179,138,60,0.08); }
.header-actions {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0; flex-wrap: nowrap;
}
.nav-toggle { display: none; font-size: 1.1rem; padding: 6px 10px; border: 1px solid var(--border); border-radius: var(--radius); }

/* Split hero */
.hero-split { padding: clamp(24px, 4vw, 40px) 0 clamp(32px, 5vw, 48px); }
.hero-split-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 40px); align-items: start;
}
.hero-copy h1 {
  font-size: clamp(2rem, 4vw, 3rem); margin: 10px 0 14px; line-height: 1.1;
}
.hero-copy h1 em { font-style: italic; color: var(--gold); }
.hero-lead { font-size: 0.98rem; color: var(--muted); line-height: 1.7; margin-bottom: 20px; max-width: 42ch; }
.demo-features-inline {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 20px;
}
.demo-features-inline .demo-feature { padding: 12px 14px; }

/* Portal frame */
.portal-frame {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden;
}
.portal-frame--hero { border-color: rgba(179,138,60,0.2); }
.portal-top {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  padding: 20px 24px; border-bottom: 1px solid var(--border); background: linear-gradient(180deg, #FFFDF9 0%, var(--surface) 100%);
}
.portal-label { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 6px; }
.portal-client strong { display: block; font-family: var(--serif); font-size: 1.25rem; margin-bottom: 4px; }
.portal-meta { font-size: 0.76rem; color: var(--muted); }
.portal-health { text-align: right; }
.health-score { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 700; color: var(--gold); line-height: 1; }
.health-label { font-size: 0.65rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.portal-body { display: grid; grid-template-columns: 1fr 200px; gap: 0; }
.portal-body--hero { display: block; }
.portal-metrics--hero {
  grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--border);
}
.portal-hero-lower {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch;
}
.portal-body--hero .portal-deliverables { border-top: none; }
.portal-body--hero .portal-summary {
  border-left: 1px solid var(--border); min-height: 100%;
}
.portal-summary p { margin-top: 6px; font-size: 0.76rem; }
.portal-summary p + p { margin-top: 10px; }
.portal-metrics {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 20px 24px;
}
.portal-metric { padding: 14px; background: var(--bg); border-radius: var(--radius); }
.portal-metric strong { display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--ink); }
.portal-metric span { font-size: 0.68rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.portal-deliverables { padding: 20px 24px; border-top: 1px solid var(--border); grid-column: 1; }
.portal-deliverables h4 { font-family: var(--sans); font-size: 0.78rem; font-weight: 600; margin-bottom: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.portal-list { font-size: 0.82rem; color: var(--muted); padding-left: 16px; line-height: 1.7; }
.portal-summary {
  padding: 20px; background: var(--gold-soft); border-left: 1px solid var(--border);
  font-size: 0.8rem; color: var(--ink); line-height: 1.65;
}
.portal-summary p { margin-top: 8px; }
.portal-updated { font-size: 0.65rem; color: var(--muted); margin-top: 12px; display: block; }

/* Sections */
.section-breathe { padding: clamp(40px, 6vw, 72px) 0; }
.section--ivory { background: var(--surface); border-block: 1px solid var(--border); }
.section-head { margin-bottom: 32px; }
.pull-quote {
  font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  font-style: italic; color: var(--ink); text-align: center;
  margin: 20px 0; padding: 16px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}

/* Value stream */
.value-stream {
  display: flex; align-items: stretch; gap: 0; max-width: 100%;
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface);
}
.flow-node {
  flex: 1; padding: 24px 20px; border-right: 1px solid var(--border);
  opacity: 0.55; transition: opacity 0.4s, background 0.4s;
}
.flow-node:last-child { border-right: none; }
.flow-node.is-active { opacity: 1; background: var(--gold-soft); }
.flow-num { font-size: 0.62rem; font-weight: 700; color: var(--gold); letter-spacing: 0.08em; display: block; margin-bottom: 8px; }
.flow-node strong { display: block; font-size: 0.82rem; margin-bottom: 4px; font-family: var(--sans); }
.flow-node p { font-size: 0.74rem; color: var(--muted); }

/* Industry grid */
.industry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.industry-card {
  padding: 28px 24px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); color: var(--ink); transition: border-color 0.15s, box-shadow 0.15s;
}
.industry-card:hover { border-color: var(--gold); box-shadow: var(--shadow); color: var(--ink); }
.industry-icon { font-size: 0.9rem; color: var(--gold); margin-bottom: 14px; display: block; }
.industry-card strong { display: block; font-family: var(--serif); font-size: 1.1rem; margin-bottom: 8px; }
.industry-card p { font-size: 0.82rem; color: var(--muted); line-height: 1.6; }

/* Feature row */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.feature-copy .section-title { margin: 10px 0 16px; }
.card-lead { font-size: 0.92rem; color: var(--muted); margin-bottom: 20px; line-height: 1.7; }
.value-list { font-size: 0.88rem; color: var(--muted); padding-left: 18px; line-height: 1.75; margin-bottom: 24px; }
.mini-stats { display: grid; gap: 16px; }
.mini-stats div { padding: 28px; background: var(--gold-soft); border-radius: var(--radius-lg); text-align: center; border: 1px solid rgba(179,138,60,0.15); }
.mini-stats strong { display: block; font-family: var(--serif); font-size: 2rem; color: var(--gold-dark); }
.mini-stats span { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }

/* Page templates */
.page-hero { padding: clamp(32px, 5vw, 48px) 0 clamp(24px, 4vw, 36px); text-align: center; }
.page-title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 10px 0 12px; }
.page-body { padding: clamp(24px, 4vw, 40px) 0 clamp(40px, 6vw, 64px); }

.content-card {
  padding: 24px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); margin-bottom: 20px;
}
.content-card h3 { font-size: 1.15rem; margin-bottom: 12px; }
.editorial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.outcome-note { font-size: 0.84rem; padding: 16px; background: var(--bg); border-radius: var(--radius); border-left: 3px solid var(--gold); margin-top: 20px; }

.data-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; margin-top: 16px; }
.data-table th { text-align: left; padding: 12px; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted-light); border-bottom: 1px solid var(--border); background: var(--bg); }
.data-table td { padding: 14px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }

.portal-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-top: 40px; }
.portal-features article { padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.portal-features h4 { font-size: 0.88rem; margin-bottom: 8px; }
.portal-features p { font-size: 0.8rem; color: var(--muted); }

.review-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.review-block { padding: 20px; background: var(--bg); border-radius: var(--radius); }
.review-block--warn { border-left: 3px solid var(--gold); }
.review-block h4 { font-size: 0.82rem; margin-bottom: 10px; font-family: var(--sans); font-weight: 600; }

.deliverables-list { display: flex; flex-direction: column; gap: 12px; }
.deliverable-row {
  display: flex; justify-content: space-between; gap: 24px; align-items: flex-start;
  padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.deliverable-row p { font-size: 0.82rem; color: var(--muted); margin-top: 4px; }
.deliverable-meta { text-align: right; font-size: 0.76rem; color: var(--muted); flex-shrink: 0; }
.deliverable-meta em { display: block; font-style: normal; margin-top: 4px; }

.roi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.roi-case { padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.roi-metric { display: block; font-family: var(--serif); font-size: 2rem; color: var(--gold); margin-bottom: 8px; }
.roi-case h4 { font-size: 0.95rem; margin-bottom: 8px; }
.roi-case p { font-size: 0.82rem; color: var(--muted); margin-bottom: 12px; }

.stakeholder-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.use-case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.use-case-card {
  padding: 24px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); color: var(--ink);
}
.use-case-card strong { display: block; font-family: var(--serif); font-size: 1.05rem; margin-bottom: 6px; }
.use-case-card span { font-size: 0.8rem; color: var(--muted); }

.integration-hub {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center;
  padding: 32px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.hub-item { padding: 10px 14px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.82rem; font-weight: 600; margin-bottom: 8px; }
.hub-engine { padding: 24px; background: var(--ink); color: #fff; border-radius: var(--radius); text-align: center; min-width: 160px; }
.hub-engine span { display: block; font-size: 0.68rem; opacity: 0.6; margin-top: 6px; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pricing-grid--teaser { max-width: 900px; margin: 0 auto; }
.pricing-card { padding: 32px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.pricing-card.is-featured { border-color: var(--gold); box-shadow: var(--shadow); }
.pricing-desc { font-size: 0.82rem; color: var(--muted); margin-bottom: 12px; }
.pricing-price { font-family: var(--serif); font-size: 2.4rem; margin: 16px 0; color: var(--ink); }
.pricing-price span { font-size: 0.9rem; color: var(--muted); }
.pricing-card ul { font-size: 0.84rem; color: var(--muted); padding-left: 18px; margin: 20px 0; line-height: 1.7; }

.retention-calculator, .calc-row { margin-top: 32px; }
.calc-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.calc-result { margin-top: 16px; padding: 20px; background: var(--gold-soft); border-radius: var(--radius); }
.calc-result strong { font-family: var(--serif); font-size: 1.8rem; color: var(--gold-dark); }

/* Demo portal strip */
.demo-features { padding: 32px 0; }
.demo-features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.demo-feature {
  display: flex; flex-direction: column; gap: 4px; padding: 16px 18px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--ink); transition: border-color 0.15s, box-shadow 0.15s;
}
.demo-feature:hover { border-color: var(--gold); box-shadow: var(--shadow); color: var(--ink); }
.demo-feature strong { font-family: var(--serif); font-size: 1rem; }
.demo-feature span { font-size: 0.76rem; color: var(--muted); }

/* Problem grid */
.dont-know-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dont-know-grid article {
  padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.dont-know-grid h3 { font-family: var(--sans); font-size: 0.92rem; font-weight: 600; margin-bottom: 8px; }
.dont-know-grid p { font-size: 0.82rem; color: var(--muted); line-height: 1.65; }

/* AI portal grid */
.ai-portal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 32px; }
.ai-portal-item {
  padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  text-align: center;
}
.ai-portal-item strong { display: block; font-size: 0.88rem; margin-bottom: 6px; }
.ai-portal-item span { font-size: 0.72rem; color: var(--muted); }

/* Intelligence preview */
.intel-preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.intel-card {
  display: block; padding: 28px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); color: var(--ink); transition: border-color 0.15s, box-shadow 0.15s;
}
.intel-card:hover { border-color: var(--gold); box-shadow: var(--shadow); color: var(--ink); }
.intel-card .tag { margin-bottom: 12px; }
.intel-card strong { display: block; font-family: var(--serif); font-size: 1.1rem; margin-bottom: 8px; }
.intel-card p { font-size: 0.82rem; color: var(--muted); line-height: 1.6; }

/* Integration hub mini */
.integration-hub-mini {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center;
  margin-top: 32px; padding: 28px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.hub-mini-in, .hub-mini-out { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.hub-mini-in span, .hub-mini-out span {
  padding: 8px 12px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 0.78rem; font-weight: 600;
}
.hub-mini-engine {
  padding: 16px 20px; background: var(--ink); color: #fff; border-radius: var(--radius);
  font-size: 0.82rem; font-weight: 600; text-align: center; white-space: nowrap;
}

/* Value chain */
.value-chain {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 16px; align-items: center;
  padding: 32px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  margin-bottom: 32px;
}
.chain-col { padding: 20px; background: var(--bg); border-radius: var(--radius); }
.chain-list { font-size: 0.84rem; color: var(--muted); padding-left: 16px; line-height: 1.75; margin-top: 12px; }
.chain-engine {
  padding: 20px; background: var(--ink); color: #fff; border-radius: var(--radius); text-align: center;
  min-width: 140px;
}
.chain-engine span { display: block; font-size: 0.68rem; opacity: 0.65; margin-top: 6px; }
.chain-arrow { font-size: 1.2rem; color: var(--gold); font-weight: 600; }

/* Roadmap */
.roadmap-panel { padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.roadmap-items { display: grid; gap: 12px; margin-top: 16px; }
.roadmap-item {
  display: grid; grid-template-columns: 80px 1fr; gap: 16px; padding: 16px;
  background: var(--bg); border-radius: var(--radius); align-items: start;
}
.roadmap-date { font-size: 0.72rem; font-weight: 700; color: var(--gold); text-transform: uppercase; }
.roadmap-item p { font-size: 0.8rem; color: var(--muted); margin-top: 4px; }

/* Report sections */
.report-sections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.report-section { padding: 24px; background: var(--bg); border-radius: var(--radius); border: 1px solid var(--border); }
.report-section h4 { font-size: 0.88rem; margin-bottom: 10px; font-family: var(--sans); }

/* Value generation panel */
.value-gen-panel {
  margin-top: 28px; padding: 24px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); border-left: 3px solid var(--gold);
}
.value-gen-steps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.value-gen-steps span {
  padding: 8px 14px; background: var(--bg); border: 1px solid var(--border); border-radius: 999px;
  font-size: 0.78rem; color: var(--muted); opacity: 0.45; transition: all 0.3s;
}
.value-gen-steps span.is-active { opacity: 1; color: var(--ink); border-color: var(--gold); background: var(--gold-soft); }
.value-gen-note { margin-top: 14px; font-size: 0.84rem; color: var(--success); font-weight: 500; }

/* Pricing CTA row */
.pricing-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; justify-content: center; }

/* Demo portal nav */
.demo-portal-nav {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; padding: 16px;
  background: var(--gold-soft); border: 1px solid rgba(179,138,60,0.2); border-radius: var(--radius-lg);
}
.demo-portal-nav a {
  padding: 8px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 0.8rem; font-weight: 600; color: var(--ink);
}
.demo-portal-nav a:hover { border-color: var(--gold); color: var(--gold-dark); }

/* Integration connect feedback */
.integration-result {
  margin-top: 16px; padding: 14px 18px; background: var(--gold-soft); border-radius: var(--radius);
  font-size: 0.84rem; color: var(--ink);
}

/* Modals */
.site-modal[hidden] { display: none; }
.site-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; }
.site-modal-backdrop { position: absolute; inset: 0; background: rgba(31,41,55,0.45); }
.site-modal-panel {
  position: relative; width: min(440px, 100%); padding: 32px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.site-modal-close {
  position: absolute; top: 12px; right: 12px; width: 32px; height: 32px;
  border: 1px solid var(--border); border-radius: var(--radius); font-size: 1.2rem; line-height: 1;
}
.site-modal-panel h2 { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 8px; }
.site-modal-lead { font-size: 0.88rem; color: var(--muted); margin-bottom: 20px; line-height: 1.65; }
.site-modal-form { display: flex; flex-direction: column; gap: 16px; }
.form-success { font-size: 0.84rem; color: var(--success); font-weight: 500; }

.report-sample .report-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 24px 0; }
.report-metrics div { padding: 16px; background: var(--bg); border-radius: var(--radius); text-align: center; }
.report-metrics strong { display: block; font-family: var(--serif); font-size: 1.4rem; color: var(--gold); }
.report-metrics span { font-size: 0.68rem; color: var(--muted); text-transform: uppercase; }

.scenario-workflow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 20px 0; }
.scenario-step { padding: 16px; background: var(--bg); border-radius: var(--radius); font-size: 0.82rem; }
.scenario-step span { font-size: 0.62rem; font-weight: 700; color: var(--gold); }

.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.about-values h3 { font-size: 1rem; margin-bottom: 8px; font-family: var(--sans); }
.about-values p { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }

.signup-strip {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
  padding: 24px 28px; background: var(--ink); color: rgba(255,255,255,0.85);
  border-radius: var(--radius-lg); margin-top: 48px;
}
.signup-strip strong { color: #fff; }

.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-field label { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.form-field input, .form-field textarea {
  padding: 11px 14px; border: 1px solid var(--border); border-radius: var(--radius);
  font: inherit; background: var(--surface);
}

/* Footer */
.site-footer { margin-top: auto; }
.footer-cta { padding: clamp(40px, 6vw, 56px) 0; background: var(--ink); color: rgba(255,255,255,0.75); }
.footer-cta-inner { text-align: center; max-width: 560px; margin: 0 auto; }
.footer-cta-inner h2 {
  font-family: var(--sans); font-size: clamp(1.25rem, 2.5vw, 1.6rem); font-weight: 600;
  color: #fff; margin-bottom: 10px; line-height: 1.35;
}
.footer-cta-inner p { font-size: 0.9rem; margin-bottom: 24px; line-height: 1.65; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.footer-panel { padding: clamp(32px, 5vw, 48px) 0 clamp(20px, 3vw, 28px); }
.footer-brand { margin-bottom: 32px; }
.footer-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-bottom: 28px; }
.footer-col h4 { font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-light); margin-bottom: 14px; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 0.84rem; color: var(--muted); }
.footer-col a:hover { color: var(--gold); }
.footer-note { font-size: 0.78rem; color: var(--muted-light); line-height: 1.55; margin-bottom: 20px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-top: 20px; border-top: 1px solid var(--border); font-size: 0.76rem; color: var(--muted-light);
}
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { color: var(--muted); }

/* Auth — centered card (StoreHusk-style) */
.auth-page { min-height: 100dvh; background: var(--bg); display: flex; flex-direction: column; }
.auth-header {
  padding: 20px clamp(16px, 3vw, 24px); width: min(var(--max), 90vw); margin: 0 auto;
}
.auth-header .brand-text span { display: none; }
.auth-center {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 24px 16px 48px;
}
.auth-card--centered {
  width: min(400px, 100%); padding: 36px 32px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.auth-card--centered h1 { font-family: var(--sans); font-size: 1.35rem; font-weight: 700; margin-bottom: 6px; }
.auth-lead { color: var(--muted); font-size: 0.88rem; margin-bottom: 24px; line-height: 1.6; }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-form .form-field { margin-bottom: 0; }
.auth-form-row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  margin: 4px 0 20px; font-size: 0.82rem;
}
.auth-remember { display: flex; align-items: center; gap: 8px; color: var(--muted); cursor: pointer; }
.auth-forgot { color: var(--gold); font-weight: 500; }
.auth-divider {
  display: flex; align-items: center; gap: 12px; margin: 24px 0 16px;
  font-size: 0.78rem; color: var(--muted-light);
}
.auth-divider::before, .auth-divider::after {
  content: ""; flex: 1; height: 1px; background: var(--border);
}
.auth-social { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn-social {
  padding: 10px 16px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 0.84rem; font-weight: 600; color: var(--ink);
}
.btn-social:hover { border-color: var(--ink); background: var(--bg); }
.auth-note { font-size: 0.84rem; color: var(--muted); margin-top: 24px; text-align: center; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s, transform 0.5s; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .hero-split-grid, .feature-row, .industry-grid { grid-template-columns: 1fr; }
  .portal-body--hero .portal-hero-lower { grid-template-columns: 1fr; }
  .portal-body--hero .portal-summary { border-left: none; border-top: 1px solid var(--border); }
  .portal-metrics--hero { grid-template-columns: repeat(2, 1fr); }
  .value-stream { flex-direction: column; }
  .flow-node { border-right: none; border-bottom: 1px solid var(--border); }
  .review-grid, .roi-grid, .portal-features { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .integration-hub { grid-template-columns: 1fr; }
  .demo-features-grid, .ai-portal-grid, .intel-preview-grid, .dont-know-grid, .report-sections, .value-chain { grid-template-columns: 1fr 1fr; }
  .integration-hub-mini { grid-template-columns: 1fr; }
  .chain-arrow { display: none; }
}

@media (max-width: 768px) {
  .brand-text span { display: none; }
  .announce-bar-inner { font-size: 0.66rem; gap: 6px; }
  .nav-main {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 16px; flex-direction: column; box-shadow: var(--shadow);
  }
  .nav-main.is-open { display: flex; }
  .nav-toggle { display: block; }
  .header-actions .btn-outline-gold { display: none; }
  .header-bar { position: relative; }
  .site-header { position: fixed; }
  .industry-grid, .pricing-grid, .use-case-grid, .about-values, .footer-grid, .editorial-grid, .stakeholder-grid { grid-template-columns: 1fr; }
  .scenario-workflow, .calc-row { grid-template-columns: 1fr; }
  .auth-social { grid-template-columns: 1fr; }
  .demo-features-grid, .ai-portal-grid, .intel-preview-grid, .dont-know-grid, .report-sections, .value-chain { grid-template-columns: 1fr; }
}

@media (min-width: 769px) and (max-width: 1180px) {
  .nav-link { font-size: 0.75rem; padding: 7px 9px; }
  .header-actions .btn-sm { padding: 7px 12px; font-size: 0.72rem; }
}
