:root {
  --bg: #f5f7fa; --card: #fff; --raised: #eceff4; --line: rgba(17, 24, 39, .08);
  --text: #111827; --text2: #4b5565; --muted: #646d80; --accent: #0f6b4b;
  --dark: #0b0d14; --dtext: #eef0f5; --dtext2: #a3a9b8; --dline: rgba(238, 240, 245, .08);
  --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 "Instrument Sans", system-ui, sans-serif; }
h1, h2, h3, p, blockquote, figure, dl, dd, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 20; background: #fff; padding: 8px 12px; border-radius: 8px; }
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: 24px; }
.mono { font: 13px/1.4 "IBM Plex Mono", ui-monospace, monospace; color: var(--muted); }

h1 { font-weight: 500; font-size: clamp(36px, 5vw, 56px); line-height: 1.06; letter-spacing: -.02em; }
h2 { font-weight: 500; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; letter-spacing: -.01em; }
h3, .h3 { font-weight: 500; font-size: 20px; line-height: 1.3; letter-spacing: 0; }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; color: var(--text2); max-width: 36rem; }

/* header */
.site { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.site .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; padding-block: 12px; }
.logo { display: flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; font-size: 18px; text-decoration: none; }
.nav { display: flex; gap: 24px; }
.nav a { color: var(--text2); text-decoration: none; font-size: 15px; padding: 12px 4px; transition: color .15s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 1px solid transparent; border-radius: 10px; font-weight: 500; font-size: 16px; text-decoration: none; transition: background-color .15s var(--ease), transform .15s var(--ease); }
.btn:active { transform: scale(.98); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn-p { background: var(--text); color: #fff; }
.btn-p:hover { background: #1f2937; }
.btn-s { background: var(--card); border-color: rgba(17, 24, 39, .1); }
.btn-s:hover { background: var(--raised); }
.cta .btn-p { background: var(--dtext); color: var(--dark); }
.cta .btn-p:hover { background: #fff; }
.cta .btn-s { background: #1a1e28; color: var(--dtext); border-color: var(--dline); }
.cta .btn-s:hover { background: #262b38; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* sections */
.top { padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 96px); }
.sec { padding-block: clamp(64px, 8vw, 96px); }
.band { background: var(--card); border-top: 1px solid var(--line); }
.stack { display: flex; flex-direction: column; gap: 40px; }
.split { display: flex; flex-wrap: wrap; gap: 40px 64px; }
.split > :first-child { flex: 1 1 280px; min-width: 0; }
.split > :last-child { flex: 999 1 560px; min-width: 0; }

/* home */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 64px); line-height: 1.04; letter-spacing: -.025em; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.chat { flex: 1 1 340px; min-width: 0; max-width: 440px; margin-inline: auto; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 8px 24px rgba(0, 0, 0, .06); }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 500; }
.chat-head span { white-space: nowrap; }
.chat-body { display: flex; flex-direction: column; gap: 12px; padding: 20px 16px; background: var(--bg); font-size: 15px; line-height: 1.45; }
.msg { max-width: 84%; display: flex; flex-direction: column; gap: 4px; }
.msg p { padding: 8px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 12px 12px 12px 4px; }
.msg.out { align-self: flex-end; align-items: flex-end; }
.msg.out p { background: var(--text); color: #fff; border-color: transparent; border-radius: 12px 12px 4px 12px; }
.msg .mono { font-size: 12px; }
.slip { width: 84%; }
.slip-card { align-self: stretch; display: flex; flex-direction: column; gap: 8px; padding: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.slip-card .ok { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--accent); }
.slip-card strong { font-size: 20px; font-weight: 500; line-height: 1.2; }
.slip-card .mono { font-size: 12px; padding-top: 8px; border-top: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; padding-block: 32px; border-top: 1px solid var(--line); }
.stats div { display: flex; flex-direction: column-reverse; gap: 8px; }
.stats dt { font-size: 15px; color: var(--text2); }
.stats dd { font-weight: 500; font-size: 32px; line-height: 1; font-variant-numeric: tabular-nums; }
.rows { border-top: 1px solid var(--line); margin-bottom: clamp(64px, 8vw, 96px); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; min-height: 72px; padding: 16px 12px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background-color .15s var(--ease); }
.row:hover { background: var(--raised); }
.row .h3 { flex: 0 0 200px; }
.row .what { flex: 1 1 280px; color: var(--text2); }

/* services */
.ledger { border-top: 1px solid var(--line); }
.ledger article { display: flex; flex-wrap: wrap; gap: 8px 32px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.ledger h2 { flex: 1 1 260px; min-width: 0; font-size: 20px; line-height: 1.3; letter-spacing: 0; }
.ledger p { flex: 2 1 340px; min-width: 0; color: var(--text2); }
.ledger .outcome { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 4px; font-weight: 500; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.steps li { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.steps p { color: var(--text2); font-size: 16px; }

/* pricing */
.plan-name { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.plan-name h2 { flex: none; }
.incl { flex: 2 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 4px; color: var(--text2); font-size: 16px; }
.price { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.price strong { font-weight: 500; font-size: 28px; line-height: 1.1; font-variant-numeric: tabular-nums; }

/* floating WhatsApp button */
.wa { position: fixed; right: 16px; bottom: 16px; z-index: 15; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border-radius: 10px; background: var(--accent); color: #fff; font-weight: 500; font-size: 15px; text-decoration: none; box-shadow: 0 8px 24px rgba(0, 0, 0, .12); transition: background-color .15s var(--ease); }
.wa:hover { background: #0c5a3f; }

/* results */
.scroll { overflow-x: auto; }
table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 16px; }
th, td { text-align: left; vertical-align: top; padding: 16px 24px 16px 0; border-bottom: 1px solid var(--line); }
thead th { font: 400 13px/1.4 "IBM Plex Mono", ui-monospace, monospace; color: var(--muted); }
tbody th { font-weight: 500; font-size: 18px; }
tbody td:nth-child(2) { color: var(--text2); }
tbody td:last-child { font-weight: 500; }
.quotes { display: flex; flex-wrap: wrap; gap: 40px 48px; }
.quote-lead { flex: 3 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.quote-lead blockquote { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.3; letter-spacing: -.01em; }
.quote-side { flex: 2 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.quote-side figure { display: flex; flex-direction: column; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.quote-side blockquote { color: var(--text2); }
figcaption { display: flex; flex-direction: column; font-size: 15px; }
figcaption b { font-weight: 500; }
figcaption span { color: var(--text2); }
.clients { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 16px; color: var(--text2); }

/* about */
.about { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 64px; }
.about-copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.team { flex: 1 1 340px; min-width: 0; padding: 4px 20px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; font-size: 16px; }
.team li { display: flex; justify-content: space-between; gap: 16px; padding-block: 16px; }
.team li + li { border-top: 1px solid var(--line); }
.team b { font-weight: 500; }
.team span { color: var(--text2); text-align: right; }
.why { border-top: 1px solid var(--line); }
.why div { display: flex; flex-wrap: wrap; gap: 4px 32px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.why dt { flex: 1 1 220px; }
.why dd { flex: 2 1 320px; color: var(--text2); font-size: 16px; }
.faq { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding-block: 12px; font-weight: 500; font-size: 20px; line-height: 1.3; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary svg { flex: none; color: var(--muted); transition: transform .15s var(--ease); }
details[open] summary svg { transform: rotate(45deg); }
details p { color: var(--text2); font-size: 16px; padding: 0 40px 24px 0; }

/* closing band and footer */
.cta { background: var(--dark); color: var(--dtext); }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 48px; }
.cta-copy { flex: 1 1 420px; min-width: 0; }
.cta h2 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.08; letter-spacing: -.02em; }
.cta p { margin-top: 12px; font-size: 18px; color: var(--dtext2); max-width: 34em; }
footer { background: var(--dark); color: var(--dtext2); border-top: 1px solid var(--dline); font-size: 15px; }
footer .wrap { display: flex; flex-direction: column; gap: 40px; padding-block: 56px 88px; }
footer .logo { color: var(--dtext); }
footer a { display: inline-block; padding-block: 6px; text-decoration: none; transition: color .15s var(--ease); }
footer a:hover { color: var(--dtext); }
footer h2 { padding-bottom: 8px; font-size: 15px; line-height: 1.6; letter-spacing: 0; color: var(--dtext); }
.cols { display: flex; flex-wrap: wrap; gap: 40px; }
.cols > * { flex: 1 1 150px; min-width: 0; }
.cols > .brand { flex: 2 1 300px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.brand p { max-width: 30em; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding-top: 24px; border-top: 1px solid var(--dline); font-size: 14px; }
.legal nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }

@media (max-width: 820px) {
  .site { position: static; }
  .nav { order: 3; flex-basis: 100%; justify-content: space-between; gap: 4px; }
  .nav a { padding-inline: 0; }
  .row .h3 { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
