:root {
  --ink: #0b1510;
  --green: #009159;
  --green-dark: #007747;
  --mint: #e9f6ef;
  --muted: #5f6b65;
  --line: #e1e8e4;
  --bg: #ffffff;
  --card: #ffffff;
  --soft: #f6faf8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: "DM Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: Manrope, sans-serif; letter-spacing: -0.03em; margin: 0; }
p { line-height: 1.7; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: #ffffffe6; backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 2px; font: 800 22px Manrope, sans-serif; letter-spacing: -0.04em; }
.brand .mark { width: 34px; height: 34px; border-radius: 10px; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 18px; margin-right: 8px; }
.brand .dot { color: var(--green); }
.menu { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.menu a:hover { color: var(--ink); }
.top-actions { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.lang button { border: 0; background: none; padding: 7px 10px; font-size: 12px; font-weight: 700; color: var(--muted); }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--green); color: #fff; padding: 15px 22px; border: 0; border-radius: 10px; font-size: 15px; font-weight: 700; transition: background .2s, transform .2s; }
.btn:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn.small { padding: 10px 15px; font-size: 13px; }
.btn.light { background: #fff; color: var(--green-dark); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.ghost:hover { background: var(--soft); }
.link { font-weight: 700; font-size: 15px; }
.eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--green); margin: 0 0 18px; display: flex; align-items: center; gap: 8px; }
.eyebrow > span:first-child { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.eyebrow.light { color: #bff0d6; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-top: 80px; padding-bottom: 88px; }
h1 { font-size: clamp(40px, 5.2vw, 64px); line-height: 1.08; font-weight: 800; margin-bottom: 22px; }
h1 em { font-style: normal; color: var(--green); }
.lead { font-size: 18px; color: var(--muted); max-width: 520px; margin: 0; }
.cta { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; margin-top: 30px; }
.note { font-size: 13px; color: var(--muted); margin-top: 22px; }
.hero-visual { position: relative; background: var(--mint); border-radius: 28px; padding: 40px 36px; min-height: 480px; display: grid; place-items: center; }
.phone { width: 300px; background: #efeae2; border-radius: 26px; box-shadow: 0 30px 60px #0b40261f; overflow: hidden; border: 8px solid #0b1510; }
.phone-head { display: flex; gap: 10px; align-items: center; background: #075e54; color: #fff; padding: 12px 14px; }
.phone-head small { display: block; opacity: .8; font-size: 11px; }
.phone-head b { font-size: 14px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: #25d366; display: grid; place-items: center; font-weight: 800; }
.chat { padding: 14px 10px 18px; display: flex; flex-direction: column; gap: 8px; }
.msg { margin: 0; max-width: 84%; padding: 8px 11px; border-radius: 10px; font-size: 13px; line-height: 1.45; box-shadow: 0 1px 1px #0000000f; }
.msg.out { background: #fff; align-self: flex-start; border-top-left-radius: 2px; }
.msg.in { background: #d9fdd3; align-self: flex-end; border-top-right-radius: 2px; }
.msg.card { display: flex; flex-direction: column; gap: 2px; border-left: 4px solid var(--green); }
.msg.card span { color: var(--muted); font-size: 12px; }
.float { position: absolute; background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: 0 16px 36px #0b40261a; display: flex; flex-direction: column; font-size: 12px; color: var(--muted); max-width: 190px; }
.float b { font: 800 20px Manrope, sans-serif; color: var(--green); }
.f1 { left: -18px; bottom: -18px; }
.f2 { right: -14px; top: 54px; }

/* Strip */
.strip { background: var(--ink); color: #d5e5dc; }
.strip-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; padding-top: 20px; padding-bottom: 20px; font-size: 14px; }
.strip-in span::before { content: "✓"; color: #3ddc97; margin-right: 8px; font-weight: 700; }

/* Sections */
.section { padding-top: 96px; padding-bottom: 96px; }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.15; max-width: 760px; font-weight: 800; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.feature { position: relative; border: 1px solid var(--line); border-radius: 18px; padding: 28px; background: var(--card); }
.feature i { font-style: normal; font: 700 13px Manrope, sans-serif; color: var(--green); }
.feature h3 { font-size: 20px; margin: 14px 0 8px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.tag { display: inline-block; margin-top: 14px; font-size: 11px; font-weight: 700; background: var(--mint); color: var(--green-dark); padding: 4px 9px; border-radius: 6px; }
.tag.soon { background: #fff3d6; color: #8a5a00; }

.how { background: var(--soft); }
.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { background: #fff; border-radius: 18px; padding: 26px; border: 1px solid var(--line); }
.steps b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: #fff; font-family: Manrope, sans-serif; }
.steps h3 { font-size: 18px; margin: 16px 0 6px; }
.steps p { margin: 0; color: var(--muted); font-size: 14px; }

/* Pricing */
.outlets { display: flex; align-items: center; gap: 16px; margin-top: 30px; flex-wrap: wrap; }
.outlets label { font-weight: 700; }
.stepper { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.stepper button { border: 0; background: var(--soft); width: 42px; font-size: 20px; }
.stepper input { width: 64px; border: 0; text-align: center; font-weight: 700; font-size: 17px; padding: 10px 0; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; align-items: stretch; }
.plan { border: 1px solid var(--line); border-radius: 20px; padding: 30px; display: flex; flex-direction: column; position: relative; }
.plan.best { border: 2px solid var(--green); box-shadow: 0 20px 50px #00915914; }
.plan .badge { position: absolute; top: -12px; left: 30px; background: var(--green); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 6px; }
.plan h3 { font-size: 22px; }
.plan .tagline { color: var(--muted); font-size: 14px; margin: 6px 0 18px; min-height: 48px; }
.price { font: 800 40px Manrope, sans-serif; letter-spacing: -0.03em; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.price small { white-space: nowrap; }
.price small { font: 500 14px "DM Sans", sans-serif; color: var(--muted); letter-spacing: 0; }
.total { font-size: 14px; color: var(--muted); margin: 4px 0 18px; }
.total b { color: var(--ink); }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; flex: 1; }
.plan li { display: flex; gap: 9px; align-items: flex-start; }
.plan li::before { content: "✓"; color: var(--green); font-weight: 800; }
.plan li.soon { color: var(--muted); }
.plan li em { font-style: normal; font-size: 10px; font-weight: 700; background: #fff3d6; color: #8a5a00; padding: 2px 6px; border-radius: 5px; margin-left: auto; white-space: nowrap; }
.fine { font-size: 13px; color: var(--muted); max-width: 860px; margin-top: 22px; }

/* FAQ */
.qa { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
details { border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }
summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--green); font-size: 20px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { margin: 10px 0 0; color: var(--muted); font-size: 15px; }

/* Contact */
.contact { background: linear-gradient(135deg, #00744a, #009159); color: #fff; }
.contact-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; padding-top: 88px; padding-bottom: 88px; align-items: start; }
.contact h2 { color: #fff; }
.contact-in > div > p { color: #d9f5e6; font-size: 17px; margin: 18px 0 28px; }
form { background: #fff; color: var(--ink); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 30px 60px #00000026; }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; }
form input, form select, form textarea { border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; font-weight: 400; font-size: 15px; background: #fff; width: 100%; }
form input:focus, form select:focus, form textarea:focus { outline: 2px solid #00915955; border-color: var(--green); }
form .invalid { border-color: #c2410c; }
form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-size: 14px; min-height: 1.4em; }
.form-status.ok { color: var(--green-dark); font-weight: 700; }
.form-status.err { color: #c2410c; }

.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 28px; padding-bottom: 28px; font-size: 13px; color: var(--muted); }

/* Responsive */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; }
  .grid, .plans { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .contact-in { grid-template-columns: 1fr; }
  .menu { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .top-in { height: 64px; }
  .brand { font-size: 19px; }
  .top-actions .btn { display: none; }
  .grid, .plans, .steps, .qa, form .row { grid-template-columns: 1fr; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .hero-visual { padding: 28px 12px; min-height: 0; }
  .phone { width: 100%; max-width: 290px; }
  .float { display: none; }
  .plan .tagline { min-height: 0; }
}

/* Integrations */
.integrate-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; background: var(--soft); border-radius: 24px; padding: 48px; }
.integrate .lead { margin: 18px 0 26px; }
.int-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.int-list li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.int-list span { color: var(--muted); font-size: 14px; }
@media (max-width: 980px) { .integrate-in { grid-template-columns: 1fr; padding: 32px 22px; } }

/* Developers page */
.dev-hero { grid-template-columns: 1fr 1fr; }
.code { margin: 0; background: #0b1510; color: #d5e5dc; border-radius: 20px; padding: 26px; overflow-x: auto; font: 13px/1.6 "JetBrains Mono", ui-monospace, monospace; box-shadow: 0 30px 60px #0b40261f; max-width: 100%; }
.code .c { color: #6fb592; }
.api-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; margin-top: 40px; }
.api-grid h3 { font-size: 18px; margin: 0 0 14px; }
.api-grid h3 + .checks { margin-top: 0; }
.api-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.api-table td { padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--muted); }
.api-table td:first-child { white-space: nowrap; color: var(--ink); }
code { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 13px; background: var(--soft); padding: 2px 6px; border-radius: 6px; }
.events, .checks { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.events li { display: flex; flex-wrap: wrap; gap: 6px; }
.checks li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 8px; }
.dev-cta { grid-template-columns: 1fr auto; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.dev-cta p { color: #d9f5e6; }
@media (max-width: 980px) { .dev-hero, .api-grid, .dev-cta { grid-template-columns: 1fr; } }
.code code { background: none; padding: 0; color: inherit; font-size: inherit; border-radius: 0; }

/* General homepage: reminder stack and industry cards */
.stack { display: flex; flex-direction: column; gap: 16px; align-items: stretch; place-items: initial; justify-content: center; }
.rem { display: flex; gap: 14px; background: #fff; border-radius: 18px; padding: 18px 20px; box-shadow: 0 16px 36px #0b40261a; max-width: 400px; }
.rem small { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.rem p { margin: 4px 0 8px; font-size: 14px; line-height: 1.5; }
.rem b { font-size: 12px; color: var(--muted); }
.rem-ico { font-size: 22px; width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--mint); }
.r1 { align-self: flex-start; }
.r2 { align-self: flex-end; }
.r3 { align-self: center; }
.lead.wide { max-width: 760px; margin-top: 16px; }
.ind { display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s; }
.ind:hover { transform: translateY(-3px); box-shadow: 0 20px 40px #0b40260f; border-color: #b9dcc9; }
.ind.live { border: 2px solid var(--green); }
.ind-ico { font-size: 28px; }
.ind h3 { margin-top: 14px; }
.ind p { flex: 1; }
.ind .tag { align-self: flex-start; }
.ind-go { margin-top: 14px; font-weight: 700; font-size: 14px; color: var(--green-dark); }
.foot-links a:hover { color: var(--ink); }
@media (max-width: 980px) { .r1, .r2, .r3 { align-self: stretch; max-width: none; } }
