/* Mackenzie Bonds client portal — white, with the gold of the logo. Phone first. */
:root {
  --gold: #86660f; --gold-dark: #6e520c; --gold-mid: #c9a13b; --gold-light: #f0d070; --gold-tint: #fbf5e6; --gold-tint-2: #f6ecd2;
  --grad: linear-gradient(135deg, #f0d070 0%, #c9a13b 45%, #9c7a1a 100%);
  --ink: #1c1a19; --ink-2: #3d3835; --ash: #6b6660; --ash-2: #8d8780; --line: #ece6dc; --line-soft: #f4efe6; --paper: #fff; --cream: #fcfaf5;
  --ok: #2f7d5a; --ok-tint: #eaf3ee; --warn: #935f12; --warn-tint: #fbf3e3; --bad: #b42318; --bad-tint: #fbeceb; --info: #2e5aa8; --info-tint: #eef3fb;
  --r: 18px; --shadow: 0 1px 2px rgba(28, 26, 25, .04), 0 12px 32px -16px rgba(80, 60, 10, .22);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 15px; line-height: 1.55; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4, p { margin: 0; }
h1 { font-size: clamp(30px, 5.4vw, 50px); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; text-wrap: balance; }
h2 { font-size: clamp(22px, 3.2vw, 30px); letter-spacing: -.02em; font-weight: 800; line-height: 1.2; text-wrap: balance; }
h3 { font-size: 17px; font-weight: 750; letter-spacing: -.01em; }
a { color: var(--gold); text-decoration: none; font-weight: 600; }
a:hover { color: var(--gold-dark); }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(201, 161, 59, .55); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.muted { color: var(--ash); } .small { font-size: 13px; } .tiny { font-size: 12px; } .strong { font-weight: 700; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .between { justify-content: space-between; } .grow { flex: 1; min-width: 0; }
.stack > * + * { margin-top: 16px; }
.hide { display: none !important; }

/* ---- top bar ----------------------------------------------------------------------------------------------------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand img { height: 52px; width: auto; }
.top nav { display: flex; align-items: center; gap: 4px; }
.top nav a { color: var(--ink-2); font-weight: 600; font-size: 14px; padding: 9px 12px; border-radius: 10px; }
.top nav a:hover, .top nav a.on { background: var(--gold-tint); color: var(--gold-dark); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; border-radius: 12px; cursor: pointer; align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; content: ''; }
.burger span::before { position: absolute; top: -6px; } .burger span::after { position: absolute; top: 6px; }

/* ---- buttons, inputs ----------------------------------------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 700; font-size: 14.5px; cursor: pointer; text-decoration: none; transition: transform .08s ease, box-shadow .15s ease, background .15s ease; white-space: nowrap; }
.btn:hover { border-color: #d9ceb6; color: var(--ink); background: var(--cream); }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #fff; box-shadow: 0 10px 22px -12px rgba(134, 102, 15, .8); }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.btn-ghost { border-color: transparent; background: none; }
.btn-ghost:hover { background: var(--gold-tint); }
.btn-danger { color: var(--bad); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn .spin { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link-btn { border: 0; background: none; padding: 0; color: var(--gold); font-weight: 700; cursor: pointer; }
label.lbl { display: block; font-weight: 650; font-size: 14px; margin-bottom: 6px; color: var(--ink); }
label.lbl .req { color: var(--gold); }
.help { font-size: 12.5px; color: var(--ash); margin-top: 6px; }
.err { font-size: 12.5px; color: var(--bad); margin-top: 6px; font-weight: 600; }
.inp { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #ddd5c4; border-radius: 12px; background: #fff; font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.inp:focus { outline: 0; border-color: var(--gold-mid); box-shadow: 0 0 0 4px rgba(201, 161, 59, .18); }
textarea.inp { min-height: 110px; resize: vertical; }
.inp.bad { border-color: var(--bad); }
.money { position: relative; } .money > span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ash); font-weight: 600; } .money .inp { padding-left: 32px; }
.choices { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.choice { position: relative; display: flex; align-items: flex-start; gap: 10px; padding: 13px 14px; border: 1px solid #ddd5c4; border-radius: 14px; background: #fff; cursor: pointer; font-weight: 600; font-size: 14.5px; transition: border-color .15s, background .15s; }
.choice:hover { border-color: var(--gold-mid); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .tick { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #cfc5ae; flex-shrink: 0; margin-top: 1px; display: grid; place-items: center; transition: all .15s; }
.choice.box .tick { border-radius: 6px; }
.choice.on { border-color: var(--gold); background: var(--gold-tint); }
.choice.on .tick { border-color: var(--gold); background: var(--gold); box-shadow: inset 0 0 0 3px #fff; }
.choice.box.on .tick { box-shadow: none; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 14px no-repeat; }
.choice small { display: block; font-weight: 500; color: var(--ash); font-size: 12.5px; margin-top: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; cursor: pointer; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.check input { width: 20px; height: 20px; accent-color: var(--gold); flex-shrink: 0; margin-top: 1px; }
.check.bad { border-color: var(--bad); background: var(--bad-tint); }
.grid2 { display: grid; gap: 16px 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid2 > .full { grid-column: 1 / -1; }

/* ---- cards ------------------------------------------------------------------------------------------------------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.card.flat { box-shadow: none; }
.card h3 + p { margin-top: 6px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--gold-tint); color: var(--gold-dark); white-space: nowrap; }
.pill.ok { background: var(--ok-tint); color: var(--ok); } .pill.warn { background: var(--warn-tint); color: var(--warn); } .pill.bad { background: var(--bad-tint); color: var(--bad); } .pill.info { background: var(--info-tint); color: var(--info); } .pill.grey { background: #f1efeb; color: var(--ash); }
.ico { width: 22px; height: 22px; display: inline-block; background-color: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; flex-shrink: 0; }
.badge-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--gold-tint); color: var(--gold); }

/* ---- home -------------------------------------------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(70% 90% at 100% 0%, var(--gold-tint-2) 0%, transparent 60%), linear-gradient(180deg, #fff 0%, var(--cream) 100%); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-dark); font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.kicker::before { content: ''; width: 26px; height: 2px; background: var(--grad); }
.hero p.lead { font-size: 18px; color: var(--ink-2); margin-top: 18px; max-width: 54ch; }
.hero .cta { margin-top: 28px; }
.gold-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: 0 30px 60px -30px rgba(80, 60, 10, .35); }
.hero-card .logo { height: 120px; width: auto; margin: 4px auto 16px; }
.trust { display: grid; gap: 10px; margin-top: 4px; }
.trust div { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 14px; }
.trust .ico { color: var(--gold); width: 20px; height: 20px; }
.section { padding: 64px 0; }
.section.alt { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 30px; }
.section-head p { color: var(--ash); margin-top: 10px; font-size: 16px; }
.services { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.service { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; color: var(--ink); transition: transform .15s ease, box-shadow .15s ease, border-color .15s; }
.service:hover { transform: translateY(-3px); border-color: #e2d3ac; box-shadow: var(--shadow); color: var(--ink); }
.service p { color: var(--ash); font-size: 14px; flex: 1; }
.service .go { display: flex; align-items: center; justify-content: space-between; font-weight: 700; color: var(--gold); font-size: 14px; border-top: 1px solid var(--line-soft); padding-top: 12px; }
.steps { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: s; }
.steps > div { padding: 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.steps > div::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; margin-bottom: 12px; }
.steps p { color: var(--ash); font-size: 14px; margin-top: 4px; }
.contact { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.contact .card { display: flex; gap: 14px; align-items: flex-start; overflow-wrap: anywhere; min-width: 0; }
.contact .card > div { min-width: 0; }
footer.foot { border-top: 1px solid var(--line); padding: 30px 0 40px; color: var(--ash); font-size: 13px; }
footer.foot .wrap { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; align-items: center; }
footer.foot img { height: 34px; width: auto; }

/* ---- apply wizard ------------------------------------------------------------------------------------------------ */
.wiz { padding: 28px 0 70px; }
.wiz-head { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.progress { height: 8px; border-radius: 99px; background: var(--line-soft); overflow: hidden; }
.progress > i { display: block; height: 100%; background: var(--grad); border-radius: 99px; transition: width .35s ease; }
.stepnames { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0 22px; }
.stepnames span { font-size: 12.5px; font-weight: 700; color: var(--ash-2); padding: 5px 10px; border-radius: 999px; background: #f6f3ee; }
.stepnames span.on { background: var(--gold); color: #fff; } .stepnames span.done { background: var(--gold-tint); color: var(--gold-dark); }
.wiz .card { padding: clamp(18px, 4vw, 30px); }
.wiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.saved { font-size: 12px; color: var(--ash-2); }
.docgroup + .docgroup { margin-top: 22px; }
.docgroup h4 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ash); margin-bottom: 10px; }
.doc { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; background: #fff; }
.doc + .doc { margin-top: 10px; }
.doc .top-line { display: flex; gap: 10px; align-items: flex-start; justify-content: space-between; }
.doc .name { font-weight: 700; }
.doc .desc { color: var(--ash); font-size: 13px; margin-top: 2px; }
.drop { display: block; margin-top: 12px; border: 2px dashed #ddd0b0; border-radius: 14px; padding: 14px; text-align: center; color: var(--ash); font-size: 13.5px; cursor: pointer; background: var(--cream); transition: all .15s; }
.drop:hover, .drop.over { border-color: var(--gold-mid); background: var(--gold-tint); color: var(--gold-dark); }
.drop strong { color: var(--gold); }
.files { margin-top: 10px; display: grid; gap: 6px; }
.file { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: #f8f6f1; font-size: 13px; }
.file .grow { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.review dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 8px 16px; margin: 0; font-size: 14px; }
.review dt { color: var(--ash); } .review dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.review h4 { font-size: 13px; color: var(--gold-dark); margin: 18px 0 8px; display: flex; justify-content: space-between; }
.notice { display: flex; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--gold-tint); color: var(--ink-2); font-size: 14px; }
.notice.ok { background: var(--ok-tint); } .notice.bad { background: var(--bad-tint); color: var(--bad); } .notice.info { background: var(--info-tint); }
.notice .ico { color: var(--gold); margin-top: 1px; }

/* ---- auth ---------------------------------------------------------------------------------------------------------- */
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100vh - 69px); }
.auth-art { background: radial-gradient(80% 70% at 90% 10%, var(--gold-tint-2), transparent 60%), linear-gradient(170deg, #fff, var(--cream)); border-right: 1px solid var(--line); padding: 48px; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.auth-art img { width: min(320px, 70%); height: auto; }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 40px 22px; }
.auth-form > div { width: 100%; max-width: 440px; }
.tabs { display: flex; padding: 4px; background: #f4f1ea; border-radius: 14px; margin-bottom: 22px; }
.tabs button { flex: 1; min-height: 42px; border: 0; border-radius: 11px; background: none; font-weight: 700; color: var(--ash); cursor: pointer; }
.tabs button.on { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(28, 26, 25, .08); }
.code { letter-spacing: .5em; text-align: center; font-size: 26px; font-weight: 800; }
.types { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); }

/* ---- client dashboard & application ------------------------------------------------------------------------------ */
.page { padding: 30px 0 70px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head p { color: var(--ash); margin-top: 6px; }
.apps { display: grid; gap: 14px; }
.app-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; color: var(--ink); transition: all .15s; }
.app-card:hover { border-color: #e2d3ac; box-shadow: var(--shadow); color: var(--ink); }
.app-card .meta { display: flex; gap: 8px 14px; flex-wrap: wrap; font-size: 13px; color: var(--ash); margin-top: 4px; }
.app-card .progress { margin-top: 10px; }
.layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.tracker { list-style: none; margin: 0; padding: 0; }
.tracker li { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding-bottom: 18px; }
.tracker li::before { content: ''; position: absolute; left: 13px; top: 26px; bottom: 0; width: 2px; background: var(--line); }
.tracker li:last-child::before { display: none; }
.tracker .dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #d9cfb9; background: #fff; display: grid; place-items: center; position: relative; z-index: 1; }
.tracker li.done .dot { border-color: var(--gold); background: var(--gold); }
.tracker li.done .dot::after { content: ''; width: 12px; height: 7px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.tracker li.done::before { background: var(--gold-mid); }
.tracker li.current .dot { border-color: var(--gold); box-shadow: 0 0 0 6px rgba(201, 161, 59, .2); }
.tracker li.current .dot::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(.6); opacity: .6; } }
.tracker .lab { font-weight: 700; padding-top: 3px; } .tracker li.todo .lab { color: var(--ash-2); font-weight: 600; }
.tracker .when { font-size: 12px; color: var(--ash); }
.tracker .what { font-size: 13.5px; color: var(--ink-2); margin-top: 4px; padding: 10px 12px; border-radius: 12px; background: var(--gold-tint); }
.offer { border: 1px solid var(--line); border-radius: 16px; padding: 16px; position: relative; overflow: hidden; }
.offer::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--c, var(--gold)); }
.offer .amt { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin-top: 4px; }
.offer dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 12px 0 0; font-size: 13px; } .offer dt { color: var(--ash); } .offer dd { margin: 0; font-weight: 700; }
.thread { display: grid; gap: 10px; max-height: 420px; overflow-y: auto; padding: 4px; }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 16px; background: #f4f1ea; font-size: 14px; white-space: pre-line; overflow-wrap: anywhere; }
.msg.me { margin-left: auto; background: var(--gold); color: #fff; border-bottom-right-radius: 6px; }
.msg:not(.me) { border-bottom-left-radius: 6px; }
.msg small { display: block; font-size: 11px; opacity: .75; margin-top: 4px; }
.person { display: flex; gap: 14px; align-items: center; }
.person .av { width: 56px; height: 56px; border-radius: 50%; background: var(--grad) center / cover; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 18px; flex-shrink: 0; overflow: hidden; }
.person .av { position: relative; } .person .av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stat { padding: 16px; border-radius: 16px; background: var(--cream); border: 1px solid var(--line); }
.stat b { display: block; font-size: 22px; letter-spacing: -.02em; }
.stat span { font-size: 12.5px; color: var(--ash); }
.stats { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
details.answers summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.answers summary::after { content: '+'; font-size: 20px; color: var(--gold); }
details.answers[open] summary::after { content: '–'; }
.empty { text-align: center; padding: 40px 20px; color: var(--ash); }
.empty .badge-ico { margin: 0 auto 14px; width: 60px; height: 60px; }
.calc { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.calc .result { margin-top: 16px; padding: 16px; border-radius: 14px; background: var(--grad); color: #fff; }
.calc .result b { display: block; font-size: 28px; letter-spacing: -.02em; }
.calc .result span { font-size: 13px; opacity: .9; }

/* ---- toasts & panels (no browser pop-ups) ------------------------------------------------------------------------ */
#toasts { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 200; display: grid; gap: 8px; width: min(440px, calc(100vw - 32px)); }
.toast { padding: 13px 16px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .4); animation: rise .25s ease-out; }
.toast.bad { background: var(--bad); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.sheet-back { position: fixed; inset: 0; background: rgba(28, 26, 25, .45); z-index: 150; display: flex; align-items: flex-end; justify-content: center; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.sheet { background: #fff; width: min(560px, 100%); max-height: 92vh; overflow-y: auto; border-radius: 22px 22px 0 0; padding: 24px 22px calc(24px + env(safe-area-inset-bottom)); animation: up .25s ease-out; }
@keyframes up { from { transform: translateY(30px); opacity: .5; } }
@media (min-width: 700px) { .sheet-back { align-items: center; } .sheet { border-radius: 22px; } }
.loading { display: grid; place-items: center; min-height: 50vh; }
.loading .spin { width: 34px; height: 34px; border: 3px solid var(--gold-mid); border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }

@media (max-width: 960px) {
  .hero .wrap, .layout, .auth { grid-template-columns: minmax(0, 1fr); }
  .hero .wrap { padding-top: 34px; padding-bottom: 40px; gap: 26px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .auth-art { display: none; }
}
@media (max-width: 720px) {
  .top nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px 16px 16px; box-shadow: 0 18px 30px -20px rgba(0, 0, 0, .25); }
  .top nav.open { display: flex; }
  .top nav a { padding: 13px 12px; font-size: 15.5px; }
  .burger { display: inline-flex; }
  .brand img { height: 38px; }
  .grid2 { grid-template-columns: minmax(0, 1fr); }
  .steps, .stats { grid-template-columns: minmax(0, 1fr); }
  .app-card { grid-template-columns: minmax(0, 1fr); }
  .app-card > .badge-ico { display: none; }
  .review dl { grid-template-columns: minmax(0, 1fr); gap: 2px; } .review dd { margin-bottom: 10px; }
  .offer dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wiz-nav .btn { flex: 1; }
  .section { padding: 46px 0; }
  .card { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
