/* UPIDirect public website (static pages: home, docs, legal) */
:root {
  --ink: #0f172a; --ink-2: #334155; --muted: #64748b; --faint: #94a3b8; --line: #e2e8f0; --line-2: #f1f5f9; --bg: #fff; --soft: #f8fafc;
  --brand: #4f46e5; --brand-2: #4338ca; --brand-soft: #eef2ff; --green: #059669; --night: #0b1020;
  --font: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 4px 16px -4px rgba(15, 23, 42, .08);
  --shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, .35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--brand); }
h1, h2, h3, h4 { letter-spacing: -.025em; line-height: 1.15; margin: 0; }
p { margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.sec { padding: 96px 0; }
.sec.soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.sec-head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.sec-head p { color: var(--muted); font-size: 18px; margin-top: 14px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 12px; font: inherit; font-weight: 650; font-size: 15.5px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, transform .1s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -6px rgba(79, 70, 229, .55); }
.btn-primary:hover { background: var(--brand-2); }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow); }
.btn-glass { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .18); }
.btn-glass:hover { background: rgba(255, 255, 255, .14); }
.btn-sm { padding: 8px 14px; font-size: 14px; border-radius: 10px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(11, 16, 32, .82); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .07); }
.nav.light { background: rgba(255, 255, 255, .88); border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 800; font-size: 19px; letter-spacing: -.03em; }
.brand b { color: #a5b4fc; font-weight: 800; }
.nav.light .brand { color: var(--ink); } .nav.light .brand b { color: var(--brand); }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; gap: 26px; margin-left: 12px; }
.nav-links a { color: #cbd5e1; text-decoration: none; font-size: 14.5px; font-weight: 500; }
.nav-links a:hover { color: #fff; }
.nav.light .nav-links a { color: var(--ink-2); } .nav.light .nav-links a:hover { color: var(--brand); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.nav-cta .login { color: #e2e8f0; text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 8px 10px; }
.nav.light .nav-cta .login { color: var(--ink-2); }
.burger { display: none; margin-left: auto; background: none; border: 0; color: inherit; padding: 8px; cursor: pointer; }
.nav:not(.light) .burger { color: #fff; }

/* hero */
.hero { position: relative; overflow: hidden; background: var(--night); color: #fff; padding: 84px 0 100px;
  background-image: radial-gradient(60% 70% at 15% 0%, rgba(99, 102, 241, .45), transparent 60%), radial-gradient(50% 60% at 95% 30%, rgba(14, 165, 233, .28), transparent 60%), radial-gradient(40% 40% at 50% 110%, rgba(16, 185, 129, .18), transparent 70%); }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); font-size: 13.5px; color: #c7d2fe; }
.pill b { background: #10b981; color: #022c22; padding: 2px 9px; border-radius: 999px; font-size: 12px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 66px); font-weight: 850; letter-spacing: -.045em; margin: 22px 0 20px; }
.hero h1 .grad { background: linear-gradient(90deg, #a5b4fc, #67e8f9 60%, #6ee7b7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 19px; color: #cbd5e1; max-width: 560px; }
.hero-cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 13.5px; color: #94a3b8; display: flex; gap: 18px; flex-wrap: wrap; }
.hero-note span::before { content: '✓'; color: #34d399; font-weight: 800; margin-right: 6px; }

/* product visual */
.visual { position: relative; height: 560px; }
.phone { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 290px; height: 560px; border-radius: 44px; background: #111827; padding: 12px; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .08), inset 0 0 0 2px #1f2937; }
.screen { height: 100%; border-radius: 34px; overflow: hidden; background: #fff; color: var(--ink); display: flex; flex-direction: column; }
.scr-head { padding: 30px 18px 20px; text-align: center; color: #fff; background: #0b1020; background-image: radial-gradient(90% 80% at 0% 0%, rgba(99, 102, 241, .7), transparent 60%), radial-gradient(70% 70% at 100% 100%, rgba(14, 165, 233, .5), transparent 60%); }
.scr-logo { width: 42px; height: 42px; border-radius: 13px; margin: 0 auto; display: grid; place-items: center; background: rgba(255, 255, 255, .15); font-weight: 800; font-size: 15px; }
.scr-head .m { font-weight: 650; font-size: 14px; margin-top: 8px; }
.scr-head .p { font-size: 12px; color: #c7d2fe; }
.scr-head .a { font-size: 34px; font-weight: 800; letter-spacing: -.04em; margin-top: 4px; }
.scr-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.scr-btn { width: 100%; background: var(--brand); color: #fff; border-radius: 12px; padding: 12px; text-align: center; font-weight: 700; font-size: 14px; }
.scr-apps { font-size: 10.5px; color: var(--muted); }
.qr { width: 150px; height: 150px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; }
.scr-foot { margin-top: auto; padding: 10px; font-size: 10px; color: var(--muted); background: var(--soft); text-align: center; border-top: 1px solid var(--line); }
.float { position: absolute; background: rgba(255, 255, 255, .97); color: var(--ink); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: center; font-size: 13px; animation: bob 6s ease-in-out infinite; }
.float b { display: block; font-size: 14px; }
.float span { color: var(--muted); font-size: 12px; }
.float .ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; color: #fff; font-weight: 800; }
.f1 { left: -6px; top: 120px; } .f1 .ic { background: var(--green); }
.f2 { right: -10px; top: 300px; animation-delay: -3s; } .f2 .ic { background: var(--brand); font-size: 13px; }
.f3 { left: 10px; bottom: 34px; animation-delay: -1.5s; } .f3 .ic { background: #f59e0b; }
.f2 code { font-family: ui-monospace, Menlo, monospace; font-size: 11.5px; color: var(--brand); }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* apps strip */
.apps { padding: 28px 0; border-bottom: 1px solid var(--line); }
.apps-in { display: flex; align-items: center; gap: 14px 34px; flex-wrap: wrap; justify-content: center; color: var(--muted); font-size: 14px; }
.apps-in strong { color: var(--ink-2); font-weight: 600; }
.chip { font-weight: 700; color: #475569; font-size: 15.5px; letter-spacing: -.01em; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 26px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.stat b { display: block; font-size: 38px; font-weight: 850; letter-spacing: -.04em; background: linear-gradient(90deg, var(--brand), #0ea5e9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: 14.5px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 28px 24px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: -14px; left: 24px; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; box-shadow: 0 0 0 5px #fff; }
.step h3 { font-size: 18px; margin: 10px 0 8px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* compare */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); font-size: 15px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.compare thead th { background: var(--soft); font-size: 14px; color: var(--ink-2); }
.compare thead th.us { background: var(--brand); color: #fff; }
.compare td.us { background: #f5f7ff; font-weight: 600; color: var(--ink); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td:first-child { color: var(--ink-2); font-weight: 600; width: 26%; }
.y { color: var(--green); font-weight: 800; margin-right: 6px; } .n { color: #dc2626; font-weight: 800; margin-right: 6px; }
.note { color: var(--faint); font-size: 13px; margin-top: 14px; text-align: center; }

/* calculator */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); }
.calc-l { padding: 40px; }
.calc-l h3 { font-size: 26px; font-weight: 800; }
.calc-l p { color: var(--muted); margin: 10px 0 28px; }
.calc label { display: block; font-weight: 650; font-size: 14px; color: var(--ink-2); }
.calc output { display: block; font-size: 34px; font-weight: 850; letter-spacing: -.03em; margin: 6px 0 12px; }
.calc input[type=range] { width: 100%; accent-color: var(--brand); height: 6px; }
.calc .scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--faint); margin-top: 6px; }
.calc-r { background: var(--night); color: #fff; padding: 40px; display: flex; flex-direction: column; gap: 18px; justify-content: center;
  background-image: radial-gradient(80% 60% at 100% 0%, rgba(99, 102, 241, .5), transparent 60%); }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .1); color: #cbd5e1; }
.calc-row b { color: #fff; font-size: 20px; }
.calc-row.bad b { color: #fca5a5; }
.save { font-size: 14px; color: #a5b4fc; }
.save b { display: block; font-size: 46px; font-weight: 850; letter-spacing: -.04em; color: #6ee7b7; }

/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 28px; border-radius: 18px; border: 1px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.feature:hover { border-color: #c7d2fe; box-shadow: var(--shadow); transform: translateY(-2px); }
.feature .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 18px; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }
.soon { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #92400e; background: #fef3c7; padding: 2px 8px; border-radius: 6px; margin-left: 6px; vertical-align: middle; }

/* use cases */
.uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.use { padding: 26px; border-radius: 18px; background: #fff; border: 1px solid var(--line); display: flex; gap: 16px; }
.use .e { font-size: 28px; line-height: 1; }
.use h3 { font-size: 17px; margin-bottom: 6px; }
.use p { color: var(--muted); font-size: 14.5px; }

/* developers band */
.dev { background: var(--night); color: #fff; background-image: radial-gradient(50% 60% at 0% 100%, rgba(99, 102, 241, .35), transparent 60%); }
.dev .sec-head h2 { color: #fff; } .dev .sec-head p { color: #94a3b8; }
.dev-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; }
.dev-list { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 18px; }
.dev-list li { display: flex; gap: 14px; }
.dev-list .ic { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #a5b4fc; }
.dev-list b { display: block; } .dev-list span { color: #94a3b8; font-size: 14.5px; }
.codebox { background: #0f172a; border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); }
.tabs { display: flex; gap: 2px; padding: 10px 10px 0; background: #0b1222; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.tabs button { background: none; border: 0; color: #94a3b8; font: inherit; font-size: 13px; font-weight: 600; padding: 9px 14px; border-radius: 9px 9px 0 0; cursor: pointer; }
.tabs button.on { background: #0f172a; color: #fff; box-shadow: inset 0 2px 0 #818cf8; }
pre { margin: 0; }
.codebox pre { padding: 20px 22px; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 13px; line-height: 1.7; color: #e2e8f0; overflow-x: auto; }
.codebox pre[hidden] { display: none; }
.k { color: #c4b5fd; } .s { color: #86efac; } .c { color: #64748b; } .f { color: #7dd3fc; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; padding: 32px 28px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan.pop { border: 2px solid var(--brand); box-shadow: 0 24px 50px -20px rgba(79, 70, 229, .45); }
.plan .tagline { position: absolute; top: -13px; left: 28px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 18px; }
.plan .for { color: var(--muted); font-size: 14px; margin-top: 4px; }
.price { margin: 20px 0 4px; font-size: 44px; font-weight: 850; letter-spacing: -.04em; }
.price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .zero { font-size: 13.5px; color: var(--green); font-weight: 700; margin-bottom: 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 11px; font-size: 14.5px; color: var(--ink-2); }
.plan li::before { content: '✓'; color: var(--green); font-weight: 800; margin-right: 10px; }
.plan .btn { margin-top: auto; }
.trial { text-align: center; margin-top: 26px; color: var(--muted); }

/* faq */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 4px; }
.faq summary { cursor: pointer; font-weight: 650; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; color: var(--brand); line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin-top: 12px; }

/* cta */
.cta { position: relative; overflow: hidden; border-radius: 28px; padding: 64px 48px; text-align: center; color: #fff; background: var(--night);
  background-image: radial-gradient(60% 80% at 0% 0%, rgba(99, 102, 241, .6), transparent 60%), radial-gradient(60% 80% at 100% 100%, rgba(14, 165, 233, .45), transparent 60%); }
.cta h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 850; }
.cta p { color: #c7d2fe; font-size: 18px; margin: 14px auto 30px; max-width: 560px; }
.cta .hero-cta { justify-content: center; }

/* share */
.share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; padding: 34px 0 0; color: var(--muted); font-size: 14px; }
.share a, .share button { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font: inherit; font-size: 13.5px; font-weight: 600; text-decoration: none; cursor: pointer; }
.share a:hover, .share button:hover { border-color: #c7d2fe; color: var(--brand); }

/* footer */
.foot { background: var(--night); color: #94a3b8; padding: 64px 0 34px; margin-top: 96px; font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.foot h4 { color: #fff; font-size: 14px; margin-bottom: 14px; letter-spacing: 0; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.foot a { color: #cbd5e1; text-decoration: none; } .foot a:hover { color: #fff; }
.foot .brand { margin-bottom: 14px; }
.foot .addr { font-size: 13px; margin-top: 14px; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 44px; padding-top: 22px; font-size: 12.5px; color: #64748b; display: flex; flex-direction: column; gap: 8px; }
.more { columns: 2; column-gap: 16px; }
.more li { break-inside: avoid; margin-bottom: 9px; }

/* doc + legal pages */
.page-hero { background: var(--night); color: #fff; padding: 64px 0 56px; background-image: radial-gradient(60% 80% at 0% 0%, rgba(99, 102, 241, .45), transparent 60%); }
.page-hero h1 { font-size: clamp(32px, 4.5vw, 48px); font-weight: 850; }
.page-hero p { color: #c7d2fe; font-size: 18px; margin-top: 12px; max-width: 720px; }
.crumbs { font-size: 13.5px; color: #94a3b8; margin-bottom: 16px; }
.crumbs a { color: #c7d2fe; text-decoration: none; }
.prose { max-width: 780px; padding: 56px 24px 0; margin: 0 auto; }
.prose h2 { font-size: 26px; font-weight: 800; margin: 44px 0 14px; padding-top: 4px; }
.prose h3 { font-size: 19px; margin: 30px 0 10px; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 22px; margin: 12px 0; } .prose li { margin: 6px 0; }
.prose code { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 13.5px; background: var(--line-2); padding: 2px 6px; border-radius: 6px; color: #3730a3; }
.prose .codebox { margin: 18px 0; }
.prose .codebox pre code { background: none; color: inherit; padding: 0; font-size: 13px; }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14.5px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--soft); font-size: 13.5px; }
.callout { border: 1px solid #c7d2fe; background: #f5f7ff; border-radius: 14px; padding: 16px 18px; margin: 18px 0; color: var(--ink-2); }
.callout.warn { border-color: #fde68a; background: #fffbeb; }
.updated { color: var(--faint); font-size: 14px; }
.docs { display: grid; grid-template-columns: 240px 1fr; gap: 48px; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.docs .prose { padding: 48px 0 0; margin: 0; max-width: 820px; }
.toc { position: sticky; top: 92px; align-self: start; padding-top: 48px; font-size: 14px; max-height: calc(100vh - 100px); overflow: auto; }
.toc b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin: 18px 0 8px; }
.toc a { display: block; color: var(--ink-2); text-decoration: none; padding: 5px 10px; border-radius: 8px; }
.toc a:hover { background: var(--line-2); color: var(--brand); }
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 20px 0; }
.path { border: 1px solid var(--line); border-radius: 16px; padding: 18px; text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
.path:hover { border-color: #a5b4fc; box-shadow: var(--shadow); }
.path b { display: block; color: var(--ink); margin-bottom: 4px; } .path span { color: var(--muted); font-size: 14px; }
.path em { display: inline-block; font-style: normal; font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--brand); margin-bottom: 8px; }
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 18px 0; }
.flow div { background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-size: 13px; color: var(--ink-2); position: relative; }
.flow b { display: block; color: var(--ink); font-size: 13.5px; margin-bottom: 2px; }
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 20px 0; }
.contact-cards div { border: 1px solid var(--line); border-radius: 16px; padding: 20px; }

/* responsive */
@media (max-width: 1000px) {
  .hero-grid, .dev-grid, .calc { grid-template-columns: 1fr; }
  .visual { height: 560px; max-width: 420px; margin: 0 auto; width: 100%; }
  .stats, .steps { grid-template-columns: repeat(2, 1fr); }
  .features, .uses, .plans { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .docs { grid-template-columns: minmax(0, 1fr); } .toc { display: none; }
  .docs .prose { min-width: 0; }
  .prose table { display: block; overflow-x: auto; }
  .paths, .flow { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
  .nav.open .nav-links, .nav.open .nav-cta { display: flex; }
  .nav.open .nav-in { flex-wrap: wrap; height: auto; padding: 14px 0; }
  .nav.open .nav-links { flex-direction: column; width: 100%; gap: 14px; margin: 8px 0 0; order: 3; }
  .nav.open .nav-cta { width: 100%; order: 4; margin: 6px 0 4px; }
  .sec { padding: 68px 0; }
  .hero { padding: 56px 0 64px; }
  .stats, .steps, .features, .uses, .plans, .contact-cards { grid-template-columns: 1fr; }
  .steps { gap: 28px; }
  .compare { font-size: 13.5px; display: block; overflow-x: auto; }
  .compare th, .compare td { padding: 12px; min-width: 130px; }
  .calc-l, .calc-r { padding: 28px 22px; }
  .cta { padding: 48px 22px; border-radius: 22px; }
  .foot-grid { grid-template-columns: 1fr; }
  .phone { transform: translateX(-50%) scale(.9); transform-origin: top center; }
  .f1 { left: 0; } .f2 { right: 0; } .float { padding: 10px 12px; }
}
.tabs .copy-btn { margin-left: auto; color: #c7d2fe; }
