/* ==========================================================================
   FarmoraX website
   Same family as the app (warm cream surfaces, farm-green primary, copper accent),
   scaled up for reading: larger type, more air, fewer borders.
   ========================================================================== */

:root {
    color-scheme: light;

    --font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-num: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", monospace;

    --bg: #f7f3ea;
    --bg-alt: #f0eadc;
    --surface: #fffdf8;
    --surface-sunken: #efe9dc;
    --text: #1f1b14;
    --muted: #5d5546;
    --muted-2: #6f6653;
    --border: rgba(61, 48, 28, 0.13);
    --border-strong: rgba(61, 48, 28, 0.24);
    --primary: #1d6b3f;
    --primary-2: #15532f;
    --primary-ink: #ffffff;
    --primary-soft: rgba(29, 107, 63, 0.10);
    --accent: #a8672f;
    --accent-soft: rgba(176, 113, 58, 0.13);
    --danger: #a32f22;
    --danger-soft: rgba(163, 47, 34, 0.09);
    --warn: #8a5a12;
    --warn-soft: rgba(196, 140, 40, 0.16);
    --info: #3b62c4;
    --info-soft: rgba(59, 98, 196, 0.11);

    /* Deep band (final CTA, footer) — same in both themes. */
    --forest: #11301f;
    --forest-2: #173d28;
    --forest-ink: #f3efe4;
    --forest-muted: #b9c7b9;

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 2px rgba(48, 38, 22, 0.06);
    --shadow: 0 10px 30px -12px rgba(48, 38, 22, 0.18), 0 2px 6px rgba(48, 38, 22, 0.05);
    --shadow-lg: 0 30px 60px -24px rgba(36, 30, 16, 0.32), 0 6px 16px rgba(48, 38, 22, 0.06);
    --ring: 0 0 0 3px rgba(29, 107, 63, 0.35);
    --ease: cubic-bezier(.2, .7, .2, 1);

    --container: 1200px;
    --gutter: 24px;
    --section-y: clamp(64px, 9vw, 112px);
}

@media (max-width: 600px) {
    :root { --gutter: 16px; }
}

@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: dark;
        --bg: #14130e;
        --bg-alt: #1a1813;
        --surface: #1e1c16;
        --surface-sunken: #191711;
        --text: #f0ebe0;
        --muted: #b3aa98;
        --muted-2: #9a9080;
        --border: rgba(240, 235, 224, 0.12);
        --border-strong: rgba(240, 235, 224, 0.24);
        --primary: #3f9c66;
        --primary-2: #55b47c;
        --primary-ink: #08170f;
        --primary-soft: rgba(63, 156, 102, 0.16);
        --accent: #d9954f;
        --accent-soft: rgba(217, 149, 79, 0.16);
        --danger: #e0705f;
        --danger-soft: rgba(224, 112, 95, 0.14);
        --warn: #e0b45a;
        --warn-soft: rgba(224, 180, 90, 0.15);
        --info: #7fa2ee;
        --info-soft: rgba(95, 143, 232, 0.16);
        --forest: #0d2416;
        --forest-2: #12301e;
        --shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.3);
        --shadow-lg: 0 30px 60px -24px rgba(0, 0, 0, 0.75), 0 6px 16px rgba(0, 0, 0, 0.35);
        --ring: 0 0 0 3px rgba(85, 180, 124, 0.45);
    }
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
svg.icon { flex: none; }

h1, h2, h3, h4 {
    margin: 0;
    line-height: 1.15;
    letter-spacing: -0.022em;
    font-weight: 720;
    text-wrap: balance;
}

h1 { font-size: clamp(2.35rem, 5.2vw, 3.9rem); letter-spacing: -0.032em; line-height: 1.06; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.012em; }

p { margin: 0 0 1em; text-wrap: pretty; }

a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--primary-2); }

:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 100;
    padding: 10px 16px;
    background: var(--primary);
    color: var(--primary-ink);
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
}
.skip-link:focus { top: 12px; }

main:focus { outline: none; }

.container {
    width: 100%;
    max-width: calc(var(--container) + 2 * var(--gutter));
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.container-narrow { max-width: calc(820px + 2 * var(--gutter)); }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.num { font-family: var(--font-num); font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */

.btn {
    --btn-y: 11px;
    --btn-x: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: var(--btn-y) var(--btn-x);
    border: 1px solid transparent;
    border-radius: 999px;
    font: inherit;
    font-size: 15.5px;
    font-weight: 620;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .16s ease, color .16s ease, border-color .16s ease, transform .16s var(--ease), box-shadow .16s ease;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
    background: var(--primary);
    color: var(--primary-ink);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .15) inset, 0 6px 16px -8px rgba(29, 107, 63, .7);
}
.btn-primary:hover { background: var(--primary-2); color: var(--primary-ink); }

.btn-outline {
    background: var(--surface);
    color: var(--text);
    border-color: var(--border-strong);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { background: var(--primary-soft); color: var(--primary); }

.btn-light { background: var(--forest-ink); color: var(--forest); }
.btn-light:hover { background: #ffffff; color: var(--forest); }

.btn-on-dark { background: transparent; color: var(--forest-ink); border-color: rgba(243, 239, 228, .35); }
.btn-on-dark:hover { border-color: var(--forest-ink); color: #ffffff; }

.btn-lg { --btn-y: 14px; --btn-x: 26px; font-size: 16.5px; }
.btn-block { width: 100%; }

.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon-arrow, .link-arrow:hover .icon { transform: translateX(3px); }

.btn[disabled], .btn[aria-busy="true"] { opacity: .75; cursor: progress; }

.spinner {
    width: 16px; height: 16px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin .7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 620;
    text-decoration: none;
}

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, box-shadow .2s ease;
}
/* The blur lives on a pseudo-element: backdrop-filter on the header itself would make it the containing block of
   the fixed mobile menu and squash it to the header's height. */
.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: color-mix(in srgb, var(--bg) 86%, transparent);
    backdrop-filter: saturate(1.4) blur(14px);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
}
.site-header.is-scrolled { border-bottom-color: var(--border); }

.header-row {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 72px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
    font-weight: 760;
    font-size: 20px;
    letter-spacing: -0.02em;
}
.brand:hover { color: var(--text); }

.brand-mark {
    position: relative;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: url("/favicon.svg") center / cover no-repeat;
    box-shadow: 0 4px 12px -4px rgba(29, 107, 63, .6);
}

.main-nav {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 16px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    border: 0;
    border-radius: 999px;
    background: none;
    color: var(--muted);
    font: inherit;
    font-size: 15.5px;
    font-weight: 560;
    text-decoration: none;
    cursor: pointer;
    transition: color .15s ease, background-color .15s ease;
}
.nav-link:hover, .nav-link.is-active { color: var(--text); }
.nav-link.is-active { background: var(--primary-soft); color: var(--primary); }

.nav-link .chev { transition: transform .2s ease; }
.has-menu { position: relative; }
.has-menu.is-open .chev { transform: rotate(180deg); }

.nav-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    width: 380px;
    padding: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 6px);
    transition: opacity .16s ease, transform .2s var(--ease), visibility .16s;
}
.has-menu.is-open .nav-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.nav-menu-item {
    display: flex;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius);
    color: var(--text);
    text-decoration: none;
}
.nav-menu-item:hover { background: var(--bg-alt); color: var(--text); }
.nav-menu-item strong { display: block; font-size: 15px; font-weight: 640; }
.nav-menu-item small { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.45; }

.nav-menu-icon {
    display: grid;
    place-items: center;
    width: 34px; height: 34px;
    flex: none;
    border-radius: 10px;
    background: var(--primary-soft);
    color: var(--primary);
}

.nav-menu-all {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    padding: 10px 12px;
    border-top: 1px solid var(--border);
    font-size: 14.5px;
    font-weight: 620;
    text-decoration: none;
}

.nav-actions { display: flex; align-items: center; gap: 6px; }

.nav-toggle {
    display: none;
    margin-left: auto;
    width: 44px; height: 44px;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
}
.nav-toggle-close { display: none; }
.nav-open .nav-toggle-open { display: none; }
.nav-open .nav-toggle-close { display: block; }

@media (max-width: 1020px) {
    .nav-toggle { display: grid; }

    .main-nav {
        position: fixed;
        inset: 72px 0 0 0;
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 16px var(--gutter) 32px;
        background: var(--bg);
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity .18s ease, transform .22s var(--ease), visibility .18s;
    }
    .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
    .nav-open { overflow: hidden; }

    .nav-list { flex-direction: column; align-items: stretch; margin: 0; gap: 0; }
    .nav-list > li { border-bottom: 1px solid var(--border); }
    .nav-link { width: 100%; justify-content: space-between; padding: 16px 4px; border-radius: 0; font-size: 18px; color: var(--text); }
    .nav-link.is-active { background: none; }

    .nav-menu {
        position: static;
        width: auto;
        display: none;
        margin: 0 0 12px;
        padding: 4px;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--surface);
    }
    .has-menu.is-open .nav-menu { display: block; transform: none; }

    .nav-actions { flex-direction: column; align-items: stretch; gap: 10px; }
    .nav-actions .btn { padding: 14px 20px; font-size: 16.5px; }
    .nav-actions .btn-ghost { border-color: var(--border-strong); }
}

/* ---------- Sections ---------- */

.section { padding: var(--section-y) 0; }
.section-alt { background: var(--bg-alt); }
.section-tight { padding: calc(var(--section-y) * .6) 0; }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 16px 0 0; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); line-height: 1.6; }

/* ---------- Hero ---------- */

.hero {
    position: relative;
    padding: clamp(40px, 7vw, 88px) 0 0;
    overflow: hidden;
}

.hero::before {
    /* soft field light */
    content: "";
    position: absolute;
    inset: -20% -10% auto -10%;
    height: 720px;
    background:
        radial-gradient(600px 300px at 18% 20%, rgba(29, 107, 63, .10), transparent 70%),
        radial-gradient(520px 280px at 85% 10%, rgba(176, 113, 58, .10), transparent 70%);
    pointer-events: none;
}

.hero-inner { position: relative; text-align: center; max-width: 860px; margin: 0 auto; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    padding: 6px 14px 6px 8px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--muted);
    font-size: 14px;
    font-weight: 560;
    box-shadow: var(--shadow-sm);
}
.hero-badge span:first-child {
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 12.5px;
    font-weight: 700;
}

.hero h1 em {
    font-style: normal;
    color: var(--primary);
    background: linear-gradient(transparent 68%, var(--accent-soft) 68%);
}

.hero .lede { max-width: 640px; margin: 22px auto 0; }

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 22px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 15px;
}
.hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero-points .icon { color: var(--primary); }

.hero-visual {
    position: relative;
    margin: clamp(44px, 6vw, 72px) auto 0;
    max-width: 1100px;
}

.hero-visual .mock-window { box-shadow: var(--shadow-lg); }

.hero-visual .mock-phone {
    position: absolute;
    right: -18px;
    bottom: -40px;
    width: 220px;
}

.hero-hills {
    position: absolute;
    inset: auto 0 0 0;
    height: 46%;
    z-index: -1;
    color: var(--bg-alt);
}

.sample-note {
    margin: 16px 0 0;
    color: var(--muted-2);
    font-size: 13px;
    text-align: center;
}

@media (max-width: 900px) {
    .hero-visual .mock-phone { display: none; }
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
    position: relative;
    padding: clamp(44px, 7vw, 84px) 0 clamp(36px, 5vw, 56px);
    overflow: hidden;
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: -40% -10% auto 40%;
    height: 520px;
    background: radial-gradient(480px 260px at 60% 40%, rgba(29, 107, 63, .09), transparent 70%);
    pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero h1 { max-width: 820px; font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.page-hero .lede { max-width: 680px; margin-top: 18px; }
.page-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.page-hero-split {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    align-items: center;
}
@media (max-width: 960px) { .page-hero-split { grid-template-columns: 1fr; gap: 40px; } }

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    color: var(--muted-2);
    font-size: 14px;
}
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--primary); }

/* ---------- Trust strip ---------- */

.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--border);
    overflow: hidden;
}
.trust-strip li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 22px;
    background: var(--surface);
}
.trust-strip strong { display: block; font-size: 15.5px; }
.trust-strip span { display: block; color: var(--muted); font-size: 14px; line-height: 1.5; }
.trust-strip .icon { color: var(--primary); margin-top: 2px; }
@media (max-width: 900px) { .trust-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .trust-strip { grid-template-columns: 1fr; } }

/* ---------- Cards & grids ---------- */

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
    position: relative;
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15.5px; margin: 0; }

.card-link {
    color: inherit;
    text-decoration: none;
    transition: transform .22s var(--ease), box-shadow .22s ease, border-color .2s ease;
}
.card-link:hover { color: inherit; transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.card-link .link-arrow { margin-top: 18px; color: var(--primary); font-size: 15px; }

.icon-tile {
    display: grid;
    place-items: center;
    width: 46px; height: 46px;
    margin-bottom: 18px;
    border-radius: 13px;
    background: var(--primary-soft);
    color: var(--primary);
}
.icon-tile.accent { background: var(--accent-soft); color: var(--accent); }

/* Feature tiles on the home page */
.feature-tile { display: flex; flex-direction: column; }
.feature-tile p { flex: 1; }

/* ---------- Showcase rows (text + mockup) ---------- */

.showcase {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: clamp(36px, 6vw, 80px);
    align-items: center;
}
.showcase + .showcase { margin-top: clamp(64px, 9vw, 120px); }
.showcase.reverse .showcase-text { order: 2; }
@media (max-width: 960px) {
    .showcase { grid-template-columns: 1fr; }
    .showcase.reverse .showcase-text { order: 0; }
}

.showcase-text h2, .showcase-text h3.h2 { margin-bottom: 16px; }
.showcase-text > p { color: var(--muted); font-size: 1.08rem; }

.check-list { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.check-list .icon {
    flex: none;
    margin-top: 2px;
    padding: 3px;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
}
.check-list.compact li { font-size: 15px; }

/* ---------- Steps ---------- */

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}
.steps li {
    position: relative;
    padding: 28px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    counter-increment: step;
}
.steps li::before {
    content: counter(step);
    display: grid;
    place-items: center;
    width: 36px; height: 36px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--primary-ink);
    font-weight: 700;
}
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Operations overview chips ---------- */

.ops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.ops-grid li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-weight: 560;
    font-size: 15.5px;
}
.ops-grid .icon { color: var(--accent); }

/* ---------- Benefit stats (non-numeric, honest) ---------- */

.benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--border);
}
.benefits > div { padding: 32px 28px 8px 0; }
.benefits > div + div { padding-left: 28px; border-left: 1px solid var(--border); }
.benefits h3 { font-size: 1.35rem; margin-bottom: 10px; }
.benefits p { color: var(--muted); margin: 0; }
@media (max-width: 860px) {
    .benefits { grid-template-columns: 1fr; }
    .benefits > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--border); }
}

/* ---------- Pricing ---------- */

.notice {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 18px;
    border: 1px solid color-mix(in srgb, var(--warn) 35%, transparent);
    border-radius: var(--radius);
    background: var(--warn-soft);
    color: var(--text);
    font-size: 15px;
}
.notice .icon { color: var(--warn); margin-top: 2px; }
.notice p { margin: 0; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 960px) { .price-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

.price-card { display: flex; flex-direction: column; padding: 32px 28px; }
.price-card.is-highlight { border: 2px solid var(--primary); box-shadow: var(--shadow); }
.price-flag {
    position: absolute;
    top: -13px;
    left: 28px;
    padding: 3px 12px;
    border-radius: 999px;
    background: var(--primary);
    color: var(--primary-ink);
    font-size: 12.5px;
    font-weight: 700;
}
.price-card h3 { font-size: 1.35rem; }
.price-audience { color: var(--muted); font-size: 15px; margin: 8px 0 22px; min-height: 3em; }
.price-amount { font-size: 2.1rem; font-weight: 760; letter-spacing: -0.03em; line-height: 1.1; }
.price-amount.is-tbd { font-size: 1.5rem; color: var(--muted); }
.price-note { color: var(--muted-2); font-size: 14px; margin: 6px 0 24px; }
.price-card .check-list { margin: 24px 0 0; padding-top: 22px; border-top: 1px solid var(--border); flex: 1; align-content: start; }

.placeholder-chip {
    display: inline-block;
    padding: 1px 8px;
    border: 1px dashed color-mix(in srgb, var(--warn) 55%, transparent);
    border-radius: 6px;
    background: var(--warn-soft);
    color: var(--warn);
    font-size: 12.5px;
    font-weight: 650;
    white-space: nowrap;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
}
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--border); }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { position: sticky; top: 0; background: var(--surface); font-size: 15.5px; }
.compare tbody th { font-weight: 500; }
.compare .group-row th {
    padding-top: 22px;
    background: var(--bg-alt);
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.compare .yes { color: var(--primary); }
.compare .no { color: var(--muted-2); }
.compare .icon { display: inline-block; vertical-align: middle; }

/* ---------- FAQ ---------- */

.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 4px;
    cursor: pointer;
    list-style: none;
    font-size: 1.08rem;
    font-weight: 620;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { flex: none; color: var(--muted); transition: transform .2s var(--ease); }
.faq details[open] summary .icon { transform: rotate(45deg); color: var(--primary); }
.faq .faq-answer { padding: 0 44px 22px 4px; color: var(--muted); }
.faq .faq-answer p:last-child { margin: 0; }

/* ---------- CTA band ---------- */

.cta-band {
    position: relative;
    overflow: hidden;
    padding: clamp(48px, 7vw, 80px) clamp(24px, 6vw, 72px);
    border-radius: var(--radius-xl);
    background: var(--forest);
    color: var(--forest-ink);
    text-align: center;
}
.cta-band::before {
    content: "";
    position: absolute;
    inset: auto -10% -60% -10%;
    height: 120%;
    background: radial-gradient(60% 60% at 50% 100%, rgba(85, 180, 124, .28), transparent 70%);
    pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { max-width: 720px; margin: 0 auto; }
.cta-band p { max-width: 560px; margin: 16px auto 0; color: var(--forest-muted); font-size: 1.1rem; }
.cta-band .hero-ctas { margin-top: 30px; }
.cta-band .eyebrow { color: #e3a15c; }
.cta-hills { position: absolute; inset: auto 0 0 0; height: 90px; color: var(--forest-2); }

/* ---------- Feature page ---------- */

.feature-nav {
    position: sticky;
    top: 72px;
    z-index: 20;
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.feature-nav ul {
    display: flex;
    gap: 4px;
    margin: 0;
    padding: 10px 0;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
}
.feature-nav ul::-webkit-scrollbar { display: none; }
.feature-nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 14.5px;
    font-weight: 560;
    text-decoration: none;
    white-space: nowrap;
}
.feature-nav a:hover, .feature-nav a.is-active { background: var(--primary-soft); color: var(--primary); }

.feature-block { padding: clamp(56px, 8vw, 96px) 0; border-bottom: 1px solid var(--border); }
.feature-block:nth-of-type(even) { background: var(--bg-alt); }

.problem {
    display: flex;
    gap: 10px;
    margin: 22px 0 0;
    padding: 14px 16px;
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: var(--accent-soft);
    font-size: 15px;
}
.problem strong { white-space: nowrap; }

.benefit-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.benefit-pills li {
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
}

.related { margin-top: 22px; font-size: 15px; color: var(--muted); }
.related a { font-weight: 600; }

/* ---------- Article (guides, legal) ---------- */

.prose { max-width: 720px; font-size: 17.5px; }
.prose h2 { font-size: 1.6rem; margin: 2.2em 0 .6em; }
.prose h3 { font-size: 1.2rem; margin: 1.8em 0 .5em; }
.prose p, .prose li { color: color-mix(in srgb, var(--text) 88%, var(--muted)); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin: .35em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0 1.6em; font-size: 15.5px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; }
.prose th { background: var(--bg-alt); font-weight: 640; }
.prose code, .formula {
    font-family: var(--font-num);
    font-size: .92em;
}
.formula {
    display: block;
    margin: 1em 0 1.4em;
    padding: 16px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    font-size: 16px;
    overflow-x: auto;
}
.callout {
    margin: 1.6em 0;
    padding: 18px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}
.callout p:last-child { margin: 0; }
.callout-title { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-weight: 700; color: var(--primary); }

.article-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted-2); font-size: 14.5px; margin-top: 16px; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; }
.article-aside { position: sticky; top: 100px; display: grid; gap: 16px; }
@media (max-width: 1000px) { .article-layout { grid-template-columns: 1fr; } .article-aside { position: static; } }

.legal-draft { margin-bottom: 32px; }

/* ---------- Forms ---------- */

.form-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
@media (max-width: 960px) { .form-layout { grid-template-columns: 1fr; } }

.form-card { padding: clamp(24px, 4vw, 40px); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field .label { font-size: 14.5px; font-weight: 620; }
.field .optional { color: var(--muted-2); font-weight: 500; }
.field input, .field select, .field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    background: var(--surface);
    color: var(--text);
    font: inherit;
    font-size: 16px; /* no zoom on iOS */
    transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select {
    appearance: none;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236f6653' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: var(--ring); }
.field .hint { color: var(--muted-2); font-size: 13.5px; }

.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 14px; font-weight: 560; }
.field-error:empty { display: none; }

.check-field { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--muted); }
.check-field input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--primary); flex: none; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.form-actions .hint { color: var(--muted-2); font-size: 14px; }

.alert {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 18px;
    border-radius: var(--radius);
    font-size: 15.5px;
}
.alert p { margin: 0; }
.alert-error { background: var(--danger-soft); border: 1px solid color-mix(in srgb, var(--danger) 35%, transparent); }
.alert-error .icon { color: var(--danger); }

.form-success { text-align: center; padding: 24px 8px; }
.form-success .success-icon {
    display: grid;
    place-items: center;
    width: 64px; height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
}
.form-success h2 { font-size: 1.6rem; margin-bottom: 10px; }
.form-success p { color: var(--muted); }
.form-success .ref { font-family: var(--font-num); color: var(--text); }

.contact-points { display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.contact-points li { display: flex; gap: 14px; align-items: flex-start; }
.contact-points .icon-tile { width: 42px; height: 42px; margin: 0; flex: none; }
.contact-points strong { display: block; }
.contact-points span, .contact-points a { color: var(--muted); font-size: 15.5px; }

/* ---------- Footer ---------- */

.site-footer {
    margin-top: var(--section-y);
    padding: 64px 0 28px;
    background: var(--forest);
    color: var(--forest-muted);
    font-size: 15px;
}
.site-footer a { color: var(--forest-ink); text-decoration: none; }
.site-footer a:hover { color: #ffffff; text-decoration: underline; }
.site-footer .brand { color: var(--forest-ink); }

.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

.footer-tagline { margin: 16px 0 6px; color: var(--forest-ink); font-weight: 620; font-size: 16px; }
.footer-note { max-width: 320px; }
.footer-contact { display: grid; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.footer-contact li { display: flex; align-items: center; gap: 8px; }

.footer-col h2 {
    margin: 4px 0 16px;
    color: var(--forest-ink);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.footer-col ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-col a { color: var(--forest-muted); }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(243, 239, 228, .14);
    font-size: 14px;
}
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 20px; margin: 0; padding: 0; list-style: none; }
.footer-bottom a { color: var(--forest-muted); }

/* ---------- Not found ---------- */

.not-found { text-align: center; padding: clamp(64px, 12vw, 140px) 0; }
.not-found .code { font-family: var(--font-num); color: var(--accent); font-weight: 700; letter-spacing: .1em; }
.not-found h1 { margin: 12px 0 16px; }
.not-found .hero-ctas { margin-top: 28px; }

/* ---------- Reveal on scroll ---------- */

.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   Product mockups — HTML/CSS stand-ins for app screens, styled like the app.
   Fixed light "app" palette, like a screenshot, in both site themes.
   ========================================================================== */

.mock-window {
    --m-bg: #f5f1e8;
    --m-surface: #fffdf8;
    --m-text: #1f1b14;
    --m-muted: #6f6653;
    --m-border: rgba(61, 48, 28, 0.13);
    --m-primary: #1d6b3f;
    --m-primary-soft: rgba(29, 107, 63, 0.10);
    --m-accent: #b0713a;
    --m-blue: #3b62c4;
    --m-red: #a32f22;
    --m-amber: #9a6512;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(61, 48, 28, 0.16);
    border-radius: 14px;
    background: var(--m-bg);
    color: var(--m-text);
    font-size: 12px;
    line-height: 1.4;
    text-align: left;
    box-shadow: var(--shadow);
}

.mock-chrome {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 12px;
    border-bottom: 1px solid var(--m-border);
    background: #ece5d6;
}
.mock-chrome i { width: 9px; height: 9px; border-radius: 50%; background: rgba(61, 48, 28, .22); }
.mock-chrome .mock-url {
    flex: 1;
    max-width: 320px;
    margin: 0 auto;
    padding: 3px 10px;
    border-radius: 6px;
    background: rgba(255, 253, 248, .8);
    color: var(--m-muted);
    font-size: 10.5px;
    text-align: center;
}

.mock-appbar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 9px 14px;
    background: var(--m-surface);
    border-bottom: 1px solid var(--m-border);
}
.mock-appbar .m-brand { display: flex; align-items: center; gap: 6px; font-weight: 750; font-size: 12.5px; }
.mock-appbar .m-brand::before {
    content: "";
    width: 12px; height: 12px;
    border-radius: 4px;
    background: linear-gradient(140deg, #1d6b3f, #b0713a);
}
.mock-appbar nav { display: flex; gap: 2px; overflow: hidden; }
.mock-appbar nav span { padding: 3px 8px; border-radius: 999px; color: var(--m-muted); white-space: nowrap; }
.mock-appbar nav span.on { background: var(--m-primary-soft); color: var(--m-primary); font-weight: 650; }
.mock-appbar .m-farm {
    margin-left: auto;
    padding: 3px 9px;
    border: 1px solid var(--m-border);
    border-radius: 999px;
    color: var(--m-muted);
    white-space: nowrap;
}

.mock-body { padding: 16px; display: grid; gap: 12px; }
.mock-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.mock-title strong { font-size: 15px; letter-spacing: -.01em; }
.mock-title span { color: var(--m-muted); }

.m-card {
    padding: 12px;
    background: var(--m-surface);
    border: 1px solid var(--m-border);
    border-radius: 10px;
}
.m-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-weight: 650; }
.m-card-head small { color: var(--m-muted); font-weight: 500; }

.m-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.m-kpi { padding: 10px 12px; background: var(--m-surface); border: 1px solid var(--m-border); border-radius: 10px; }
.m-kpi small { display: block; color: var(--m-muted); font-size: 10.5px; }
.m-kpi b { display: block; margin-top: 2px; font-size: 17px; letter-spacing: -.02em; font-family: var(--font-num); font-weight: 650; }
.m-kpi em { font-style: normal; font-size: 10.5px; color: var(--m-primary); font-weight: 650; }
.m-kpi em.down { color: var(--m-red); }

.m-split { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; }
.m-split-even { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.m-chart { width: 100%; height: auto; }
.m-chart .grid-line { stroke: rgba(61, 48, 28, .10); stroke-width: 1; }
.m-chart .s-a { stroke: #1d6b3f; }
.m-chart .s-b { stroke: #3b62c4; }
.m-chart .s-n { stroke: #9b917e; }
.m-chart .f-a { fill: rgba(29, 107, 63, .12); }
.m-chart text { fill: #6f6653; font-size: 9px; font-family: var(--font-sans); }
.m-legend { display: flex; gap: 12px; color: var(--m-muted); font-size: 10.5px; margin-top: 6px; }
.m-legend i { display: inline-block; width: 10px; height: 3px; border-radius: 2px; margin-right: 5px; vertical-align: middle; }

.m-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.m-list li { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid var(--m-border); }
.m-list li:first-child { border-top: 0; }
.m-list .m-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.m-list .grow { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.chip {
    display: inline-flex;
    align-items: center;
    padding: 1px 7px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 650;
    white-space: nowrap;
}
.chip-green { background: rgba(29, 107, 63, .12); color: #1d6b3f; }
.chip-red { background: rgba(163, 47, 34, .11); color: #a32f22; }
.chip-amber { background: rgba(196, 140, 40, .18); color: #855610; }
.chip-blue { background: rgba(59, 98, 196, .12); color: #3b62c4; }
.chip-grey { background: rgba(61, 48, 28, .08); color: #5d5546; }

.m-table { width: 100%; border-collapse: collapse; }
.m-table th, .m-table td { padding: 6px 8px; border-bottom: 1px solid var(--m-border); text-align: left; white-space: nowrap; }
.m-table th { color: var(--m-muted); font-weight: 600; font-size: 10.5px; background: rgba(61, 48, 28, .03); }
.m-table td.r, .m-table th.r { text-align: right; font-family: var(--font-num); }
.m-table tr:last-child td { border-bottom: 0; }

.m-tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--m-border); }
.m-tabs span { padding: 6px 10px; color: var(--m-muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.m-tabs span.on { color: var(--m-primary); border-color: var(--m-primary); font-weight: 650; }

.m-profile { display: flex; gap: 12px; align-items: center; }
.m-avatar {
    width: 44px; height: 44px;
    border-radius: 12px;
    flex: none;
    background: linear-gradient(135deg, #c99a6b, #8c5a33);
    position: relative;
}
.m-avatar::after { content: ""; position: absolute; inset: 30% 22% 20%; border-radius: 40% 40% 30% 30%; background: rgba(255, 253, 248, .35); }
.m-profile strong { font-size: 14px; }
.m-profile small { display: block; color: var(--m-muted); }
.m-facts { display: flex; flex-wrap: wrap; gap: 14px; margin-left: auto; }
.m-facts div small { display: block; color: var(--m-muted); font-size: 10px; }
.m-facts div b { font-family: var(--font-num); font-size: 13px; }

.m-phase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.m-phase div { padding: 8px; border-radius: 8px; background: var(--m-primary-soft); }
.m-phase div:nth-child(2) { background: rgba(176, 113, 58, .14); }
.m-phase div:nth-child(3) { background: rgba(59, 98, 196, .12); }
.m-phase small { display: block; color: var(--m-muted); font-size: 10px; }
.m-phase b { font-size: 12px; }

.m-bar { height: 6px; border-radius: 999px; background: rgba(61, 48, 28, .08); overflow: hidden; }
.m-bar i { display: block; height: 100%; border-radius: inherit; background: #1d6b3f; }

.m-tank { display: flex; gap: 12px; align-items: flex-end; }
.m-tank-gauge {
    position: relative;
    width: 54px; height: 90px;
    border: 2px solid rgba(61, 48, 28, .2);
    border-radius: 10px 10px 14px 14px;
    overflow: hidden;
    background: #fff;
}
.m-tank-gauge i { position: absolute; inset: auto 0 0 0; height: 64%; background: linear-gradient(180deg, #e9eef7, #cfdcf2); }

.mock-phone {
    padding: 8px;
    border-radius: 30px;
    background: #1f1b14;
    box-shadow: var(--shadow-lg);
}
.mock-phone .mock-window { border-radius: 23px; border: 0; }
.mock-phone .mock-body { padding: 12px; gap: 10px; }
.m-notch { width: 70px; height: 16px; margin: 0 auto 4px; border-radius: 0 0 12px 12px; background: #1f1b14; }
.m-phone-head { display: flex; justify-content: space-between; align-items: center; padding: 6px 12px 0; font-weight: 700; font-size: 13px; }

.m-due { display: grid; gap: 6px; }
.m-due div { display: flex; align-items: center; gap: 8px; padding: 8px; border: 1px solid var(--m-border); border-radius: 9px; background: var(--m-surface); }
.m-due .m-box { width: 14px; height: 14px; border: 1.5px solid rgba(61, 48, 28, .35); border-radius: 4px; flex: none; }
.m-due .m-box.on { background: #1d6b3f; border-color: #1d6b3f; position: relative; }
.m-due .m-box.on::after { content: ""; position: absolute; left: 4px; top: 1px; width: 4px; height: 7px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }

.m-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.m-cal span { min-height: 34px; padding: 3px 4px; border-radius: 6px; background: var(--m-surface); border: 1px solid var(--m-border); font-size: 9.5px; color: var(--m-muted); }
.m-cal span i { display: block; margin-top: 3px; height: 4px; border-radius: 2px; }
.m-cal span.today { border-color: #1d6b3f; color: #1d6b3f; font-weight: 700; }

@media (max-width: 720px) {
    .m-kpis { grid-template-columns: repeat(2, 1fr); }
    .m-split, .m-split-even { grid-template-columns: 1fr; }
    .m-hide-sm { display: none !important; }
    .mock-appbar nav { display: none; }
    .m-facts { margin-left: 0; width: 100%; }
}

/* A phone mockup on its own in a showcase column stays phone-sized. */
.showcase .mock-phone { max-width: 300px; margin: 0 auto; }

/* Grid children may shrink below their content (wide mockup tables), so columns never push past the screen. */
.showcase > *, .page-hero-split > *, .form-layout > *, .article-layout > *, .grid > *, .m-split > *, .m-split-even > * { min-width: 0; }

/* Feature anchors clear both sticky bars (header + feature tabs). */
.feature-block { scroll-margin-top: 60px; }
