/* marketing_2026.css: the 2026 edition of the Homesly marketing front end (TQ104638).

   FROZEN. A copy, made on 2026-12-06, of the three stylesheets today's marketing pages load
   after reset.css and custom.css: spec/marketing_base.css, spec/marketing_nav.css and
   spec/marketing.css, in that order, unchanged. Only the 2026 edition loads it
   (inc/views/marketing_2026/shell.cfm), on 2026.homesly.ai.

   Do not bring it in line with the main site. The main site's stylesheets change with the new
   front page; this file keeps the 2026 pages as they were. Change it only to fix a fault on the
   2026 pages themselves. */

/* ════════════ spec/marketing_base.css ════════════ */
/* ============================================================================
   MARKETING BASE (was coming_soon.css until TQ102445, 2026-10-18)
   Shared chrome for the public shells: cs- design tokens, nav, buttons,
   footer, hero and legal-doc layout. Loaded by marketing_shell, legal_shell,
   auth_shell and coming_soon.cfm.
   Self-contained: does not depend on master.css. Mirrors the design tokens
   from /assets/css/init/custom.css so the brand reads consistently.
   ============================================================================ */

/* @font-face for Urbanist lives in init/custom.css so any page that loads
   custom.css (auth_shell, authed shell, marketing) can use it. */

/* ── Fade-in on the marketing landing only (data-initial-route="root").
   Body starts at opacity 0 and animates to 1 over 280ms. Fonts are
   preloaded in <head>, so by the time the fade completes the webfonts
   are in place — no visible swap, no FOUT jump. */
@keyframes cs-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
body[data-initial-route="root"] {
    opacity: 0;
    animation: cs-fade-in 280ms cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
    animation-delay: 40ms;
}
@media (prefers-reduced-motion: reduce) {
    body[data-initial-route="root"] {
        opacity: 1;
        animation: none;
    }
}

:root {
    --cs-ink:        #0F1419;
    --cs-ink-60:     #536471;
    --cs-ink-40:     #8B98A5;
    --cs-ink-10:     #E1E8ED;
    --cs-ink-05:     #EFF3F4;
    --cs-ink-02:     #F7F9F9;
    --cs-white:      #FFFFFF;
    --cs-accent:     #0C857B;
    --cs-accent-dark:#0F766E;
    --cs-accent-light:#CCFBF1;
    --cs-accent-muted:#F0FDFA;
    --cs-radius:     8px;
    --cs-shadow:     0 4px 16px rgba(15,20,25,0.08);
    --cs-font:       'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

/* scrollbar-gutter reserves the gutter without forcing a permanent visible
   scrollbar, so layout stays stable across short/tall pages but the bar only
   actually paints when content overflows. */
html { scrollbar-gutter: stable; }
html, body { margin: 0; padding: 0; }

.cs-body {
    font-family: var(--cs-font);
    color: var(--cs-ink);
    background: var(--cs-ink-02);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Brand wash lives on a viewport-fixed pseudo, NOT on the body background.
   As a body background it propagates to the canvas and tiles against the
   html box (height:100% in reset.css = one viewport tall), so long pages
   (Terms, Privacy) painted a hard-edged green band every screenful while
   scrolling. Fixed to the viewport it can never tile or seam. */
.cs-body::before {
    content: '';
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 10% -10%, var(--cs-accent-muted) 0%, transparent 55%),
        radial-gradient(circle at 110% 110%, var(--cs-accent-light) 0%, transparent 50%);
}
@media print {
    .cs-body::before { display: none; }
}

/* ━━━ NAV ━━━ */
.cs-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 32px;
    /* Opaque background + border (NOT translucent). A frosted rgba()/backdrop
       -filter nav samples whatever page content sits behind it, so the bar
       rendered a few pixels differently on every page (e.g. the logo icon's
       transparent edges over the marketing hero vs the login background). Solid
       white makes the nav byte-identical across the marketing, auth and legal
       shells. */
    border-bottom: 1px solid #e7edf2;
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 10;
}

.cs-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--cs-ink);
    cursor: pointer;
}
.cs-btn { cursor: pointer; }

.cs-brand-icon { display: block; }

.cs-brand-text {
    font-family: 'Urbanist', var(--cs-font);
    font-size: 20px;
    line-height: 1;            /* center the Urbanist wordmark on the icon (was floating low at 1.5) */
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #333;
}

.cs-nav-actions { display: flex; align-items: center; gap: 12px; }

/* ━━━ MAIN COLUMN ━━━
   Both the marketing landing (coming_soon.cfm) and the auth shell
   (auth_shell.cfm) load this stylesheet and use <body class="cs-body"> with
   the same nav → main → footer layout. Main fills the column flex and
   centers its child (#viewArea / cs-hero / auth-shell) both axes. */
.cs-body main { flex: 1; display: flex; align-items: center; justify-content: center; }
.cs-body main #viewArea { width: 100%; display: flex; align-items: center; justify-content: center; }
.cs-body .auth-shell { min-height: 0; padding: 0; }

/* ━━━ HERO ━━━ */
.cs-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 64px 32px;
}

.cs-hero-inner {
    max-width: 640px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Hero brand lockup: teal icon + text wordmark. Replaces the flat PNG
   wordmark so the ".ai" can carry the brand accent and the mark stays
   crisp on hi-dpi displays. */
.cs-hero-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}
.cs-hero-icon {
    display: block;
    width: 44px;
    height: 44px;
    filter: drop-shadow(0 4px 14px rgba(13, 148, 136, 0.25));
}
.cs-wordmark {
    font-family: 'Urbanist', var(--cs-font);
    font-size: clamp(34px, 6vw, 52px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    color: #333;
    text-shadow: 0 1px 1px rgba(15, 20, 25, 0.06), 0 2px 10px rgba(15, 20, 25, 0.05);
}
.cs-wordmark-tld { color: var(--cs-accent); }

.cs-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--cs-accent-dark);
    background: var(--cs-accent-light);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 20px;
}

.cs-headline {
    font-size: clamp(28px, 4.5vw, 44px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #333;
    margin: 0 0 16px;
}

.cs-subhead {
    font-size: 16px;
    line-height: 1.6;
    color: var(--cs-ink-60);
    margin: 0 0 32px;
    max-width: 520px;
}

.cs-cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ━━━ BUTTONS ━━━ */
.cs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: var(--cs-radius);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, border-color 0.12s ease;
    white-space: nowrap;
}

.cs-btn-lg { padding: 14px 28px; font-size: 15px; }

.cs-btn-primary {
    background: var(--cs-accent);
    color: var(--cs-white);
    box-shadow: 0 1px 2px rgba(15,20,25,0.08);
}
.cs-btn-primary:hover {
    background: var(--cs-accent-dark);
    box-shadow: var(--cs-shadow);
}

.cs-btn-ghost {
    background: transparent;
    color: var(--cs-ink);
    border-color: var(--cs-ink-10);
}
.cs-btn-ghost:hover {
    background: var(--cs-white);
    border-color: var(--cs-ink-40);
}

/* ━━━ FOOTER ━━━ */
.cs-footer {
    padding: 24px 32px;
    text-align: center;
    font-size: 12px;
    color: var(--cs-ink-60);   /* ink-40 failed WCAG AA contrast on the teal-tinted pages (TQ103486) */
    border-top: 1px solid rgba(225, 232, 237, 0.6);
}

.cs-footer-sep  { margin: 0 8px; opacity: 0.5; }
.cs-footer-link { color: var(--cs-ink-60); text-decoration: none; transition: color 0.12s ease; }
.cs-footer-link:hover { color: var(--cs-accent-dark); text-decoration: underline; }
/* Phones: the row wraps, which left a "·" hanging at the end of line 1, and the
   12px links were hard to tap. Spaced items, no dots, taller links (TQ102686). */
@media (max-width: 600px) {
    .cs-footer { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 20px; padding: 16px 16px 20px; }
    .cs-footer-sep { display: none; }
    .cs-footer-link { padding: 9px 2px; font-size: 13px; }
}

/* ━━━ LEGAL / PLACEHOLDER STUB ━━━ */
.cs-stub {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 64px 32px;
}
.cs-stub-card {
    width: 100%;
    max-width: 520px;
    background: var(--cs-white);
    border: 1px solid var(--cs-ink-10);
    border-radius: var(--cs-radius);
    box-shadow: var(--cs-shadow);
    padding: 40px 36px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cs-stub-title {
    font-size: clamp(22px, 3.2vw, 32px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--cs-ink);
    margin: 16px 0 12px;
}
.cs-stub-body {
    font-size: 15px;
    line-height: 1.6;
    color: var(--cs-ink-60);
    margin: 0 0 28px;
}
@media (max-width: 600px) {
    .cs-stub      { padding: 40px 18px; }
    .cs-stub-card { padding: 28px 22px; }
}

/* ━━━ MOBILE ━━━ */
@media (max-width: 600px) {
    .cs-nav { padding: 14px 18px; }
    .cs-hero { padding: 40px 20px; }
    .cs-hero-brand { gap: 10px; margin-bottom: 20px; }
    .cs-hero-icon { width: 38px; height: 38px; }
    .cs-cta-row { flex-direction: column; width: 100%; }
    .cs-cta-row .cs-btn { width: 100%; }
}

/* ━━━ LEGAL DOCUMENT ━━━
   Long-form legal pages (Terms, Privacy, Copyright, Terms of Sale) rendered as
   content fragments inside legal_shell.cfm. Self-contained on the --cs-* tokens
   above so it reads consistently without master.css. */

/* Legal-page layout (legal_shell.cfm sets <body class="cs-body legal-body">).
   Column so a long .legal-doc flows from the top and scrolls; the short
   coming-soon stub (.cs-stub flex:1) still fills the column and self-centers.
   The compound selector beats the base ".cs-body main" centering rule. */
.cs-body.legal-body main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 32px 16px;
}
.cs-body.legal-body .cs-stub { padding: 0; }
@media (max-width: 600px) {
    .cs-body.legal-body main { padding: 24px 12px; }
}

/* ━━━ LEGAL TABS (Terms group) ━━━
   Tab bar above the .legal-doc card. Tab clicks swap the doc fragment into
   #legalDocBody via loadTemplate(); the active pill is JS-toggled (.active),
   not a :has()/:checked selector, so it works on the QA Chromium 90 runner. */
.legal-tabbed {
    width: 100%;
    max-width: 760px;
}
.legal-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}
.legal-tab {
    appearance: none;
    -webkit-appearance: none;
    font-family: var(--cs-font);
    font-size: 14px;
    font-weight: 600;
    color: var(--cs-ink-60);
    background: var(--cs-white);
    border: 1px solid var(--cs-ink-10);
    border-radius: 999px;
    padding: 8px 18px;
    cursor: pointer;
    transition: color 0.12s ease, background 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}
.legal-tab:hover {
    color: var(--cs-accent-dark);
    border-color: var(--cs-accent-light);
}
.legal-tab.active {
    color: var(--cs-white);
    background: var(--cs-accent);
    border-color: var(--cs-accent);
    box-shadow: 0 1px 2px rgba(15, 20, 25, 0.08);
}
.legal-tabbed .legal-doc { margin: 0; }
@media (max-width: 600px) {
    .legal-tabs { gap: 6px; margin-bottom: 14px; }
    .legal-tab { font-size: 13px; padding: 7px 14px; }
}

.legal-doc {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    background: var(--cs-white);
    border: 1px solid var(--cs-ink-10);
    border-radius: var(--cs-radius);
    box-shadow: var(--cs-shadow);
    padding: 48px 52px;
    text-align: left;
}
.legal-doc-head {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--cs-ink-10);
}
.legal-doc-title {
    font-size: clamp(26px, 3.4vw, 34px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--cs-ink);
    margin: 0 0 8px;
}
.legal-doc-updated {
    font-size: 13px;
    color: var(--cs-ink-40);
    margin: 0;
}
.legal-doc-lead {
    font-size: 16px;
    line-height: 1.7;
    color: var(--cs-ink-60);
    margin: 0 0 28px;
}
.legal-doc-section { margin-bottom: 24px; }
.legal-doc-section h2 {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--cs-ink);
    margin: 0 0 8px;
}
.legal-doc-section h3 {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--cs-ink);
    margin: 18px 0 8px;
}
.legal-doc p {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--cs-ink-60);
    margin: 0 0 12px;
}
.legal-doc p:last-child { margin-bottom: 0; }
.legal-doc-list {
    margin: 0 0 14px;
    padding-left: 22px;
    /* reset.css zeroes list markers globally; restore them so legal lists read
       as actual bullets instead of a wall of unindented text. */
    list-style: disc outside;
}
.legal-doc-list li {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--cs-ink-60);
    margin-bottom: 8px;
    padding-left: 4px;
}
.legal-doc-list li::marker { color: var(--cs-ink-40); }
.legal-doc p strong,
.legal-doc-list li strong { color: var(--cs-ink); font-weight: 600; }
.legal-doc-link {
    color: var(--cs-accent-dark);
    text-decoration: none;
    font-weight: 500;
}
.legal-doc-link:hover { text-decoration: underline; }
.legal-doc-contact {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--cs-ink-10);
    font-size: 14px;
    color: var(--cs-ink-60);
}
@media (max-width: 600px) {
    .legal-doc { padding: 28px 22px; }
}

/* ━━━ COOKIE CONSENT (TQ103506) ━━━
   A bar fixed to the bottom of the viewport, not a wall: the page stays usable
   behind it. The two buttons share one style so neither choice is favoured.
   Markup: inc/page_components/marketing_footer.cfm. */
.cs-consent {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 900;
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px 24px;
    padding: 16px 20px;
    background: var(--cs-white);
    border: 1px solid var(--cs-ink-10);
    border-radius: var(--cs-radius);
    box-shadow: 0 8px 32px rgba(15,20,25,0.16);
    font-size: 13px;
    line-height: 1.5;
    color: var(--cs-ink-60);
    text-align: left;
}
.cs-consent[hidden] { display: none; }
.cs-consent-text { flex: 1 1 auto; min-width: 0; }
.cs-consent-text p { margin: 0; }
.cs-consent-title {
    margin: 0 0 2px;
    font-size: 14px;
    font-weight: 700;
    color: var(--cs-ink);
}
.cs-consent-link { color: var(--cs-accent-dark); text-decoration: underline; }
.cs-consent-link:hover { color: var(--cs-ink); }
.cs-consent-status { font-weight: 600; color: var(--cs-ink); }
.cs-consent-status:empty { display: none; }
.cs-consent-actions { display: flex; flex: 0 0 auto; gap: 10px; }
.cs-consent-btn {
    min-height: 44px;
    background: var(--cs-white);
    color: var(--cs-ink);
    border-color: var(--cs-ink);
    transition: background 0.12s ease, color 0.12s ease, box-shadow 0.12s ease;
}
.cs-consent-btn:hover {
    background: var(--cs-ink);
    color: var(--cs-white);
    box-shadow: var(--cs-shadow);
}
.cs-consent-btn:focus-visible,
.cs-footer-btn:focus-visible {
    outline: 2px solid var(--cs-accent-dark);
    outline-offset: 2px;
}
/* The footer "Cookie settings" control is a button that reads as a footer link. */
.cs-footer-btn {
    background: none;
    border: 0;
    margin: 0;
    padding: 0;
    font: inherit;
    cursor: pointer;
}
@media (max-width: 720px) {
    .cs-consent { flex-direction: column; align-items: stretch; left: 8px; right: 8px; bottom: 8px; padding: 14px 16px; }
    .cs-consent-actions { gap: 8px; }
    .cs-consent-btn { flex: 1 1 0; padding: 10px 8px; }
}
@media (max-width: 600px) {
    .cs-footer-btn { padding: 9px 2px; font-size: 13px; }
}

/* ━━━ LEGAL DOC TABLE (TQ103833) ━━━
   The cookie table on the Privacy Policy. Four columns on a wide screen. On a
   phone each row becomes a block and every cell prints its column name from
   data-label, so nothing scrolls sideways. */
.legal-doc-section[id] { scroll-margin-top: 84px; }   /* clear the sticky nav on /privacy/#cookies */
.legal-doc-table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0 4px;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--cs-ink-60);
}
.legal-doc-table th,
.legal-doc-table td {
    text-align: left;
    vertical-align: top;
    padding: 10px 12px 10px 0;
    border-bottom: 1px solid var(--cs-ink-10);
}
.legal-doc-table thead th {
    font-size: 12px;
    font-weight: 700;
    color: var(--cs-ink);
    white-space: nowrap;
}
.legal-doc-table-group th {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--cs-ink);
    background: var(--cs-ink-02);
    padding-left: 8px;
}
.legal-doc-table code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12.5px;
    color: var(--cs-ink);
    white-space: nowrap;   /* a cookie name never breaks in the middle */
}
@media (max-width: 600px) {
    .legal-doc-table code { white-space: normal; overflow-wrap: anywhere; }
    .legal-doc-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .legal-doc-table, .legal-doc-table tbody, .legal-doc-table tr, .legal-doc-table td, .legal-doc-table-group th { display: block; }
    .legal-doc-table tr { padding: 10px 0; border-bottom: 1px solid var(--cs-ink-10); }
    .legal-doc-table td { padding: 2px 0; border-bottom: 0; }
    .legal-doc-table td::before { content: attr(data-label) ": "; font-weight: 600; color: var(--cs-ink); }
    .legal-doc-table td:first-child::before { content: none; }
    .legal-doc-table-group { padding: 0 !important; border-bottom: 0 !important; }
    .legal-doc-table-group th { margin-top: 10px; padding: 6px 8px; border-bottom: 0; }
}

/* ════════════ spec/marketing_nav.css ════════════ */
/* ============================================================================
   marketing_nav.css: the right side of the shared public nav
   (inc/page_components/marketing_nav.cfm): the Features and Pricing links,
   "Sign in", and the Start free trial button with its short phone label.
   Loaded after spec/marketing_base.css (which owns the .cs-nav bar, the brand
   and .cs-btn) by every shell that prints that nav: marketing_shell,
   legal_shell and auth_shell. The rules lived in marketing.css until
   TQ103520, so the legal and sign-in pages printed both CTA labels side by
   side and overflowed a 390px phone.
   ============================================================================ */

/* ── Nav links (right-aligned, quiet). Only the link + spacing styling is
      tuned here. Nav HEIGHT and the CTA size are deliberately NOT overridden:
      the nav reuses the shared marketing_base.css chrome (padding 20px 32px,
      base .cs-btn CTA) so it renders the exact same height on the marketing,
      auth (/login/) and legal shells. Keep them in lockstep. ──────────────── */
.cs-nav-actions { gap: 24px; }
.cs-nav-link {
    font-size: 14px; font-weight: 500; letter-spacing: -0.01em;
    color: var(--cs-ink-60); text-decoration: none; transition: color 0.14s ease;
}
.cs-nav-link:hover { color: var(--cs-ink); }
.cs-nav-link.active { color: var(--cs-accent-dark); }

/* ── Sign in link + Start free trial button (TQ102670) ──
   Sign in is a quiet text link that stays visible on phones, where the center
   links collapse. The button label shortens on narrow phones so brand, Sign in
   and the button fit one row at 360px. Nav height is unchanged (same .cs-btn). */
.cs-nav-signin { font-size: 14px; font-weight: 600; color: var(--cs-ink); padding: 0 4px; white-space: nowrap; transition: color .14s ease; }
.cs-nav-signin:hover { color: var(--cs-accent-dark); }
.cs-nav-cta-short { display: none; }

@media (max-width: 960px) {
    .cs-nav-link { display: none; }   /* keep brand + Sign in + the trial button */
}
@media (max-width: 420px) {
    .cs-nav-cta-long { display: none; }
    .cs-nav-cta-short { display: inline; }
    .cs-nav-actions { gap: 14px; }
}

/* ════════════ spec/marketing.css ════════════ */
/* ============================================================================
   marketing.css — Public marketing site (Home / Features / Pricing / Demo).
   Loaded AFTER spec/marketing_base.css, so it reuses every --cs-* design token
   and the .cs-nav / .cs-btn / .cs-footer chrome already defined there. Adds
   only the long-scroll marketing layout: hero, sections, feature grid,
   screenshot frames, steps, pricing, FAQ, CTA band. Self-contained on the
   --cs-* tokens; does NOT depend on master.css (keeps marketing pages light).
   ============================================================================ */

:root {
    --mk-maxw:     1140px;
    --mk-gap:      24px;
    --mk-radius:   14px;
    --mk-section:  84px;
    --mk-shadow-soft: 0 1px 2px rgba(15,20,25,.04), 0 8px 24px rgba(15,20,25,.06);
    --mk-shadow-pop:  0 24px 60px -20px rgba(13,148,136,.28), 0 12px 28px rgba(15,20,25,.10);
    /* Brand display font (Urbanist is @font-face'd in init/custom.css + preloaded
       by the shells) for headers + the price figure, with a softened on-brand
       slate-black that is easier on the eyes than the near-black --cs-ink. */
    --mk-font-head: 'Urbanist', var(--cs-font);
    --mk-ink-head:  #242b34;
}

/* ── Marketing body: long-scroll, top-aligned (overrides marketing_base's
   centered single-screen main). body class="cs-body market-body". ──────── */
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 84px; }   /* offset for the sticky cs-nav on anchor jumps */
.mk-more { margin-top: 36px; text-align: center; }
.cs-body.market-body { display: block; background: var(--cs-white); }
.cs-body.market-body main {
    display: block;
    flex: none;
    align-items: initial;
    justify-content: initial;
}

/* No body-level opacity fade: CSS is render-blocking so there is no FOUC, and a
   body-wide opacity animation promotes the whole (tall) page to one composited
   layer that some GPUs rasterize at reduced resolution -> pixelated text. */

/* ── Layout primitives ─────────────────────────────────────────────────── */
.mk-container { width: 100%; max-width: var(--mk-maxw); margin: 0 auto; padding: 0 24px; }
.mk-section   { padding: var(--mk-section) 0; }
.mk-section.tight { padding: 56px 0; }
.mk-section.alt   { background: var(--cs-ink-02); border-block: 1px solid var(--cs-ink-05); }

.mk-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.mk-head.left { margin-left: 0; text-align: left; }
.mk-eyebrow {
    display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .16em; color: var(--cs-accent-dark);
    background: var(--cs-accent-light); padding: 6px 13px; border-radius: 999px; margin-bottom: 16px;
}
.mk-h2 {
    font-family: var(--mk-font-head);
    font-size: clamp(27px, 3.4vw, 39px); font-weight: 700; letter-spacing: -.02em;
    line-height: 1.15; color: var(--mk-ink-head); margin: 0 0 14px;
}
/* Even line lengths, so no heading ends on one word (TQ102686). Browsers
   without text-wrap support keep the normal wrap. */
.mk-h2, .mk-lede, .mk-split-copy h3, .mk-trust-label, .mk-cta-band h2 { text-wrap: balance; }
.mk-lede { font-size: 17px; line-height: 1.6; color: var(--cs-ink-60); margin: 0; }

/* ── HERO ──────────────────────────────────────────────────────────────── */
/* No overflow:hidden here: it cut off the bottom edge and shadow of the
   dashboard frame (TQ102686). Nothing in the hero is wider than the page. */
.mk-hero {
    position: relative;
    padding: 72px 0 0;
    background:
        radial-gradient(60% 70% at 50% -10%, var(--cs-accent-muted) 0%, transparent 70%),
        radial-gradient(40% 50% at 100% 0%, var(--cs-accent-light) 0%, transparent 60%);
}
/* 880px so "Defensible damage reports out." (about 800px at 58px) stays on one
   line; at 800px "out." dropped to a line of its own (TQ102686). */
.mk-hero-inner { max-width: 880px; margin: 0 auto; text-align: center; padding: 0 24px; }
.mk-hero h1 {
    font-family: var(--mk-font-head);
    font-size: clamp(34px, 5.2vw, 58px); font-weight: 700; letter-spacing: -.025em;
    line-height: 1.07; color: var(--mk-ink-head); margin: 18px 0 18px;
    text-wrap: balance;
}
.mk-hero h1 .acc { color: var(--cs-accent); }
.mk-hero-sub { font-size: clamp(16px, 1.7vw, 20px); line-height: 1.55; color: var(--cs-ink-60); margin: 0 auto 30px; max-width: 620px; }
.mk-hero .cs-cta-row { margin-bottom: 14px; }
.mk-hero-note { font-size: 13px; color: var(--cs-ink-40); margin: 0 0 56px; }
.mk-hero-note strong { color: var(--cs-ink-60); font-weight: 600; }

/* Hero product screenshot, sits half-out of the hero gradient. */
.mk-hero-shot { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* ── Browser/screenshot frame ──────────────────────────────────────────── */
.mk-frame {
    border-radius: var(--mk-radius); background: var(--cs-white);
    border: 1px solid var(--cs-ink-10); box-shadow: var(--mk-shadow-pop); overflow: hidden;
}
.mk-frame-bar {
    display: flex; align-items: center; gap: 7px; padding: 11px 14px;
    background: var(--cs-ink-02); border-bottom: 1px solid var(--cs-ink-05);
}
.mk-frame-bar i { width: 11px; height: 11px; border-radius: 999px; background: var(--cs-ink-10); display: block; }
.mk-frame-bar i:nth-child(1) { background: #FF5F57; }
.mk-frame-bar i:nth-child(2) { background: #FEBC2E; }
.mk-frame-bar i:nth-child(3) { background: #28C840; }
.mk-frame-bar .mk-frame-url {
    margin-left: 10px; font-size: 12px; color: var(--cs-ink-40);
    background: var(--cs-white); border: 1px solid var(--cs-ink-05);
    border-radius: 999px; padding: 3px 14px; flex: 1; max-width: 320px;
}
.mk-frame img { display: block; width: 100%; height: auto; }
.mk-frame.plain { border-radius: var(--mk-radius); }
.mk-frame.plain .mk-frame-bar { display: none; }
/* Click any framed screenshot to open it in the lightbox. */
.mk-frame { cursor: zoom-in; transition: border-color 0.18s ease, box-shadow 0.18s ease; }
/* TQ101834: the lift was removed site-wide. This one IS interactive (click to open the
   lightbox, cursor: zoom-in), so it keeps hover feedback, just without the movement. */
.mk-frame:hover { border-color: var(--cs-ink-40); box-shadow: var(--mk-shadow-soft), var(--mk-shadow-pop); }

/* ── Audience / trust strip ────────────────────────────────────────────── */
.mk-trust { text-align: center; }
.mk-trust-label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cs-ink-40); margin: 0 0 18px; }
.mk-trust-row { display: flex; flex-wrap: wrap; gap: 10px 12px; justify-content: center; }
.mk-chip {
    font-size: 14px; font-weight: 600; color: var(--cs-ink-60);
    background: var(--cs-white); border: 1px solid var(--cs-ink-10);
    border-radius: 999px; padding: 8px 16px;
}

/* ── Feature grid ──────────────────────────────────────────────────────── */
.mk-grid { display: grid; gap: var(--mk-gap); grid-template-columns: repeat(3, 1fr); }
.mk-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.mk-card {
    background: var(--cs-white); border: 1px solid var(--cs-ink-10);
    border-radius: var(--mk-radius); padding: 26px 24px; box-shadow: var(--mk-shadow-soft);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.mk-card:hover { box-shadow: var(--mk-shadow-pop); border-color: var(--cs-accent-light); }
.mk-ico {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 11px; margin-bottom: 16px;
    background: var(--cs-accent-muted); color: var(--cs-accent-dark);
}
.mk-ico svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mk-card h3 { font-family: var(--mk-font-head); font-size: 17px; font-weight: 700; letter-spacing: -.01em; color: var(--mk-ink-head); margin: 0 0 7px; }
.mk-card p  { font-size: 14px; line-height: 1.6; color: var(--cs-ink-60); margin: 0; }

/* ── Split (text + screenshot) sections ────────────────────────────────── */
.mk-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.mk-split + .mk-split { margin-top: var(--mk-section); }
.mk-split.reverse .mk-split-media { order: -1; }
.mk-split-copy h3 { font-family: var(--mk-font-head); font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; letter-spacing: -.02em; line-height: 1.18; color: var(--mk-ink-head); margin: 12px 0 14px; }
.mk-split-copy p { font-size: 16px; line-height: 1.65; color: var(--cs-ink-60); margin: 0 0 18px; }
.mk-checklist { list-style: none; margin: 0; padding: 0; }
.mk-checklist li { position: relative; padding-left: 30px; margin-bottom: 11px; font-size: 15px; line-height: 1.5; color: var(--cs-ink); }
.mk-checklist li svg { position: absolute; left: 0; top: 1px; width: 20px; height: 20px; color: var(--cs-accent); stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ── How it works (steps) ──────────────────────────────────────────────── */
.mk-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--mk-gap); counter-reset: step; }
.mk-step { position: relative; padding-top: 8px; }
.mk-step-num {
    width: 38px; height: 38px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 16px; color: var(--cs-white);
    background: linear-gradient(135deg, var(--cs-accent), var(--cs-accent-dark));
    box-shadow: 0 6px 16px -6px rgba(13,148,136,.6); margin-bottom: 14px;
}
.mk-step h4 { font-family: var(--mk-font-head); font-size: 16.5px; font-weight: 700; color: var(--mk-ink-head); margin: 0 0 6px; letter-spacing: -.01em; }
.mk-step p  { font-size: 14px; line-height: 1.55; color: var(--cs-ink-60); margin: 0; }

/* ── Pricing ───────────────────────────────────────────────────────────── */
.mk-price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.mk-price-card {
    position: relative; display: flex; flex-direction: column;
    background: var(--cs-white); border: 1px solid var(--cs-ink-10);
    border-radius: var(--mk-radius); padding: 28px 24px; box-shadow: var(--mk-shadow-soft);
}
.mk-price-card.pop { border-color: var(--cs-accent); box-shadow: var(--mk-shadow-pop); transform: translateY(-6px); }
.mk-price-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--cs-white); background: var(--cs-accent); padding: 5px 13px; border-radius: 999px; white-space: nowrap;
}
.mk-price-name { font-size: 15px; font-weight: 700; color: var(--cs-ink); margin: 0 0 4px; }
.mk-price-range { font-size: 13px; color: var(--cs-ink-40); margin: 0 0 16px; }
.mk-price-amt { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.mk-price-amt .num { font-size: 34px; font-weight: 800; letter-spacing: -.03em; color: var(--cs-ink); }
.mk-price-amt .per { font-size: 13px; color: var(--cs-ink-60); }
.mk-price-sub { font-size: 12.5px; color: var(--cs-ink-40); margin: 0 0 20px; min-height: 16px; }
.mk-price-card .cs-btn { width: 100%; }
.mk-price-feats { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--cs-ink-05); }
.mk-price-feats li { position: relative; padding-left: 24px; margin-bottom: 9px; font-size: 13px; line-height: 1.45; color: var(--cs-ink-60); }
.mk-price-feats li svg { position: absolute; left: 0; top: 2px; width: 15px; height: 15px; color: var(--cs-accent); stroke: currentColor; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* Graduated-rate explainer + bracket table */
.mk-rate-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.mk-table { width: 100%; border-collapse: collapse; background: var(--cs-white); border: 1px solid var(--cs-ink-10); border-radius: var(--mk-radius); overflow: hidden; }
.mk-table th, .mk-table td { text-align: left; padding: 13px 18px; font-size: 14px; border-bottom: 1px solid var(--cs-ink-05); }
.mk-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--cs-ink-40); font-weight: 700; background: var(--cs-ink-02); }
.mk-table td:last-child { text-align: right; font-weight: 700; color: var(--cs-ink); }
.mk-table tr:last-child td { border-bottom: none; }
.mk-example {
    background: var(--cs-accent-muted); border: 1px solid var(--cs-accent-light);
    border-radius: var(--mk-radius); padding: 24px 26px;
}
.mk-example h4 { font-size: 14px; font-weight: 700; color: var(--cs-accent-dark); margin: 0 0 12px; text-transform: uppercase; letter-spacing: .06em; }
.mk-example p { font-size: 14px; line-height: 1.7; color: var(--cs-ink-60); margin: 0; }
.mk-example .total { display: block; margin-top: 12px; font-size: 22px; font-weight: 800; color: var(--cs-ink); letter-spacing: -.02em; }

/* "Everything included" banner list */
.mk-incl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 28px; }
.mk-incl-grid li { position: relative; padding-left: 26px; font-size: 14px; line-height: 1.5; color: var(--cs-ink); list-style: none; }
.mk-incl-grid li svg { position: absolute; left: 0; top: 2px; width: 17px; height: 17px; color: var(--cs-accent); stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.mk-faq { max-width: 760px; margin: 0 auto; }
.mk-faq-item { border-bottom: 1px solid var(--cs-ink-10); padding: 22px 0; }
.mk-faq-item h4 { font-family: var(--mk-font-head); font-size: 16.5px; font-weight: 700; color: var(--mk-ink-head); margin: 0 0 8px; letter-spacing: -.01em; }
.mk-faq-item p { font-size: 14.5px; line-height: 1.65; color: var(--cs-ink-60); margin: 0; }

/* ── CTA band ──────────────────────────────────────────────────────────── */
.mk-cta-band { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--cs-accent) 0%, var(--cs-accent-dark) 100%); }
.mk-cta-band .mk-container { text-align: center; padding-block: 64px; position: relative; z-index: 1; }
.mk-cta-band h2 { font-family: var(--mk-font-head); font-size: clamp(27px, 3.4vw, 39px); font-weight: 700; letter-spacing: -.02em; color: var(--cs-white); margin: 0 0 12px; }
.mk-cta-band p { font-size: 17px; line-height: 1.55; color: rgba(255,255,255,.85); margin: 0 auto 28px; max-width: 520px; }
.mk-cta-band .cs-btn-primary { background: var(--cs-white); color: var(--cs-accent-dark); }
.mk-cta-band .cs-btn-primary:hover { background: var(--cs-accent-light); color: var(--cs-accent-dark); }
.mk-cta-band .cs-btn-ghost { color: var(--cs-white); border-color: rgba(255,255,255,.5); }
.mk-cta-band .cs-btn-ghost:hover { background: rgba(255,255,255,.12); border-color: var(--cs-white); }

/* The nav links, Sign in and the trial button are styled in spec/marketing_nav.css
   (TQ103520), which the legal and auth shells load too. Do not override the nav
   HEIGHT or the CTA size here: a prior `padding-block:16px` + shrunken CTA made
   the marketing nav 10px shorter than /login/'s. */

/* ── Demo / request form ───────────────────────────────────────────────── */
.mk-form-wrap { max-width: 560px; margin: 0 auto; }
/* HubSpot round-robin meeting scheduler — direct iframe (TQ100473).
   Direct iframe (not HubSpot's MeetingsEmbedCode.js, which Cloudflare 403s for
   some clients and left the embed blank). The meeting URL sends no X-Frame-Options,
   so it frames cleanly. Fixed height + internal scroll (no auto-resize script). */
.mk-scheduler-wrap { max-width: 880px; margin: 0 auto; }
.mk-scheduler-iframe { width: 100%; height: 760px; border: 0; display: block;
    border-radius: var(--mk-radius); background: var(--cs-white); }
@media (max-width: 640px) { .mk-scheduler-iframe { height: 88vh; min-height: 620px; } }
.mk-scheduler-alt { margin: 12px 0 0; font-size: 14px; color: var(--cs-ink-60); }
.mk-scheduler-alt a { color: inherit; text-decoration: underline; }
.mk-form { background: var(--cs-white); border: 1px solid var(--cs-ink-10); border-radius: var(--mk-radius); box-shadow: var(--mk-shadow-soft); padding: 32px 30px; }
.mk-field { margin-bottom: 16px; }
.mk-field label { display: block; font-size: 13px; font-weight: 600; color: var(--cs-ink); margin-bottom: 6px; }
.mk-field label .req { color: var(--cs-accent); }
.mk-field input, .mk-field textarea {
    width: 100%; font-family: var(--cs-font); font-size: 14px; color: var(--cs-ink);
    background: var(--cs-white); border: 1px solid var(--cs-ink-10); border-radius: var(--cs-radius);
    padding: 11px 13px; transition: border-color .12s ease, box-shadow .12s ease;
}
.mk-field input:focus, .mk-field textarea:focus { outline: none; border-color: var(--cs-accent); box-shadow: 0 0 0 3px var(--cs-accent-muted); }
.mk-field textarea { resize: vertical; min-height: 92px; }
.mk-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mk-form .cs-btn { width: 100%; margin-top: 6px; }
.mk-form-msg { font-size: 13.5px; margin-top: 14px; text-align: center; }
.mk-form-msg.err { color: var(--cs-red, #CB2323); }
.mk-form-ok { text-align: center; padding: 18px 0; }
.mk-form-ok svg { width: 52px; height: 52px; color: var(--cs-accent); stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 12px; }
.mk-form-ok h3 { font-size: 20px; font-weight: 800; color: var(--cs-ink); margin: 0 0 8px; }
.mk-form-ok p { font-size: 14.5px; color: var(--cs-ink-60); margin: 0; line-height: 1.6; }

/* ── Screenshot lightbox (lightweight, no library) ─────────────────────── */
.mk-lightbox {
    position: fixed; inset: 0; z-index: 1000;
    display: flex; align-items: center; justify-content: center; padding: 40px;
    background: rgba(15, 20, 25, 0.74);
    -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
    opacity: 0; visibility: hidden; transition: opacity 0.22s ease, visibility 0.22s ease;
}
.mk-lightbox.open { opacity: 1; visibility: visible; }
.mk-lightbox-img {
    max-width: min(1180px, 94vw); max-height: 90vh; width: auto; height: auto;
    border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    transform: scale(0.96); transition: transform 0.22s cubic-bezier(0.22,0.61,0.36,1);
}
.mk-lightbox.open .mk-lightbox-img { transform: scale(1); }
.mk-lightbox-close {
    position: absolute; top: 20px; right: 24px; width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px; color: #fff; cursor: pointer; font-size: 24px; line-height: 1;
    transition: background 0.15s ease, border-color 0.15s ease;
}
/* Hover changes color only; the button never moves or grows (house rule). */
.mk-lightbox-close:hover { background: rgba(255, 255, 255, 0.24); border-color: rgba(255, 255, 255, 0.5); }
body.mk-lb-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
    .mk-lightbox, .mk-lightbox-img { transition: none; }
    .mk-frame { transition: none; }
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
    .mk-grid, .mk-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
    .mk-steps { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
    .mk-price-grid { grid-template-columns: repeat(2, 1fr); }
    .mk-price-card.pop { transform: none; }
    .mk-split, .mk-split.reverse { grid-template-columns: 1fr; gap: 28px; }
    .mk-split.reverse .mk-split-media { order: 0; }
    .mk-rate-wrap { grid-template-columns: 1fr; gap: 28px; }
    .mk-incl-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    :root { --mk-section: 56px; }
    .mk-grid, .mk-grid.cols-2, .mk-price-grid, .mk-incl-grid { grid-template-columns: 1fr; }
    .mk-form-row { grid-template-columns: 1fr; }
    .mk-hero { padding-top: 48px; }
    /* "Video walkthroughs in." is 9.7 em wide: scale it to fit one line on a
       phone instead of leaving "in." alone on line 2 (TQ102686). */
    .mk-hero h1 { font-size: min(34px, 8.6vw); }
    /* How it works: one column, number beside the text. Two columns were about
       150px wide on a phone and step 4 ran 10 lines. */
    .mk-steps { grid-template-columns: 1fr; row-gap: 26px; }
    .mk-step { display: grid; grid-template-columns: 38px 1fr; column-gap: 16px; padding-top: 0; }
    .mk-step-num { grid-row: 1 / span 2; margin-bottom: 0; }
    .mk-step h4 { margin-top: 9px; }
    .mk-frame-bar .mk-frame-url { display: none; }
    .mk-lightbox { padding: 16px; }
    .mk-lightbox-close { top: 12px; right: 14px; }
}

/* ── Interactive pricing calculator (TQ100389) ──────────────────────────────
   Replaces the old tier cards. priceFor() in pricing.cfm mirrors billing.cfm.
   Chromium-90 safe: no :has(), no container queries. Range thumb/track styled
   for both -webkit- and -moz-. Honors prefers-reduced-motion. ──────────────── */
.mk-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
/* Pricing hero band: the header + the calculator share one radial-washed white
   region so they read as a single anchored hero (not two stacked boxes). */
.mk-pricing-head, .mk-calc-section { background: radial-gradient(72% 130% at 50% 0%, var(--cs-accent-muted) 0%, transparent 60%), var(--cs-white); }
.mk-pricing-head { padding: 72px 0 22px; }
.mk-pricing-head .mk-head { margin-bottom: 20px; }
.mk-page-head .mk-h2 { font-size: clamp(34px, 5vw, 54px); letter-spacing: -.025em; line-height: 1.07; }
.mk-calc-section { padding: 22px 0 76px; border-bottom: 1px solid var(--cs-ink-05); }
.mk-calc {
    max-width: 680px; margin: 0 auto; text-align: center;
    background: linear-gradient(180deg, var(--cs-white) 0%, var(--cs-accent-muted) 280%);
    border: 1px solid var(--cs-accent-light);
    border-radius: 20px;
    box-shadow: 0 1px 2px rgba(15,20,25,.04),
                0 18px 40px -16px rgba(15,20,25,.12),
                0 50px 72px -42px rgba(13,148,136,.30);
    padding: 46px 48px 40px;
}

/* ── Price readout: big Urbanist figure, raised $, baseline /mo ─────────── */
.mk-calc-readout { margin-bottom: 34px; }
.mk-calc-total {
    display: flex; align-items: baseline; justify-content: center; gap: 4px;
    font-family: var(--mk-font-head); color: var(--mk-ink-head); line-height: 1;
}
.mk-calc-cur { font-size: 34px; font-weight: 600; align-self: flex-start; letter-spacing: -.01em; }
.mk-calc-amount {
    font-size: clamp(48px, 7.2vw, 70px); font-weight: 700; letter-spacing: -.03em;
    line-height: .9; font-variant-numeric: tabular-nums; font-feature-settings: "tnum";
}
.mk-calc-per { align-self: baseline; font-family: var(--cs-font); font-size: 16px; font-weight: 600; color: var(--cs-ink-40); }

/* Discount pill (lights up once a volume discount exists; quiet hint below 11) */
.mk-calc-save {
    display: inline-flex; align-items: center; gap: 7px; margin-top: 16px;
    max-width: 100%; white-space: nowrap;
    padding: 6px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
    border: 1px solid transparent; color: var(--cs-ink-40);
    transition: background .3s ease, border-color .3s ease, color .3s ease;
}
.mk-calc-save svg { flex-shrink: 0; }
.mk-calc-save.is-on { background: var(--cs-accent-muted); border-color: var(--cs-accent-light); color: var(--cs-accent-dark); }
.mk-calc-save.is-off { font-weight: 500; }
.mk-calc-save.is-off svg { display: none; }
.mk-calc-save svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.mk-calc-save strong { font-weight: 800; }
.mk-calc-blended { font-size: 14px; color: var(--cs-ink-60); margin: 14px 0 0; min-height: 20px; }
.mk-calc-blended strong { color: var(--cs-accent-dark); font-weight: 700; }
/* TQ104116: shown to a visitor outside the US only: prices are billed in US dollars. */
.mk-calc-usd { font-size: 13px; line-height: 1.5; color: var(--cs-ink-60); margin: 8px 0 0; }
.mk-calc.is-custom .mk-calc-usd { display: none; }

/* ── Slider: native range overlays a centered visual track; thumb sits ON it ─
   The range fills the 26px row; its runnable-track is the full 26px and
   transparent, so the 22px thumb (margin-top 2px) centers on the 8px visual
   track that is absolutely centered in the same row. No more floating thumb. */
.mk-calc-slider { position: relative; height: 26px; margin: 56px 0 0; }
.mk-calc-track {
    position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
    height: 8px; border-radius: 999px; background: var(--cs-ink-05);
    overflow: hidden; pointer-events: none;
}
.mk-calc-fill {
    position: absolute; left: 0; top: 0; bottom: 0; width: 0%; border-radius: 999px;
    background: linear-gradient(90deg, var(--cs-accent), var(--cs-accent-dark));
    transition: width .16s cubic-bezier(.16,1,.3,1);
}
.mk-calc-bubble {
    position: absolute; bottom: 100%; margin-bottom: 9px; left: 0; transform: translateX(-50%);
    min-width: 36px; padding: 5px 10px; border-radius: 9px;
    background: var(--mk-ink-head); color: var(--cs-white);
    font-family: var(--cs-font); font-size: 13px; font-weight: 700; line-height: 1.2;
    text-align: center; white-space: nowrap; box-shadow: 0 6px 16px -6px rgba(15,20,25,.45);
    transition: left .14s cubic-bezier(.16,1,.3,1);
}
.mk-calc-bubble::after {
    content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
    border: 5px solid transparent; border-top-color: var(--mk-ink-head);
}
.mk-calc-range {
    position: absolute; inset: 0; width: 100%; height: 26px; margin: 0; padding: 0;
    -webkit-appearance: none; -moz-appearance: none; appearance: none;
    background: transparent; cursor: pointer; z-index: 2;
}
.mk-calc-range:focus { outline: none; }
.mk-calc-range::-webkit-slider-runnable-track { height: 26px; background: transparent; border: none; }
.mk-calc-range::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 22px; height: 22px; margin-top: 2px; border-radius: 999px;
    background: var(--cs-white); border: none;
    box-shadow: 0 0 0 1px rgba(15,20,25,.10), 0 1px 3px rgba(15,20,25,.18), 0 6px 16px -4px rgba(13,148,136,.40);
    transition: transform .15s cubic-bezier(.16,1,.3,1), box-shadow .18s ease;
    cursor: grab;
}
.mk-calc-range:hover::-webkit-slider-thumb { box-shadow: 0 0 0 1px rgba(15,20,25,.10), 0 0 0 6px rgba(13,148,136,.10), 0 1px 3px rgba(15,20,25,.18), 0 6px 16px -4px rgba(13,148,136,.40); }
.mk-calc-range:active::-webkit-slider-thumb { transform: scale(1.1); cursor: grabbing; box-shadow: 0 0 0 1px rgba(15,20,25,.10), 0 0 0 8px rgba(13,148,136,.14), 0 2px 6px rgba(15,20,25,.2); }
.mk-calc-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 1px rgba(15,20,25,.10), 0 0 0 5px rgba(13,148,136,.22); }
.mk-calc-range::-moz-range-track { height: 26px; background: transparent; border: none; }
.mk-calc-range::-moz-range-thumb {
    width: 22px; height: 22px; border-radius: 999px; background: var(--cs-white); border: none;
    box-shadow: 0 0 0 1px rgba(15,20,25,.10), 0 1px 3px rgba(15,20,25,.18), 0 6px 16px -4px rgba(13,148,136,.40);
    transition: transform .15s cubic-bezier(.16,1,.3,1), box-shadow .18s ease;
}
.mk-calc-range:active::-moz-range-thumb { transform: scale(1.1); }
.mk-calc-range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 1px rgba(15,20,25,.10), 0 0 0 5px rgba(13,148,136,.22); }
.mk-calc-range::-moz-focus-outer { border: 0; }

/* Tick labels under the track */
.mk-calc-ticks { position: relative; height: 18px; margin-top: 18px; }
.mk-calc-ticks span { position: absolute; top: 0; transform: translateX(-50%); font-size: 11px; font-weight: 600; color: var(--cs-ink-40); white-space: nowrap; }
/* Tick left is set in pricing_calc.js (indexForUnits + a half-thumb inset, the
   same offset positionThumb uses) so labels sit exactly under the native thumb
   centre at each unit count. */
.mk-calc-ticks span:first-child { transform: translateX(0); }
.mk-calc-ticks span:last-child  { transform: translateX(-100%); }

/* Typed input + marginal-rate line */
.mk-calc-controls { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; margin: 22px 0 4px; }
.mk-calc-field { display: inline-flex; align-items: center; gap: 8px; }
.mk-calc-field-lbl { font-size: 13px; font-weight: 600; color: var(--cs-ink-60); }
.mk-calc-num {
    width: 96px; font-family: var(--cs-font); font-size: 15px; font-weight: 700;
    color: var(--cs-ink); text-align: center;
    background: var(--cs-white); border: 1px solid var(--cs-ink-10);
    border-radius: var(--cs-radius); padding: 9px 10px;
    transition: border-color .12s ease, box-shadow .12s ease;
}
.mk-calc-num:focus { outline: none; border-color: var(--cs-accent); box-shadow: 0 0 0 3px var(--cs-accent-muted); }
.mk-calc-rate { font-size: 13px; color: var(--cs-ink-60); margin: 0; }
.mk-calc-rate strong { color: var(--cs-ink); font-weight: 700; }

/* Breakdown toggle + rows */
.mk-calc-toggle {
    display: flex; width: fit-content; align-items: center; gap: 6px; margin: 18px auto 0;
    font-family: var(--cs-font); font-size: 13px; font-weight: 600;
    color: var(--cs-accent-dark); background: none; border: none; cursor: pointer;
    padding: 6px 8px; border-radius: var(--cs-radius);
}
.mk-calc-toggle:hover { background: var(--cs-accent-muted); }
.mk-calc-toggle svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s ease; }
.mk-calc-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mk-calc-breakdown { margin-top: 14px; text-align: left; }
.mk-calc-rows { list-style: none; margin: 0 auto; padding: 0; max-width: 460px; }
.mk-calc-rows li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--cs-ink-05); font-size: 13.5px; }
.mk-calc-rows li:last-child { border-bottom: none; }
.mk-calc-rows .lbl { color: var(--cs-ink-60); }
.mk-calc-rows .lbl em { font-style: normal; color: var(--cs-ink-40); }
.mk-calc-rows .sub { font-weight: 700; color: var(--cs-ink); font-variant-numeric: tabular-nums; }
.mk-calc-rows li.is-total { border-top: 2px solid var(--cs-ink-10); border-bottom: none; margin-top: 4px; padding-top: 12px; }
.mk-calc-rows li.is-total .lbl { color: var(--cs-ink); font-weight: 700; }
.mk-calc-rows li.is-total .sub { color: var(--cs-accent-dark); font-size: 16px; }

/* Custom / >1000 state */
.mk-calc-custom { margin-top: 24px; padding: 22px 24px; text-align: center; background: var(--cs-accent-muted); border: 1px solid var(--cs-accent-light); border-radius: var(--mk-radius); }
.mk-calc-custom p { font-size: 15px; color: var(--cs-ink); margin: 0 0 14px; }
.mk-calc-cta { margin-top: 26px; }

/* When calc is in custom mode, hide the per-month pieces (JS toggles .is-custom; no :has).
   The readout shows "Custom" in place of the price and the Units box stays, so the card
   has no empty band and a visitor can type their way back under 1,000 (TQ103520). */
.mk-calc-custom-head { display: none; }
.mk-calc-custom-big { display: block; font-family: var(--mk-font-head); font-size: clamp(40px, 6vw, 56px); font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--mk-ink-head); }
.mk-calc.is-custom .mk-calc-custom-head { display: block; }
.mk-calc.is-custom .mk-calc-readout > :not(.mk-calc-custom-head),
.mk-calc.is-custom .mk-calc-rate,
.mk-calc.is-custom .mk-calc-toggle,
.mk-calc.is-custom .mk-calc-breakdown,
.mk-calc.is-custom .mk-calc-cta { display: none; }

/* Adapted rate-note beside the bracket table (replaces the old static example) */
.mk-rate-note { background: var(--cs-accent-muted); border: 1px solid var(--cs-accent-light); border-radius: var(--mk-radius); padding: 24px 26px; }
.mk-rate-note h4 { font-size: 14px; font-weight: 700; color: var(--cs-accent-dark); margin: 0 0 12px; text-transform: uppercase; letter-spacing: .06em; }
.mk-rate-note p { font-size: 14px; line-height: 1.7; color: var(--cs-ink-60); margin: 0; }

@media (prefers-reduced-motion: reduce) {
    .mk-calc-fill, .mk-calc-bubble, .mk-calc-save,
    .mk-calc-range::-webkit-slider-thumb, .mk-calc-range::-moz-range-thumb,
    .mk-calc-toggle svg { transition: none; }
}
@media (max-width: 600px) {
    .mk-calc { padding: 30px 18px 26px; }
    .mk-calc-controls { gap: 8px 14px; }
    .mk-calc-num { width: 84px; }
    /* Keep the discount pill to a single tidy line on phones. */
    .mk-calc-save { font-size: 12px; padding: 5px 12px; gap: 6px; }
    .mk-calc-save svg { width: 13px; height: 13px; }
    .mk-calc-rate { font-size: 12.5px; }
}

/* ════ Premium pass (TQ100389): trust rail, hydrate-gate, drag feel, focus ════ */

/* H3 — trust rail beside the calculator on wide screens */
.mk-calc-rail { margin: 32px auto 0; text-align: left; max-width: 680px; }
.mk-rail-list { list-style: none; margin: 14px 0 0; padding: 0; }
.mk-rail-list li { position: relative; padding-left: 28px; margin-bottom: 13px; font-size: 15px; line-height: 1.5; color: var(--cs-ink); }
.mk-rail-list li svg { position: absolute; left: 0; top: 2px; width: 18px; height: 18px; color: var(--cs-accent); stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 961px) {
    .mk-calc-section .mk-container { display: grid; grid-template-columns: 1fr .66fr; gap: 48px; align-items: center; }
    .mk-calc { margin: 0; max-width: none; }
    .mk-calc-rail { margin: 0; max-width: none; }
}

/* C3 — keep fill/bubble hidden until JS hydrates (no width:0 flash on load) */
.mk-calc:not(.ready) .mk-calc-fill,
.mk-calc:not(.ready) .mk-calc-bubble { opacity: 0; }
.mk-calc.ready .mk-calc-fill,
.mk-calc.ready .mk-calc-bubble { opacity: 1; transition: width .16s cubic-bezier(.16,1,.3,1), left .14s cubic-bezier(.16,1,.3,1), opacity .2s ease; }

/* H4 — no fill/bubble easing during an active drag (thumb tracks the finger) */
.mk-calc.is-dragging .mk-calc-fill,
.mk-calc.is-dragging .mk-calc-bubble { transition: none; }

/* H5 — keyboard focus rings on buttons (inputs already have them) */
.cs-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--cs-accent-muted); }
.mk-cta-band .cs-btn:focus-visible { box-shadow: 0 0 0 3px rgba(255,255,255,.55); }

/* ════ /app/ "Get the Homesly app" (TQ102647) ════
   Phones are sent to their store by OnRequestStart, so this layout is for a
   computer: copy and badges on the left, a QR code to scan on the right.
   Store badges are the official artwork; only the height is set. Hover gives
   an outline, never movement. */
.mk-app { min-height: calc(100vh - 150px); display: flex; align-items: center; }   /* short page: keep the footer at the bottom */
.mk-app .mk-container.mk-app-wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; max-width: 960px; }
.mk-app-copy .mk-h2 { font-size: clamp(32px, 4vw, 46px); margin-bottom: 14px; }
.mk-app-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 28px 0 22px; }
.mk-store-badge { display: inline-block; line-height: 0; border-radius: 9px; outline: 2px solid transparent; outline-offset: 3px; transition: outline-color .15s ease; }
.mk-store-badge img { height: 48px; width: auto; }
.mk-store-badge:hover, .mk-store-badge:focus-visible { outline-color: rgba(12,133,123,.55); }
.mk-app-note { font-size: 14px; line-height: 1.6; color: var(--cs-ink-60); margin: 0; max-width: 460px; }
.mk-app-note a { color: var(--cs-accent-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.mk-app-qr { text-align: center; padding: 26px 24px 22px; background: var(--cs-white); border: 1px solid var(--cs-ink-10); border-radius: var(--mk-radius); box-shadow: var(--mk-shadow-pop); }
.mk-app-qr-code { position: relative; width: 196px; margin: 0 auto; padding: 8px; border-radius: 12px; border: 1px solid var(--cs-ink-05); background: var(--cs-white); }
.mk-app-qr-code > img { display: block; width: 100%; height: auto; }
.mk-app-qr-logo { position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 9px; background: var(--cs-white); box-shadow: 0 0 0 3px var(--cs-white); display: flex; align-items: center; justify-content: center; }
.mk-app-qr-logo img { width: 24px; height: 24px; }
.mk-app-qr p { font-size: 13px; line-height: 1.5; color: var(--cs-ink-60); margin: 14px auto 0; max-width: 220px; }
@media (max-width: 760px) {
    .mk-app .mk-container.mk-app-wrap { grid-template-columns: 1fr; gap: 36px; }
    .mk-app-qr { display: none; }   /* a phone that lands here cannot scan its own screen */
}

/* ════ Home hero app badges (TQ102661) ════
   A quiet glass panel one step below the CTAs: label for existing teams (the
   app is sign-in only), then the official badges at 36px. It pulls up into the
   note's bottom margin so the note and the panel read as one group above the
   dashboard shot. Phones see one badge, their own store's (html.is-ios / html.is-android,
   set by marketing_shell.js); computers see both. Tyler confirmed this (TQ103499).
   Hover gives an outline, never movement. */
.mk-hero-app {
    display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 14px;
    margin: 0 auto 52px; padding: 7px 7px 7px 16px; border-radius: 14px;
    background: rgba(255,255,255,.72); border: 1px solid var(--cs-ink-10);
    box-shadow: 0 1px 2px rgba(15,20,25,.04), 0 10px 26px -14px rgba(13,90,84,.28);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.mk-hero-note + .mk-hero-app { margin-top: -32px; }
.mk-hero-app-label { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--cs-ink-60); white-space: nowrap; }
.mk-hero-app-label svg { width: 16px; height: 16px; flex: none; stroke: var(--cs-accent-dark); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mk-hero-app .mk-app-badges { margin: 0; gap: 8px; flex-wrap: nowrap; }
.mk-hero-app .mk-store-badge img { height: 36px; }
/* One badge per phone platform (classes set by marketing_shell.js). */
html.is-ios .mk-store-badge[data-store="play"],
html.is-android .mk-store-badge[data-store="apple"] { display: none; }
@media (max-width: 600px) {
    .mk-hero-app { padding: 10px 12px 12px; flex-direction: column; gap: 8px; }
    .mk-hero-app .mk-store-badge img { height: 40px; }
}

/* ════ Sample report page, /sample-report/ (TQ103486) ════
   Stand-in for the set 176 then/now slider until the new front page ships. The server writes
   every finding; sample_report.js sets --x (move-in share from the left) and --r (the rest), so
   no calc() is needed. Hover changes border, shadow or color only. */
.sr-cta { justify-content: center; margin-top: 26px; }
.sr-nowrap { white-space: nowrap; }
.mk-split-copy .sr-link { margin-top: 22px; }
.mk-card p + p { margin-top: 10px; }
.mk-card p a { color: var(--cs-accent-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.mk-card p a:hover { color: var(--cs-accent); }
.sr-grid { display: grid; grid-template-columns: 268px minmax(0, 460px) minmax(0, 1fr); gap: 28px; align-items: start; justify-content: center; }
.sr-grid > * { min-width: 0; }
.sr-list { display: grid; gap: 8px; }
.sr-item { display: grid; grid-template-columns: 44px 1fr; gap: 11px; align-items: center; text-align: left; padding: 8px 10px 8px 8px; border-radius: 12px; background: var(--cs-white); border: 1px solid var(--cs-ink-10); cursor: pointer; font-family: inherit; color: inherit; transition: border-color .15s ease, box-shadow .15s ease; }
.sr-item:hover { border-color: #b8ccc9; }
.sr-item.on { border-color: var(--cs-accent); box-shadow: 0 0 0 3px rgba(12,133,123,.14); }
.sr-th { width: 44px; height: 55px; border-radius: 8px; object-fit: cover; display: block; box-shadow: inset 0 0 0 2px transparent; }
.sr-item.k-new .sr-th { outline: 2px solid #e5484d; outline-offset: -2px; }
.sr-item.k-wear .sr-th { outline: 2px solid #8fa5a2; outline-offset: -2px; }
.sr-item-t small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cs-ink-60); }
.sr-item-t b { display: block; font: 700 14px/1.25 var(--mk-font-head); color: var(--mk-ink-head); margin-top: 1px; }
.sr-item-t em { display: inline-block; font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 6px; border-radius: 4px; margin-top: 5px; }
.sr-item.k-new .sr-item-t em { color: #b42318; background: #fdecec; }
.sr-item.k-wear .sr-item-t em { color: #4f6662; background: #edf3f2; }

.sr-stage { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: #dfe7e6; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; --x: 50%; --r: 50%;
    box-shadow: 0 0 0 1px rgba(15,20,25,.08), 0 40px 80px -36px rgba(13,90,84,.45), 0 12px 30px rgba(15,20,25,.08); }
.sr-pair { position: absolute; inset: 0; visibility: hidden; }
.sr-pair.on { visibility: visible; }
.sr-pair img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.sr-pair .sr-in { clip-path: inset(0 var(--r) 0 0); }
.sr-box { position: absolute; z-index: 2; border-radius: 7px; opacity: 0; transition: opacity .25s ease, border-color .25s ease, background-color .25s ease; pointer-events: none; }
.sr-pair.out .sr-box, .sr-pair.in .sr-box { opacity: 1; }
.sr-pair.out.k-new .sr-box { border: 2.5px solid #ff5a60; background: rgba(229,72,77,.10); box-shadow: 0 0 0 4px rgba(229,72,77,.18); }
.sr-pair.out.k-wear .sr-box { border: 2.5px dashed rgba(255,255,255,.95); background: rgba(120,140,138,.18); }
.sr-pair.in .sr-box { border: 2px dashed rgba(255,255,255,.95); background: rgba(12,133,123,.10); }
.sr-tag { position: absolute; z-index: 3; width: 58%; padding: 9px 11px; border-radius: 11px; background: var(--cs-white); box-shadow: 0 18px 40px -14px rgba(0,0,0,.5); opacity: 0; transition: opacity .25s ease; pointer-events: none; }
.sr-pair.out .sr-tag { opacity: 1; }
.sr-tag small { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 3px; color: #b42318; }
.sr-pair.k-wear .sr-tag small { color: #4f6662; }
.sr-tag b { display: block; font: 700 14px/1.25 var(--mk-font-head); color: var(--mk-ink-head); }
.sr-tag span { display: block; font-size: 12px; color: var(--cs-ink-60); margin-top: 3px; line-height: 1.4; }
.sr-caption { position: absolute; left: 14px; bottom: 14px; right: 14px; z-index: 3; display: flex; gap: 7px; flex-wrap: wrap; pointer-events: none; }
/* sample_report.js moves the captions to the top, under the date chips, when the finding box
   reaches down under them (TQ103520). */
.sr-pair.cap-top .sr-caption { top: 64px; bottom: auto; }
.sr-caption span { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(10,22,24,.62); padding: 7px 10px; border-radius: 99px; }
.sr-chip { position: absolute; top: 14px; z-index: 4; display: flex; flex-direction: column; gap: 2px; padding: 7px 11px; border-radius: 10px; font-size: 12.5px; font-weight: 700; line-height: 1.2; color: #fff; background: rgba(10,22,24,.62); pointer-events: none; }
.sr-chip small { font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: #a7f3e7; }
.sr-chip.l { left: 14px; }
.sr-chip.r { right: 14px; text-align: right; }
.sr-chip.r small { color: #ffc2c4; }
.sr-divider { position: absolute; z-index: 5; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 0 18px rgba(0,0,0,.25); }
.sr-handle { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #fff; display: grid; place-items: center; cursor: ew-resize; box-shadow: 0 8px 22px rgba(0,0,0,.25); border: 0; padding: 0; color: var(--cs-accent-dark); transition: box-shadow .15s ease; }
.sr-handle:hover, .sr-handle:focus-visible { box-shadow: 0 0 0 4px rgba(12,133,123,.3), 0 8px 22px rgba(0,0,0,.25); outline: none; }
.sr-handle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.sr-hint { margin: 12px 0 0; text-align: center; font-size: 12.5px; color: var(--cs-ink-60); }

.sr-why { background: var(--cs-white); border: 1px solid var(--cs-ink-10); border-radius: 16px; padding: 22px 22px 18px; box-shadow: var(--mk-shadow-soft); }
.sr-why h3 { margin: 0 0 16px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cs-ink-60); }
.sr-why-item { display: none; }
.sr-why-item.on { display: block; }
.sr-steps { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 14px; }
.sr-steps li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.sr-steps i { width: 22px; height: 22px; border-radius: 50%; background: var(--cs-accent); position: relative; margin-top: 1px; }
.sr-steps i::after { content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.sr-steps b { display: block; font: 700 15px/1.3 var(--mk-font-head); color: var(--mk-ink-head); }
.sr-steps span { display: block; font-size: 13.5px; line-height: 1.5; color: var(--cs-ink-60); margin-top: 2px; }
.sr-verdict { border-radius: 12px; padding: 14px 16px; border: 1px solid #f6c9cb; background: #fff6f6; }
.sr-verdict.k-wear { border-color: var(--cs-ink-10); background: var(--cs-ink-02); }
.sr-verdict small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #b42318; }
.sr-verdict.k-wear small { color: #4f6662; }
.sr-verdict b { display: block; font: 700 18px/1.25 var(--mk-font-head); color: var(--mk-ink-head); margin: 4px 0 6px; }
.sr-verdict .amt { font: 800 26px/1 var(--mk-font-head); color: #c62a2f; }
.sr-verdict.k-wear .amt { font-size: 16px; color: var(--cs-ink-60); }
.sr-unit-sum { margin: 14px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--cs-ink-60); }
.sr-unit-sum b { color: var(--mk-ink-head); }
.sr-empty { text-align: center; color: var(--cs-ink-60); }

.sr-report { max-width: 880px; margin: 0 auto; background: var(--cs-white); border: 1px solid var(--cs-ink-10); border-radius: var(--mk-radius); box-shadow: var(--mk-shadow-soft); padding: 28px 30px 26px; }
.sr-report-top { display: grid; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--cs-ink-05); }
.sr-addr { font: 700 22px/1.2 var(--mk-font-head); color: var(--mk-ink-head); }
.sr-sub { font-size: 13.5px; color: var(--cs-ink-60); margin-top: 4px; }
.sr-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.sr-tile { border: 1px solid var(--cs-ink-10); border-radius: 12px; padding: 12px 14px; }
.sr-tile small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cs-ink-60); }
.sr-tile b { display: block; font: 800 24px/1.15 var(--mk-font-head); color: var(--mk-ink-head); margin-top: 6px; }
.sr-tile span { display: block; font-size: 12px; color: var(--cs-ink-60); margin-top: 3px; }
.sr-tile.hl { border-color: var(--cs-accent); background: #f2fbf9; }
.sr-tile.hl b, .sr-tile.hl small { color: var(--cs-accent-dark); }
.sr-tile.hl.owed { border-color: #f6c9cb; background: #fff6f6; }
.sr-tile.hl.owed b, .sr-tile.hl.owed small { color: #b42318; }
.sr-lines { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 14px; }
.sr-lines th { text-align: left; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cs-ink-60); padding: 8px 6px; border-bottom: 1px solid var(--cs-ink-10); }
.sr-lines td { padding: 11px 6px; border-bottom: 1px solid var(--cs-ink-05); color: var(--mk-ink-head); vertical-align: middle; }
.sr-lines .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sr-lines tr.k-wear td { color: var(--cs-ink-60); }
.sr-room { color: var(--cs-ink-60); margin-right: 4px; }
.sr-room::after { content: " \00B7"; }
.sr-pill { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 2px 9px; border-radius: 99px; border: 1px solid var(--cs-ink-10); color: var(--cs-ink-60); }
.sr-pill.sev-medium { border-color: #f3d19c; color: #9a5b00; }
.sr-pill.sev-high { border-color: #f6c9cb; color: #b42318; }
.sr-lines tfoot td { border-bottom: 0; padding: 7px 6px; color: var(--cs-ink-60); }
.sr-lines tfoot tr:first-child td { padding-top: 16px; }
.sr-lines tfoot tr.grand td { font: 800 18px/1.3 var(--mk-font-head); color: var(--cs-accent-dark); border-top: 2px solid var(--mk-ink-head); padding-top: 12px; }
.sr-fine { font-size: 12.5px; color: var(--cs-ink-60); margin: 16px 0 0; }
.sr-report-cta { margin-top: 18px; }

@media (max-width: 1060px) {
    .sr-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "stage why" "list list"; }
    .sr-mid { grid-area: stage; }
    .sr-why { grid-area: why; }
    .sr-list { grid-area: list; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
}
@media (max-width: 720px) {
    .sr-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "stage" "list" "why"; gap: 20px; }
    .sr-list { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 6px; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; }
    .sr-item { flex: 0 0 236px; scroll-snap-align: start; }
    .sr-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sr-report { padding: 22px 16px 20px; }
    .sr-lines { font-size: 13px; }
    /* Collapse the severity column instead of hiding its cells: a hidden cell lets the charge slide
       into column 2 while the totals keep theirs in column 3. */
    .sr-lines thead th:nth-child(2), .sr-lines tbody td:nth-child(2) { width: 0; padding: 0; font-size: 0; }
    .sr-lines tbody td:nth-child(2) .sr-pill { display: none; }
    .sr-lines tfoot td[colspan] { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
    .sr-box, .sr-tag, .sr-item { transition: none; }
}

/* ── Company pages: /about/ and /contact/ (TQ103833) ──────────────────────
   One narrow text column. Headings, short paragraphs, the email list and the
   postal address. Links change color on hover and nothing moves. */
.mk-co-wrap { max-width: 760px; }
.mk-co-head { margin-bottom: 40px; }
.mk-co-head .mk-h2 { margin-bottom: 14px; }
.mk-co-block { padding: 26px 0; border-top: 1px solid var(--cs-ink-10); }
.mk-co-block h2 { font: 700 20px/1.3 var(--mk-font-head); color: var(--mk-ink-head); margin: 0 0 10px; }
.mk-co-block p { font-size: 16px; line-height: 1.65; color: var(--cs-ink-60); margin: 0 0 10px; }
.mk-co-block p:last-child { margin-bottom: 0; }
.mk-co-block a { color: var(--cs-accent-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.mk-co-block a:hover { color: var(--mk-ink-head); }
.mk-co-address { font-style: normal; font-size: 16px; line-height: 1.65; color: var(--mk-ink-head); margin: 0; }
.mk-co-list { margin: 0; }
.mk-co-row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 4px 20px; padding: 12px 0; border-bottom: 1px solid var(--cs-ink-05); }
.mk-co-row:first-child { padding-top: 2px; }
.mk-co-row:last-child { border-bottom: 0; padding-bottom: 0; }
.mk-co-row dt { font-size: 15px; font-weight: 700; color: var(--mk-ink-head); margin: 0; }
.mk-co-row dd { font-size: 16px; line-height: 1.5; margin: 0; overflow-wrap: anywhere; }
.mk-co-row dd span { display: block; font-size: 15px; color: var(--cs-ink-60); margin-top: 2px; }
@media (max-width: 600px) {
    .mk-co-head { margin-bottom: 28px; }
    .mk-co-block { padding: 22px 0; }
    .mk-co-row { grid-template-columns: minmax(0, 1fr); }
}
