/* ============================================================
   Rex × Renu Therapy Proposal
   Kaizen AI Lab — May 2026
   Color palette extracted from renutherapy.com:
     #231F20  near-black (primary text, hero overlay)
     #4d5d72  slate blue (dominant brand)
     #1669b9  deep blue (accent)
     #2189ec  bright blue (CTAs, links)
     #fffefc  warm white (background)
     #e0ddd8  warm grey (panels)
     #676986  muted slate
   Fonts: Cormorant Garamond (display, ~Lyon Text), Inter (body, ~Sohne)
   ============================================================ */

:root {
  --c-ink: #231F20;
  --c-slate: #4d5d72;
  --c-slate-deep: #272d45;
  --c-deep-blue: #1669b9;
  --c-blue: #2189ec;
  --c-blue-soft: rgba(33,137,236,0.08);
  --c-warm: #fffefc;
  --c-stone: #e0ddd8;
  --c-stone-soft: #f4f4f6;
  --c-muted: #676986;
  --c-mist: #d3d4dd;
  --c-line: #E5E5EB;

  --shadow-soft: 0 1px 3px rgba(35,31,32,0.06), 0 8px 24px rgba(35,31,32,0.04);
  --shadow-card: 0 2px 8px rgba(35,31,32,0.05), 0 18px 40px rgba(35,31,32,0.07);

  --f-display: 'Cormorant Garamond', 'Lyon Text', Georgia, serif;
  --f-body: 'Inter', 'Sohne', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--f-body);
  color: var(--c-ink);
  background: var(--c-warm);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--c-deep-blue); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--c-blue); }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 720px) {
  .container { padding: 0 22px; }
}

/* ====== HEADER ====== */
.site-header {
  background: var(--c-ink);
  border-bottom: 1px solid #000;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 0 rgba(0,0,0,0.4);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
}
.header-brand { display: flex; align-items: center; gap: 18px; }
.header-logo { width: auto; display: block; }
.header-logo-renu {
  height: 34px;
  /* Renu's logo on dark needs a subtle invert/lighten — their site uses a white wordmark on dark. */
  filter: brightness(0) invert(1);
}
.header-logo-kaizen {
  height: 36px;
}
.header-x {
  color: rgba(255,254,252,0.4);
  font-weight: 300;
  font-size: 22px;
}
.header-meta { display: flex; align-items: center; gap: 14px; }
.meta-pill {
  background: rgba(33,137,236,0.18);
  color: #7eb6ff;
  font-weight: 600;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.meta-date {
  font-size: 13px;
  color: rgba(255,254,252,0.6);
}
@media (max-width: 720px) {
  .header-inner { padding: 12px 18px; }
  .header-x { display: none; }
  .meta-date { display: none; }
  .header-logo-renu { height: 28px; }
  .header-logo-kaizen { height: 30px; }
}

/* ====== HERO ====== */
.hero {
  background-size: cover;
  background-position: center;
  color: var(--c-warm);
  padding: 120px 0 100px;
  position: relative;
}
.hero-inner { max-width: 920px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,254,252,0.75);
  margin-bottom: 28px;
}
.hero-title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(42px, 6.8vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}
.hero-title-soft {
  color: rgba(255,254,252,0.78);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 4.2vw, 54px);
  display: block;
  margin-top: 6px;
}
.hero-sub {
  font-size: clamp(17px, 1.5vw, 21px);
  color: rgba(255,254,252,0.88);
  max-width: 720px;
  margin-bottom: 40px;
  line-height: 1.55;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-prepared {
  border-top: 1px solid rgba(255,254,252,0.18);
  padding-top: 22px;
  font-size: 13px;
  color: rgba(255,254,252,0.7);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.hero-prepared strong {
  color: var(--c-warm);
  font-weight: 600;
}
@media (max-width: 720px) {
  .hero { padding: 80px 0 70px; }
}

/* ====== BUTTONS ====== */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-family: var(--f-body);
}
.btn-primary {
  background: var(--c-blue);
  color: var(--c-warm);
}
.btn-primary:hover { background: var(--c-deep-blue); color: var(--c-warm); transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  color: var(--c-warm);
  border-color: rgba(255,254,252,0.5);
}
.btn-secondary:hover { border-color: var(--c-warm); background: rgba(255,254,252,0.08); color: var(--c-warm); transform: translateY(-1px); }

/* When buttons appear inside light sections */
.section-next .btn-secondary,
.cta-card .btn-secondary {
  color: var(--c-ink);
  border-color: var(--c-ink);
}
.section-next .btn-secondary:hover {
  background: var(--c-ink);
  color: var(--c-warm);
}

/* ====== SUMMARY STRIP ====== */
.summary-strip {
  background: var(--c-stone-soft);
  border-bottom: 1px solid var(--c-line);
  padding: 36px 0;
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.summary-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.summary-item {
  text-align: left;
}
.summary-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--c-muted);
  font-weight: 600;
  margin-bottom: 8px;
}
.summary-value {
  font-family: var(--f-display);
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 600;
  color: var(--c-ink);
  line-height: 1.1;
}
.summary-strike {
  text-decoration: line-through;
  color: var(--c-muted);
}
.summary-highlight .summary-value {
  color: var(--c-deep-blue);
}
@media (max-width: 720px) {
  .summary-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* ====== SECTIONS ====== */
.section {
  padding: 110px 0;
}
.section-light {
  background: var(--c-stone-soft);
}
.section-dark {
  background-size: cover;
  background-position: center;
  color: var(--c-warm);
}
.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 700;
  color: var(--c-blue);
  margin-bottom: 18px;
}
.section-eyebrow-light {
  color: rgba(255,254,252,0.75);
}
.section-title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--c-ink);
  margin-bottom: 28px;
  max-width: 880px;
}
.section-title-light {
  color: var(--c-warm);
}
.title-accent {
  color: var(--c-deep-blue);
  font-style: italic;
}
.lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--c-slate);
  max-width: 780px;
  margin-bottom: 56px;
}
.lede-light {
  color: rgba(255,254,252,0.85);
}
@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .lede { font-size: 17px; margin-bottom: 36px; }
}

/* ====== TWO COLUMN ====== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-top: 24px;
}
.two-col h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 26px;
  margin-bottom: 18px;
  color: var(--c-slate-deep);
}
.feature-list {
  list-style: none;
  padding: 0;
}
.feature-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--c-line);
  position: relative;
  padding-left: 26px;
  color: var(--c-slate);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 14px;
  height: 2px;
  background: var(--c-blue);
}
.feature-list strong { color: var(--c-ink); display: block; margin-bottom: 2px; }

@media (max-width: 720px) {
  .two-col { grid-template-columns: 1fr; gap: 36px; }
}

/* ====== GUARDRAIL TABLE ====== */
.guardrail-table {
  background: rgba(255,254,252,0.04);
  border: 1px solid rgba(255,254,252,0.12);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 8px;
}
.guardrail-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  padding: 22px 28px;
  border-bottom: 1px solid rgba(255,254,252,0.10);
  gap: 32px;
  align-items: start;
  color: rgba(255,254,252,0.85);
}
.guardrail-row:last-child { border-bottom: none; }
.guardrail-head {
  background: rgba(255,254,252,0.05);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,254,252,0.65);
}
.guardrail-row strong { color: var(--c-warm); }
@media (max-width: 720px) {
  .guardrail-row { grid-template-columns: 1fr; gap: 8px; padding: 18px 20px; }
}

/* ====== COMPLIANCE / SECURITY GRID (in dark guardrails section) ====== */
.subsection-title-light {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.15;
  color: var(--c-warm);
  margin-top: 64px;
  margin-bottom: 14px;
  letter-spacing: -0.005em;
}
.lede-tight {
  margin-bottom: 32px;
  max-width: 760px;
}
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.compliance-card {
  background: rgba(255,254,252,0.04);
  border: 1px solid rgba(255,254,252,0.10);
  border-left: 2px solid var(--c-blue);
  border-radius: 4px;
  padding: 22px 24px;
}
.compliance-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--c-blue);
  margin-bottom: 10px;
}
.compliance-body {
  color: rgba(255,254,252,0.85);
  font-size: 15px;
  line-height: 1.55;
}
.compliance-body strong {
  color: var(--c-warm);
  display: block;
  margin-bottom: 4px;
}
@media (max-width: 800px) {
  .compliance-grid { grid-template-columns: 1fr; }
}

/* ====== CASE STUDY CLAUSE ====== */
.case-study-clause {
  margin-top: 44px;
  padding: 26px 30px;
  background: var(--c-stone-soft);
  border-left: 3px solid var(--c-slate);
  border-radius: 4px;
  max-width: 880px;
}
.case-study-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--c-slate);
  margin-bottom: 8px;
}
.case-study-clause p {
  color: var(--c-slate-deep);
  font-size: 15px;
  line-height: 1.6;
}

/* ====== TRACK BANNERS + PHASES ====== */
.track-banner {
  font-family: var(--f-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 13px;
  padding: 14px 22px;
  border-radius: 4px;
  margin: 28px 0 24px;
  display: inline-block;
}
.track-banner-internal {
  background: var(--c-slate-deep);
  color: var(--c-warm);
}
.track-banner-chatbot {
  background: var(--c-blue);
  color: var(--c-warm);
  margin-top: 56px;
}
.phase-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.phase-grid-chatbot {
  grid-template-columns: repeat(2, 1fr);
  max-width: 720px;
}
.phase {
  background: var(--c-warm);
  border: 1px solid var(--c-line);
  border-top: 3px solid var(--c-blue);
  border-radius: 4px;
  padding: 22px 22px 24px;
  box-shadow: var(--shadow-soft);
}
.phase-week {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--c-blue);
  margin-bottom: 12px;
}
.phase h4 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--c-ink);
  margin-bottom: 14px;
  line-height: 1.15;
}
.phase ul { list-style: none; padding: 0; font-size: 14px; color: var(--c-slate); }
.phase li {
  padding: 6px 0 6px 16px;
  position: relative;
  line-height: 1.5;
}
.phase li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--c-blue);
  font-weight: 700;
}
@media (max-width: 1024px) {
  .phase-grid { grid-template-columns: repeat(2, 1fr); }
  .phase-grid-chatbot { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .phase-grid, .phase-grid-chatbot { grid-template-columns: 1fr; }
}

/* ====== STACK GRID ====== */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.stack-card {
  background: var(--c-warm);
  border: 1px solid var(--c-line);
  border-radius: 4px;
  padding: 22px 14px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  color: var(--c-slate-deep);
  box-shadow: var(--shadow-soft);
}
.stack-note {
  display: block;
  font-size: 11px;
  color: var(--c-muted);
  font-weight: 500;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
@media (max-width: 900px) {
  .stack-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .stack-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ====== PRICING ====== */
.section-pricing {
  background: linear-gradient(180deg, var(--c-warm) 0%, var(--c-stone-soft) 100%);
}
.pricing-subhead {
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--c-slate-deep);
  margin: 48px 0 18px;
  letter-spacing: -0.01em;
}
.pricing-table {
  background: var(--c-warm);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.pricing-row {
  display: grid;
  grid-template-columns: 2.4fr 1.2fr 1.6fr;
  padding: 22px 28px;
  border-bottom: 1px solid var(--c-line);
  align-items: center;
  gap: 18px;
}
.pricing-row:last-child { border-bottom: none; }
.pricing-head {
  background: var(--c-stone-soft);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 700;
  color: var(--c-muted);
}
.pricing-note {
  display: block;
  font-size: 13px;
  color: var(--c-muted);
  margin-top: 4px;
  font-weight: 400;
}
.pricing-renu {
  color: var(--c-deep-blue);
  font-weight: 700;
  font-size: 17px;
}
.pricing-renu-strong {
  font-size: 22px;
}
.strike { text-decoration: line-through; color: var(--c-muted); }
.strike-strong { text-decoration: line-through; color: var(--c-muted); font-size: 18px; }
.discount-pill {
  background: rgba(33,137,236,0.10);
  color: var(--c-deep-blue);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  display: inline-block;
  white-space: nowrap;
}
.discount-pill-strong {
  background: var(--c-deep-blue);
  color: var(--c-warm);
  font-size: 14px;
  padding: 7px 16px;
}
.pricing-total {
  background: linear-gradient(180deg, var(--c-stone-soft) 0%, var(--c-warm) 100%);
  font-size: 18px;
}
.pricing-footnote {
  font-size: 14px;
  color: var(--c-muted);
  margin-top: 24px;
  max-width: 760px;
  line-height: 1.55;
}
.pricing-footnote strong { color: var(--c-ink); }
@media (max-width: 800px) {
  .pricing-row { grid-template-columns: 1fr 1fr; gap: 12px; padding: 18px 20px; font-size: 15px; }
  .pricing-row > div:nth-child(1) { grid-column: 1 / -1; }
  .pricing-head { display: none; }
}

/* ====== TEAM ====== */
.section-team {
  background-size: cover;
  background-position: center;
  color: var(--c-warm);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 32px;
}
.team-card {
  background: rgba(255,254,252,0.06);
  border: 1px solid rgba(255,254,252,0.14);
  border-radius: 6px;
  padding: 30px 26px;
  backdrop-filter: blur(6px);
}
.team-card h4 {
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--c-warm);
  margin-bottom: 4px;
}
.team-role {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,254,252,0.7);
  margin-bottom: 14px;
  font-weight: 600;
}
.team-card p {
  color: rgba(255,254,252,0.85);
  font-size: 15px;
  line-height: 1.55;
}
@media (max-width: 800px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ====== NEXT STEPS ====== */
.section-next {
  background: var(--c-warm);
}
.next-steps {
  list-style: none;
  padding: 0;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.next-steps li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  align-items: start;
  background: var(--c-stone-soft);
  padding: 26px 28px;
  border-radius: 6px;
  border-left: 3px solid var(--c-blue);
}
.next-num {
  font-family: var(--f-display);
  font-size: 44px;
  font-weight: 600;
  color: var(--c-blue);
  line-height: 1;
}
.next-steps h4 {
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 6px;
}
.next-steps p {
  color: var(--c-slate);
  font-size: 16px;
  line-height: 1.55;
}
.cta-card {
  background: var(--c-slate-deep);
  color: var(--c-warm);
  padding: 48px 44px;
  border-radius: 8px;
  margin-top: 56px;
  text-align: center;
}
.cta-card h3 {
  font-family: var(--f-display);
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--c-warm);
}
.cta-card p {
  color: rgba(255,254,252,0.75);
  margin-bottom: 28px;
}
.cta-buttons { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cta-card .btn-secondary {
  color: var(--c-warm);
  border-color: rgba(255,254,252,0.5);
}
.cta-card .btn-secondary:hover {
  background: rgba(255,254,252,0.1);
  color: var(--c-warm);
}
@media (max-width: 600px) {
  .next-steps li { grid-template-columns: 1fr; padding: 22px; }
  .cta-card { padding: 36px 24px; }
  .cta-card h3 { font-size: 28px; }
}

/* ====== FOOTER ====== */
.site-footer {
  background: var(--c-ink);
  color: rgba(255,254,252,0.7);
  padding: 48px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-logo {
  height: 32px;
  width: auto;
  display: block;
}
.footer-brand strong {
  color: var(--c-warm);
  letter-spacing: 0.16em;
  font-size: 14px;
}
.footer-brand span {
  font-size: 13px;
}
.footer-meta {
  display: flex;
  gap: 24px;
  font-size: 13px;
  flex-wrap: wrap;
}
@media (max-width: 600px) {
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
