html { scroll-behavior: smooth; scroll-padding-top: 80px }
body { font-size: 16px; background: var(--surface) }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px }
.center { text-align: center }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 .76rem var(--f-mono); text-transform: uppercase; letter-spacing: .09em; color: var(--brand); background: var(--brand-soft); padding: 6px 12px; border-radius: 99px }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 3px color-mix(in srgb, var(--wa) 25%, transparent) }

.nav { position: sticky; top: 0; z-index: 10; background: rgb(255 255 255 / .86); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line) }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px }
.links { display: flex; gap: 4px }
.links a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 8px 12px; border-radius: 8px }
.links a:hover { background: var(--bg); color: var(--ink) }

.hero { position: relative; overflow: hidden; padding: 76px 0 84px; background: radial-gradient(1100px 520px at 85% -10%, var(--brand-soft), transparent 60%), radial-gradient(800px 420px at -10% 110%, var(--saffron-soft), transparent 60%), var(--surface) }
.hero-in { display: grid; grid-template-columns: 1.08fr 1fr; gap: 64px; align-items: center }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 800; letter-spacing: -.035em; margin: 20px 0 20px; line-height: 1.04 }
.hero h1 em { font-style: normal; color: var(--brand); background: linear-gradient(transparent 62%, var(--saffron-soft) 62%) }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 34em }
.cta { margin: 30px 0 24px }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--ink-2); font-size: .93rem }
.ticks li { display: flex; align-items: center; gap: 8px }
.ticks li::before, .plan li::before, .check-list li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.9' fill='none' stroke='%23128a55' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat }
.ticks.col, .check-list { flex-direction: column; display: flex; gap: 10px; list-style: none; padding: 0; margin: 0 }
.check-list li { display: flex; gap: 10px; align-items: flex-start }
.check-list li::before { margin-top: 3px }

.phone { position: relative; margin: 0 auto; width: min(100%, 400px); border-radius: 28px; background: #efeae2; border: 10px solid #fff; box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); overflow: hidden }
.phone-bar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #fff; border-bottom: 1px solid var(--line) }
.phone-bar img { border-radius: 50%; background: var(--brand-soft); padding: 4px }
.phone-bar b { display: block; font-size: .95rem }
.phone-bar span { font-size: .75rem; color: var(--ok) }
.chat { display: grid; gap: 8px; padding: 16px 14px 20px; background-image: radial-gradient(rgb(0 0 0 / .035) 1px, transparent 1px); background-size: 14px 14px }
.bubble { max-width: 82%; padding: 8px 11px 6px; border-radius: 10px; font-size: .9rem; line-height: 1.45; box-shadow: 0 1px 1px rgb(0 0 0 / .08); background: #fff; color: #111b21 }
.bubble.me { justify-self: end; background: var(--wa-bubble); border-top-right-radius: 3px }
.bubble.them { border-top-left-radius: 3px }
.bubble time { display: block; text-align: right; font-size: .68rem; color: #667781; margin-top: 2px }
.bubble .bot { display: inline-block; font: 600 .62rem var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--brand); background: var(--brand-soft); padding: 1px 6px; border-radius: 4px; margin-bottom: 3px }
.float-card { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow-lg); display: grid; gap: 6px; font-size: .82rem }
.float-card.shield { right: -18px; top: 42%; min-width: 220px }
.float-card.api { left: -26px; bottom: 26px; font-family: var(--f-mono); font-size: .76rem; color: var(--code-ink) }
.float-card .mini-meter { height: 6px; border-radius: 99px; background: var(--ok-soft); overflow: hidden }
.float-card .mini-meter span { display: block; height: 100%; width: 18%; background: var(--ok); border-radius: inherit }
.hero-visual { position: relative; padding: 0 20px }

.usecases { border-block: 1px solid var(--line); background: var(--bg) }
.usecases-in { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 26px; padding-block: 22px; color: var(--muted); font-size: .92rem }
.usecases-in b { color: var(--ink-2); font-weight: 600 }
.usecases-in span { display: inline-flex; align-items: center; gap: 8px }
.usecases-in span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--saffron) }

.section { padding: 96px 0 }
.section.alt { background: var(--bg); border-block: 1px solid var(--line) }
.sec-head { display: grid; gap: 14px; justify-items: center; text-align: center; max-width: 740px; margin: 0 auto 48px }
.sec-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -.025em }
.sec-head p { font-size: 1.06rem }

.usp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px }
.usp article { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: grid; gap: 10px; align-content: start; transition: transform .18s, box-shadow .18s, border-color .18s }
.usp article:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--brand) 30%, var(--line)) }
.usp h3 { font-size: 1.14rem }
.ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft) center/22px no-repeat }
.ic-shield { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e2a86' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v6c0 4.5-3 7.5-7 9-4-1.5-7-4.5-7-9V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E") }
.ic-swap { background-color: var(--saffron-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a4f00' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h11l-3-3M17 17H6l3 3'/%3E%3C/svg%3E") }
.ic-code { background-color: var(--ok-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23128a55' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 8l-4 4 4 4M16 8l4 4-4 4M13.5 5l-3 14'/%3E%3C/svg%3E") }
.ic-map { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e2a86' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6-5.5-6-11a6 6 0 0112 0c0 5.5-6 11-6 11z'/%3E%3Ccircle cx='12' cy='10' r='2'/%3E%3C/svg%3E") }
.ic-gift { background-color: var(--saffron-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a4f00' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='9' width='16' height='11' rx='1'/%3E%3Cpath d='M12 9v11M4 13h16M12 9c-2-4-6-3-5-1s5 1 5 1zm0 0c2-4 6-3 5-1s-5 1-5 1z'/%3E%3C/svg%3E") }
.ic-bot { background-color: var(--ok-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23128a55' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='8' width='16' height='11' rx='3'/%3E%3Cpath d='M12 4v4M9 13h.01M15 13h.01'/%3E%3C/svg%3E") }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center }
.split h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; letter-spacing: -.025em }
.split .stack { gap: 18px }
.split.rev > :first-child { order: 2 }

.migrate { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center }
.diff { font: .88rem/2 var(--f-mono); border-radius: 14px; border: 1px solid var(--line); overflow: hidden; background: var(--surface); box-shadow: var(--shadow) }
.diff div { padding: 2px 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.diff span { display: inline-block; width: 18px; font-weight: 600 }
.diff .del { background: var(--bad-soft); color: var(--bad) }
.diff .add { background: var(--ok-soft); color: var(--ok) }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: grid; gap: 8px; align-content: start }
.steps li > span { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--brand); color: var(--brand-ink); font: 700 1rem var(--f-display); margin-bottom: 6px }
.steps h3 { font-size: 1.1rem }

.ramp { margin: 0; gap: 18px }
.ramp figcaption { display: flex; justify-content: space-between; align-items: baseline }
.bars { display: grid; grid-template-columns: repeat(13, 1fr); gap: 6px; align-items: end; height: 220px }
.bars div { position: relative; border-radius: 6px 6px 2px 2px; background: linear-gradient(to top, var(--brand), var(--brand-2)); min-height: 6px }
.bars div:last-child { background: linear-gradient(to top, var(--saffron), #f7c25a) }
.bars div:hover::after { content: attr(data-v); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); font: 600 .74rem var(--f-mono); background: var(--ink); color: #fff; padding: 3px 7px; border-radius: 6px; white-space: nowrap }

.seg-toggle { display: inline-flex; padding: 4px; margin-top: 6px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface) }
.seg-toggle button { background: transparent; border-color: transparent; color: var(--muted); box-shadow: none }
.seg-toggle button:hover { background: var(--bg); border-color: transparent; color: var(--ink) }
.seg-toggle button[aria-pressed="true"] { background: var(--brand); color: var(--brand-ink) }
.save { font: 600 .66rem var(--f-mono); text-transform: uppercase; letter-spacing: .05em; padding: 2px 7px; border-radius: 99px; background: var(--ok-soft); color: var(--ok) }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px 24px; display: grid; gap: 16px; align-content: start; box-shadow: var(--shadow) }
.plan.hl { border: 2px solid var(--brand); box-shadow: var(--shadow-lg) }
.plan .tag { position: absolute; top: -12px; left: 24px; font: 600 .68rem var(--f-mono); text-transform: uppercase; letter-spacing: .08em; background: var(--saffron); color: #2a1c00; padding: 4px 10px; border-radius: 99px }
.plan h3 { font-size: 1.2rem }
.price { display: flex; align-items: baseline; gap: 6px; margin: 0 }
.price b { font: 800 2.3rem var(--f-display); letter-spacing: -.03em }
.per-year { font-size: .82rem; color: var(--ok); min-height: 1.3em; margin-top: 2px }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .92rem; color: var(--ink-2) }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 10px }
.plan li::before { margin-top: 3px }
.plan .btn { margin-top: auto }
.contact-box { margin: 32px 0 14px; grid-template-columns: 1fr auto; align-items: center; gap: 24px; border-color: color-mix(in srgb, var(--wa) 40%, var(--line)); background: linear-gradient(120deg, var(--wa-soft), var(--surface) 70%) }

.cmp { padding: 0; overflow-x: auto }
.cmp table { width: 100%; border-collapse: collapse; font-size: .95rem }
.cmp th, .cmp td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line) }
.cmp tbody tr:last-child td { border-bottom: 0 }
.cmp th { font: 600 .74rem var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--surface-2) }
.cmp td:first-child { font-weight: 500 }
.cmp td:nth-child(2) { color: var(--muted) }
.cmp .us { background: color-mix(in srgb, var(--brand-soft) 60%, transparent); color: var(--brand); font-weight: 600 }

.faq { max-width: 820px; margin: 0 auto }
.faq details { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; background: var(--surface); margin-bottom: 12px; transition: border-color .15s, box-shadow .15s }
.faq details[open] { border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); box-shadow: var(--shadow) }
.faq summary { cursor: pointer; font: 600 1.04rem var(--f-display); list-style: none; display: flex; justify-content: space-between; gap: 16px }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: "+"; font: 400 1.4rem/1 var(--f-body); color: var(--brand); transition: transform .2s }
.faq details[open] summary::after { transform: rotate(45deg) }
.faq details p { margin-top: 10px; color: var(--muted) }

.final { padding: 88px 0; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff }
.final-in { display: grid; justify-items: center; gap: 26px; text-align: center }
.final h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; max-width: 18em }
.final p { color: rgb(255 255 255 / .82) }
.final .btn { background: #fff; color: var(--brand); border-color: #fff }
.final .btn:hover { background: var(--saffron-soft); box-shadow: none }
.final .btn.ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / .5) }
.final .btn.ghost:hover { background: rgb(255 255 255 / .1) }

.page-hero { padding: 64px 0 40px; background: radial-gradient(900px 400px at 80% -20%, var(--brand-soft), transparent 60%), var(--surface); text-align: center }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); font-weight: 800; letter-spacing: -.03em; margin: 16px auto 14px; max-width: 18em }
.page-hero .lede { margin: 0 auto }
.flows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px }
.flow { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: grid; align-content: start }
.flow header { padding: 18px 20px 12px; display: grid; gap: 4px }
.flow .chat { min-height: 230px; background-color: #efeae2 }
.bot-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px }

.foot { border-top: 1px solid var(--line); padding: 52px 0 30px; background: var(--bg) }
.foot-in { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px }
.foot a { color: var(--muted); text-decoration: none } .foot a:hover { color: var(--brand) }
.foot .brand { color: var(--ink) }
.disclaimer { margin-top: 32px }
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 24px }

@media (max-width: 980px) {
  .hero-in, .split, .migrate { grid-template-columns: 1fr; gap: 44px }
  .split.rev > :first-child { order: 0 }
  .hero { padding-top: 52px }
  .usp, .steps, .flows, .bot-features { grid-template-columns: 1fr 1fr }
  .plans { grid-template-columns: 1fr 1fr }
  .links { display: none }
  .float-card.shield { right: 0 } .float-card.api { left: 0 }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px }
  .usp, .steps, .plans, .foot-in, .flows, .bot-features { grid-template-columns: 1fr }
  .contact-box { grid-template-columns: 1fr }
  .hide-sm { display: none }
  .section { padding: 68px 0 }
  .float-card { position: static; margin-top: 12px }
  .hero-visual { padding: 0 }
  .cmp th, .cmp td { padding: 11px 12px; font-size: .86rem }
}
