/* Styles of the www.mesupro.com pages (site/build.js), moved from the old index.html inline <style>. */
:root, [data-theme="light"] {
    --bg: #f5f6f8; --surface: #ffffff; --surface-2: #eef1f5; --text: #172033; --muted: #556070;
    --line: #dfe3ea; --accent: #102542; --cta: #c94a12; --cta-hover: #b03f0e; --cta-text: #ffffff;
    --link: #1b5fb5; --ok: #0f7a4f; --err: #b3261e; --shadow: 0 10px 30px rgba(16, 37, 66, .08);
}
[data-theme="dark"] {
    --bg: #0f1015; --surface: #1a1c24; --surface-2: #22252f; --text: #f3f5f9; --muted: #b8c0cd;
    --line: #2c303d; --accent: #9cc2ff; --cta: #e0632a; --cta-hover: #f07436; --cta-text: #ffffff;
    --link: #8ab8ff; --ok: #4ade9a; --err: #ff8a80; --shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.6;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif; }
a { color: var(--link); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
section { padding: 56px 0; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; }
h2 { font-size: 1.75rem; }
.lead { color: var(--muted); font-size: 1.125rem; max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
header { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 16px; height: 60px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; margin-right: auto; }
/* Logo: inline SVG (docs/brand/final/m/lockup-light.svg), tile in the brand orange, wordmark in the text colour */
.brand-logo { display: block; height: 30px; width: auto; }
.brand-tile { fill: #c2410c; }
[data-theme="dark"] .brand-tile { fill: #c94a12; }
.brand-mark { fill: #ffffff; }
.brand-word { fill: var(--text); }
.nav a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: .95rem; }
.nav a:hover { color: var(--text); }
.tools { display: flex; align-items: center; gap: 8px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
/* The FR/EN toggle: links to the other language's page (buttons on the old single page, same look) */
.lang a { border: 0; background: transparent; color: var(--muted); padding: 6px 9px; font: inherit; font-size: .8rem; font-weight: 600; cursor: pointer; text-decoration: none; }
.lang a.active { background: var(--accent); color: var(--bg); }
.currency-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin: 4px 0 18px; }
.currency-switch button { border: 0; background: transparent; color: var(--muted); padding: 7px 16px; font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; }
.currency-switch button.active { background: var(--accent); color: var(--bg); }
.price-currency-note { color: var(--muted); font-size: .85rem; margin: 2px 0 18px; }
.icon-btn { border: 1px solid var(--line); background: transparent; color: var(--text); border-radius: 8px; width: 34px; height: 34px; cursor: pointer; font-size: 1rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; padding: 14px 22px;
    font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.btn-cta { background: var(--cta); color: var(--cta-text); }
.btn-cta:hover { background: var(--cta-hover); }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-small { padding: 8px 14px; font-size: .9rem; }
.cta-note { color: var(--muted); font-size: .9rem; margin-top: 10px; }
.hero { padding: 72px 0 56px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); max-width: 760px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.closed-banner { display: none; margin-top: 18px; padding: 12px 14px; border-radius: 10px; background: var(--surface-2);
    border: 1px solid var(--line); color: var(--muted); max-width: 640px; }
body.signups-closed .closed-banner { display: block; }
.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); margin-top: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; }
.step-num { display: inline-flex; width: 32px; height: 32px; border-radius: 50%; align-items: center; justify-content: center;
    background: var(--accent); color: var(--bg); font-weight: 800; margin-bottom: 10px; }
.trades { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 12px; padding: 0; list-style: none; }
.trades li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 600; }
.trades-note { color: var(--muted); }
.extras { margin-top: 20px; }
.extras h3 { font-size: 1.05rem; }
/* Two clips per row (4 clips = 2 x 2, never one alone on a row), one per row on phones */
.videos { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 20px; }
@media (max-width: 720px) { .videos { grid-template-columns: 1fr; } }
.video { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 0; }
.video video, .video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }
.video.vertical video, .video.vertical iframe { aspect-ratio: 9 / 16; max-height: 70vh; }
.video p { margin: 0; padding: 10px 14px; color: var(--muted); font-size: .95rem; }
.faq { max-width: 760px; margin: 20px auto 0; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { color: var(--muted); margin: 10px 0 0; }
.trial-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); grid-auto-rows: min-content; align-items: start; margin-top: 20px; }
.trial-card h3 { font-size: 1.05rem; }
.trial-card .trial-desc { font-size: .9rem; margin: 6px 0 14px; }
.trial-card a { font-weight: 700; text-decoration: none; }
.pricing-card { max-width: 480px; margin: 24px auto 0; text-align: left; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0 22px; }
.price-block { background: var(--surface-2); border-radius: 10px; padding: 14px; text-align: center; }
.price-amount { display: block; font-size: 1.4rem; font-weight: 800; color: var(--accent); }
.price-period { display: block; color: var(--muted); font-size: .82rem; margin-top: 4px; }
.pricing-features { list-style: none; margin: 0 0 22px; padding: 0; }
.pricing-features li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.pricing-features li::before { content: '\2713'; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.pricing-note { color: var(--muted); font-size: .9rem; margin-top: 18px; max-width: 640px; }
.pricing-note.center-note { margin-left: auto; margin-right: auto; }
@media (max-width: 480px) { .price-grid { grid-template-columns: 1fr; } }
#waitlist { display: none; }
body.signups-closed #waitlist { display: block; }
.form { max-width: 520px; margin: 20px auto 0; }
.form label { display: block; font-weight: 600; margin: 14px 0 6px; }
.form input, .form select { width: 100%; padding: 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; }
.form .btn { width: 100%; margin-top: 18px; }
.msg { display: none; margin-top: 14px; padding: 12px; border-radius: 10px; border: 1px solid; }
.msg.ok { display: block; color: var(--ok); border-color: var(--ok); }
.msg.err { display: block; color: var(--err); border-color: var(--err); }
.trap { position: absolute; left: -5000px; }
.final { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.site-footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; color: var(--muted); font-size: .875rem; padding: 28px 16px; }
.site-footer a { color: var(--muted); }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } .nav { display: none; } }
@media (max-width: 420px) {
    .bar { gap: 8px; } .bar .btn-small { display: none; }
    section { padding: 40px 0; } .hero { padding: 44px 0 36px; } .hero .actions .btn { width: 100%; }
}

/* Inner pages (pricing, FAQ, trades) and the site map footer, added with the multi-page site (L1) */
.nav a.current { color: var(--text); font-weight: 600; }
.trades a { color: var(--link); text-decoration: none; }
.trades a:hover { text-decoration: underline; }
.more-link { margin: 18px 0 0; font-weight: 600; }
.page-hero { padding: 48px 0 28px; }
.page-hero h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); max-width: 820px; }
.page-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .875rem; margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
section.tight { padding: 24px 0; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card.prose h2 { font-size: 1.2rem; }
.card.prose p { margin: 0 0 10px; }
.card.prose p:last-child { margin-bottom: 0; }
.prose.narrow { max-width: 760px; }
.prose.narrow p { color: var(--muted); font-size: 1.05rem; }
.checklist { list-style: none; margin: 12px 0 0; padding: 0; }
.checklist li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.checklist li::before { content: '\2713'; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.card .note { font-size: .9rem; margin-top: 14px; }
.unit-badge { display: block; width: fit-content; font-size: .8rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; margin: 0 0 14px; }
.faq.faq-left { margin-left: 0; }
.video-large { max-width: 880px; margin: 0 auto; }
.site-foot { border-top: 1px solid var(--line); padding-top: 32px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 240px)); gap: 24px; }
.feature-links { margin-top: 28px; }
.foot-cols h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 10px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; }
.foot-cols li { margin-bottom: 6px; }
.foot-cols a { color: var(--text); text-decoration: none; }
.foot-cols a:hover { text-decoration: underline; }
/* Trade page template cards: 3 columns whatever their number (one card never spans the page), 1 on phones */
.trial-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* Screenshots of real demo sheets and reports (light UI in both themes, like the exports) */
.shot { margin: 0; }
.shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; background: #ffffff; box-shadow: var(--shadow); }
.shot figcaption { color: var(--muted); font-size: .9rem; margin-top: 10px; }
.shot-sheet { max-width: 960px; margin: 0 auto; }
.report-row { align-items: center; }
.report-row .prose p { color: var(--muted); font-size: 1.05rem; }
@media (max-width: 860px) { .grid-2, .trial-grid.cols-3 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .page-hero { padding: 32px 0 20px; } .page-hero .actions .btn { width: 100%; } }
