/* UA Checkout marketing site. Plain CSS, no build step. */
:root {
  --ink: #0b1324;
  --text: #1f2737;
  --muted: #5b6475;
  --line: #e5e8ef;
  --bg: #ffffff;
  --soft: #f5f7fb;
  --surface: #ffffff;
  --on-ink: #ffffff;
  --line-strong: #cfd5e1;
  --faint: #c3cad8;
  --accent-line: #c9d6ff;
  --ours: #f2f6ff;
  --header-bg: rgba(255, 255, 255, .82);
  --dots: rgba(11, 19, 36, .07);
  --accent: #2457f5;
  --accent-dark: #1a43c9;
  --accent-soft: #eaf0ff;
  --yellow: #ffd24a;
  --green: #12a150;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 19, 36, .06), 0 2px 8px rgba(11, 19, 36, .05);
  --shadow: 0 2px 6px rgba(11, 19, 36, .05), 0 18px 40px -12px rgba(11, 19, 36, .18);
  --shadow-lg: 0 30px 80px -20px rgba(16, 36, 94, .35);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.55rem); font-weight: 800; letter-spacing: -0.035em; }
h1, h2 { text-wrap: balance; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); font-weight: 800; letter-spacing: -0.03em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid rgba(36, 87, 245, .45); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--on-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; color: var(--on-ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 16px/1 var(--font); border-radius: 12px; padding: 0 22px; height: 48px; border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease; white-space: nowrap; cursor: pointer; }
.btn:active { transform: translateY(1px); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 15px; border-radius: 10px; }
.btn-lg { height: 56px; padding: 0 26px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px rgba(36, 87, 245, .7); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; box-shadow: 0 12px 26px -10px rgba(36, 87, 245, .8); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { color: var(--ink); border-color: var(--line-strong); }
.btn-light { background: var(--surface); color: var(--ink); }
.btn-light:hover { color: var(--accent-dark); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-outline-light:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .08); }
.link-quiet { color: var(--text); font-weight: 600; }
.link-quiet:hover { color: var(--accent); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: var(--header-bg); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(11, 19, 36, .35); }
.header-row { display: flex; align-items: center; gap: 28px; height: 100%; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 32px; height: 32px; flex: none; }
.nav { display: flex; gap: 26px; margin-left: 12px; }
.nav a { color: var(--text); font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--accent); }
.header-cta { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.header-cta .link-quiet { font-size: 15px; }
.only-narrow { display: none; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); padding: 0; position: relative; cursor: pointer; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, top .2s ease; }
.menu-toggle span:first-child { top: 15px; }
.menu-toggle span:last-child { top: 24px; }
.menu-open .menu-toggle span:first-child { top: 20px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 20px; transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 56px; background:
  radial-gradient(900px 480px at 85% 10%, rgba(36, 87, 245, .14), transparent 60%),
  radial-gradient(600px 360px at 10% 0%, rgba(255, 210, 74, .18), transparent 60%),
  linear-gradient(180deg, #f7f9fe 0%, #fff 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--dots) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent 75%); -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent 75%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--accent-dark); background: var(--surface); border: 1px solid #dfe6fb; padding: 7px 14px 7px 12px; border-radius: 999px; box-shadow: var(--shadow-sm); margin-bottom: 22px; }
.eyebrow img { border-radius: 5px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(18, 161, 80, .15); }
.hero h1 { max-width: 20ch; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--muted); margin-top: 22px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 24px 0 0; color: var(--muted); font-size: 15px; font-weight: 600; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%232457f5' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

.hero-stage { position: relative; display: flex; justify-content: center; min-height: 600px; }
.glow { position: absolute; width: 420px; height: 420px; top: 60px; left: 50%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(36, 87, 245, .28), transparent 65%); filter: blur(10px); }

/* Device frames */
.phone { position: relative; margin: 0; width: 310px; padding: 11px; background: #0d1424; border-radius: 48px; box-shadow: var(--shadow-lg), inset 0 0 0 1.5px #2a3448; }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 24px; border-radius: 14px; background: #0d1424; z-index: 2; }
.phone-screen { border-radius: 38px; overflow: hidden; background: #fff; aspect-ratio: 390 / 844; display: flex; flex-direction: column; }
.phone-screen img { width: 100%; flex: 1; min-height: 0; object-fit: cover; object-position: top; }
.statusbar { flex: none; height: 40px; display: flex; align-items: center; justify-content: space-between; padding: 6px 26px 0 30px; font-size: 13px; font-weight: 700; color: var(--ink); }
.sb-icons { display: flex; gap: 4px; align-items: flex-end; }
.sb-icons i { display: block; width: 4px; background: var(--ink); border-radius: 1px; }
.sb-icons i:nth-child(1) { height: 6px; } .sb-icons i:nth-child(2) { height: 8px; } .sb-icons i:nth-child(3) { height: 10px; }
.phone-sm { width: 290px; }
.phone-short .phone-screen { aspect-ratio: 390 / 600; }
.phone-short::before { display: none; }

.float-chip { position: absolute; top: 120px; right: -6px; display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow); font-size: 15px; line-height: 1.3; z-index: 3; animation: float 6s ease-in-out infinite; }
.float-chip small { color: var(--muted); font-size: 12.5px; }
.chip-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: #fff6d6; color: #8a5a00; }
.chip-icon svg { width: 22px; height: 22px; }
.float-tg { position: absolute; left: -18px; bottom: 54px; width: 300px; z-index: 3; animation: float 7s ease-in-out infinite reverse; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Telegram card */
.tg-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; box-shadow: var(--shadow); font-size: 14px; line-height: 1.5; color: var(--text); }
.tg-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.tg-head b { color: var(--ink); font-size: 14.5px; }
.tg-head time { margin-left: auto; color: var(--muted); font-size: 12.5px; }
.tg-avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #3b74ff, #1f4de0); color: #fff; font-weight: 800; font-size: 12px; }
.tg-card p + p { margin-top: 2px; }

/* Integrations strip */
.strip { padding: 34px 0 10px; }
.strip-title { text-align: center; color: var(--muted); font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; list-style: none; padding: 0; margin: 18px 0 0; }
.brands li { display: inline-flex; align-items: center; gap: 9px; padding: 6px 15px 6px 7px; border: 1px solid var(--line); border-radius: 999px; font-weight: 700; font-size: 14.5px; color: var(--text); background: var(--surface); }
.brands li img { border-radius: 6px; }

/* Sections */
.section { padding: 96px 0; }
.section.alt { background: var(--soft); }
.kicker { font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.kicker-light { color: #9db6ff; }
.sub { color: var(--muted); font-size: 1.12rem; margin-top: 18px; }
.center .sub { margin-left: auto; margin-right: auto; max-width: 40em; }
.note { margin-top: 18px; font-size: 15px; color: var(--muted); padding-left: 14px; border-left: 3px solid var(--yellow); }

.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.pain { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.pain-num { display: inline-block; font-weight: 800; color: var(--faint); font-size: 15px; margin-bottom: 14px; }
.pain p { color: var(--muted); margin-top: 10px; font-size: 16px; }

.feature-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.feature-grid.reverse .feature-copy { order: 2; }
.feature-visual { display: flex; justify-content: center; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 21px; height: 21px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%232457f5' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/15px no-repeat; }
.checks b { color: var(--ink); }
.pay-grid { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pay-grid li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: 14.5px; font-weight: 600; }
.pay-grid li img, .pay-grid li .gi { border-radius: 6px; }
.pay-grid li:nth-child(-n+4) { border-color: var(--accent-line); background: var(--accent-soft); color: var(--accent-dark); }

.browser { margin: 48px auto 0; max-width: 1080px; border-radius: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.browser-bar { display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 16px; background: #f1f3f8; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d5dae4; }
.browser-bar i:first-child { background: #ff6b5f; } .browser-bar i:nth-child(2) { background: #ffc33d; } .browser-bar i:nth-child(3) { background: #2ccb4b; }
.browser-bar span { margin: 0 auto; transform: translateX(-24px); font-size: 13px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 4px 16px; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.tile p { color: var(--muted); margin-top: 10px; font-size: 16px; }
.tile-wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.tile-tg { grid-row: span 2; display: flex; flex-direction: column; }
.tile-tg .tg-card { margin-top: auto; box-shadow: var(--shadow-sm); }
.tile-tg p.tile-text { margin-bottom: 18px; }
.tile-tg .tg-card p { color: var(--text); margin-top: 0; font-size: 14px; }
.ttn-demo { display: grid; gap: 10px; }
.ttn-row { display: flex; flex-direction: column; gap: 6px; background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-size: 14px; color: var(--muted); }
.ttn-row .bi { white-space: normal; align-items: flex-start; }
.ttn-row .bi img { margin-top: 2px; }
/* Grid children may shrink below their content's width (a long word never widens the page). */
.bento > *, .cards > *, .pains > *, .steps > *, .feature-grid > *, .hero-grid > *, .tile-wide > *, .footer-grid > *, .partner > * { min-width: 0; }
.tag { align-self: flex-start; font-weight: 800; font-size: 13px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 3px 9px; }
.tag-ok { color: #0d7a3d; background: #e7f6ee; border-color: #bfe6cf; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; background: var(--surface); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.card p { color: var(--muted); margin-top: 8px; font-size: 16px; }
.ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 18px; }
.ico svg { width: 23px; height: 23px; }

/* Dark */
.section.dark { background: radial-gradient(800px 400px at 90% 0%, rgba(36, 87, 245, .35), transparent 60%), #0b1324; color: #c9d2e3; }
.dark h2 { color: #fff; }
.checks-light li { color: #c9d2e3; }
.checks-light b { color: #fff; }
.checks-light li::before { background-color: rgba(157, 182, 255, .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%239db6ff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
/* Reliability infographic: the fallback path drawn in HTML (the section is dark in both themes). */
.flow { margin: 0; width: 100%; max-width: 470px; display: grid; gap: 12px; color: #c9d2e3; font-size: 15px; line-height: 1.45; text-align: left; }
.flow-step, .flow-q, .flow-branch, .flow-kill { border-radius: 14px; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .05); }
.flow-step { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 600; }
.flow-ico { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(157, 182, 255, .16); color: #9db6ff; }
.flow-ico svg { width: 19px; height: 19px; }
.flow-arrow { justify-self: center; width: 2px; height: 16px; background: rgba(157, 182, 255, .5); position: relative; margin-bottom: 4px; }
.flow-arrow::after { content: ""; position: absolute; left: 50%; bottom: -3px; width: 8px; height: 8px; border-right: 2px solid #9db6ff; border-bottom: 2px solid #9db6ff; transform: translateX(-50%) rotate(45deg); }
.flow-q { text-align: center; color: #fff; font-weight: 700; border-style: dashed; border-color: rgba(157, 182, 255, .5); }
.flow-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.flow-branch { display: grid; gap: 6px; align-content: start; }
.flow-branch b { color: #fff; font-size: 15px; line-height: 1.3; display: flex; align-items: flex-start; gap: 8px; }
.flow-branch b img, .flow-branch b .logo-mark { width: 20px; height: 20px; flex: none; border-radius: 5px; margin-top: 1px; }
.flow-branch > span:last-child { font-size: 13.5px; color: #a9b4c9; }
.flow-tag { justify-self: start; font-size: 12px; font-weight: 800; padding: 2px 10px; border-radius: 999px; }
.flow-branch.ok { border-color: rgba(79, 202, 130, .45); background: rgba(79, 202, 130, .08); }
.flow-branch.ok .flow-tag { background: rgba(79, 202, 130, .18); color: #7be0a4; }
.flow-branch.alt .flow-tag { background: rgba(157, 182, 255, .16); color: #9db6ff; }
.flow-kill { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 6px; border-color: rgba(255, 114, 114, .35); }
.flow-kill .flow-ico { background: rgba(255, 114, 114, .16); color: #ff8a8a; }
.flow-kill-text { flex: 1 1 200px; min-width: 0; }
.flow-kill b { color: #fff; }
/* A figure, not a control: plain text with a clock, nothing that looks tappable. */
.flow-time { margin-left: auto; flex: none; color: #ff9d9d; font-weight: 800; font-size: 15px; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.flow-time::before { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-radius: 50%; background: linear-gradient(currentColor, currentColor) 50% 30% / 2px 40% no-repeat; box-sizing: border-box; }
@media (max-width: 340px) { .flow-split { grid-template-columns: 1fr; } }
.panel-shot { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6); background: #fff; }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; counter-reset: none; }
.step { position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px 26px; background: var(--surface); box-shadow: var(--shadow-sm); }
.step-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--ink); color: var(--on-ink); font-weight: 800; font-size: 18px; margin-bottom: 18px; }
.step p { color: var(--muted); margin-top: 10px; font-size: 16px; }
.step-time { display: inline-block; margin-top: 16px; font-size: 13.5px; font-weight: 700; color: var(--accent-dark); background: var(--accent-soft); border-radius: 999px; padding: 4px 11px; }
.help-line { margin-top: 32px; color: var(--muted); }
.guide { margin-top: 64px; }
.guide-steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 36px; }
.guide-steps h3 { display: flex; align-items: center; gap: 14px; font-size: 20px; }
.guide-steps h3 .step-num { margin: 0; flex: none; width: 36px; height: 36px; border-radius: 12px; font-size: 16px; }
.guide-steps p { color: var(--muted); margin: 10px 0 0 50px; }
.guide-steps .article-figure { margin: 18px 0 0; }
.guide-steps .article-figure img { width: 100%; max-height: none; }
@media (max-width: 640px) { .guide-steps p { margin-left: 0; } }
.help-line a { font-weight: 700; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 24px; margin-top: 48px; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 34px 32px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.plan-pro { border: 2px solid var(--accent); box-shadow: 0 30px 60px -30px rgba(36, 87, 245, .55); }
.badge { position: absolute; top: -14px; left: 32px; background: var(--yellow); color: var(--ink); font-size: 13px; font-weight: 800; padding: 6px 12px; border-radius: 999px; }
.price { margin-top: 14px; display: flex; align-items: baseline; gap: 8px; }
.price b { font-size: 46px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.price span { color: var(--muted); font-weight: 600; }
.plan-desc { color: var(--muted); margin-top: 4px; }
.plan .checks { margin-bottom: 28px; }
.plan .btn { margin-top: auto; }
.plan-foot { margin-top: 14px; font-size: 13.5px; color: var(--muted); text-align: center; }
.calc { margin-top: 30px; color: var(--muted); font-size: 15px; }

/* Partners */
.partner { display: grid; grid-template-columns: 1.4fr .6fr; gap: 40px; align-items: center; background: linear-gradient(135deg, #f3f6ff, #fffaf0); border: 1px solid #e3e9fb; border-radius: 28px; padding: 52px; }
.partner-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }

/* FAQ */
.faq { margin-top: 40px; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; transition: box-shadow .2s ease; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative; font-weight: 700; color: var(--ink); font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 12px; height: 12px; border-right: 2.5px solid var(--muted); border-bottom: 2.5px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); }

/* Final CTA */
.final { padding: 96px 0; }
.final-box { background: radial-gradient(700px 300px at 15% 0%, rgba(255, 210, 74, .25), transparent 60%), linear-gradient(135deg, #2457f5, #1838b4); border-radius: 32px; padding: 72px 32px; text-align: center; color: #dfe7ff; max-width: 1152px; }
.final-box h2 { color: #fff; }
.final-box p { margin-top: 14px; font-size: 1.15rem; }
.center-actions { justify-content: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 12px; }
.footer-grid nav { display: flex; flex-direction: column; gap: 8px; }
.footer-grid nav a { color: var(--text); }
.footer-grid nav a:hover { color: var(--accent); }
.logo-footer { margin-bottom: 12px; }
.footer-legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
/* The full menu needs ~1230px next to the theme, language and sign-up buttons; below that the burger menu takes over. */
@media (max-width: 1260px) {
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0; margin: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 24px 18px; box-shadow: 0 20px 30px -20px rgba(11, 19, 36, .3); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav a:last-child { border-bottom: 0; }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  .menu-toggle { display: block; }
}
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero h1 { max-width: 20ch; }
  .hero-stage { min-height: 0; }
  .feature-grid { grid-template-columns: 1fr; gap: 44px; }
  .feature-grid.reverse .feature-copy { order: 0; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-wide { grid-column: span 2; }
  .tile-tg { grid-row: auto; }
  .partner { grid-template-columns: 1fr; padding: 40px; }
}
@media (max-width: 860px) {
  .header-cta .link-quiet { display: none; }
  .pains, .cards, .steps { grid-template-columns: minmax(0, 1fr); }
  .plans { grid-template-columns: minmax(0, 460px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --header-h: 62px; }
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .final { padding: 64px 0; }
  .hero { padding: 44px 0 40px; }
  .header-row { gap: 12px; }
  .header-cta { gap: 10px; }
  .header-cta .btn-sm { padding: 0 14px; font-size: 14px; }
  .only-narrow { display: inline; }
  .hero-actions .btn { width: 100%; }
  .phone { width: 280px; border-radius: 44px; }
  .phone-screen { border-radius: 34px; }
  .float-chip { right: -4px; top: 70px; padding: 10px 12px; font-size: 14px; }
  .float-tg { display: none; }
  .eyebrow { font-size: 13px; }
  .only-wide { display: none; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile-wide { grid-column: auto; grid-template-columns: minmax(0, 1fr); }
  .tile { padding: 22px 18px; }
  .browser-bar span { display: none; }
  .partner { padding: 28px 22px; border-radius: 22px; }
  .final-box { padding: 52px 20px; border-radius: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .faq details { padding: 0 18px; }
}
@media (max-width: 380px) {
  .logo { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float-chip, .float-tg { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Service logos */
.bi { display: inline-flex; align-items: center; gap: 5px; vertical-align: -3px; white-space: nowrap; }
.bi img, .bi svg { flex: none; width: 1.1em; height: 1.1em; border-radius: 4px; }
.bi svg.apple { width: 1em; height: 1em; color: var(--ink); }
/* On request: services we connect for a store when it asks; always visibly separate from what works today. */
.req-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 16px; margin-top: 28px; }
.req-group { background: var(--surface); border: 1px dashed var(--line-strong); border-radius: 14px; padding: 18px; min-width: 0; }
.req-group h3 { font-size: 16px; margin: 0 0 12px; }
.req-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.req-list li { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14.5px; min-width: 0; }
.req-list li > span:not(.req-tag):not(.gi) { min-width: 0; overflow-wrap: anywhere; }
.req-list li img, .req-list li .gi { flex: none; width: 22px; height: 22px; border-radius: 6px; }
.req-list small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; }
.req-tag { margin-left: auto; flex: none; font-size: 12px; font-weight: 700; color: var(--accent); border: 1px dashed var(--accent); border-radius: 999px; padding: 1px 8px; white-space: nowrap; }
.req-honest { margin: 16px 0; }
.req-ask { margin-top: 22px; }
.gi { flex: none; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); }
.gi svg { width: 14px; height: 14px; }
.checks .li-logo { display: flex; gap: 12px; align-items: flex-start; padding-left: 0; }
.checks .li-logo::before { display: none; }
.li-logo img, .li-logo .gi { flex: none; width: 24px; height: 24px; border-radius: 6px; margin-top: 1px; }
.li-logo .gi svg { width: 15px; height: 15px; }
.h-logo { display: flex; align-items: center; gap: 12px; }
.h-logo img { flex: none; border-radius: 8px; border: 1px solid var(--line); }
.logo-pair { display: inline-flex; gap: 4px; }
.logo-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.logo-row img { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); }
.tg-badge { margin-left: 8px; border-radius: 50%; }
.dark .bi { color: #fff; }
.btn img { width: 22px; height: 22px; margin-right: 2px; border-radius: 50%; }

/* Live demo call-to-action */
.demo-cta { max-width: 1080px; margin-top: 28px; display: flex; gap: 24px; align-items: center; justify-content: space-between; background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 20px; padding: 24px 28px; }
.demo-cta h3 { font-size: 1.2rem; }
.demo-cta p { color: var(--muted); margin-top: 6px; font-size: 16px; }
@media (max-width: 640px) { .demo-cta { flex-direction: column; align-items: stretch; padding: 20px; } }

/* Card and wallet acceptance marks */
.cards-line { margin-top: 18px; color: var(--muted); font-size: 15px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.pay-marks { display: inline-flex; gap: 6px; }
.pay-marks img { display: block; width: 38px; height: 24px; }

/* Language switch */
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; background: var(--surface); }
.lang a { font-size: 13px; font-weight: 700; color: var(--muted); padding: 4px 9px; border-radius: 999px; line-height: 1; }
.lang a[aria-current="page"] { background: var(--ink); color: var(--on-ink); }
.lang a:hover { color: var(--accent); }
.lang a[aria-current="page"]:hover { color: var(--on-ink); }

/* Comparison */
.small { font-size: 14px; }
.hero-compact { padding: 64px 0 48px; }
.hero-compact h1 { max-width: none; font-size: clamp(2rem, 4.2vw, 3.1rem); }
.hero-compact .lead { margin-left: auto; margin-right: auto; }
.cmp-wrap { margin-top: 28px; overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-sm); -webkit-overflow-scrolling: touch; }
.cmp-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
.cmp-table th, .cmp-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp-table tr:last-child th, .cmp-table tr:last-child td { border-bottom: 0; }
.cmp-table thead th { font-size: 14px; color: var(--muted); font-weight: 700; background: var(--soft); }
.cmp-table tbody th { font-weight: 600; color: var(--ink); width: 34%; }
.cmp-table .ours { background: var(--ours); }
.cmp-table thead .ours { background: var(--accent); color: #fff; }
.cmp-table.cost td { font-variant-numeric: tabular-nums; font-weight: 600; }
.cmp-table.cost tr.ours th, .cmp-table.cost tr.ours td { background: var(--ours); color: var(--accent-dark); font-weight: 800; }
.cmp-brand { display: inline-flex; align-items: center; gap: 8px; }
.cmp-brand .logo-mark { width: 20px; height: 20px; }
.cmp-yes, .cmp-no { display: inline-flex; align-items: flex-start; gap: 6px; }
.cmp-yes svg, .cmp-no svg { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.cmp-yes svg { color: var(--green); stroke-width: 3; }
.cmp-no svg { color: #c2412c; stroke-width: 3; }
.cmp-na { color: #98a0ae; font-size: 14px; }
.cmp-text { color: var(--text); }
.honest { border: 1px dashed var(--line-strong); border-radius: 20px; padding: 28px; background: var(--surface); }
.honest h2 { font-size: 1.5rem; }
.honest p { color: var(--muted); margin: 12px 0 14px; }
@media (max-width: 640px) {
  .lang a { padding: 4px 7px; }
  .header-cta { gap: 8px; }
  .cmp-table th, .cmp-table td { padding: 12px; }
}
.nav-lang { display: none; }
.scroll-hint { display: none; text-align: center; color: var(--muted); font-size: 13px; margin-top: 10px; }
@media (max-width: 860px) {
  .nav-lang { display: flex; align-items: center; gap: 10px; padding: 13px 0 4px; color: var(--muted); font-size: 15px; }
  .header-cta > .lang { display: none; }
}
@media (max-width: 640px) {
  .cmp-table.cost { min-width: 0; font-size: 13px; }
  .cmp-table.cost th, .cmp-table.cost td { padding: 10px 8px; }
  .cmp-table.features { min-width: 560px; font-size: 14px; }
  .cmp-table.features tbody th { position: sticky; left: 0; z-index: 1; background: var(--surface); box-shadow: 1px 0 0 var(--line); width: 150px; }
  .cmp-table.features thead th:first-child { position: sticky; left: 0; z-index: 1; }
  .scroll-hint { display: block; }
}

/* Theme switch (light / dark); the icon shows the theme it switches to. */
.theme-toggle { flex: none; display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); cursor: pointer; padding: 0; }
.theme-toggle:hover { color: var(--accent); border-color: var(--line-strong); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .i-sun, [data-theme="dark"] .theme-toggle .i-moon { display: none; }
[data-theme="dark"] .theme-toggle .i-sun { display: block; }
.nav-theme { display: none; }
@media (max-width: 860px) {
  .header-cta > .theme-toggle { display: none; }
  .nav-theme { display: flex; align-items: center; gap: 10px; padding: 4px 0 4px; color: var(--muted); font-size: 15px; }
}

/* Dark theme: the same layout on a deep navy palette. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f1f4fa;
  --text: #c7cfdd;
  --muted: #8e99ae;
  --line: #243049;
  --line-strong: #34425f;
  --bg: #0a0f1d;
  --soft: #0f1628;
  --surface: #121a2f;
  --on-ink: #0a0f1d;
  --accent: #7b9dff;
  --accent-dark: #a3bbff;
  --accent-soft: #16224a;
  --accent-line: #2a3c78;
  --faint: #44516d;
  --ours: #16224a;
  --green: #34c472;
  --header-bg: rgba(10, 15, 29, .82);
  --dots: rgba(255, 255, 255, .06);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .35), 0 2px 8px rgba(0, 0, 0, .25);
  --shadow: 0 2px 6px rgba(0, 0, 0, .3), 0 18px 40px -12px rgba(0, 0, 0, .55);
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, .7);
}
/* Buttons keep the brand blue so white text stays readable. */
[data-theme="dark"] .btn-primary { background: #2f5ff5; }
[data-theme="dark"] .btn-primary:hover { background: #4673ff; }
[data-theme="dark"] .btn-light { background: #fff; color: #0b1324; }
[data-theme="dark"] .hero { background:
  radial-gradient(900px 480px at 85% 10%, rgba(70, 115, 255, .22), transparent 60%),
  radial-gradient(600px 360px at 10% 0%, rgba(255, 210, 74, .08), transparent 60%),
  linear-gradient(180deg, #0d1426 0%, var(--bg) 100%); }
[data-theme="dark"] .eyebrow { border-color: var(--line); }
[data-theme="dark"] .chip-icon { background: #3a2f0c; color: #ffd24a; }
[data-theme="dark"] .tag-ok { color: #6be3a0; background: #0f2e1f; border-color: #1d5a3a; }
[data-theme="dark"] .browser-bar { background: #0f1628; }
[data-theme="dark"] .browser-bar i { background: #2b3650; }
[data-theme="dark"] .section.dark { background: radial-gradient(800px 400px at 90% 0%, rgba(36, 87, 245, .3), transparent 60%), #070b16; }
[data-theme="dark"] .partner { background: linear-gradient(135deg, #121c3a, #1d1a12); border-color: var(--line); }
[data-theme="dark"] .final-box { background: radial-gradient(700px 300px at 15% 0%, rgba(255, 210, 74, .18), transparent 60%), linear-gradient(135deg, #2350e0, #142c8c); }
[data-theme="dark"] .cmp-table thead .ours { background: #2f5ff5; color: #fff; }
[data-theme="dark"] .cmp-no svg { color: #ff7a63; }
[data-theme="dark"] .cmp-na { color: #6d7891; }
[data-theme="dark"] .menu-toggle span { background: var(--ink); }
/* Service logos and card marks are drawn for light backgrounds: give them a light tile. */
[data-theme="dark"] .bi img, [data-theme="dark"] .logo-row img, [data-theme="dark"] .h-logo img, [data-theme="dark"] .brands li img, [data-theme="dark"] .pay-grid li img, [data-theme="dark"] .li-logo img { background: #fff; }

/* Blog */
.blog-list { padding-top: 0; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.post-card { display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.post-card:hover { color: var(--text); border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.post-card h2, .post-card h3 { font-size: 1.15rem; line-height: 1.3; }
.post-card p { color: var(--muted); font-size: 15.5px; margin: 0; }
.post-type { align-self: flex-start; font-size: 12.5px; font-weight: 800; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 3px 10px; }
.post-meta { margin-top: auto; padding-top: 6px; font-size: 13.5px; color: var(--muted); }
.blog-rss { margin-top: 28px; }
.article-hero { padding: 44px 0 4px; }
.article-head > * { max-width: 820px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.article-hero h1 { font-size: clamp(1.85rem, 4vw, 2.75rem); max-width: 26ch; }
.article-meta { margin-top: 14px; color: var(--muted); font-size: 14.5px; }
.answer { margin-top: 24px; background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 16px; padding: 18px 22px; }
.answer b { display: block; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.answer p { margin: 0; color: var(--ink); font-size: 17.5px; line-height: 1.6; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 56px; align-items: start; padding-top: 28px; padding-bottom: 48px; }
.prose { min-width: 0; max-width: 760px; font-size: 17.5px; line-height: 1.75; }
.prose h2 { font-size: 1.6rem; margin: 2.1em 0 .6em; scroll-margin-top: calc(var(--header-h) + 16px); }
.prose h3 { font-size: 1.22rem; margin: 1.7em 0 .5em; scroll-margin-top: calc(var(--header-h) + 16px); }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--ink); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 1.4em 0; padding: 14px 20px; border-left: 4px solid var(--accent); background: var(--soft); border-radius: 0 12px 12px 0; }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose code { background: var(--soft); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: .88em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose .table-wrap { overflow-x: auto; margin: 1.4em 0; border: 1px solid var(--line); border-radius: 14px; -webkit-overflow-scrolling: touch; }
.prose table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.prose th, .prose td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--soft); color: var(--ink); font-weight: 700; }
.prose tr:last-child td { border-bottom: 0; }
.article-figure { margin: 1.8em 0; }
.article-figure img { margin: 0 auto; width: auto; max-height: 620px; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.article-figure figcaption { margin-top: 10px; text-align: center; color: var(--muted); font-size: 14px; line-height: 1.5; }
.article-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; }
.toc { border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; background: var(--surface); }
.toc b { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.toc ol { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 9px; font-size: 14.5px; line-height: 1.4; }
.toc a { color: var(--text); }
.toc a:hover { color: var(--accent); }
.aside-cta { border-radius: 16px; padding: 20px; background: var(--accent-soft); border: 1px solid var(--accent-line); display: grid; gap: 8px; }
.aside-cta b { color: var(--ink); }
.aside-cta p { margin: 0 0 6px; font-size: 15px; color: var(--text); line-height: 1.5; }
.aside-cta .btn { width: 100%; height: 44px; font-size: 15px; }
.article-faq h2 { margin-bottom: 8px; }
.related h2 { margin-bottom: 4px; }
@media (max-width: 1000px) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .article-aside { position: static; }
  .toc { display: none; }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: minmax(0, 1fr); }
  .article-hero { padding-top: 26px; }
  .prose { font-size: 16.5px; }
  .prose h2 { font-size: 1.4rem; }
  .answer { padding: 16px 18px; }
  .answer p { font-size: 16.5px; }
}

/* Integration pages: cards that are links, logo tiles, links on the dark final band */
.card-link { display: block; color: inherit; text-decoration: none; }
.card-link:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.card-link h3 { color: var(--ink); }
.ico-logo { background: var(--surface); border: 1px solid var(--line); }
.ico-logo img { border-radius: 6px; }
.link-light { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.hero-logo { margin: 0 0 14px; }
.hero-logo img { border-radius: 14px; box-shadow: var(--shadow-sm); }
