/* ============================================================
   PlumberCallback — landing page styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* surfaces */
  --bg:        #ffffff;
  --bg-soft:   #f5f8f6;
  --bg-deep:   #0f1f18;
  --card:      #ffffff;

  /* ink */
  --ink:    #16202e;
  --ink-2:  #45525f;
  --ink-3:  #6c7884;

  /* accent (green) */
  --acc:        #0f8a55;
  --acc-strong: #0a6c41;
  --acc-soft:   #e6f3ec;
  --acc-ink:    #0a5836;

  /* lines + radii */
  --line:   #e6eae8;
  --line-2: #d8ded9;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 30px;

  --shadow-sm: 0 1px 2px rgba(16,32,24,.05), 0 1px 3px rgba(16,32,24,.04);
  --shadow-md: 0 4px 16px rgba(16,32,24,.06), 0 2px 6px rgba(16,32,24,.05);
  --shadow-lg: 0 24px 60px -20px rgba(13,40,28,.28), 0 8px 24px -12px rgba(13,40,28,.18);

  --maxw: 1140px;
  --gut: clamp(20px, 5vw, 56px);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; }

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }

section { position: relative; }
.sec-pad { padding-block: clamp(64px, 9vw, 116px); }
.soft { background: var(--bg-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--acc-ink);
}

.sec-head { max-width: 720px; }
.sec-head h2 { font-size: clamp(28px, 4.4vw, 44px); margin-top: 14px; }
.sec-head .lead { color: var(--ink-2); font-size: clamp(17px, 1.8vw, 19px); margin-top: 16px; max-width: 60ch; }
.center { text-align: center; margin-inline: auto; }
.center .lead { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: inherit; font-weight: 700; font-size: 16px;
  border-radius: 999px; border: 1px solid transparent;
  padding: 14px 24px; cursor: pointer;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--acc); color: #fff; box-shadow: 0 6px 18px -6px rgba(15,138,85,.55); }
.btn-primary:hover { background: var(--acc-strong); box-shadow: 0 10px 24px -8px rgba(15,138,85,.6); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink-3); background: #fcfdfc; }
.btn-lg { padding: 17px 30px; font-size: 17px; }
.btn .ic { width: 18px; height: 18px; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-head.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.head-row { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.brand .logo {
  width: 34px; height: 34px; border-radius: 10px; background: var(--acc);
  display: grid; place-items: center; color: #fff; box-shadow: 0 4px 10px -3px rgba(15,138,85,.6);
}
.brand .logo svg { width: 19px; height: 19px; }
.brand b { color: var(--acc-ink); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a.lnk { font-weight: 600; font-size: 15px; color: var(--ink-2); transition: color .15s; }
.nav a.lnk:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.menu-btn { display: none; }
.mobile-label { display: none; }

@media (max-width: 860px) {
  .nav .lnk { display: none; }
  .nav { gap: 12px; }
}
@media (max-width: 520px) {
  .head-row { height: 62px; }
  .brand { font-size: 17px; gap: 8px; }
  .brand .logo { width: 30px; height: 30px; border-radius: 9px; }
  .brand .logo svg { width: 17px; height: 17px; }
  .nav-demo-btn { padding: 10px 14px; font-size: 14px; }
  .nav-demo-btn .desktop-label { display: none; }
  .nav-demo-btn .mobile-label { display: inline; }
}

/* ---------- hero ---------- */
.hero { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(56px, 8vw, 96px); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--acc-soft); color: var(--acc-ink);
  font-weight: 700; font-size: 13.5px; padding: 7px 14px 7px 11px; border-radius: 999px;
  border: 1px solid rgba(15,138,85,.16);
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px rgba(15,138,85,.18); }
.hero h1 {
  font-size: clamp(34px, 5.6vw, 58px); margin-top: 22px;
  letter-spacing: -.035em; line-height: 1.02; text-wrap: balance;
}
.hero h1 .hl { color: var(--acc); }
.hero .sub { color: var(--ink-2); font-size: clamp(17px, 2vw, 20px); margin-top: 22px; max-width: 30em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.trustline { display: flex; align-items: center; gap: 10px; margin-top: 26px; color: var(--ink-3); font-size: 14.5px; font-weight: 500; }
.trustline svg { width: 17px; height: 17px; color: var(--acc); flex: none; }
.trustline .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-phone-wrap { order: 2; justify-self: center; }
}

@media (max-width: 640px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; white-space: normal; text-align: center; padding-inline: 18px; }
  .hero-cta .btn-lg { font-size: 16px; }
}

/* ---------- phone mockup ---------- */
.hero-phone-wrap { display: flex; justify-content: center; position: relative; }
.phone {
  width: 320px; max-width: 84vw;
  background: #0d141b; border-radius: 44px; padding: 12px;
  box-shadow: var(--shadow-lg); position: relative;
}
.phone::after { /* side button */
  content: ""; position: absolute; right: -3px; top: 128px; width: 3px; height: 58px; background: #0d141b; border-radius: 2px;
}
.phone-screen {
  background: #f3f5f7; border-radius: 34px; overflow: hidden; position: relative;
  height: 588px; display: flex; flex-direction: column;
}
.status-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px 6px; font-size: 13px; font-weight: 700; color: var(--ink);
  background: #fff;
}
.status-bar .si { display: inline-flex; gap: 5px; align-items: center; }
.status-bar svg { width: 16px; height: 12px; }
.notch { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 96px; height: 24px; background: #0d141b; border-radius: 0 0 16px 16px; z-index: 4; }

/* messages header */
.thread-head {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 8px 16px 12px; background: #fff; border-bottom: 1px solid #eceef0;
}
.thread-head .av { width: 42px; height: 42px; border-radius: 50%; background: var(--acc); display: grid; place-items: center; color: #fff; }
.thread-head .av svg { width: 21px; height: 21px; }
.thread-head .nm { font-weight: 700; font-size: 15px; white-space: nowrap; line-height: 1.2; }
.thread-head .meta { font-size: 11.5px; color: var(--ink-3); white-space: nowrap; line-height: 1.2; }

.thread {
  flex: 1; padding: 16px 14px 18px; display: flex; flex-direction: column; gap: 9px;
  overflow: hidden; background: #f3f5f7;
}
.tstamp { text-align: center; font-size: 11px; color: var(--ink-3); font-weight: 600; margin: 2px 0 4px; }
.tstamp b { color: var(--ink-2); font-weight: 700; }

/* call event banner */
.call-banner {
  align-self: stretch; display: flex; align-items: center; gap: 11px;
  background: #fff; border: 1px solid #ebedef; border-radius: 14px; padding: 11px 13px;
}
.call-banner .ci { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.call-banner.miss .ci { background: #fdecec; color: #d23b3b; }
.call-banner .ct { font-size: 13px; line-height: 1.3; }
.call-banner .ct b { display: block; font-weight: 700; color: var(--ink); }
.call-banner .ct span { color: var(--ink-3); font-size: 12px; }
.call-banner svg { width: 17px; height: 17px; }

/* bubbles */
.bubble {
  max-width: 80%; padding: 10px 13px; font-size: 14.5px; line-height: 1.4; border-radius: 18px;
  position: relative; word-wrap: break-word;
}
.bubble.in  { align-self: flex-start; background: #e7e9ec; color: var(--ink); border-bottom-left-radius: 5px; }
.bubble.out { align-self: flex-end; background: var(--acc); color: #fff; border-bottom-right-radius: 5px; }
.bubble .b-meta { display: block; font-size: 10.5px; margin-top: 4px; opacity: .6; font-weight: 600; }

/* typing indicator */
.typing { display: inline-flex; gap: 4px; padding: 13px 15px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #b3b9c0; animation: blink 1.2s infinite both; }
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.reveal-item { opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease; }
.reveal-item.show { opacity: 1; transform: none; }

/* demo controls overlay */
.demo-controls {
  position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%);
  z-index: 6;
}
.demo-btn {
  display: inline-flex; align-items: center; gap: 9px; background: var(--ink); color: #fff;
  border: none; font: inherit; font-weight: 700; font-size: 14px; padding: 11px 20px;
  border-radius: 999px; cursor: pointer; box-shadow: var(--shadow-md);
  transition: transform .12s, background .15s;
}
.demo-btn:hover { background: #000; }
.demo-btn:active { transform: translateX(0) scale(.97); }
.demo-btn svg { width: 15px; height: 15px; }

/* lead notification card (owner side) */
.lead-pop {
  position: absolute; right: -18px; bottom: 64px; width: 232px; z-index: 5;
  background: #0f1f18; color: #eafff3; border-radius: 16px; padding: 13px 14px;
  box-shadow: 0 18px 40px -14px rgba(7,28,18,.6); font-family: 'JetBrains Mono', monospace;
  opacity: 0; transform: translateY(10px) scale(.96); transition: opacity .4s ease, transform .4s ease;
}
.lead-pop.show { opacity: 1; transform: none; }
.lead-pop .lp-top { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .04em; color: #6ee0a3; font-weight: 600; margin-bottom: 8px; text-transform: uppercase; }
.lead-pop .lp-top svg { width: 14px; height: 14px; }
.lead-pop .lp-body { font-size: 12.5px; line-height: 1.5; font-family: 'Hanken Grotesk', sans-serif; }
.lead-pop .lp-body b { color: #fff; }
.lead-pop .lp-tag { display: inline-block; margin-top: 7px; font-size: 10.5px; background: rgba(110,224,163,.18); color: #8af0b6; padding: 2px 8px; border-radius: 6px; font-weight: 600; letter-spacing: .03em; }
@media (max-width: 380px) { .lead-pop { right: -6px; width: 200px; } }

/* ---------- pain points ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.pain {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
}
.pain .pi { width: 46px; height: 46px; border-radius: 13px; background: var(--acc-soft); color: var(--acc-ink); display: grid; place-items: center; margin-bottom: 18px; }
.pain .pi svg { width: 23px; height: 23px; }
.pain h3 { font-size: 19px; font-weight: 700; }
.pain p { color: var(--ink-2); font-size: 15.5px; margin-top: 7px; }
@media (max-width: 760px) { .pain-grid { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 52px; counter-reset: step; }
.step {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 22px; box-shadow: var(--shadow-sm);
}
.step .num {
  width: 40px; height: 40px; border-radius: 11px; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 17px; margin-bottom: 18px;
}
.step.is-active .num { background: var(--acc); }
.step .si { display: none; }
.step h3 { font-size: 18px; font-weight: 700; }
.step p { color: var(--ink-2); font-size: 14.5px; margin-top: 6px; }
.step .arrow {
  position: absolute; right: -22px; top: 46px; width: 28px; color: var(--line-2); z-index: 2;
}
.step:last-child .arrow { display: none; }
@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step .arrow { display: none; }
}
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ---------- example sms section ---------- */
.example-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.example-grid .copy-col { max-width: 30em; }
.sms-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px;
  box-shadow: var(--shadow-md); max-width: 420px;
}
.sms-card .lbl { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.sms-card .lbl svg { width: 16px; height: 16px; color: var(--acc); }
.sms-thread { display: flex; flex-direction: column; gap: 10px; }
.sms-thread .bubble { max-width: 88%; font-size: 15px; }

.owner-note {
  margin-top: 22px; background: var(--bg-deep); border-radius: var(--r-md); padding: 16px 17px;
  color: #eafff3; box-shadow: var(--shadow-md);
}
.owner-note .on-top { display: flex; align-items: center; gap: 9px; font-family: 'JetBrains Mono', monospace; font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: #6ee0a3; font-weight: 600; margin-bottom: 10px; }
.owner-note .on-top svg { width: 15px; height: 15px; }
.owner-note .on-body { font-size: 15px; line-height: 1.5; }
.owner-note .on-body b { color: #fff; }
.owner-note .mono { font-family: 'JetBrains Mono', monospace; }
.owner-note .on-tag { display: inline-block; margin-top: 9px; font-size: 11px; background: rgba(110,224,163,.18); color: #8af0b6; padding: 3px 9px; border-radius: 6px; font-weight: 600; letter-spacing: .03em; font-family: 'JetBrains Mono', monospace; }
@media (max-width: 820px) {
  .example-grid { grid-template-columns: 1fr; }
  .sms-card { margin-inline: auto; }
}

/* ---------- benefits ---------- */
.benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; margin-top: 48px; }
.benefit { display: flex; gap: 14px; align-items: flex-start; padding: 6px 0; }
.benefit .bk { width: 30px; height: 30px; border-radius: 9px; background: var(--acc-soft); color: var(--acc-ink); display: grid; place-items: center; flex: none; margin-top: 1px; }
.benefit .bk svg { width: 17px; height: 17px; }
.benefit p { font-size: 16.5px; color: var(--ink); font-weight: 500; }
@media (max-width: 720px) { .benefits { grid-template-columns: 1fr; } }

/* ---------- setup options ---------- */
.setup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.opt {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px;
  box-shadow: var(--shadow-sm); position: relative;
}
.opt .tag { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--acc-ink); background: var(--acc-soft); padding: 5px 11px; border-radius: 7px; }
.opt h3 { font-size: 22px; font-weight: 700; margin-top: 16px; }
.opt p { color: var(--ink-2); font-size: 16px; margin-top: 10px; }
.opt .o-num { position: absolute; top: 26px; right: 28px; font-size: 46px; font-weight: 800; color: var(--bg-soft); line-height: 1; letter-spacing: -.04em; }
.setup-note { display: flex; align-items: center; gap: 11px; justify-content: center; margin-top: 26px; color: var(--ink-2); font-size: 15.5px; font-weight: 600; }
.setup-note svg { width: 20px; height: 20px; color: var(--acc); flex: none; }
@media (max-width: 720px) { .setup-grid { grid-template-columns: 1fr; } }

/* ---------- pricing ---------- */
.price-wrap { max-width: 560px; margin: 48px auto 0; }
.price-card {
  background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.price-top { padding: 34px 34px 28px; border-bottom: 1px dashed var(--line-2); position: relative; }
.price-ribbon { position: absolute; top: 22px; right: 26px; background: var(--acc-soft); color: var(--acc-ink); font-weight: 700; font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; padding: 6px 12px; border-radius: 8px; }
.price-top .plabel { font-weight: 700; color: var(--acc-ink); font-size: 15px; }
.price-figs { display: flex; align-items: flex-end; gap: 26px; margin-top: 18px; flex-wrap: wrap; }
.fig .f-num { font-size: 44px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.fig .f-num .cur { font-size: 26px; vertical-align: top; margin-right: 1px; }
.fig .f-lbl { color: var(--ink-3); font-size: 14px; font-weight: 600; margin-top: 6px; }
.price-figs .div { width: 1px; align-self: stretch; background: var(--line); }
.price-cancel { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 14.5px; font-weight: 600; }
.price-cancel svg { width: 16px; height: 16px; color: var(--acc); }
.price-body { padding: 26px 34px 32px; }
.price-body .inc-h { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }
.price-list { display: grid; gap: 12px; }
.price-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.price-list .ck { width: 22px; height: 22px; border-radius: 50%; background: var(--acc); color: #fff; display: grid; place-items: center; flex: none; margin-top: 1px; }
.price-list .ck svg { width: 13px; height: 13px; }
.price-cta { margin-top: 26px; }
.price-cta .btn { width: 100%; }
.price-foot { text-align: center; margin-top: 14px; color: var(--ink-3); font-size: 13.5px; }

/* ---------- faq ---------- */
.faq-wrap { max-width: 760px; margin: 44px auto 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: none; font: inherit; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 4px; text-align: left; color: var(--ink); font-weight: 700; font-size: 18px;
}
.faq-q .qx { width: 26px; height: 26px; flex: none; display: grid; place-items: center; transition: transform .2s ease; color: var(--ink-2); }
.faq-q .qx .chev { font-size: 24px; line-height: 1; font-weight: 700; }
.faq-item.open .qx { transform: rotate(180deg); color: var(--acc); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .3s ease; }
.faq-a .inner { padding: 0 4px 22px; color: var(--ink-2); font-size: 16.5px; max-width: 64ch; }

/* ---------- final cta ---------- */
.final {
  background: var(--bg-deep); color: #eafff3; border-radius: var(--r-xl);
  padding: clamp(44px, 6vw, 72px) var(--gut); text-align: center; position: relative; overflow: hidden;
}
.final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 140% at 50% -20%, rgba(15,138,85,.45), transparent 60%); }
.final-inner { position: relative; max-width: 640px; margin: 0 auto; }
.final h2 { font-size: clamp(28px, 4.4vw, 46px); color: #fff; }
.final p { color: #b9d8c8; font-size: clamp(17px, 2vw, 19px); margin-top: 18px; }
.final .btn { margin-top: 30px; max-width: 100%; white-space: normal; text-align: center; }
.final .btn-primary { background: var(--acc); }
.final .btn-primary:hover { background: #12a063; }
.final .micro { margin-top: 18px; color: #84ad97; font-size: 14px; }
.final-section { padding-block: clamp(40px, 6vw, 72px); }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding-block: 40px; }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot .brand { font-size: 17px; }
.foot .brand .logo { width: 30px; height: 30px; border-radius: 9px; }
.foot p { color: var(--ink-3); font-size: 14px; }
.foot .f-links { display: flex; gap: 22px; }
.foot .f-links a { color: var(--ink-2); font-size: 14.5px; font-weight: 600; }
.foot .f-links a:hover { color: var(--ink); }

@media (max-width: 640px) {
  .foot-row { align-items: flex-start; flex-direction: column; }
  .foot .f-links { flex-direction: column; gap: 10px; }
  .foot .f-links a { display: block; }
}

[id] { scroll-margin-top: 88px; }
