@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── TOKENS ─────────────────────────────────────────── */
:root {
  --bg:        #ffffff;
  --bg-2:      #faf7f3;
  --bg-3:      #f4f0e8;
  --border:    #e8e1d6;
  --border-l:  #f0ebe2;
  --text:      #1a120a;
  --text-sec:  #5e4e3c;
  --text-dim:  #a08c75;
  --accent:    #8B5A32;
  --accent-bg: #f7f0e6;
  --accent-dk: #6b4323;
  --serif:     'Instrument Serif', Georgia, serif;
  --sans:      'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w:     1200px;
  --px:        clamp(24px, 5vw, 72px);
  --r:         6px;
}

/* ── RESET ─────────────────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display:block; max-width:100%; filter: url(#grain-filter); }

h1, h2, blockquote {
  font-family: var(--serif);
  font-weight: 400;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--accent-bg);
  color: var(--accent-dk);
}

/* ── NAV ─────────────────────────────────────────────── */
nav {
  position: fixed; top:0; left:0; right:0; z-index:100;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
nav.scrolled { border-bottom-color: var(--border); }

.nav-inner {
  max-width: var(--max-w); margin:0 auto;
  padding:0 var(--px); height:60px;
  display:flex; justify-content:space-between; align-items:center;
}
.nav-logo {
  text-decoration:none; display:flex; align-items:baseline; gap:1px;
  transition: opacity 0.2s;
}
.nav-logo:hover { opacity:0.7; }
.nav-logo-r { font-family:var(--sans); font-size:17px; font-weight:600; color:var(--text); letter-spacing:-0.3px; }
.nav-logo-i { font-family:var(--serif); font-size:18px; font-style:italic; font-weight:400; color:var(--accent); }

.nav-links { display:flex; gap:28px; align-items:center; }
.nav-links a {
  color: var(--text-dim); text-decoration:none;
  font-size: 14px; font-weight:400; transition:color 0.15s;
  letter-spacing: -0.1px;
}
.nav-links a:hover { color: var(--text); }
.nav-back { font-size:13px !important; }
.nav-cta {
  background: var(--text) !important;
  color: #fff !important;
  padding: 8px 16px !important;
  border-radius: var(--r);
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  transition: opacity 0.15s !important;
}
.nav-cta:hover { opacity:0.75 !important; }

/* ── BUTTONS ─────────────────────────────────────────── */
.btn-dark {
  display: inline-block; background: var(--text); color: #fff;
  padding: 11px 22px; font-size: 14px; font-weight: 500;
  text-decoration: none; border-radius: var(--r);
  border: none; cursor:pointer; font-family: var(--sans);
  letter-spacing: -0.1px;
  transition: opacity 0.2s, transform 0.2s cubic-bezier(0.25,0,0,1);
}
.btn-dark:hover { opacity:0.78; transform: translateY(-1px); }
.btn-dark:active { transform: translateY(0); }

.btn-ghost {
  display: inline-block; color: var(--text);
  padding: 11px 22px; font-size: 14px; font-weight: 400;
  text-decoration: none; border: none;
  border-radius: var(--r); font-family: var(--sans);
  transition: transform 0.2s cubic-bezier(0.25,0,0,1);
}
.btn-ghost:hover { transform: translateY(-1px); }
.btn-ghost:active { transform: translateY(0); }

.btn-outline {
  display: inline-block; padding: 10px 20px;
  border: none; border-radius: var(--r);
  color: var(--text); font-size: 13px; font-weight: 500;
  text-decoration: none; font-family: var(--sans);
  transition: transform 0.2s cubic-bezier(0.25,0,0,1);
}
.btn-outline:hover { transform: translateY(-1px); }
.btn-outline:active { transform: translateY(0); }

/* ── SECTION UTILITIES ───────────────────────────────── */
.section-inner {
  max-width: var(--max-w); margin:0 auto; padding: 88px var(--px);
}
.section-label {
  font-family: var(--sans);
  font-size: 13px; letter-spacing: 0;
  color: var(--text-dim); margin-bottom: 14px; font-weight: 400;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 400; line-height: 1.15;
  letter-spacing: 0; max-width: 640px; color: var(--text);
}
.section-sub {
  font-size: 15px; line-height: 1.7; max-width: 520px;
  margin-top: 16px; font-weight: 400; color: var(--text-sec);
}

/* ── HERO ─────────────────────────────────────────────── */
.hero {
  padding-top: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  background: var(--bg);
}
.hero-content {
  padding: 72px var(--px) 72px calc(max(24px, (100vw - var(--max-w)) / 2));
  display: flex; flex-direction:column; justify-content:center;
}
.hero-back {
  display: inline-flex; align-items:center; gap:6px;
  font-size: 13px; color: var(--text-dim); text-decoration:none;
  margin-bottom: 36px; transition: color 0.15s;
  font-family: var(--sans);
}
.hero-back:hover { color: var(--text); }
.hero-eyebrow {
  font-size: 13px; color: var(--text-dim);
  margin-bottom: 24px; font-weight: 400;
  font-family: var(--sans);
}
.hero h1 {
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.05; letter-spacing: -0.5px;
  color: var(--text); margin-bottom: 22px;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-sub {
  font-size: 15px; color: var(--text-sec);
  line-height: 1.7; max-width: 480px; margin-bottom: 28px;
}
.hero-bullets {
  list-style: none; display:flex; flex-direction:column; gap:9px;
  margin-bottom: 40px;
}
.hero-bullets li {
  display: flex; align-items:center; gap:10px;
  font-size: 14px; color: var(--text-sec);
}
.hero-bullets li::before {
  content:''; width:4px; height:4px; border-radius:50%;
  background: var(--accent); flex-shrink:0;
}
.hero-stats {
  display: flex; margin-bottom: 36px;
  border-top: 1px solid var(--border); padding-top: 28px;
}
.hero-stat {
  padding-right: 40px; margin-right: 40px;
  border-right: 1px solid var(--border-l);
}
.hero-stat:last-child { border-right:none; padding-right:0; margin-right:0; }
.hero-stat-label {
  display: block; font-size: 11px; color: var(--text-dim);
  margin-bottom: 4px; font-weight: 400;
}
.hero-stat strong {
  font-size: 14px; font-weight: 600; color: var(--text);
  letter-spacing: -0.2px;
}
.hero-stat strong.live { color: var(--accent); }
.hero-actions { display:flex; gap:10px; }
.hero-image {
  position: relative; overflow:hidden;
  background: var(--bg-3);
}
.hero-image img {
  width:100%; height:100%; object-fit:cover; object-position: center top;
}

/* ── LOGO BAR ─────────────────────────────────────────── */
.logo-bar {
  padding: 22px var(--px);
  background: var(--bg-2);
}
.logo-bar-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items:center; gap:8px; flex-wrap:wrap;
}
.logo-bar-label {
  font-size: 12px; color: var(--text-dim);
  margin-right: 24px; white-space: nowrap; font-weight:400;
}
.logo-bar-row {
  display: flex; align-items:center; gap:36px; flex-wrap:wrap;
}
.logo-bar-row .lb {
  opacity: 0.28; transition: opacity 0.2s;
  line-height: 1; white-space: nowrap; display: flex; align-items: center;
}
/* Femstedt — serif italic */
.lb-femstedt {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic; font-size: 17px; font-weight: 400;
  color: var(--text); letter-spacing: 0.01em;
}
/* NEM Health — tight bold caps */
.lb-nem {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--text);
}
/* Dr. Farnaz — two weights */
.lb-farnaz {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; font-weight: 400; color: var(--text); letter-spacing: 0.01em;
}
.lb-farnaz strong { font-weight: 700; }
/* Endogyn — lowercase, light, tracked */
.lb-endogyn {
  font-family: 'DM Sans', sans-serif;
  font-size: 13.5px; font-weight: 300; letter-spacing: 0.09em; color: var(--text);
}
/* Eidra — wide-spaced all-caps */
.lb-eidra {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--text);
}
/* Hedda Care — serif + sans combo */
.lb-hedda {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 16px; font-weight: 400; color: var(--text);
  gap: 5px; align-items: baseline;
}
.lb-hedda em {
  font-family: 'DM Sans', sans-serif; font-style: normal;
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.13em;
  text-transform: uppercase; align-self: center;
}

/* ── SPLIT ────────────────────────────────────────────── */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.split.reversed .split-img  { order:2; }
.split.reversed .split-content { order:1; }

.split-img { overflow:hidden; }
.split-img img { width:100%; height:100%; object-fit:cover; }

.split-content {
  padding: 72px 64px;
  display: flex; flex-direction:column; justify-content:center;
  background: var(--bg-2);
}
.split-content .section-label { color: var(--text-dim); }
.split-content h2 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.2; letter-spacing:0;
  margin-bottom: 18px; color: var(--text);
}
.split-content h2 em { font-style:italic; color: var(--accent); }
.split-content p {
  font-family: var(--sans);
  font-size: 14px; line-height: 1.75;
  color: var(--text-sec); max-width: 420px; margin-bottom: 14px;
}
.split-stats {
  display: flex; gap: 36px; margin-top: 28px;
  padding-top: 24px; border-top: 1px solid var(--border);
}
.split-stat strong {
  display: block; font-family: var(--sans);
  font-size: 14px; font-weight: 600; color: var(--text);
  margin-bottom: 3px; letter-spacing:-0.2px;
}
.split-stat span { font-size: 12px; color: var(--text-dim); }

/* ── ACCORDION ───────────────────────────────────────── */
.services-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items:start;
}
.accordion-item { border-top: 1px solid var(--border); }
.accordion-item:last-child { border-bottom: 1px solid var(--border); }
.accordion-header {
  padding: 18px 0;
  display: flex; justify-content:space-between; align-items:center;
  cursor: pointer; user-select:none;
}
.accordion-header h3 {
  font-family: var(--sans);
  font-size: 14px; font-weight: 500; color: var(--text-sec);
  letter-spacing: -0.1px; transition: color 0.2s;
}
.accordion-item.active .accordion-header h3 { color: var(--text); }
.accordion-toggle {
  width: 20px; height:20px; display:flex; align-items:center;
  justify-content:center; color: var(--text-dim);
  font-size: 16px; transition: transform 0.25s; flex-shrink:0;
  font-family: var(--sans);
}
.accordion-body { max-height:0; overflow:hidden; transition: max-height 0.35s ease; }
.accordion-body-inner { padding: 0 0 20px; }
.accordion-body p {
  font-size: 14px; line-height: 1.65;
  color: var(--text-sec); max-width: 400px;
}
.accordion-item.active .accordion-toggle { transform: rotate(45deg); }
.accordion-item.active .accordion-body { max-height: 300px; }

/* ── CENTERED SECTION ────────────────────────────────── */
.centered { text-align:center; }
.centered .section-label { display:block; }
.centered .section-title { margin: 0 auto; }
.centered .section-sub { margin-left:auto; margin-right:auto; }

/* ── CHIPS ───────────────────────────────────────────── */
.chips-wrap {
  display: flex; flex-wrap:wrap; gap:8px;
  margin-top: 28px; justify-content:center;
}
.chip {
  padding: 8px 16px;
  background: var(--bg);
  border: none;
  border-radius: var(--r);
  font-size: 13px; color: var(--text-sec);
  cursor: pointer; font-family: var(--sans);
  transition: color 0.2s;
}
.chip:hover { color: var(--accent); }

/* ── STEPS ────────────────────────────────────────────── */
.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; margin-top: 52px;
  border-radius: var(--r);
  overflow:hidden;
}
.step {
  padding: 32px 28px;
}
.step:last-child { border-right:none; }
.step-num {
  font-family: var(--sans);
  font-size: 11px; color: var(--text-dim); margin-bottom: 18px;
  font-weight: 500; letter-spacing: 0.1em;
}
.step h3 {
  font-family: var(--sans);
  font-size: 14px; font-weight: 600; color: var(--text);
  margin-bottom: 8px; letter-spacing: -0.2px;
}
.step-accent {
  font-size: 13px; color: var(--accent); font-weight: 500;
  margin-bottom: 8px; line-height: 1.4;
}
.step p { font-size: 13px; line-height: 1.65; color: var(--text-sec); }

/* ── TESTIMONIALS ─────────────────────────────────────── */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; margin-top: 40px;
}
.t-card {
  background: var(--bg);
  border: none;
  border-radius: var(--r);
  padding: 28px 24px;
}
.t-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px; line-height: 1.65;
  color: var(--text); margin-bottom: 20px;
}
.t-author {
  font-size: 12px; color: var(--text-dim); font-weight: 400;
}

/* ── WAITLIST FORM ────────────────────────────────────── */
.waitlist-row {
  display: flex; gap: 8px; max-width: 420px; margin-top: 24px;
}
.waitlist-input {
  flex:1; padding: 11px 16px;
  background: var(--bg);
  border: none; border-radius: var(--r);
  font-size: 14px; color: var(--text); font-family: var(--sans);
  outline:none;
}
.waitlist-input::placeholder { color: var(--text-dim); }
.btn-submit {
  display: inline-block; background: var(--accent); color: #fff;
  padding: 11px 20px; font-size: 13px; font-weight: 600;
  border: none; border-radius: var(--r); cursor:pointer;
  font-family: var(--sans); white-space:nowrap;
  transition: opacity 0.2s;
}
.btn-submit:hover { opacity:0.85; }

/* ── CTA GRID ─────────────────────────────────────────── */
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cta-card {
  border-radius: var(--r); padding: 52px 44px;
}
.cta-card-1 { background: var(--bg-2); }
.cta-card-2 { background: var(--bg-3); }
.cta-card .section-label { margin-bottom: 18px; }
.cta-card h3 {
  font-size: clamp(22px, 2.5vw, 28px);
  line-height: 1.15; margin-bottom: 14px;
  letter-spacing: -0.3px; color: var(--text);
}
.cta-card h3 span { color: var(--text-dim); }
.cta-card p {
  font-family: var(--sans);
  font-size: 14px; color: var(--text-sec); line-height: 1.65;
  margin-bottom: 24px; max-width: 340px;
}

/* ── HPLUS BADGE ─────────────────────────────────────── */
.hplus-badge {
  display: inline-flex; align-items:center; gap:6px;
  padding: 7px 14px;
  background: var(--bg-2);
  border-radius: var(--r);
  font-size: 12px; color: var(--text-dim);
  margin-top: 18px; font-family: var(--sans);
}
.hplus-badge a {
  color: var(--text); font-weight: 600; text-decoration:none;
}
.hplus-badge a span { color: #2e8f60; }

/* ── FOOTER ───────────────────────────────────────────── */
footer {
  padding: 56px var(--px) 36px;
  background: var(--bg);
}
.footer-grid {
  max-width: var(--max-w); margin:0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand {
  display: flex; align-items:baseline; gap:1px; margin-bottom: 10px;
}
.footer-brand-r { font-size:16px; font-weight:600; color:var(--text); letter-spacing:-0.3px; }
.footer-brand-i { font-family:var(--serif); font-size:17px; font-style:italic; color:var(--accent); }
.footer-tagline { font-size: 13px; color: var(--text-dim); line-height: 1.6; max-width:240px; }
.footer-col h4 {
  font-size: 12px; color: var(--text-dim);
  margin-bottom: 14px; font-weight: 500;
}
.footer-col a {
  display: block; font-size: 13px; color: var(--text-sec);
  text-decoration: none; margin-bottom: 9px; transition: color 0.15s;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  max-width: var(--max-w); margin: 0 auto;
  padding-top: 20px; border-top: 1px solid var(--border-l);
  font-size: 12px; color: var(--text-dim);
  display: flex; justify-content:space-between; align-items:center;
}
.footer-bottom a { color: var(--text-sec); text-decoration:none; }
.footer-bottom a:hover { color: var(--text); }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-image { height: 56vw; max-height: 420px; order:-1; }
  .hero-content {
    padding: 56px var(--px);
    padding-left: var(--px);
  }
  .split { grid-template-columns: 1fr; border-top:none; border-bottom:none; }
  .split.reversed .split-img,
  .split.reversed .split-content { order: unset; }
  .split-img { height: 340px; }
  .services-grid { grid-template-columns: 1fr; gap:48px; }
  .steps-grid { grid-template-columns: repeat(2,1fr); }
  .steps-grid .step:nth-child(2) { border-right:none; }
  .steps-grid .step:nth-child(1),
  .steps-grid .step:nth-child(2) { border-bottom: 1px solid var(--border); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display:none; }
  .hero-stats { flex-direction:column; gap:20px; }
  .hero-stat { border-right:none; padding-right:0; margin-right:0; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid .step { border-right:none; border-bottom: 1px solid var(--border); }
  .steps-grid .step:last-child { border-bottom:none; }
  .split-content { padding: 48px 24px; }
  .section-inner { padding: 64px 24px; }
  .cta-card { padding: 36px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .waitlist-row { flex-direction: column; max-width:100%; }
}

/* ── AI COMPANION SECTION ────────────────────────────── */
.ai-section {
  background: var(--bg);
}
.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.ai-features {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
}
.ai-feature {
  padding: 18px 0;
  border-top: 1px solid var(--border);
}
.ai-feature:last-child { border-bottom: 1px solid var(--border); }
.ai-feature-title {
  display: block;
  font-size: 14px; font-weight: 600;
  color: var(--text); margin-bottom: 3px; letter-spacing: -0.1px;
}
.ai-feature-desc {
  display: block;
  font-size: 13px; color: var(--text-sec); line-height: 1.6;
}

.ai-preview {
  background: var(--bg-2);
  border-radius: 10px;
  overflow: hidden;
}
.ai-chat-header {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px;
  background: var(--bg);
}
.ai-chat-avatar {
  width: 34px; height: 34px;
  background: var(--accent-bg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600; color: var(--accent);
  flex-shrink: 0;
}
.ai-chat-name {
  font-size: 13px; font-weight: 600;
  color: var(--text); letter-spacing: -0.1px;
}
.ai-chat-status {
  font-size: 11px; color: var(--text-dim); margin-top: 1px;
}
.ai-chat-body {
  padding: 20px 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.ai-msg { display: flex; flex-direction: column; max-width: 82%; }
.ai-msg span {
  font-size: 13px; line-height: 1.55;
  padding: 10px 14px; border-radius: 10px;
}
.ai-msg time {
  font-size: 10px; color: var(--text-dim);
  margin-top: 3px; font-family: var(--sans);
}
.ai-msg-in { align-self: flex-start; }
.ai-msg-in span {
  background: var(--bg); color: var(--text);
  border-bottom-left-radius: 3px;
}
.ai-msg-in time { align-self: flex-start; padding-left: 4px; }
.ai-msg-out { align-self: flex-end; }
.ai-msg-out span {
  background: var(--accent-bg); color: var(--text);
  border-bottom-right-radius: 3px;
}
.ai-msg-out time { align-self: flex-end; padding-right: 4px; }
.ai-system-msg {
  align-self: center;
  font-size: 11px; color: var(--text-dim);
  background: var(--bg-3);
  padding: 5px 12px; border-radius: 4px; margin-top: 4px;
}

@media (max-width: 1024px) {
  .ai-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ── NAV PLATFORM LINK ───────────────────────────────── */
.nav-platform {
  font-size: 13px; font-weight: 500;
  color: var(--accent); background: var(--accent-bg);
  padding: 6px 12px; border-radius: 6px;
  text-decoration: none; white-space: nowrap;
  transition: background 0.18s, color 0.18s;
}
.nav-platform:hover { background: var(--accent); color: #fff; }

/* ── PLATFORM PREVIEW MOCKUP ─────────────────────────── */
.platform-preview {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(45,26,14,0.12), 0 1px 4px rgba(45,26,14,0.08);
  background: #1c0f07;
  font-family: var(--sans);
}

.platform-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: #2d1a0e;
}
.platform-logo {
  font-family: var(--serif);
  font-size: 15px;
  color: #e8c99a;
  letter-spacing: -0.2px;
  white-space: nowrap;
}
.platform-logo em { font-style: italic; }
.platform-divider {
  width: 1px; height: 14px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}
.platform-label {
  font-size: 11px;
  color: rgba(232,201,154,0.55);
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.platform-status {
  display: flex; align-items: center; gap: 5px;
  font-size: 11px; color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.06);
  padding: 3px 9px; border-radius: 20px;
}
.platform-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4caf88;
  box-shadow: 0 0 6px rgba(76,175,136,0.7);
}

.platform-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 320px;
}

/* Chat panel */
.platform-chat {
  display: flex; flex-direction: column;
  overflow: hidden;
}
.platform-chat-header {
  padding: 12px 14px 10px;
}
.platform-chat-title {
  font-size: 12px; font-weight: 600;
  color: rgba(232,201,154,0.9);
  margin-bottom: 2px;
}
.platform-chat-title em { font-style: italic; }
.platform-chat-sub {
  font-size: 10px; color: rgba(255,255,255,0.35);
  line-height: 1.4;
}
.platform-progress {
  padding: 8px 14px;
}
.platform-progress-steps {
  display: flex; gap: 4px; flex-wrap: wrap;
}
.ps {
  font-size: 9px; padding: 2px 7px;
  border-radius: 3px; color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.04);
}
.ps.active {
  color: #e8c99a;
  background: rgba(139,90,50,0.25);
}
.platform-msgs {
  flex: 1; overflow: hidden;
  display: flex; flex-direction: column; gap: 7px;
  padding: 12px 14px;
}
.pm { display: flex; max-width: 88%; }
.pm span {
  font-size: 11px; line-height: 1.5;
  padding: 7px 10px; border-radius: 8px;
}
.pm-in { align-self: flex-start; }
.pm-in span {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.75);
  border-bottom-left-radius: 2px;
}
.pm-out { align-self: flex-end; }
.pm-out span {
  background: rgba(139,90,50,0.3);
  color: rgba(232,201,154,0.9);
  border-bottom-right-radius: 2px;
}

/* Report panel */
.platform-report {
  display: flex; flex-direction: column;
  overflow: hidden;
}
.platform-report-header {
  font-size: 11px; font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.3px;
  padding: 12px 14px 10px;
}
.platform-report-section {
  padding: 10px 14px;
}
.platform-report-section.prs-muted { opacity: 0.45; }
.prs-title {
  font-size: 10px; font-weight: 600;
  color: rgba(255,255,255,0.55);
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 6px;
}
.prs-badge {
  font-size: 9px; padding: 1px 5px; border-radius: 3px; font-weight: 700;
}
.prs-done { background: rgba(76,175,136,0.2); color: #4caf88; }
.prs-progress { background: rgba(232,201,154,0.15); color: #e8c99a; }
.prs-items { display: flex; flex-direction: column; gap: 4px; }
.prs-item {
  font-size: 10px; padding: 4px 8px; border-radius: 4px;
  line-height: 1.4;
}
.prs-red {
  background: rgba(220,80,60,0.15); color: rgba(255,130,110,0.9);
}
.prs-amber {
  background: rgba(200,150,60,0.12); color: rgba(230,185,100,0.9);
}
.prs-dim { color: rgba(255,255,255,0.25); font-style: italic; }

@media (max-width: 900px) {
  .platform-body { grid-template-columns: 1fr; height: auto; }
  .platform-chat { max-height: 260px; }
  .platform-report { display: none; }
}

/* ── ANIMATION ───────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity:0; transform: translateY(12px); }
  to   { opacity:1; transform: translateY(0); }
}
.hero-content > * { animation: fadeUp 0.65s cubic-bezier(0.25,0,0,1) both; }
.hero-content > :nth-child(1) { animation-delay: 0.05s; }
.hero-content > :nth-child(2) { animation-delay: 0.1s; }
.hero-content > :nth-child(3) { animation-delay: 0.15s; }
.hero-content > :nth-child(4) { animation-delay: 0.2s; }
.hero-content > :nth-child(5) { animation-delay: 0.25s; }
.hero-content > :nth-child(6) { animation-delay: 0.3s; }
