/* Nugezza Developer — the public site. Light only (owner, 2026-10-07).
   Desktop first: the layout is designed at 1200px and steps down at 980px and
   640px. The blue is the logo's arch. */

:root {
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --bg-tint: #eef4fe;
  --ink: #0b1324;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e4e9f1;
  --brand: #4285e8;
  --brand-ink: #1f5fd1;
  --brand-ink-hover: #184fb3;
  --ok: #0e8a4f;
  --warn: #b45309;
  --danger: #c0352b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px rgba(15, 23, 42, .06);
  --shadow-lg: 0 18px 48px rgba(15, 23, 42, .14);
  --max: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-ink); text-decoration: none; }
a:hover { color: var(--brand-ink-hover); text-decoration: underline; }
:focus-visible { outline: 3px solid rgba(66, 133, 232, .45); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 32px; }

/* ── Header ─────────────────────────────────────────────── */
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { text-decoration: none; color: var(--ink); }
.brand img { width: 40px; height: 40px; }
/* The site's NAME, as plain text — not the logo's wordmark. The mark beside it
   is the real image; the lettering of the logo is never re-set in type. */
.brand-name { display: flex; flex-direction: column; font-size: 18px; font-weight: 700; letter-spacing: -.01em; line-height: 1.15; color: var(--ink); white-space: nowrap; }
.brand-name small { font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.nav { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.nav a { color: var(--ink-2); font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 9px; }
.nav a:hover { background: var(--bg-soft); text-decoration: none; color: var(--ink); }
.nav a[aria-current="page"] { color: var(--brand-ink); background: var(--bg-tint); }
.menu { display: none; margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; padding: 9px 14px; border: 1px solid var(--line); border-radius: 10px; font-weight: 600; font-size: 15px; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] .menu-panel { display: flex; }
.menu-panel { display: none; position: absolute; right: 0; top: calc(100% + 8px); flex-direction: column; min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 8px; }
.menu-panel a { padding: 12px 14px; border-radius: 9px; color: var(--ink); font-weight: 500; }
.menu-panel a:hover { background: var(--bg-soft); text-decoration: none; }

/* ── Buttons ────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-size: 16px; font-weight: 600; padding: 13px 22px; border-radius: 12px; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand-ink); color: #fff; box-shadow: 0 6px 18px rgba(31, 95, 209, .25); }
.btn-primary:hover { background: var(--brand-ink-hover); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #c9d3e3; color: var(--ink); }
.btn-sm { padding: 9px 16px; font-size: 15px; border-radius: 10px; }
.btn[disabled] { opacity: .6; cursor: default; }

/* ── Hero ───────────────────────────────────────────────── */
.hero { padding: 72px 0 64px; background: linear-gradient(180deg, #f7faff 0%, #ffffff 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-ink); background: var(--bg-tint); padding: 6px 12px; border-radius: 999px; }
.eyebrow img { width: 18px; height: 18px; }
.hero h1 { font-size: 56px; margin: 20px 0 20px; font-weight: 800; }
.hero .lead { font-size: 19px; color: var(--ink-2); max-width: 560px; }
.hero .ctas { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-art { position: relative; }
.hero-art img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow-lg); }
.hero-badge { position: absolute; left: -28px; bottom: 28px; display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow); }
.hero-badge img { width: 44px; height: 44px; }
.hero-badge b { display: block; font-size: 15px; }
.hero-badge span { font-size: 13px; color: var(--muted); }
.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 44px; border-top: 1px solid var(--line); padding-top: 22px; max-width: 560px; }
.proof div b { display: block; font-size: 18px; }
.proof div span { font-size: 14px; color: var(--muted); }

/* ── Sections ───────────────────────────────────────────── */
.sec { padding: 88px 0; }
.sec-soft { background: var(--bg-soft); }
.sec-head { max-width: 720px; margin-bottom: 44px; }
.sec-head h2 { font-size: 40px; font-weight: 800; }
.sec-head p { font-size: 18px; color: var(--ink-2); margin-top: 14px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); color: var(--ink); transition: transform .15s, box-shadow .15s, border-color .15s; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #cfdaea; text-decoration: none; color: var(--ink); }
.card-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; }
.card-ico svg { width: 26px; height: 26px; }
.card h3 { font-size: 21px; }
.card .tag { font-size: 14px; color: var(--muted); margin-top: 4px; }
.card p { color: var(--ink-2); margin-top: 14px; font-size: 16px; }
.card .more { margin-top: auto; padding-top: 18px; font-weight: 600; color: var(--brand-ink); display: inline-flex; align-items: center; gap: 6px; }

.svc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.svc svg { width: 28px; height: 28px; color: var(--brand-ink); }
.svc h3 { font-size: 18px; margin-top: 16px; }
.svc p { font-size: 15px; color: var(--ink-2); margin-top: 8px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 26px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step .n { width: 36px; height: 36px; border-radius: 50%; background: var(--brand-ink); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 16px; }
.step h3 { font-size: 18px; margin-top: 16px; }
.step p { font-size: 15px; color: var(--ink-2); margin-top: 8px; }

.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.why h3 { font-size: 19px; display: flex; gap: 10px; align-items: center; }
.why h3::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--brand); flex: none; }
.why p { color: var(--ink-2); margin-top: 10px; font-size: 16px; }

.band { background: linear-gradient(135deg, #1f5fd1 0%, #4285e8 100%); color: #fff; border-radius: 24px; padding: 52px 56px; display: flex; align-items: center; gap: 32px; justify-content: space-between; }
.band h2 { font-size: 34px; font-weight: 800; }
.band p { color: rgba(255, 255, 255, .88); margin-top: 10px; font-size: 18px; max-width: 560px; }
.band .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.band .btn-primary { background: #fff; color: var(--brand-ink); box-shadow: none; }
.band .btn-primary:hover { background: #eef4fe; color: var(--brand-ink-hover); }
.band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.band .btn-ghost:hover { border-color: #fff; color: #fff; }

/* ── Page heads (inner pages) ───────────────────────────── */
.phead { padding: 64px 0 40px; background: linear-gradient(180deg, #f7faff 0%, #ffffff 100%); border-bottom: 1px solid var(--line); }
.phead h1 { font-size: 46px; font-weight: 800; max-width: 820px; }
.phead p { font-size: 19px; color: var(--ink-2); margin-top: 16px; max-width: 720px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }

/* ── App guide ──────────────────────────────────────────── */
.app-top { display: flex; align-items: center; gap: 22px; }
.app-top .card-ico { width: 72px; height: 72px; border-radius: 18px; margin: 0; }
.app-top .card-ico svg { width: 36px; height: 36px; }
.app-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; align-items: center; }
.app-actions small { color: var(--muted); font-size: 14px; }
.doc { display: grid; grid-template-columns: 240px 1fr; gap: 56px; padding: 56px 0 88px; }
.toc { position: sticky; top: 96px; align-self: start; display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.toc b { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.toc a { color: var(--ink-2); padding: 7px 10px; border-radius: 8px; }
.toc a:hover { background: var(--bg-soft); text-decoration: none; color: var(--ink); }
.doc-body { min-width: 0; }
.doc-body section { margin-bottom: 52px; scroll-margin-top: 96px; }
.doc-body h2 { font-size: 28px; font-weight: 800; margin-bottom: 18px; }
.doc-body h3 { font-size: 18px; }
.doc-body p { color: var(--ink-2); }
.doc-body p + p { margin-top: 12px; }
.feat { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feat div { border: 1px solid var(--line); border-radius: 14px; padding: 20px; background: #fff; }
.feat p { font-size: 15px; margin-top: 6px; }
.olist { counter-reset: o; list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.olist li { counter-increment: o; display: grid; grid-template-columns: 34px 1fr; gap: 14px; }
.olist li::before { content: counter(o); width: 30px; height: 30px; border-radius: 50%; background: var(--bg-tint); color: var(--brand-ink); font-weight: 700; display: grid; place-items: center; font-size: 14px; }
.olist p { font-size: 15px; margin-top: 2px; }
.ulist { margin: 0; padding-left: 20px; color: var(--ink-2); }
.ulist li + li { margin-top: 6px; }
details.qa { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
details.qa + details.qa { margin-top: 10px; }
details.qa summary { cursor: pointer; padding: 16px 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 20px; line-height: 1; }
details.qa[open] summary::after { content: "−"; }
details.qa > div { padding: 0 18px 18px; color: var(--ink-2); font-size: 16px; }
details.qa > div ol, details.qa > div ul { margin: 0; padding-left: 20px; }
details.qa > div li + li { margin-top: 6px; }
.note { background: var(--bg-tint); border: 1px solid #d4e3fb; border-radius: 12px; padding: 14px 16px; color: var(--ink-2); font-size: 15px; margin-top: 14px; }
.shot { margin-top: 18px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--bg-soft); }
.shot img { width: 100%; }
.shot figcaption { font-size: 13px; color: var(--muted); padding: 10px 14px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; margin-top: 14px; }
.tbl td { border-top: 1px solid var(--line); padding: 10px 12px 10px 0; vertical-align: top; color: var(--ink-2); }
.tbl td:first-child { color: var(--ink); font-weight: 600; width: 34%; }
.ask { border: 1px solid var(--line); border-radius: 18px; padding: 28px; background: var(--bg-soft); display: flex; gap: 24px; align-items: center; justify-content: space-between; }
.ask h2 { font-size: 22px; margin: 0; }
.ask p { margin-top: 6px; }
.ask .ctas { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── Contact ────────────────────────────────────────────── */
.contact { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; padding: 56px 0 96px; align-items: start; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); }
.form h2 { font-size: 24px; margin-bottom: 20px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fld { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.fld label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.fld label small { font-weight: 400; color: var(--muted); }
.fld input, .fld select, .fld textarea { font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #cfd8e6; border-radius: 10px; padding: 12px 14px; width: 100%; }
.fld textarea { min-height: 150px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(66, 133, 232, .18); }
.fld .hint { font-size: 13px; color: var(--muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 16px; justify-content: space-between; flex-wrap: wrap; margin-top: 6px; }
.form-foot small { color: var(--muted); font-size: 13px; }
.msg-err { background: #fdecea; color: var(--danger); border: 1px solid #f5c6c1; border-radius: 10px; padding: 12px 14px; font-size: 15px; margin-bottom: 16px; }
.msg-ok { text-align: center; padding: 28px 8px; }
.msg-ok .tick { width: 56px; height: 56px; border-radius: 50%; background: #e7f6ee; color: var(--ok); display: grid; place-items: center; margin: 0 auto 16px; }
.msg-ok h2 { font-size: 22px; }
.msg-ok p { color: var(--ink-2); margin: 10px 0 20px; }
.direct { display: flex; flex-direction: column; gap: 12px; }
.direct h2 { font-size: 20px; margin-bottom: 6px; }
.dlink { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); }
.dlink:hover { border-color: #c9d3e3; text-decoration: none; color: var(--ink); }
.dlink svg { width: 22px; height: 22px; color: var(--brand-ink); flex: none; }
.dlink span { display: flex; flex-direction: column; font-size: 15px; }
.dlink small { color: var(--muted); font-size: 13px; }
.dlink-chat { background: var(--bg-tint); border-color: #d4e3fb; cursor: pointer; font: inherit; text-align: left; width: 100%; }

/* ── About ──────────────────────────────────────────────── */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; padding: 56px 0 96px; align-items: start; }
.about p { color: var(--ink-2); font-size: 18px; }
.about p + p { margin-top: 18px; }
.logos { display: grid; gap: 20px; }
.logo-card { border: 1px solid var(--line); border-radius: 18px; padding: 24px; background: #fff; display: flex; align-items: center; gap: 20px; }
.logo-card img { width: 96px; height: 96px; border-radius: 12px; }
.logo-card b { display: block; font-size: 18px; }
.logo-card span { color: var(--muted); font-size: 14px; }

/* ── Footer ─────────────────────────────────────────────── */
.ftr { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 56px 0 32px; margin-top: 0; }
.ftr .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.ftr p { color: var(--muted); font-size: 15px; margin-top: 14px; max-width: 320px; }
.ftr h4 { margin: 0 0 12px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ftr ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.ftr ul a { color: var(--ink-2); }
.ftr .base { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.parent { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.parent img { width: 22px; height: 22px; }

/* ── Live chat ──────────────────────────────────────────── */
.chat-btn { position: fixed; right: 24px; bottom: 24px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; background: var(--brand-ink); color: #fff; border: 0; border-radius: 999px; padding: 14px 20px 14px 16px; font: inherit; font-weight: 600; font-size: 16px; box-shadow: 0 10px 30px rgba(31, 95, 209, .35); cursor: pointer; }
.chat-btn:hover { background: var(--brand-ink-hover); }
.chat-btn svg { width: 22px; height: 22px; }
.chat-btn .dot { width: 9px; height: 9px; border-radius: 50%; background: #b8c6dc; box-shadow: 0 0 0 2px var(--brand-ink); }
.chat-btn .dot.on { background: #34d399; }
.chat-btn .badge { min-width: 20px; height: 20px; border-radius: 10px; background: #fff; color: var(--brand-ink); font-size: 12px; font-weight: 700; display: none; place-items: center; padding: 0 6px; }
.chat-btn .badge.show { display: grid; }
.chat-panel { position: fixed; right: 24px; bottom: 24px; z-index: 61; width: 384px; height: 580px; max-height: calc(100vh - 48px); background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); display: none; flex-direction: column; overflow: hidden; }
.chat-panel.open { display: flex; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: linear-gradient(135deg, #1f5fd1, #4285e8); color: #fff; }
.chat-head img { width: 38px; height: 38px; border-radius: 10px; background: #fff; }
.chat-head b { display: block; font-size: 16px; }
.chat-head span { font-size: 13px; opacity: .92; display: flex; align-items: center; gap: 6px; }
.chat-head span i { width: 8px; height: 8px; border-radius: 50%; background: #c7d2fe; display: inline-block; }
.chat-head span i.on { background: #6ee7b7; }
.chat-x { margin-left: auto; background: rgba(255, 255, 255, .16); border: 0; color: #fff; width: 34px; height: 34px; border-radius: 10px; cursor: pointer; font-size: 20px; line-height: 1; }
.chat-x:hover { background: rgba(255, 255, 255, .26); }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; background: #f8fafd; overscroll-behavior: contain; }
.bub { max-width: 82%; padding: 10px 13px; border-radius: 14px; font-size: 15px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.bub small { display: block; font-size: 11px; opacity: .7; margin-top: 4px; }
.bub.me { align-self: flex-end; background: var(--brand-ink); color: #fff; border-bottom-right-radius: 5px; }
.bub.them { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.bub.sys { align-self: center; background: transparent; color: var(--muted); font-size: 13px; text-align: center; max-width: 92%; }
.bub.fail { background: #fdecea; color: var(--danger); cursor: pointer; }
.bub .who { font-size: 12px; font-weight: 700; color: var(--brand-ink); margin-bottom: 2px; }
.chat-intro { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; font-size: 15px; color: var(--ink-2); }
.chat-id { display: grid; gap: 8px; padding: 10px 12px 0; border-top: 1px solid var(--line); }
.chat-id input { font: inherit; font-size: 15px; border: 1px solid #cfd8e6; border-radius: 10px; padding: 10px 12px; }
.chat-form { display: flex; gap: 8px; padding: 10px 12px 12px; align-items: flex-end; }
.chat-form textarea { flex: 1; font: inherit; font-size: 15px; border: 1px solid #cfd8e6; border-radius: 12px; padding: 10px 12px; resize: none; min-height: 44px; max-height: 120px; }
.chat-form textarea:focus, .chat-id input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(66, 133, 232, .18); }
.chat-form button { background: var(--brand-ink); color: #fff; border: 0; border-radius: 12px; height: 44px; padding: 0 16px; font: inherit; font-weight: 600; cursor: pointer; }
.chat-form button[disabled] { opacity: .5; }
.chat-err { color: var(--danger); font-size: 13px; padding: 0 14px 8px; display: none; }
.chat-err.show { display: block; }

/* ── 404 ────────────────────────────────────────────────── */
.nf { padding: 120px 0; text-align: center; }
.nf h1 { font-size: 40px; }
.nf p { color: var(--ink-2); margin: 14px auto 28px; max-width: 520px; }

/* ── Step down: tablets ─────────────────────────────────── */
@media (max-width: 980px) {
  .wrap { padding: 0 24px; }
  .nav { display: none; }
  .hdr-cta { display: none; }
  .menu { display: block; }
  .hero { padding: 48px 0 48px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 44px; }
  .hero-badge { left: 16px; bottom: 16px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .svc, .steps { grid-template-columns: 1fr 1fr; }
  .why { grid-template-columns: 1fr; gap: 24px; }
  .band { flex-direction: column; align-items: flex-start; padding: 40px; }
  .doc { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .toc b { width: 100%; }
  .toc a { border: 1px solid var(--line); }
  .contact, .about { grid-template-columns: 1fr; }
  .ftr .cols { grid-template-columns: 1fr 1fr; }
  .sec { padding: 64px 0; }
}

/* ── Step down: phones ──────────────────────────────────── */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hdr .wrap { height: 64px; }
  .brand img { width: 34px; height: 34px; }
  .brand-name { font-size: 16px; }
  .brand-name small { font-size: 12px; }
  .hero h1 { font-size: 34px; }
  .hero .lead { font-size: 17px; }
  .hero .ctas .btn { flex: 1 1 100%; }
  .proof { grid-template-columns: 1fr; gap: 12px; }
  .cards, .svc, .steps, .feat { grid-template-columns: 1fr; }
  .sec-head h2 { font-size: 30px; }
  .sec-head p { font-size: 17px; }
  .phead { padding: 40px 0 28px; }
  .phead h1 { font-size: 32px; }
  .phead p { font-size: 17px; }
  .band { padding: 28px 22px; border-radius: 18px; }
  .band h2 { font-size: 26px; }
  .band .ctas .btn { flex: 1 1 100%; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .form { padding: 22px 18px; }
  .ask { flex-direction: column; align-items: flex-start; }
  .app-top .card-ico { width: 56px; height: 56px; }
  .ftr .cols { grid-template-columns: 1fr; }
  .chat-btn { right: 16px; bottom: 16px; padding: 14px; }
  .chat-btn .lbl { display: none; }
  .chat-panel { right: 0; bottom: 0; width: 100%; height: 100%; max-height: none; border-radius: 0; border: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  a.card, .btn { transition: none; }
  a.card:hover { transform: none; }
}
