/* ==========================================================================
   MenuXS — visual system brand layer
   Consolidated from the "MenuXS Landing" design (Aug 2026).
   Load AFTER main.css. Plain CSS: no build step, no Tailwind processing.
   Tailwind utilities for these tokens: see the @theme block in AGENTS.md.
   ========================================================================== */

:root {
    /* --- Core surfaces --- */
    --mx-ink: #17130F;          /* near-black brown: dark sections, body text */
    --mx-cream: #FBF6EE;        /* page background */
    --mx-paper: #FFFFFF;        /* cards on cream */
    --mx-sand: #F4EDE2;         /* table headers, image wells, quiet panels */

    /* --- Accents: exactly two. Do not add a third. --- */
    --mx-terracotta: #D8452B;   /* primary action, links, eyebrows */
    --mx-terracotta-dark: #B33620; /* hover on terracotta */
    --mx-terracotta-deep: #9B2A12; /* the one figure that must shout, on ochre */
    --mx-ochre: #E9A23B;        /* results, badges, summary labels; accent on ink */

    /* --- Text on light --- */
    --mx-text: #17130F;
    --mx-text-body: #4A4038;    /* paragraphs */
    --mx-text-strong: #3A322A;  /* dense lists */
    --mx-text-muted: #6B6055;   /* captions, footnotes */

    /* --- Text on ink --- */
    --mx-on-dark: #F6EFE5;
    --mx-on-dark-body: #B6ABA0;
    --mx-on-dark-list: #D8CFC5;

    /* --- Hairlines --- */
    --mx-line: rgba(23, 19, 15, 0.14);
    --mx-line-soft: rgba(23, 19, 15, 0.09);
    --mx-line-on-dark: rgba(255, 255, 255, 0.12);
    --mx-fill-on-dark: rgba(255, 255, 255, 0.05);

    /* --- Type --- */
    --mx-font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
    --mx-font-ui: 'Instrument Sans', system-ui, -apple-system, sans-serif;

    /* --- Geometry --- */
    --mx-radius-card: 18px;
    --mx-radius-media: 20px;
    --mx-radius-inner: 12px;
    --mx-pill: 999px;
    --mx-shell: 1180px;         /* content max-width */
    --mx-gutter: 28px;
    --mx-section-y: 88px;       /* vertical rhythm of a full section */
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

.mx {
    background: var(--mx-cream);
    color: var(--mx-text);
    font-family: var(--mx-font-ui);
    -webkit-font-smoothing: antialiased;
}

.mx a:where(:not([class*="mx-btn"]):not([class*="btn-primary"])) { color: var(--mx-terracotta); text-decoration: none; }
.mx a:where(:not([class*="mx-btn"]):not([class*="btn-primary"])):hover { color: var(--mx-terracotta-dark); }
.mx a:is([class*="mx-btn"], [class*="btn-primary"]) { text-decoration: none; }

.mx-shell {
    max-width: var(--mx-shell);
    margin: 0 auto;
    padding-left: var(--mx-gutter);
    padding-right: var(--mx-gutter);
}

.mx-section { padding-top: var(--mx-section-y); padding-bottom: var(--mx-section-y); }

/* Dark section. Text colours flip automatically for children. */
.mx-section--ink { background: var(--mx-ink); color: var(--mx-on-dark); }
.mx-section--ink .mx-body { color: var(--mx-on-dark-body); }
.mx-section--ink .mx-eyebrow { color: var(--mx-ochre); }
/* Contextual overrides MUST NOT outrank component modifiers: exclude modified
   elements, or .mx-card--ochre / --ink lose their background inside ink sections. */
.mx-section--ink .mx-card:not([class*="mx-card--"]) { background: var(--mx-fill-on-dark); border-color: var(--mx-line-on-dark); }

.mx-section--paper {
    background: var(--mx-paper);
    border-top: 1px solid rgba(23, 19, 15, 0.1);
    border-bottom: 1px solid rgba(23, 19, 15, 0.1);
}

/* --------------------------------------------------------------------------
   Type scale — display is ALWAYS the serif, UI text is ALWAYS the sans.
   Never set the serif below 23px; never use it for body copy or buttons.
   -------------------------------------------------------------------------- */

.mx-display {                       /* h1, hero only */
    font-family: var(--mx-font-display);
    font-weight: 400;
    font-size: clamp(40px, 5.6vw, 76px);
    line-height: 1.02;
    letter-spacing: -0.02em;
    margin: 0;
    text-wrap: pretty;
}

.mx-display em {                    /* the promise, in terracotta italic */
    font-style: italic;
    color: var(--mx-terracotta);
}

.mx-h2 {                            /* assertive section heading */
    font-family: var(--mx-font-ui);
    font-weight: 700;
    font-size: clamp(38px, 4.5vw, 60px);
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin: 0;
    text-wrap: pretty;
}

.mx-h3 {                            /* sans, bold — subject headings inside a section */
    font-family: var(--mx-font-ui);
    font-weight: 700;
    font-size: 32px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0;
}

.mx-h4 { font-weight: 700; font-size: 23px; line-height: 1.25; margin: 0; }

.mx-eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mx-terracotta);
    margin: 0;
}

.mx-lede { font-size: 20px; line-height: 1.55; color: var(--mx-text-body); text-wrap: pretty; }
.mx-body { font-size: 17.5px; line-height: 1.6; color: var(--mx-text-body); }
.mx-small { font-size: 15px; line-height: 1.5; color: var(--mx-text-muted); }
.mx-note { font-size: 13.5px; color: var(--mx-text-muted); }

/* Big numbers (prices, calculator output) are serif, never sans. */
.mx-figure {
    font-family: var(--mx-font-display);
    font-size: 50px;
    line-height: 1;
    letter-spacing: -0.02em;
}
.mx-figure__unit { font-family: var(--mx-font-ui); font-size: 16px; color: var(--mx-text-muted); }
.mx-figure--xl { font-size: 68px; }

/* --------------------------------------------------------------------------
   Buttons — pills only. One terracotta CTA per viewport.
   -------------------------------------------------------------------------- */

.mx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--mx-font-ui);
    font-size: 16.5px;
    font-weight: 600;
    padding: 16px 28px;
    border-radius: var(--mx-pill);
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 0.16s, border-color 0.16s, color 0.16s;
}

.mx-btn--primary,
a.mx-btn--primary { background: var(--mx-terracotta); color: #fff; }
.mx-btn--primary:hover,
a.mx-btn--primary:hover { background: var(--mx-terracotta-dark); color: #fff; }

.mx-btn--ink,
a.mx-btn--ink { background: var(--mx-ink); color: var(--mx-cream); }
.mx-btn--ink:hover,
a.mx-btn--ink:hover { background: var(--mx-terracotta); color: #fff; }

.mx-btn--ghost,
a.mx-btn--ghost { background: var(--mx-paper); color: var(--mx-ink); border-color: rgba(23, 19, 15, 0.22); }
.mx-btn--ghost:hover,
a.mx-btn--ghost:hover { border-color: var(--mx-ink); color: var(--mx-ink); }

.mx-btn--sm { font-size: 14.5px; padding: 10px 18px; }

/* Form field. Tailwind preflight resets controls to a transparent background,
   so a field on a coloured section is invisible unless the class sets one. */
.mx-input {
    background: var(--mx-paper);
    color: var(--mx-ink);
    font-family: var(--mx-font-ui);
    font-size: 16px;
    line-height: 1.4;
    padding: 16px 20px;
    border: 1px solid transparent;
    border-radius: var(--mx-pill);
    appearance: none;
}
.mx-input::placeholder { color: var(--mx-text-muted); }
.mx-input:focus-visible { outline: 2px solid var(--mx-ink); outline-offset: 2px; }

/* --------------------------------------------------------------------------
   Cards, panels, media
   -------------------------------------------------------------------------- */

.mx-card {
    background: var(--mx-paper);
    border: 1px solid var(--mx-line);
    border-radius: var(--mx-radius-card);
    padding: 30px;
}

.mx-card--ink {
    background: var(--mx-ink);
    color: var(--mx-on-dark);
    border-color: transparent;
    box-shadow: 0 24px 50px -24px rgba(23, 19, 15, 0.5);
}

.mx-card--ochre { background: var(--mx-ochre); color: var(--mx-ink); border-color: transparent; }

.mx-badge {                          /* "the plan that matters" tag on a card */
    position: absolute;
    top: -12px;
    left: 30px;
    background: var(--mx-ochre);
    color: var(--mx-ink);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: var(--mx-pill);
}

.mx-pill-status {                    /* pre-launch / status chip */
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--mx-paper);
    border: 1px solid rgba(23, 19, 15, 0.16);
    padding: 7px 14px 7px 10px;
    border-radius: var(--mx-pill);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--mx-text-strong);
}
.mx-pill-status::before {
    content: "";
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--mx-terracotta);
}

/* Image well: never show a raw screenshot edge — inset it in sand. */
.mx-media {
    background: var(--mx-sand);
    border: 1px solid rgba(23, 19, 15, 0.12);
    border-radius: var(--mx-radius-media);
    padding: 16px;
}
.mx-media > * { border-radius: var(--mx-radius-inner); display: block; width: 100%; }

.mx-guarantees {                     /* the four reassurance cells under pricing */
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 24px 28px;
    background: var(--mx-sand);
    border-radius: 16px;
    font-size: 15px;
}

/* Summary / key-message panel: the sand image-well surface paired with the
   ochre result-card accent from the original MenuXS prototype. */
.mx-summary {
    padding: 24px;
    background: var(--mx-sand);
    border: 1px solid var(--mx-line);
    border-radius: var(--mx-radius-card);
    color: var(--mx-text-strong);
}
.mx-summary__label {
    display: inline-flex;
    margin: 0 0 14px;
    padding: 6px 11px;
    background: var(--mx-ochre);
    border-radius: var(--mx-pill);
    color: var(--mx-ink);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.mx-summary > :last-child { margin-bottom: 0; }

/* Compact proof/value strip from the original MenuXS prototype. */
.mx-value-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    padding: 26px 0;
}
.mx-value-strip__item { color: var(--mx-ink); font-size: 15px; font-weight: 700; line-height: 1.35; }
.mx-value-strip__item small { display: block; margin-top: 5px; color: var(--mx-text-muted); font-size: 13.5px; font-weight: 400; line-height: 1.45; }

/* --------------------------------------------------------------------------
   Check list — the house bullet. Terracotta check, bold lead-in, then plain.
   -------------------------------------------------------------------------- */

.mx-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.mx-list > li { display: flex; gap: 12px; font-size: 16px; line-height: 1.5; }
.mx-list > li::before { content: "\2713"; color: var(--mx-terracotta); font-weight: 700; }
.mx-section--ink .mx-list > li::before { color: var(--mx-ochre); }

/* --------------------------------------------------------------------------
   Comparison grid — rows are CSS grid, not <table>.
   Last row is always MenuXS, on ink.
   -------------------------------------------------------------------------- */

.mx-compare {
    border: 1px solid var(--mx-line);
    border-radius: var(--mx-radius-card);
    overflow: hidden;
    background: var(--mx-paper);
}
.mx-compare__row { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.mx-compare__row > * { padding: 20px 22px; font-size: 15.5px; color: var(--mx-text-body); }
.mx-compare__row > *:first-child { font-weight: 600; color: var(--mx-text); }
.mx-compare__row:not(:last-child) { border-bottom: 1px solid var(--mx-line-soft); }
.mx-compare__category {
    grid-column: 1 / -1;
    background: rgba(233, 162, 59, 0.18);
    border-left: 4px solid var(--mx-terracotta);
    color: var(--mx-ink) !important;
    font-size: 16px !important;
    line-height: 1.3;
    letter-spacing: 0.035em;
    text-transform: uppercase;
    font-weight: 800 !important;
    padding: 17px 22px 17px 18px !important;
}
.mx-compare__head {
    background: var(--mx-sand);
    border-bottom: 1px solid rgba(23, 19, 15, 0.12);
}
.mx-compare__head > * {
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--mx-text-muted);
    padding: 16px 22px;
}
.mx-compare__row--ours { background: var(--mx-ink); }
.mx-compare__row--ours > * { color: var(--mx-on-dark-list); padding: 22px; }
.mx-compare__row--ours > *:first-child { color: var(--mx-on-dark); font-weight: 700; }
.mx-compare__win { color: var(--mx-ochre); font-weight: 600; }
.mx-compare__lose { color: var(--mx-terracotta-dark); font-weight: 600; }

/* --------------------------------------------------------------------------
   Accordion (FAQ + collapsed detail tables)
   -------------------------------------------------------------------------- */

.mx-faq { border-top: 1px solid rgba(23, 19, 15, 0.12); }
.mx-faq > details { border-bottom: 1px solid rgba(23, 19, 15, 0.12); }
.mx-faq summary {
    cursor: pointer;
    list-style: none;
    padding: 22px 0;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    gap: 14px;
}
.mx-faq summary::-webkit-details-marker { display: none; }
.mx-faq summary::before {
    content: "+";
    color: var(--mx-terracotta);
    font-weight: 700;
    transition: transform 0.18s;
}
.mx-faq details[open] summary::before { transform: rotate(45deg); }
.mx-faq > details > :not(summary) {
    margin: 0 0 24px 32px;
    font-size: 16.5px;
    line-height: 1.65;
    color: var(--mx-text-body);
}

/* --------------------------------------------------------------------------
   Steps (numbered onboarding rows, on ink)
   -------------------------------------------------------------------------- */

.mx-steps { display: grid; gap: 14px; }
.mx-step {
    display: flex;
    gap: 20px;
    background: var(--mx-fill-on-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 22px 24px;
}
.mx-step__n { font-family: var(--mx-font-display); font-size: 30px; line-height: 1; color: var(--mx-ochre); }
.mx-step strong { font-size: 17.5px; }
.mx-step p { margin: 6px 0 0; font-size: 15.5px; line-height: 1.5; color: var(--mx-on-dark-body); }

/* --------------------------------------------------------------------------
   Two-up feature row: copy | media, alternating sides.
   -------------------------------------------------------------------------- */

.mx-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.mx-split + .mx-split { margin-top: 80px; }

/* --------------------------------------------------------------------------
   Responsive: collapse everything to one column. Nothing else changes.
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
    :root { --mx-gutter: 20px; --mx-section-y: 60px; }
    .mx-split,
    .mx-guarantees { grid-template-columns: 1fr; gap: 32px; }
    .mx-value-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mx-compare__row { grid-template-columns: 1fr; }
    .mx-compare__head { display: none; }
    .mx-compare__row > * { padding: 10px 20px; }
    .mx-compare__row > *:first-child { padding-top: 20px; }
    .mx-compare__row > *:last-child { padding-bottom: 20px; }
    .mx-compare__row > [data-plan] { display: flex; justify-content: space-between; gap: 20px; }
    .mx-compare__row > [data-plan]::before {
        content: attr(data-plan);
        color: var(--mx-text-muted);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }
    .mx-compare__category { padding: 15px 20px 15px 16px !important; }
    .mx-h3 { font-size: 26px; }
}

/* Marketing master preview: narrative homepage + complete feature catalogue. */
.mx-master-preview { margin: 0; background: var(--mx-cream); color: var(--mx-ink); font-family: var(--mx-font-ui); }
.mx-visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.mx-preview-note { background: var(--mx-ink); color: var(--mx-on-dark-body); font-size: 12px; padding: 7px 0; text-align: center; }
.mx-master-nav { position: sticky; top: 0; z-index: 20; background: rgba(251,246,238,.96); border-bottom: 1px solid var(--mx-line); backdrop-filter: blur(10px); }
.mx-master-nav__inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.mx-master-nav img, .mx-master-footer img { display: block; width: auto; height: 34px; object-fit: contain; }
.mx-master-nav__links { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 600; }
.mx-master-nav__actions { display: flex; align-items: center; gap: 16px; }
.mx-master-login { font-size: 15px; font-weight: 700; }
.mx-master-preview a:where(:not([class*="mx-btn"])) { color: inherit; text-decoration: none; }
.mx-master-nav__links a:hover, .mx-master-footer a:hover, .mx-text-link:hover { color: var(--mx-terracotta); }
.mx-master-hero { padding-top: 52px; text-align: center; }
.mx-master-hero > .mx-shell > .mx-eyebrow { margin-bottom: 30px; }
.mx-master-title { width: 100%; max-width: 1180px; margin-inline: auto; font-size: clamp(70px, 9.2vw, 132px); line-height: .92; text-align: center; }
.mx-rotating-title { display: grid; justify-items: center; }
.mx-rotating-title > span,
.mx-rotating-title > em { display: block; }
.mx-rotating-title > em { min-height: 1.05em; }
.mx-rotating-title [data-rotating-target] { display: block; white-space: nowrap; }
.mx-rotating-title [data-rotating-target].is-typing::after { content: ""; display: inline-block; width: 2px; height: .78em; margin-left: 7px; background: currentColor; vertical-align: -.02em; animation: mx-caret-blink .72s step-end infinite; }
@keyframes mx-caret-blink { 50% { opacity: 0; } }
.mx-master-hero .mx-lede { max-width: 760px; margin: 26px auto 0; }
.mx-master-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; justify-content: center; }
.mx-master-trust { display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: center; margin-top: 24px; color: var(--mx-text-muted); font-size: 14px; }
.mx-image-placeholder { min-height: 360px; border: 1px dashed rgba(23,19,15,.28); border-radius: var(--mx-radius-media); background: var(--mx-sand); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; padding: 32px; text-align: center; color: var(--mx-text-muted); }
.mx-image-placeholder strong { color: var(--mx-ink); font-size: 18px; }
.mx-image-placeholder--hero { min-height: 540px; margin-top: 56px; background: linear-gradient(135deg, var(--mx-sand) 0 50%, #eee2d2 50%); }
.mx-marketing-visual { margin: 0; overflow: hidden; border: 1px solid var(--mx-line); border-radius: var(--mx-radius-media); background: #fff; }
.mx-marketing-visual img { display: block; width: 100%; height: auto; }
.mx-marketing-visual--hero { margin-top: 56px; }
.mx-master-problem { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: end; }
.mx-master-problem__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--mx-line-on-dark); }
.mx-master-problem__grid article { background: var(--mx-ink); padding: 26px; }
.mx-master-problem__grid p { color: var(--mx-on-dark-body); line-height: 1.5; }
.mx-promise-list { margin-top: 64px; }
.mx-promise-list .mx-split:nth-child(even) > :first-child { order: 2; }
.mx-promise-list .mx-h3 { margin-bottom: 18px; }
.mx-promise-list .mx-list { margin-top: 24px; }
.mx-text-link { display: inline-block; margin-top: 24px; color: var(--mx-terracotta) !important; font-weight: 700; }
.mx-master-pricing { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin: 48px 0 22px; align-items: stretch; }
.mx-master-pricing .mx-card { display: flex; flex-direction: column; gap: 22px; }
.mx-master-pricing .mx-card > .mx-btn { margin-top: auto; }
.mx-master-pricing .mx-figure { margin: 0; }
.mx-master-pricing .mx-card--ink .mx-figure__unit { color: var(--mx-on-dark-body); }
.mx-master-pricing .mx-card--ink > .mx-body { color: var(--mx-ochre); -webkit-text-fill-color: var(--mx-ochre); }
.mx-master-preview a.mx-btn--primary { color: #fff; -webkit-text-fill-color: #fff; }
.mx-master-preview a.mx-btn--primary:hover { color: #fff; -webkit-text-fill-color: #fff; }
.mx-list--large { gap: 20px; }
.mx-list--large > li { font-size: 20px; }
.mx-master-cta { max-width: 880px; text-align: center; }
.mx-master-cta .mx-lede { color: var(--mx-on-dark-body); margin: 22px auto 0; }
.mx-master-cta-section { background: var(--mx-terracotta); color: var(--mx-cream); }
.mx-master-cta-section .mx-eyebrow { color: var(--mx-cream); }
.mx-master-cta-section .mx-h2 { color: #fff; }
.mx-master-cta-section .mx-master-cta .mx-lede { color: rgba(255,255,255,.86); }
.mx-master-cta-section a.mx-btn--ink { background: var(--mx-ink); color: var(--mx-cream); -webkit-text-fill-color: var(--mx-cream); }
.mx-master-cta-section a.mx-btn--ink:hover { background: #2b241e; color: #fff; -webkit-text-fill-color: #fff; }
.mx-master-cta-section a.mx-btn--ghost { background: transparent; border-color: rgba(255,255,255,.72); color: #fff; -webkit-text-fill-color: #fff; }
.mx-master-cta-section a.mx-btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; -webkit-text-fill-color: #fff; }
.mx-demo-lede { max-width: 760px; }
.mx-demo-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-top: 46px; }
.mx-demo-card { display: block; overflow: hidden; background: var(--mx-paper); border: 1px solid var(--mx-line); border-radius: var(--mx-radius-card); transition: border-color .18s, transform .18s; }
.mx-demo-card:hover { border-color: var(--mx-terracotta); transform: translateY(-3px); }
.mx-demo-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mx-demo-card > span { display: grid; gap: 5px; padding: 20px; }
.mx-demo-card strong { font-size: 20px; }
.mx-demo-card small { color: var(--mx-text-muted); font-size: 14px; }
.mx-master-footer { padding: 54px 0; background: var(--mx-ink); color: var(--mx-on-dark-body); }
.mx-master-footer .mx-shell { display: grid; grid-template-columns: 1fr auto; gap: 28px 60px; align-items: start; }
.mx-master-footer p { margin: 14px 0 0; }
.mx-master-footer div > div { display: flex; flex-wrap: wrap; gap: 16px 28px; }
.mx-master-footer small { grid-column: 1 / -1; padding-top: 26px; border-top: 1px solid var(--mx-line-on-dark); }
.mx-catalog-hero { padding-top: 90px; text-align: center; }
.mx-catalog-hero .mx-lede { max-width: 760px; margin-inline: auto; }
.mx-catalog-index { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; }
.mx-catalog-index a { border: 1px solid var(--mx-line); border-radius: 999px; padding: 10px 16px; font-size: 14px; font-weight: 600; }
.mx-catalog-index a:hover { border-color: var(--mx-terracotta); color: var(--mx-terracotta); }
.mx-feature-highlights { padding-top: 18px; }
.mx-feature-highlights__intro { max-width: 660px; margin: 0 auto 54px; text-align: center; }
.mx-feature-highlights__intro .mx-h2 { margin-bottom: 14px; }
.mx-feature-highlights__intro p { margin: 0; color: var(--mx-text-body); font-size: 17px; line-height: 1.65; }
.mx-feature-highlights__intro .mx-eyebrow { margin-bottom: 12px; color: var(--mx-terracotta); font-size: 12px; }
.mx-feature-highlights__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--mx-line);
  border-left: 1px solid var(--mx-line);
}
.mx-feature-highlight {
  min-height: 225px;
  padding: 36px 32px 32px;
  border-right: 1px solid var(--mx-line);
  border-bottom: 1px solid var(--mx-line);
  text-align: center;
}
.mx-feature-highlight__icon {
  display: inline-grid;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  place-items: center;
  color: var(--mx-terracotta);
}
.mx-feature-highlight__icon svg { width: 44px; height: 44px; stroke-width: 1.45; }
.mx-feature-highlight h3 { margin: 0 0 10px; font-size: 20px; line-height: 1.25; }
.mx-feature-highlight p { max-width: 290px; margin: 0 auto; color: var(--mx-text-muted); font-size: 14px; line-height: 1.55; }
.mx-catalog-grid { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 46px; align-items: start; }
.mx-catalog-grid .mx-card {
  overflow: hidden;
  box-shadow: 0 16px 42px rgba(23,19,15,.055);
}
.mx-catalog-grid .mx-card--visual {
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr);
  grid-template-rows: auto 1fr auto;
  column-gap: 44px;
  align-items: start;
  background: var(--mx-cream);
}
.mx-catalog-grid .mx-card::before { content: "Visual da produrre"; min-height: 190px; margin: -32px -32px 28px; display: grid; place-items: center; border-bottom: 1px dashed rgba(23,19,15,.22); background: linear-gradient(135deg, var(--mx-sand) 0 50%, #eee2d2 50%); color: var(--mx-text-muted); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.mx-catalog-grid .mx-card:nth-child(3n+2)::before { background: linear-gradient(145deg, #f2e3cd 0 54%, #e9d4b6 54%); }
.mx-catalog-grid .mx-card:nth-child(3n)::before { background: linear-gradient(35deg, #f7ead9 0 47%, #ead9c4 47%); }
.mx-catalog-grid .mx-card--visual::before { display: none; }
.mx-catalog-grid .mx-card__visual {
  display: block;
  grid-column: 1;
  grid-row: 1 / -1;
  align-self: stretch;
  width: calc(100% + 32px);
  height: calc(100% + 64px);
  min-height: 340px;
  max-width: none;
  margin: -32px 0 -32px -32px;
  padding: 34px 28px;
  box-sizing: border-box;
  border-right: 1px solid var(--mx-line);
  background: var(--mx-paper);
  object-fit: contain;
  object-position: center;
}
.mx-catalog-grid .mx-card--visual h3,
.mx-catalog-grid .mx-card--visual .mx-list,
.mx-catalog-grid .mx-card--visual .mx-note { grid-column: 2; }
.mx-catalog-grid .mx-card h3 { margin: 0 0 24px; font-size: 25px; line-height: 1.2; }
.mx-section--ink .mx-catalog-grid .mx-card { color: var(--mx-on-dark); }
.mx-catalog-exclusions { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.mx-feature-catalog footer { background: var(--mx-ink); color: var(--mx-on-dark-body); }
.mx-feature-catalog footer h4 { color: var(--mx-on-dark); }
.mx-feature-catalog footer a:where(:not([class*="mx-btn"])) { color: var(--mx-on-dark); -webkit-text-fill-color: var(--mx-on-dark); }
.mx-feature-catalog footer a:where(:not([class*="mx-btn"])):hover { color: var(--mx-ochre); -webkit-text-fill-color: var(--mx-ochre); }
.mx-feature-catalog footer .mx-footer-language-switcher { background: rgba(255,255,255,.06); border-color: var(--mx-line-on-dark); box-shadow: none; }
.mx-feature-catalog footer .mx-footer-language-switcher a:where(:not([class*="mx-btn"])) { color: var(--mx-on-dark-body); -webkit-text-fill-color: var(--mx-on-dark-body); }
.mx-feature-catalog footer .mx-footer-language-switcher a[aria-current="page"] { background: var(--mx-ochre); border-color: var(--mx-ochre); color: var(--mx-ink); -webkit-text-fill-color: var(--mx-ink); }
.mx-feature-footer { padding: 48px 20px; background: var(--mx-ink); color: var(--mx-on-dark-body); }
.mx-feature-footer__shell { width: min(1180px,100%); margin-inline: auto; }
.mx-feature-footer__top { display: flex; justify-content: space-between; gap: 48px; margin-bottom: 40px; }
.mx-feature-footer__brand { max-width: 320px; }
.mx-feature-footer__brand img { display: block; width: auto; height: 34px; }
.mx-feature-footer__brand p { margin: 14px 0 0; font-size: 14px; }
.mx-feature-footer__columns { display: grid; grid-template-columns: repeat(3,minmax(110px,1fr)); gap: 48px; font-size: 14px; }
.mx-feature-footer h4 { margin: 0 0 14px; color: var(--mx-on-dark); font-size: 15px; }
.mx-feature-footer ul { display: grid; gap: 9px; list-style: none; padding: 0; margin: 0; }
.mx-feature-footer a:where(:not([class*="mx-btn"])) { color: var(--mx-on-dark); -webkit-text-fill-color: var(--mx-on-dark); text-decoration: none; }
.mx-feature-footer a:where(:not([class*="mx-btn"])):hover { color: var(--mx-ochre); -webkit-text-fill-color: var(--mx-ochre); }
.mx-feature-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 28px; border-top: 1px solid var(--mx-line-on-dark); font-size: 12px; }
.mx-feature-footer__bottom p { margin: 0; }
.mx-feature-footer__company { margin: 18px 0 0; text-align: center; color: #59667b; font-size: 12px; }
.mx-feature-footer .language-switcher { display: flex; align-items: center; gap: 3px; padding: 4px; border: 1px solid var(--mx-line-on-dark); border-radius: 999px; background: rgba(255,255,255,.06); }
.mx-feature-footer .language-switcher a { display: inline-flex; align-items: center; gap: 5px; padding: 6px 8px; border: 1px solid transparent; border-radius: 999px; font-size: 11px; font-weight: 700; }
.mx-feature-footer .language-switcher img { width: 24px; height: 16px; border-radius: 2px; object-fit: cover; }
.mx-feature-footer .language-switcher a[aria-current="page"] { background: var(--mx-ochre); border-color: var(--mx-ochre); color: var(--mx-ink); -webkit-text-fill-color: var(--mx-ink); }

@media (max-width: 900px) {
  .mx-master-nav__links { display: none; }
  .mx-master-nav__inner { min-height: 68px; }
  .mx-master-hero { padding-top: 34px; }
  .mx-master-hero > .mx-shell > .mx-eyebrow { margin-bottom: 22px; }
  .mx-master-title { font-size: clamp(43px, 11vw, 78px); line-height: .96; }
  .mx-image-placeholder--hero { min-height: 330px; margin-top: 40px; }
  .mx-marketing-visual--hero { margin-top: 40px; }
  .mx-master-problem, .mx-catalog-exclusions { grid-template-columns: 1fr; gap: 36px; }
  .mx-master-problem__grid { grid-template-columns: 1fr; }
  .mx-master-pricing, .mx-catalog-grid { grid-template-columns: 1fr; }
  .mx-feature-highlights__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mx-catalog-grid { gap: 22px; margin-top: 36px; }
  .mx-catalog-grid .mx-card--visual { display: block; }
  .mx-catalog-grid .mx-card__visual {
    width: calc(100% + 64px);
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    margin: -32px -32px 30px;
    padding: 26px 22px;
    border-right: 0;
    border-bottom: 1px solid var(--mx-line);
  }
  .mx-demo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .mx-promise-list .mx-split:nth-child(even) > :first-child { order: initial; }
  .mx-promise-list .mx-split > .mx-image-placeholder { min-height: 280px; }
  .mx-master-footer .mx-shell { grid-template-columns: 1fr; }
  .mx-master-footer small { grid-column: auto; }
}

@media (max-width: 640px) {
  .mx-feature-highlights { padding-top: 0; }
  .mx-feature-highlights__intro { margin-bottom: 34px; }
  .mx-feature-highlights__grid { grid-template-columns: 1fr; }
  .mx-feature-highlight { min-height: 0; padding: 34px 24px 32px; }
}

@media (max-width: 560px) {
  .mx-value-strip { grid-template-columns: 1fr; gap: 20px; }
  .mx-master-nav__actions { gap: 10px; }
  .mx-master-login { font-size: 14px; }
  .mx-master-nav__actions .mx-btn { padding-inline: 14px; }
  .mx-demo-grid { grid-template-columns: 1fr; }
  .mx-feature-footer__top { flex-direction: column; }
  .mx-feature-footer__columns { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; }
  .mx-feature-footer__bottom { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .mx-rotating-title [data-rotating-target].is-typing::after { animation: none; }
}

/* --------------------------------------------------------------------------
   Brand Book documentation page
   -------------------------------------------------------------------------- */
.mx-brand-book { margin: 0; background: var(--mx-cream); color: var(--mx-ink); font-family: var(--mx-font-ui); }
.mx-brand-book main { overflow: hidden; }
.mx-brand-hero { padding: 96px 0 88px; }
.mx-brand-hero .mx-display { max-width: 12em; }
.mx-brand-hero .mx-lede { max-width: 720px; }
.mx-brand-section { padding: 76px 0; border-top: 1px solid var(--mx-line); }
.mx-brand-section--paper { background: var(--mx-paper); }
.mx-brand-section--ink { background: var(--mx-ink); color: var(--mx-on-dark); border-color: var(--mx-line-on-dark); }
.mx-brand-section__intro { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 56px; align-items: start; margin-bottom: 42px; }
.mx-brand-section__intro p { margin: 0; }
.mx-brand-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.mx-brand-grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.mx-brand-token { overflow: hidden; background: var(--mx-paper); border: 1px solid var(--mx-line); border-radius: var(--mx-radius-card); }
.mx-brand-token__swatch { min-height: 130px; border-bottom: 1px solid var(--mx-line); }
.mx-brand-token__copy { padding: 20px; }
.mx-brand-token__copy strong { display: block; font-size: 17px; }
.mx-brand-token__copy code { display: block; margin-top: 6px; color: var(--mx-text-muted); font-size: 13px; }
.mx-brand-specimen { padding: 30px; background: var(--mx-paper); border: 1px solid var(--mx-line); border-radius: var(--mx-radius-card); }
.mx-brand-specimen > :first-child { margin-top: 0; }
.mx-brand-specimen > :last-child { margin-bottom: 0; }
.mx-brand-caption { margin: 0 0 12px; color: var(--mx-terracotta); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.mx-brand-code { display: block; margin-top: 18px; padding: 16px 18px; overflow-x: auto; background: var(--mx-ink); border-radius: var(--mx-radius-inner); color: var(--mx-on-dark); font: 13px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre; }
.mx-brand-scale { display: flex; align-items: flex-end; gap: 12px; min-height: 150px; padding: 24px; background: var(--mx-paper); border: 1px solid var(--mx-line); border-radius: var(--mx-radius-card); }
.mx-brand-scale span { display: grid; place-items: end center; min-width: 42px; background: var(--mx-sand); border-top: 4px solid var(--mx-terracotta); color: var(--mx-text-muted); font-size: 11px; }
.mx-brand-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.mx-brand-do-dont { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mx-brand-rule { padding: 24px; background: var(--mx-paper); border: 1px solid var(--mx-line); border-radius: var(--mx-radius-card); }
.mx-brand-rule--do { border-top: 5px solid var(--mx-terracotta); }
.mx-brand-rule--dont { border-top: 5px solid var(--mx-ink); }
.mx-brand-rule h3 { margin: 0 0 12px; font-size: 22px; }
.mx-brand-rule p { margin: 0; color: var(--mx-text-body); line-height: 1.65; }
.mx-brand-footer { padding: 44px 0; background: var(--mx-ink); color: var(--mx-on-dark-body); }
.mx-brand-footer .mx-shell { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.mx-brand-footer a { color: #fff !important; -webkit-text-fill-color: #fff; }

@media (max-width: 900px) {
  .mx-brand-section__intro, .mx-brand-grid, .mx-brand-grid--2 { grid-template-columns: 1fr; }
  .mx-brand-hero { padding-top: 64px; }
}

@media (max-width: 560px) {
  .mx-brand-do-dont { grid-template-columns: 1fr; }
  .mx-brand-scale { overflow-x: auto; }
}

/* --------------------------------------------------------------------------
   Italian homepage redesign preview

   This layer deliberately targets only `.mx-home-preview`. It lets the current
   locale homepage keep its legacy presentation while the same content can be
   evaluated with the archived original homepage prototype.
   -------------------------------------------------------------------------- */

.mx-home-preview {
    background: var(--mx-cream);
    color: var(--mx-text);
}

.mx-home-preview #main-nav {
    background: var(--mx-cream);
    border-color: var(--mx-line-soft);
    box-shadow: none;
    backdrop-filter: none;
}

.mx-home-preview #main-nav > div:first-child,
.mx-home-preview #mobile-menu,
.mx-home-preview main > section > div,
.mx-home-preview footer > div {
    max-width: var(--mx-shell);
}

.mx-home-preview #main-nav a:not([class*="btn-primary"]),
.mx-home-preview #mobile-menu a:not([class*="btn-primary"]) {
    color: var(--mx-text-body);
}

.mx-home-preview #main-nav a:not([class*="btn-primary"]):hover,
.mx-home-preview #mobile-menu a:not([class*="btn-primary"]):hover {
    color: var(--mx-terracotta);
}

.mx-home-preview .btn-primary,
.mx-home-preview #mobile-menu a[class*="bg-indigo"] {
    background: var(--mx-terracotta);
    color: #fff;
    -webkit-text-fill-color: #fff;
    border: 1px solid transparent;
    border-radius: var(--mx-pill);
    box-shadow: none;
}

.mx-home-preview .btn-primary:hover,
.mx-home-preview #mobile-menu a[class*="bg-indigo"]:hover {
    background: var(--mx-terracotta-dark);
}

.mx-home-preview #nav-toggle {
    color: var(--mx-ink);
    border-radius: var(--mx-pill);
}

.mx-home-preview #mobile-menu {
    background: var(--mx-cream);
    border-color: var(--mx-line);
}

.mx-home-preview .hero-bg {
    background: var(--mx-cream);
    color: var(--mx-text);
    padding-top: 76px;
    padding-bottom: 40px;
}

.mx-home-preview .hero-bg > div:first-child {
    max-width: var(--mx-shell);
    text-align: left;
}

.mx-home-preview .hero-bg > div:first-child > div:first-child {
    background: var(--mx-paper);
    color: var(--mx-text-strong);
    border: 1px solid rgba(23, 19, 15, 0.16);
    border-radius: var(--mx-pill);
    box-shadow: none;
}

.mx-home-preview .hero-bg h1 {
    width: 100%;
    max-width: none;
    font-family: var(--mx-font-display);
    font-size: clamp(44px, 5.6vw, 76px);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.02em;
}

.mx-home-preview .hero-bg h1 .gradient-text {
    color: var(--mx-terracotta);
    background: none;
    font-style: italic;
    -webkit-text-fill-color: currentColor;
}

.mx-home-preview .hero-bg > div:first-child > p.text-lg {
    max-width: 34em;
    margin-left: 0;
    color: var(--mx-text-body);
    font-size: 20px;
    line-height: 1.55;
}

.mx-home-preview .hero-bg > div:first-child > .flex {
    justify-content: flex-start;
}

.mx-home-preview .hero-bg a[href="#how-it-works"] {
    background: var(--mx-paper);
    color: var(--mx-ink);
    border-color: rgba(23, 19, 15, 0.22);
    border-radius: var(--mx-pill);
    box-shadow: none;
}

.mx-home-preview .hero-product-stage {
    max-width: var(--mx-shell);
    min-height: 0;
    aspect-ratio: 16 / 8.4;
    padding: 16px;
    background: var(--mx-sand);
    border: 1px solid var(--mx-line);
    border-radius: var(--mx-radius-media);
    box-shadow: none;
    overflow: hidden;
}

.mx-home-preview .hero-restaurant-backdrop {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: var(--mx-radius-inner);
    opacity: 1;
    filter: none;
}

.mx-home-preview .hero-product-glow,
.mx-home-preview .hero-dashboard,
.mx-home-preview .hero-phone,
.mx-home-preview .hero-float {
    display: none;
}

.mx-home-preview main > section:not(.hero-bg) {
    padding-top: var(--mx-section-y);
    padding-bottom: var(--mx-section-y);
}

.mx-home-preview main > section h2 {
    color: var(--mx-text);
    font-family: var(--mx-font-ui);
    font-size: clamp(38px, 4.5vw, 60px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.mx-home-preview .section-eyebrow {
    color: var(--mx-terracotta);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.mx-home-preview #features {
    background: var(--mx-paper);
    border-top: 1px solid var(--mx-line-soft);
    border-bottom: 1px solid var(--mx-line-soft);
}

.mx-home-preview #features .feature-section-heading {
    text-align: left;
}

.mx-home-preview .feature-showcases {
    grid-template-columns: 1fr;
    gap: 0;
}

.mx-home-preview .feature-showcase,
.mx-home-preview .feature-showcase.feature-showcase-reverse {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    min-height: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.mx-home-preview .feature-showcase + .feature-showcase {
    margin-top: 80px;
}

.mx-home-preview .feature-showcase-reverse .feature-copy {
    order: 2;
}

.mx-home-preview .feature-showcase-reverse .feature-visual {
    order: 1;
}

.mx-home-preview .feature-copy h3 {
    color: var(--mx-ink);
    font-family: var(--mx-font-ui);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.mx-home-preview .feature-copy > p {
    color: var(--mx-text-body);
    font-size: 17.5px;
    line-height: 1.6;
}

.mx-home-preview .feature-companion {
    border-color: var(--mx-line-soft);
}

.mx-home-preview .feature-companion > span {
    width: auto;
    height: auto;
    background: none;
    color: var(--mx-terracotta);
    font-size: 0;
}

.mx-home-preview .feature-companion > span::before {
    content: "\2713";
    font-size: 18px;
    font-weight: 700;
}

.mx-home-preview .feature-companion strong { color: var(--mx-ink); }
.mx-home-preview .feature-companion p { color: var(--mx-text-muted); }

.mx-home-preview .feature-visual {
    display: grid;
    place-items: center;
    height: auto;
    min-height: 390px;
    padding: 16px;
    overflow: hidden;
    background: var(--mx-sand);
    border: 1px solid var(--mx-line);
    border-radius: var(--mx-radius-media);
}

.mx-home-preview .feature-visual > * {
    display: none;
}

.mx-home-preview .feature-visual::before {
    display: grid;
    width: 100%;
    height: 100%;
    min-height: 356px;
    place-items: center;
    padding: 32px;
    color: var(--mx-text-muted);
    background: rgba(23, 19, 15, 0.035);
    border: 1px dashed rgba(23, 19, 15, 0.2);
    border-radius: var(--mx-radius-inner);
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

.mx-home-preview .feature-visual-menu::before {
    content: "Placeholder · Screenshot reale del menu su smartphone";
}

.mx-home-preview .feature-visual-orders::before {
    content: "Placeholder · Screenshot reale del flusso ordini";
}

.mx-home-preview .feature-visual-analytics::before {
    content: "Placeholder · Screenshot reale di clienti e analytics";
}

.mx-home-preview #how-it-works {
    background: var(--mx-ink);
    color: var(--mx-on-dark);
}

.mx-home-preview #how-it-works h2,
.mx-home-preview #how-it-works h3 { color: var(--mx-on-dark); }
.mx-home-preview #how-it-works p { color: var(--mx-on-dark-body); }

.mx-home-preview #how-it-works .grid > div > div:first-child {
    width: auto;
    height: auto;
    margin-bottom: 16px;
    background: none;
    color: var(--mx-ochre);
    font-family: var(--mx-font-display);
    font-size: 42px;
    font-weight: 400;
    box-shadow: none;
}

.mx-home-preview #pricing {
    background: var(--mx-cream);
}

.mx-home-preview #pricing > div:nth-of-type(2) > div {
    padding: 30px;
    background: var(--mx-paper);
    color: var(--mx-text);
    border: 1px solid var(--mx-line);
    border-radius: var(--mx-radius-card);
    box-shadow: none;
}

.mx-home-preview #pricing > div:nth-of-type(2) > div:nth-child(2) {
    background: var(--mx-ink);
    color: var(--mx-on-dark);
    border-color: transparent;
    box-shadow: 0 24px 50px -24px rgba(23, 19, 15, 0.5);
}

.mx-home-preview #pricing h3 { color: inherit; }

.mx-home-preview #pricing .text-4xl {
    color: inherit;
    font-family: var(--mx-font-display);
    font-size: 50px;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.mx-home-preview #pricing > div:nth-of-type(2) > div:nth-child(2) p,
.mx-home-preview #pricing > div:nth-of-type(2) > div:nth-child(2) ul,
.mx-home-preview #pricing > div:nth-of-type(2) > div:nth-child(2) .text-base {
    color: var(--mx-on-dark-body);
}

.mx-home-preview #pricing svg { display: none; }
.mx-home-preview #pricing li::before {
    content: "\2713";
    color: var(--mx-terracotta);
    font-weight: 700;
}
.mx-home-preview #pricing > div:nth-of-type(2) > div:nth-child(2) li::before { color: var(--mx-ochre); }

.mx-home-preview #pricing a {
    background: var(--mx-paper);
    color: var(--mx-ink);
    border: 1px solid rgba(23, 19, 15, 0.22);
    border-radius: var(--mx-pill);
}

.mx-home-preview #pricing > div:nth-of-type(2) > div:nth-child(2) a {
    background: var(--mx-terracotta);
    color: #fff;
    border-color: transparent;
}

.mx-home-preview #pricing .absolute {
    background: var(--mx-ochre);
    color: var(--mx-ink);
    border-radius: var(--mx-pill);
}

.mx-home-preview #compare {
    background: var(--mx-paper);
    border-color: var(--mx-line-soft);
}

.mx-home-preview #compare table {
    border: 1px solid var(--mx-line);
    border-radius: var(--mx-radius-card);
    overflow: hidden;
}

.mx-home-preview #compare th,
.mx-home-preview #compare td {
    color: var(--mx-text-body);
    border-color: var(--mx-line-soft);
}

.mx-home-preview #compare thead th {
    background: var(--mx-sand);
    color: var(--mx-ink);
}

.mx-home-preview #compare thead th:nth-child(3) {
    background: var(--mx-ink);
    color: var(--mx-on-dark);
}

.mx-home-preview #compare tbody tr[class*="bg-gray"] td {
    background: var(--mx-sand);
    color: var(--mx-text-strong);
}

.mx-home-preview #compare tbody td:nth-child(3) {
    background: rgba(244, 237, 226, 0.62);
    color: var(--mx-ink);
}

.mx-home-preview #compare td svg { display: none; }
.mx-home-preview #compare td:has(svg)::before {
    content: "\2192";
    color: var(--mx-terracotta);
    font-weight: 700;
}
.mx-home-preview #compare td:has(svg.text-gray-300)::before {
    content: "\2014";
    color: var(--mx-text-muted);
}

.mx-home-preview #faq {
    background: var(--mx-cream);
}

.mx-home-preview #faq details {
    padding: 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--mx-line);
    border-radius: 0;
}

.mx-home-preview #faq details:first-child { border-top: 1px solid var(--mx-line); }
.mx-home-preview #faq summary {
    padding: 22px 0;
    color: var(--mx-ink);
    font-size: 18px;
}
.mx-home-preview #faq summary::before {
    content: "+";
    margin-right: 14px;
    color: var(--mx-terracotta);
    font-weight: 700;
}
.mx-home-preview #faq summary svg { display: none; }
.mx-home-preview #faq details > p {
    margin: 0 0 24px 32px;
    color: var(--mx-text-body);
    font-size: 16.5px;
    line-height: 1.65;
}

.mx-home-preview main > section:last-child {
    background: var(--mx-terracotta);
    color: #fff;
}
.mx-home-preview main > section:last-child h2 { color: #fff; }
.mx-home-preview main > section:last-child p { color: rgba(255, 255, 255, 0.88); }
.mx-home-preview main > section:last-child a {
    background: var(--mx-ink);
    color: var(--mx-cream) !important;
    -webkit-text-fill-color: var(--mx-cream);
    border-radius: var(--mx-pill);
    box-shadow: none;
}
.mx-home-preview main > section:last-child a svg { display: none; }
.mx-home-preview main > section:last-child a::after { content: " \2192"; }

.mx-home-preview footer {
    background: var(--mx-ink);
    color: var(--mx-on-dark-body);
}
.mx-home-preview footer h4 { color: var(--mx-on-dark); }
.mx-home-preview footer a:not([class*="mx-btn"]) {
    color: var(--mx-on-dark) !important;
    -webkit-text-fill-color: var(--mx-on-dark);
}
.mx-home-preview footer a:not([class*="mx-btn"]):hover {
    color: var(--mx-ochre) !important;
    -webkit-text-fill-color: var(--mx-ochre);
}

.mx-home-preview #waitlist-modal > div {
    background: var(--mx-paper);
    border: 1px solid var(--mx-line);
    border-radius: var(--mx-radius-card);
    box-shadow: 0 24px 50px -24px rgba(23, 19, 15, 0.5);
}
.mx-home-preview #waitlist-modal button.primary {
    background: var(--mx-terracotta);
    border-radius: var(--mx-pill);
}
.mx-home-preview #waitlist-modal a { color: var(--mx-terracotta); }

@media (max-width: 900px) {
    .mx-home-preview .feature-showcases { grid-template-columns: 1fr; }
    .mx-home-preview .feature-showcase,
    .mx-home-preview .feature-showcase.feature-showcase-reverse {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .mx-home-preview .feature-showcase-reverse .feature-copy,
    .mx-home-preview .feature-showcase-reverse .feature-visual { order: initial; }
    .mx-home-preview .feature-visual { min-height: 300px; }
    .mx-home-preview .feature-visual::before { min-height: 266px; }
    .mx-home-preview .hero-bg { padding-top: 60px; }
    .mx-home-preview .hero-bg h1 {
        width: 100%;
        max-width: none;
        font-size: clamp(42px, 12vw, 58px) !important;
    }
    .mx-home-preview .hero-product-stage { aspect-ratio: 4 / 3; }
}
