/* Wabee website: same look as the app (Inter, green #139A46, black pill buttons, soft greys), spacious. */
:root {
  --brand: #139a46;
  --brand-text: #0f7f3a;
  --brand-tint: #e9f6ee;
  --ink: #000;
  --ink-2: #0d0d0d;
  --muted: #2f2f33;
  --faint: #5d5d5d;
  --line: #ececec;
  --line-soft: #f0f0f0;
  --band: #f9f9f9;
  --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: #fff; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--brand-text); }
a:hover { color: #0b6630; }
img, svg { display: block; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 22px; border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; border: 1px solid transparent; transition: background .15s; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2a2e; color: #fff; }
.btn-light { background: #fff; color: var(--ink); border-color: #d9d9de; }
.btn-light:hover { background: #f7f7f7; color: var(--ink); }
.btn-lg { height: 56px; padding: 0 30px; font-size: 17px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line-soft); }
.header-row { display: flex; align-items: center; gap: 32px; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.main-nav { display: flex; gap: 28px; font-size: 15px; }
.main-nav a, .header-cta .link { color: var(--ink-2); text-decoration: none; }
.main-nav a:hover, .header-cta .link:hover { color: var(--ink); }
.header-cta { margin-left: auto; display: flex; align-items: center; gap: 16px; font-size: 15px; font-weight: 500; }
.header-cta .btn { height: 42px; padding: 0 20px; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }

/* Sections */
.section { padding-top: 128px; padding-bottom: 128px; }
.band { background: var(--band); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.eyebrow { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-text); }
.h2 { margin: 16px 0 0; font-size: 44px; line-height: 1.12; font-weight: 600; letter-spacing: -0.03em; }
.center { text-align: center; }
.center .h2, .center .lead { margin-left: auto; margin-right: auto; }
.lead { margin: 20px 0 0; font-size: 18px; color: var(--muted); max-width: 640px; }

/* Hero */
.hero { padding-top: 128px; padding-bottom: 96px; text-align: center; }
.pill { text-wrap: balance; display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 14px; border-radius: 999px; border: 1px solid #e3e3e3; font-size: 14px; color: var(--ink-2); }
.dot { width: 8px; height: 8px; border-radius: 999px; background: var(--brand); display: inline-block; }
.hero h1 { margin: 28px auto 0; max-width: 900px; font-size: 64px; line-height: 1.06; font-weight: 600; letter-spacing: -0.035em; }
.hero .lead { margin: 28px auto 0; font-size: 20px; }
.hero-ctas { margin-top: 44px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.small-note { margin: 18px 0 0; font-size: 14px; color: var(--faint); }

/* Product preview */
.preview { margin: 80px auto 0; max-width: 1040px; border-radius: 24px; padding: 12px; background: #f4f4f5; text-align: left; }
.preview-inner { border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 24px 48px -24px rgba(0,0,0,.18); display: grid; grid-template-columns: 200px minmax(0, 1fr); }
.preview-side { background: #f9f9f9; border-right: 1px solid var(--line); padding: 18px 12px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.preview-side span { padding: 7px 10px; border-radius: 9px; }
.preview-side .on { background: #ececec; font-weight: 500; }
.preview-side .brandline { display: flex; align-items: center; gap: 8px; padding: 0 8px 14px; font-weight: 600; }
.preview-side .sq { width: 18px; height: 18px; border-radius: 6px; background: var(--brand); padding: 0; }
.preview-main { padding: 26px 28px; }
.preview-top { display: flex; align-items: center; justify-content: space-between; font-size: 20px; font-weight: 600; }
.preview-top .mini { height: 32px; padding: 0 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; display: inline-flex; align-items: center; font-weight: 500; }
.preview-tabs { margin-top: 18px; display: flex; gap: 20px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.preview-tabs span { padding-bottom: 10px; }
.preview-tabs .on { border-bottom: 2px solid var(--ink); color: var(--ink); font-weight: 600; }
.prow { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) repeat(3, minmax(0, .7fr)); gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid #f3f3f3; font-size: 13px; }
.prow small { display: block; color: var(--faint); font-size: 12px; }
.prow .r { text-align: right; }

/* Feature cards */
.grid-3 { margin-top: 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { padding: 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: box-shadow .2s; }
.card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-tint); color: var(--brand-text); }
.card h3 { margin: 24px 0 0; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.card p { margin: 10px 0 0; color: var(--muted); line-height: 1.65; }

/* Steps */
.steps { list-style: none; margin: 72px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.steps .n { display: block; font-size: 56px; line-height: 1; font-weight: 600; color: #e3e3e3; }
.steps h3 { margin: 20px 0 0; font-size: 22px; font-weight: 600; }
.steps p { margin: 10px 0 0; color: var(--muted); }

/* Showcases */
.showcase { display: flex; flex-wrap: wrap; align-items: center; gap: 72px; padding-bottom: 128px; }
.showcase.reverse { flex-wrap: wrap-reverse; }
.showcase .copy { flex: 1 1 420px; }
.showcase .art { flex: 1 1 380px; border-radius: 28px; background: #f4f4f5; padding: 40px 28px; display: flex; justify-content: center; }
.showcase h2 { margin: 16px 0 0; font-size: 40px; line-height: 1.15; font-weight: 600; letter-spacing: -0.03em; }
.ticks { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg { flex-shrink: 0; margin-top: 3px; }
.phone { width: 100%; max-width: 290px; border-radius: 40px; padding: 10px; background: var(--ink); }
.phone-screen { border-radius: 31px; overflow: hidden; background: #f4f2ee; min-height: 440px; }
.phone-top { background: #fff; padding: 22px 16px 10px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.phone-top .av { width: 28px; height: 28px; border-radius: 999px; background: var(--brand); }
.bubble { margin: 16px 12px 28px; border-radius: 4px 14px 14px 14px; background: #fff; overflow: hidden; box-shadow: 0 1px 1px rgba(0,0,0,.06); }
.bubble .img { margin: 4px; height: 110px; border-radius: 10px; background: linear-gradient(135deg, #139a46, #0b6b31); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-weight: 700; letter-spacing: .02em; }
.bubble .img small { font-size: 11px; font-weight: 600; opacity: .85; letter-spacing: .08em; }
.bubble .img b { font-size: 26px; }
.bubble p { margin: 0; padding: 6px 10px 10px; font-size: 13px; line-height: 1.5; }
.bubble .btnline { border-top: 1px solid var(--line); padding: 9px; text-align: center; font-size: 13px; font-weight: 600; color: #175cd3; }
.chat { width: 100%; border-radius: 18px; background: #fff; padding: 20px; box-shadow: 0 1px 2px rgba(0,0,0,.06); display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.chat .sys { align-self: center; font-size: 12px; color: #8e8ea0; }
.chat .in { align-self: flex-start; max-width: 80%; padding: 10px 14px; border-radius: 18px 18px 18px 6px; background: #f4f4f4; }
.chat .out { align-self: flex-end; max-width: 80%; padding: 10px 14px; border-radius: 18px 18px 6px 18px; background: var(--brand-tint); }
.chat .note { padding: 10px 14px; border-radius: 12px; background: #fff8e6; color: #5c4200; font-size: 13px; }

/* Pricing */
.billing { margin: 36px auto 0; display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--line); }
.billing button { height: 40px; padding: 0 20px; border: 0; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; background: transparent; color: var(--ink); }
.billing button[aria-selected="true"] { background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.billing .save { color: var(--brand-text); }
.plans { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; text-align: left; }
.plan { display: flex; flex-direction: column; padding: 32px 28px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.plan.popular { border: 2px solid var(--brand); }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.plan h3 { margin: 0; font-size: 20px; font-weight: 600; }
.tag { padding: 3px 10px; border-radius: 999px; background: var(--brand-tint); color: var(--brand-text); font-size: 12px; font-weight: 600; white-space: nowrap; }
.plan .blurb { margin: 8px 0 0; font-size: 15px; color: var(--muted); }
.plan .price { margin: 28px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.plan .price strong { font-size: 36px; font-weight: 600; letter-spacing: -0.03em; }
.plan .price span { font-size: 15px; color: var(--faint); }
.plan .btn { margin-top: 24px; width: 100%; }
.plan ul { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { flex-shrink: 0; margin-top: 4px; }
.fine { margin: 32px 0 0; text-align: center; font-size: 14px; color: var(--faint); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq-list { margin-top: 56px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; font-size: 18px; font-weight: 500; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .sign { flex-shrink: 0; width: 28px; height: 28px; border-radius: 999px; border: 1px solid #e3e3e3; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 18px; transition: transform .2s; }
.faq details[open] summary .sign { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 48px 26px 0; color: var(--muted); line-height: 1.7; }

/* Final CTA */
.cta-box { border-radius: 32px; padding: 96px 32px; background: var(--brand-tint); text-align: center; }
.cta-box h2 { margin: 0 auto; max-width: 720px; font-size: 48px; line-height: 1.1; font-weight: 600; letter-spacing: -0.035em; }
.cta-box p { margin: 20px auto 0; max-width: 520px; font-size: 18px; color: var(--ink-2); }
.cta-box .btn { margin-top: 36px; }

/* Footer */
.site-footer { margin-top: 32px; font-size: 15px; }
.footer-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 40px; padding-top: 96px; padding-bottom: 72px; }
.footer-cols ul { list-style: none; margin: 0 0 40px; padding: 0; display: grid; gap: 14px; }
.footer-cols ul:last-child { margin-bottom: 0; }
.footer-cols a { color: var(--ink); text-decoration: none; }
.footer-cols a:hover { color: var(--brand-text); }
.f-head { margin: 0 0 18px; font-size: 14px; color: var(--faint); }
.footer-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-top: 24px; padding-bottom: 24px; }
.footer-bar .logo { font-size: 16px; justify-self: start; }
.footer-copy { font-size: 14px; color: var(--ink); }
.region-pill { justify-self: end; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: #f3f3f3; color: var(--ink); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.region-pill:hover { background: #e9e9e9; }
.footer-legal { margin: 0 auto; padding-bottom: 48px; font-size: 13px; color: var(--faint); text-align: center; }
.currency-note { margin: 16px 0 0; font-size: 14px; color: var(--faint); }
.linklike { border: 0; padding: 0; background: none; font: inherit; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Legal + contact pages */
.doc { max-width: 760px; margin: 0 auto; padding: 96px 32px 128px; }
.doc h1 { margin: 0; font-size: 48px; line-height: 1.1; font-weight: 600; letter-spacing: -0.035em; }
.doc .updated { margin: 16px 0 0; color: var(--faint); font-size: 15px; }
.doc .intro { margin: 32px 0 0; font-size: 18px; color: var(--ink-2); }
.doc h2 { margin: 56px 0 0; font-size: 24px; font-weight: 600; letter-spacing: -0.015em; }
.doc h3 { margin: 28px 0 0; font-size: 18px; font-weight: 600; }
.doc p, .doc li { color: var(--ink-2); line-height: 1.75; }
.doc p { margin: 14px 0 0; }
.doc ul { margin: 14px 0 0; padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .box { margin: 32px 0 0; padding: 20px 24px; border-radius: 16px; background: var(--band); border: 1px solid var(--line); }
.contact-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.contact-grid .card h3 { margin-top: 0; }
.contact-grid .card p { margin: 6px 0 0; }
.contact-grid .card a { font-weight: 500; }

/* Responsive */
@media (max-width: 1024px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }
  body.menu-open .main-nav, body.menu-open .header-cta { display: flex; }
  body.menu-open .header-row { flex-wrap: wrap; height: auto; padding: 16px 20px 24px; }
  body.menu-open .header-cta { order: 4; width: 100%; margin: 8px 0 0; }
  .hero { padding-top: 80px; padding-bottom: 64px; }
  .hero h1 { font-size: 40px; }
  .hero .lead { font-size: 18px; }
  .section { padding-top: 88px; padding-bottom: 88px; }
  .h2, .cta-box h2 { font-size: 32px; }
  .showcase h2 { font-size: 30px; }
  .grid-3, .steps, .plans, .contact-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 64px 20px 56px; }
  .footer-cols > div:last-child { grid-column: 1 / -1; display: grid; grid-auto-flow: column; grid-template-rows: auto auto; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
  .footer-cols > div:last-child ul { margin-bottom: 0; }
  .footer-bar { padding: 24px 20px; border-top: 1px solid var(--line-soft); }
  .footer-legal { padding: 0 20px 40px; text-align: left; }
  .footer-bar { grid-template-columns: 1fr; justify-items: start; }
  .footer-bar .region-pill { justify-self: start; }
  .preview-inner { grid-template-columns: 1fr; }
  .preview-side { display: none; }
  .prow { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, .8fr); }
  .prow .hide-sm { display: none; }
  .cta-box { padding: 64px 24px; }
  .doc { padding: 64px 20px 96px; }
  .doc h1 { font-size: 36px; }
}

/* ===== v2: mega menu ===== */
.header-row { position: relative; }
.main-nav { align-items: center; gap: 4px; }
.nav-item { position: static; }
.nav-trigger, .nav-link { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-size: 15px; color: var(--ink-2); cursor: pointer; text-decoration: none; }
.nav-trigger:hover, .nav-link:hover, .nav-item.open .nav-trigger { background: #f4f4f5; color: var(--ink); }
.nav-trigger svg { transition: transform .2s; }
.nav-item.open .nav-trigger svg { transform: rotate(180deg); }
.mega { display: none; position: absolute; top: 100%; left: 32px; right: 32px; margin-top: 1px; padding: 28px; border-radius: 0 0 24px 24px; background: #fff; border: 1px solid var(--line); border-top: 0; box-shadow: 0 24px 48px -16px rgba(0,0,0,.14); grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 8px 24px; }
.nav-item.open .mega { display: grid; }
.mega-col { display: flex; flex-direction: column; gap: 2px; }
.mega-head { margin: 0 0 8px; padding: 0 12px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.main-nav .mega-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; color: var(--ink); text-decoration: none; }
.main-nav .mega-item:hover { background: #f7f7f8; color: var(--ink); }
.mega-item b { display: block; font-size: 15px; font-weight: 500; }
.mega-item small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); line-height: 1.4; }
.mega-icon { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: var(--brand-tint); color: var(--brand-text); }
.mega-icon.sm { width: 22px; height: 22px; border-radius: 6px; }
.mega-foot { grid-column: 1 / -1; margin-top: 8px; padding: 16px 12px 0; border-top: 1px solid var(--line-soft); }
.main-nav .mega-foot a { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--brand-text); }

/* ===== v2: page parts ===== */
.hero-left { text-align: left; padding-top: 72px; }
.hero-left h1 { margin-left: 0; max-width: 860px; font-size: 56px; }
.hero-left .lead { margin-left: 0; }
.hero-left .hero-ctas { justify-content: flex-start; }
.hero-left .pill { margin-top: 32px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--faint); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.h3-title { margin: 0; font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.grid-3.tight { margin-top: 28px; }
.link-card { display: block; color: var(--ink); text-decoration: none; }
.link-card:hover { color: var(--ink); border-color: #d9d9de; }
.link-card h3 { margin-top: 20px; font-size: 18px; }
.ticks.big { margin: 0; gap: 18px; font-size: 18px; }
.ticks.big svg { margin-top: 5px; }
.art { border-radius: 28px; background: #f4f4f5; padding: 40px 28px; display: flex; justify-content: center; }
.art > * { min-width: 0; max-width: 100%; }
.showcase > .art { flex: 1 1 440px; }
.hint { margin: 12px 0 0; font-size: 13px; color: var(--faint); line-height: 1.5; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; margin: 0; word-break: break-all; }

/* Product mock-ups */
.mock { width: 100%; max-width: 520px; border-radius: 18px; background: #fff; padding: 20px; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 16px 32px -20px rgba(0,0,0,.2); font-size: 14px; }
.mock-bar { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; font-weight: 600; font-size: 17px; border-bottom: 1px solid var(--line); }
.mock-btn { height: 30px; padding: 0 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 500; display: inline-flex; align-items: center; }
.mock-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid #f3f3f3; font-size: 13px; }
.mock-row:last-of-type { border-bottom: 0; }
.mock-row .dot { margin-right: 6px; }
.mock-row > span { white-space: nowrap; }
.mock-row > .num { text-align: right; }
.mock-row .tagline { color: var(--muted); }
.mock.chat { display: flex; flex-direction: column; gap: 10px; }
.mock.chat .opts { display: flex; flex-direction: column; gap: 6px; align-self: flex-start; }
.mock.chat .opts span { padding: 8px 14px; border-radius: 12px; border: 1px solid #dbe9ff; color: #175cd3; background: #f5f9ff; font-weight: 500; font-size: 13px; }
.rule { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; background: #f9f9f9; margin-top: 10px; font-size: 13px; color: var(--ink-2); }
.rule:first-child { margin-top: 0; }
.rule > span { flex: 1; }
.rule svg { flex-shrink: 0; color: var(--brand); }
.timeline { display: flex; flex-direction: column; gap: 12px; }
.timeline .step { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: #f9f9f9; }
.badge { flex-shrink: 0; min-width: 58px; padding: 3px 10px; border-radius: 999px; background: var(--brand-tint); color: var(--brand-text); font-size: 12px; font-weight: 600; text-align: center; }
.mock.form { display: flex; flex-direction: column; gap: 12px; }
.form-title { margin: 0; font-weight: 600; font-size: 17px; }
.mock.form label { font-size: 12px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.field { padding: 10px 12px; border-radius: 10px; border: 1px solid #e3e3e3; color: var(--ink); font-size: 14px; }
.submit { margin-top: 4px; height: 42px; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.mock.links { display: flex; gap: 20px; align-items: center; }
.mock.links .qr { flex-shrink: 0; width: 104px; height: 104px; border-radius: 14px; background: #f4f4f5; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.mock.bars { height: 220px; display: flex; align-items: flex-end; gap: 12px; padding: 24px; }
.mock.bars span { flex: 1; border-radius: 4px 4px 0 0; background: var(--brand); opacity: .85; }
.mock.ab { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mock.ab > div { padding: 18px; border-radius: 14px; background: #f9f9f9; }
.mock.ab .win { background: var(--brand-tint); }
.mock.ab .v { margin: 0; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.mock.ab .pct { margin: 8px 0 0; font-size: 36px; font-weight: 600; letter-spacing: -0.03em; }
.mock.code, .code-block { margin: 0; padding: 22px; border-radius: 16px; background: #111113; color: #e8e8ea; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; line-height: 1.7; overflow-x: auto; white-space: pre; text-align: left; }
.mock.code { box-shadow: none; }

/* Solutions */
.usecases { margin-top: 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.usecase { padding: 28px 0; border-top: 1px solid var(--line); }
.usecase h3 { margin: 0; font-size: 20px; font-weight: 600; }
.usecase p { margin: 8px 0 0; color: var(--muted); }
.usecase a { margin-top: 6px; padding: 7px 0; display: inline-flex; align-items: center; gap: 6px; font-weight: 500; text-decoration: none; }

/* Templates */
.tpl-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tpl { display: flex; flex-direction: column; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.tpl-meta { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-text); }
.tpl-name { margin: 6px 0 0; font-weight: 600; font-size: 17px; }
.tpl-bubble { margin-top: 16px; padding: 14px 16px; border-radius: 4px 16px 16px 16px; background: #f4f2ee; font-size: 14px; line-height: 1.6; white-space: pre-line; }
.tpl-btn { margin: 8px 0 0; padding: 9px; border-radius: 12px; background: #f4f2ee; text-align: center; font-size: 14px; font-weight: 600; color: #175cd3; }
button.copy { margin-top: auto; align-self: flex-start; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid #d9d9de; background: #fff; font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; }
button.copy:hover { background: #f7f7f7; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid #e3e3e3; background: #fff; font: inherit; font-size: 14px; cursor: pointer; color: var(--ink-2); }
.chip[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Help center + docs */
.search { display: block; max-width: 560px; margin: 40px auto 0; }
.search input { width: 100%; height: 56px; padding: 0 22px; border-radius: 999px; border: 1px solid #d9d9de; font: inherit; font-size: 16px; }
.search input:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.help-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.help-cat { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); }
.help-cat h2 { margin: 0 0 12px; font-size: 19px; font-weight: 600; }
.help-link { display: block; padding: 10px 0; border-top: 1px solid var(--line-soft); color: var(--ink); text-decoration: none; }
.help-link:hover b { color: var(--brand-text); }
.help-link b { display: block; font-weight: 500; font-size: 15px; }
.help-link small { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.docs { padding-top: 48px; padding-bottom: 128px; }
.docs-grid { margin-top: 32px; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 64px; }
.docs-nav { position: sticky; top: 100px; align-self: start; max-height: calc(100vh - 120px); overflow-y: auto; display: flex; flex-direction: column; font-size: 14px; }
.docs-head { margin: 20px 0 6px; padding: 0 12px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.docs-head:first-child { margin-top: 0; }
.docs-nav a { padding: 7px 12px; border-radius: 10px; color: var(--ink-2); text-decoration: none; line-height: 1.4; }
.docs-nav a:hover { background: #f7f7f8; color: var(--ink); }
.docs-nav a[aria-current="page"] { background: #f0f0f1; color: var(--ink); font-weight: 500; }
.prose { max-width: 780px; min-width: 0; }
.prose h1 { margin: 0; font-size: 44px; line-height: 1.1; font-weight: 600; letter-spacing: -0.03em; }
.prose .intro { margin: 18px 0 0; font-size: 19px; color: var(--muted); }
.prose h2 { margin: 52px 0 0; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; scroll-margin-top: 100px; }
.prose h3 { margin: 32px 0 0; font-size: 19px; font-weight: 600; }
.prose h4 { margin: 24px 0 0; font-size: 16px; font-weight: 600; }
.prose p, .prose li { color: var(--ink-2); line-height: 1.75; }
.prose p { margin: 14px 0 0; }
.prose ul, .prose ol { margin: 14px 0 0; padding-left: 24px; }
.prose li { margin: 6px 0; }
.prose li > p { margin: 4px 0 0; }
.prose :not(pre) > code { overflow-wrap: break-word; padding: 2px 6px; border-radius: 6px; background: #f2f2f3; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; color: var(--ink); }
.prose pre { margin: 18px 0 0; padding: 20px 22px; border-radius: 14px; background: #111113; color: #e8e8ea; overflow-x: auto; font-size: 13px; line-height: 1.65; }
.prose pre code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.prose table { margin: 18px 0 0; width: 100%; border-collapse: collapse; font-size: 14px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { font-weight: 600; background: #fafafa; white-space: nowrap; }
.prose td code { overflow-wrap: break-word; }
.prose blockquote { margin: 20px 0 0; padding: 14px 20px; border-left: 3px solid var(--brand); background: var(--brand-tint); border-radius: 0 12px 12px 0; }
.prose blockquote p { margin: 0; color: var(--ink); }
.prose hr { margin: 40px 0; border: 0; border-top: 1px solid var(--line); }
.doc-foot { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); }
.doc-foot .next { display: inline; font-weight: 500; text-decoration: none; font-size: 17px; }
.doc-foot .next svg { margin-left: 6px; vertical-align: -1px; }
.doc-foot p { margin-top: 12px; }

/* Glossary + changelog */
.doc.wide { max-width: 900px; }
.letters { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 32px !important; }
.letters a { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; text-decoration: none; color: var(--ink); font-weight: 500; }
.letters a:hover { background: #f7f7f8; }
.gloss { margin: 12px 0 0; }
.gloss dt { margin-top: 24px; font-weight: 600; font-size: 17px; scroll-margin-top: 100px; }
.gloss dd { margin: 6px 0 0; color: var(--ink-2); line-height: 1.75; }
.release { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 32px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.release:first-of-type { margin-top: 32px; border-top: 1px solid var(--line); }
.release-date { margin: 4px 0 0 !important; font-size: 14px; color: var(--faint); font-weight: 500; }
.release h2 { margin: 0 !important; font-size: 22px; }
.release ul { margin-top: 14px; }

/* Free tools */
.tool { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 40px; margin-top: 56px; text-align: left; }
.tool-panel { padding: 32px; border-radius: 24px; border: 1px solid var(--line); background: #fff; }
.tool-panel.out { background: #f9f9f9; display: flex; flex-direction: column; gap: 16px; }
.tool label { display: block; margin-top: 20px; font-size: 14px; font-weight: 500; }
.tool label:first-child { margin-top: 0; }
.tool input, .tool textarea, .tool select { margin-top: 8px; width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid #d9d9de; font: inherit; font-size: 15px; background: #fff; }
.tool textarea { min-height: 110px; resize: vertical; }
.tool input:focus, .tool textarea:focus, .tool select:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.tool .row2 { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px; }
.tool .help { margin: 6px 0 0; font-size: 13px; color: var(--faint); }
.tool .result { padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; word-break: break-all; min-height: 48px; }
.tool .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tool .actions .btn { height: 42px; padding: 0 18px; font-size: 14px; cursor: pointer; }
.tool .qr-box { align-self: center; width: 100%; max-width: 260px; height: auto; aspect-ratio: 1; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.tool .qr-box svg, .tool .qr-box img { width: 100%; height: 100%; }
.tool .err { color: #b42318; font-size: 13px; margin: 6px 0 0; min-height: 1em; }
.tool .preview-site { position: relative; height: 240px; border-radius: 16px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.tool .preview-site .lines { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.tool .preview-site .lines span { height: 10px; border-radius: 4px; background: #eee; }
.tool .fab { position: absolute; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 18px; border-radius: 999px; color: #fff; font-weight: 600; font-size: 14px; box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.tool .fab.round { width: 56px; padding: 0; justify-content: center; }
.tools-more { margin-top: 96px; }

/* Pricing page */
.compare { margin-top: 56px; width: 100%; border-collapse: collapse; font-size: 15px; text-align: left; }
.compare-wrap { overflow-x: auto; }
.swipe-hint { display: none; margin: 40px 0 0; color: var(--faint); font-size: 14px; }
.compare th, .compare td { padding: 16px 14px; border-bottom: 1px solid var(--line); }
.compare thead th { position: sticky; top: 76px; background: #fff; font-size: 17px; font-weight: 600; z-index: 1; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 16%; }
.compare .grp td { padding-top: 40px; font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-text); border-bottom: 1px solid var(--ink); }
.compare .yes { color: var(--brand); display: inline-flex; }
.compare .no { color: #c4c4cc; }
.compare small { display: block; color: var(--faint); font-size: 13px; }
.trust { margin-top: 64px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; text-align: left; }
.trust div { padding-top: 20px; border-top: 1px solid var(--line); }
.trust b { display: block; font-weight: 600; }
.trust span { display: block; margin-top: 6px; color: var(--muted); font-size: 15px; }

/* Home extras */
.feature-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.feature-grid a { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 18px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; transition: box-shadow .2s, border-color .2s; }
.feature-grid a:hover { border-color: #d9d9de; box-shadow: 0 8px 24px rgba(0,0,0,.06); color: var(--ink); }
.feature-grid b { font-weight: 600; font-size: 16px; }
.feature-grid small { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.split-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.pill-links { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.pill-links a { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid #e3e3e3; color: var(--ink); text-decoration: none; font-size: 15px; background: #fff; }
.pill-links a:hover { border-color: #c9c9cf; color: var(--ink); }
.pill-links .mega-icon { width: 24px; height: 24px; border-radius: 7px; }

@media (max-width: 1024px) {
  .tpl-grid, .help-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid, .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .docs-grid { grid-template-columns: 200px minmax(0, 1fr); gap: 40px; }
  .main-nav .nav-trigger, .main-nav .nav-link { padding: 0 10px; }
  .header-row { gap: 16px; }
}
@media (max-width: 900px) {
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { height: 100vh; height: 100dvh; overflow-y: auto; background: #fff; }
  body.menu-open .main-nav, body.menu-open .header-cta { display: flex; }
  body.menu-open .header-row { flex-wrap: wrap; height: auto; padding-top: 16px; padding-bottom: 24px; }
  body.menu-open .main-nav { order: 3; width: 100%; flex-direction: column; align-items: stretch; gap: 0; margin-top: 12px; }
  body.menu-open .nav-trigger, body.menu-open .nav-link { width: 100%; justify-content: space-between; height: 52px; padding: 0 4px; font-size: 17px; border-radius: 0; border-bottom: 1px solid var(--line-soft); }
  body.menu-open .nav-trigger:hover, body.menu-open .nav-link:hover, body.menu-open .nav-item.open .nav-trigger { background: transparent; }
  .mega { position: static; padding: 8px 0 16px; border: 0; box-shadow: none; border-radius: 0; grid-template-columns: 1fr; }
  .mega-head { padding: 0 4px; margin-top: 8px; }
  .main-nav .mega-item { padding: 8px 4px; }
  body.menu-open .header-cta { order: 4; width: 100%; margin: 20px 0 0; justify-content: space-between; }
  .docs-grid { grid-template-columns: 1fr; }
  .docs-nav { position: static; max-height: none; flex-direction: row; flex-wrap: wrap; gap: 4px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
  .docs-head { width: 100%; }
  .tool, .split-2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .hero-left { padding-top: 48px; }
  .hero-left h1 { font-size: 38px; }
  .prose h1 { font-size: 34px; }
  .tpl-grid, .help-cats, .feature-grid, .trust, .usecases { grid-template-columns: 1fr; }
  .feature-grid { gap: 10px; }
  .feature-grid a { flex-direction: row; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; }
  .feature-grid a .icon { flex-shrink: 0; }
  .release { grid-template-columns: 1fr; gap: 8px; }
  .tool input, .tool textarea, .tool select { font-size: 16px; }
  .tool-panel { padding: 22px 18px; }
  .tool .row2 { grid-template-columns: 128px minmax(0, 1fr); gap: 10px; }
  .docs-nav { flex-direction: column; gap: 0; }
  .crumbs [aria-current], .crumbs > span:nth-last-child(2) { display: none; }
  .docs-nav { order: 2; margin-top: 24px; padding: 24px 0 0; border-bottom: 0; border-top: 1px solid var(--line); }
  .mock-row { grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; font-size: 12.5px; }
  .mock-row > .num { text-align: right; }
  .mock-row > :nth-child(4) { display: none; }
  .compare thead th { position: static; }
  .compare { margin-top: 12px; font-size: 14px; }
  .compare th:first-child, .compare td:first-child { position: sticky; left: 0; z-index: 2; background: #fff; min-width: 132px; box-shadow: 1px 0 0 var(--line); }
  .compare thead th:first-child { top: auto; }
  .compare .grp td { position: static; box-shadow: none; background: transparent; }
  .compare .grp td span { position: sticky; left: 14px; }
  .swipe-hint { display: block; }
}
.small { font-size: 14px; }
.compare td a { color: var(--ink); text-decoration: underline; text-decoration-color: #d0d0d6; text-underline-offset: 3px; }
.compare td a:hover { text-decoration-color: var(--ink); }
.compare thead th { background: var(--band); }
.hero-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: center; padding-bottom: 112px; }
.hero-split h1 { font-size: 52px; }
.hero-split > .art { padding: 48px 32px; }
.ticks.points { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 48px; }
@media (max-width: 1024px) { .hero-split { grid-template-columns: minmax(0, 1fr); gap: 48px; } }
@media (max-width: 760px) { .hero-split h1 { font-size: 38px; } .ticks.points { grid-template-columns: 1fr; } }

/* Footer: black, like the buttons */
.site-footer { margin-top: 0; background: #000; color: #fff; }
.footer-cols a, .footer-copy, .footer-bar .logo { color: #fff; }
.footer-cols a:hover { color: #7ddc9f; }
.f-head { color: #8f8f96; }
.footer-bar { border-top: 1px solid #1f1f22; }
.region-pill { background: #1c1c1f; color: #fff; }
.region-pill:hover { background: #2a2a2e; }
.footer-legal { color: #8f8f96; }

@media (max-width: 760px) {
  .footer-bar { border-top-color: #1f1f22; }
}

/* Even line lengths: no single word alone on a heading's last line */
h1, h2, h3, .h2, .h3-title { text-wrap: balance; }
.lead, .intro, .prose > p:first-of-type { text-wrap: pretty; }

/* Short code (keys, headers, tags) never splits across lines; phone numbers neither */
code.nw, .nw { white-space: nowrap; }
a[href^="tel:"] { white-space: nowrap; }
/* Message template preview (feature page) */
.mock.tplmock { max-width: 340px; }
.tplmock .tpl-meta { margin: 0 0 10px; }
.tplmock .tcard { border-radius: 4px 16px 16px 16px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.tplmock .timg { margin: 6px; height: 96px; border-radius: 10px; background: linear-gradient(135deg, #139a46, #0b6b31); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.tplmock .tcard p { margin: 0; padding: 6px 12px 12px; font-size: 13px; line-height: 1.55; }
.tplmock .var { padding: 1px 5px; border-radius: 6px; background: var(--brand-tint); color: var(--brand-text); font-weight: 600; }
.tplmock .tbtn { border-top: 1px solid var(--line); padding: 9px; text-align: center; font-size: 13px; font-weight: 600; color: #175cd3; }
.tplmock .hint { margin-top: 10px; }
@media (min-width: 1025px) {
  .steps:has(> li:nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; }
}
@media (min-width: 761px) {
  .plan .blurb { min-height: 3em; line-height: 1.5; }
  .grid-3:has(> :nth-child(2):last-child), .tpl-grid:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 840px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 760px) {
  .section { padding-top: 72px; padding-bottom: 72px; }
  .showcase { gap: 40px; padding-bottom: 72px; }
  .art, .showcase .art, .hero-split > .art, .showcase > .art { padding: 20px 14px; border-radius: 22px; }
  .rule { flex-direction: column; align-items: flex-start; gap: 6px; }
  .rule svg { transform: rotate(90deg); }
  .mock.links { flex-direction: column; align-items: flex-start; }
  .mock.links .mono { overflow-wrap: anywhere; }
  .mock.code, .prose pre { white-space: pre-wrap; overflow-wrap: anywhere; }
  .mock.ab .v { white-space: nowrap; font-size: 12px; }
  .tool .actions .btn { flex: 1 1 auto; }
  /* tables become one card per row, each value with its column name */
  .prose table, .prose tbody, .prose tr, .prose td { display: block; width: 100%; }
  .prose thead { display: none; }
  .prose tr { margin-top: 12px; padding: 4px 14px; border: 1px solid var(--line); border-radius: 12px; }
  .prose td { padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
  .prose td:last-child { border-bottom: 0; }
  .prose td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 12px; font-weight: 600; color: var(--faint); }
}

/* Space between a steps list and a code sample right after it */
.steps + .code-block, .steps + pre { margin-top: 48px; }
