:root {
  --green: #075E54;
  --teal: #128C7E;
  --light: #25D366;
  --bg: #F7F6F2;
  --ink: #111b21;
  --muted: #4a5a62;
  --line: #e2e0d8;
  --wall: #efeae2;
  --out: #d9fdd3;
  --shadow: 0 1px 2px rgba(17, 27, 33, .06), 0 8px 24px rgba(7, 94, 84, .08);
  --round: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
h1, h2, h3 { font-family: var(--round); line-height: 1.15; margin: 0; }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.3rem); letter-spacing: -.01em; margin-bottom: .5rem; }
h3 { font-size: 1.1rem; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--green); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.final :focus-visible, .foot :focus-visible { outline-color: #fff; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
.center { text-align: center; }
.sub { color: var(--muted); margin-bottom: 2rem; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  background: var(--green); color: #fff; font-weight: 700; text-decoration: none;
  box-shadow: 0 6px 16px rgba(7, 94, 84, .25);
  transition: background-color .15s;
}
.btn:hover { background: #054c44; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .95rem; box-shadow: none; }
.btn-block { width: 100%; }
.btn-light { background: #fff; color: var(--green); }
.btn-light:hover { background: #e9f8ef; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(247, 246, 242, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font: 800 1.35rem var(--round); color: var(--ink); text-decoration: none; }
.brand-mark { width: 30px; height: 30px; }

/* hero */
.hero { padding: 40px 0 56px; }
.hero-in { display: grid; gap: 40px; }
.hero-hook { color: var(--green); font-weight: 600; margin-bottom: .75rem; }
h1 { font-size: clamp(2.1rem, 7vw, 3.4rem); letter-spacing: -.02em; margin-bottom: 1rem; text-wrap: balance; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 34em; margin-bottom: 1.6rem; }
.trust { margin-top: .9rem; font-size: .95rem; color: var(--muted); }

/* hero photo + phone */
.hero-vis { position: relative; }
.hero-vis picture { display: block; }
.hero-img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 11; object-fit: cover; object-position: 76% 30%;
  border-radius: 24px; box-shadow: var(--shadow);
}
.hero-vis .phone { margin-top: -72px; position: relative; }

/* phone mockup */
.phone {
  justify-self: center; width: min(100%, 340px);
  border: 10px solid var(--ink); border-radius: 36px; overflow: hidden;
  background: var(--wall); box-shadow: 0 30px 60px rgba(7, 94, 84, .22);
}
.phone-bar { display: flex; align-items: center; gap: 10px; background: var(--green); color: #fff; padding: 22px 14px 12px; }
.phone-bar b { display: block; font-size: .98rem; }
.phone-bar small { display: block; font-size: .78rem; opacity: .9; }
.phone-chat { display: flex; flex-direction: column; gap: 8px; padding: 14px 12px 22px; min-height: 360px; font-size: .93rem; line-height: 1.4; }
.day { align-self: center; background: #fff; color: var(--muted); font-size: .75rem; padding: 3px 10px; border-radius: 8px; margin-bottom: 4px; }
.b { max-width: 84%; padding: 7px 10px 6px; border-radius: 10px; box-shadow: 0 1px 1px rgba(17, 27, 33, .12); }
.b time { float: right; margin: 6px 0 -3px 10px; font-size: .7rem; color: #5b6b73; }
.out { align-self: flex-end; background: var(--out); border-top-right-radius: 2px; }
.out time::after { content: " ✓✓"; color: #34b7f1; letter-spacing: -.2em; }
.in { align-self: flex-start; background: #fff; border-top-left-radius: 2px; }
.typing { display: flex; gap: 4px; padding: 12px 14px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #8a989f; }

/* the one motion moment: the conversation plays out once on load */
@media (prefers-reduced-motion: no-preference) {
  .b1, .b2, .b3, .typing { animation: pop .35s ease-out both; }
  .b2 { animation-delay: .9s; }
  .b3 { animation-delay: 1.8s; }
  .typing { animation-delay: 2.6s; }
  .typing i { animation: blink 1.2s 2.6s infinite; }
  .typing i:nth-child(2) { animation-delay: 2.8s; }
  .typing i:nth-child(3) { animation-delay: 3s; }
}
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.97); } }
@keyframes blink { 50% { opacity: .3; } }

/* avatars */
.av {
  flex: none; display: block; object-fit: cover;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--line);
}
.av-sm { width: 38px; height: 38px; }

/* sections */
.sec { padding: 64px 0; }
.sec-tint { background: #fff; border-block: 1px solid var(--line); }

.steps { counter-reset: s; display: grid; gap: 28px; margin-top: 2rem; }
.steps li { counter-increment: s; position: relative; padding-left: 60px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -4px;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--out); color: var(--green); font: 800 1.2rem var(--round);
}
.steps h3 { margin-bottom: .3rem; }
.steps p, .perks p { color: var(--muted); }

/* agent chat lists */
.lists { display: grid; gap: 24px; }
.list { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.list-h { background: var(--green); color: #fff; padding: 14px 18px; font-size: 1rem; }
.list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 18px; background: #fff; }
.list li + li { border-top: 1px solid var(--line); }
.nm { font-weight: 700; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.tag { font-size: .78rem; font-weight: 600; color: var(--green); background: var(--out); padding: 1px 9px; border-radius: 999px; }
.tl { color: var(--muted); font-size: .95rem; margin-top: 2px; }

/* benefits */
.perks { display: grid; gap: 28px; margin-top: 2rem; }
.perks svg { width: 36px; height: 36px; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: .5rem; }
.perks h3 { margin-bottom: .25rem; }

/* pricing */
.price { max-width: 420px; margin: 2rem auto 0; background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--light); border-radius: 20px; padding: 28px 24px; box-shadow: var(--shadow); }
.price-n { color: var(--muted); margin-bottom: 1.2rem; }
.price-n b { font: 800 2.6rem var(--round); color: var(--ink); }
.ticks { margin-bottom: 1.6rem; }
.ticks li { position: relative; padding: 6px 0 6px 30px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 12px; height: 7px; border: solid var(--teal); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }
.fine { text-align: center; color: var(--muted); font-size: .9rem; margin-top: .8rem; }

/* faq */
details { border-bottom: 1px solid var(--line); }
details:first-of-type { margin-top: 1.5rem; }
summary { cursor: pointer; list-style: none; min-height: 48px; padding: 14px 36px 14px 0; position: relative; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 6px; top: 10px; font-size: 1.5rem; line-height: 1; color: var(--teal); }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); padding-bottom: 18px; }

/* closing + footer */
.final { background: var(--green); color: #fff; padding: 56px 0; }
.final h2 { margin-bottom: 1.4rem; }
.foot { background: var(--ink); color: #c9d2d6; padding: 36px 0 44px; font-size: .9rem; }
.foot nav { display: flex; gap: 20px; margin-bottom: 1rem; }
.foot a { color: #fff; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.foot p + p { margin-top: .5rem; }

@media (min-width: 768px) {
  .hero { padding: 64px 0 80px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .lists { grid-template-columns: 1fr 1fr; }
  .sec { padding: 88px 0; }
}
@media (min-width: 1024px) {
  .hero-in { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; }
  .hero-img { aspect-ratio: 1; object-position: 78% 30%; }
  .hero-vis .phone { position: absolute; left: -20px; bottom: -40px; margin: 0; width: 240px; border-width: 8px; border-radius: 30px; }
  .hero-vis .phone-chat { min-height: 0; }
  .hero-vis { margin-bottom: 40px; }
  .perks { grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
