/* =========================================================================
   /prodaty-sonyashnyk — mobile.css
   Scoped under .mobile-page. Loaded only at viewport (max-width: 767.98px)
   via media-attribute on the <link>. On desktop this file is not fetched.
   Source: Mobile prototype v2.html (designer ZIP, 2026-05-09).
   ========================================================================= */

/* Visibility flips: when this file loads (i.e. on mobile), reveal mobile DOM
   and hide desktop wrapper. !important is required because the inline <style>
   in index.html (which always loads) declares `.mobile-page { display: none }`
   *after* this file in source order, so equal-specificity rules would
   otherwise lose the cascade. */
.mobile-page { display: block !important; }
.desktop-page { display: none !important; }

/* =================================================================
   NGK / prodaty-sonyashnyk — mobile-first v2
   Mobile task interface, not a stacked desktop page
   ================================================================= */

.mobile-page {
  --steel:#25486B; --steel-600:#1E3A57; --steel-700:#172C42; --steel-900:#0A1320;
  --steel-50:#EEF2F7; --steel-100:#D7DEE8; --steel-200:#A9B7CB;
  --sage:#9CAC91; --sage-50:#EEF2EC; --sage-100:#D6DFCF; --sage-700:#5C7A52;
  --ink:#1F1F1F; --ink-2:#3D3D3D; --ink-3:#6B6B6B; --ink-4:#9A9A9A;
  --snow:#FAFAFA; --paper:#F2EFE8; --paper-2:#E9E5DA;
  --rule:#E5E1DA; --rule-strong:#C9C4BA;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
}
.mobile-page, .mobile-page *, .mobile-page *::before, .mobile-page *::after { box-sizing:border-box; }
.mobile-page, .mobile-page { margin:0; padding:0; }
.mobile-page {
  font-family:"Mabry Pro","Helvetica Neue Cyr",Helvetica,Arial,sans-serif;
  color:var(--ink); background:#DDD7CB;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
}
.mobile-page img, .mobile-page svg { display:block; max-width:100%; }
.mobile-page a { color:inherit; text-decoration:none; }
.mobile-page button { font:inherit; color:inherit; background:none; border:0; padding:0; cursor:pointer; }

/* The phone canvas. On desktop, letterbox 414px column with handoff aside. */
.mobile-page .phone {
  position:relative;
  background:var(--snow);
  margin:0 auto;
  width:100%; max-width:480px;
  min-height:100vh;
  overflow:hidden;
  box-shadow:0 0 0 1px var(--rule), 0 30px 60px -30px rgba(20,30,46,.25);
}
@media (min-width:520px) {
  .mobile-page { padding:24px 16px 56px; }
  .mobile-page .phone { border-radius:22px; min-height:auto; }
}

/* ========= TYPE SCALE (375 primary) ========= */
.mobile-page .eyebrow {
  font-size:10.5px; letter-spacing:.18em; text-transform:uppercase;
  color:var(--steel); font-weight:500;
}
.mobile-page .eyebrow.sage { color:var(--sage-700); }
.mobile-page .eyebrow.muted { color:var(--ink-3); }
.mobile-page .eyebrow.snow { color:rgba(255,255,255,.78); }
.mobile-page h1, .mobile-page h2, .mobile-page h3, .mobile-page h4 { margin:0; color:var(--ink); letter-spacing:-.01em; }
.mobile-page h1 { font-weight:500; font-size:clamp(28px,8.4vw,34px); line-height:1.05; }
.mobile-page h2 { font-weight:500; font-size:24px; line-height:1.18; }
.mobile-page h3 { font-weight:700; font-size:16px; line-height:1.3; }
.mobile-page p { margin:0; font-size:15.5px; line-height:1.5; color:var(--ink-2); }
.mobile-page .num-tab { font-feature-settings:"tnum","lnum"; font-variant-numeric:tabular-nums; }

/* ========= TOPBAR ========= */
.mobile-page .topbar {
  position:sticky; top:0; z-index:60;
  height:52px;
  padding:calc(var(--safe-top) + 0px) 14px 0;
  background:var(--snow);
  border-bottom:1px solid var(--rule);
  display:flex; align-items:center; gap:12px;
}
.mobile-page .topbar .logo { height:20px; }
.mobile-page .topbar .breadcrumb {
  font-size:10.5px; letter-spacing:.16em; text-transform:uppercase;
  color:var(--ink-3); padding-left:12px; margin-left:12px;
  border-left:1px solid var(--rule); line-height:1; padding-block:4px;
}
.mobile-page .topbar .spacer { flex:1; }
.mobile-page .iconbtn {
  width:44px; height:44px; border-radius:2px;
  border:1px solid var(--rule-strong); background:#fff; color:var(--steel);
  display:inline-flex; align-items:center; justify-content:center;
}
.mobile-page .iconbtn:active { background:var(--steel-50); }
.mobile-page .iconbtn svg { width:20px; height:20px; }

/* ========= UTILITY ========= */
.mobile-page .pad { padding:0 18px; }
.mobile-page .stack > * + * { margin-top:var(--gap,12px); }

/* ========= BUTTONS ========= */
.mobile-page .btn {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  height:52px; padding:0 16px; border-radius:2px;
  font-size:15.5px; font-weight:500; letter-spacing:-.005em;
  border:1px solid transparent; line-height:1; user-select:none;
  text-align:center; min-width:0;
}
.mobile-page .btn svg { width:18px; height:18px; flex-shrink:0; }
.mobile-page .btn .label { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mobile-page .btn-primary { background:var(--steel); color:#fff; }
.mobile-page .btn-primary:active { background:var(--steel-700); }
.mobile-page .btn-light { background:#fff; color:var(--steel); border:1px solid var(--steel); }
.mobile-page .btn-light:active { background:var(--steel-50); }
.mobile-page .btn-secondary { background:#fff; color:var(--ink); border:1px solid var(--rule-strong); }
.mobile-page .btn-secondary:active { background:var(--paper); }
.mobile-page .btn-onsteel { background:#fff; color:var(--steel); }
.mobile-page .btn-onsteel:active { background:var(--steel-50); }
.mobile-page .btn-ghost-snow { background:transparent; color:#fff; border:1px solid rgba(255,255,255,.45); }
.mobile-page .btn-ghost-snow:active { background:rgba(255,255,255,.08); }
.mobile-page .btn-block { width:100%; }

/* Channel chip (Viber/TG) — uses the actual brand icons */
.mobile-page .ch-chip {
  width:24px; height:24px; border-radius:6px;
  display:inline-flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.mobile-page .ch-chip img { width:18px; height:18px; }

/* ========= HERO ========= */
.mobile-page .hero {
  background:var(--snow);
  padding:24px 18px 22px;
}
.mobile-page .hero .eyebrow { display:block; }
.mobile-page .hero h1 { margin-top:14px; }
.mobile-page .hero-photo {
  margin:18px -18px 0;
  aspect-ratio:5/3;
  background:#0F1B2B url("images/hero-ngk-silos.jpg") center/cover no-repeat;
  position:relative;
}
.mobile-page .hero-photo .stamp {
  position:absolute; left:14px; bottom:14px;
  background:rgba(15,27,43,.78); color:#fff;
  font-size:10.5px; letter-spacing:.16em; text-transform:uppercase; font-weight:500;
  padding:7px 10px;
  display:inline-flex; align-items:center; gap:8px;
}
.mobile-page .hero-photo .stamp .dot { width:5px; height:5px; background:var(--sage); border-radius:50%; }

/* Action card — overlaps photo top edge, gives "act now" feel */
.mobile-page .action-card {
  background:#fff;
  margin:-18px 12px 0;
  padding:18px 16px 18px;
  border:1px solid var(--rule);
  border-top:3px solid var(--steel);
  position:relative; z-index:2;
  box-shadow:0 8px 22px -14px rgba(20,30,46,.35);
}
.mobile-page .action-card .lede-1 {
  font-size:16.5px; font-weight:500; line-height:1.4; color:var(--ink);
}
.mobile-page .action-card .lede-2 {
  margin-top:8px; font-size:14px; line-height:1.5; color:var(--ink-3);
}
.mobile-page .action-card .prompt {
  margin-top:14px; font-size:13.5px; line-height:1.45; color:var(--ink-2);
  padding-top:14px; border-top:1px solid var(--rule);
}
.mobile-page .action-card .actions { margin-top:14px; display:flex; flex-direction:column; gap:10px; }
/* Phone fills the row; Viber + Telegram are square icon-only tiles (≈70/15/15). */
.mobile-page .action-card .row3 { display:grid; grid-template-columns:1fr 52px 52px; gap:8px; }
.mobile-page .action-card .row3 .btn { padding:0 12px; font-size:14px; height:48px; }
.mobile-page .action-card .row3 .btn-icon { padding:0; overflow:hidden; }
.mobile-page .action-card .row3 .btn-icon .ch-chip { width:100%; height:100%; border-radius:0; }
.mobile-page .action-card .row3 .btn-icon .ch-chip img { width:100%; height:100%; object-fit:contain; padding:6px; }

/* ========= PROOF GRID 2x2 ========= */
.mobile-page .proof {
  background:var(--paper);
  padding:28px 14px 28px;
  border-bottom:1px solid var(--rule);
}
.mobile-page .proof .head {
  padding:0 4px 14px;
  display:flex; align-items:center; gap:10px; justify-content:space-between;
}
.mobile-page .proof .head .eyebrow { color:var(--steel); }
.mobile-page .proof .head .where { font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:var(--ink-3); }
.mobile-page .proof-grid {
  display:grid; grid-template-columns:1fr 1fr; gap:1px;
  background:var(--rule);
  border:1px solid var(--rule);
}
.mobile-page .proof-tile {
  background:#fff; padding:16px 14px 16px; min-height:118px;
  display:flex; flex-direction:column; gap:6px;
}
.mobile-page .proof-tile .n {
  font-size:11px; color:var(--steel); letter-spacing:.14em; font-weight:500;
}
.mobile-page .proof-tile .label {
  font-weight:700; font-size:14.5px; line-height:1.3; color:var(--ink);
}
.mobile-page .proof-tile .body {
  font-size:13px; line-height:1.45; color:var(--ink-3);
  margin-top:auto;
}

/* ========= STEP FLOW ========= */
.mobile-page .how {
  background:var(--snow);
  padding:36px 18px 36px;
}
.mobile-page .how .head { margin-bottom:18px; }
.mobile-page .how .head .eyebrow { display:block; margin-bottom:8px; }
.mobile-page .how .head h2 { margin-bottom:8px; }
.mobile-page .how .head p { font-size:14.5px; }
.mobile-page .flow { position:relative; padding-left:42px; list-style:none; margin:0; }
.mobile-page .flow::before {
  content:""; position:absolute; left:14px; top:8px; bottom:8px;
  width:2px; background:var(--rule);
}
.mobile-page .flow .step { position:relative; padding:6px 0 22px; }
.mobile-page .flow .step:last-child { padding-bottom:0; }
.mobile-page .flow .node {
  position:absolute; left:-42px; top:0;
  width:30px; height:30px; border-radius:50%;
  background:#fff; border:2px solid var(--steel); color:var(--steel);
  display:inline-flex; align-items:center; justify-content:center;
  font-size:12px; font-weight:500;
}
.mobile-page .flow .step h3 { font-size:15.5px; margin-bottom:4px; }
.mobile-page .flow .step p { font-size:14px; line-height:1.5; color:var(--ink-3); }

/* ========= TRUST CARDS ========= */
.mobile-page .trust {
  background:var(--sage-50);
  padding:36px 14px 36px;
  border-top:1px solid var(--rule);
  border-bottom:1px solid var(--rule);
}
.mobile-page .trust .head { padding:0 4px 18px; }
.mobile-page .trust .head .eyebrow { display:block; margin-bottom:8px; }
.mobile-page .trust .head h2 { margin-bottom:8px; }
.mobile-page .trust .head p { font-size:14.5px; }

.mobile-page .tcard {
  background:#fff; border:1px solid var(--rule);
  margin-top:8px;
}
.mobile-page .tcard:first-of-type { margin-top:0; }
.mobile-page .tcard > summary {
  list-style:none; cursor:pointer; user-select:none;
  padding:14px 14px 14px 16px;
  display:grid; grid-template-columns:1fr 36px; gap:10px; align-items:start;
  min-height:64px;
}
.mobile-page .tcard > summary::-webkit-details-marker { display:none; }
.mobile-page .tcard .q {
  font-size:11px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--ink-3); font-weight:500; margin-bottom:6px; display:block;
}
.mobile-page .tcard .t {
  font-weight:700; font-size:15px; line-height:1.35; color:var(--ink);
}
.mobile-page .tcard .chev {
  width:32px; height:32px; align-self:center;
  display:inline-flex; align-items:center; justify-content:center;
  border:1px solid var(--rule-strong); color:var(--steel);
  transition:transform .18s, background .18s, border-color .18s;
}
.mobile-page .tcard .chev svg { width:16px; height:16px; }
.mobile-page .tcard[open] .chev { transform:rotate(180deg); background:var(--steel-50); border-color:var(--steel-100); }
.mobile-page .tcard[open] .t { color:var(--steel); }
.mobile-page .tcard[open] { border-left:3px solid var(--steel); }
.mobile-page .tcard .answer {
  padding:0 16px 18px 16px;
  font-size:14.5px; line-height:1.55; color:var(--ink-2);
}

/* ========= PRICE ========= */
.mobile-page .price {
  background:var(--snow); padding:36px 18px 36px;
}
.mobile-page .price .head { margin-bottom:14px; }
.mobile-page .price .head .eyebrow { display:block; margin-bottom:8px; }
.mobile-page .price .head h2 { margin-bottom:8px; }
.mobile-page .price .head p { font-size:14.5px; }

.mobile-page .factors {
  list-style:none; margin:0; padding:0;
  border-top:1px solid var(--rule);
}
.mobile-page .factors > li { list-style:none; }
.mobile-page .factors > li { border-bottom:1px solid var(--rule); }
.mobile-page .factor { background:#fff; }
.mobile-page .factor > summary {
  list-style:none; cursor:pointer;
  padding:14px 12px 14px 0;
  display:grid; grid-template-columns:36px 1fr 24px; gap:12px; align-items:center;
  min-height:60px;
}
.mobile-page .factor > summary::-webkit-details-marker { display:none; }
.mobile-page .factor .n {
  font-size:12px; color:var(--sage-700); letter-spacing:.06em; font-weight:500;
  padding-left:2px;
}
.mobile-page .factor .name { font-weight:700; font-size:15.5px; color:var(--ink); }
.mobile-page .factor .chev { color:var(--steel); transition:transform .18s; }
.mobile-page .factor .chev svg { width:18px; height:18px; }
.mobile-page .factor[open] .chev { transform:rotate(180deg); }
.mobile-page .factor[open] .name { color:var(--steel); }
.mobile-page .factor .answer {
  padding:0 0 14px 48px;
  font-size:14px; line-height:1.55; color:var(--ink-3);
}

.mobile-page .price-card {
  margin-top:24px;
  background:var(--steel); color:#fff;
  padding:24px 18px 22px;
  position:relative; overflow:hidden;
}
.mobile-page .price-card::before {
  content:""; position:absolute; right:-30px; top:-30px;
  width:140px; height:140px; border-radius:50%;
  background:rgba(255,255,255,.04);
}
.mobile-page .price-card .eyebrow { color:var(--sage); }
.mobile-page .price-card h3 {
  font-weight:500; font-size:21px; line-height:1.2; color:#fff; margin:8px 0 10px;
}
.mobile-page .price-card p { color:rgba(255,255,255,.82); font-size:14.5px; }
.mobile-page .price-card .btns { margin-top:18px; display:flex; flex-direction:column; gap:10px; }
.mobile-page .price-card .reassure {
  margin-top:12px; font-size:12px; letter-spacing:.04em;
  color:rgba(255,255,255,.65); text-align:center;
}

/* ========= CONTACTS COMMAND PANEL ========= */
.mobile-page .contacts {
  background:var(--steel-700); color:#fff;
  padding:36px 0 32px;
}
.mobile-page .contacts .head { padding:0 18px 18px; }
.mobile-page .contacts .head .eyebrow { color:var(--sage); display:block; margin-bottom:10px; }
.mobile-page .contacts .head h2 { color:#fff; font-weight:500; margin-bottom:10px; }
.mobile-page .contacts .head p { color:rgba(255,255,255,.78); font-size:14.5px; }

.mobile-page .panel {
  background:var(--steel-900);
  margin:0 12px;
  border:1px solid rgba(255,255,255,.06);
}
.mobile-page .panel .row {
  display:grid; grid-template-columns:36px 1fr 20px; gap:14px;
  padding:16px 16px;
  border-bottom:1px solid rgba(255,255,255,.07);
  color:#fff;
  align-items:center;
}
.mobile-page .panel .row:last-of-type { border-bottom:0; }
.mobile-page a.panel-link { color:#fff; }
.mobile-page .panel .row .ic {
  width:36px; height:36px; border-radius:2px;
  background:rgba(255,255,255,.06);
  display:inline-flex; align-items:center; justify-content:center;
  color:var(--sage);
}
.mobile-page .panel .row .ic svg { width:20px; height:20px; }
.mobile-page .panel .row .label {
  font-size:10.5px; letter-spacing:.16em; text-transform:uppercase;
  color:rgba(255,255,255,.55); margin-bottom:3px; font-weight:500;
}
.mobile-page .panel .row .value { font-size:15.5px; font-weight:700; line-height:1.3; }
.mobile-page .panel .row .hint { font-size:12.5px; color:rgba(255,255,255,.6); margin-top:3px; line-height:1.45; }
.mobile-page .panel .row .go { color:rgba(255,255,255,.5); }
.mobile-page .panel .row .go svg { width:18px; height:18px; }

.mobile-page .quick {
  margin:18px 12px 0;
  background:#fff; color:var(--ink);
  padding:20px 16px 18px;
  border:1px solid var(--rule);
}
.mobile-page .quick .eyebrow { display:block; margin-bottom:8px; }
.mobile-page .quick h3 { font-weight:500; font-size:19px; line-height:1.25; margin-bottom:10px; color:var(--ink); }
.mobile-page .quick p { font-size:14px; line-height:1.5; }
.mobile-page .quick .btns { margin-top:16px; display:flex; flex-direction:column; gap:10px; }
.mobile-page .quick .small-note {
  margin-top:12px; font-size:11.5px; color:var(--ink-3); text-align:center;
}

/* ========= ABOUT ========= */
.mobile-page .about {
  background:var(--snow); padding:0 0 36px;
}
.mobile-page .about-photo {
  aspect-ratio:5/3;
  background:#1d2a3a url("images/about-ngk-worker.jpg") center/cover no-repeat;
}
.mobile-page .about-body { padding:28px 18px 0; }
.mobile-page .about-body .eyebrow { display:block; margin-bottom:8px; }
.mobile-page .about-body h2 { margin-bottom:14px; }
.mobile-page .about-body p + p { margin-top:12px; }

.mobile-page .kv {
  margin-top:20px;
  display:grid; grid-template-columns:1fr 1fr; gap:1px;
  background:var(--rule); border:1px solid var(--rule);
}
.mobile-page .kv > div { background:#fff; padding:12px 14px; }
.mobile-page .kv .k {
  font-size:10.5px; letter-spacing:.16em; text-transform:uppercase;
  color:var(--ink-3); font-weight:500; margin-bottom:4px;
}
.mobile-page .kv .v { font-size:14.5px; font-weight:700; color:var(--ink); }

.mobile-page details.more {
  margin-top:20px;
  border-top:1px solid var(--rule); border-bottom:1px solid var(--rule);
}
.mobile-page details.more > summary {
  list-style:none; cursor:pointer;
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 0;
  font-size:13.5px; letter-spacing:.04em; font-weight:700; color:var(--steel);
}
.mobile-page details.more > summary::-webkit-details-marker { display:none; }
.mobile-page details.more > summary .chev { transition:transform .18s; }
.mobile-page details.more > summary .chev svg { width:18px; height:18px; }
.mobile-page details.more[open] > summary .chev { transform:rotate(180deg); }
.mobile-page details.more .more-body { padding-bottom:18px; }
.mobile-page details.more .more-body p + p { margin-top:12px; }

/* ========= FAQ ========= */
.mobile-page .faq {
  background:var(--paper); padding:36px 18px 36px;
}
.mobile-page .faq .head { margin-bottom:14px; }
.mobile-page .faq .head .eyebrow { display:block; margin-bottom:8px; }
.mobile-page .faq .head h2 { margin:0; }

.mobile-page .faq-list { border-top:1px solid var(--rule); }
.mobile-page .faq-item { border-bottom:1px solid var(--rule); background:transparent; }
.mobile-page .faq-item > summary {
  list-style:none; cursor:pointer;
  padding:18px 0;
  display:grid; grid-template-columns:1fr 28px; gap:14px; align-items:center;
  font-size:15.5px; font-weight:700; color:var(--ink); line-height:1.35;
  min-height:60px;
}
.mobile-page .faq-item > summary::-webkit-details-marker { display:none; }
.mobile-page .faq-item .chev {
  width:28px; height:28px; color:var(--steel);
  display:inline-flex; align-items:center; justify-content:center;
  transition:transform .18s;
}
.mobile-page .faq-item .chev svg { width:22px; height:22px; }
.mobile-page .faq-item[open] .chev { transform:rotate(180deg); }
.mobile-page .faq-item[open] > summary { color:var(--steel); }
.mobile-page .faq-item .answer {
  padding:0 0 22px; font-size:14.5px; line-height:1.55; color:var(--ink-2);
}

/* ========= CLOSING ========= */
.mobile-page .closing {
  background:var(--sage);
  padding:36px 18px 32px;
  color:#1F2A1A;
  border-top:1px solid var(--rule);
}
.mobile-page .closing .eyebrow { color:#3A4A30; display:block; margin-bottom:10px; }
.mobile-page .closing h2 { color:#162012; font-weight:500; margin-bottom:10px; }
.mobile-page .closing p { color:rgba(22,32,18,.78); font-size:15px; }
.mobile-page .closing .actions { margin-top:20px; display:flex; flex-direction:column; gap:10px; }
.mobile-page .closing .btn-primary { background:var(--steel-700); color:#fff; border-color:var(--steel-700); }
.mobile-page .closing .btn-primary:active { background:var(--steel-900); }
.mobile-page .closing .row3 { display:grid; grid-template-columns:1fr 52px 52px; gap:8px; }
.mobile-page .closing .row3 .btn { padding:0 12px; font-size:14px; height:48px; background:rgba(255,255,255,.92); color:var(--ink); border-color:transparent; }
.mobile-page .closing .row3 .btn-icon { padding:0; overflow:hidden; }
.mobile-page .closing .row3 .btn-icon .ch-chip { width:100%; height:100%; border-radius:0; }
.mobile-page .closing .row3 .btn-icon .ch-chip img { width:100%; height:100%; object-fit:contain; padding:6px; }

/* ========= FOOTER ========= */
.mobile-page footer {
  background:#0E1620; color:rgba(255,255,255,.7);
  padding:32px 18px calc(112px + var(--safe-bottom));
  font-size:13px; line-height:1.55;
}
.mobile-page footer .legal { color:rgba(255,255,255,.55); margin-bottom:16px; }
.mobile-page footer .nav { display:flex; flex-wrap:wrap; gap:6px 14px; margin-bottom:14px; }
.mobile-page footer .nav a { color:#fff; font-weight:500; padding:5px 0; font-size:13.5px; }
.mobile-page footer .nav a + a::before { content:"·"; padding-right:14px; color:rgba(255,255,255,.4); }
.mobile-page footer .copy { color:rgba(255,255,255,.45); font-size:12px; }

/* ========= STICKY DOCK ========= */
.mobile-page .dock {
  position:fixed; left:50%; bottom:0; transform:translateX(-50%);
  z-index:70;
  width:100%; max-width:480px;
  padding:8px 10px calc(8px + var(--safe-bottom));
  background:rgba(250,250,250,.97);
  backdrop-filter:saturate(140%) blur(8px);
  -webkit-backdrop-filter:saturate(140%) blur(8px);
  border-top:1px solid var(--rule);
  display:grid; grid-template-columns:1fr 52px 52px; gap:8px;
  transition:transform .22s ease;
}
.mobile-page .dock .btn { height:48px; }
.mobile-page .dock .btn-primary { font-size:14.5px; padding:0 10px; }
.mobile-page .dock .icontile {
  width:52px; height:48px; border-radius:2px;
  background:#fff; border:1px solid var(--rule-strong); color:var(--steel);
  display:inline-flex; align-items:center; justify-content:center;
}
.mobile-page .dock .icontile:active { background:var(--paper); }
.mobile-page .dock .icontile img { width:22px; height:22px; }
.mobile-page .dock .icontile svg { width:20px; height:20px; }

/* Hide dock when an input is focused (form on the page or in iframe wrapper).
   Two paths: (1) modern :has() when a real input gets focus inside .phone;
   (2) fallback class .kbd-open that Claude Code can toggle from JS. */
.mobile-page .phone:has(input:focus, textarea:focus) ~ .dock {
  transform:translate(-50%, 130%);
}

/* ========= 320 TIGHTENING ========= */
@media (max-width:340px) {
  .mobile-page .pad, .mobile-page .hero, .mobile-page .how, .mobile-page .price, .mobile-page .faq, .mobile-page .closing, .mobile-page .about-body, .mobile-page .quick, .mobile-page .head { padding-left:14px; padding-right:14px; }
  .mobile-page .hero { padding-top:18px; padding-bottom:18px; }
  .mobile-page .hero-photo, .mobile-page .about-photo { margin-left:-14px; margin-right:-14px; }
  .mobile-page .action-card { margin:-14px 8px 0; padding:16px 14px; }
  .mobile-page .action-card .row3 { grid-template-columns:1fr 46px 46px; gap:6px; }
  .mobile-page .action-card .row3 .btn { font-size:13.5px; padding:0 8px; height:46px; }
  .mobile-page .proof-grid .proof-tile { min-height:104px; padding:14px 12px; }
  .mobile-page .proof-tile .label { font-size:13.5px; }
  .mobile-page .proof-tile .body { font-size:12.5px; }
  .mobile-page .topbar .breadcrumb { display:none; }
  .mobile-page h1 { font-size:25px; }
  .mobile-page .dock { padding:6px 8px calc(6px + var(--safe-bottom)); grid-template-columns:1fr 48px 48px; gap:6px; }
  .mobile-page .dock .btn { height:44px; }
  .mobile-page .dock .btn-primary { font-size:13.5px; }
  .mobile-page .dock .icontile { width:48px; height:44px; }
  .mobile-page .panel { margin:0 8px; }
  .mobile-page .quick { margin:18px 8px 0; }
}

/* ========= DESKTOP: phone column + handoff aside ========= */
.mobile-page .handoff { display:none; }
@media (min-width:980px) {
  .mobile-page {
    display:grid; grid-template-columns:480px 1fr; gap:40px;
    align-items:start; max-width:1180px; margin:0 auto;
    padding:32px 24px 64px;
  }
  .mobile-page .phone { margin:0; }
  .mobile-page .handoff {
    display:block; background:#fff; border:1px solid var(--rule);
    padding:24px 28px 32px; position:sticky; top:24px;
    max-height:calc(100vh - 56px); overflow:auto;
    font-family:"Mabry Pro","Helvetica Neue Cyr",Helvetica,Arial,sans-serif;
  }
  .mobile-page .handoff .eyebrow { display:block; margin-bottom:10px; }
  .mobile-page .handoff h2 { font-size:20px; font-weight:500; margin:0 0 10px; }
  .mobile-page .handoff h3 {
    font-size:11.5px; letter-spacing:.14em; text-transform:uppercase;
    color:var(--steel); margin:18px 0 6px; font-weight:500;
  }
  .mobile-page .handoff p, .mobile-page .handoff li { font-size:13px; line-height:1.55; color:var(--ink-2); }
  .mobile-page .handoff ul { margin:0; padding-left:18px; }
  .mobile-page .handoff li { margin-bottom:5px; }
  .mobile-page .handoff code { font-family:ui-monospace,Menlo,Consolas,monospace; font-size:12px; background:#F1F1F1; padding:1px 5px; border-radius:2px; }
  .mobile-page .vw { display:flex; gap:6px; margin:6px 0 8px; }
  .mobile-page .vw button {
    flex:1; height:32px; border:1px solid var(--rule-strong); background:#fff;
    font-size:12px; font-weight:500; color:var(--ink); cursor:pointer; border-radius:2px;
  }
  .mobile-page .vw button.active { background:var(--steel); color:#fff; border-color:var(--steel); }
  .mobile-page .handoff .togkbd {
    margin-top:8px; font-size:12px; padding:8px 10px; background:#F4F4F4; border:1px solid var(--rule);
    cursor:pointer; border-radius:2px; width:100%; text-align:left;
  }
}







@media (min-width:520px) {
  .mobile-page .dock { position:absolute; left:0; right:0; transform:none; bottom:0; width:100%; max-width:none; }
  
  .mobile-page .phone:has(input:focus, textarea:focus) ~ .dock { transform:translateY(130%); }
}
