/* page.css: the made-over pages (2026-10-27). Loaded after app.css + vt-label.css on every page that moved from the
   pre-revamp chrome onto the app shell (about, bulk, services, policies, privacy, account, how-it-works, the guides).
   Maps the legacy class names those pages still use onto the design system's tokens. Bump PAGE_V in makeover.py
   whenever this file changes. */

/* ---------- page frame ---------- */
main.mk { width: min(1100px, 100%); margin: 0 auto; padding: 18px 16px 48px; }
main.mk > section, main.mk > article, main.mk > div { margin: 0 0 40px; }
main.mk .wrap { width: 100%; max-width: none; margin: 0; padding: 0; }
main.mk .section { padding: 0; }
.mk-foot { padding-top: 0; }
.mk-fine { margin: 14px 0 0; font-size: 13px; color: var(--dim); }

/* ---------- hero (the page's own opening section in the landing grid, a true-shape label beside it) ---------- */
.mk-hero { padding: 8px 0 28px; }
.mk-hero h1 { font-size: clamp(30px, 5.4vw, 52px); line-height: 1.04; font-weight: 800; margin: 0; max-width: 20ch; }
.mk-hero .eyebrow a { color: inherit; text-decoration: none; }
.mk-hero .hero-label { min-height: 180px; }
.mk-hero .hero-label .vl { --s: calc(72cqw / var(--fit, 246.2)); max-width: 100%; }   /* sized by the word, so short words fill the panel too */

/* ---------- typography ---------- */
main.mk h1, main.mk h2, main.mk h3 { color: var(--text); }
main.mk h2 { font-size: clamp(22px, 3vw, 30px); line-height: 1.15; font-weight: 800; margin: 0 0 12px; max-width: 28ch; }
main.mk h3 { font-size: 18px; line-height: 1.25; font-weight: 700; margin: 0 0 8px; }
main.mk p, main.mk li { font-size: 16px; line-height: 1.6; }
main.mk p { margin: 0 0 14px; max-width: 72ch; color: var(--text); }
main.mk ul, main.mk ol { margin: 0 0 16px; padding-left: 22px; max-width: 72ch; }
main.mk li { margin: 0 0 6px; }
main.mk a { color: var(--brand-2); text-decoration: underline; text-underline-offset: 3px; }
main.mk a:hover { color: var(--text); }
main.mk strong { color: var(--text); }
main.mk em { color: var(--text); }
main.mk code { font: 500 14px/1.4 ui-monospace, "Intel One Mono", monospace; background: var(--panel-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
main.mk hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
main.mk img { max-width: 100%; height: auto; }
.eyebrow { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-2); }
.hero-copy, .lead, .lede, .section-lede { font-size: clamp(16px, 2.2vw, 19px); color: var(--mute); max-width: 60ch; }
.mk-hero .hero-copy, .mk-hero .lead, .mk-hero .lede { margin-top: 14px; }
.about-copy .lead { font-size: 20px; font-weight: 700; color: var(--text); font-family: "Sora", system-ui, sans-serif; line-height: 1.35; }
.print-word { white-space: nowrap; color: var(--brand-2); }
.footer-fineprint { font-size: 13px; color: var(--dim); }

/* ---------- buttons ---------- */
main.mk .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 700 15px/1 "Sora", system-ui, sans-serif; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s var(--ease), box-shadow .15s, background .15s; }
main.mk .btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 30px -10px var(--glow), inset 0 1px 0 rgba(255,255,255,.25); }
main.mk .btn-primary:hover { filter: brightness(1.05); box-shadow: 0 14px 40px -10px var(--glow), inset 0 1px 0 rgba(255,255,255,.3); }
main.mk .btn-secondary { background: transparent; color: var(--text); border-color: var(--line-2); }
main.mk .btn-secondary:hover { background: var(--panel-2); }
main.mk .btn:active { transform: scale(.97); }
.hero-actions, .quote-actions, .about-cta .hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; align-items: center; }

/* ---------- panels and grids ---------- */
.card-grid, .stats-strip, .product-grid > .card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.card-grid.two-col { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card-grid.three-col, .pack-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card, .stats-strip article, .guide-quick, .guide-checklist, .guide-toc, .principles article, .principles .card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.card h3, .stats-strip article h2 { margin: 0 0 8px; font-size: 17px; }
.stats-strip article h2 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-2); }
.card p, .stats-strip article p { margin: 0; color: var(--mute); font-size: 15px; }
.card p + p { margin-top: 8px; }
.custom-tease, .contact, .about-cta, .guarantee, .quote-wrap { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--r); padding: 22px; }
.custom-tease-inner { max-width: 64ch; }
.custom-tease h2, .contact h2 { margin-bottom: 6px; }
.custom-tease p, .contact p { color: var(--mute); }
.custom-tease .btn, .contact .btn { margin: 6px 8px 0 0; }
.about-cta { text-align: center; }
.about-cta .hero-actions { justify-content: center; }
.about-split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; align-items: center; }
.about-photo { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.about-photo img { width: 100%; height: auto; display: block; }
.mk-foot .front-foot a { text-decoration: none; }
.principles { margin-top: 8px; }
.pill-list { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; max-width: none; }
.pill-list li { margin: 0; border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 14px; font-size: 14px; color: var(--text); background: var(--panel); }
.process ol { list-style: none; margin: 0; padding: 14px 18px; display: grid; gap: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); max-width: none; }
.process li { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--mute); }
.process span { min-width: 40px; text-align: center; padding: 6px 8px; border-radius: 10px; font: 800 14px/1 "Sora", system-ui, sans-serif; background: var(--brand); color: #fff; }

/* steps (how it works) */
ol.steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; counter-reset: st; max-width: none; }
ol.steps li { counter-increment: st; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); margin: 0; }
ol.steps li::before { content: counter(st); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font: 800 15px/1 "Sora", system-ui, sans-serif; }
ol.steps li strong { display: block; font-family: "Sora", system-ui, sans-serif; font-size: 16px; margin-bottom: 4px; }
ol.steps li span { color: var(--mute); font-size: 15px; }
ol.steps li > strong + span { grid-column: 2; }
ol.steps li > strong { grid-column: 2; }

/* guarantee seal */
.guarantee { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; }
.guarantee-seal { width: 110px; height: 110px; border-radius: 999px; border: 4px solid var(--brand); display: grid; place-items: center; text-align: center; background: var(--bg-2); }
.guarantee-seal span { display: block; font: 800 26px/1 "Sora", system-ui, sans-serif; letter-spacing: -.02em; }
.guarantee-seal small { display: block; font-size: 10px; letter-spacing: .18em; color: var(--mute); margin-top: 6px; font-weight: 700; }
.guarantee-copy h2 { margin-bottom: 6px; }
.guarantee-copy p { margin: 0; color: var(--mute); }

/* tables */
.table-scroll, .guide-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); margin: 0 0 18px; }
main.mk table { width: 100%; border-collapse: collapse; font-size: 15px; }
main.mk th, main.mk td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
main.mk thead th { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
main.mk tbody tr:last-child td { border-bottom: 0; }
.tier-note { font-size: 13px; color: var(--dim); }

/* faq */
.faq details, .custom-faq details { border-top: 1px solid var(--line); padding: 10px 0; }
.faq details:last-of-type, .custom-faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary, .custom-faq summary { cursor: pointer; font-weight: 600; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker, .custom-faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .custom-faq summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 22px; color: var(--brand-2); font-weight: 800; transition: transform .18s ease; }
.faq details[open] summary::after, .custom-faq details[open] summary::after { transform: rotate(45deg); }
.faq details p, .custom-faq details p { margin: 8px 0 0; color: var(--mute); }

/* guides */
.guide-figure { margin: 0 0 22px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.guide-figure img { display: block; width: 100%; height: auto; }
.guide-figure figcaption { padding: 10px 14px; font-size: 13px; color: var(--mute); }
.guide-article h2 { margin-top: 10px; }
.guide-toc ol, .guide-toc ul { margin: 8px 0 0; }
.pack-card { display: block; text-decoration: none; color: inherit; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .15s var(--ease), background .15s, border-color .15s; }
.pack-card:hover { transform: translateY(-2px); background: var(--panel-2); border-color: var(--line-2); }
.pack-card img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; background: #f3f0ea; }
.pack-card-body { padding: 14px 16px 16px; }
.pack-card-body h3 { margin: 0 0 6px; font-size: 17px; }
.pack-card-body p { margin: 0; color: var(--mute); font-size: 14px; }
.pack-meta { margin: 0 0 6px !important; color: var(--brand-2) !important; font-size: 12px !important; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-family: "Sora", system-ui, sans-serif; }

/* bulk quote form */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.quote-field { display: grid; gap: 6px; }
.quote-field.full { grid-column: 1 / -1; }
.quote-field label { font-size: 13px; color: var(--mute); }
.quote-field input, .quote-field select, .quote-field textarea { min-height: 44px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); font: inherit; width: 100%; }
.quote-field textarea { min-height: 110px; resize: vertical; }
.quote-field input:focus, .quote-field select:focus, .quote-field textarea:focus { outline: 2px solid var(--brand-2); outline-offset: 1px; }
.quote-actions .tier-note { margin: 0; }

/* ---------- phones ---------- */
@media (max-width: 760px) {
  .about-split, .guarantee { grid-template-columns: 1fr; }
  .guarantee { text-align: center; justify-items: center; }
  .mk-hero h1 { max-width: none; }
}

/* ---------- industry guides (2026-10-27) ---------- */
.hero-sell { margin: 14px 0 0; font-size: 15px; color: var(--mute); max-width: 60ch; }
.hero-sell strong { color: var(--text); }
.guide-page .mk-hero h1 { font-size: clamp(26px, 4.4vw, 42px); max-width: 24ch; }
.guide-page p.answer { margin-top: 14px; font-size: clamp(16px, 2.1vw, 19px); color: var(--text); max-width: 62ch; }
.sell { margin: 0 0 36px; padding: 16px; border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--r); background: var(--panel); }
.sell .eyebrow { margin-bottom: 10px; }
.sell-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
main.mk .sell-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: transform .15s var(--ease), border-color .15s; }
main.mk .sell-card:hover { transform: translateY(-2px); border-color: var(--line-2); color: var(--text); }
.sell-card img { width: 96px; height: 96px; border-radius: 8px; object-fit: cover; background: #f3f0ea; }
.sell-card .vl { --s: 0.36px; max-width: 96px; }
main.mk .sell-card b { display: block; font: 700 15px/1.2 "Sora", system-ui, sans-serif; margin-bottom: 4px; color: var(--brand-2); }
main.mk .sell-card small { display: block; font-size: 13px; color: var(--mute); line-height: 1.4; }
.guide-body > section { margin: 0 0 32px; }
.guide-body h2 { margin-top: 8px; }
.guide-body .card-grid { margin: 14px 0 18px; }
.guide-body ol.steps { margin-bottom: 20px; }
.guide-body .guide-checklist ul { margin: 6px 0 0; padding-left: 20px; }
.guide-body .guide-checklist li { margin: 0 0 8px; }
.guide-body .callout { border-left: 4px solid var(--brand); background: var(--panel); border-radius: 0 var(--r) var(--r) 0; padding: 12px 16px; margin: 0 0 18px; }
.guide-body .callout p { margin: 0; color: var(--mute); }
.guide-body .example { border: 1px dashed var(--line-2); border-radius: var(--r); padding: 12px 16px; margin: 0 0 18px; }
.guide-body .example p:last-child { margin-bottom: 0; }
.guide-body .example .tag { display: inline-block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-2); font-weight: 700; margin-bottom: 6px; }
.customer-story { border: 1px solid var(--line); border-radius: var(--r); padding: 18px; margin: 0 0 32px; background: var(--panel); }
.customer-story .story-who { font-size: 13px; color: var(--dim); margin: 0; }
.related { margin: 0 0 24px; }
.related-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-width: none; }
.related-list li { margin: 0; }
main.mk .related-list a { display: block; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); text-decoration: none; color: var(--text); }
main.mk .related-list a:hover { background: var(--panel-2); color: var(--text); }
.industry-guides { margin-top: 10px; }
.guide-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.guide-card .pack-card-body h3 { font-size: 16px; }
@media (max-width: 560px) { .sell-card { grid-template-columns: 72px minmax(0, 1fr); } .sell-card img { width: 72px; height: 72px; } .sell-card .vl { --s: 0.27px; max-width: 72px; } }
