/* ════════════════════════════════════════════════════════════════════════
   Marketing stylesheet: pilaster.business, loaded only from views/layouts/marketing.php,
   after base.css. Nothing outside the marketing layout depends on a class in it.

   The world is CIVIC STANDARDS: Pilaster set like a city's design standards manual and the
   signage it specifies. A hard 12-column grid, heavy ink rules that open each section, large
   blue panels that act like signs, and plain, precise type. No illustration.
   Rules that keep it honest:
     - Blue (#1e5aa8, the mark's tile) fills only the home hero's gradient field and the pricing board.
     - Signal yellow is reserved for the one primary action (Book a demo).
     - Every section opens on a 6px ink rule with its title; ledes sit beside, not under, on wide screens.
     - Numbers are tabular everywhere. Shapes are only the mark's stone (a rounded rectangle).
   Archivo (a grotesk with a width axis) is the display face, set slightly wide; Public Sans,
   the U.S. government's civic typeface, is the reading face. Both self-hosted, variable.
   ════════════════════════════════════════════════════════════════════════ */

@font-face {
    font-family: 'Archivo';
    font-style: normal;
    font-weight: 100 900;
    font-stretch: 62% 125%;
    font-display: swap;
    src: url(/fonts/archivo-var-latin.woff2) format('woff2');
}
@font-face { /* the example chamber site's own faces (Gloock and Onest), used only inside .rb */
    font-family: 'Riverbend Serif';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/fonts/gloock-400-latin.woff2) format('woff2');
}
@font-face {
    font-family: 'Riverbend Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url(/fonts/onest-var-latin.woff2) format('woff2');
}
@font-face {
    font-family: 'Public Sans';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url(/fonts/public-sans-var-latin.woff2) format('woff2');
}
@font-face {
    font-family: 'Public Sans';
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
    src: url(/fonts/public-sans-italic-var-latin.woff2) format('woff2');
}

body.marketing-layout {
    --ink:          #111418;
    --ink-2:        #4a525c;
    --line:         #d5dae0;
    --ground:       #f2f4f6;
    --blue:         #1e5aa8;
    --blue-deep:    #174a8c;
    --blue-night:   #123a6e;
    --signal:       #f2b705;

    /* The directory's four lines, like a transit map's. Each part of Pilaster rides one. */
    --line-dues:    #1e5aa8;
    --line-members: #12805c;
    --line-events:  #d9632b;
    --line-office:  #6b4bb0;
    --signal-hover: #ffc824;

    --display: 'Archivo', 'Arial Narrow', sans-serif;
    --read:    'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --ease:    cubic-bezier(.16, 1, .3, 1);

    font-family: var(--read);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--ink);
    background: #fff;
    caret-color: var(--blue);
    scrollbar-color: #9aa3ad var(--ground);
    -webkit-font-smoothing: antialiased;
    font-kerning: normal;
}

:where(.marketing-layout) ::selection { background: var(--signal); color: var(--ink); }
:where(.marketing-layout) a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
:where(.marketing-layout) a:hover { color: var(--blue-deep); }
.marketing-layout :focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.marketing-layout main { display: block; }
:where(.marketing-layout) :where(h1, h2, h3) { margin: 0; text-wrap: balance; }
:where(.marketing-layout) :where(p) { margin: 0; text-wrap: pretty; }

.m-wrap { width: min(1240px, 100% - 3rem); margin-inline: auto; }
.m-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* In-page links glide instead of jumping, and land with a little room above. */
@media (prefers-reduced-motion: no-preference) {
    html:has(body.marketing-layout) { scroll-behavior: smooth; }
}
html:has(body.marketing-layout) { scroll-padding-top: calc(74px + 1.5rem); }
@media (max-width: 600px) { html:has(body.marketing-layout) { scroll-padding-top: calc(64px + 1.25rem); } }

/* ── Type ─────────────────────────────────────────────────────────────────── */

.m-display, .m-title {
    font-family: var(--display);
    font-stretch: 108%;
    font-weight: 800;
    letter-spacing: -.025em;
    color: var(--ink);
}
.m-display { font-size: clamp(2.6rem, 1.4rem + 4.2vw, 5.4rem); line-height: .95; text-wrap: wrap; }
.m-title { font-size: clamp(2.1rem, 1.4rem + 2.4vw, 3.4rem); line-height: 1; }
.m-title--light { color: #fff; }
.m-lede { font-size: 1.1875rem; line-height: 1.55; color: var(--ink-2); max-width: 54ch; }

/* Every section opens on an ink rule, title left and lede right. */
.m-head {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 1.5rem 3rem;
    align-items: end;
    border-top: 6px solid var(--ink);
    padding-top: 1.5rem;
    margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}
.m-head .m-lede { margin: 0; }
/* A title too wide to share the row (Support's) puts its lede beneath it. */
.m-head--stacked { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 1.25rem; }

/* Split sections (website, pricing, demo) open on the same rule, over their copy column. */
.m-website-copy, .m-pricing-copy, .m-demo-copy { border-top: 6px solid var(--ink); padding-top: 1.5rem; }
.m-pricing-copy, .m-demo-copy { border-top-color: #fff; }
.m-website-copy .m-lede, .m-pricing-copy .m-lede, .m-demo-copy .m-lede { margin-top: 1.25rem; }

/* ── Buttons and links ────────────────────────────────────────────────────── */

.m-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .95rem 1.5rem;
    border-radius: 4px;
    font-family: var(--read);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.1;
    text-decoration: none;
    cursor: pointer;
    border: 0;
    transition: background-color .15s var(--ease), color .15s var(--ease), transform .1s var(--ease);
}
.m-btn:active { transform: translateY(1px); }
.m-btn--signal, .marketing-layout .m-btn--signal:hover { color: var(--ink); }
.m-btn--signal { background: var(--signal); }
.m-btn--signal:hover { background: var(--signal-hover); }
.m-btn--line { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 2px var(--ink); }
.marketing-layout .m-btn--line:hover { background: var(--ink); color: #fff; }
.m-btn--small { padding: .65rem 1.05rem; font-size: .9375rem; }
.m-btn--wide { width: 100%; padding-block: 1.05rem; font-size: 1.0625rem; }
.marketing-layout .m-btn--signal:focus-visible { outline-color: var(--ink); }

.m-link { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.marketing-layout .m-link:hover { color: var(--blue); }
.m-arrow { width: 1.1em; height: 1.1em; flex: none; transition: transform .2s var(--ease); }
a:hover > .m-arrow { transform: translateX(3px); }

/* ── Header ───────────────────────────────────────────────────────────────── */

.m-sky {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #fff;
    border-bottom: 1px solid var(--line);
    transition: background-color .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.m-sky.is-stuck { box-shadow: 0 8px 24px -14px rgba(17, 20, 24, .35); }
.m-sky-inner { width: min(1240px, 100% - 3rem); margin-inline: auto; display: flex; align-items: center; gap: 2.75rem; min-height: 74px; }
.m-brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.marketing-layout .m-brand:hover { color: var(--ink); }
.m-brand-mark { width: 32px; height: 32px; display: block; }
.m-brand-name { font-family: var(--display); font-stretch: 108%; font-weight: 800; font-size: 1.4rem; letter-spacing: -.02em; line-height: 1; }
.m-brand--light, .marketing-layout .m-brand--light:hover { color: #fff; }
.m-nav { display: flex; gap: 1.9rem; }
.m-nav a, .m-signin { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .96rem; }
.marketing-layout .m-nav a:hover, .marketing-layout .m-signin:hover { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; }
.m-sky-actions { margin-left: auto; display: flex; align-items: center; gap: 1.5rem; }

/* Menu button and panel: below 1100px, where the nav links hide. */
.m-menu-btn {
    display: none;
    width: 42px; height: 42px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
}
@media (hover: hover) { .m-menu-btn:hover { background: var(--ground); color: var(--ink); } }
.m-menu-btn svg { width: 24px; height: 24px; display: block; margin: auto; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: square; }
.m-menu-btn path { transform-origin: 12px 12px; transition: transform .25s var(--ease); }
.m-menu-btn[aria-expanded="true"] .m-menu-l1 { transform: translateY(4px) rotate(45deg); }
.m-menu-btn[aria-expanded="true"] .m-menu-l2 { transform: translateY(-4px) rotate(-45deg); }
.m-menu {
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 18px 30px -18px rgba(17, 20, 24, .4);
    padding: .5rem 0 1.25rem;
}
.m-menu a {
    display: block;
    width: min(1240px, 100% - 3rem);
    margin-inline: auto;
    padding: .95rem 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--display);
    font-stretch: 106%;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--ink);
    text-decoration: none;
}
.m-menu a:hover { color: var(--blue); }
.m-menu .m-menu-signin { border-bottom: 0; font-family: var(--read); font-weight: 600; font-size: 1rem; color: var(--ink-2); }
.m-menu[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
    .m-menu:not([hidden]) { animation: m-menu-in .22s var(--ease); }
}
@keyframes m-menu-in { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 1100px) {
    .m-menu-btn:not([hidden]) { display: block; }
}
@media (min-width: 1101px) {
    .m-menu { display: none !important; }
}
.has-hero .m-sky:not(.is-stuck) .m-menu-btn { color: #fff; }
@media (hover: hover) { .has-hero .m-sky:not(.is-stuck) .m-menu-btn:hover { background: rgba(255,255,255,.12); } }

/* ── Hero ─────────────────────────────────────────────────────────────────── */

.m-hero { position: relative; }

/* The blue field: the brand blues layered as soft light, a fine grain so it never bands, and the mark's
   running bond, very large and very faint, sliding out of the right edge. It runs up behind the header. */
.m-hero-band {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    color: #fff;
    padding: calc(74px + clamp(3.5rem, 2rem + 5vw, 7rem)) 0 clamp(1rem, .5rem + 1vw, 1.75rem);
    background:
        radial-gradient(60% 80% at 12% 8%, rgba(78, 146, 230, .55), transparent 62%),
        radial-gradient(50% 70% at 92% 18%, rgba(56, 189, 248, .28), transparent 60%),
        radial-gradient(70% 90% at 70% 110%, rgba(8, 24, 56, .85), transparent 65%),
        linear-gradient(160deg, #1e5aa8 0%, #174a8c 45%, #0f3266 100%);
}
.m-hero-band::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: .07;
    mix-blend-mode: overlay;
    pointer-events: none;
}
.m-hero-bond {
    position: absolute;
    z-index: -1;
    right: -8%;
    top: 50%;
    width: min(62vw, 900px);
    transform: translateY(-46%) rotate(-8deg);
    opacity: .07;
    -webkit-mask: linear-gradient(100deg, transparent 5%, #000 55%);
            mask: linear-gradient(100deg, transparent 5%, #000 55%);
    animation: m-drift 24s ease-in-out infinite alternate;
}
@keyframes m-drift { to { transform: translateY(-50%) rotate(-6deg) translateX(-2%); } }

.m-hero .m-display { color: #fff; font-size: clamp(2.6rem, .6rem + 5.4vw, 6.4rem); font-stretch: 100%; letter-spacing: -.03em; }
@media (min-width: 901px) { .m-break { display: block; } }
.m-hero-lede { margin-top: 1.9rem; font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); line-height: 1.55; color: #d3e1f3; max-width: 58ch; }
.m-hero .m-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 2.25rem; }
.m-hero .m-link, .marketing-layout .m-hero .m-link:hover { color: #fff; }
.marketing-layout .m-hero-band :focus-visible { outline-color: var(--signal); }

/* Header on the blue (home page only). */
/* On the home page the header starts transparent over the blue, then turns white once the page scrolls
   (marketing.js adds .is-stuck). It's fixed there, since the hero runs up behind it. */
.has-hero .m-sky { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: rgba(255,255,255,.16); }
.has-hero .m-sky:not(.is-stuck) .m-brand, .marketing-layout.has-hero .m-sky:not(.is-stuck) .m-brand:hover { color: #fff; }
.has-hero .m-sky:not(.is-stuck) .m-brand-mark { border-radius: 8px; box-shadow: 0 0 0 1.5px rgba(255,255,255,.55); }
.has-hero .m-sky:not(.is-stuck) .m-nav a, .has-hero .m-sky:not(.is-stuck) .m-signin { color: #d3e1f3; }
.marketing-layout.has-hero .m-sky:not(.is-stuck) .m-nav a:hover, .marketing-layout.has-hero .m-sky:not(.is-stuck) .m-signin:hover { color: #fff; }
.has-hero .m-sky:not(.is-stuck) :focus-visible { outline-color: var(--signal); }
.has-hero .m-sky.is-stuck { background: #fff; border-bottom-color: var(--line); }
@media (max-width: 600px) { .m-sky-actions { gap: .5rem; } .m-sky-inner .m-btn--small { padding: .55rem .8rem; font-size: .9rem; } }

.m-facts {
    list-style: none;
    padding: 0;
    margin-top: clamp(3.5rem, 2.5rem + 4vw, 6rem);
    margin-bottom: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.m-facts li { padding: 1.3rem 1.25rem; color: var(--ink-2); font-size: .98rem; }
.m-hero .m-facts { border-color: rgba(255,255,255,.22); border-bottom: 0; }
.m-hero .m-facts li { color: #c9d9ee; }
.m-hero .m-facts li + li { border-left-color: rgba(255,255,255,.22); }
.m-hero .m-facts b { color: #fff; }
.m-facts li:first-child { padding-left: 0; }
.m-facts li + li { border-left: 1px solid var(--line); }
.m-facts b { display: block; font-family: var(--display); font-stretch: 106%; font-weight: 750; font-size: 1.25rem; color: var(--ink); letter-spacing: -.01em; }

/* ── Lines: the color code shared by the lead features and the index ──────── */

.m-line--dues    { --lc: var(--line-dues);    --lc-ink: #174a8c; --lc-tint: #e8f0fa; }
.m-line--members { --lc: var(--line-members); --lc-ink: #0d6b4c; --lc-tint: #e3f3ec; }
.m-line--events  { --lc: var(--line-events);  --lc-ink: #a8441a; --lc-tint: #fbece3; }
.m-line--office  { --lc: var(--line-office);  --lc-ink: #563a95; --lc-tint: #efeaf8; }

.m-index-row h3 { display: flex; align-items: baseline; gap: .6rem; line-height: 1.15; }
.m-index-row h3::before {
    content: '';
    flex: none;
    width: 18px; height: 10px;
    border-radius: 3px;
    background: var(--lc);
}


/* ── Sections ─────────────────────────────────────────────────────────────── */

.m-section { padding-block: clamp(4.5rem, 3rem + 5vw, 7.5rem); }
.m-footnote { margin-top: 1.5rem; font-size: .875rem; color: var(--ink-2); }

/* Inside Pilaster: one collage of real screens of the app (scripts/dev/capture-marketing-screens.py). */
.m-section--screens { padding-bottom: 0; }
.m-collage { margin: 0; }
.m-collage a { display: block; cursor: zoom-in; }
.m-collage img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 3; }
.m-collage figcaption { margin-top: 1rem; color: var(--ink-2); font-size: .98rem; }
.m-screen-hint { display: none; }
@media (max-width: 600px) { .m-screen-hint { display: inline; color: var(--blue); } }

/* Lead features: three columns, each opening on a rule, with a worked example. */
.m-lead { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto 1fr; column-gap: 3rem; }
.m-feature { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; border-top: 6px solid var(--lc, var(--ink)); padding-top: 1.25rem; }
.m-feature h3, .m-feature-title { font-family: var(--display); font-stretch: 106%; font-weight: 750; font-size: 1.6rem; line-height: 1.08; letter-spacing: -.015em; }
.m-feature > p { margin-top: .8rem; color: var(--ink-2); }
.m-example {
    margin-top: 1.75rem;
    align-self: start;
    background: var(--lc-tint, var(--ground));
    border: 1px solid color-mix(in srgb, var(--lc, #000) 18%, transparent);
    border-radius: 6px;
    padding: 1.1rem 1.2rem;
    font-size: .9rem;
    line-height: 1.35;
    font-variant-numeric: tabular-nums;
}
.m-example-head { font-weight: 700; padding-bottom: .6rem; margin-bottom: .65rem; border-bottom: 1px solid var(--line); }
.m-ledger, .m-portal { display: grid; gap: .5rem; margin: 0; grid-template-columns: none; }
.m-ledger div, .m-portal div { display: flex; justify-content: space-between; gap: 1rem; }
.m-ledger dt { font-weight: 500; color: var(--ink-2); }
.m-ledger dd, .m-portal dd { margin: 0; font-weight: 650; text-align: right; }
.m-ledger .is-next { margin-top: .3rem; padding-top: .6rem; border-top: 1px dashed #b9c1c9; }
.m-ledger .is-next dt, .m-ledger .is-next dd { color: var(--blue); font-weight: 700; }
.m-timeline { list-style: none; margin: 0; padding: 0 0 0 .9rem; }
.m-timeline li { position: relative; padding: 0 0 .65rem 1rem; font-weight: 600; }
.m-timeline li:last-child { padding-bottom: 0; }
.m-timeline li::before { content: ''; position: absolute; left: -.4rem; top: .38rem; width: 10px; height: 6px; border-radius: 2px; background: var(--ink); }
.m-timeline li::after { content: ''; position: absolute; left: -.07rem; top: .9rem; bottom: .05rem; width: 1.5px; background: var(--line); }
.m-timeline li:last-child::after { display: none; }
.m-timeline span { display: block; font-size: .72rem; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }
.m-timeline .is-due::before { background: var(--blue); }
.m-timeline .is-end::before { background: #a12c1f; }
.m-example--portal { padding: 0; overflow: hidden; }
.m-portal-url { background: color-mix(in srgb, var(--lc, #000) 12%, #fff); padding: .45rem 1.2rem; font-size: .76rem; color: var(--ink-2); }
.m-portal-url b { color: var(--ink); }
.m-example--portal .m-example-head { margin: .9rem 1.2rem .6rem; }
.m-portal { padding: 0 1.2rem 1rem; }
.m-portal dt { flex: none; width: 4.5rem; font-size: .7rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--lc-ink, var(--blue)); padding-top: .12rem; }
.m-portal dd { text-align: left; flex: 1; }

/* The rest of the directory: an index in the sign's order, one ruled row each. */
.m-index { margin-top: clamp(5rem, 4rem + 3vw, 7rem); border-top: 3px solid var(--ink); }
.m-index-row {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr);
    gap: .5rem 2.5rem;
    align-items: baseline;
    padding: 1.35rem 0;
    border-bottom: 1px solid var(--line);
}
.m-index-row h3 { font-family: var(--display); font-stretch: 106%; font-weight: 750; font-size: 1.3rem; letter-spacing: -.01em; }
.m-index-row p { color: var(--ink-2); font-size: .98rem; }
.m-index-row .m-index-example {
    justify-self: end;
    text-align: right;
    font-size: .88rem;
    font-weight: 650;
    color: var(--lc-ink, var(--blue));
    font-variant-numeric: tabular-nums;
}
.m-index-row:target { background: linear-gradient(90deg, var(--lc-tint), transparent 70%); }

/* ── Your website ─────────────────────────────────────────────────────────── */

.m-section--website { background: var(--ground); }
.m-website { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2.5rem, 2rem + 4vw, 6rem); align-items: start; }
.m-checks { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.1rem; max-width: 56ch; }
.m-checks li { position: relative; padding-left: 2.1rem; color: var(--ink-2); }
.m-checks li::before { /* a stone from the mark */
    content: '';
    position: absolute;
    left: 0; top: .42em;
    width: 1.15rem; height: .62rem;
    border-radius: 3px;
    background: var(--blue);
    box-shadow: .35rem .78rem 0 -.08rem rgba(30,90,168,.45);
}
.m-checks strong { color: var(--ink); font-weight: 650; }

.m-site { margin: 0; }

/* A slim browser window around the example, so it reads as a website. */
.m-browser { border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(17,20,24,.1), 0 30px 60px -30px rgba(17, 20, 24, .45); }
.m-browser-bar { display: flex; align-items: center; gap: 6px; padding: .55rem .8rem; background: #e9ecef; border-bottom: 1px solid #d7dce0; }
.m-browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #c3cad0; }
.m-browser-bar span { flex: 1; margin-left: .6rem; background: #fff; border-radius: 6px; padding: .2rem .7rem; font-size: .76rem; color: var(--ink-2); text-align: center; }
/* The page is laid out at a real desktop width (1100px) and scaled to fit, like a screenshot. JS sets --s. */
.m-browser-view { --s: .52; position: relative; height: calc(900px * var(--s)); overflow: hidden; }
.rb {
    position: absolute; top: 0; left: 0;
    width: 1100px; height: 900px;
    transform: scale(var(--s)); transform-origin: 0 0;
    background: #fff;
    font-family: 'Riverbend Sans', var(--read);
    color: var(--rb-ink);
    font-size: 16px;
    line-height: 1.5;
    --rb-blue: #319fce; --rb-blue-ink: #13628a; --rb-lime: #97c64f; --rb-teal: #4abbb8;
    --rb-magenta: #db2c7f; --rb-ink: #0e2a3b; --rb-ink-2: #4b5d68; --rb-line: #7d8a90;
    --rb-serif: 'Riverbend Serif', Georgia, serif;
}
.rb-head { display: flex; align-items: center; gap: 16px; height: 92px; padding: 0 40px; }
.rb-logo { display: flex; align-items: center; gap: 12px; }
.rb-logo svg { width: 46px; height: 46px; flex: none; }
.rb-logo-text { display: flex; flex-direction: column; line-height: 1; }
.rb-logo-text em { font-family: var(--rb-serif); font-style: normal; font-size: 27px; letter-spacing: -.01em; }
.rb-logo-text b { font-size: 9.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--rb-blue-ink); margin-top: 5px; }
.rb-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 500; }
.rb-nav > span { padding: 8px 10px; }
.rb-nav .rb-login { color: var(--rb-ink-2); }
.rb-pill { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.rb-pill--teal { background: var(--rb-teal); }
.rb-pill--magenta { background: var(--rb-magenta); color: #fff; margin-left: 4px; }
.rb-hero { position: relative; z-index: 2; padding: 26px 40px 0; }
.rb-h1 { font-family: var(--rb-serif); font-size: 104px; line-height: .9; letter-spacing: -.02em; }
.rb-h1 .t1 { color: var(--rb-magenta); }
.rb-h1 .t2 { color: var(--rb-blue); }
.rb-hero-row { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-top: 20px; }
.rb-sub { font-size: 18px; max-width: 44ch; color: var(--rb-ink-2); }
.rb-sub b { color: var(--rb-ink); font-weight: 600; }
.rb-cta { display: flex; gap: 10px; flex: none; }
.rb-btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 2px solid transparent; }
.rb-btn--blue { background: var(--rb-blue-ink); color: #fff; }
.rb-btn--ghost { border-color: var(--rb-ink); }
.rb-tickets { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 30px 40px -96px; }
.rb-ticket { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; color: #fff; box-shadow: 0 30px 50px -28px rgba(14,42,59,.55); }
.rb-ticket:nth-child(odd) { transform: translateY(20px); }
.rb-ticket img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; }
.rb-ticket span { display: grid; gap: 1px; padding: 12px 16px 14px; }
.rb-ticket b { font-family: var(--rb-serif); font-weight: 400; font-size: 23px; line-height: 1.05; }
.rb-ticket small { font-size: 13px; font-weight: 600; opacity: .92; }
.rb-ticket--magenta span { background: var(--rb-magenta); }
.rb-ticket--blue span { background: var(--rb-blue-ink); }
.rb-ticket--lime span { background: var(--rb-lime); color: var(--rb-ink); }
.rb-ticket--ink span { background: var(--rb-ink); }
.rb-next { background: var(--rb-teal); padding: 140px 40px 40px; height: 100%; }
.rb-next-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 20px; }
.rb-next-head p { font-family: var(--rb-serif); font-size: 50px; line-height: 1; }
.rb-next-head span { font-weight: 600; border-bottom: 3px solid var(--rb-lime); padding-bottom: 2px; }
.rb-events { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.rb-events li { background: #fff; border-radius: 18px; padding: 16px 18px; display: grid; gap: 6px; align-content: start; }
.rb-date { display: flex; align-items: baseline; gap: 8px; }
.rb-date b { font-family: var(--rb-serif); font-weight: 400; font-size: 40px; line-height: .85; color: var(--rb-blue-ink); }
.rb-date span { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.rb-events strong { font-weight: 600; font-size: 16px; line-height: 1.25; }
.rb-events small { font-size: 13px; color: var(--rb-ink-2); }
.rb-events em { justify-self: start; margin-top: 4px; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--blue); padding: 3px 8px; border-radius: 3px; }
.rb-events em.is-members { background: var(--rb-ink); }
.m-site figcaption { margin-top: .9rem; font-size: .84rem; color: var(--ink-2); }

/* ── Pricing: the painted board, and the wall the calculator lays ─────────── */

.m-section--pricing {
    background: var(--blue);
    color: #fff;
}
.m-pricing {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(2.5rem, 2rem + 4vw, 6rem);
    align-items: start;
}
.m-section--pricing .m-lede { color: #d6e2f1; }
.m-rates { margin-top: 2rem; border-collapse: collapse; width: min(100%, 380px); font-variant-numeric: tabular-nums; }
.m-rates th { text-align: left; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 650; color: #dbe6f3; padding: 0 0 .5rem; }
.m-rates th:last-child, .m-rates td:last-child { text-align: right; }
.m-rates td { padding: .7rem 0; border-top: 1px solid rgba(255,255,255,.22); font-size: 1.05rem; transition: color .25s var(--ease); }
.m-rates td:last-child { font-family: var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1; }
.m-rates tr.is-active td { color: #fff; }
.m-rates tr.is-dim td { color: #c9d9ee; }
.m-rates tr.is-dim td:last-child { font-weight: 500; }
.m-free { margin-top: 1.5rem; font-size: .95rem; color: #c3d4ea; max-width: 46ch; }

.m-calc {
    background: var(--blue-night);
    border-radius: 6px;
    padding: clamp(1.4rem, 1rem + 1.5vw, 2.25rem);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 30px 60px -30px rgba(5, 15, 35, .8);
}
.m-calc-input label { display: block; font-size: .8rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: #dbe6f3; }
#pricing .m-calc-number input {
    width: 100%;
    margin-top: .25rem;
    padding: 0;
    background: none;
    border: 0;
    border-bottom: 2px solid rgba(255,255,255,.35);
    border-radius: 0;
    color: #fff;
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(3rem, 2rem + 3vw, 4.25rem);
    line-height: 1.05;
    font-variant-numeric: tabular-nums;
    -moz-appearance: textfield;
    appearance: textfield;
}
.m-calc-number input::-webkit-inner-spin-button, .m-calc-number input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
#pricing .m-calc-number input:focus { outline: none; border-bottom-color: #fff; box-shadow: none; }
.marketing-layout .m-calc-number input:focus-visible { outline: none; }

#pricing input.m-calc-range { width: 100%; margin: 1.4rem 0 .3rem; appearance: none; -webkit-appearance: none; background: transparent; height: 28px; cursor: pointer; padding: 0; border: 0; }
.m-calc-range::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, #fff var(--fill, 19%), rgba(255,255,255,.2) var(--fill, 19%)); }
.m-calc-range::-moz-range-track { height: 6px; border-radius: 3px; background: rgba(255,255,255,.2); }
.m-calc-range::-moz-range-progress { height: 6px; border-radius: 3px; background: #fff; }
.m-calc-range::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 20px; margin-top: -7px; border-radius: 5px; background: #fff; border: 0; box-shadow: 0 3px 8px rgba(0,0,0,.35); }
.m-calc-range::-moz-range-thumb { width: 34px; height: 20px; border-radius: 5px; background: #fff; border: 0; box-shadow: 0 3px 8px rgba(0,0,0,.35); }
.marketing-layout .m-calc-range:focus-visible { outline: 3px solid var(--signal); outline-offset: 4px; }
.m-calc-ticks { position: relative; height: 1.1rem; margin-inline: 17px; font-size: .72rem; color: #9fb6d6; font-variant-numeric: tabular-nums; }
.m-calc-ticks span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.m-calc-ticks span:first-child { transform: none; }
.m-calc-ticks span:last-child { transform: translateX(-100%); }

.m-wall { margin-top: 1.6rem; }
.m-wall svg { display: block; width: 100%; height: auto; aspect-ratio: 500 / 108; }
.m-wall-key { margin-top: .5rem; font-size: .78rem; color: #9fb6d6; }
.m-wall .stone { transform-box: fill-box; transform-origin: 50% 100%; }
.m-wall .stone.is-new { animation: m-lay .5s var(--ease) both; }
@keyframes m-lay {
    from { opacity: 0; transform: translateY(-14px) scale(.96); }
    to   { opacity: 1; transform: none; }
}

.m-calc-out { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.18); font-variant-numeric: tabular-nums; }
.m-calc-total { font-family: var(--display); font-weight: 800; font-size: clamp(3rem, 2rem + 3.4vw, 4.6rem); line-height: 1; color: #fff; }
.m-calc-total small { font-family: var(--read); font-weight: 500; font-size: 1.05rem; color: #b6cbe6; letter-spacing: 0; }
.m-calc-sub { margin-top: .5rem; color: #c3d4ea; font-size: .98rem; }
.m-calc-lines { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: .35rem; font-size: .92rem; }
.m-calc-lines li { display: flex; justify-content: space-between; gap: 1rem; color: #d6e2f1; }
.m-calc-lines li b { font-weight: 650; color: #fff; }
.m-calc-min { margin-top: .8rem; font-size: .9rem; color: #fff; font-weight: 600; }


/* ── The door: book a demo ────────────────────────────────────────────────── */

.m-section--demo { background: var(--ink); color: #fff; position: relative; }
.m-demo { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 2rem + 4vw, 6rem); align-items: start; }
.m-section--demo .m-lede { color: #c9d4e3; }
.m-next { list-style: none; counter-reset: step; margin: 2.25rem 0 0; padding: 0; display: grid; gap: 1.1rem; max-width: 46ch; }
.m-next li { counter-increment: step; position: relative; padding-left: 2.6rem; color: #c9d4e3; }
.m-next li::before {
    content: counter(step);
    position: absolute;
    left: 0; top: -.05rem;
    width: 1.75rem; height: 1.75rem;
    display: grid; place-items: center;
    border: 1.5px solid rgba(255,255,255,.5);
    border-radius: 3px;
    font-family: var(--display); font-weight: 800; font-size: 1.05rem;
    color: #fff;
}
.m-next b { color: #fff; font-weight: 650; }
.m-demo-signin { margin-top: 2.25rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.15); font-size: .95rem; color: #a9b8cc; max-width: 44ch; }
.marketing-layout .m-demo-signin a { color: #fff; text-decoration: underline; }

.m-form {
    background: #fff;
    color: var(--ink);
    border-radius: 4px;
    padding: clamp(1.4rem, 1rem + 2vw, 2.5rem);
    display: grid;
    gap: 1.15rem;
    box-shadow: 0 30px 60px -30px rgba(0,0,0,.7);
}
.m-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.m-field { display: grid; gap: .4rem; align-content: start; }
.m-field--narrow { max-width: 12rem; }
.m-field label { font-weight: 650; font-size: .92rem; color: var(--ink); }
.m-field label span { font-weight: 450; color: var(--ink-2); margin-left: .3rem; }
#demo .m-form input, #demo .m-form textarea {
    width: 100%;
    font: inherit;
    font-size: 1rem;
    color: var(--ink);
    background: #fff;
    border: 1.5px solid #cdd2d6;
    border-radius: 3px;
    padding: .72rem .85rem;
    transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.m-form textarea { resize: vertical; min-height: 6rem; }
.m-form input::placeholder, .m-form textarea::placeholder { color: #6b7680; }
.m-form input:hover, .m-form textarea:hover { border-color: #9aa5ae; }
#demo .m-form input:focus, #demo .m-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30, 90, 168, .2); }
#demo .m-form [aria-invalid="true"] { border-color: #b3261e; }
.m-field-error { font-size: .875rem; color: #b3261e; font-weight: 550; }
.m-form-error { background: #fbe9e7; color: #8c1d16; padding: .75rem 1rem; border-radius: 3px; font-weight: 550; font-size: .95rem; }
.m-form .m-btn { margin-top: .4rem; }
.m-form .form-guard { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── Support ──────────────────────────────────────────────────────────────── */

.m-promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; margin: 0; }
.m-promises div { border-top: 3px solid var(--ink); padding-top: 1.1rem; }
.m-promises dt { color: var(--ink); font-family: var(--display); font-stretch: 106%; font-weight: 750; font-size: 1.45rem; line-height: 1.1; letter-spacing: -.01em; }
.m-promises dd { margin: .6rem 0 0; color: var(--ink-2); }


/* A quiet echo of the hero: a pale blue wash with the mark's bond, faint, along the right edge. */
.m-section--support {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(60% 90% at 100% 0%, rgba(30, 90, 168, .10), transparent 70%),
        linear-gradient(180deg, #f4f8fc 0%, #eaf1f9 100%);
}
.m-support-bond {
    position: absolute;
    z-index: -1;
    right: -6%;
    bottom: -18%;
    width: min(46vw, 640px);
    transform: rotate(-8deg);
    opacity: .06;
    -webkit-mask: linear-gradient(100deg, transparent 10%, #000 60%);
            mask: linear-gradient(100deg, transparent 10%, #000 60%);
    pointer-events: none;
}

/* ── Thanks and not-found ─────────────────────────────────────────────────── */

.m-section--plain { padding-block: clamp(4rem, 3rem + 5vw, 8rem); }
.m-plain { max-width: 46rem; border-top: 6px solid var(--ink); padding-top: 1.75rem; }
.m-plain .m-lede { margin-top: 1.25rem; }
.m-plain .m-actions { margin-top: 2rem; }
/* The 404, on the home hero's field (.m-hero-band) with no facts row: the band's own padding
   below is the facts row's job, so the 404 brings its own. Copy left, the mark's bond with a stone
   missing on the right, white on the blue as the mark's tile draws it. Below 900px the drawing
   goes above the heading. */
.m-404 .m-hero-band { min-height: min(100vh, 60rem); display: flex; align-items: center; padding-bottom: clamp(4rem, 3rem + 5vw, 8rem); }
.m-404-grid { display: grid; grid-template-columns: minmax(0, 46rem) minmax(0, 1fr); gap: 3rem; align-items: center; }
.m-404 .m-title { color: #fff; }
.m-404 .m-hero-lede { margin-top: 1.4rem; }
.m-404-art { --stone: #fff; max-width: 300px; justify-self: end; }
.m-btn--on-blue { color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.marketing-layout .m-btn--on-blue:hover { background: #fff; color: var(--ink); }
@media (max-width: 900px) {
    .m-404-grid { grid-template-columns: 1fr; gap: 2rem; }
    .m-404-art { order: -1; justify-self: start; max-width: 140px; }
}

/* ── Legal pages: one reading column under the page's ink rule ─────────────── */

.m-section--legal { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.m-legal { max-width: 46rem; border-top: 6px solid var(--ink); padding-top: 1.75rem; }
.m-legal .m-lede { margin-top: 1.25rem; }
.m-legal-meta { margin-top: .6rem; font-size: .9rem; color: var(--ink-2); }
.m-legal h2 {
    margin-top: 2.75rem;
    padding-top: 1rem;
    border-top: 3px solid var(--ink);
    font-family: var(--display);
    font-stretch: 106%;
    font-weight: 750;
    font-size: 1.4rem;
    letter-spacing: -.01em;
}
.m-legal p, .m-legal li { color: var(--ink-2); line-height: 1.65; }
.m-legal h2 + p, .m-legal h2 + ul { margin-top: .75rem; }
.m-legal p + p, .m-legal ul + p, .m-legal p + ul { margin-top: .9rem; }
.m-legal ul { padding-left: 1.25rem; }
.m-legal li + li { margin-top: .45rem; }
.m-legal strong { color: var(--ink); font-weight: 650; }
.m-legal > .m-legal-meta:last-child { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.m-legal-table { margin-top: 1rem; overflow-x: auto; }
.m-legal-table table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.m-legal-table th { text-align: left; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); padding: 0 1rem .5rem 0; border-bottom: 2px solid var(--ink); }
.m-legal-table td { padding: .7rem 1rem .7rem 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.m-legal-table td:first-child { color: var(--ink); font-weight: 650; white-space: nowrap; }
.m-form-note { font-size: .88rem; color: var(--ink-2); text-align: center; }

/* ── Footer ───────────────────────────────────────────────────────────────── */

.m-curb { background: var(--ink); color: #aab3bd; padding: 4rem 0 2rem; border-top: 1px solid rgba(255,255,255,.08); }
.m-curb-inner { width: min(1240px, 100% - 3rem); margin-inline: auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.m-curb-brand p { margin-top: 1rem; max-width: 30ch; font-size: .95rem; }
.m-curb-col { display: flex; flex-direction: column; gap: .55rem; font-size: .95rem; border-top: 3px solid #fff; padding-top: 1rem; }
.m-curb-col h2 { font-family: var(--display); font-stretch: 106%; font-weight: 750; font-size: 1.05rem; color: #fff; margin-bottom: .3rem; }
.marketing-layout .m-curb-col a { color: #e4e8ec; text-decoration: none; }
.marketing-layout .m-curb-col a:hover { color: #fff; text-decoration: underline; }
.m-curb-col span { color: #87919b; }
.m-curb-col p { max-width: 26ch; }
.m-curb-legal { width: min(1240px, 100% - 3rem); margin: 3.5rem auto 0; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: #87919b; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; }
.m-curb-legal nav { display: flex; gap: 1.5rem; }
.marketing-layout .m-curb-legal a { color: #b4bdc6; text-decoration: none; }
.marketing-layout .m-curb-legal a:hover { color: #fff; text-decoration: underline; }
.m-curb :focus-visible, .m-section--pricing :focus-visible, .m-section--demo .m-demo-copy :focus-visible { outline-color: var(--signal); }

/* ── Narrower screens ─────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
    .m-nav { display: none; }
    .m-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .m-facts li:nth-child(3) { padding-left: 0; border-left: 0; }
    .m-facts li:nth-child(n + 3) { border-top: 1px solid var(--line); }
    .m-hero .m-facts li:nth-child(n + 3) { border-top-color: rgba(255,255,255,.22); }
    .m-curb-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .m-index-row { grid-template-columns: 1fr; }
    .m-index-row .m-index-example { justify-self: start; text-align: left; }
    .m-head, .m-website, .m-pricing, .m-demo { grid-template-columns: 1fr; }
    .m-lead, .m-promises { grid-template-columns: 1fr; gap: 3rem; }
    .m-lead { grid-template-rows: none; row-gap: 3rem; }
    .m-feature { grid-row: auto; display: flex; flex-direction: column; }
    .m-example { margin-top: 1.25rem; align-self: stretch; }
}

@media (max-width: 600px) {
    .m-wrap, .m-sky-inner, .m-curb-inner, .m-curb-legal { width: calc(100% - 2.5rem); }
    .m-sky-inner { gap: 1rem; min-height: 64px; }
    .m-signin { display: none; }
    .m-display { font-stretch: 100%; }
    .m-actions .m-btn { flex: 1 1 100%; }
    .m-facts { grid-template-columns: 1fr; }
    .m-facts li, .m-facts li + li { padding-left: 0; border-left: 0; }
    .m-facts li + li { border-top: 1px solid var(--line); }
    .m-hero .m-facts li + li { border-top-color: rgba(255,255,255,.22); }
    .m-form-row { grid-template-columns: 1fr; }
    .m-curb-inner { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .m-hero .m-facts { grid-template-columns: 1fr 1fr; }
    .m-hero .m-facts li:nth-child(n) { padding: 1rem .9rem 1rem 0; border-top: 0; border-left: 0; font-size: .9rem; }
    .m-hero .m-facts li:nth-child(even) { padding-left: .9rem; border-left: 1px solid rgba(255,255,255,.22); }
    .m-hero .m-facts li:nth-child(n + 3) { border-top: 1px solid rgba(255,255,255,.22); }
    .m-hero .m-facts b { font-size: 1.1rem; }
}

/* ── Motion ───────────────────────────────────────────────────────────────────
   Small and varied. The hero settles in on load; further down, each section's top rule draws in from
   the left and its content rises a few pixels after it. Hidden states live only under html.m-anim
   (set by marketing.js, never with reduced motion), so nothing is hidden without the script. */
@media (prefers-reduced-motion: no-preference) {
    .m-hero-copy > * { animation: m-rise .9s var(--ease) both; }
    .m-hero-copy > :nth-child(2) { animation-delay: .12s; }
    .m-hero-copy > :nth-child(3) { animation-delay: .22s; }
    .m-hero-copy > :nth-child(4) { animation-delay: .34s; }
    .m-hero-copy > .m-facts { animation-name: m-fade; }
}
@keyframes m-rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes m-fade { from { opacity: 0; } }

.m-anim .m-rv { opacity: 0; transform: translateY(12px); transition: opacity .7s var(--ease) var(--d, 0ms), transform .7s var(--ease) var(--d, 0ms); }
.m-anim .m-rv.is-in { opacity: 1; transform: none; }

/* Section and feature rules draw in from the left, a beat before the content. */
.m-anim .m-head.m-rv, .m-anim .m-feature.m-rv, .m-anim .m-website-copy.m-rv, .m-anim .m-pricing-copy.m-rv, .m-anim .m-demo-copy.m-rv, .m-anim .m-promises > div.m-rv {
    border-top-color: transparent;
    background-image: linear-gradient(var(--rule, var(--ink)), var(--rule, var(--ink)));
    background-repeat: no-repeat;
    background-size: 0% var(--rule-w, 6px);
    background-position: 0 0;
    background-origin: border-box;
    transition: opacity .7s var(--ease) calc(var(--d, 0ms) + 120ms), transform .7s var(--ease) calc(var(--d, 0ms) + 120ms), background-size .9s var(--ease) var(--d, 0ms);
}
.m-anim .m-head.m-rv.is-in, .m-anim .m-feature.m-rv.is-in, .m-anim .m-website-copy.m-rv.is-in, .m-anim .m-pricing-copy.m-rv.is-in, .m-anim .m-demo-copy.m-rv.is-in, .m-anim .m-promises > div.m-rv.is-in { background-size: 100% var(--rule-w, 6px); }
.m-anim .m-feature.m-rv { --rule: var(--lc, var(--ink)); }
.m-anim .m-pricing-copy.m-rv, .m-anim .m-demo-copy.m-rv { --rule: #fff; }
.m-anim .m-promises > div.m-rv { --rule-w: 3px; }

@media (prefers-reduced-motion: reduce) {
    .m-hero-copy > * { animation: none; }
    .m-hero-bond { animation: none; }
    .m-wall .stone.is-new { animation: none; }
    .m-btn, .m-arrow { transition: none; }
}

/* ── Guides (/guides, Framework\Marketing\MarketingController::GUIDES) ──
   A guide is a .m-legal document with a little more: sub-headings, numbered steps and notes. Its
   headings get their ids from App\Help\GuideDoc, and the help panel shows the same markup. */
.m-guide h3 { margin-top: 1.75rem; font-family: var(--display); font-stretch: 106%; font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.m-guide h3 + p, .m-guide h3 + ul, .m-guide h3 + ol { margin-top: .6rem; }
.m-guide ol { padding-left: 1.4rem; }
.m-guide ol li + li { margin-top: .45rem; }
.m-guide p + ol, .m-guide ol + p, .m-guide h2 + ol { margin-top: .9rem; }
.m-guide .m-note { margin-top: 1.1rem; padding: .85rem 1rem; border-left: 4px solid var(--blue); background: var(--ground); color: var(--ink-2); }
.m-guide h2:target, .m-guide h3:target { scroll-margin-top: 6rem; }
.m-guide-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 0; }
.m-guide-list li { border-top: 1px solid var(--line); }
.m-guide-list li:last-child { border-bottom: 1px solid var(--line); }
.m-guide-list a { display: block; padding: 1.1rem 0; text-decoration: none; color: var(--ink); }
.m-guide-list a:hover strong { color: var(--blue); }
.m-guide-list strong { display: block; font-family: var(--display); font-stretch: 106%; font-weight: 750; font-size: 1.15rem; }
.m-guide-list span { display: block; margin-top: .25rem; color: var(--ink-2); }

/* The close of every guide: Book a demo, for readers who arrived from a search. */
.m-section--legal:has(+ .m-section--guide-demo) { padding-bottom: 2.5rem; }
.m-section--guide-demo { padding-block: 0 clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.m-guide-demo { max-width: 46rem; padding: 1.5rem 1.6rem; border-left: 6px solid var(--blue); background: var(--ground); }
.m-guide-demo h2 { margin: 0; font-family: var(--display); font-stretch: 106%; font-weight: 700; font-size: 1.25rem; color: var(--ink); }
.m-guide-demo p { margin: .6rem 0 0; color: var(--ink-2); }
.m-guide-demo-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.1rem; }

/* ── Pages (MarketingController::PAGES): pricing, the features, switching ──────
   Built from the home page's parts. A feature page opens on its head in its line's color, a facts row,
   then the lead features; the detail is index rows; the guides close it before the demo form. */
.m-section--top { padding-top: clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.m-section--flush { padding-top: 0; }
.m-head[class*="m-line--"] { border-top-color: var(--lc); }
.m-anim .m-head.m-rv[class*="m-line--"] { --rule: var(--lc); }
.m-head + .m-facts { margin-top: 0; margin-bottom: clamp(3.5rem, 2.5rem + 3vw, 5rem); }
.m-head + .m-index { margin-top: 0; }
.m-head + .m-promises { margin-top: 0; }

/* Ruled arrow links to each part's own page: under the home page's lead features, and in the pricing copy. */
.m-more { display: flex; flex-wrap: wrap; gap: .75rem 2.25rem; margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); padding-top: 1.1rem; border-top: 1px solid var(--line); }
.m-more .m-link { color: var(--lc-ink, var(--ink)); }
.m-more .m-link:hover { color: var(--ink); }
.m-pricing-copy .m-link { margin-top: 1.5rem; color: #fff; }

/* Prices at common sizes: a ledger under the ink rule. */
.m-sizes { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.m-sizes th { text-align: right; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 650; color: var(--ink-2); padding: 0 0 .6rem 1rem; border-bottom: 3px solid var(--ink); }
.m-sizes td { text-align: right; padding: .9rem 0 .9rem 1rem; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.m-sizes th:first-child, .m-sizes td:first-child { text-align: left; padding-left: 0; }
.m-sizes td:first-child { color: var(--ink); font-weight: 650; }
.m-sizes td.is-year { font-family: var(--display); font-weight: 800; font-size: 1.35rem; color: var(--ink); }

/* Questions answered in pairs of columns, each under a 3px rule (the support promises, two across). */
.m-promises--two { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
.m-promises--two dt { font-size: 1.2rem; }

/* The guides behind a page, two columns of the guides index's rows. */
.m-guide-list--cols { margin: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; }
.m-guide-list--cols li:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--line); }

/* Worked examples that only these pages use. */
.m-tickets { width: 100%; border-collapse: collapse; }
.m-tickets th { text-align: right; font-size: .7rem; letter-spacing: .07em; text-transform: uppercase; font-weight: 700; color: var(--lc-ink); padding-bottom: .35rem; }
.m-tickets th:first-child, .m-tickets td:first-child { text-align: left; }
.m-tickets td { text-align: right; padding: .35rem 0; border-top: 1px solid var(--line); font-weight: 650; }
.m-tickets td:first-child { font-weight: 500; color: var(--ink-2); }
.m-door { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.m-door li { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line); }
.m-door li:last-child { border-bottom: 0; padding-bottom: 0; }
.m-door small { display: block; color: var(--ink-2); font-size: .8rem; }
.m-door em { flex: none; align-self: center; font-style: normal; font-size: .7rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--lc-ink); }
.m-door em.is-done { color: var(--ink-2); }

@media (max-width: 900px) {
    .m-promises--two, .m-guide-list--cols { grid-template-columns: 1fr; }
    .m-guide-list--cols li:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
}
@media (max-width: 600px) {
    .m-sizes th:nth-child(4), .m-sizes td:nth-child(4) { display: none; }
}
.m-website-more { margin-top: 2rem; }
