/* ── AnajMandi Admin ─────────────────────────────────────────────────────── */
:root {
    --bg: #f6f7f4;
    --surface: #ffffff;
    --surface-2: #f0f2ec;
    --text: #1d2318;
    --muted: #5e6857;
    --border: #dde1d6;
    --accent: #2f6b2a;
    --accent-soft: #e3efdf;
    --danger: #b3261e;
    --danger-soft: #fbe9e7;
    --info-soft: #e6f0fa;
    --shadow: 0 1px 2px rgba(20, 30, 10, .06), 0 1px 3px rgba(20, 30, 10, .04);
    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #12150f;
        --surface: #1a1e16;
        --surface-2: #22271d;
        --text: #e6eadf;
        --muted: #9aa490;
        --border: #30372a;
        --accent: #8cc97f;
        --accent-soft: #24331f;
        --danger: #f2b8b5;
        --danger-soft: #3a1f1c;
        --info-soft: #1c2a38;
        --shadow: none;
        color-scheme: dark;
    }
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 14px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Devanagari", sans-serif;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 1.5rem; margin: 0; letter-spacing: -.01em; }
h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 1.75rem 0 .6rem; }

/* Shell */
.shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.side {
    background: var(--surface); border-right: 1px solid var(--border);
    position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 1rem .75rem 2rem;
}
.brand { font-weight: 700; font-size: 1.05rem; padding: .25rem .5rem 1rem; }
.brand span { color: var(--accent); font-weight: 600; }
.brand.big { font-size: 1.5rem; padding: 0 0 .25rem; }
.side nav a { display: block; padding: .38rem .6rem; border-radius: 6px; color: var(--text); }
.side nav a:hover { background: var(--surface-2); text-decoration: none; }
.side nav a.active { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.nav-group {
    font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted);
    padding: 1.1rem .6rem .3rem;
}
.main { min-width: 0; }
.top {
    display: flex; align-items: center; gap: .75rem; padding: .6rem 1.5rem;
    border-bottom: 1px solid var(--border); background: var(--surface);
    position: sticky; top: 0; z-index: 5;
}
.top .menu { display: none; }
.who { color: var(--muted); }
main { padding: 1.25rem 1.5rem 3rem; max-width: 1600px; }
.spacer { flex: 1; }

/* Page header */
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1rem; justify-content: space-between; margin-bottom: .75rem; }
.crumb { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.sub { color: var(--muted); margin-top: .15rem; }
a.sub { color: var(--accent); display: inline-block; }
.hint { color: var(--muted); margin: .25rem 0 .75rem; }

/* Controls */
.btn {
    font: inherit; border-radius: 6px; padding: .42rem .8rem; cursor: pointer;
    border: 1px solid var(--border); background: var(--surface); color: var(--text);
}
.btn:disabled { opacity: .5; cursor: default; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--surface); font-weight: 600; }
.btn.ghost:hover:not(:disabled) { background: var(--surface-2); }
input, select {
    font: inherit; color: var(--text); background: var(--surface);
    border: 1px solid var(--border); border-radius: 6px; padding: .38rem .55rem;
}
input:focus, select:focus, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

.filters { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: .75rem; }
.filters .search { min-width: 220px; }
.filters .date, .filters .check { display: inline-flex; align-items: center; gap: .35rem; color: var(--muted); }
.party-pick { position: relative; }
.suggest {
    position: absolute; z-index: 10; top: 100%; left: 0; min-width: 280px; margin: .2rem 0 0; padding: .25rem;
    list-style: none; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow);
    max-height: 320px; overflow-y: auto;
}
.suggest button {
    display: block; width: 100%; text-align: left; font: inherit; color: var(--text);
    background: none; border: 0; padding: .4rem .5rem; border-radius: 5px; cursor: pointer;
}
.suggest button:hover { background: var(--surface-2); }
.suggest small { color: var(--muted); margin-left: .35rem; }
.chip {
    display: inline-flex; align-items: center; gap: .3rem; background: var(--accent-soft); color: var(--accent);
    border-radius: 999px; padding: .25rem .35rem .25rem .7rem; font-weight: 600;
}
.chip button { border: 0; background: none; color: inherit; cursor: pointer; font-size: 1rem; line-height: 1; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .6rem; }
.card {
    display: flex; flex-direction: column; gap: .2rem; text-align: left; font: inherit; color: var(--text);
    background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: .75rem .9rem;
    box-shadow: var(--shadow);
}
.card.link { cursor: pointer; }
.card.link:hover { border-color: var(--accent); text-decoration: none; }
.card .label { color: var(--muted); font-size: .8rem; }
.card .value { font-size: 1.35rem; font-weight: 650; font-variant-numeric: tabular-nums; }

/* Profile */
.profile {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .5rem 1.25rem;
    background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: .9rem 1rem; margin: .5rem 0 1rem;
}
.profile dt { color: var(--muted); font-size: .78rem; }
.profile dd { margin: 0; }

/* Tabs */
.tabs { display: flex; flex-wrap: wrap; gap: .25rem; border-bottom: 1px solid var(--border); margin: 1.5rem 0 .75rem; }
.tabs button {
    font: inherit; color: var(--muted); background: none; border: 0; border-bottom: 2px solid transparent;
    padding: .5rem .75rem; cursor: pointer; margin-bottom: -1px;
}
.tabs button:hover { color: var(--text); }
.tabs button.active { color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; }

/* Grid */
.grid-wrap {
    overflow-x: auto; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow);
}
.grid { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.grid th, .grid td { padding: .45rem .7rem; border-bottom: 1px solid var(--border); text-align: left; white-space: nowrap; vertical-align: top; }
.grid th {
    position: sticky; top: 0; background: var(--surface-2); font-size: .75rem; font-weight: 600;
    color: var(--muted); text-transform: uppercase; letter-spacing: .04em;
}
.grid tbody tr:last-child td { border-bottom: 0; }
.grid tbody tr:hover td { background: var(--surface-2); }
.grid .num { text-align: right; }
.grid .center { text-align: center; }
.grid .long { white-space: normal; min-width: 220px; max-width: 420px; }
.grid .neg { color: var(--danger); }
.grid tr.deleted td { color: var(--muted); text-decoration: line-through; }
.grid td.empty { text-align: center; color: var(--muted); padding: 1.5rem; }
.pill { display: inline-block; font-size: .75rem; border-radius: 999px; padding: .05rem .5rem; }
.pill.yes { background: var(--accent-soft); color: var(--accent); }
.pill.no { background: var(--surface-2); color: var(--muted); }

.pager { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: .6rem; color: var(--muted); }
.stale { opacity: .55; transition: opacity .15s; }

/* Messages */
.error, .info { border-radius: 8px; padding: .6rem .8rem; margin: .5rem 0; }
.error { background: var(--danger-soft); color: var(--danger); }
.info { background: var(--info-soft); }
.loading { color: var(--muted); padding: 1rem 0; }
.loading.full { padding: 3rem; text-align: center; }

/* Login */
.login { min-height: 100vh; display: grid; place-items: center; padding: 1rem; }
.login-card {
    width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: .8rem;
    background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.75rem; box-shadow: var(--shadow);
}
.login-card label { display: flex; flex-direction: column; gap: .3rem; color: var(--muted); }
.login-card input { font-size: 1.05rem; padding: .55rem .7rem; }
.login-card .btn { padding: .6rem; }

/* Landing (sign-in) page. The hero is a fixed deep green in both themes; the
   sign-in side and footer follow the theme tokens. */
.landing {
    min-height: 100vh; display: grid; background: var(--bg);
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); grid-template-rows: 1fr auto;
}
.landing-hero {
    position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 1.75rem;
    padding: 2rem clamp(1.25rem, 4vw, 3.25rem) 5.5rem; color: #eef5e8;
    background:
        radial-gradient(1200px 500px at 110% -10%, rgba(232, 196, 92, .22), transparent 60%),
        radial-gradient(800px 400px at -20% 110%, rgba(140, 201, 127, .18), transparent 60%),
        linear-gradient(160deg, #1f4d1c 0%, #173a15 55%, #102a0f 100%);
}
.landing-brand { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; }
.landing-brand > span:last-child { color: #e8c45c; font-weight: 600; }
.landing-mark {
    display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
    background: rgba(232, 196, 92, .16); color: #e8c45c; border: 1px solid rgba(232, 196, 92, .35);
}

/* Slides stack in one grid cell and cross-fade. */
.slides { display: grid; flex: 1; align-items: center; position: relative; z-index: 1; }
.slide {
    grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 2rem; align-items: center;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .6s ease, transform .6s ease, visibility 0s linear .6s;
}
.slide.active { opacity: 1; visibility: visible; transform: none; transition: opacity .6s ease, transform .6s ease, visibility 0s; }
.slide-art { width: 100%; height: auto; max-width: 440px; justify-self: center; border-radius: 22px; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.landing-eyebrow { margin: 0 0 .7rem; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: #e8c45c; font-weight: 600; }
.slide-copy h1 { font-size: clamp(1.7rem, 2.8vw, 2.5rem); line-height: 1.12; letter-spacing: -.02em; margin: 0; color: #ffffff; text-wrap: balance; }
.landing-hindi { margin: .55rem 0 0; font-size: 1.12rem; color: #e8d9a8; font-family: "Noto Sans Devanagari", system-ui, sans-serif; }
.landing-lead { margin: .9rem 0 1rem; color: #c2d6b9; font-size: .98rem; line-height: 1.6; max-width: 46ch; }
.slide-points { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.slide-points li { position: relative; padding-left: 1.4rem; color: #dfeadb; font-size: .9rem; }
.slide-points li::before {
    content: ""; position: absolute; left: 0; top: .42em; width: .7rem; height: .7rem; border-radius: 50%;
    background: #e8c45c; box-shadow: 0 0 0 3px rgba(232, 196, 92, .25);
}

.slide-nav { display: flex; align-items: center; gap: .5rem; position: relative; z-index: 1; }
.slide-dot {
    width: 10px; height: 10px; padding: 0; border-radius: 999px; border: 0; cursor: pointer;
    background: rgba(255, 255, 255, .35); transition: width .3s ease, background .3s ease;
}
.slide-dot.active { width: 28px; background: #e8c45c; }
.slide-arrow {
    width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; line-height: 1;
    color: #eef5e8; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2);
}
.slide-arrow:hover, .slide-dot:hover { background: rgba(255, 255, 255, .22); }
.slide-dot.active:hover { background: #e8c45c; }
.slide-dot:focus-visible, .slide-arrow:focus-visible { outline: 2px solid #e8c45c; outline-offset: 2px; }

.landing-field { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 110px; }
.landing-field path:first-child { fill: rgba(232, 196, 92, .14); }
.landing-field path:last-child { fill: rgba(140, 201, 127, .16); }

.landing-signin { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem 1.25rem; }
.landing-signin .login-card { max-width: 410px; padding: 2rem; border-radius: 16px; }
.landing-signin .login-card h2 { margin: 0; font-size: 1.4rem; text-transform: none; letter-spacing: -.01em; color: var(--text); }
.landing-signin .login-card h2 span, .login-card label span span { color: var(--muted); font-weight: 400; }
.landing-signin .login-card h2 span { font-size: 1.05rem; }
.landing-signin .login-card .hint { margin: 0 0 .25rem; }
.landing-secure { margin: .25rem 0 0; font-size: .78rem; color: var(--muted); }

.landing-footer {
    grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 2rem;
    padding: 1.1rem clamp(1.25rem, 4vw, 3.25rem); border-top: 1px solid var(--border); background: var(--surface); font-size: .88rem;
}
.footer-brand strong { color: var(--accent); }
.footer-brand .muted { font-size: .78rem; }
.footer-contact { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.footer-contact li { white-space: nowrap; color: var(--muted); }
.footer-copy { font-size: .78rem; }

@media (max-width: 1250px) {
    .slide { grid-template-columns: 1fr; gap: 1.25rem; }
    .slide-art { max-width: 360px; justify-self: start; order: -1; }
}
@media (max-width: 900px) {
    .landing { grid-template-columns: 1fr; grid-template-rows: auto auto auto; }
    .landing-hero { padding-bottom: 4.5rem; }
    .slide-art { max-width: 100%; }
    .footer-contact li { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
    .slide, .slide.active, .slide-dot { transition: none; transform: none; }
}

/* AI models */
.ai-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
    padding: 1rem 1.1rem; margin-bottom: 1rem; box-shadow: var(--shadow);
}
.ai-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; align-items: flex-start; }
.ai-head h3 { margin: 0 0 .2rem; font-size: 1.05rem; }
.ai-form { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .6rem .9rem; margin: .9rem 0 .4rem; }
.ai-form label { display: flex; flex-direction: column; gap: .25rem; color: var(--muted); font-size: .8rem; }
.ai-form label.wide { grid-column: 1 / -1; }
.ai-form input, .ai-form select { width: 100%; font-size: .9rem; color: var(--text); }
.ai-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin: .5rem 0; }
.pill.warn { background: var(--danger-soft); color: var(--danger); }
.sample {
    white-space: pre-wrap; word-break: break-word; background: var(--surface); border: 1px solid var(--border);
    border-radius: 6px; padding: .5rem .6rem; margin: .5rem 0 0; font-size: .8rem; max-height: 220px; overflow: auto;
}
.info audio { display: block; margin-top: .5rem; max-width: 100%; }
.muted { color: var(--muted); }

/* Crop scan */
.scan-layout { display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: 1.25rem; align-items: start; margin-top: .5rem; }
.scan-photo img {
    width: 100%; border-radius: 10px; border: 1px solid var(--border); display: block; background: var(--surface-2);
}
@media (max-width: 860px) { .scan-layout { grid-template-columns: 1fr; } }

/* Crop masters */
.ai-card h4 { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 1.1rem 0 .45rem; }
.page-head h1 .pill { vertical-align: middle; font-size: .7rem; font-weight: 600; }
.row-actions { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: flex-end; }
.grid td.row-actions { white-space: nowrap; }
.cell-input { width: 100%; min-width: 160px; }
input.narrow, .cell-input.narrow { width: 8rem; min-width: 0; }
.add-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: .6rem 0; }
.add-row > input:not(.narrow) { flex: 1 1 220px; }
.add-row .check { display: inline-flex; align-items: center; gap: .35rem; color: var(--muted); }

/* Hindi typing help (HindiInput) */
.hindi-input { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.add-row > .hindi-input { flex: 1 1 220px; }
.hindi-input input { width: 100%; }
.hindi-suggest { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; font-size: .78rem; }
.hindi-suggest button {
    font: inherit; font-size: .95rem; line-height: 1.3; cursor: pointer; border-radius: 999px; padding: .08rem .6rem;
    border: 1px solid var(--accent); background: var(--accent-soft); color: var(--accent);
}
.hindi-suggest button:first-of-type { font-weight: 600; }
.hindi-suggest button:hover { background: var(--accent); color: var(--surface); }

/* Phone */
@media (max-width: 860px) {
    .shell { grid-template-columns: 1fr; }
    .side { position: fixed; z-index: 20; left: 0; width: 260px; transform: translateX(-100%); transition: transform .2s; box-shadow: var(--shadow); }
    .shell.menu-open .side { transform: none; }
    .top .menu { display: inline-block; }
    main { padding: 1rem; }
    .filters .search { min-width: 0; flex: 1 1 100%; }
}

/* ── Public product page (Components/Landing.razor) ───────────────────────────
   Deep-green hero, CTA and footer stay the same in both themes; the sections
   in between follow the theme tokens. */
.mk { --gold: #e8c45c; --deep: #173a15; background: var(--bg); color: var(--text); scroll-behavior: smooth; }
.mk-wrap { max-width: 1160px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }

.mk-nav {
    position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 1rem;
    padding: .75rem clamp(1rem, 4vw, 2rem); background: rgba(16, 42, 15, .92); backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.mk-logo { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; font-size: 1.15rem; color: #ffffff; }
.mk-logo:hover { text-decoration: none; }
.mk-links { display: flex; gap: 1.4rem; margin-left: auto; }
.mk-links a { color: #cfe3c6; font-size: .92rem; }
.mk-links a:hover { color: #ffffff; text-decoration: none; }
.mk-nav-cta { display: flex; gap: .5rem; margin-left: 1rem; }

.mk-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .5rem 1rem; border-radius: 999px;
    font-weight: 600; font-size: .92rem; border: 1px solid transparent; white-space: nowrap;
}
.mk-btn:hover { text-decoration: none; filter: brightness(1.06); }
.mk-btn.gold { background: var(--gold); color: #1f2a0b; }
.mk-btn.ghost { color: #eef5e8; border-color: rgba(255, 255, 255, .35); }
.mk-btn.ghost:hover { background: rgba(255, 255, 255, .08); }
.mk-btn.lg { padding: .75rem 1.4rem; font-size: 1rem; }

.mk-hero {
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2rem; align-items: center;
    padding: clamp(2.5rem, 6vw, 5rem) max(clamp(1rem, 4vw, 2rem), calc((100vw - 1160px) / 2 + 2rem)) clamp(3rem, 6vw, 5rem);
    color: #eef5e8;
    background:
        radial-gradient(900px 420px at 100% 0%, rgba(232, 196, 92, .2), transparent 60%),
        radial-gradient(700px 380px at 0% 100%, rgba(140, 201, 127, .16), transparent 60%),
        linear-gradient(160deg, #1f4d1c 0%, #173a15 55%, #102a0f 100%);
}
.mk-pill {
    display: inline-block; margin: 0 0 1rem; padding: .3rem .8rem; border-radius: 999px; font-size: .82rem;
    background: rgba(232, 196, 92, .14); border: 1px solid rgba(232, 196, 92, .35); color: #f1dc9c;
}
.mk-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.05; letter-spacing: -.025em; margin: 0; color: #ffffff; text-wrap: balance; }
.mk-hero h1 span { color: var(--gold); }
.mk-hindi { margin: .8rem 0 0; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: #e8d9a8; font-family: "Noto Sans Devanagari", system-ui, sans-serif; }
.mk-lead { margin: 1rem 0 1.6rem; color: #c2d6b9; font-size: 1.05rem; line-height: 1.65; max-width: 52ch; }
.mk-cta-row { display: flex; flex-wrap: wrap; gap: .7rem; }
.mk-cta-row.center { justify-content: center; }
.mk-crops { list-style: none; margin: 1.6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.mk-crops li {
    padding: .25rem .75rem; border-radius: 999px; font-size: .9rem; color: #eef5e8;
    background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
}
.mk-hero-art { width: 100%; max-width: 520px; height: auto; justify-self: center; }

.mk-band { background: var(--surface); border-bottom: 1px solid var(--border); padding: 2.5rem 0; }
.mk-compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.5rem; align-items: center; }
.mk-compare h3 { margin: 0 0 .7rem; font-size: 1.05rem; }
.mk-compare ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
.mk-compare li { padding-left: 1.6rem; position: relative; }
.mk-before li::before { content: "✕"; position: absolute; left: 0; color: var(--danger); font-weight: 700; }
.mk-after li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.mk-before { padding: 1.25rem 1.4rem; border-radius: 14px; background: var(--danger-soft); }
.mk-after { padding: 1.25rem 1.4rem; border-radius: 14px; background: var(--accent-soft); }
.mk-arrow { font-size: 2rem; color: var(--muted); }

.mk-section { padding: clamp(3rem, 7vw, 5rem) 0; }
.mk-section.alt { background: var(--surface-2); }
.mk-eyebrow { margin: 0 0 .5rem; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.mk-section h2, .mk-cta h2 {
    font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5rem;
    text-transform: none; color: var(--text); text-wrap: balance;
}
.mk-sub { margin: 0 0 2rem; color: var(--muted); font-size: 1.1rem; font-family: "Noto Sans Devanagari", system-ui, sans-serif; }

.mk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.mk-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mk-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 1.3rem 1.25rem;
    box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease;
}
.mk-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(20, 40, 10, .12); }
.mk-card h3 { margin: .8rem 0 .1rem; font-size: 1.05rem; }
.mk-card p { margin: .35rem 0 0; color: var(--muted); line-height: 1.55; font-size: .92rem; }
.mk-card .mk-card-hi { color: var(--accent); font-size: .95rem; margin-top: 0; font-family: "Noto Sans Devanagari", system-ui, sans-serif; }
.mk-icon {
    display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; font-size: 1.4rem;
    background: var(--accent-soft); border: 1px solid var(--border);
}

.mk-spot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.mk-spot img { width: 100%; height: auto; border-radius: 22px; box-shadow: 0 18px 40px rgba(10, 30, 5, .25); }
.mk-spot.reverse img { order: 2; }
.mk-spot p { color: var(--muted); line-height: 1.65; font-size: 1rem; }
.mk-spot p.mk-eyebrow { color: var(--accent); font-size: .78rem; line-height: 1.45; }
.mk-section.boards p.mk-eyebrow { color: var(--gold); }
.mk-ticks { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .5rem; }
.mk-ticks li { position: relative; padding-left: 1.7rem; }
.mk-ticks li::before {
    content: "✓"; position: absolute; left: 0; top: .05rem; width: 1.2rem; height: 1.2rem; border-radius: 50%;
    display: grid; place-items: center; font-size: .72rem; font-weight: 800; background: var(--accent); color: var(--surface);
}

.mk-steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; counter-reset: none; }
.mk-steps li {
    position: relative; display: flex; flex-direction: column; gap: .25rem; padding: 1.4rem 1.2rem;
    background: var(--surface); border: 1px solid var(--border); border-radius: 16px; color: var(--muted); font-size: .92rem;
}
.mk-steps span {
    display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; margin-bottom: .5rem;
    background: var(--gold); color: #1f2a0b; font-weight: 800;
}
.mk-steps strong { color: var(--text); font-size: 1.05rem; }
.mk-steps em { font-style: normal; color: var(--accent); font-family: "Noto Sans Devanagari", system-ui, sans-serif; }

.mk-section.boards { background: linear-gradient(160deg, #1f4d1c, #102a0f); color: #eef5e8; }
.mk-section.boards h2 { color: #ffffff; }
.mk-section.boards .mk-eyebrow { color: var(--gold); }
.mk-section.boards p { color: #c2d6b9; }
.mk-section.boards .mk-ticks li::before { background: var(--gold); color: #1f2a0b; }
.mk-soon { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.mk-soon strong { width: 100%; color: var(--gold); font-size: .85rem; letter-spacing: .04em; }
.mk-soon span {
    padding: .3rem .75rem; border-radius: 999px; font-size: .85rem; color: #eef5e8;
    border: 1px solid rgba(232, 196, 92, .55); background: rgba(232, 196, 92, .12);
}

.mk-faq { max-width: 820px; }
.mk-faq details {
    background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: .95rem 1.15rem; margin-top: .7rem;
}
.mk-faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.mk-faq summary::-webkit-details-marker { display: none; }
.mk-faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.mk-faq details[open] summary::after { content: "−"; }
.mk-faq details p { margin: .7rem 0 0; color: var(--muted); line-height: 1.6; }

.mk-cta {
    padding: clamp(3rem, 7vw, 4.5rem) 0; text-align: center; color: #eef5e8;
    background:
        radial-gradient(700px 300px at 50% 0%, rgba(232, 196, 92, .22), transparent 70%),
        linear-gradient(160deg, #24561f, #102a0f);
}
.mk-cta h2 { color: #ffffff; }
.mk-cta p { margin: .3rem 0 1.6rem; color: #e8d9a8; font-size: 1.1rem; font-family: "Noto Sans Devanagari", system-ui, sans-serif; }

.mk-footer { background: #0d200c; color: #b8ccb0; padding: 2.75rem 0 1.25rem; font-size: .92rem; }
.mk-foot-grid { display: grid; grid-template-columns: 1.3fr 1.4fr 1fr; gap: 2rem; }
.mk-footer h4 { margin: 0 0 .7rem; color: #ffffff; font-size: .95rem; }
.mk-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.mk-footer a { color: #e8c45c; }
.mk-footer p { margin: .6rem 0 0; }
.mk-footer .muted { color: #8fa486; }
.mk-copy { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8rem; color: #8fa486; }

@media (max-width: 1000px) {
    .mk-links { display: none; }
    .mk-hero, .mk-spot { grid-template-columns: 1fr; }
    .mk-spot.reverse img { order: 0; }
    .mk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mk-grid.four, .mk-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mk-foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .mk-nav-cta .mk-btn.gold { display: none; }
    .mk-grid, .mk-grid.four, .mk-steps, .mk-foot-grid { grid-template-columns: 1fr; }
    .mk-compare { grid-template-columns: 1fr; }
    .mk-arrow { transform: rotate(90deg); justify-self: center; }
    .mk-btn.lg { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .mk { scroll-behavior: auto; }
    .mk-card { transition: none; }
}

/* Hero carousel: slides stack in one grid cell and cross-fade. */
.mk-hero { display: block; }
.mk-hero-slides { display: grid; }
.mk-hero-slide {
    grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2rem; align-items: center;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity .7s ease, transform .7s ease, visibility 0s linear .7s;
}
.mk-hero-slide.active { opacity: 1; visibility: visible; transform: none; transition: opacity .7s ease, transform .7s ease, visibility 0s; }
.mk-hero-nav { display: flex; align-items: center; gap: .5rem; margin-top: 1.75rem; }

.mk-btn.green { background: var(--accent); color: var(--surface); }
.mk-btn.outline { color: var(--accent); border-color: var(--accent); }
.mk-btn.outline:hover { background: var(--accent-soft); }

/* Benefits */
.mk-grid.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.mk-benefit { text-align: center; padding: 1.4rem 1rem; }
.mk-benefit .mk-icon { margin: 0 auto; width: 56px; height: 56px; font-size: 1.6rem; border-radius: 50%; }
.mk-benefit h3 { margin: .8rem 0 .3rem; font-size: 1.05rem; }
.mk-benefit p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.5; }

/* A day at the gaddi */
.mk-day { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; position: relative; }
.mk-day::before {
    content: ""; position: absolute; left: 4%; right: 4%; top: 3.15rem; height: 3px; border-radius: 3px;
    background: linear-gradient(90deg, var(--gold), var(--accent));
}
.mk-day li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 .5rem; }
.mk-day-time { font-weight: 800; color: var(--accent); font-size: .95rem; margin-bottom: .5rem; }
.mk-day-dot {
    position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
    font-size: 1.3rem; background: var(--surface); border: 3px solid var(--gold); margin-bottom: .8rem;
}
.mk-day strong { display: block; font-size: .98rem; }
.mk-day p { margin: .3rem 0 0; color: var(--muted); font-size: .86rem; line-height: 1.45; }

/* WhatsApp */
.mk-wa-wrap > div > p { color: var(--muted); max-width: 62ch; line-height: 1.65; }
.mk-wa { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.mk-wa li {
    display: flex; gap: .8rem; align-items: flex-start; padding: 1.1rem; border-radius: 16px;
    background: var(--surface); border: 1px solid var(--border); border-left: 4px solid #25d366;
}
.mk-wa li > span { font-size: 1.5rem; line-height: 1; }
.mk-wa strong { display: block; }
.mk-wa em { font-style: normal; color: var(--muted); font-size: .88rem; }

/* Crops */
.mk-crop-band {
    padding: clamp(2.5rem, 6vw, 4rem) 0; text-align: center;
    background: linear-gradient(180deg, rgba(232, 196, 92, .16), rgba(232, 196, 92, .04)), var(--surface);
    border-block: 1px solid var(--border);
}
.mk-crop-band h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin: 0; text-transform: none; color: var(--text); letter-spacing: -.02em; }
.mk-crop-grid { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: .8rem; }
.mk-crop-grid li {
    display: flex; flex-direction: column; align-items: center; gap: .2rem; padding: 1rem .5rem; border-radius: 16px;
    background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.mk-crop-grid li.more { border-style: dashed; background: transparent; box-shadow: none; }
.mk-crop-emoji { font-size: 1.9rem; line-height: 1.1; }
.mk-crop-grid strong { font-size: 1.1rem; font-family: "Noto Sans Devanagari", system-ui, sans-serif; }
.mk-crop-grid span:last-child { color: var(--muted); font-size: .8rem; }

/* Getting started */
.mk-start { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.mk-start li {
    position: relative; padding: 1.75rem 1.4rem 1.4rem; border-radius: 18px; background: var(--surface);
    border: 1px solid var(--border); box-shadow: var(--shadow);
}
.mk-start li > span {
    position: absolute; top: -18px; left: 1.4rem; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
    background: var(--accent); color: var(--surface); font-weight: 800; font-size: 1.1rem;
}
.mk-start strong { display: block; font-size: 1.1rem; margin-top: .4rem; }
.mk-start p { margin: .45rem 0 0; color: var(--muted); line-height: 1.6; font-family: "Noto Sans Devanagari", system-ui, sans-serif; }
.mk-start-cta { margin-top: 2rem; }

@media (max-width: 1000px) {
    .mk-hero-slide { grid-template-columns: 1fr; }
    .mk-hero-slide .mk-hero-art { max-width: 400px; }
    .mk-grid.five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .mk-day { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 1.5rem; }
    .mk-day::before { display: none; }
    .mk-wa { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mk-crop-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .mk-start { grid-template-columns: 1fr; row-gap: 2rem; }
}
@media (max-width: 640px) {
    .mk-grid.five, .mk-wa { grid-template-columns: 1fr; }
    .mk-day { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mk-crop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
    .mk-hero-slide, .mk-hero-slide.active { transition: none; transform: none; }
}

/* WhatsApp contact (+91-8149910989) */
.mk-btn.wa { background: #25d366; color: #ffffff; }
.mk-btn.wa svg { flex: none; }
.mk-wa-line { display: flex; align-items: center; gap: .35rem; }
.mk-wa-line svg { color: #25d366; flex: none; }
.mk-wa-float {
    position: fixed; right: 18px; bottom: 18px; z-index: 50; display: inline-flex; align-items: center; gap: .5rem;
    padding: .6rem 1rem .6rem .7rem; border-radius: 999px; background: #25d366; color: #ffffff; font-weight: 700;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .3); animation: mk-wa-pop .5s ease both .8s;
}
.mk-wa-float:hover { text-decoration: none; filter: brightness(1.05); transform: translateY(-2px); }
.mk-wa-float:focus-visible { outline: 3px solid #e8c45c; outline-offset: 2px; }
@keyframes mk-wa-pop { from { opacity: 0; transform: translateY(12px) scale(.9); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
    .mk-wa-float { padding: .7rem; }
    .mk-wa-float span { display: none; }
}
@media (prefers-reduced-motion: reduce) { .mk-wa-float { animation: none; } }
