/* ============================================================
   SystemBrain — Styles
   ============================================================ */

:root {
  --bg: #f4f3ee;
  --black: #0c0c0a;
  --accent: #e05a3a;
  --muted: #6b6a63;
  --mid: #9a9992;
  --border: #e2e1db;
  --card: #ffffff;
  --dark-bg: #0f0f0f;
  --dark-card: #181816;
  --dark-border: #262624;

  --serif: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --radius: 14px;
  --radius-lg: 20px;
  --maxw: 1200px;

  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--black);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ---------- Type ---------- */
.display {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 12px 0 18px;
  color: var(--black);
}
.display em { font-style: italic; }

.section-title,
.section-title-light {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 12px 0 16px;
}
.section-title-light { color: #fff; }
.section-title em { font-style: italic; }
.section-title-light em { font-style: italic; }
.accent { color: var(--accent); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow-light { color: rgba(255,255,255,0.7); }
.eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

.lede {
  font-size: 1.08rem;
  font-weight: 450;
  line-height: 1.55;
  color: var(--black);
  max-width: 540px;
  margin: 0 0 24px;
}

.muted-light { color: rgba(255,255,255,0.7); max-width: 540px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--black);
  color: #fff;
}
.btn-primary:hover { box-shadow: 0 8px 20px -10px rgba(12,12,10,0.6); }

.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover { box-shadow: 0 8px 24px -10px rgba(224,90,58,0.7); }

.btn-dark {
  background: var(--black);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--black);
}
.btn-light:hover { box-shadow: 0 8px 24px -10px rgba(255,255,255,0.4); }

.btn-block { width: 100%; }
.btn-sm { padding: 10px 16px; font-size: 0.88rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244,243,238,0.7);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.nav.scrolled {
  box-shadow: 0 1px 0 rgba(12,12,10,0.04), 0 8px 24px -16px rgba(12,12,10,0.18);
  border-bottom-color: var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}
.brand-name { font-family: var(--sans); }
.brand-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}
.brand-light { color: #fff; }

.nav-links {
  display: flex;
  gap: 30px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--black);
}
.nav-links a {
  position: relative;
  padding: 6px 2px;
  color: var(--black);
  opacity: 0.85;
  transition: opacity .18s var(--ease);
}
.nav-links a:hover { opacity: 1; }
.nav-links a.is-active { opacity: 1; }
.nav-links a.is-active::after {
  content: "";
  display: block;
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0;
  cursor: pointer;
  position: relative;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease), top .25s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 25px; }
.nav.is-open .nav-toggle span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav-toggle span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

@media (max-width: 760px) {
  .nav-inner { gap: 12px; }
  .nav-toggle {
    display: inline-flex;
    order: 2;
    margin-left: auto;
  }
  .nav-cta {
    order: 3;
    padding: 10px 16px;
    font-size: 0.85rem;
  }
  .brand { order: 1; }
  .nav-links { order: 4; }
  /* Hide chat widget while menu is open */
  body.nav-open chat-widget,
  body.nav-open #chat-widget,
  body.nav-open [id*="leadconnector"],
  body.nav-open iframe[src*="leadconnector"] { display: none !important; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    left: 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    z-index: 90;
    box-shadow: 0 24px 60px -24px rgba(12,12,10,0.25);
  }
  .nav.is-open .nav-links { display: flex; }
  .nav-links a {
    padding: 14px 14px;
    font-size: 1rem;
    font-family: var(--sans);
    font-weight: 500;
    border-radius: 10px;
    opacity: 0.85;
  }
  .nav-links a:hover,
  .nav-links a.is-active { background: var(--bg); opacity: 1; }
  .nav-links a.is-active::after { display: none; }
  .nav-links .mobile-cta { display: none; }
}

/* ---------- Page header (about/contact) ---------- */
.page-header {
  padding: clamp(40px, 5vw, 72px) 0 clamp(32px, 4vw, 56px);
}
.page-header .display { margin-top: 12px; }
.page-header .lede { max-width: 680px; }

/* ---------- About — centered editorial header ---------- */
.about-header {
  padding: clamp(64px, 9vw, 140px) 0 clamp(40px, 5vw, 72px);
  text-align: center;
}
.about-header > .container {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.about-display {
  margin: 0 auto;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 5.4vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.012em;
  color: var(--black, #0e0e0c);
  max-width: 18ch;
  text-wrap: balance;
}
.about-display em {
  font-style: italic;
  color: var(--accent);
  font-family: 'Instrument Serif', 'EB Garamond', Georgia, serif;
}

.about-lede {
  margin: clamp(20px, 2.4vw, 28px) auto 0;
  max-width: 56ch;
  font-size: clamp(1rem, 1.1vw, 1.12rem);
  line-height: 1.7;
  color: var(--muted);
  text-wrap: pretty;
}

@media (max-width: 640px) {
  .about-header { padding: 48px 0 32px; text-align: left; }
  .about-display {
    font-size: clamp(1.9rem, 9vw, 2.6rem);
    max-width: none;
    text-align: left;
  }
  .about-lede {
    margin-top: 18px;
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
  }
}

/* ---------- Contact list ---------- */
.contact-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
  max-width: 420px;
}
.contact-list li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  font-size: 1rem;
}
.contact-list li:last-child { border-bottom: 1px solid var(--border); }
.contact-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.contact-list a:hover {
  color: var(--accent);
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(40px, 5vw, 72px) 0 clamp(44px, 6vw, 84px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  gap: 8px;
  font-size: 0.98rem;
}
.hero-bullets li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 0.98rem;
}
.hero-bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.65em;
  width: 10px; height: 1px;
  background: var(--accent);
}

.hero-form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 30px 60px -40px rgba(12,12,10,0.25), 0 1px 0 rgba(12,12,10,0.02);
}
.form-tag {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(224,90,58,0.08);
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.form-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.85rem;
  line-height: 1.1;
  margin: 0 0 6px;
}
.form-sub {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.95rem;
}
.demo-form { display: grid; gap: 12px; }
.field {
  display: grid;
  gap: 6px;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--muted);
}
.field input {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1rem;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--black);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
  outline: none;
}
.field input:focus {
  border-color: var(--black);
  box-shadow: 0 0 0 4px rgba(12,12,10,0.06);
}
.form-fineprint {
  margin: 4px 0 0;
  text-align: center;
  color: var(--mid);
  font-size: 0.8rem;
}

/* ---------- Dark sections ---------- */
.dark { background: var(--dark-bg); color: #fff; }

/* ---------- Calculator ---------- */
.calc { padding: clamp(60px, 8vw, 110px) 0; }
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 920px) {
  .calc-grid { grid-template-columns: 1fr; }
}
.calc-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.slider-row { margin-bottom: 22px; }
.slider-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 10px;
}
.slider-label strong {
  color: #fff;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.4rem;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.12);
  border-radius: 999px;
  outline: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #fff;
  box-shadow: 0 4px 14px -4px rgba(224,90,58,0.7);
  cursor: pointer;
  transition: transform .15s var(--ease);
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.08); }
input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #fff;
  cursor: pointer;
}

.calc-result {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 0 24px;
  margin: 8px 0 22px;
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
}
.calc-result-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.calc-result-figure {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.01em;
}

/* ---------- Section heads ---------- */
.section-head {
  max-width: 760px;
  margin-bottom: 40px;
}
.section-sub {
  color: var(--muted);
  max-width: 560px;
  font-size: 1.02rem;
}

/* ---------- Products ---------- */
.products {
  background: #fff;
  padding: clamp(60px, 8vw, 110px) 0;
}
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
@media (max-width: 820px) {
  .product-grid { grid-template-columns: 1fr; }
}

.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.product-card:hover {
  transform: translateY(-2px);
  border-color: #cfcec6;
  box-shadow: 0 24px 50px -36px rgba(12,12,10,0.25);
}
.product-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1.15;
  margin: 14px 0 10px;
}
.product-card p { color: var(--muted); margin: 0 0 18px; }

/* Product visuals */
.product-visual {
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 18px;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Chat */
.visual-chat { background: #eeedfe; }
.chat-mock { display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 320px; }
.chat-bubble {
  font-size: 0.9rem;
  line-height: 1.35;
  padding: 10px 14px;
  border-radius: 14px;
  max-width: 80%;
}
.chat-bubble.in {
  background: #fff;
  color: var(--black);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.chat-bubble.out {
  background: #3c3489;
  color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
.chat-bubble.short { max-width: 120px; }

/* Voice */
.visual-voice {
  background: #e1f5ee;
  position: relative;
}
.voice-mock {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.voice-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #0f6e56;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px -12px rgba(15,110,86,0.6);
  position: relative;
  z-index: 2;
}
.voice-ring,
.voice-ring.r2 {
  position: absolute;
  top: 50%; left: 50%;
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 2px solid rgba(15,110,86,0.35);
  transform: translate(-50%, -50%);
  animation: voice-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
.voice-ring.r2 { animation-delay: 1.2s; }
.voice-mock { padding-top: 6px; }
.voice-mock .voice-ring,
.voice-mock .voice-ring.r2 { top: 36px; }
.voice-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #0f6e56;
  letter-spacing: 0.02em;
}
@keyframes voice-pulse {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(2.1); opacity: 0; }
}

/* Answering */
.visual-answer { background: #faeeda; }
.call-mock {
  width: 100%;
  max-width: 380px;
  background: #fff;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 18px 40px -28px rgba(99,56,6,0.4);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.call-head { display: flex; align-items: center; gap: 12px; }
.call-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #e05a3a;
  box-shadow: 0 0 0 0 rgba(224,90,58,0.5);
  animation: call-pulse 1.6s ease-out infinite;
  flex-shrink: 0;
}
.call-meta { flex: 1; min-width: 0; }
.call-label { font-weight: 600; font-size: 0.9rem; color: var(--black); }
.call-sub { font-size: 0.8rem; color: var(--muted); margin-top: 2px; }
.call-head svg { color: #633806; }
.waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 28px;
}
.waveform i {
  flex: 1;
  background: #633806;
  border-radius: 2px;
  opacity: 0.85;
  animation: wave 1.4s ease-in-out infinite;
}
.waveform i:nth-child(1) { height: 30%; animation-delay: 0s; }
.waveform i:nth-child(2) { height: 60%; animation-delay: 0.05s; }
.waveform i:nth-child(3) { height: 80%; animation-delay: 0.1s; }
.waveform i:nth-child(4) { height: 50%; animation-delay: 0.15s; }
.waveform i:nth-child(5) { height: 90%; animation-delay: 0.2s; }
.waveform i:nth-child(6) { height: 40%; animation-delay: 0.25s; }
.waveform i:nth-child(7) { height: 70%; animation-delay: 0.3s; }
.waveform i:nth-child(8) { height: 55%; animation-delay: 0.35s; }
.waveform i:nth-child(9) { height: 85%; animation-delay: 0.4s; }
.waveform i:nth-child(10) { height: 35%; animation-delay: 0.45s; }
.waveform i:nth-child(11) { height: 65%; animation-delay: 0.5s; }
.waveform i:nth-child(12) { height: 75%; animation-delay: 0.55s; }
.waveform i:nth-child(13) { height: 45%; animation-delay: 0.6s; }
.waveform i:nth-child(14) { height: 90%; animation-delay: 0.65s; }
.waveform i:nth-child(15) { height: 30%; animation-delay: 0.7s; }
.waveform i:nth-child(16) { height: 60%; animation-delay: 0.75s; }
.waveform i:nth-child(17) { height: 80%; animation-delay: 0.8s; }
.waveform i:nth-child(18) { height: 50%; animation-delay: 0.85s; }
.waveform i:nth-child(19) { height: 70%; animation-delay: 0.9s; }
.waveform i:nth-child(20) { height: 40%; animation-delay: 0.95s; }
@keyframes wave {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}
@keyframes call-pulse {
  0% { box-shadow: 0 0 0 0 rgba(224,90,58,0.5); }
  100% { box-shadow: 0 0 0 12px rgba(224,90,58,0); }
}

/* Wide product visual layout */
.product-wide-visual { align-items: center; }
.product-wide-visual .product-visual { margin-bottom: 0; min-height: 180px; }

.product-wide { padding: 32px; margin-bottom: 28px; }
.product-wide-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 820px) {
  .product-wide-grid { grid-template-columns: 1fr; }
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.feature-list li {
  position: relative;
  padding-left: 22px;
  color: var(--black);
  font-size: 0.95rem;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.65em;
  width: 10px; height: 1px;
  background: var(--accent);
}

/* Tags */
.tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}
.tag-chat { background: #eeedfe; color: #3c3489; }
.tag-voice { background: #e1f5ee; color: #0f6e56; }
.tag-answer { background: #faeeda; color: #633806; }
.tag-website { background: #e6f1fb; color: #185fa5; }
.tag-custom { background: #f1efe8; color: #5f5e5a; }

/* Custom banner */
.custom-banner {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
}
.custom-cta { margin-top: 18px; }
@media (max-width: 820px) {
  .custom-banner { grid-template-columns: 1fr; }
}

/* Custom builds dashboard mock */
.visual-custom { background: #e6f1fb; min-height: 240px; padding: 18px; }
.dash-mock {
  width: 100%;
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 18px 40px -28px rgba(24,95,165,0.4);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dash-head {
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #eef1f5;
  padding-bottom: 10px;
}
.dash-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #d8dde4;
}
.dash-dot:first-child { background: #f5a6a6; }
.dash-dot:nth-child(2) { background: #f5d49a; }
.dash-dot:nth-child(3) { background: #a6d8b3; }
.dash-title {
  margin-left: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #5f5e5a;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.dash-stat {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.dash-stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 4px;
}
.dash-stat-value {
  font-family: var(--serif);
  font-size: 1.8rem;
  line-height: 1;
  color: var(--black);
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.dash-trend {
  font-family: var(--sans, inherit);
  font-size: 0.7rem;
  font-weight: 600;
  color: #185fa5;
  background: #e6f1fb;
  padding: 2px 6px;
  border-radius: 4px;
}
.dash-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  width: 90px;
  height: 36px;
}
.dash-bars i {
  flex: 1;
  background: linear-gradient(to top, #185fa5, #4a8fd1);
  border-radius: 2px;
  opacity: 0.9;
}
.dash-rows { display: flex; flex-direction: column; gap: 6px; }
.dash-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  padding: 6px 0;
  border-top: 1px solid #f3f5f8;
}
.dash-row:first-child { border-top: 0; }
.dash-row-dot {
  width: 7px; height: 7px; border-radius: 50%;
  flex-shrink: 0;
}
.dash-row-dot.ok { background: #2fa56b; }
.dash-row-dot.pending { background: #d49a3a; }
.dash-row-label { flex: 1; color: var(--black); }
.dash-row-val { color: var(--muted); font-weight: 600; }
.custom-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.15;
  margin: 12px 0 8px;
}
.custom-sub { color: var(--muted); margin: 0 0 14px; max-width: 560px; }
.custom-tags { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Features ---------- */
.features {
  background: var(--bg);
  padding: clamp(60px, 8vw, 110px) 0;
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 920px) {
  .features-grid { grid-template-columns: 1fr; }
}

.feature-block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
}
.feature-block:last-child { border-bottom: 1px solid var(--border); }
.feature-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--accent);
}
.feature-block h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.4rem;
  margin: 0 0 6px;
}
.feature-block p { color: var(--muted); margin: 0; }

/* Chat mock */
.chat-mock {
  display: flex;
  justify-content: center;
}
.chat-window {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 40px 80px -50px rgba(12,12,10,0.35), 0 1px 0 rgba(12,12,10,0.02);
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
}
.chat-header strong { display: block; font-weight: 600; font-size: 0.95rem; }
.chat-sub { color: var(--mid); font-size: 0.78rem; }
.chat-dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e05a3a, #b94528);
  position: relative;
}
.chat-dot::after {
  content: "";
  position: absolute;
  bottom: 0; right: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #2dbb6e;
  border: 2px solid #fff;
}
.chat-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fafaf6;
  min-height: 320px;
}
.bubble {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.4;
}
.bubble-in {
  background: #fff;
  border: 1px solid var(--border);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.bubble-out {
  background: var(--black);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.chat-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  color: var(--mid);
  font-size: 0.9rem;
}
.chat-send {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

/* ---------- CTA Band ---------- */
.cta-band {
  padding: clamp(60px, 8vw, 110px) 0;
  text-align: center;
  background: #f0d2c3;
}
.cta-band.dark { background: #f0d2c3; }
.cta-band .section-title-light { color: var(--black); }
.cta-band .muted-light { color: rgba(12,12,10,0.7); }
.cta-band .btn-light {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.cta-band .btn-light:hover {
  background: #c94e30;
  border-color: #c94e30;
  box-shadow: 0 8px 24px -10px rgba(224,90,58,0.45);
}
.cta-inner { max-width: 720px; margin: 0 auto; }
.cta-inner .muted-light { margin: 0 auto 24px; }
.cta-inner .btn { margin: 0 auto; }
.cta-fineprint {
  margin-top: 14px;
  color: rgba(12,12,10,0.55);
  font-size: 0.82rem;
}

/* ---------- How ---------- */
.how {
  background: #fff;
  padding: clamp(60px, 8vw, 110px) 0;
}
.how .section-head { margin-bottom: clamp(36px, 5vw, 56px); }

.steps-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  counter-reset: step;
}

/* Hairline connector across desktop row */
.steps-grid::before {
  content: "";
  position: absolute;
  top: 56px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border) 12%, var(--border) 88%, transparent);
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 820px) {
  .steps-grid { grid-template-columns: 1fr; gap: 16px; }
  .steps-grid::before {
    top: 0; bottom: 0; left: 28px; right: auto;
    width: 1px; height: auto;
    background: linear-gradient(to bottom, transparent, var(--border) 8%, var(--border) 92%, transparent);
  }
}

.step-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.step-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 18px 40px -28px rgba(224, 90, 58, 0.45);
}

.step-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
  margin-bottom: 14px;
}

.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.6rem, 4.4vw, 3.6rem);
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.01em;
}

.step-when {
  font-family: var(--sans, system-ui);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--bg);
  white-space: nowrap;
}
.step-when--live {
  color: var(--accent);
  border-color: rgba(224, 90, 58, 0.35);
  background: rgba(224, 90, 58, 0.08);
  position: relative;
  padding-left: 18px;
}
.step-when--live::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
  box-shadow: 0 0 0 0 rgba(224, 90, 58, 0.6);
  animation: liveDot 1.8s ease-out infinite;
}
@keyframes liveDot {
  0%   { box-shadow: 0 0 0 0 rgba(224, 90, 58, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(224, 90, 58, 0); }
  100% { box-shadow: 0 0 0 0 rgba(224, 90, 58, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .step-when--live::before { animation: none; }
  .step-card { transition: none; }
}

.step-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.step-icon svg { width: 20px; height: 20px; display: block; }

.step-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.55rem;
  line-height: 1.15;
  margin: 0 0 10px;
  letter-spacing: -0.005em;
}
.step-card p { color: var(--muted); margin: 0; line-height: 1.6; }

/* ---------- Manifesto (What we're not) ---------- */
.manifesto {
  padding: clamp(60px, 8vw, 110px) 0;
}
.manifesto .section-head { margin-bottom: clamp(40px, 6vw, 72px); }

.manifesto-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255,255,255,0.10);
}

.manifesto-item {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: baseline;
  padding: clamp(28px, 4vw, 44px) 0;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  transition: background .35s var(--ease);
}
.manifesto-item:hover {
  background: linear-gradient(to right, rgba(224,90,58,0.04), transparent 70%);
}

.manifesto-strike {
  position: relative;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.55);
  margin: 0;
  padding-left: clamp(48px, 6vw, 72px);
  text-decoration: line-through;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-decoration-skip-ink: none;
  transition: color .35s var(--ease), text-decoration-thickness .25s var(--ease);
}
/* "Not" label sitting in the gutter */
.manifesto-strike::before {
  content: "Not";
  position: absolute;
  left: 0;
  top: 0.55em;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1;
  text-decoration: none;
}
.manifesto-item:hover .manifesto-strike {
  color: rgba(255,255,255,0.82);
  text-decoration-thickness: 3px;
}

.manifesto-body {
  margin: 0;
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 46ch;
}

@media (max-width: 820px) {
  .manifesto-item {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 28px 0;
  }
  .manifesto-strike { font-size: clamp(1.7rem, 7.5vw, 2.4rem); }
}

@media (prefers-reduced-motion: reduce) {
  .manifesto-strike::after { transition: none; }
  .manifesto-item { transition: none; }
}

/* ---------- Footer ---------- */
.footer { padding: 70px 0 24px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--dark-border);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

.footer-tag {
  margin: 16px 0 22px;
  color: rgba(255,255,255,0.65);
  max-width: 320px;
}
.footer-h {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 0 0 16px;
  font-weight: 500;
}
.footer-links {
  list-style: none;
  margin: 0; padding: 0;
  display: grid; gap: 10px;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}
.footer-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.footer-bar a:hover { color: #fff; }
@media (max-width: 760px) {
  .footer-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}
