/*
 * marketing.css  v34
 * Invoicetastic — Public marketing / landing page styles.
 *
 * Intentionally standalone — does NOT import theme.css tokens.
 * The marketing site is always light mode (locked brand surface).
 * All colours are defined locally as marketing-specific variables.
 *
 * Load order: marketing.css only — no app.css, no nav.css, no components.css.
 *
 * v2 — Session 41: removed broken connector line from .m-how__steps::before
 * v3 — Session 45: two-column pricing grid variant (.m-pricing__grid--two);
 *         no other visual changes. Free tier removed from marketing page.
 * v4 — Session 47G: full m-hiw system. Desktop 4-col flow, tablet walkthrough rows,
 *         mobile stack, mhm-* mini mockup components.
 * v6 — Session 47G: tablet HIW fix. Mockup overflow: hidden, min-height: 0, tighter
 *         column splits (55/45), padding-right: 0 on right-column mockups.
 * v16 — Session 62: principles section rebuilt as card grid. Old .m-principles__cols
 *         / .m-principle divider layout retired. New .m-principles__grid + .m-principle-card
 *         system: 4-col row 1, featured multi-currency card spans 2 on row 2.
 *         PDF/theme differentiator section. .m-identities and .m-id-card* retired.
 *         New components: .m-theme-picker, .m-theme-option, .m-polish__invoice, mpid-*.
 * v25 — Session 81: public drawer aligned with app nav — left burger,
 *         left-side drawer, logo at top, 1280px tablet breakpoint.
 * v27 — Session 82: removed teal accent experiment; marketing styling returned to cleaner blue-led system.
 * v28 — Session 82: explicit close control added to public mobile drawer.
 * v29 — Session 88: feature list 3 cols desktop (2 tablet, 1 mobile); pricing grid top-aligned.
 * v32 — Session 104: locale picker added to the mobile marketing drawer.
 * v34 — Session 119: dedicated payment reminders marketing section.
 */

/* ── Reset & box model ─────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Marketing colour tokens (always light) ────────────────────────────── */

:root {
    --m-brand:         oklch(52% 0.22 265);   /* indigo */
    --m-brand-hover:   oklch(46% 0.22 265);
    --m-brand-dim:     oklch(52% 0.22 265 / 0.10);
    --m-brand-dim2:    oklch(52% 0.22 265 / 0.06);
    --m-accent:        oklch(72% 0.18 75);    /* amber — pricing highlight */

    --m-bg:            #ffffff;
    --m-bg-subtle:     oklch(97.5% 0.006 260);
    --m-bg-dark:       oklch(14% 0.01 265);   /* footer, dark sections */

    --m-surface:       #ffffff;
    --m-border:        oklch(90% 0.01 260);
    --m-border-strong: oklch(82% 0.015 260);

    --m-text:          oklch(16% 0.02 265);
    --m-text-2:        oklch(42% 0.02 265);
    --m-text-3:        oklch(62% 0.015 265);
    --m-text-on-dark:  oklch(94% 0.008 265);
    --m-text-on-brand: #ffffff;

    --m-shadow-sm:  0 1px 3px oklch(0% 0 0 / 0.06), 0 1px 2px oklch(0% 0 0 / 0.04);
    --m-shadow-md:  0 4px 16px oklch(0% 0 0 / 0.08), 0 2px 4px oklch(0% 0 0 / 0.04);
    --m-shadow-lg:  0 16px 48px oklch(0% 0 0 / 0.10), 0 4px 12px oklch(0% 0 0 / 0.06);

    --m-radius:     12px;
    --m-radius-sm:  8px;
    --m-radius-lg:  20px;

    /* Layout */
    --m-max:        1160px;
    --m-gutter:     clamp(1.25rem, 5vw, 2rem);
}

/* ── Base typography ───────────────────────────────────────────────────── */

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--m-bg);
    color: var(--m-text);
    overflow-x: hidden;
}

body {
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--m-text);
    background: var(--m-bg);
}

/* ── Shared layout helpers ─────────────────────────────────────────────── */

.m-wrap {
    max-width: var(--m-max);
    margin-inline: auto;
    padding-inline: var(--m-gutter);
}

.m-section {
    padding-block: clamp(4rem, 10vw, 7rem);
}

.m-section--subtle {
    background: var(--m-bg-subtle);
}

.m-section--brand {
    background: oklch(18% 0.18 265);
    background-image:
        radial-gradient(ellipse 90% 70% at 50% 40%, oklch(30% 0.22 265) 0%, oklch(14% 0.16 265) 100%);
    position: relative;
    overflow: hidden;
}

.m-section--brand::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 65% 45%, oklch(42% 0.28 265 / 0.35) 0%, transparent 65%);
    pointer-events: none;
}

.m-section--brand > * {
    position: relative;
}

.m-section--dark {
    background: var(--m-bg-dark);
    color: var(--m-text-on-dark);
}

.m-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--m-brand);
    margin-bottom: 0.75rem;
}

.m-heading {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--m-text);
}

.m-heading--hero {
    font-size: clamp(2.5rem, 6vw, 4rem);
    letter-spacing: -0.03em;
}

.m-subhead {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--m-text-2);
    line-height: 1.65;
    max-width: 52ch;
}

/* ── Buttons ───────────────────────────────────────────────────────────── */

.m-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--m-radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 100ms ease, box-shadow 160ms ease;
    white-space: nowrap;
    line-height: 1;
}

.m-btn:active { transform: translateY(1px); }

.m-btn--primary {
    background: var(--m-brand);
    color: var(--m-text-on-brand);
    border-color: var(--m-brand);
    box-shadow: 0 2px 8px var(--m-brand-dim);
}

.m-btn--primary:hover {
    background: var(--m-brand-hover);
    border-color: var(--m-brand-hover);
    box-shadow: 0 4px 16px var(--m-brand-dim);
}

.m-btn--ghost {
    background: transparent;
    color: var(--m-text);
    border-color: var(--m-border-strong);
}

.m-btn--ghost:hover {
    background: var(--m-bg-subtle);
    border-color: var(--m-border-strong);
}

.m-btn--ghost-light {
    background: transparent;
    color: var(--m-text-on-dark);
    border-color: oklch(94% 0.008 265 / 0.3);
}

.m-btn--ghost-light:hover {
    background: oklch(100% 0 0 / 0.08);
    border-color: oklch(94% 0.008 265 / 0.5);
}

.m-btn--lg {
    padding: 0.875rem 1.875rem;
    font-size: 1rem;
}

/* ── ═══════════════════════════════════════════════════════════════════════
   NAV
═══════════════════════════════════════════════════════════════════════ */

.m-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--m-border);
    transition: box-shadow 200ms ease;
}

.m-nav.scrolled {
    box-shadow: var(--m-shadow-sm);
}

.m-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    gap: 1rem;
}

.m-nav__logo-img {
    display: block;
    height: 44px;
    width: auto;
}

.m-nav__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    flex-shrink: 0;
}

.m-nav__logo-icon {
    width: 32px;
    height: 32px;
    background: var(--m-brand);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.m-nav__logo-text {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--m-text);
    letter-spacing: -0.01em;
}

.m-nav__logo-text span {
    color: var(--m-brand);
}

.m-nav__links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

.m-nav__links a {
    display: block;
    padding: 0.4rem 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--m-text-2);
    text-decoration: none;
    border-radius: 6px;
    transition: color 140ms, background 140ms;
}

.m-nav__links a:hover {
    color: var(--m-text);
    background: var(--m-bg-subtle);
}

.m-nav__actions {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    flex-shrink: 0;
}

/* Mobile hamburger */
.m-nav__burger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid var(--m-border);
    cursor: pointer;
    color: var(--m-text-2);
    border-radius: var(--m-radius-sm);
    flex-shrink: 0;
    transition: background 140ms, border-color 140ms, color 140ms;
}

.m-nav__burger:hover,
.m-nav__burger[aria-expanded="true"] {
    background: var(--m-bg-subtle);
    border-color: var(--m-border-strong);
    color: var(--m-text);
}

/* Mobile drawer — mirrors the signed-in app nav pattern */
.m-nav__drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 292px;
    max-width: 88vw;
    background: var(--m-bg);
    border-right: 1px solid var(--m-border);
    box-shadow: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    z-index: 200;
    transform: translateX(-100%);
    overflow-y: auto;
}

.m-nav__drawer.is-ready {
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.m-nav__drawer.open {
    transform: translateX(0);
    box-shadow: var(--m-shadow-lg);
}

/* Drawer overlay */
.m-nav__overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: oklch(0% 0 0 / 0.4);
    z-index: 190;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.m-nav__overlay.active {
    display: block;
}

.m-nav__drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px 16px;
    border-bottom: 1px solid var(--m-border);
}

.m-nav__drawer-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    min-width: 0;
}

.m-nav__drawer-brand:hover {
    text-decoration: none;
    background: transparent;
}

.m-nav__drawer-brand-img {
    display: block;
    height: 40px;
    width: auto;
    max-width: 210px;
}

.m-nav__drawer-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: var(--m-radius-sm);
    border: 1px solid var(--m-border);
    background: transparent;
    color: var(--m-text-2);
    cursor: pointer;
    flex-shrink: 0;
    transition: background 140ms, border-color 140ms, color 140ms;
}

.m-nav__drawer-close:hover,
.m-nav__drawer-close:focus-visible {
    background: var(--m-bg-subtle);
    border-color: var(--m-border-strong);
    color: var(--m-text);
}

.m-nav__drawer-section {
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.m-nav__drawer-locale {
    padding: 4px 10px 14px;
    border-top: 1px solid var(--m-border);
}

.m-nav__drawer-footer {
    padding: 12px 10px 14px;
    border-top: 1px solid var(--m-border);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.m-nav__drawer-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--m-text-3);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 8px 10px 5px;
}

.m-nav__drawer-section a,
.m-nav__drawer-footer a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 9px 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--m-text-2);
    text-decoration: none;
    border-radius: var(--m-radius-sm);
    transition: color 140ms, background 140ms;
    position: relative;
    line-height: 1.2;
}

.m-nav__drawer-section a:hover,
.m-nav__drawer-footer a:hover {
    color: var(--m-text);
    background: var(--m-bg-subtle);
}

.m-nav__drawer-section a[aria-current="page"] {
    background: var(--m-brand-dim);
    color: var(--m-brand);
    font-weight: 600;
}

.m-nav__drawer-section a[aria-current="page"]::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: var(--m-brand);
    border-radius: 0 3px 3px 0;
}

.m-nav__drawer-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0.72;
}

.m-nav__drawer-section a[aria-current="page"] .m-nav__drawer-icon,
.m-nav__drawer-section a:hover .m-nav__drawer-icon,
.m-nav__drawer-footer a:hover .m-nav__drawer-icon {
    opacity: 1;
}

.m-nav__drawer .m-btn {
    width: 100%;
    justify-content: center;
    min-height: 44px;
    margin-top: 6px;
    color: var(--m-text-on-brand) !important;
    font-weight: 700;
    box-shadow: 0 8px 18px oklch(52% 0.22 265 / 0.20);
}

.m-nav__drawer .m-btn:hover {
    color: var(--m-text-on-brand) !important;
    background: var(--m-brand-hover);
}

.m-nav__drawer-cta span {
    color: inherit;
}

@media (max-width: 1280px) {
    .m-nav__links   { display: none; }
    .m-nav__actions { display: none; }
    .m-nav__burger  { display: flex; }

    .m-nav__inner {
        justify-content: center;
        height: 52px;
        position: relative;
    }

    .m-nav__burger {
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .m-nav__logo-img {
        height: 40px;
        max-width: min(190px, calc(100vw - 112px));
    }
}

/* ── ═══════════════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════════════ */

.m-hero {
    padding-block: clamp(4rem, 10vw, 6.5rem) clamp(2rem, 6vw, 4rem);
    text-align: center;
    background: var(--m-bg);
    position: relative;
    overflow: hidden;
}

/* Subtle radial gradient background glow */
.m-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, oklch(52% 0.22 265 / 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.m-hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.875rem;
    background: var(--m-brand-dim2);
    border: 1px solid var(--m-brand-dim);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--m-brand);
    margin-bottom: 1.75rem;
    letter-spacing: 0.01em;
}

.m-hero__heading {
    font-size: clamp(2.5rem, 6.5vw, 4.25rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--m-text);
    margin-bottom: 1.25rem;
    max-width: 16ch;
    margin-inline: auto;
}

.m-hero__sub {
    font-size: clamp(1.0625rem, 2vw, 1.25rem);
    color: var(--m-text-2);
    line-height: 1.6;
    max-width: 48ch;
    margin-inline: auto;
    margin-bottom: 2.25rem;
}

.m-hero__tagline {
    font-size: 0.8125rem;
    color: var(--m-text-3);
    font-style: italic;
    margin-bottom: 2rem;
    letter-spacing: 0.01em;
}

.m-hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.875rem;
    flex-wrap: wrap;
    margin-bottom: 0.875rem;
}

.m-hero__footnote {
    font-size: 0.8125rem;
    color: var(--m-text-3);
    margin-bottom: 3.5rem;
}

.m-hero__app-filterbar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.m-hero__app-search {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    height: 24px;
    padding: 0 0.5rem;
    background: var(--m-bg-subtle);
    border: 1px solid var(--m-border);
    border-radius: 5px;
    font-size: 0.68rem;
    color: var(--m-text-3);
    flex: 1;
    min-width: 100px;
}

.m-hero__app-search svg {
    flex-shrink: 0;
    opacity: 0.5;
}

.m-hero__app-tabs {
    display: flex;
    gap: 2px;
}

.m-hero__app-tab {
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--m-text-3);
    cursor: default;
}

.m-hero__app-tab.active {
    background: var(--m-brand-dim2);
    color: var(--m-brand);
    font-weight: 600;
}

/* App screenshot */
.m-hero__screen {
    position: relative;
    max-width: 900px;
    margin-inline: auto;
}

.m-hero__browser {
    background: var(--m-bg-subtle);
    border: 1px solid var(--m-border);
    border-radius: var(--m-radius-lg);
    box-shadow: var(--m-shadow-lg), 0 0 0 1px var(--m-border);
    overflow: hidden;
}

.m-hero__browser-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: oklch(95% 0.005 260);
    border-bottom: 1px solid var(--m-border);
}

.m-hero__browser-dots {
    display: flex;
    gap: 5px;
}

.m-hero__browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.m-hero__browser-dot:nth-child(1) { background: #ff5f57; }
.m-hero__browser-dot:nth-child(2) { background: #febc2e; }
.m-hero__browser-dot:nth-child(3) { background: #28c840; }

.m-hero__browser-url {
    flex: 1;
    height: 26px;
    background: var(--m-bg);
    border: 1px solid var(--m-border);
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding-inline: 0.75rem;
    font-size: 0.75rem;
    color: var(--m-text-3);
    max-width: 400px;
    margin-inline: auto;
}

/* The app mockup inside the browser */
.m-hero__app {
    display: grid;
    grid-template-columns: 200px 1fr;
    min-height: 380px;
    text-align: left;
}

.m-hero__app-sidebar {
    background: oklch(96% 0.006 265);
    border-right: 1px solid var(--m-border);
    padding: 1.25rem 0.875rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.m-hero__app-sidebar-logo {
    padding: 0 0.375rem 1rem;
}

.m-hero__app-nav-item {
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--m-text-2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.m-hero__app-nav-item svg {
    flex-shrink: 0;
    opacity: 0.6;
    width: 14px;
    height: 14px;
}

.m-hero__app-nav-item.active {
    background: var(--m-brand-dim2);
    color: var(--m-brand);
    font-weight: 600;
}

.m-hero__app-nav-item.active svg {
    opacity: 1;
}

.m-hero__app-main {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.m-hero__app-content {
    padding: 1rem 1.25rem;
}

.m-hero__app-chrome {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 1.25rem;
    height: 44px;
    border-bottom: 1px solid var(--m-border);
    background: var(--m-bg);
    flex-shrink: 0;
}

.m-hero__app-chrome-logo {
    display: none;
}

.m-hero__app-chrome-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--m-text);
    letter-spacing: -0.01em;
}

.m-hero__app-chrome-right {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.m-hero__app-bell {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--m-text-2);
    overflow: visible;
}

.m-hero__app-bell-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #e03131;
    color: #fff;
    font-size: 0.58rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--m-bg);
    line-height: 1;
}

.m-hero__app-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--m-brand);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.m-hero__app-username {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--m-text-2);
}

.m-hero__app-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.m-hero__app-new-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.75rem;
    background: var(--m-brand);
    color: #fff;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.m-hero__app-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.625rem;
    margin-bottom: 1rem;
}

.m-hero__app-stat {
    background: var(--m-bg-subtle);
    border: 1px solid var(--m-border);
    border-radius: 8px;
    padding: 0.625rem 0.875rem;
}

.m-hero__app-stat-val {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--m-text);
    letter-spacing: -0.02em;
}

.m-hero__app-stat-val.amber { color: oklch(58% 0.18 60); }

.m-hero__app-stat-label {
    font-size: 0.7rem;
    color: var(--m-text-3);
    margin-top: 0.1rem;
}

.m-hero__app-table {
    width: 100%;
    border-collapse: collapse;
}

.m-hero__app-table th {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--m-text-3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.3rem 0.5rem;
    border-bottom: 1px solid var(--m-border);
    text-align: left;
}

.m-hero__app-table td {
    font-size: 0.78rem;
    color: var(--m-text);
    padding: 0.5rem 0.5rem;
    border-bottom: 1px solid oklch(94% 0.008 260);
}

.m-hero__app-badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 100px;
    font-size: 0.68rem;
    font-weight: 600;
}

.m-hero__app-badge--paid {
    background: oklch(94% 0.07 160);
    color: oklch(36% 0.16 160);
}

.m-hero__app-badge--sent {
    background: oklch(94% 0.07 265);
    color: oklch(38% 0.18 265);
}

.m-hero__app-badge--overdue {
    background: oklch(94% 0.07 25);
    color: oklch(40% 0.2 25);
}

.m-hero__app-badge--draft {
    background: oklch(93% 0.005 260);
    color: oklch(48% 0.01 260);
}

@media (max-width: 600px) {
    .m-hero__screen { max-width: 100%; }
    .m-hero__app { grid-template-columns: 1fr; }
    .m-hero__app-sidebar { display: none; }
    .m-hero__app-table th:nth-child(4),
    .m-hero__app-table td:nth-child(4) { display: none; }
    .m-hero__app-table th { font-size: 0.72rem; padding: 0.35rem 0.5rem; }
    .m-hero__app-table td { font-size: 0.82rem; padding: 0.55rem 0.5rem; }
    .m-hero__app-username { display: none; }
    .m-hero__app-chrome-logo { display: block; }
    .m-hero__app-chrome { justify-content: space-between; }
    .m-hero__app-content { padding: 0.875rem 1rem; }
    .m-hero__app-chrome-logo { height: 26px; }
}

/* ── ═══════════════════════════════════════════════════════════════════════
   SOCIAL PROOF BAR
═══════════════════════════════════════════════════════════════════════ */

.m-proof {
    padding-block: 1.25rem;
    border-top: 1px solid var(--m-border);
    border-bottom: 1px solid var(--m-border);
    background: var(--m-bg-subtle);
}

.m-proof__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    text-align: center;
}

.m-proof__text {
    font-size: 0.8125rem;
    color: var(--m-text-3);
    font-style: italic;
}

/* ── ═══════════════════════════════════════════════════════════════════════
   PROBLEM
═══════════════════════════════════════════════════════════════════════ */

.m-problem {
    text-align: center;
}

.m-problem__heading {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--m-text);
    margin-bottom: 1.25rem;
    max-width: 22ch;
    margin-inline: auto;
}

.m-problem__body {
    font-size: clamp(1rem, 1.8vw, 1.125rem);
    color: var(--m-text-2);
    max-width: 54ch;
    margin-inline: auto;
    line-height: 1.7;
}

/* ── ═══════════════════════════════════════════════════════════════════════
   FEATURES
═══════════════════════════════════════════════════════════════════════ */

.m-features__header {
    text-align: center;
    margin-bottom: 3rem;
}

.m-features__header .m-subhead {
    margin-inline: auto;
    margin-top: 0.875rem;
}

.m-features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.m-feature-card {
    background: var(--m-surface);
    border: 1px solid var(--m-border);
    border-radius: var(--m-radius);
    padding: 1.75rem 1.5rem;
    transition: box-shadow 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.m-feature-card:hover {
    box-shadow: var(--m-shadow-md);
    border-color: var(--m-border-strong);
    transform: translateY(-2px);
}

.m-feature-card__icon {
    width: 40px;
    height: 40px;
    background: var(--m-brand-dim2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--m-brand);
    margin-bottom: 1rem;
}

.m-feature-card__title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--m-text);
    letter-spacing: -0.01em;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.m-feature-card__body {
    font-size: 0.9rem;
    color: var(--m-text-2);
    line-height: 1.65;
}

@media (max-width: 900px) {
    .m-features__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
    .m-features__grid { grid-template-columns: 1fr; }
}

/* ── ═══════════════════════════════════════════════════════════════════════
   PRINCIPLES
═══════════════════════════════════════════════════════════════════════ */

.m-principles {
    background: var(--m-bg-subtle);
}

.m-principles__header {
    max-width: 680px;
    margin-bottom: clamp(2.5rem, 6vw, 3.5rem);
    margin-inline: auto;
    text-align: center;
}

.m-principles__heading {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.15;
    color: var(--m-text);
    margin-bottom: 1rem;
}

.m-principles__intro {
    font-size: clamp(1rem, 1.8vw, 1.125rem);
    color: var(--m-text-2);
    line-height: 1.7;
    max-width: 52ch;
    margin-inline: auto;
}

/* Card grid: 4 up top, featured card spans 2 on bottom row */
.m-principles__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.m-principle-card {
    background: var(--m-surface);
    border: 1px solid var(--m-border);
    border-radius: var(--m-radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    transition: box-shadow 200ms ease, border-color 200ms ease;
}

.m-principle-card:hover {
    box-shadow: var(--m-shadow-sm);
    border-color: var(--m-border-strong);
}

/* Featured card spans 2 columns on row 2 */
.m-principle-card--featured {
    grid-column: span 2;
    background: var(--m-brand-dim2);
    border-color: var(--m-brand-dim);
    position: relative;
    overflow: hidden;
}

.m-principle-card--featured::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 80% at 90% 10%, oklch(52% 0.22 265 / 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.m-principle-card--featured:hover {
    box-shadow: var(--m-shadow-md);
    border-color: oklch(52% 0.22 265 / 0.3);
}

.m-principle-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--m-brand-dim2);
    border: 1px solid var(--m-brand-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--m-brand);
    flex-shrink: 0;
    margin-bottom: 0.25rem;
}

.m-principle-card--featured .m-principle-card__icon {
    background: var(--m-brand-dim);
    border-color: oklch(52% 0.22 265 / 0.2);
}

.m-principle-card__tag {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.625rem;
    background: var(--m-brand);
    color: #fff;
    border-radius: 100px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    width: fit-content;
}

.m-principle-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--m-text);
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.m-principle-card--featured .m-principle-card__title {
    font-size: 1.125rem;
}

.m-principle-card__body {
    font-size: 0.875rem;
    color: var(--m-text-2);
    line-height: 1.65;
}

@media (max-width: 900px) {
    .m-principles__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .m-principle-card--featured {
        grid-column: span 2;
    }
}

@media (max-width: 560px) {
    .m-principles__grid {
        grid-template-columns: 1fr;
    }
    .m-principle-card--featured {
        grid-column: span 1;
    }
}

/* ───────────────────────────────────────────────────────────────────
   MANIFESTO
─────────────────────────────────────────────────────────────────── */

.m-manifesto {
    background: var(--m-bg);
    padding-block: clamp(4rem, 10vw, 7rem);
    border-top: 1px solid var(--m-border);
    border-bottom: 1px solid var(--m-border);
}

.m-manifesto__header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 6vw, 4rem);
    max-width: 640px;
    margin-inline: auto;
}

.m-manifesto__heading {
    font-size: clamp(2rem, 3.8vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--m-text);
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.m-manifesto__sub {
    font-size: clamp(1rem, 1.8vw, 1.125rem);
    color: var(--m-text-2);
    line-height: 1.65;
}

/* 4-col top row */
.m-manifesto__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 1rem;
}

.m-manifesto__card {
    background: var(--m-bg);
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-right: 1px solid var(--m-border);
}

.m-manifesto__card:last-child {
    border-right: none;
}

.m-manifesto__card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--m-brand-dim2);
    border: 1px solid var(--m-brand-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--m-brand);
    flex-shrink: 0;
    margin-bottom: 0.25rem;
}

.m-manifesto__card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--m-text);
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.m-manifesto__card-body {
    font-size: 0.875rem;
    color: var(--m-text-2);
    line-height: 1.65;
}

/* Full-width featured card */
.m-manifesto__feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 3rem;
    background:
        linear-gradient(oklch(97% 0.012 265 / 0.88), oklch(97% 0.012 265 / 0.88)),
        url('/assets/img/marketing/coins.jpg') center / cover no-repeat;
    border: 1px solid var(--m-brand-dim);
    border-radius: var(--m-radius);
    padding: 2rem 2.25rem;
    align-items: center;
}

.m-manifesto__feature-left {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.m-manifesto__feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: oklch(100% 0 0 / 0.7);
    border: 1px solid var(--m-brand-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--m-brand);
    flex-shrink: 0;
}

.m-manifesto__feature-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.625rem;
    background: var(--m-brand);
    color: #fff;
    border-radius: 100px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    width: fit-content;
}

.m-manifesto__feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--m-text);
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.m-manifesto__feature-body {
    font-size: 0.9375rem;
    color: var(--m-text-2);
    line-height: 1.65;
}

.m-manifesto__feature-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.25rem;
}

.m-manifesto__feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.m-manifesto__feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--m-text);
}

.m-manifesto__feature-list li svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: var(--m-brand);
    background: var(--m-brand-dim2);
    border: 1px solid var(--m-brand-dim);
    border-radius: 50%;
    padding: 3px;
    box-sizing: content-box;
}


@media (max-width: 900px) {
    .m-manifesto__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .m-manifesto__card:nth-child(2n) {
        border-right: none;
    }
    .m-manifesto__feature {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .m-manifesto__grid {
        grid-template-columns: 1fr;
    }
    .m-manifesto__card {
        border-right: none;
        border-bottom: 1px solid var(--m-border);
    }
    .m-manifesto__card:last-child {
        border-bottom: none;
    }
}

/* ── ═══════════════════════════════════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════════════════════════════════ */

/* Section wrapper */
.m-hiw {
    padding-block: clamp(4rem, 10vw, 7rem);
    background: var(--m-bg-subtle);
}

/* Header */
.m-hiw__header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.m-hiw__heading {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--m-text);
    margin-bottom: 0.75rem;
}

.m-hiw__sub {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--m-text-2);
    line-height: 1.6;
}

/* ── Flow grid: [card] [arrow] [card] [arrow] [card] [arrow] [card] */
.m-hiw__flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: start;
    gap: 0;
    margin-bottom: 3rem;
}

/* ── Step card */
.m-hiw__card {
    background: var(--m-surface);
    border: 1px solid var(--m-border);
    border-radius: var(--m-radius);
    padding: 1.375rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    height: 100%;
    transition: box-shadow 200ms ease;
}

.m-hiw__card:hover {
    box-shadow: var(--m-shadow-md);
}

/* Featured card — Step 2 (quote → invoice) */
.m-hiw__card--featured {
    border-color: oklch(52% 0.22 265 / 0.5);
    box-shadow: 0 0 0 1px oklch(52% 0.22 265 / 0.12), var(--m-shadow-sm);
}

.m-hiw__card--featured:hover {
    box-shadow: 0 0 0 1px oklch(52% 0.22 265 / 0.25), var(--m-shadow-md);
}

/* Card header: num badge + title inline */
.m-hiw__card-head {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.m-hiw__num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--m-brand-dim);
    color: var(--m-brand);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.m-hiw__num--featured {
    background: var(--m-brand);
    color: #fff;
}

.m-hiw__title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--m-text);
    letter-spacing: -0.01em;
    margin: 0;
    line-height: 1.3;
}

.m-hiw__body {
    font-size: 0.8125rem;
    color: var(--m-text-2);
    line-height: 1.65;
    margin: 0;
}

/* ── Arrow between cards */
.m-hiw__arrow {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0 0.5rem;
    padding-top: 3.5rem; /* align vertically with top of mockup */
    color: var(--m-brand);
    opacity: 0.6;
    flex-shrink: 0;
}

/* ── Mockup */
.m-hiw__mockup {
    background: var(--m-bg-subtle);
    border: 1px solid var(--m-border);
    border-radius: 8px;
    padding: 0.875rem 0.875rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.425rem;
    min-height: 136px;
    flex: 1;
}

/* Setup rows */
.mhm-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    padding: 0.225rem 0;
    border-bottom: 1px solid var(--m-border);
}

.mhm-row:last-child { border-bottom: none; }

.mhm-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--m-border-strong);
    flex-shrink: 0;
}

.mhm-lbl {
    flex: 1;
    color: var(--m-text-2);
    font-size: 0.68rem;
}

.mhm-val {
    font-size: 0.68rem;
    color: var(--m-text);
    font-weight: 500;
}

/* Pills */
.mhm-pill {
    font-size: 0.6rem;
    font-weight: 600;
    padding: 0.1rem 0.45rem;
    border-radius: 100px;
    white-space: nowrap;
    flex-shrink: 0;
}

.mhm-pill--blue  { background: oklch(93% 0.05 265); color: oklch(38% 0.2 265); }
.mhm-pill--green { background: oklch(93% 0.08 155); color: oklch(33% 0.16 155); }
.mhm-pill--amber { background: oklch(93% 0.08 72);  color: oklch(40% 0.18 58); }

/* Document rows */
.mhm-doc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.125rem;
}

.mhm-doc-ref {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--m-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 65%;
}

.mhm-doc-client {
    font-size: 0.64rem;
    color: var(--m-text-3);
    margin-bottom: 0.4rem;
}

.mhm-doc-lines {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 0.4rem;
}

.mhm-line {
    height: 6px;
    border-radius: 3px;
    background: var(--m-border-strong);
}

.mhm-line--w70 { width: 70%; }
.mhm-line--w50 { width: 50%; }

.mhm-doc-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--m-text);
    padding-top: 0.35rem;
    border-top: 1px solid var(--m-border);
    margin-top: auto;
}

.mhm-doc-total--credit .mhm-total-val {
    color: oklch(40% 0.2 25);
}

.mhm-total-val {
    font-size: 0.75rem;
    letter-spacing: -0.01em;
}

/* Convert button (Step 2 featured) */
.mhm-convert {
    display: block;
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.325rem 0.625rem;
    background: var(--m-brand);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    text-align: center;
    cursor: default;
    pointer-events: none;
    font-family: inherit;
}

/* Paid via Stripe row */
.mhm-stripe-row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.67rem;
    color: oklch(35% 0.16 155);
    background: oklch(93% 0.08 155);
    padding: 0.3rem 0.5rem;
    border-radius: 5px;
    margin-top: 0.25rem;
}

/* ── Benefits bar */
.m-hiw__benefits {
    display: flex;
    align-items: stretch;
    background: var(--m-surface);
    border: 1px solid var(--m-border);
    border-radius: var(--m-radius);
    overflow: hidden;
}

.m-hiw__benefit {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.3rem;
    padding: 1.5rem 1.25rem;
}

.m-hiw__benefit-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--m-brand-dim2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--m-brand);
    margin-bottom: 0.25rem;
    flex-shrink: 0;
}

.m-hiw__benefit strong {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--m-text);
    line-height: 1.3;
}

.m-hiw__benefit span {
    font-size: 0.8rem;
    color: var(--m-text-3);
    line-height: 1.45;
}

.m-hiw__benefit-sep {
    width: 1px;
    background: var(--m-border);
    flex-shrink: 0;
    align-self: stretch;
}

/* ── Responsive */

/* Tablet: vertical walkthrough layout */
@media (min-width: 561px) and (max-width: 900px) {

    /* Flow becomes a flex column — cards and arrows interleaved */
    .m-hiw__flow {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        margin-bottom: 3rem;
    }

    /* Each step card: full-width row, two columns inside */
    .m-hiw__card {
        width: 100%;
        display: grid;
        grid-template-rows: auto auto;
        grid-template-columns: 1fr 1fr;
        column-gap: 1.25rem;
        height: auto;
        padding: 1.75rem 1.5rem;
        border-radius: var(--m-radius);
        box-shadow: var(--m-shadow-sm);
    }

    /* Num + title span full width above the two columns */
    .m-hiw__card-head {
        grid-column: 1 / -1;
        grid-row: 1;
        margin-bottom: 1.25rem;
        gap: 0.75rem;
    }

    .m-hiw__num { width: 30px; height: 30px; font-size: 0.8125rem; }
    .m-hiw__title { font-size: 1.125rem; }

    /* Mockup: left column, row 2 — constrained so it doesn't fill column edge-to-edge */
    .m-hiw__mockup {
        grid-column: 1;
        grid-row: 2;
        min-height: 0;
        align-self: start;
        flex: none;
        overflow: hidden;
    }

    /* Body text: right column, row 2 — right edge needs same padding as card side */
    .m-hiw__body {
        grid-column: 2;
        grid-row: 2;
        font-size: 0.9375rem;
        line-height: 1.7;
        align-self: center;
        padding-right: 1.5rem;
    }

    /* Alternate rows: flip columns for rhythm — same 50/50, just swap contents */
    .m-hiw__card:nth-child(3),
    .m-hiw__card:nth-child(7) {
        grid-template-columns: 1fr 1fr;
    }

    .m-hiw__card:nth-child(3) .m-hiw__mockup,
    .m-hiw__card:nth-child(7) .m-hiw__mockup {
        grid-column: 2;
        grid-row: 2;
        padding-right: 1.5rem;
    }

    .m-hiw__card:nth-child(3) .m-hiw__body,
    .m-hiw__card:nth-child(7) .m-hiw__body {
        grid-column: 1;
        grid-row: 2;
        padding-right: 0;
    }

    /* Arrows between cards: show as downward chevrons, centered */
    .m-hiw__arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 48px;
        flex-shrink: 0;
        padding: 0;
        transform: rotate(90deg);
        color: var(--m-brand);
        opacity: 0.6;
    }

    .m-hiw__arrow svg {
        width: 24px;
        height: 24px;
    }

    /* Benefits: lightweight 2x2 grid, no heavy border box */
    .m-hiw__benefits {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        background: none;
        border: none;
        border-radius: 0;
        overflow: visible;
    }

    .m-hiw__benefit {
        flex: none;
        background: var(--m-surface);
        border: 1px solid var(--m-border);
        border-radius: var(--m-radius-sm);
        padding: 1.25rem 1rem;
        gap: 0.4rem;
    }

    .m-hiw__benefit-sep { display: none; }

}

/* Mobile: single column */
@media (max-width: 560px) {

    /* Collapse 7-col grid to a simple flex stack */
    .m-hiw__flow {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin-bottom: 2rem;
    }

    /* Cards: full width, comfortable padding, no grid inside */
    .m-hiw__card {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0.875rem;
        padding: 1.25rem 1.125rem;
        height: auto;
        border-radius: var(--m-radius);
        box-shadow: var(--m-shadow-sm);
    }

    /* Mockup: constrain so it doesn't stretch on wide phones */
    .m-hiw__mockup {
        max-width: 100%;
        min-height: 0;
    }

    /* Arrows: downward chevron, deliberate */
    .m-hiw__arrow {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0.375rem 0;
        transform: rotate(90deg);
        opacity: 0.6;
    }

    .m-hiw__arrow svg {
        width: 20px;
        height: 20px;
    }

    /* Benefits: stack vertically, each benefit gets its own card feel */
    .m-hiw__benefits {
        flex-direction: column;
        border-radius: var(--m-radius);
        overflow: hidden;
    }

    .m-hiw__benefit {
        width: 100%;
        padding: 1.125rem 1.25rem;
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 0.75rem;
    }

    .m-hiw__benefit-icon {
        margin-bottom: 0;
        flex-shrink: 0;
        margin-top: 0;
    }

    .m-hiw__benefit-text {
        display: flex;
        flex-direction: column;
        gap: 0.15rem;
    }

    /* Separators become horizontal rules between stacked benefits */
    .m-hiw__benefit-sep {
        width: 100%;
        height: 1px;
        align-self: auto;
    }
}

/* ── ═══════════════════════════════════════════════════════════════════════
   PAYMENT REMINDERS
═══════════════════════════════════════════════════════════════════════ */

.m-reminders {
    background:
        radial-gradient(circle at 16% 20%, oklch(52% 0.22 265 / 0.10), transparent 34%),
        linear-gradient(180deg, var(--m-bg), var(--m-bg-subtle));
}

.m-reminders__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.8fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.m-reminders__copy .m-subhead {
    margin-top: 1rem;
    max-width: 620px;
}

.m-reminders__points {
    display: grid;
    gap: 0.85rem;
    margin-top: 1.75rem;
    list-style: none;
    max-width: 620px;
}

.m-reminders__points li {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
    color: var(--m-text-2);
    line-height: 1.55;
}

.m-reminders__points svg {
    width: 22px;
    height: 22px;
    padding: 4px;
    margin-top: 0.05rem;
    color: var(--m-brand);
    background: var(--m-brand-dim2);
    border-radius: 999px;
}

.m-reminders__mock {
    position: relative;
    overflow: hidden;
    padding: clamp(1.1rem, 3vw, 1.35rem);
    border: 1px solid var(--m-border);
    border-radius: var(--m-radius-lg);
    background: oklch(99% 0.003 265);
    box-shadow: var(--m-shadow-lg);
}

.m-reminders__mock::before {
    content: '';
    position: absolute;
    inset: auto -30% -42% 22%;
    height: 220px;
    background: radial-gradient(circle, oklch(52% 0.22 265 / 0.14), transparent 64%);
    pointer-events: none;
}

.m-reminders__mock > * {
    position: relative;
}

.m-reminders__mock-header,
.m-reminders__client-rule {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.m-reminders__mock-header span,
.m-reminders__client-rule span {
    color: var(--m-text-3);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.m-reminders__mock-header strong {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    color: oklch(35% 0.16 150);
    background: oklch(92% 0.08 150);
    font-size: 0.85rem;
}

.m-reminders__schedule {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
    margin-top: 1rem;
}

.m-reminders__schedule div {
    min-height: 90px;
    padding: 0.85rem;
    border: 1px solid var(--m-border);
    border-radius: var(--m-radius);
    background: #fff;
}

.m-reminders__schedule span,
.m-reminders__schedule strong {
    display: block;
}

.m-reminders__schedule span {
    color: var(--m-text-3);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.m-reminders__schedule strong {
    margin-top: 0.45rem;
    color: var(--m-text);
    font-size: 1rem;
    line-height: 1.25;
}

.m-reminders__email {
    margin-top: 0.9rem;
    padding: 1rem;
    border: 1px solid oklch(84% 0.04 265);
    border-radius: var(--m-radius);
    background: #fff;
}

.m-reminders__email-subject {
    color: var(--m-text);
    font-size: 0.95rem;
    font-weight: 800;
}

.m-reminders__email-line {
    height: 9px;
    width: 64%;
    margin-top: 0.7rem;
    border-radius: 999px;
    background: oklch(90% 0.02 265);
}

.m-reminders__email-line--wide {
    width: 86%;
}

.m-reminders__email-action {
    display: inline-flex;
    justify-content: center;
    min-height: 42px;
    margin-top: 1rem;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    color: #fff;
    background: var(--m-brand);
    font-size: 0.92rem;
    font-weight: 800;
}

.m-reminders__client-rule {
    margin-top: 0.9rem;
    padding: 0.85rem 1rem;
    border: 1px dashed oklch(78% 0.04 265);
    border-radius: var(--m-radius);
    background: oklch(97% 0.01 265 / 0.84);
}

.m-reminders__client-rule strong {
    max-width: 50%;
    color: var(--m-text);
    font-size: 0.9rem;
    line-height: 1.25;
    text-align: right;
}

@media (max-width: 900px) {
    .m-reminders__inner {
        grid-template-columns: 1fr;
    }

    .m-reminders__mock {
        max-width: 620px;
    }
}

@media (max-width: 580px) {
    .m-reminders__schedule {
        grid-template-columns: 1fr;
    }

    .m-reminders__schedule div {
        min-height: auto;
    }

    .m-reminders__mock-header,
    .m-reminders__client-rule {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.45rem;
    }

    .m-reminders__client-rule strong {
        max-width: none;
        text-align: left;
    }
}

/* ── ═══════════════════════════════════════════════════════════════════════
   FEATURE LIST
═══════════════════════════════════════════════════════════════════════ */

.m-list-section {
    text-align: center;
}

.m-list-section__header {
    margin-bottom: 2.5rem;
}

.m-list-section__header .m-subhead {
    margin-inline: auto;
    margin-top: 0.75rem;
}

.m-feature-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.625rem 2rem;
    max-width: 960px;
    margin-inline: auto;
    text-align: left;
    list-style: none;
}

.m-feature-list li {
    font-size: 0.9375rem;
    color: var(--m-text-2);
    padding-block: 0.3rem;
    line-height: 1.55;
    padding-left: 1.625rem;
    position: relative;
}

.m-feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.35rem;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    background: var(--m-brand-dim2);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='oklch(52%25 0.22 265)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px;
}

.m-feature-list li strong {
    color: var(--m-text);
    font-weight: 700;
}

@media (max-width: 760px) {
    .m-feature-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
    .m-feature-list { grid-template-columns: 1fr; }
}

/* ── ═══════════════════════════════════════════════════════════════════════
   PRICING
═══════════════════════════════════════════════════════════════════════ */

.m-pricing__header {
    text-align: center;
    margin-bottom: 3.5rem;
    color: #fff;
}

.m-pricing__header .m-eyebrow {
    color: oklch(80% 0.12 265);
}

.m-pricing__header .m-heading {
    color: #fff;
}

.m-pricing__header .m-subhead {
    color: oklch(84% 0.06 265);
    margin-inline: auto;
    margin-top: 0.875rem;
}

.m-pricing__note {
    text-align: center;
    font-size: 0.8125rem;
    color: oklch(68% 0.08 265);
    margin-top: 2rem;
    font-style: italic;
}

/* ── Monthly / Annual toggle (on dark brand background) ────────────── */
.m-pricing__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: oklch(20% 0.14 265 / 0.6);
    border: 1.5px solid oklch(100% 0 0 / 0.12);
    border-radius: 99px;
    padding: 4px;
    width: fit-content;
    margin: 0 auto 16px;
}

.m-pricing-toggle__opt {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 20px;
    border-radius: 99px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: oklch(60% 0.1 265);
    text-decoration: none;
    transition: background 160ms, color 160ms, box-shadow 160ms;
    white-space: nowrap;
    line-height: 1;
}

.m-pricing-toggle__opt:hover {
    color: oklch(84% 0.06 265);
}

.m-pricing-toggle__opt--active {
    background: oklch(28% 0.18 265);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 1px 4px oklch(0% 0 0 / 0.35);
}

.m-pricing-toggle__nudge {
    display: inline-block;
    background: oklch(38% 0.18 145 / 0.5);
    color: oklch(72% 0.2 145);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 2px 7px;
    border-radius: 99px;
    line-height: 1.5;
}

/* Subtle note below toggle when annual is active */
.m-pricing__annual-note {
    text-align: center;
    font-size: 0.8125rem;
    color: oklch(55% 0.1 265);
    margin: 0 0 28px;
    letter-spacing: 0.01em;
}

/* Annual total sub-label on card price row */
.m-price-card__annual-total {
    font-size: 0.8125rem;
    color: oklch(50% 0.1 265);
    margin-left: 6px;
    line-height: 1;
    align-self: center;
}

.m-pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

/* Two-tier layout */
.m-pricing__grid--two {
    grid-template-columns: repeat(2, 1fr);
    max-width: 860px;
    margin-inline: auto;
}

.m-price-card {
    background: oklch(24% 0.16 265);
    border: 2px solid oklch(100% 0 0 / 0.3);
    border-radius: 16px;
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow 200ms, transform 200ms;
    box-shadow:
        0 2px 4px oklch(0% 0 0 / 0.3),
        0 8px 24px oklch(0% 0 0 / 0.3);
}

.m-price-card:hover {
    box-shadow:
        0 4px 8px oklch(0% 0 0 / 0.10),
        0 16px 40px oklch(0% 0 0 / 0.16);
    transform: translateY(-2px);
}

/* Featured card — Business */
.m-price-card--featured {
    background: oklch(26% 0.18 265);
    border: 2px solid oklch(60% 0.28 265 / 0.85);
    box-shadow:
        0 4px 8px oklch(0% 0 0 / 0.3),
        0 16px 48px oklch(0% 0 0 / 0.3),
        0 0 32px oklch(55% 0.28 265 / 0.15),
        0 0 60px oklch(55% 0.28 265 / 0.25);
}

.m-price-card--featured:hover {
    box-shadow:
        0 6px 12px oklch(0% 0 0 / 0.35),
        0 24px 56px oklch(0% 0 0 / 0.35),
        0 0 48px oklch(55% 0.28 265 / 0.2);
    transform: translateY(-3px);
}

/* Badge — top right corner, not top-center */
.m-price-card__badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    left: auto;
    transform: none;
    background: oklch(55% 0.28 265);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    white-space: nowrap;
}

.m-price-card__tier {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: oklch(55% 0.12 265);
    margin-bottom: 0.75rem;
}

.m-price-card--featured .m-price-card__tier {
    color: oklch(72% 0.2 265);
}

.m-price-card__price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 0.375rem;
}

.m-price-card__amount {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.045em;
    line-height: 1;
}

.m-price-card__period {
    font-size: 0.875rem;
    color: oklch(50% 0.1 265);
    font-weight: 400;
}

.m-price-card__desc {
    font-size: 0.875rem;
    color: oklch(68% 0.08 265);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
    padding-top: 0.875rem;
    border-top: 1px solid oklch(100% 0 0 / 0.07);
    margin-top: 1rem;
}

.m-price-card__features {
    list-style: none;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.m-price-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: oklch(78% 0.06 265);
    line-height: 1.45;
}

.m-price-card__features li .check {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 0.1rem;
    color: oklch(62% 0.22 265);
}

.m-price-card .m-btn {
    width: 100%;
    justify-content: center;
    margin-top: auto;
    padding: 0.875rem 1.5rem;
}

/* Secondary card button — ghost on dark card */
.m-price-card:not(.m-price-card--featured) .m-btn {
    background: transparent;
    color: oklch(75% 0.1 265);
    border: 1.5px solid oklch(100% 0 0 / 0.15);
}

.m-price-card:not(.m-price-card--featured) .m-btn:hover {
    background: oklch(100% 0 0 / 0.05);
    border-color: oklch(100% 0 0 / 0.25);
}

@media (max-width: 860px) {
    .m-pricing__grid {
        grid-template-columns: 1fr;
        max-width: 460px;
        margin-inline: auto;
    }
}

/* ── ═══════════════════════════════════════════════════════════════════════
   FINAL CTA
═══════════════════════════════════════════════════════════════════════ */

.m-cta {
    background: var(--m-bg-dark);
    color: var(--m-text-on-dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.m-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 100%, oklch(52% 0.22 265 / 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.m-cta__inner {
    position: relative;
}

.m-cta__logo {
    display: block;
    height: 260px;
    width: auto;
    margin: 0 auto 2.5rem;
    filter: drop-shadow(0 0 60px oklch(52% 0.22 265 / 0.8)) drop-shadow(0 0 120px oklch(52% 0.22 265 / 0.4));
}

.m-cta__heading {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
    color: var(--m-text-on-dark);
    margin-bottom: 1rem;
}

.m-cta__sub {
    font-size: 1rem;
    color: oklch(64% 0.012 265);
    margin-bottom: 2rem;
}

.m-cta__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.875rem;
    flex-wrap: wrap;
}

.m-cta__footnote {
    margin-top: 1rem;
    font-size: 0.8125rem;
    color: oklch(46% 0.012 265);
}

/* ── ═══════════════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════════════ */

.m-footer {
    background: var(--m-bg-dark);
    border-top: 1px solid oklch(22% 0.012 265);
    padding-block: 1.75rem;
}

.m-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.m-footer__brand {
    font-size: 0.8125rem;
    color: oklch(46% 0.012 265);
}

.m-footer__brand strong {
    color: oklch(64% 0.012 265);
}

.m-footer__studio-link {
    border-radius: 4px;
    color: inherit;
    font-weight: 600;
    text-decoration: none;
    transition: background 140ms ease, color 140ms ease;
}

.m-footer__studio-link:hover,
.m-footer__studio-link:focus-visible {
    background: oklch(90% 0.018 265);
    color: oklch(38% 0.03 265);
    outline: none;
}

.m-footer__links {
    display: flex;
    gap: 1.25rem;
    list-style: none;
}

.m-footer__links a {
    font-size: 0.8125rem;
    color: oklch(46% 0.012 265);
    text-decoration: none;
    transition: color 140ms;
}

.m-footer__links a:hover {
    color: oklch(64% 0.012 265);
}

@media (max-width: 560px) {
    .m-footer__inner {
        flex-direction: column;
        text-align: center;
    }
}


/* ══════════════════════════════════════════════════════════════════════════
   LOCALE — Globe pill + picker panel
   marketing.css v31 — Session 103
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Globe pill in nav ──────────────────────────────────────────────────── */

.m-nav__locale {
    position: relative;
    display: flex;
    align-items: center;
}

.m-nav__locale-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border: 1px solid var(--m-border);
    border-radius: 6px;
    background: transparent;
    color: var(--m-text-2);
    font-size: 0.8rem;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: color 140ms, border-color 140ms, background 140ms;
    white-space: nowrap;
    line-height: 1;
}

.m-nav__locale-btn:hover {
    color: var(--m-text);
    border-color: var(--m-text-3);
    background: var(--m-subtle);
}

.m-nav__locale-btn[aria-expanded="true"] {
    color: var(--m-text);
    border-color: var(--m-indigo);
    background: var(--m-subtle);
}

.m-nav__locale-icon {
    flex-shrink: 0;
    opacity: 0.7;
}

.m-nav__locale-label {
    font-size: 0.775rem;
    letter-spacing: 0.01em;
}

.m-nav__locale-chevron {
    margin-left: auto;
    opacity: 0.7;
    transition: transform 160ms;
}

.m-nav__locale-btn[aria-expanded="true"] .m-nav__locale-chevron {
    transform: rotate(180deg);
}

/* ── Picker panel ───────────────────────────────────────────────────────── */

.m-locale-picker {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 260px;
    background: var(--m-card-bg, #fff);
    border: 1px solid var(--m-border);
    border-radius: 10px;
    box-shadow: 0 8px 24px oklch(0% 0 0 / 0.10);
    padding: 12px;
    z-index: 1000;

    /* Hidden by default — JS toggles aria-hidden + .is-open */
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 160ms, transform 160ms;
}

.m-locale-picker.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.m-locale-picker__section-label {
    display: block;
    padding: 0;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--m-text-3);
}

.m-locale-picker__section-label--muted {
    opacity: 0.7;
}

.m-locale-picker__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.m-locale-picker__list--muted {
    opacity: 0.6;
    pointer-events: none;
}

.m-locale-picker__item {
    display: block;
}

.m-locale-picker__form {
    margin: 0;
    display: grid;
    gap: 10px;
}

.m-locale-picker__field {
    display: grid;
    gap: 5px;
}

.m-locale-picker__select {
    width: 100%;
    min-height: 38px;
    padding: 7px 32px 7px 10px;
    border: 1px solid var(--m-border);
    border-radius: 7px;
    background: var(--m-card-bg, #fff);
    color: var(--m-text);
    font-family: inherit;
    font-size: 0.875rem;
    line-height: 1.2;
}

.m-locale-picker__select:focus {
    outline: none;
    border-color: var(--m-indigo);
    box-shadow: 0 0 0 3px oklch(57% 0.2 265 / 0.16);
}

.m-locale-picker__submit {
    min-height: 36px;
    width: 100%;
    border: 1px solid var(--m-text);
    border-radius: 7px;
    background: var(--m-text);
    color: var(--m-card-bg, #fff);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 650;
    cursor: pointer;
    transition: opacity 140ms, transform 140ms;
}

.m-locale-picker__submit:hover {
    opacity: 0.88;
}

.m-nav__locale--drawer {
    display: none;
}

.m-nav__locale--drawer .m-nav__locale-btn {
    width: 100%;
    justify-content: flex-start;
    min-height: 42px;
    padding: 9px 10px;
    border-radius: var(--m-radius-sm);
    font-size: 0.9rem;
    line-height: 1.2;
}

.m-nav__locale--drawer .m-nav__locale-label {
    font-size: 0.9rem;
}

.m-nav__locale--drawer .m-locale-picker {
    position: static;
    min-width: 0;
    width: 100%;
    margin-top: 8px;
    border-radius: var(--m-radius-sm);
    box-shadow: none;
    transform: none;
    transition: opacity 160ms;
}

/* Hide desktop globe pill on mobile — drawer gets its own picker */
@media (max-width: 1280px) {
    .m-nav__actions > .m-nav__locale {
        display: none;
    }

    .m-nav__locale--drawer {
        display: block;
    }
}
