:root {
  --brand: #29c0f2;
  --brand-dark: #0e9fd0;
  --ink: #3b2f2a;
  --ink-soft: #6f6158;
  --line: #ecdfcd;
  --tint: #f7efe4;
  --cream: #fdf8f1;
  --bg: #fffcf7;
  --radius: 18px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.accent { color: var(--brand); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.25rem;
}

.brand img { border-radius: 8px; }

.nav { display: flex; align-items: center; gap: 28px; }

.nav a {
  text-decoration: none;
  font-weight: 700;
  color: var(--ink-soft);
}

.nav a:hover { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:hover { background: var(--brand-dark); transform: translateY(-1px); }

.btn-small { padding: 8px 18px; }

.btn-ghost {
  background: transparent;
  color: var(--ink) !important;
  border: 2px solid var(--line);
}

.btn-ghost:hover { background: var(--tint); }

.btn-light { background: #fff; color: var(--ink) !important; }
.btn-light:hover { background: var(--tint); }

/* Hero */
.hero { padding: 80px 0 64px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-dark);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.1;
  font-weight: 900;
  margin: 0 0 20px;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  line-height: 1.2;
  font-weight: 900;
  margin: 0 0 16px;
}

h3 { margin: 0 0 8px; font-size: 1.15rem; }

.lede { font-size: 1.2rem; color: var(--ink-soft); margin: 0 0 32px; }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-art img { max-width: 420px; margin: 0 auto; }

/* Channels strip */
.channels {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  text-align: center;
}

.channels-label {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.channel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 40px;
  font-weight: 900;
  font-size: 1.2rem;
}

/* Sections */
.section { padding: 88px 0; }
.section-tint { background: var(--tint); }
.section-lede { color: var(--ink-soft); font-size: 1.1rem; margin: 0 0 28px; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: #fff;
}

.card h3::before {
  content: "";
  display: block;
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: var(--brand);
  margin-bottom: 16px;
}

.card p { margin: 0; color: var(--ink-soft); }

.pill-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 700;
}

.why {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
}

.why p { color: var(--ink-soft); font-size: 1.08rem; }

.checks {
  list-style: none;
  padding: 32px;
  margin: 0;
  border-radius: var(--radius);
  background: var(--tint);
}

.checks li {
  position: relative;
  padding-left: 34px;
  margin: 14px 0;
  font-weight: 700;
}

.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 0.8rem;
  display: grid;
  place-items: center;
}

/* Contact */
.contact { background: var(--ink); color: #fff; text-align: center; }
.contact p { color: #c9d2dd; font-size: 1.1rem; margin: 0 0 28px; }

/* Footer */
.site-footer {
  padding: 28px 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

/* Responsive */
@media (max-width: 860px) {
  .hero { padding: 48px 0; }
  .hero-grid, .why { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-grid > .phone { margin-top: 8px; }
  .hero-art img { max-width: 240px; }
  .grid { grid-template-columns: 1fr; }
  .nav a:not(.btn) { display: none; }
  .section { padding: 64px 0; }
  .wrap { padding: 0 16px; }
}

/* ---------- v2 additions ---------- */
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--ink-soft); font-size: 1.08rem; }

.channel-inline {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  font-weight: 900; color: var(--ink-soft); font-size: 0.95rem;
}

/* Phone mockup */
.phone {
  max-width: 360px; margin: 0 auto; width: 100%;
  border: 1px solid var(--line); border-radius: 28px;
  background: #fff; box-shadow: 0 24px 60px rgba(16, 24, 40, 0.12);
  overflow: hidden;
}
.phone-head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; border-bottom: 1px solid var(--line);
}
.phone-head img { border-radius: 6px; }
.phone-head span { display: block; font-size: 0.8rem; color: var(--ink-soft); }
.chat { padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #f7f9fb; }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 16px; font-size: 0.92rem; line-height: 1.45; }
.msg.guest { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg.biz { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.msg.human { background: var(--ink); }
.msg .cmds { display: block; margin-top: 8px; font-weight: 700; font-size: 0.82rem; opacity: 0.95; }

/* Dark problem section */
.section-dark { background: #fdf6ec; color: var(--ink); }
.eyebrow-light { color: var(--brand-dark); }
.section-lede.light { color: #c9d2dd; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-dark { background: #1b2433; border-color: #2a3547; }
.card-dark p { color: #c9d2dd; }
.promise {
  margin: 40px 0 0; padding: 24px 28px; border-left: 4px solid var(--brand);
  background: #1b2433; border-radius: 8px; font-size: 1.15rem;
}

.big-quote {
  margin: 0 0 24px; font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1.35; font-weight: 900;
}

/* Steps */
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 16px; }
.steps li {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 28px 24px 84px;
}
.steps p { margin: 0; color: var(--ink-soft); }
.step-num {
  position: absolute; left: 24px; top: 22px; width: 40px; height: 40px;
  border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-weight: 900;
}
code {
  background: var(--tint); border: 1px solid var(--line); border-radius: 6px;
  padding: 1px 6px; font-size: 0.9em;
}

/* Split + quote */
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.quote-card {
  background: var(--tint); border-radius: var(--radius); padding: 36px;
  border-left: 6px solid var(--brand);
}
.quote-card p { margin: 0 0 16px; font-size: 1.2rem; font-style: italic; }
.quote-card span { font-weight: 700; color: var(--ink-soft); }

.pillar h3 { font-size: 1.4rem; }
.footnote { margin: 28px 0 0; color: var(--ink-soft); font-style: italic; }

/* Layers */
.layers { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: layer; }
.layers li {
  counter-increment: layer; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px 18px 64px; position: relative; background: #fff;
}
.layers li::before {
  content: counter(layer); position: absolute; left: 20px; top: 18px;
  width: 30px; height: 30px; border-radius: 8px; background: var(--tint);
  color: var(--brand-dark); font-weight: 900; display: grid; place-items: center;
}
.layers li:nth-child(2) { margin-left: 16px; }
.layers li:nth-child(3) { margin-left: 32px; }
.layers strong { display: block; }
.layers span { color: var(--ink-soft); font-size: 0.95rem; }

@media (max-width: 860px) {
  .grid-2, .split { grid-template-columns: 1fr; }
  .phone { order: 2; }
  .layers li:nth-child(n) { margin-left: 0; }
  .steps li { padding-left: 76px; }
}

/* ---------- v3 additions ---------- */
.story { font-size: 1.25rem; color: var(--ink-soft); margin: 0 0 18px; }
.story.strong { color: var(--ink); font-weight: 700; }
.story-dark { font-size: 1.2rem; color: var(--ink-soft); }
.msg.note {
  align-self: flex-end; background: #fef6e7; color: #7a5200;
  border: 1px dashed #f2b544; font-size: 0.85rem; font-style: italic;
}
.plain-list { padding-left: 20px; margin: 20px 0 0; font-size: 1.1rem; }
.plain-list li { margin: 10px 0; color: var(--ink-soft); }
.plain-list li::marker { color: var(--brand); }

/* ---------- channels-in-one ---------- */
.channels-split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; margin-top: 12px; }
.funnel { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.funnel-sources { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.funnel-sources span {
  background: #1b2433; border: 1px solid #2a3547; color: #fff;
  border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: 0.95rem;
}
.funnel-arrow { font-size: 2rem; color: var(--brand); line-height: 1; }
.funnel-target {
  display: flex; align-items: center; gap: 14px; background: #fff; color: var(--ink);
  border-radius: var(--radius); padding: 16px 22px; box-shadow: 0 0 0 4px rgba(41, 192, 242, 0.35);
}
.funnel-target img { border-radius: 8px; }
.funnel-target span { display: block; font-size: 0.85rem; color: var(--ink-soft); }
@media (max-width: 860px) { .channels-split { grid-template-columns: 1fr; } }

/* ---------- problem / fix ---------- */
.pains { margin-top: 28px; }
.pain { position: relative; padding-top: 64px; }
.pain h3::before { display: none; }
.pain p + p { margin-top: 12px; }
.pain-num {
  position: absolute; top: 22px; left: 28px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 900; display: grid; place-items: center;
}
.center-text { text-align: center; margin: 40px auto 0 !important; max-width: 760px; font-size: 1.35rem !important; }
.solution {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center;
  margin-top: 64px; padding-top: 56px; border-top: 1px solid #2a3547;
}
@media (max-width: 860px) { .solution { grid-template-columns: 1fr; } }

/* ---------- seven-channel pills ---------- */
.channel-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.channel-pills span {
  background: #fff; border: 1px solid #f0e2cc; color: var(--ink);
  border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: 0.95rem;
}

/* ---------- warm hospitality look ---------- */
body { background: var(--bg); }
h1, h2, .big-quote { font-family: var(--serif); font-weight: 700; letter-spacing: -0.01em; }
h1 { line-height: 1.12; }
.big-quote { font-weight: 600; font-style: italic; }
h3 { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; }

.eyebrow, .eyebrow-light {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  text-transform: none; letter-spacing: 0; font-size: 1.1rem; color: var(--brand-dark);
}

.site-header { background: rgba(255, 252, 247, 0.94); }
.hero { background: var(--bg); }
.section-dark { background: var(--cream); }
.section-tint { background: var(--tint); }
.channel-pills span { background: #fff; border-color: var(--line); font-weight: 700; }

.card { background: #fff; border-color: var(--line); box-shadow: 0 6px 20px rgba(91, 64, 40, 0.06); }
.card h3::before { display: none; }

.phone { border-color: var(--line); box-shadow: 0 24px 60px rgba(91, 64, 40, 0.14); }
.chat { background: var(--cream); }
.msg.guest { border-color: var(--line); }
.msg.human { background: var(--brand-dark); }

.btn-ghost { border-color: var(--line); }
.btn-ghost:hover { background: var(--tint); }

.quote-card { background: #fff; box-shadow: 0 6px 20px rgba(91, 64, 40, 0.06); }
.quote-card p { font-family: var(--serif); font-size: 1.3rem; }

.contact { background: var(--tint); color: var(--ink); }
.contact p { color: var(--ink-soft); }
.contact .btn-light { background: var(--brand); color: #fff !important; }
.contact .btn-light:hover { background: var(--brand-dark); }

.site-footer { background: var(--bg); }

/* ---------- Legal pages + footer links ---------- */
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--ink-soft); text-decoration: none; }
.footer-links a:hover { color: var(--brand-dark); }

.legal { color: var(--ink); line-height: 1.7; }
.legal h1 { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.6rem); margin: 0 0 8px; }
.legal h2 { font-size: 1.45rem; margin: 40px 0 10px; }
.legal h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--ink-soft); font-size: 1.02rem; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal strong { color: var(--ink); }
.legal a { color: var(--brand-dark); }
.legal-meta { font-size: 0.92rem !important; margin-bottom: 28px; }
mark.todo { background: #fff1b8; color: var(--ink); padding: 0 4px; border-radius: 4px; }
