/* ShooflyAI Tier Landing - styles.css */
/* No em-dashes (U+2014) or en-dashes (U+2013) anywhere in this file */

/* Canonical Shoofly WEB design tokens (branded-page-builder). Copied verbatim. */
:root {
  --bg:     #090909;            /* page background (near-black) */
  --bg2:    #0F0F0F;            /* nth-child(even) section background */
  --card:   #141414;           /* cards, sidebar surfaces */
  --border: rgba(255,255,255,0.06); /* hairline grid gaps + borders */
  --teal:   #32EBE8;           /* primary accent (eyebrows, active nav, CTAs) */
  --cyan:   #66D4ED;           /* gradient partner to teal */
  --text:   rgba(255,255,255,0.85); /* body text - NEVER pure #fff except big headings */
  --muted:  rgba(255,255,255,0.48); /* lead paragraphs, secondary copy. Raised from brand 0.42 per Jonathan 2026-09-18: 0.42 computes 4.04:1 on --bg; 0.48 computes 4.91:1 on #090909 and 4.7:1 on #1A1A1A, still well under --text 0.85 */
  --dim:    rgba(255,255,255,0.22); /* labels, inactive nav, sources */
  --nav-w:  200px;             /* fixed sidebar width */
  --px:     clamp(2rem, 6vw, 5rem); /* section horizontal padding */
}

/* Page-local aliases mapped onto the brand tokens (legacy names kept so selectors below stay stable) */
:root {
  --navy:        var(--bg);
  --navy-mid:    var(--bg2);
  --navy-light:  var(--card);
  --navy-card:   #1A1A1A;
  --accent:      var(--teal);
  --accent-dim:  #0caecf;
  --accent-glow: rgba(50,235,232,0.15);
  --cta-grad:    linear-gradient(90deg,#31e4e3,#0caecf);
  --gold:        #F4B844;
  --muted-body:  rgba(255,255,255,0.55); /* body-size secondary copy: 6.3:1 on --bg */
  --white:       #ffffff;
  --off-white:   var(--text);
  --border-light:rgba(255,255,255,0.12);
  --starter:     var(--teal);
  --pro:         var(--cyan);
  --enterprise:  var(--gold);
  --warn:        var(--gold);
  --danger:      rgba(255,92,92,0.95);
  --font: 'Plus Jakarta Sans', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --max-w: 1100px;
  --radius: 10px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--off-white);
  min-height: 100vh;
  line-height: 1.6;
}

/* ---- TYPOGRAPHY ---- */
h1,h2,h3,h4 { line-height: 1.2; font-weight: 800; letter-spacing: -0.03em; color: var(--white); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-family: monospace; font-size: 0.9em; background: var(--navy-light); padding: 1px 5px; border-radius: 3px; }

/* ---- LAYOUT ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }
section + section { border-top: 1px solid var(--border); }

/* ---- NAV ---- */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy-mid);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px; gap: 24px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { width: 170px; height: 40px; display: block; }
.nav-links { display: flex; gap: 20px; }
.nav-links a { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0.04em; transition: color 0.2s; }
.nav-links a:hover { color: var(--white); text-decoration: none; }
.nav-cta {
  background: var(--cta-grad); color: #06181a;
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
  padding: 8px 18px; border-radius: 6px;
  white-space: nowrap; transition: filter 0.2s;
}
.nav-cta:hover { filter: brightness(1.08); text-decoration: none; color: #06181a; }

/* ---- HERO ---- */
#hero {
  padding: 100px 0 80px;
  background: radial-gradient(ellipse at 60% 0%, rgba(50,235,232,0.07) 0%, transparent 60%);
}
.hero-inner { max-width: 820px; }
.hero-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 20px;
}
.hero-headline {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 700; color: var(--white);
  line-height: 1.1; margin-bottom: 24px;
}
.hero-headline .highlight { color: var(--accent); }
.hero-spine {
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 300; color: var(--muted-body);
  line-height: 1.6; margin-bottom: 36px;
  max-width: 680px;
}
.hero-cta-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--cta-grad); color: #06181a;
  font-size: 15px; font-weight: 700; letter-spacing: 0.06em;
  padding: 14px 28px; border-radius: 8px;
  border: none; cursor: pointer; font-family: var(--font);
  transition: filter 0.2s, transform 0.1s;
}
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); text-decoration: none; color: #06181a; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--off-white);
  font-size: 15px; font-weight: 600; letter-spacing: 0.04em;
  padding: 13px 24px; border-radius: 8px;
  border: 1px solid var(--border-light); cursor: pointer; font-family: var(--font);
  transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

.hero-stats {
  display: flex; gap: 40px; flex-wrap: wrap;
  margin-top: 56px; padding-top: 40px;
  border-top: 1px solid var(--border);
}
.hero-stat-val { font-size: 32px; font-weight: 700; color: var(--white); line-height: 1; }
.hero-stat-lbl { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }

/* ---- SECTION LABELS ---- */
.section-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 12px;
}
.section-heading {
  font-size: clamp(22px, 3.5vw, 36px); font-weight: 700;
  color: var(--white); margin-bottom: 16px;
}
.section-sub {
  font-size: 16px; color: var(--muted-body); font-weight: 300;
  line-height: 1.7; max-width: 640px;
}

/* ---- CHAT PANEL ---- */
#chat { padding: 60px 0; }
.chat-wrapper {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 780px;
}
.chat-header {
  background: var(--navy-light);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
  display: flex; align-items: center; gap: 10px;
}
.chat-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--starter); }
.chat-header-title { font-size: 13px; font-weight: 700; color: var(--white); }
.chat-header-sub { font-size: 11px; color: var(--muted); margin-left: auto; }

.chat-transcript {
  min-height: 220px; max-height: 400px;
  overflow-y: auto;
  padding: 20px;
  display: flex; flex-direction: column; gap: 14px;
}
.msg { display: flex; flex-direction: column; gap: 4px; max-width: 85%; }
.msg.user { align-self: flex-end; }
.msg.assistant { align-self: flex-start; }
.msg-bubble {
  padding: 10px 14px; border-radius: 8px;
  font-size: 14px; line-height: 1.6;
}
.msg.user .msg-bubble {
  background: var(--navy-light); border: 1px solid var(--border-light);
  color: var(--off-white);
}
.msg.assistant .msg-bubble {
  background: rgba(50,235,232,0.08); border: 1px solid rgba(50,235,232,0.22);
  color: var(--off-white);
}
.msg-label { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 0 2px; }
.msg.user .msg-label { text-align: right; }

.chat-chips {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 0 20px 16px;
}
.chip {
  font-size: 12px; font-weight: 400; color: var(--muted);
  background: var(--navy-light); border: 1px solid var(--border);
  border-radius: 100px; padding: 6px 14px;
  cursor: pointer; transition: border-color 0.2s, color 0.2s;
  font-family: var(--font);
}
.chip:hover { border-color: var(--accent); color: var(--accent); }

.chat-input-row {
  display: flex; gap: 10px;
  border-top: 1px solid var(--border);
  padding: 14px 20px;
  background: var(--navy-light);
}
.chat-input {
  flex: 1;
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--off-white);
  font-family: var(--font);
  font-size: 14px;
  padding: 10px 14px;
  outline: none;
  resize: none;
  min-height: 42px; max-height: 120px;
  transition: border-color 0.2s;
}
.chat-input:focus { border-color: var(--accent); }
.chat-send {
  background: var(--accent); color: #06181a;
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
  padding: 10px 18px; border-radius: 6px;
  border: none; cursor: pointer; font-family: var(--font);
  white-space: nowrap; transition: background 0.2s;
  align-self: flex-end;
}
.chat-send:hover { filter: brightness(1.08); }
.chat-send:disabled { opacity: 0.5; cursor: not-allowed; }

.chat-offline-note {
  font-size: 11px; color: var(--muted);
  padding: 0 20px 12px; font-style: italic;
  display: none;
}

/* ---- CALCULATOR ---- */
#calculator { padding: 60px 0; }
.calc-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 32px;
  align-items: start;
}
@media (max-width: 900px) { .calc-layout { grid-template-columns: 1fr; } }

.calc-panel {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.calc-panel h3 {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 24px;
}

.calc-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.calc-field:last-child { margin-bottom: 0; }

.calc-label {
  font-size: 14px; font-weight: 600; color: var(--white);
}
.calc-hint {
  font-size: 11px; color: var(--muted); font-weight: 300;
}
.calc-select, .calc-number {
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--off-white);
  font-family: var(--font);
  font-size: 14px;
  padding: 10px 12px;
  width: 100%; outline: none;
  transition: border-color 0.2s;
}
.calc-select:focus, .calc-number:focus { border-color: var(--accent); }
.calc-select option { background: var(--navy-mid); }

.role-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
}
.role-item {
  display: flex; align-items: flex-start; gap: 8px;
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 12px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  user-select: none;
}
.role-item:hover { border-color: var(--accent-dim); }
.role-item.checked { border-color: var(--accent); background: rgba(50,235,232,0.06); }
.role-item input[type="checkbox"] { accent-color: var(--accent); width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; }
.role-item-text { flex: 1; }
.role-item-name { font-size: 13px; font-weight: 600; color: var(--off-white); line-height: 1.3; }
.role-item-tasks { font-size: 11px; color: var(--muted); margin-top: 2px; line-height: 1.4; }
.role-item.checked .role-item-name { color: var(--white); }

.slider-row {
  display: flex; align-items: center; gap: 14px;
}
.slider-row input[type="range"] { flex: 1; accent-color: var(--accent); cursor: pointer; }
.slider-val { min-width: 72px; text-align: right; font-weight: 700; color: var(--accent); font-size: 15px; }

.toggle-row { display: flex; align-items: center; gap: 12px; }
.toggle { position: relative; width: 46px; height: 24px; cursor: pointer; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-track {
  position: absolute; inset: 0;
  background: var(--navy-light); border: 1px solid var(--border);
  border-radius: 24px; transition: background 0.2s;
}
.toggle input:checked + .toggle-track { background: var(--accent-dim); border-color: var(--accent); }
.toggle-thumb {
  position: absolute; top: 3px; left: 3px;
  width: 16px; height: 16px; background: var(--muted);
  border-radius: 50%; transition: transform 0.2s, background 0.2s;
}
.toggle input:checked ~ .toggle-thumb { transform: translateX(22px); background: var(--accent); }
.toggle-label { font-size: 14px; color: var(--off-white); }

/* ---- RESULT PANEL ---- */
.result-panel {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky; top: 76px;
  display: flex; flex-direction: column; gap: 20px;
}

.tier-badge {
  display: inline-flex; align-items: center;
  padding: 5px 14px; border-radius: 100px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 8px;
}
.tier-badge.starter { background: rgba(50,235,232,0.12); color: var(--starter); border: 1px solid rgba(50,235,232,0.3); }
.tier-badge.pro     { background: rgba(102,212,237,0.12); color: var(--pro); border: 1px solid rgba(102,212,237,0.3); }
.tier-badge.enterprise { background: rgba(244,184,68,0.12); color: var(--enterprise); border: 1px solid rgba(244,184,68,0.3); }

.result-heading { font-size: 22px; font-weight: 700; color: var(--white); line-height: 1.2; }
.result-subhead { font-size: 14px; color: var(--muted-body); font-weight: 300; line-height: 1.6; margin-top: 6px; }
.result-reason { font-size: 13px; color: var(--muted); line-height: 1.6; margin-top: 8px; }

.price-block { padding: 16px; background: var(--navy-light); border: 1px solid var(--border); border-radius: 8px; }
.price-main { font-size: 28px; font-weight: 700; color: var(--white); line-height: 1; }
.price-range-line { font-size: 12px; color: var(--muted); margin-top: 4px; }
.price-year { font-size: 13px; font-weight: 600; color: var(--off-white); margin-top: 8px; }
.price-prepay { font-size: 12px; color: var(--starter); margin-top: 4px; }
.price-blueprint { font-size: 12px; color: var(--accent); margin-top: 8px; border-top: 1px solid var(--border); padding-top: 8px; }

.result-inclusions { display: flex; flex-direction: column; gap: 8px; }
.result-inclusion { display: flex; gap: 8px; font-size: 13px; line-height: 1.5; }
.result-inclusion .plus { color: var(--accent); flex-shrink: 0; font-weight: 700; }
.result-inclusion .inc-label { color: var(--muted); font-weight: 600; margin-right: 4px; }

.roi-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.roi-mini-card { background: var(--navy-light); border: 1px solid var(--border); border-radius: 8px; padding: 12px; text-align: center; }
.roi-mini-val { font-size: 20px; font-weight: 700; color: var(--starter); }
.roi-mini-lbl { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 3px; }

.defend-block { background: var(--navy-light); border: 1px solid var(--border); border-radius: 8px; padding: 14px; }
.defend-block h4 { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.defend-item { border-left: 3px solid var(--border); padding: 8px 12px; margin-bottom: 8px; border-radius: 0 4px 4px 0; }
.defend-item:last-child { margin-bottom: 0; }
.defend-item.below { border-left-color: var(--starter); }
.defend-item.above { border-left-color: var(--enterprise); }
.defend-item.note { border-left-color: var(--warn); }
.defend-item-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--off-white); margin-bottom: 3px; }
.defend-item-text { font-size: 12px; color: var(--muted); line-height: 1.5; }

.result-changed { animation: pulse-highlight 1.5s ease-out; }
@keyframes pulse-highlight { 0% { box-shadow: 0 0 0 0 rgba(50,235,232,0.4); } 70% { box-shadow: 0 0 0 8px rgba(50,235,232,0); } 100% { box-shadow: 0 0 0 0 rgba(50,235,232,0); } }

.copy-btn {
  width: 100%; padding: 13px 20px;
  background: var(--accent-dim); border: 1px solid var(--accent);
  border-radius: 8px; color: var(--white);
  font-family: var(--font); font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; cursor: pointer; transition: background 0.2s;
}
.copy-btn:hover { background: var(--accent); color: #06181a; }
.copy-btn.copied { background: var(--starter); border-color: var(--starter); color: #06181a; }

.empty-result { text-align: center; padding: 40px 20px; color: var(--muted-body); font-size: 14px; font-weight: 300; }

/* ---- TIER CARDS ---- */
#tiers { padding: 60px 0; }
.tier-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
@media (max-width: 900px) { .tier-cards { grid-template-columns: 1fr; } }

.tier-card {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
}
.tier-card.highlighted { border-color: var(--accent); }
.tier-card-badge { display: inline-flex; }
.tier-card-price { font-size: 32px; font-weight: 700; color: var(--white); line-height: 1; }
.tier-card-price-period { font-size: 14px; color: var(--muted-body); font-weight: 300; }
.tier-card-name { font-size: 18px; font-weight: 700; color: var(--white); }
.tier-card-spine { font-size: 14px; color: var(--muted-body); font-weight: 300; line-height: 1.6; }
.tier-card-replaces {
  background: var(--navy-light); border: 1px solid var(--border);
  border-radius: 6px; padding: 12px 14px;
  font-size: 12px; line-height: 1.6;
}
.tier-card-replaces .replaces-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 4px; }
.tier-card-replaces .replaces-text { color: var(--off-white); }
.tier-card-features { display: flex; flex-direction: column; gap: 8px; }
.tier-card-feature { display: flex; gap: 8px; font-size: 13px; line-height: 1.4; color: var(--off-white); }
.tier-card-feature .check { color: var(--accent); flex-shrink: 0; font-weight: 700; }
.tier-popular {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #06181a;
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 0 0 6px 6px;
}

/* ---- HIRE VS US TABLE ---- */
#hire-vs-us { padding: 60px 0; }
.hvu-table { width: 100%; border-collapse: collapse; margin-top: 40px; }
.hvu-table th, .hvu-table td {
  padding: 14px 18px; text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.hvu-table th {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); background: var(--navy-mid);
}
.hvu-table tr:last-child td { border-bottom: none; }
.hvu-table td:first-child { color: var(--muted); font-weight: 600; }
.hvu-table td.human { color: var(--off-white); }
.hvu-table td.shoofly { color: var(--starter); font-weight: 600; }
.hvu-table tr:hover td { background: var(--navy-mid); }
@media (max-width: 700px) {
  .hvu-table { display: block; overflow-x: auto; }
}

/* ---- PROOF ---- */
#proof { padding: 60px 0; }
.proof-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; margin-top: 40px; }
.proof-card {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column; gap: 12px;
}
.proof-client-row { display: flex; align-items: center; gap: 10px; }
.proof-client-icon {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; flex-shrink: 0;
}
.proof-client-name { font-size: 14px; font-weight: 700; color: var(--white); }
.proof-client-industry { font-size: 12px; color: var(--muted); }
.proof-tier-badge { margin-left: auto; flex-shrink: 0; }
.proof-result { font-size: 24px; font-weight: 700; color: var(--starter); line-height: 1; }
.proof-result-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.proof-detail { font-size: 13px; color: var(--muted); line-height: 1.6; }
.proof-source { font-size: 10px; color: var(--border-light); text-transform: uppercase; letter-spacing: 0.07em; margin-top: 4px; }
.proof-internal-note { font-size: 10px; color: var(--warn); margin-top: 2px; }
.proof-quote { font-size: 13px; color: var(--off-white); font-style: italic; line-height: 1.6; border-left: 3px solid var(--accent); padding-left: 12px; }
.proof-quote-attr { font-size: 11px; color: var(--muted); margin-top: 4px; font-style: normal; }

/* ---- YEAR SHAPE ---- */
#year-shape { padding: 60px 0; }
.year-tiers { display: flex; flex-direction: column; gap: 40px; margin-top: 40px; }
.year-tier-label { font-size: 13px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.year-phases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 700px) { .year-phases { grid-template-columns: repeat(2, 1fr); } }
.year-phase {
  background: var(--navy-mid); border: 1px solid var(--border);
  border-radius: 8px; padding: 16px;
}
.year-phase-period { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 8px; }
.year-phase-title { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.year-phase-items { font-size: 12px; color: var(--muted); line-height: 1.6; }

/* ---- FAQ ---- */
#faq { padding: 60px 0; }
.faq-list { display: flex; flex-direction: column; gap: 0; margin-top: 40px; max-width: 720px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; font-size: 16px; font-weight: 600; color: var(--white);
  background: none; border: none; cursor: pointer; font-family: var(--font);
  text-align: left; gap: 12px;
}
.faq-q:hover { color: var(--accent); }
.faq-icon { font-size: 20px; color: var(--muted); flex-shrink: 0; transition: transform 0.2s; }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--accent); }
.faq-a {
  font-size: 14px; color: var(--muted-body); line-height: 1.8;
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s;
}
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 18px; }

/* ---- CTA SECTION ---- */
#cta { padding: 80px 0; }
.cta-inner {
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
  border: 1px solid var(--accent-dim);
  border-radius: var(--radius);
  padding: 60px 48px;
  text-align: center;
  max-width: 680px; margin: 0 auto;
}
.cta-price {
  font-size: 48px; font-weight: 700; color: var(--accent); line-height: 1;
  margin: 16px 0 8px;
}
.cta-period { font-size: 16px; color: var(--muted-body); }
.cta-detail { font-size: 14px; color: var(--muted-body); line-height: 1.8; margin: 20px 0 32px; }
.cta-step-up { font-size: 12px; color: var(--warn); margin-top: 8px; }

/* ---- FOOTER ---- */
footer {
  border-top: 1px solid var(--border);
  padding: 24px;
  text-align: center;
  font-size: 11px; color: var(--muted); font-weight: 300;
  line-height: 1.8;
}

/* ---- UTILITIES ---- */
.highlight-changed { animation: pulse-highlight 1.5s ease-out; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.text-starter { color: var(--starter); }
.text-pro { color: var(--pro); }
.text-enterprise { color: var(--enterprise); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--muted); }
.text-warn { color: var(--warn); }

/* ---- QUICK PICKS ---- */
.quick-picks { margin-bottom: 28px; }
.qp-label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.qp-row { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 18px; }
.qp-group { display: flex; flex-direction: column; gap: 8px; }
.qp-group-label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.qp-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.qp-btn {
  font-size: 13px; font-weight: 600; color: var(--muted);
  background: var(--navy-light); border: 1px solid var(--border);
  border-radius: 6px; padding: 6px 14px; cursor: pointer;
  font-family: var(--font); transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.qp-btn:hover { border-color: var(--accent-dim); color: var(--off-white); }
.qp-btn.active { border-color: var(--accent); color: var(--accent); background: rgba(50,235,232,0.07); }
.qp-roles-group { width: 100%; }
.qp-role-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.qp-role-chip {
  font-size: 12px; font-weight: 500; color: var(--muted);
  background: var(--navy-light); border: 1px solid var(--border);
  border-radius: 100px; padding: 5px 14px; cursor: pointer;
  font-family: var(--font); transition: border-color 0.15s, color 0.15s, background 0.15s;
  white-space: nowrap;
}
.qp-role-chip:hover { border-color: var(--accent-dim); color: var(--off-white); }
.qp-role-chip.active { border-color: var(--accent); color: var(--accent); background: rgba(50,235,232,0.07); }

/* ---- SCOPE SPLIT PANEL ---- */
.scope-split {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 32px;
  align-items: start;
}
@media (max-width: 960px) {
  .scope-split { grid-template-columns: 1fr; }
}
.scope-chat-col { display: flex; flex-direction: column; gap: 0; }
.scope-result-col { position: sticky; top: 76px; }
.scope-result-empty { text-align: center; }
.scope-result-filled { display: flex; flex-direction: column; gap: 18px; }

/* ---- ASSUMPTION CHIPS ---- */
.assumption-chips-block { background: var(--navy-light); border: 1px solid var(--border); border-radius: 8px; padding: 14px; }
.assumption-chips-label { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.assumption-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.assumption-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--navy-mid); border: 1px solid var(--border-light);
  border-radius: 100px; padding: 5px 12px; cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  font-size: 12px; font-weight: 600; color: var(--off-white);
}
.assumption-chip:hover { border-color: var(--accent); background: rgba(50,235,232,0.06); }
.assumption-chip-icon { font-size: 10px; color: var(--accent); font-weight: 700; }
.assumption-chip-text { color: var(--off-white); }

/* Result CTA button */
.result-cta-btn { width: 100%; justify-content: center; font-size: 14px; padding: 14px 20px; }
.result-top { display: flex; flex-direction: column; gap: 4px; }

/* ---- TUNE DISCLOSURE ---- */
.tune-disclosure { background: var(--navy-light); border: 1px solid var(--border); border-radius: 8px; }
.tune-summary {
  padding: 14px 18px; font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--accent); cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between;
}
.tune-summary::after { content: '+'; font-size: 18px; color: var(--muted); }
.tune-disclosure[open] .tune-summary::after { content: '-'; color: var(--accent); }
.tune-summary::-webkit-details-marker { display: none; }
.tune-body { padding: 0 18px 18px; display: flex; flex-direction: column; gap: 4px; }
.tune-body .calc-field { margin-bottom: 14px; }
.tune-body .role-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }

/* ---- EMAIL CAPTURE ---- */
.scope-email-block { background: var(--navy-light); border: 1px solid var(--border-light); border-radius: 8px; padding: 16px; }
.scope-email-label { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.scope-form { display: flex; flex-direction: column; gap: 8px; }
.scope-form-row { display: flex; gap: 8px; flex-wrap: wrap; }
.scope-form-input {
  flex: 1; min-width: 120px; background: var(--navy); border: 1px solid var(--border);
  border-radius: 6px; color: var(--off-white); font-family: var(--font); font-size: 13px;
  padding: 9px 12px; outline: none; transition: border-color 0.2s;
}
.scope-form-input:focus { border-color: var(--accent); }
.scope-form-btn {
  background: var(--cta-grad); color: #06181a; border: none; border-radius: 6px;
  font-family: var(--font); font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
  padding: 9px 18px; cursor: pointer; white-space: nowrap; transition: filter 0.2s;
}
.scope-form-btn:hover { filter: brightness(1.08); }
.scope-form-success { font-size: 13px; color: var(--accent); padding: 8px 0; font-weight: 600; }

/* ---- SPINE ROW (tiers section) ---- */
.spine-row {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 16px;
  margin: 40px 0 24px; position: relative;
}
@media (max-width: 700px) { .spine-row { grid-template-columns: 1fr; } }
.spine-item {
  background: var(--navy-mid); border: 1px solid var(--border); border-radius: 8px;
  padding: 18px 20px; text-align: center; position: relative;
}
.spine-starter { border-top: 3px solid var(--starter); }
.spine-pro { border-top: 3px solid var(--pro); }
.spine-enterprise { border-top: 3px solid var(--enterprise); }
.spine-label { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: var(--muted); text-transform: uppercase; margin-bottom: 6px; }
.spine-tagline { font-size: 22px; font-weight: 800; color: var(--white); letter-spacing: -0.03em; margin-bottom: 8px; }
.spine-price { font-size: 14px; font-weight: 700; color: var(--off-white); }
.spine-pro .tier-popular { top: auto; bottom: -12px; left: 50%; transform: translateX(-50%); font-size: 9px; }

/* ---- TIER DETAIL DISCLOSURE ---- */
.tier-detail-disclosure { margin-bottom: 8px; }
.tier-detail-summary {
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: var(--accent);
  cursor: pointer; list-style: none; padding: 4px 0;
}
.tier-detail-summary::-webkit-details-marker { display: none; }
.tier-detail-body { margin-top: 12px; display: flex; flex-direction: column; gap: 14px; }

/* ---- HIRE VS US ACCORDION ---- */
.hvu-accordion { margin-top: 36px; display: flex; flex-direction: column; }
.hvu-item { border-bottom: 1px solid var(--border); }
.hvu-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; font-size: 15px; font-weight: 600; color: var(--white);
  background: none; border: none; cursor: pointer; font-family: var(--font); text-align: left; gap: 12px;
}
.hvu-q:hover { color: var(--accent); }
.hvu-icon { font-size: 20px; color: var(--muted); flex-shrink: 0; transition: transform 0.2s; }
.hvu-item.open .hvu-icon { transform: rotate(45deg); color: var(--accent); }
.hvu-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s; }
.hvu-item.open .hvu-a { max-height: 600px; padding-bottom: 16px; }

/* ---- YEAR-SHAPE TABS ---- */
.ys-tabs { display: flex; gap: 0; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; margin-bottom: 24px; flex-wrap: wrap; }
.ys-tab {
  flex: 1; padding: 11px 16px; font-size: 13px; font-weight: 700; color: var(--muted);
  background: var(--navy-mid); border: none; cursor: pointer; font-family: var(--font);
  border-right: 1px solid var(--border); transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.ys-tab:last-child { border-right: none; }
.ys-tab:hover { color: var(--off-white); }
.ys-tab.active { background: var(--navy-light); color: var(--accent); }
.ys-panel { display: block; }

/* ---- STICKY MOBILE CTA ---- */
.sticky-mobile-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: rgba(9,9,9,0.95); border-top: 1px solid var(--border);
  padding: 12px 20px; backdrop-filter: blur(8px);
}
.sticky-cta-btn {
  display: block; width: 100%; text-align: center;
  background: var(--cta-grad); color: #06181a;
  font-family: var(--font); font-size: 15px; font-weight: 700; letter-spacing: 0.04em;
  padding: 14px 20px; border-radius: 8px; text-decoration: none;
  transition: filter 0.2s;
}
.sticky-cta-btn:hover { filter: brightness(1.08); text-decoration: none; color: #06181a; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  section { padding: 56px 0; }
  .nav-links { display: none; }
  .hero-stats { gap: 24px; }
  .hvu-table th:nth-child(1), .hvu-table td:nth-child(1) { min-width: 120px; }
  .scope-result-col { position: static; }
  .ys-tabs { flex-direction: column; }
  .ys-tab { border-right: none; border-bottom: 1px solid var(--border); }
  .ys-tab:last-child { border-bottom: none; }
  /* Mobile sliders -> still usable; role grid -> tighter */
  .tune-body .role-grid { grid-template-columns: 1fr; }
  /* Sticky CTA visible on mobile */
  .sticky-mobile-cta { display: block; }
  body { padding-bottom: 72px; }
}

@media (max-width: 480px) {
  .scope-form-row { flex-direction: column; }
  .scope-form-btn { width: 100%; }
  .spine-tagline { font-size: 18px; }
  .ys-tab { font-size: 12px; padding: 10px 12px; }
}

/* ---- BRAND: footer logo + section rhythm ---- */
section:nth-child(even) { background: var(--bg2); }
footer .footer-logo { display: flex; justify-content: center; margin-bottom: 14px; }
footer .footer-logo img { height: 36px; width: auto; display: block; }

/* =====================================================================
   THEME TOGGLE BUTTON
   ===================================================================== */
.sf-theme-toggle {
  background: none;
  border: 1px solid rgba(255,255,255,0.22);
  color: var(--off-white);
  width: 36px; height: 36px; border-radius: 50%;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  transition: color 0.2s, border-color 0.2s;
  flex-shrink: 0; padding: 0; font-family: var(--font);
}
.sf-theme-toggle:hover { color: var(--accent); border-color: var(--accent); }
.sf-theme-toggle .sf-ico { display: block; }
.sf-theme-toggle .sf-ico-moon { display: none; }
/* Light mode: show moon (to switch back to dark), hide sun */
html[data-theme="light"] .sf-theme-toggle { color: #0d0d0d; border-color: rgba(0,0,0,0.22); }
html[data-theme="light"] .sf-theme-toggle:hover { color: #087170; border-color: #087170; }
html[data-theme="light"] .sf-theme-toggle .sf-ico-sun { display: none; }
html[data-theme="light"] .sf-theme-toggle .sf-ico-moon { display: block; }

/* =====================================================================
   LOGO SWAP BY THEME
   Nav and footer keep their dark backgrounds in both themes, so they
   always show the white SVG. If a logo appears on a light content
   surface, the color PNG is shown instead.
   The .logo-light class is available for any light-bg context.
   ===================================================================== */
.logo-dark { display: block; }
.logo-light { display: none; }
/* In light mode, nav and footer remain dark, so their logos stay white.
   Override: within the dark chrome selectors, always show logo-dark. */
.site-nav .logo-dark,
footer .logo-dark { display: block; }
.site-nav .logo-light,
footer .logo-light { display: none; }
/* For any logo placed on a light content surface (not nav/footer): */
html[data-theme="light"] .content-logo .logo-dark { display: none; }
html[data-theme="light"] .content-logo .logo-light { display: block; }

/* =====================================================================
   LIGHT MODE TOKENS AND OVERRIDES
   Light = page content surfaces. Nav + footer + sticky CTA stay dark in both themes.
   ===================================================================== */
html[data-theme="light"] {
  /* Core brand tokens */
  --bg:           #ffffff;
  --bg2:          #f5f7fa;
  --card:         #ffffff;
  --border:       rgba(0,0,0,0.10);
  --teal:         #087170;          /* body-text teal: 5.82:1 on white */
  --cyan:         #0779a8;          /* pro badge text: 4.87:1 on white */
  --text:         rgba(5,34,41,0.9);
  --muted:        rgba(5,34,41,0.65);
  --dim:          rgba(5,34,41,0.45);

  /* Page aliases that derive from tokens */
  --navy:         #ffffff;
  --navy-mid:     #f5f7fa;
  --navy-light:   #f0f3f7;
  --navy-card:    #e8ecf0;
  --accent:       #087170;
  --accent-dim:   #0779a8;
  --accent-glow:  rgba(8,113,112,0.10);
  --off-white:    rgba(5,34,41,0.9);
  --muted-body:   rgba(5,34,41,0.72);
  --border-light: rgba(0,0,0,0.14);

  /* Tier colors must be readable on light backgrounds */
  --starter:      #087170;          /* 5.82:1 on white */
  --pro:          #0779a8;          /* 4.87:1 on white */
  --enterprise:   #A06000;          /* 5.04:1 on white */
  --warn:         #A06000;
  --gold:         #A06000;

  /* CTA gradient is unchanged - dark text on gradient still passes */
  /* --cta-grad: linear-gradient(90deg,#31e4e3,#0caecf) -- CTA text is #06181a (8.73:1) */
}

/* Body and section backgrounds */
html[data-theme="light"] body { background: #ffffff; color: rgba(5,34,41,0.9); }
html[data-theme="light"] section:nth-child(even) { background: #f5f7fa; }

/* Headings: dark ink on light */
html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] h4 { color: #052229; }

/* Links */
html[data-theme="light"] a { color: #087170; }

/* ---- NAV stays dark in light mode ---- */
html[data-theme="light"] .site-nav {
  background: #0d0d0d;
  border-bottom-color: rgba(255,255,255,0.08);
}
html[data-theme="light"] .nav-links a { color: rgba(255,255,255,0.75); }
html[data-theme="light"] .nav-links a:hover { color: #ffffff; }
html[data-theme="light"] .nav-cta { color: #06181a; }
html[data-theme="light"] .sf-theme-toggle {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.22);
}
html[data-theme="light"] .sf-theme-toggle:hover { color: #32EBE8; border-color: #32EBE8; }
html[data-theme="light"] .sf-theme-toggle .sf-ico-sun { display: block; }
html[data-theme="light"] .sf-theme-toggle .sf-ico-moon { display: none; }

/* ---- HERO section: light bg, dark text ---- */
html[data-theme="light"] #hero {
  background: radial-gradient(ellipse at 60% 0%, rgba(8,113,112,0.06) 0%, transparent 60%);
}
html[data-theme="light"] .hero-eyebrow { color: #087170; }
html[data-theme="light"] .hero-headline { color: #052229; }
html[data-theme="light"] .hero-headline .highlight { color: #087170; }
html[data-theme="light"] .hero-spine { color: rgba(5,34,41,0.72); }
html[data-theme="light"] .hero-stat-val { color: #052229; }
html[data-theme="light"] .hero-stat-lbl { color: rgba(5,34,41,0.65); }
html[data-theme="light"] .hero-stats { border-top-color: rgba(0,0,0,0.10); }

/* ---- BUTTONS on light ---- */
html[data-theme="light"] .btn-secondary {
  color: rgba(5,34,41,0.9);
  border-color: rgba(0,0,0,0.18);
}
html[data-theme="light"] .btn-secondary:hover { border-color: #087170; color: #087170; }

/* ---- SECTION LABELS ---- */
html[data-theme="light"] .section-eyebrow { color: #087170; }
html[data-theme="light"] .section-heading { color: #052229; }
html[data-theme="light"] .section-sub { color: rgba(5,34,41,0.72); }

/* ---- QUICK PICKS ---- */
html[data-theme="light"] .qp-label,
html[data-theme="light"] .qp-group-label { color: rgba(5,34,41,0.55); }
html[data-theme="light"] .qp-btn {
  background: #ffffff;
  border-color: rgba(0,0,0,0.14);
  color: rgba(5,34,41,0.65);
}
html[data-theme="light"] .qp-btn:hover { border-color: #087170; color: rgba(5,34,41,0.9); }
html[data-theme="light"] .qp-btn.active { border-color: #087170; color: #087170; background: rgba(8,113,112,0.07); }
html[data-theme="light"] .qp-role-chip {
  background: #ffffff;
  border-color: rgba(0,0,0,0.14);
  color: rgba(5,34,41,0.65);
}
html[data-theme="light"] .qp-role-chip:hover { border-color: #087170; color: rgba(5,34,41,0.9); }
html[data-theme="light"] .qp-role-chip.active { border-color: #087170; color: #087170; background: rgba(8,113,112,0.07); }

/* ---- CHAT PANEL ---- */
html[data-theme="light"] .chat-wrapper {
  background: #f5f7fa;
  border-color: rgba(0,0,0,0.10);
}
html[data-theme="light"] .chat-header {
  background: #ffffff;
  border-bottom-color: rgba(0,0,0,0.10);
}
html[data-theme="light"] .chat-header-title { color: #052229; }
html[data-theme="light"] .chat-header-sub { color: rgba(5,34,41,0.55); }
html[data-theme="light"] .msg.user .msg-bubble {
  background: #ffffff;
  border-color: rgba(0,0,0,0.12);
  color: rgba(5,34,41,0.9);
}
html[data-theme="light"] .msg.assistant .msg-bubble {
  background: rgba(8,113,112,0.07);
  border-color: rgba(8,113,112,0.25);
  color: rgba(5,34,41,0.9);
}
html[data-theme="light"] .msg-label { color: rgba(5,34,41,0.55); }
html[data-theme="light"] .chip {
  background: #ffffff;
  border-color: rgba(0,0,0,0.12);
  color: rgba(5,34,41,0.65);
}
html[data-theme="light"] .chip:hover { border-color: #087170; color: #087170; }
html[data-theme="light"] .chat-input-row {
  background: #ffffff;
  border-top-color: rgba(0,0,0,0.10);
}
html[data-theme="light"] .chat-input {
  background: #f5f7fa;
  border-color: rgba(0,0,0,0.12);
  color: rgba(5,34,41,0.9);
}
html[data-theme="light"] .chat-input:focus { border-color: #087170; }
html[data-theme="light"] .chat-input::placeholder { color: rgba(5,34,41,0.40); }
html[data-theme="light"] .chat-send { background: #087170; color: #ffffff; }
html[data-theme="light"] .chat-send:hover { filter: brightness(0.92); }
html[data-theme="light"] .chat-offline-note { color: rgba(5,34,41,0.55); }

/* ---- RESULT PANEL ---- */
html[data-theme="light"] .result-panel {
  background: #ffffff;
  border-color: rgba(0,0,0,0.12);
}
html[data-theme="light"] .result-heading { color: #052229; }
html[data-theme="light"] .result-subhead { color: rgba(5,34,41,0.72); }
html[data-theme="light"] .result-reason { color: rgba(5,34,41,0.65); }
html[data-theme="light"] .empty-result { color: rgba(5,34,41,0.55); }

/* Assumption chips */
html[data-theme="light"] .assumption-chips-block {
  background: #f0f3f7;
  border-color: rgba(0,0,0,0.10);
}
html[data-theme="light"] .assumption-chips-label { color: rgba(5,34,41,0.55); }
html[data-theme="light"] .assumption-chip {
  background: #ffffff;
  border-color: rgba(0,0,0,0.14);
  color: rgba(5,34,41,0.9);
}
html[data-theme="light"] .assumption-chip:hover { border-color: #087170; background: rgba(8,113,112,0.06); }
html[data-theme="light"] .assumption-chip-icon { color: #087170; }
html[data-theme="light"] .assumption-chip-text { color: rgba(5,34,41,0.9); }

/* Price block */
html[data-theme="light"] .price-block {
  background: #f0f3f7;
  border-color: rgba(0,0,0,0.10);
}
html[data-theme="light"] .price-main { color: #052229; }
html[data-theme="light"] .price-range-line { color: rgba(5,34,41,0.55); }
html[data-theme="light"] .price-year { color: rgba(5,34,41,0.9); }
html[data-theme="light"] .price-prepay { color: #087170; }
html[data-theme="light"] .price-blueprint { color: #087170; border-top-color: rgba(0,0,0,0.10); }

/* Inclusions */
html[data-theme="light"] .result-inclusion { color: rgba(5,34,41,0.9); }
html[data-theme="light"] .result-inclusion .plus { color: #087170; }
html[data-theme="light"] .result-inclusion .inc-label { color: rgba(5,34,41,0.65); }

/* ROI mini */
html[data-theme="light"] .roi-mini-card {
  background: #f0f3f7;
  border-color: rgba(0,0,0,0.10);
}
html[data-theme="light"] .roi-mini-val { color: #087170; }
html[data-theme="light"] .roi-mini-lbl { color: rgba(5,34,41,0.55); }

/* Defend block */
html[data-theme="light"] .defend-block {
  background: #f0f3f7;
  border-color: rgba(0,0,0,0.10);
}
html[data-theme="light"] .defend-block h4 { color: rgba(5,34,41,0.55); }
html[data-theme="light"] .defend-item { border-left-color: rgba(0,0,0,0.15); }
html[data-theme="light"] .defend-item.below { border-left-color: #087170; }
html[data-theme="light"] .defend-item.above { border-left-color: #A06000; }
html[data-theme="light"] .defend-item-title { color: rgba(5,34,41,0.9); }
html[data-theme="light"] .defend-item-text { color: rgba(5,34,41,0.65); }

/* Tune disclosure */
html[data-theme="light"] .tune-disclosure {
  background: #f0f3f7;
  border-color: rgba(0,0,0,0.10);
}
html[data-theme="light"] .tune-summary { color: #087170; }
html[data-theme="light"] .tune-summary::after { color: rgba(5,34,41,0.40); }

/* Calc fields inside disclosure */
html[data-theme="light"] .calc-label { color: rgba(5,34,41,0.9); }
html[data-theme="light"] .calc-hint { color: rgba(5,34,41,0.65); }
html[data-theme="light"] .calc-select,
html[data-theme="light"] .calc-number {
  background: #ffffff;
  border-color: rgba(0,0,0,0.14);
  color: rgba(5,34,41,0.9);
}
html[data-theme="light"] .calc-select:focus,
html[data-theme="light"] .calc-number:focus { border-color: #087170; }
html[data-theme="light"] .calc-select option { background: #ffffff; color: rgba(5,34,41,0.9); }
html[data-theme="light"] .slider-val { color: #087170; }
html[data-theme="light"] .toggle-label { color: rgba(5,34,41,0.9); }

/* Role items in tune disclosure */
html[data-theme="light"] .role-item {
  background: #ffffff;
  border-color: rgba(0,0,0,0.12);
}
html[data-theme="light"] .role-item:hover { border-color: #0779a8; }
html[data-theme="light"] .role-item.checked { border-color: #087170; background: rgba(8,113,112,0.06); }
html[data-theme="light"] .role-item-name { color: rgba(5,34,41,0.9); }
html[data-theme="light"] .role-item-tasks { color: rgba(5,34,41,0.65); }
html[data-theme="light"] .role-item.checked .role-item-name { color: #052229; }

/* Email capture */
html[data-theme="light"] .scope-email-block {
  background: #f0f3f7;
  border-color: rgba(0,0,0,0.12);
}
html[data-theme="light"] .scope-email-label { color: #087170; }
html[data-theme="light"] .scope-form-input {
  background: #ffffff;
  border-color: rgba(0,0,0,0.14);
  color: rgba(5,34,41,0.9);
}
html[data-theme="light"] .scope-form-input:focus { border-color: #087170; }
html[data-theme="light"] .scope-form-input::placeholder { color: rgba(5,34,41,0.40); }
html[data-theme="light"] .scope-form-success { color: #087170; }

/* Copy button */
html[data-theme="light"] .copy-btn {
  background: rgba(8,113,112,0.10);
  border-color: #087170;
  color: #087170;
}
html[data-theme="light"] .copy-btn:hover { background: #087170; color: #ffffff; }
html[data-theme="light"] .copy-btn.copied { background: #087170; color: #ffffff; }

/* ---- TIER BADGES (light mode) ---- */
html[data-theme="light"] .tier-badge.starter {
  background: rgba(8,113,112,0.10);
  color: #087170;
  border-color: rgba(8,113,112,0.30);
}
html[data-theme="light"] .tier-badge.pro {
  background: rgba(7,121,168,0.10);
  color: #0779a8;
  border-color: rgba(7,121,168,0.30);
}
html[data-theme="light"] .tier-badge.enterprise {
  background: rgba(160,96,0,0.10);
  color: #A06000;
  border-color: rgba(160,96,0,0.30);
}

/* ---- PROOF SECTION ---- */
html[data-theme="light"] .proof-card {
  background: #ffffff;
  border-color: rgba(0,0,0,0.10);
}
html[data-theme="light"] .proof-client-name { color: #052229; }
html[data-theme="light"] .proof-client-industry { color: rgba(5,34,41,0.55); }
html[data-theme="light"] .proof-result { color: #087170; }
html[data-theme="light"] .proof-result-label { color: rgba(5,34,41,0.55); }
html[data-theme="light"] .proof-detail { color: rgba(5,34,41,0.65); }
html[data-theme="light"] .proof-source { color: rgba(5,34,41,0.40); }
html[data-theme="light"] .proof-internal-note { color: #A06000; }
html[data-theme="light"] .proof-quote { color: rgba(5,34,41,0.9); border-left-color: #087170; }
html[data-theme="light"] .proof-quote-attr { color: rgba(5,34,41,0.55); }

/* ---- SPINE ROW (tiers) ---- */
html[data-theme="light"] .spine-item {
  background: #f5f7fa;
  border-color: rgba(0,0,0,0.10);
}
html[data-theme="light"] .spine-starter { border-top-color: #087170; }
html[data-theme="light"] .spine-pro { border-top-color: #0779a8; }
html[data-theme="light"] .spine-enterprise { border-top-color: #A06000; }
html[data-theme="light"] .spine-label { color: rgba(5,34,41,0.55); }
html[data-theme="light"] .spine-tagline { color: #052229; }
html[data-theme="light"] .spine-price { color: rgba(5,34,41,0.9); }

/* ---- TIER CARDS ---- */
html[data-theme="light"] .tier-card {
  background: #ffffff;
  border-color: rgba(0,0,0,0.10);
}
html[data-theme="light"] .tier-card.highlighted { border-color: #087170; }
html[data-theme="light"] .tier-popular { background: #087170; color: #ffffff; }
html[data-theme="light"] .tier-card-price { color: #052229; }
html[data-theme="light"] .tier-card-price-period { color: rgba(5,34,41,0.55); }
html[data-theme="light"] .tier-card-name { color: #052229; }
html[data-theme="light"] .tier-card-spine { color: rgba(5,34,41,0.72); }
html[data-theme="light"] .tier-card-replaces {
  background: #f0f3f7;
  border-color: rgba(0,0,0,0.10);
}
html[data-theme="light"] .replaces-label { color: rgba(5,34,41,0.55); }
html[data-theme="light"] .replaces-text { color: rgba(5,34,41,0.9); }
html[data-theme="light"] .tier-card-feature { color: rgba(5,34,41,0.9); }
html[data-theme="light"] .tier-card-feature .check { color: #087170; }
html[data-theme="light"] .tier-detail-summary { color: #087170; }

/* Honesty rules box */
html[data-theme="light"] #tiers > .container > div:last-child {
  background: #f5f7fa;
  border-color: rgba(0,0,0,0.10);
}

/* ---- HIRE VS US ACCORDION ---- */
html[data-theme="light"] .hvu-item { border-bottom-color: rgba(0,0,0,0.10); }
html[data-theme="light"] .hvu-q { color: #052229; }
html[data-theme="light"] .hvu-q:hover { color: #087170; }
html[data-theme="light"] .hvu-icon { color: rgba(5,34,41,0.40); }
html[data-theme="light"] .hvu-item.open .hvu-icon { color: #087170; }
html[data-theme="light"] .hvu-table th {
  background: #f5f7fa;
  color: rgba(5,34,41,0.55);
}
html[data-theme="light"] .hvu-table td,
html[data-theme="light"] .hvu-table th { border-bottom-color: rgba(0,0,0,0.08); }
html[data-theme="light"] .hvu-table td:first-child { color: rgba(5,34,41,0.65); }
html[data-theme="light"] .hvu-table td.human { color: rgba(5,34,41,0.9); }
html[data-theme="light"] .hvu-table td.shoofly { color: #087170; }
html[data-theme="light"] .hvu-table tr:hover td { background: #f5f7fa; }

/* ---- YEAR SHAPE TABS ---- */
html[data-theme="light"] .ys-tabs { border-color: rgba(0,0,0,0.10); }
html[data-theme="light"] .ys-tab {
  background: #f5f7fa;
  color: rgba(5,34,41,0.65);
  border-right-color: rgba(0,0,0,0.10);
}
html[data-theme="light"] .ys-tab:hover { color: rgba(5,34,41,0.9); }
html[data-theme="light"] .ys-tab.active { background: #ffffff; color: #087170; }
html[data-theme="light"] .year-phase {
  background: #f5f7fa;
  border-color: rgba(0,0,0,0.10);
}
html[data-theme="light"] .year-phase-period { color: rgba(5,34,41,0.55); }
html[data-theme="light"] .year-phase-title { color: #052229; }
html[data-theme="light"] .year-phase-items { color: rgba(5,34,41,0.65); }

/* ---- FAQ ---- */
html[data-theme="light"] .faq-item { border-bottom-color: rgba(0,0,0,0.10); }
html[data-theme="light"] .faq-q { color: #052229; }
html[data-theme="light"] .faq-q:hover { color: #087170; }
html[data-theme="light"] .faq-icon { color: rgba(5,34,41,0.40); }
html[data-theme="light"] .faq-item.open .faq-icon { color: #087170; }
html[data-theme="light"] .faq-a { color: rgba(5,34,41,0.72); }

/* ---- CTA SECTION ---- */
html[data-theme="light"] .cta-inner {
  background: linear-gradient(135deg, #f5f7fa, #ffffff);
  border-color: #087170;
}
html[data-theme="light"] .cta-price { color: #087170; }
html[data-theme="light"] .cta-period { color: rgba(5,34,41,0.65); }
html[data-theme="light"] .cta-detail { color: rgba(5,34,41,0.72); }
html[data-theme="light"] .cta-detail strong { color: #052229; }
html[data-theme="light"] .cta-step-up { color: #A06000; }

/* ---- FOOTER stays dark in light mode ---- */
html[data-theme="light"] footer {
  background: #0d0d0d;
  border-top-color: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.48);
}
html[data-theme="light"] footer a { color: rgba(255,255,255,0.75); }

/* ---- STICKY MOBILE CTA stays dark in light mode ---- */
html[data-theme="light"] .sticky-mobile-cta {
  background: rgba(9,9,9,0.96);
  border-top-color: rgba(255,255,255,0.08);
}
html[data-theme="light"] .sticky-cta-btn { color: #06181a; }

/* ---- MISC: text-* utility classes ---- */
html[data-theme="light"] .text-starter { color: #087170; }
html[data-theme="light"] .text-pro { color: #0779a8; }
html[data-theme="light"] .text-enterprise { color: #A06000; }
html[data-theme="light"] .text-accent { color: #087170; }
html[data-theme="light"] .text-muted { color: rgba(5,34,41,0.65); }
html[data-theme="light"] .text-warn { color: #A06000; }

/* result-reason text-warn */
html[data-theme="light"] #res-note { color: #A06000 !important; }
