/* marketing.css -- public landing page (Vido Marketing).
 *
 * Layout + section patterns for the server-rendered marketing site.
 * Consumes tier-2 Vainio aliases only (see themes/vainio-light.css and
 * docs/design/design-system.md); no raw brand values here. Rendered with
 * data-theme="vainio-light" on <html>, always light.
 *
 * Class prefix: mkt-. Source design: the 2026-09 "Vido design" canvas
 * (editorial paper: ruled lists, ink bands, one gold accent per moment).
 */

/* ---- page root ------------------------------------------------------ */

/* marketing.css is loaded only by the marketing page, so a bare html
 * rule is page-scoped in practice */
html { scroll-behavior: smooth; }

.mkt {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.mkt a { text-decoration: none; }

.mkt ::selection {
    background: var(--color-warning-bg);
    color: var(--color-text);
}

.mkt-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 40px;
}

.mkt-container-sm { max-width: 1080px; }

/* display type: headings use the display face with tight tracking */
.mkt h1, .mkt h2, .mkt h3 {
    font-family: var(--font-display);
    letter-spacing: var(--tracking-tight);
    color: var(--color-text);
    margin: 0;
}

.mkt-h2 {
    margin-top: 14px;
    font-size: clamp(30px, 3.4vw, 36px);
    line-height: 1.06;
    font-weight: var(--weight-bold);
    letter-spacing: -0.035em;
    text-wrap: balance;
}

/* .mkt h2 above sets the ink color at (0,1,1); this needs to outrank it */
.mkt .mkt-h2-light { color: var(--color-on-action-2); }

.mkt-lead {
    margin: 20px 0 0;
    font-size: 16.5px;
    line-height: 1.68;
    color: var(--color-text-muted);
    text-wrap: pretty;
}

/* tiny uppercase overline (design-system.md 3): gold-ink on paper,
 * gold-light on the emphasis surfaces */
.mkt-overline {
    font-size: 11.5px;
    font-weight: var(--weight-bold);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-warning-hover);
}

.mkt-overline-light { color: var(--color-on-action-2-accent); letter-spacing: 0.22em; }

.mkt-label {
    font-size: 11px;
    font-weight: var(--weight-bold);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-text-subtle);
}

/* section header: overline + a hairline running to the right edge */
.mkt-rule-head {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 40px;
}

.mkt-rule-head-tight { margin-bottom: 8px; }

.mkt-rule-line {
    flex: 1;
    height: 1px;
    background: var(--color-border);
}

/* the hero's double rule: hairline over a half-strength gold line */
.mkt-double-rule {
    height: 6px;
    border-top: 1px solid var(--color-action-2-line);
    border-bottom: 2px solid color-mix(in oklab, var(--color-brand) 55%, transparent);
}

/* ---- buttons --------------------------------------------------------
 * Marketing CTAs reuse .btn variants from patterns.css; .mkt-pill rounds
 * them to the full-pill shape, .mkt-square keeps the 12px corner the
 * closing band uses. */

.mkt-pill {
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 15px;
    padding-inline: 32px;
    min-height: 50px;
}

.mkt-square {
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    padding-inline: 26px;
    min-height: 48px;
}

/* outline button on the emphasis surfaces */
.mkt-btn-outline-dark {
    background: transparent;
    color: var(--color-on-action-2);
    border: 1px solid var(--color-action-2-line);
}
.mkt-btn-outline-dark:hover {
    border-color: var(--color-on-action-2-muted);
    background: var(--color-action-2-well);
    color: var(--color-on-action-2);
}

.mkt-cta-row {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-top: 36px;
}

/* ---- nav ------------------------------------------------------------ */

.mkt-nav {
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    background: var(--color-action-2-ink);
    border-bottom: 1px solid var(--color-action-2-line);
}

.mkt-nav-inner {
    height: 62px;
    display: flex;
    align-items: center;
    gap: 36px;
}

.mkt-nav-logo { display: flex; align-items: center; }
.mkt-nav-logo img { height: 24px; width: auto; display: block; }

.mkt-nav-spacer { flex: 1; }

.mkt-nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.mkt-nav-links a,
.mkt-nav-login {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-on-action-2-muted);
}
.mkt-nav-links a:hover { color: var(--color-on-action-2); }

.mkt-nav-divider {
    width: 1px;
    height: 22px;
    background: var(--color-action-2-line);
}

.mkt-nav-login { color: var(--color-on-action-2-accent); }
.mkt-nav-login:hover { color: var(--color-on-action-2); }

/* ---- hero ----------------------------------------------------------- */

.mkt-hero {
    position: relative;
    overflow: hidden;
    background: var(--color-action-2);
    color: var(--color-on-action-2);
    padding: 26px 40px 96px;
    text-align: center;
}

.mkt-hero-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 90% at 50% -10%,
        color-mix(in oklab, var(--color-on-action-2-accent) 16%, transparent),
        transparent 60%);
    pointer-events: none;
}

.mkt-hero-inner {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    animation: mkt-up 0.6s var(--motion-easing) both;
}

.mkt-hero .mkt-overline { margin-top: 46px; }

.mkt .mkt-h1 {
    margin-top: 22px;
    font-size: clamp(42px, 7.6vw, 82px);
    line-height: 0.98;
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--color-on-action-2);
    text-wrap: balance;
}

.mkt-hero-lead {
    margin: 30px auto 0;
    max-width: 600px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-on-action-2-muted);
    text-wrap: pretty;
}

/* three facts separated by gold dots */
.mkt-hero-notes {
    margin: 34px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 18px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-on-action-2-muted);
}

.mkt-hero-notes li { display: flex; align-items: center; gap: 18px; }

.mkt-hero-notes li + li::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: var(--radius-full);
    background: var(--color-brand);
}

/* ---- the list, on paper --------------------------------------------- */

.mkt-pain { padding: 84px 0 88px; }

.mkt-pain-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

/* a plate: a 3px ink rule over its content, the paper's column head */
.mkt-plate {
    border-top: 3px solid var(--color-text);
    padding-top: 18px;
}

.mkt-replaces {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--color-border);
}

.mkt-struck-tools {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.mkt-struck-tools span {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
    color: var(--color-text-subtle);
    text-decoration: line-through;
    text-decoration-color: var(--color-brand);
}

.mkt-instead {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: var(--weight-bold);
    letter-spacing: -0.02em;
    color: var(--color-text);
}

.mkt-arrow { color: var(--color-brand); flex: none; }

/* the checklist Vido keeps, drawn as a ruled paper list */
.mkt-paper-head {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.mkt-paper-period,
.mkt-paper-count {
    font-size: 11px;
    font-weight: var(--weight-bold);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
}

.mkt-paper-period { color: var(--color-warning-hover); }
.mkt-paper-count { color: var(--color-text-subtle); }

.mkt-paper-client {
    margin-top: 4px;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: var(--weight-bold);
    letter-spacing: -0.02em;
}

.mkt-paper-rows {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
}

.mkt-paper-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 0;
    border-top: 1px solid var(--color-border);
    font-size: 16px;
    font-weight: var(--weight-medium);
}

.mkt-paper-row.is-last { border-bottom: 3px solid var(--color-text); }

.mkt-paper-row.is-done { font-weight: var(--weight-normal); }

.mkt-paper-row.is-done .mkt-paper-text {
    text-decoration: line-through;
    text-decoration-color: var(--color-brand);
    color: var(--color-text-subtle);
}

.mkt-paper-check::before {
    content: "\2713";
    color: var(--color-brand);
    font-size: 17px;
    line-height: 1;
}

.mkt-paper-box {
    width: 15px;
    height: 15px;
    border: 2px solid var(--color-text);
    flex: none;
}

.mkt-paper-text { flex: 1; min-width: 0; }

.mkt-paper-meta {
    font-size: 12px;
    color: var(--color-text-muted);
    white-space: nowrap;
}

.mkt-paper-row.is-done .mkt-paper-meta { color: var(--color-text-subtle); }

/* overdue is gold, not red (design-system.md 2.3) */
.mkt-paper-late {
    font-weight: 600;
    color: var(--color-warning-hover);
    background: var(--color-warning-bg);
    padding: 3px 8px;
}

.mkt-paper-caption {
    margin-top: 14px;
    font-size: 13px;
    color: var(--color-text-muted);
}

/* ---- quote band ----------------------------------------------------- */

.mkt-quote-band {
    background: var(--color-action-2-ink);
    color: var(--color-on-action-2);
    padding: 88px 0;
}

.mkt-quote-inner {
    max-width: 960px;
    text-align: center;
}

.mkt-quote-mark::before {
    content: "\201D";
    display: block;
    font-family: var(--font-display);
    font-size: 76px;
    line-height: 0.4;
    color: var(--color-brand);
}

.mkt-quote {
    margin: 26px 0 0;
    font-family: var(--font-display);
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.1;
    font-weight: var(--weight-bold);
    letter-spacing: -0.03em;
    color: var(--color-on-action-2);
    text-wrap: balance;
}

.mkt-quote-rule {
    margin: 34px auto 0;
    width: 64px;
    height: 2px;
    background: var(--color-brand);
}

.mkt-quote-by {
    margin-top: 18px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-on-action-2-accent);
}

/* ---- how it works: ruled steps -------------------------------------- */

.mkt-steps-section { padding: 88px 0 76px; }

.mkt-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
}

.mkt-step {
    display: grid;
    grid-template-columns: 92px 300px 1fr;
    gap: 32px;
    align-items: start;
    padding: 30px 0;
    border-top: 1px solid var(--color-border);
}

.mkt-step:last-child { border-bottom: 1px solid var(--color-border); }

.mkt-step-num {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: var(--weight-bold);
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--color-brand);
}

.mkt-step h3 {
    margin-top: 4px;
    font-size: 23px;
    font-weight: var(--weight-bold);
    letter-spacing: -0.02em;
}

.mkt-step p {
    margin: 6px 0 0;
    font-size: var(--text-base);
    line-height: 1.65;
    color: var(--color-text-muted);
}

/* ---- dashboard plate ------------------------------------------------ */

.mkt-dash { padding: 0 0 92px; }

.mkt-dash-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

.mkt-checks {
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
}

.mkt-checks li {
    display: flex;
    gap: 14px;
    padding: 13px 0;
    border-top: 1px solid var(--color-border);
    font-size: 15.5px;
    font-weight: var(--weight-medium);
}

.mkt-checks li:last-child { border-bottom: 1px solid var(--color-border); }

.mkt-checks li::before {
    content: "\2713";
    color: var(--color-brand);
    flex: none;
}

.mkt-figure { margin: 0; }

.mkt-figure-frame {
    border-top: 3px solid var(--color-text);
    height: 380px;
    overflow: hidden;
}

.mkt-figure-frame img { display: block; width: 100%; height: auto; }

.mkt-figure-caption {
    margin-top: 12px;
    display: flex;
    align-items: baseline;
    gap: 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-subtle);
}

.mkt-figure-num { color: var(--color-warning-hover); }

/* ---- features: ruled 2 x 2 ------------------------------------------ */

.mkt-features {
    border-top: 1px solid var(--color-border);
    padding: 76px 0 84px;
}

.mkt-feat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 64px;
}

.mkt-feat {
    padding: 28px 0;
    border-bottom: 1px solid var(--color-border);
}

.mkt-feat h3 {
    font-size: 20px;
    font-weight: var(--weight-bold);
    letter-spacing: -0.02em;
}

.mkt-feat p {
    margin: 8px 0 0;
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--color-text-muted);
}

/* ---- pricing: ink band ---------------------------------------------- */

.mkt-pricing {
    background: var(--color-action-2-ink);
    color: var(--color-on-action-2);
    padding: 72px 0;
}

.mkt-pricing-head {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 32px;
}

.mkt-pricing-head .mkt-h2 { margin-top: 0; font-size: 34px; letter-spacing: -0.03em; }

.mkt-pricing-lead {
    margin: 10px 0 0;
    font-size: var(--text-base);
    color: var(--color-on-action-2-muted);
}

.mkt-billing-toggle {
    display: flex;
    gap: var(--space-xs);
    background: var(--color-action-2);
    border: 1px solid var(--color-action-2-line);
    border-radius: var(--radius-full);
    padding: var(--space-xs);
}

.mkt-billing-toggle button {
    cursor: pointer;
    border: none;
    border-radius: var(--radius-full);
    padding: 8px 16px;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 600;
    background: transparent;
    color: var(--color-on-action-2-muted);
}

.mkt-billing-toggle button[aria-pressed="true"] {
    background: var(--color-brand);
    color: var(--color-text-on-brand);
}

.mkt-price-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    align-items: stretch;
}

.mkt-price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--color-action-2);
    border: 1px solid var(--color-action-2-line);
    border-radius: var(--radius-lg);
    padding: 22px;
}

.mkt-price-card .mkt-tier {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: var(--weight-bold);
    color: var(--color-on-action-2-accent);
}

.mkt-price-card .mkt-range {
    margin-top: 2px;
    font-size: 12.5px;
    color: var(--color-on-action-2-muted);
}

.mkt-price-card .mkt-price {
    margin-top: 14px;
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: var(--weight-bold);
    letter-spacing: -0.02em;
    color: var(--color-on-action-2);
}

.mkt-price-card .mkt-per {
    font-size: var(--text-xs);
    color: var(--color-text-subtle);
}

.mkt-price-card .mkt-desc {
    margin: 14px 0 18px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--color-on-action-2-muted);
}

.mkt-price-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border: 1px solid var(--color-action-2-line);
    border-radius: 10px;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-on-action-2-accent);
}
.mkt-price-btn:hover {
    border-color: var(--color-on-action-2-muted);
    background: var(--color-action-2-well);
}

/* featured tier: the one paper card on the ink band */
.mkt-price-featured {
    background: var(--color-surface-2);
    border-color: var(--color-brand);
    box-shadow: 0 18px 40px -18px color-mix(in oklab, var(--color-action-2-deep) 70%, transparent);
}

.mkt-price-featured .mkt-tier  { color: var(--color-warning-hover); }
.mkt-price-featured .mkt-range { color: var(--color-text-muted); }
.mkt-price-featured .mkt-price { color: var(--color-text); }
.mkt-price-featured .mkt-desc  { color: var(--color-text-muted); }

.mkt-price-featured .mkt-price-btn {
    background: var(--color-brand);
    border-color: var(--color-brand);
    color: var(--color-text-on-brand);
}
.mkt-price-featured .mkt-price-btn:hover {
    background: var(--color-brand-hover);
    border-color: var(--color-brand-hover);
}

.mkt-price-flag {
    position: absolute;
    top: -11px;
    left: 22px;
    background: var(--color-brand);
    color: var(--color-text-on-brand);
    font-size: 10.5px;
    font-weight: var(--weight-bold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    padding: 4px 10px;
    white-space: nowrap;
}

/* ---- FAQ ------------------------------------------------------------ */

.mkt-faq {
    background: var(--color-surface-2);
    border-top: 1px solid var(--color-border);
    padding: 80px 0 88px;
}

.mkt-faq-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 64px;
    align-items: start;
}

.mkt-faq-help {
    margin: 16px 0 0;
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--color-text-muted);
}

.mkt-faq-help a {
    color: var(--color-warning-hover);
    font-weight: 600;
}
.mkt-faq-help a:hover { color: var(--color-brand); }

.mkt-faq-list {
    display: flex;
    flex-direction: column;
}

.mkt-faq-item {
    padding: 24px 0;
    border-top: 1px solid var(--color-border);
}

.mkt-faq-item:last-child { border-bottom: 1px solid var(--color-border); }

.mkt-faq-item h3 {
    font-size: 19px;
    font-weight: var(--weight-bold);
    letter-spacing: -0.015em;
}

.mkt-faq-item p {
    margin: 8px 0 0;
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--color-text-muted);
}

/* ---- contact / lead form (#31) -------------------------------------- *
 * The .mkt-hp rule is the load-bearing bit: it hides the honeypot field
 * off-screen from humans while leaving it in the DOM for bots to fill.
 * Colors/borders reuse the shared alias tokens; no brand values here. */

.mkt-contact {
    border-top: 1px solid var(--color-border);
    padding: 80px 0 88px;
}

.mkt-contact-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 64px;
    align-items: start;
}

.mkt-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.mkt-contact-form { display: flex; flex-direction: column; gap: var(--space-lg); }
.mkt-contact-row { display: flex; gap: var(--space-lg); flex-wrap: wrap; }
.mkt-contact-row > label { flex: 1 1 200px; }
.mkt-contact-form label {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
}

.mkt-contact-success,
.mkt-contact-error {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
}
.mkt-contact-success {
    background: var(--color-success-bg);
    color: var(--color-success);
}
.mkt-contact-error {
    background: var(--color-danger-bg);
    color: var(--color-danger);
}

/* ---- final CTA: deep green band ------------------------------------- */

.mkt-cta-final {
    background: var(--color-action-2);
    color: var(--color-on-action-2);
    padding: 62px 0;
}

.mkt-cta-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.mkt-cta-inner .mkt-h2 {
    margin-top: 0;
    font-size: 38px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.mkt-cta-lead {
    margin: 12px 0 0;
    font-size: 16.5px;
    color: var(--color-on-action-2-muted);
}

.mkt-cta-row-end { margin-top: 0; gap: 12px; flex: none; }

/* ---- footer --------------------------------------------------------- */

.mkt-footer {
    background: var(--color-action-2-ink);
    color: var(--color-on-action-2);
    padding: 0 0 34px;
}

.mkt-footer-rule {
    height: 2px;
    background: color-mix(in oklab, var(--color-brand) 55%, transparent);
    margin-bottom: 56px;
}

.mkt-footer-grid {
    display: grid;
    grid-template-columns: 320px 1fr 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.mkt-footer-logo { height: 26px; width: auto; display: block; }

.mkt-footer-tagline {
    margin: 18px 0 0;
    max-width: 260px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-on-action-2-muted);
}

.mkt-footer-mail {
    display: inline-block;
    margin-top: 18px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-on-action-2-accent);
}
.mkt-footer-mail:hover { color: var(--color-on-action-2); }

.mkt-footer h3 {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: var(--weight-bold);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-on-action-2-muted);
}

.mkt-footer-links {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.mkt-footer-links a,
.mkt-footer-links span {
    font-size: 14.5px;
    color: var(--color-on-action-2);
}
.mkt-footer-links span,
.mkt-footer-links a.is-muted { color: var(--color-on-action-2-muted); }
.mkt-footer-links a:hover { color: var(--color-on-action-2-accent); }

.mkt-footer-lang-block { margin-top: 22px; }

.mkt-footer-lang {
    margin-top: 12px;
    display: inline-flex;
    border: 1px solid var(--color-action-2-line);
    border-radius: var(--radius-full);
    padding: 3px;
}

.mkt-footer-lang a {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-on-action-2-muted);
}
.mkt-footer-lang a:hover { color: var(--color-on-action-2); }
.mkt-footer-lang a.is-active {
    background: var(--color-brand);
    color: var(--color-text-on-brand);
}

.mkt-footer-legal {
    margin-top: 52px;
    padding-top: 22px;
    border-top: 1px solid var(--color-action-2-line);
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    font-size: 13px;
    color: var(--color-text-subtle);
}

.mkt-footer-legal a { color: inherit; }
.mkt-footer-legal a:hover { color: var(--color-on-action-2); }

/* ---- motion --------------------------------------------------------- */

@keyframes mkt-up {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .mkt-hero-inner { animation: none; }
}

/* ---- responsive ----------------------------------------------------- */

@media (max-width: 980px) {
    .mkt-container { padding: 0 24px; }
    .mkt-nav-links, .mkt-nav-divider { display: none; }
    .mkt-hero { padding: 20px 24px 72px; }
    .mkt-pain-grid, .mkt-dash-grid, .mkt-faq-grid, .mkt-contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .mkt-step { grid-template-columns: 64px 1fr; }
    .mkt-step p { grid-column: 2; margin-top: 8px; }
    .mkt-price-grid { grid-template-columns: repeat(2, 1fr); }
    .mkt-footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 640px) {
    .mkt-pain { padding: 64px 0; }
    .mkt-quote-band, .mkt-steps-section, .mkt-features, .mkt-faq, .mkt-contact { padding: 64px 0; }
    .mkt-dash { padding: 0 0 64px; }
    .mkt-figure-frame { height: 260px; }
    .mkt-feat-grid { grid-template-columns: 1fr; }
    .mkt-feat:first-child { border-top: 1px solid var(--color-border); }
    .mkt-price-grid { grid-template-columns: 1fr; }
    .mkt-pricing-head .mkt-h2, .mkt-cta-inner .mkt-h2 { font-size: 30px; }
    .mkt-cta-row { flex-direction: column; align-items: stretch; }
    .mkt-cta-row-end { width: 100%; }
    .mkt-footer-grid { grid-template-columns: 1fr; }
    .mkt-step { grid-template-columns: 1fr; gap: 8px; }
    .mkt-step p { grid-column: 1; margin-top: 0; }
}

/* ---- mobile touch-target floor (#99) -------------------------------- *
 * Every control the touch-target audit measures (see e2e/mobile.spec.js)
 * must be >= 44 x 44 CSS px at the touch widths (390 and 768). Scoped to
 * <=980px so the desktop nav / footer density is unchanged. Structural
 * sizing only; brand values stay in the theme file. Inline links (the
 * FAQ mail address, the footer mail) become inline-flex so min-height
 * applies without breaking the surrounding line. */
@media (max-width: 980px) {
    .mkt-nav-logo,
    .mkt-nav-login,
    .mkt-footer-links a,
    .mkt-footer-legal a {
        display: flex;
        align-items: center;
        min-height: 44px;
    }
    .mkt-faq-help a,
    .mkt-footer-mail,
    .mkt-footer-lang a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }
    /* "FI" / "EN" are two letters wide; the pill needs the width floor too */
    .mkt-footer-lang a { justify-content: center; min-width: 44px; }
    .mkt-footer-links { gap: 0; }
    .mkt-price-btn { min-height: 44px; }
    .mkt-billing-toggle button { min-height: 44px; }
}
