        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        :root {
            /* ── Dark-mode tokens (hero, nav, footer, modal) ── */
            --bg-deep: #04130f;
            --bg-panel: #07201a;
            --green-100: #d1fae5;
            --green-300: #6ee7b7;
            --green-400: #34d399;
            --green-500: #10b981;
            --green-600: #059669;
            --green-700: #047857;
            --cyan-400: #22d3ee;
            --cyan-500: #06b6d4;
            --slate-100: #f1f5f9;
            --slate-200: #e2e8f0;
            --slate-300: #cbd5e1;
            --slate-400: #94a3b8;
            --slate-500: #64748b;
            --slate-700: #334155;
            --slate-800: #1e293b;
            --slate-900: #0f172a;
            --shadow-card: 0 24px 60px -16px rgba(0, 0, 0, 0.55);
            --shadow-card-hover: 0 32px 80px -10px rgba(0, 0, 0, 0.65);
            --border-soft: rgba(255, 255, 255, 0.1);

            /* ── Light-mode section tokens ── */
            --bg-light: #ffffff;
            --bg-light-alt: #f8fafc;
            --bg-light-card: #ffffff;
            --text-on-light: #1e293b;
            --text-on-light-muted: #64748b;
            --card-light-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
            --card-light-shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.12);
            --section-pad: clamp(3rem, 8vw, 6rem);
            --container-max: 1120px;
        }
        html, body {
            height: 100%;
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            color: var(--slate-100);
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            text-rendering: optimizeLegibility;
        }
        html[lang="th"] body { font-family: 'Sarabun', 'Inter', sans-serif; }
        html { scroll-behavior: smooth; scroll-padding-top: 76px; }
        body {
            display: flex;
            flex-direction: column;
            min-height: 100vh;
            position: relative;
            overflow-x: clip;
            background: var(--bg-deep);
        }

        /* ─── Decision-support background: gradient mesh + data grid (lightweight, CSS-only) ─── */
        .dss-bg {
            position: fixed;
            inset: 0;
            z-index: -3;
            background:
                radial-gradient(ellipse 60% 50% at 18% 12%, rgba(16, 185, 129, 0.22) 0%, transparent 60%),
                radial-gradient(ellipse 50% 50% at 85% 18%, rgba(6, 182, 212, 0.18) 0%, transparent 55%),
                radial-gradient(ellipse 55% 60% at 70% 90%, rgba(16, 185, 129, 0.14) 0%, transparent 60%),
                radial-gradient(ellipse 50% 50% at 12% 88%, rgba(34, 211, 238, 0.10) 0%, transparent 55%),
                linear-gradient(160deg, #04130f 0%, #061a15 45%, #04120f 100%);
        }
        /* faint blueprint dot-grid */
        .dss-grid {
            position: fixed;
            inset: 0;
            z-index: -2;
            background-image:
                linear-gradient(rgba(110, 231, 183, 0.05) 1px, transparent 1px),
                linear-gradient(90deg, rgba(110, 231, 183, 0.05) 1px, transparent 1px);
            background-size: 46px 46px;
            mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, #000 30%, transparent 80%);
            -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, #000 30%, transparent 80%);
            animation: gridDrift 40s linear infinite;
        }
        @keyframes gridDrift {
            from { background-position: 0 0, 0 0; }
            to { background-position: 46px 46px, 46px 46px; }
        }
        /* slow-floating glow orbs */
        body::before {
            content: '';
            position: fixed;
            top: -180px; right: -160px;
            width: 560px; height: 560px;
            background: radial-gradient(circle, rgba(16, 185, 129, 0.18) 0%, transparent 65%);
            pointer-events: none;
            z-index: -1;
            animation: glow 14s ease-in-out infinite alternate;
        }
        @keyframes glow {
            from { transform: translate(0, 0); }
            to { transform: translate(-60px, 50px); }
        }

        /* ═══ NAV — fixed, glassmorphism ═══ */
        .topbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 18px 40px;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 100;
            gap: 16px;
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            background: rgba(4, 19, 15, 0.72);
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            transition: padding 0.25s, box-shadow 0.25s, background 0.25s;
        }
        .topbar.scrolled {
            padding: 12px 40px;
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
        }
        .brand-mark { display: flex; align-items: center; }
        .brand-mark img {
            height: 52px;
            width: auto;
            filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.55));
            transition: height 0.25s;
        }
        .topbar.scrolled .brand-mark img { height: 44px; }
        .topnav {
            display: flex;
            gap: 2px;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
        }
        .nav-link {
            padding: 7px 14px;
            font-size: 0.82rem;
            font-weight: 600;
            color: var(--slate-300);
            text-decoration: none;
            border-radius: 8px;
            transition: all 0.18s ease;
            letter-spacing: 0.01em;
        }
        .nav-link:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }

        /* Hamburger (hidden on desktop) */
        .hamburger {
            display: none;
            width: 40px; height: 40px;
            align-items: center; justify-content: center;
            background: none; border: 1px solid rgba(255,255,255,0.12);
            border-radius: 8px; cursor: pointer;
            flex-direction: column; gap: 5px; padding: 10px;
            order: 3;
        }
        .hamburger span {
            display: block; width: 18px; height: 2px;
            background: #fff; border-radius: 2px;
            transition: all 0.2s;
        }
        .hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
        .hamburger.open span:nth-child(2) { opacity: 0; }
        .hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
        .mobile-nav {
            display: none;
            position: absolute;
            top: 100%;
            left: 0; right: 0;
            background: rgba(4, 19, 15, 0.98);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(255,255,255,0.08);
            padding: 16px 24px 20px;
            flex-direction: column; gap: 4px;
            z-index: 99;
        }
        .mobile-nav.open { display: flex; }
        .mobile-nav a {
            display: block;
            padding: 12px 16px;
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--slate-200);
            text-decoration: none;
            border-radius: 8px;
            transition: background 0.15s;
        }
        .mobile-nav a:hover { background: rgba(255,255,255,0.07); color: #fff; }

        .topbar-right { display: flex; align-items: center; gap: 12px; }
        .login-btn {
            padding: 8px 16px;
            font-size: 0.82rem;
            font-weight: 700;
            font-family: inherit;
            color: #fff;
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.16);
            border-radius: 9px;
            cursor: pointer;
            transition: all 0.18s ease;
            white-space: nowrap;
        }
        .login-btn:hover { background: rgba(16, 185, 129, 0.2); border-color: rgba(16, 185, 129, 0.4); }

        /* Language switch */
        .lang-switch { position: relative; }
        .lang-switch-btn {
            width: 42px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
            background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: 8px;
            color: #FFFFFF; font-size: 0.95rem; font-weight: 600; cursor: pointer;
            font-family: 'Inter', sans-serif; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
            transition: background 0.15s, border-color 0.15s;
        }
        .lang-switch-btn:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.22); }
        .lang-menu {
            display: none; position: absolute; right: 0; top: calc(100% + 6px);
            background: rgba(15,30,20,0.96); border: 1px solid rgba(255,255,255,0.12); border-radius: 10px;
            overflow: hidden; z-index: 3000; min-width: 140px; box-shadow: 0 8px 24px rgba(0,0,0,0.5);
            backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
        }
        .lang-menu.open { display: block; }
        .lang-menu button {
            display: block; width: 100%; text-align: left; padding: 10px 16px;
            background: none; border: none; color: rgba(255,255,255,0.8); font-size: 0.88rem;
            font-family: 'Inter', sans-serif; cursor: pointer; transition: background 0.12s;
        }
        .lang-menu button:hover { background: rgba(255,255,255,0.08); }
        .lang-menu button.active { color: #27AE60; font-weight: 600; }

        /* Main */
        main {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 0;
            position: relative;
            z-index: 1;
        }

        /* ═══ HERO — full-bleed photo background (Fasal-style) ═══ */
        .hero-fullbleed {
            position: relative;
            width: 100%;
            min-height: 92vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            background: url('/assets/orchard-hero.jpg') center 30% / cover no-repeat;
            overflow: hidden;
        }
        .hero-fullbleed::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(
                105deg,
                rgba(4,19,15,0.93) 0%,
                rgba(4,19,15,0.80) 50%,
                rgba(4,19,15,0.30) 100%
            );
            z-index: 0;
        }
        .hero-inner {
            position: relative;
            z-index: 1;
            width: 100%;
            max-width: 1040px;
            padding: 104px 60px 48px;
            animation: contentRise 0.9s 0.15s ease-out backwards;
        }
        @keyframes contentRise {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .hero-bullets {
            list-style: none;
            margin: 26px 0 34px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px 40px;
            max-width: 880px;
        }
        .hero-bullets li {
            display: flex;
            align-items: flex-start;
            gap: 11px;
            font-size: 0.97rem;
            color: rgba(255,255,255,0.8);
            line-height: 1.45;
            padding: 12px 16px;
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 12px;
            backdrop-filter: blur(4px);
        }
        .hero-bullets li svg { margin-top: 1px; }
        .hero-bullets li svg {
            flex-shrink: 0;
            width: 18px; height: 18px;
            color: var(--green-400);
        }
        .hero-bullets strong { color: #fff; font-weight: 700; }
        .hero-cta-group {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .hero-btn-sub {
            display: block;
            font-size: 0.71rem;
            color: rgba(255,255,255,0.4);
            margin-top: 6px;
            text-align: center;
        }
        .hero-stats-bar {
            position: relative;
            z-index: 1;
            display: flex;
            border-top: 1px solid rgba(255,255,255,0.1);
            background: rgba(4,19,15,0.55);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            padding: 0 60px;
        }
        .hero-stat-item {
            flex: 1;
            padding: 20px 0 20px 24px;
            border-right: 1px solid rgba(255,255,255,0.07);
        }
        .hero-stat-item:last-child { border-right: none; }
        .hero-stat-num {
            display: block;
            font-size: 1.55rem;
            font-weight: 800;
            color: var(--green-400);
            line-height: 1;
            margin-bottom: 4px;
        }
        .hero-stat-num small { font-size: 0.65em; font-weight: 600; }
        .hero-stat-label {
            font-size: 0.73rem;
            color: rgba(255,255,255,0.48);
            font-weight: 500;
        }
        .hero-eyebrow {
            display: inline-flex; align-items: center; gap: 8px;
            padding: 6px 15px; margin-bottom: 18px;
            font-size: 0.72rem; font-weight: 600;
            letter-spacing: 0.16em; text-transform: uppercase;
            color: var(--green-300);
            background: rgba(16, 185, 129, 0.13);
            border: 1px solid rgba(16, 185, 129, 0.32);
            border-radius: 999px;
            backdrop-filter: blur(8px);
        }
        .hero-eyebrow .pulse-dot {
            width: 7px; height: 7px; border-radius: 50%;
            background: var(--green-400);
            box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
            animation: pulse 2s infinite;
        }
        h1 {
            font-size: clamp(2.3rem, 5.2vw, 3.7rem);
            font-weight: 800;
            letter-spacing: -0.028em;
            line-height: 1.06;
            margin-bottom: 18px;
            color: #FFFFFF;
            text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
        }
        h1 .accent {
            background: linear-gradient(90deg, #34d399 0%, #22d3ee 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .hero-tagline {
            font-size: clamp(0.98rem, 1.4vw, 1.08rem);
            line-height: 1.65;
            color: var(--slate-300);
            max-width: 560px;
            margin: 0 0 20px;
            font-weight: 400;
        }
        .hero-cta {
            display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap;
        }
        .btn-primary, .btn-ghost {
            display: inline-flex; align-items: center; gap: 9px;
            padding: 13px 26px;
            font-size: 0.95rem; font-weight: 700; font-family: inherit;
            border-radius: 12px; cursor: pointer;
            transition: all 0.2s ease;
            text-decoration: none; border: none;
            letter-spacing: 0.01em;
        }
        .btn-primary {
            color: #fff;
            background: linear-gradient(135deg, var(--green-500) 0%, var(--green-600) 100%);
            box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
        }
        .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(16, 185, 129, 0.5); }
        .btn-primary svg { width: 17px; height: 17px; transition: transform 0.18s; }
        .btn-primary:hover svg { transform: translateX(3px); }
        .btn-ghost {
            color: #fff;
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.16);
        }
        .btn-ghost:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }


        @keyframes pulse {
            0%, 100% { transform: scale(1); opacity: 1; }
            50% { transform: scale(1.6); opacity: 0.4; }
        }

        /* ─── Section shared ─── */
        .section-wrap {
            width: 100%;
            max-width: 1080px;
            margin: 80px auto 0;
            text-align: center;
        }
        .section-eyebrow {
            display: inline-block; padding: 5px 13px; margin-bottom: 12px;
            font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em;
            text-transform: uppercase; color: var(--green-300);
            background: rgba(16, 185, 129, 0.12);
            border: 1px solid rgba(16, 185, 129, 0.28);
            border-radius: 999px;
        }
        .section-title {
            font-size: clamp(1.6rem, 3vw, 2.1rem);
            font-weight: 800; letter-spacing: -0.02em;
            color: #FFFFFF; margin-bottom: 10px;
        }
        .section-sub {
            font-size: 0.95rem; color: var(--slate-300);
            max-width: 560px; margin: 0 auto 32px; line-height: 1.55;
        }

        /* ─── Map ─── */
        .map-wrap {
            position: relative; border-radius: 20px; overflow: hidden;
            border: 1px solid rgba(0,0,0,0.06);
            box-shadow: var(--card-light-shadow);
        }
        .map-wrap.is-fullscreen { position: fixed; inset: 0; border-radius: 0; z-index: 1000; }
        #thailand-map { height: 540px; background: #051712; }
        .map-wrap.is-fullscreen #thailand-map { height: 100vh; }

        .map-btn {
            position: absolute; z-index: 900;
            background: rgba(5, 23, 18, 0.85);
            border: 1px solid rgba(255, 255, 255, 0.15);
            color: var(--slate-200);
            border-radius: 8px; cursor: pointer;
            font-family: inherit; line-height: 1;
            transition: background 0.18s, color 0.18s;
            backdrop-filter: blur(8px);
        }
        .map-btn:hover { background: rgba(16, 185, 129, 0.25); color: #fff; }
        .map-expand-btn { top: 12px; right: 12px; padding: 7px 9px; font-size: 1rem; }
        .map-reset-btn { top: 12px; right: 52px; padding: 7px 11px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; display: none; }
        .map-reset-btn.visible { display: block; }
        .map-pick-btn {
            top: 12px; left: 12px; padding: 8px 13px;
            font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em;
            display: inline-flex; align-items: center; gap: 7px;
        }
        .map-pick-btn.active { background: rgba(16, 185, 129, 0.85); color: #fff; border-color: rgba(16, 185, 129, 0.6); }
        .map-pick-btn svg { width: 14px; height: 14px; }

        .map-region-hint {
            position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
            z-index: 900; background: rgba(5, 23, 18, 0.9);
            border: 1px solid rgba(255, 255, 255, 0.12);
            color: var(--slate-100); border-radius: 999px;
            padding: 6px 16px; font-size: 0.78rem; font-weight: 600;
            letter-spacing: 0.06em; text-transform: uppercase;
            backdrop-filter: blur(8px); pointer-events: none;
            opacity: 0; transition: opacity 0.2s ease; white-space: nowrap;
        }
        .map-region-hint.visible { opacity: 1; }

        .map-legend {
            display: flex; flex-wrap: wrap; gap: 8px 20px;
            justify-content: center; margin-top: 18px;
        }
        .legend-item, .legend-station {
            display: flex; align-items: center; gap: 7px;
            font-size: 0.78rem; font-weight: 600; letter-spacing: 0.03em;
        }
        .legend-item { color: var(--slate-300); }
        .legend-station { color: var(--green-300); }
        .legend-swatch { width: 14px; height: 14px; border-radius: 3px; flex-shrink: 0; }
        .legend-pin {
            width: 10px; height: 10px; border-radius: 50%;
            background: #ef4444; border: 2px solid #fff;
            box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.35); flex-shrink: 0;
        }

        /* Leaflet dark overrides */
        .leaflet-container { background: #051712 !important; font-family: inherit; }
        .leaflet-control-zoom a {
            background: rgba(5, 23, 18, 0.9) !important;
            border-color: rgba(255, 255, 255, 0.15) !important;
            color: var(--slate-200) !important;
        }
        .leaflet-control-zoom a:hover { background: rgba(16, 185, 129, 0.25) !important; }
        .leaflet-popup-content-wrapper {
            background: rgba(8, 28, 22, 0.97) !important;
            border: 1px solid rgba(16, 185, 129, 0.35) !important;
            border-radius: 14px !important;
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5) !important;
            padding: 0 !important;
        }
        .leaflet-popup-tip { background: rgba(8, 28, 22, 0.97) !important; }
        .leaflet-popup-content { margin: 0 !important; width: auto !important; }
        .leaflet-popup-close-button { color: var(--slate-400) !important; top: 8px !important; right: 10px !important; font-size: 18px !important; }
        .leaflet-popup-close-button:hover { color: #fff !important; }
        .leaflet-tooltip {
            background: rgba(5, 23, 18, 0.92) !important;
            border: 1px solid rgba(255, 255, 255, 0.15) !important;
            color: var(--slate-100) !important; border-radius: 8px !important;
            font-size: 0.8rem !important; font-weight: 600 !important;
            font-family: inherit !important; padding: 5px 10px !important;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35) !important;
        }
        .leaflet-tooltip::before { display: none !important; }

        .wx-card { padding: 16px 18px 14px; min-width: 220px; }
        .wx-header {
            display: flex; align-items: center; justify-content: space-between;
            margin-bottom: 12px; padding-bottom: 10px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }
        .wx-title { font-size: 0.88rem; font-weight: 700; color: #fff; }
        .wx-crop-badge {
            font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
            padding: 3px 8px; border-radius: 999px;
            background: rgba(16, 185, 129, 0.2); color: var(--green-300);
            border: 1px solid rgba(16, 185, 129, 0.3);
        }
        .wx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin-bottom: 12px; }
        .wx-item { display: flex; flex-direction: column; gap: 2px; }
        .wx-label { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-400); }
        .wx-value { font-size: 1.05rem; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
        .wx-value.loading { color: var(--slate-500); font-size: 0.85rem; }
        .wx-link {
            display: block; text-align: center; padding: 8px;
            background: linear-gradient(135deg, var(--green-500), var(--green-600));
            color: #fff; text-decoration: none; border-radius: 8px;
            font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; transition: opacity 0.18s;
        }
        .wx-link:hover { opacity: 0.88; }

        /* ─── Tiers comparison (light cards) ─── */
        .tiers {
            display: grid; grid-template-columns: repeat(3, 1fr);
            gap: 24px; max-width: 1080px; margin: 0 auto; text-align: left;
            align-items: stretch;
        }
        .tier-card {
            background: var(--bg-light-card);
            border: 1px solid rgba(0,0,0,0.06);
            border-radius: 20px; padding: 30px 28px 30px;
            position: relative;
            display: flex; flex-direction: column;
            box-shadow: var(--card-light-shadow);
            transition: transform 0.2s, box-shadow 0.2s;
        }
        .tier-card:hover { transform: translateY(-4px); box-shadow: var(--card-light-shadow-hover); }
        .tier-card.premium {
            border-color: rgba(16, 185, 129, 0.35);
            background: linear-gradient(180deg, rgba(16, 185, 129, 0.06) 0%, var(--bg-light-card) 60%);
            box-shadow: 0 16px 50px rgba(16, 185, 129, 0.18);
            transform: translateY(-8px);
        }
        .tier-card.premium:hover { transform: translateY(-12px); }
        .tier-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
        .tier-name { font-size: 1.25rem; font-weight: 800; color: var(--text-on-light); }
        .tier-pill {
            font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
            padding: 4px 10px; border-radius: 999px;
        }
        .tier-pill.free { background: rgba(100, 116, 139, 0.12); color: var(--text-on-light-muted); border: 1px solid rgba(100,116,139,0.2); }
        .tier-pill.pro { background: rgba(16, 185, 129, 0.12); color: var(--green-700); border: 1px solid rgba(16,185,129,0.3); }
        .tier-sub { font-size: 0.85rem; color: var(--text-on-light-muted); margin-bottom: 20px; line-height: 1.5; }
        .tier-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; flex: 1; }
        .tier-list li {
            display: flex; align-items: flex-start; gap: 10px;
            font-size: 0.88rem; color: #334155; line-height: 1.4;
        }
        .tier-list li .ic { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
        .tier-list li.off { color: var(--text-on-light-muted); }
        .tier-list li.off .ic { opacity: 0.5; }
        .tier-cta {
            display: block; width: 100%; text-align: center;
            padding: 13px; font-size: 0.9rem; font-weight: 700; font-family: inherit;
            border-radius: 11px; cursor: pointer; text-decoration: none;
            transition: all 0.18s ease;
        }
        .tier-cta.free { color: var(--text-on-light); background: rgba(0,0,0,0.04); border: 1px solid rgba(0,0,0,0.12); }
        .tier-cta.free:hover { background: rgba(16,185,129,0.08); border-color: rgba(16,185,129,0.3); }
        .tier-cta.pro {
            color: #fff; border: none;
            background: linear-gradient(135deg, var(--green-500), var(--green-600));
            box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
        }
        .tier-cta.pro:hover { box-shadow: 0 10px 28px rgba(16, 185, 129, 0.48); transform: translateY(-1px); }

        /* ─── Auth modal ─── */
        .modal-overlay {
            position: fixed; inset: 0; z-index: 2000;
            background: rgba(4, 12, 10, 0.78);
            backdrop-filter: blur(6px);
            display: none; align-items: center; justify-content: center;
            padding: 24px;
            animation: fadeIn 0.2s ease;
        }
        .modal-overlay.open { display: flex; }
        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
        .modal {
            background: var(--bg-panel);
            border: 1px solid var(--border-soft);
            border-radius: 22px;
            width: 100%; max-width: 440px;
            max-height: 92vh; overflow-y: auto;
            box-shadow: 0 40px 100px -20px rgba(0,0,0,0.7);
            animation: modalRise 0.25s cubic-bezier(0.2,0.7,0.2,1);
        }
        @keyframes modalRise { from { opacity: 0; transform: translateY(24px) scale(0.98); } to { opacity: 1; transform: none; } }
        .modal-head { padding: 24px 28px 0; position: relative; }
        .modal-close {
            position: absolute; top: 18px; right: 20px;
            width: 32px; height: 32px; border-radius: 8px;
            background: rgba(255,255,255,0.06); border: none; color: var(--slate-400);
            font-size: 1.2rem; cursor: pointer; line-height: 1;
            transition: all 0.15s;
        }
        .modal-close:hover { background: rgba(255,255,255,0.12); color: #fff; }
        .modal-tabs { display: flex; gap: 4px; background: rgba(255,255,255,0.05); border-radius: 11px; padding: 4px; margin-bottom: 20px; }
        .modal-tab {
            flex: 1; padding: 9px; font-size: 0.85rem; font-weight: 700; font-family: inherit;
            color: var(--slate-400); background: transparent; border: none; border-radius: 8px; cursor: pointer;
            transition: all 0.16s;
        }
        .modal-tab.active { color: #fff; background: rgba(16, 185, 129, 0.85); box-shadow: 0 2px 8px rgba(16,185,129,0.3); }
        .modal-body { padding: 0 28px 28px; }
        .modal-title { font-size: 1.25rem; font-weight: 800; color: #fff; margin-bottom: 4px; }
        .modal-desc { font-size: 0.85rem; color: var(--slate-400); margin-bottom: 22px; line-height: 1.45; }

        .form-group { margin-bottom: 14px; }
        .form-group label {
            display: block; font-size: 0.72rem; font-weight: 600; color: var(--slate-300);
            margin-bottom: 5px; letter-spacing: 0.04em; text-transform: uppercase;
        }
        .form-group input {
            width: 100%; padding: 11px 13px; font-size: 0.9rem; font-family: inherit;
            color: #fff; background: rgba(255,255,255,0.06);
            border: 1px solid rgba(255,255,255,0.12); border-radius: 10px;
            outline: none; transition: border-color 0.18s, background 0.18s;
        }
        .form-group input::placeholder { color: var(--slate-500); }
        .form-group input:focus { border-color: rgba(16,185,129,0.5); background: rgba(16,185,129,0.06); }
        .form-group input.error { border-color: #f87171; }
        .form-error { font-size: 0.72rem; color: #f87171; margin-top: 4px; display: none; }
        .form-error.visible { display: block; }

        /* farm location readout inside register */
        .farm-loc-box {
            display: flex; align-items: center; gap: 11px;
            padding: 12px 14px; margin-bottom: 14px;
            background: rgba(16,185,129,0.07);
            border: 1px dashed rgba(16,185,129,0.35); border-radius: 11px;
            font-size: 0.82rem; cursor: pointer; transition: background 0.16s;
        }
        .farm-loc-box:hover { background: rgba(16,185,129,0.12); }
        .farm-loc-box .pin-ic {
            width: 34px; height: 34px; flex-shrink: 0; border-radius: 9px;
            display: flex; align-items: center; justify-content: center;
            background: rgba(16,185,129,0.18); color: var(--green-300);
        }
        .farm-loc-box .loc-text { flex: 1; }
        .farm-loc-box .loc-title { font-weight: 700; color: #fff; display: block; margin-bottom: 2px; }
        .farm-loc-box .loc-meta { color: var(--slate-400); font-size: 0.76rem; }
        .farm-loc-box.set { border-style: solid; }
        .farm-loc-box.set .loc-title { color: var(--green-300); }

        .submit-btn {
            width: 100%; padding: 13px; margin-top: 6px;
            font-size: 0.95rem; font-weight: 700; font-family: inherit; color: #fff;
            background: linear-gradient(135deg, var(--green-500), var(--green-600));
            border: none; border-radius: 11px; cursor: pointer;
            transition: all 0.18s ease; box-shadow: 0 4px 16px rgba(16,185,129,0.35);
        }
        .submit-btn:hover { box-shadow: 0 6px 22px rgba(16,185,129,0.48); transform: translateY(-1px); }
        .submit-btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
        .modal-foot { margin-top: 16px; font-size: 0.8rem; color: var(--slate-400); text-align: center; }
        .modal-foot a { color: var(--green-300); text-decoration: none; font-weight: 600; cursor: pointer; }
        .modal-foot a:hover { text-decoration: underline; }

        .auth-success { display: none; text-align: center; padding: 16px 0; }
        .auth-success-icon { font-size: 2.6rem; margin-bottom: 12px; display: block; }
        .auth-success h4 { font-size: 1.15rem; font-weight: 800; color: var(--green-300); margin-bottom: 8px; }
        .auth-success p { font-size: 0.88rem; color: var(--slate-300); line-height: 1.55; }

        /* Footer */
        footer {
            padding: 56px 40px 32px;
            font-size: 0.82rem; color: var(--slate-300);
            position: relative; z-index: 1;
            background: var(--bg-deep);
            border-top: 1px solid rgba(255,255,255,0.06);
        }
        footer .ftr-version {
            display: inline-flex; align-items: center; gap: 6px;
            font-family: 'JetBrains Mono', 'SF Mono', monospace;
            font-size: 0.7rem; color: var(--slate-400); letter-spacing: 0.04em;
        }
        footer .ftr-version .ver-dot {
            width: 5px; height: 5px; border-radius: 50%;
            background: var(--green-500); box-shadow: 0 0 0 2px rgba(16,185,129,0.25);
        }
        footer .ftr-credit { font-size: 0.68rem; color: var(--slate-500); opacity: 0.65; }

        /* ═══════════════════════════════════════════
           LIGHT SECTIONS (below hero)
           ═══════════════════════════════════════════ */
        .section-dark {
            width: 100%;
            padding: var(--section-pad) 40px;
        }
        .section-light {
            background: var(--bg-light);
            color: var(--text-on-light);
            width: 100%;
            padding: var(--section-pad) 40px;
        }
        .section-light.alt { background: var(--bg-light-alt); }
        .section-inner {
            max-width: var(--container-max);
            margin: 0 auto;
        }
        .section-light .section-eyebrow {
            color: var(--green-600);
            background: rgba(16, 185, 129, 0.1);
            border-color: rgba(16, 185, 129, 0.25);
        }
        .section-light .section-title { color: var(--text-on-light); }
        .section-light .section-sub { color: var(--text-on-light-muted); }
        /* Re-center the .section-wrap heading block when placed in a light band */
        .section-light .section-wrap { margin-top: 0; }

        /* ── Impact stats counter row ── */
        .impact-stats {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin-top: 36px;
        }
        .impact-stat {
            text-align: center;
            padding: 28px 16px;
            background: var(--bg-light-card);
            border: 1px solid rgba(16,185,129,0.12);
            border-radius: 18px;
            box-shadow: var(--card-light-shadow);
            transition: transform 0.2s, box-shadow 0.2s;
        }
        .impact-stat:hover { transform: translateY(-4px); box-shadow: var(--card-light-shadow-hover); }
        .impact-num {
            font-size: clamp(1.8rem, 3vw, 2.6rem);
            font-weight: 800;
            color: var(--green-600);
            font-variant-numeric: tabular-nums;
            line-height: 1;
        }
        .impact-num .unit { font-size: 0.6em; font-weight: 700; color: var(--text-on-light-muted); margin-left: 3px; }
        .impact-label {
            font-size: 0.82rem; font-weight: 600;
            color: var(--text-on-light-muted);
            margin-top: 10px; line-height: 1.4;
        }

        /* ── Features / "How it works" (icon-card grid) ── */
        .feature-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 22px;
        }
        .feature-card {
            display: flex;
            align-items: center;
            gap: 20px;
            background: var(--bg-light-card);
            border: 1px solid rgba(16,185,129,0.12);
            border-radius: 18px;
            padding: 18px 20px;
            box-shadow: var(--card-light-shadow);
            transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
        }
        .feature-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--card-light-shadow-hover);
            border-color: rgba(16,185,129,0.3);
        }
        .feature-icon {
            width: 52px; height: 52px;
            flex-shrink: 0;
            display: flex; align-items: center; justify-content: center;
            background: linear-gradient(135deg, rgba(16,185,129,0.14), rgba(6,182,212,0.12));
            border-radius: 14px;
            color: var(--green-600);
        }
        .feature-icon svg { width: 26px; height: 26px; }
        .feature-text {
            border-left: 1px solid rgba(0,0,0,0.09);
            padding-left: 18px;
            flex: 1;
        }
        .feature-title {
            font-size: 1rem;
            font-weight: 800;
            color: var(--text-on-light);
            margin: 0 0 4px;
            letter-spacing: -0.01em;
        }
        .feature-desc {
            font-size: 0.88rem;
            color: var(--text-on-light-muted);
            line-height: 1.55;
            margin: 0;
        }

        /* ── Crop cards ── */
        .crop-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 24px;
            margin-top: 36px;
        }
        .crop-card {
            background: var(--bg-light-card);
            border-radius: 20px;
            overflow: hidden;
            box-shadow: var(--card-light-shadow);
            transition: transform 0.2s, box-shadow 0.2s;
        }
        .crop-card:hover { transform: translateY(-4px); box-shadow: var(--card-light-shadow-hover); }
        .crop-card-img { aspect-ratio: 16 / 10; overflow: hidden; }
        .crop-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
        .crop-card:hover .crop-card-img img { transform: scale(1.05); }
        .crop-card-body { padding: 22px 24px 26px; }
        .crop-card-name { font-size: 1.3rem; font-weight: 800; color: var(--text-on-light); margin-bottom: 6px; }
        .crop-card-name .th { font-size: 0.95rem; font-weight: 600; color: var(--text-on-light-muted); margin-left: 8px; }
        .crop-card-desc { font-size: 0.92rem; color: var(--text-on-light-muted); line-height: 1.55; }

        /* ── Testimonials ── */
        .testimonial-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
            margin-top: 36px;
        }
        .testimonial-card {
            background: var(--bg-light-card);
            border-radius: 18px;
            padding: 28px 26px;
            box-shadow: var(--card-light-shadow);
            display: flex; flex-direction: column;
        }
        .testimonial-stars { color: #f59e0b; font-size: 1rem; letter-spacing: 2px; margin-bottom: 14px; }
        .testimonial-quote {
            font-size: 0.96rem;
            color: var(--text-on-light);
            line-height: 1.6;
            flex: 1;
            font-style: italic;
        }
        .testimonial-author {
            display: flex; align-items: center; gap: 12px;
            margin-top: 20px; padding-top: 18px;
            border-top: 1px solid rgba(0,0,0,0.06);
        }
        .testimonial-avatar {
            width: 42px; height: 42px; border-radius: 50%;
            background: linear-gradient(135deg, var(--green-400), var(--green-600));
            display: flex; align-items: center; justify-content: center;
            color: #fff; font-weight: 700; font-size: 1rem; flex-shrink: 0;
        }
        .testimonial-name { font-size: 0.9rem; font-weight: 700; color: var(--text-on-light); }
        .testimonial-loc { font-size: 0.78rem; color: var(--text-on-light-muted); }

        /* ── CTA band ── */
        .cta-band {
            background: linear-gradient(135deg, var(--green-600) 0%, var(--green-500) 100%);
            width: 100%;
            padding: clamp(2.5rem, 6vw, 4rem) 40px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        .cta-band::before {
            content: '';
            position: absolute; inset: 0;
            background:
                radial-gradient(ellipse 50% 80% at 20% 50%, rgba(255,255,255,0.12), transparent 60%),
                radial-gradient(ellipse 40% 60% at 80% 30%, rgba(34,211,238,0.2), transparent 60%);
            pointer-events: none;
        }
        .cta-band-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
        .cta-band h2 {
            font-size: clamp(1.6rem, 3.5vw, 2.3rem);
            font-weight: 800;
            color: #fff;
            margin-bottom: 12px;
            letter-spacing: -0.02em;
        }
        .cta-band p { font-size: 1.05rem; color: rgba(255,255,255,0.92); margin-bottom: 26px; }
        .cta-band .btn-primary {
            background: #fff;
            color: var(--green-700);
            box-shadow: 0 8px 24px rgba(0,0,0,0.18);
        }
        .cta-band .btn-primary:hover { background: #f0fdf4; }

        /* ── Expanded footer ── */
        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 40px;
            max-width: var(--container-max);
            margin: 0 auto 36px;
        }
        .footer-col h4 {
            font-size: 0.78rem;
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: #fff;
            margin-bottom: 16px;
        }
        .footer-col a {
            display: block;
            font-size: 0.88rem;
            color: var(--slate-400);
            text-decoration: none;
            margin-bottom: 10px;
            transition: color 0.15s;
        }
        .footer-col a:hover { color: var(--green-300); }
        .footer-brand .ftr-logo { height: 32px; width: auto; margin-bottom: 14px; opacity: 0.92; }
        .footer-brand p { font-size: 0.88rem; color: var(--slate-400); line-height: 1.55; max-width: 280px; }
        .footer-bottom {
            max-width: var(--container-max);
            margin: 0 auto;
            padding-top: 24px;
            border-top: 1px solid rgba(255,255,255,0.08);
            display: flex; justify-content: space-between; align-items: center;
            flex-wrap: wrap; gap: 12px;
        }
        .footer-socials { display: flex; align-items: center; gap: 10px; }
        .social-link {
            display: inline-flex; align-items: center; justify-content: center;
            width: 46px; height: 46px; border-radius: 50%;
            background: rgba(255,255,255,0.06); color: var(--slate-300);
            text-decoration: none; transition: color 0.15s, background 0.15s, transform 0.15s;
        }
        .social-link svg { width: 22px; height: 22px; }
        .footer-address { margin: 0; line-height: 1.7; color: var(--slate-400); font-size: 0.85rem; }
        .social-link:hover { color: var(--green-300); background: rgba(255,255,255,0.12); transform: translateY(-2px); }
        .social-link.disabled { opacity: 0.4; cursor: default; pointer-events: none; }

        /* Mobile */
        @media (max-width: 860px) {
            .tiers { grid-template-columns: 1fr; }
            .feature-grid { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 720px) {
            .topbar { padding: 14px 18px; }
            .topbar.scrolled { padding: 12px 18px; }
            .brand-mark img { height: 42px; }
            .topnav { display: none; }
            .hamburger { display: flex; }
            main { padding: 0; }
            .hero-fullbleed { min-height: 100svh; }
            .hero-inner { padding: 84px 22px 32px; max-width: 100%; }
            .hero-bullets { grid-template-columns: 1fr; gap: 10px; max-width: 100%; }
            .hero-cta { gap: 12px; }
            .hero-stats-bar { padding: 0 20px; flex-wrap: wrap; }
            .hero-stat-item { padding: 14px 0 14px 16px; min-width: 45%; }
            #thailand-map { height: 400px; }
            .section-wrap { margin-top: 52px; }
            .section-dark { padding: calc(var(--section-pad) * 0.7) 18px; }
            .section-light { padding: calc(var(--section-pad) * 0.7) 18px; }
            .modal-body { padding: 0 20px 22px; }
            .impact-stats { grid-template-columns: repeat(2, 1fr); }
            .feature-grid { grid-template-columns: 1fr; gap: 16px; }
            .crop-grid { grid-template-columns: 1fr; }
            .testimonial-grid { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
            .footer-brand { grid-column: 1 / -1; }
            .cta-band { padding: calc(var(--section-pad) * 0.7) 18px; }
            footer { padding: 30px 18px; }
        }
        @media (max-width: 380px) {
            h1 { font-size: 1.85rem; }
        }
    
        /* ── Consent Banner ── */
        /* The class rule below sets display:flex, which would override the
           [hidden] attribute (a class selector beats a bare attribute selector),
           so the banner could never be hidden. This explicit rule restores it. */
        .consent-banner[hidden] { display: none; }
        .consent-banner {
            position: fixed;
            bottom: 0; left: 0; right: 0;
            z-index: 9999;
            background: #1a2535;
            color: #e2e8f0;
            padding: 16px 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            flex-wrap: wrap;
            box-shadow: 0 -2px 12px rgba(0,0,0,.35);
        }
        .consent-body { display: flex; flex-direction: column; gap: 4px; flex: 1 1 300px; }
        .consent-text { margin: 0; font-size: .875rem; line-height: 1.5; }
        .consent-link { font-size: .8125rem; color: #6ee7b7; text-decoration: underline; }
        .consent-actions { display: flex; gap: 10px; flex-shrink: 0; }
        .consent-btn {
            padding: 8px 20px;
            border-radius: 6px;
            border: none;
            font-size: .875rem;
            font-weight: 600;
            cursor: pointer;
            transition: opacity .15s;
        }
        .consent-btn:hover { opacity: .85; }
        .consent-btn--primary  { background: #22c55e; color: #fff; }
        .consent-btn--secondary { background: transparent; color: #94a3b8; border: 1px solid #475569; }
        @media (max-width: 480px) {
            .consent-banner { flex-direction: column; align-items: flex-start; }
            .consent-body { flex: none; }
            .consent-actions { width: 100%; }
            .consent-btn { flex: 1; text-align: center; }
        }

        /* ── Contact: floating launcher + modal form ── */
        .contact-fab {
            position: fixed; right: 22px; bottom: 22px; z-index: 1500;
            display: inline-flex; align-items: center; gap: 8px;
            padding: 12px 18px; border: none; border-radius: 999px;
            background: linear-gradient(135deg, var(--green-500), var(--green-600));
            color: #fff; cursor: pointer; font-family: inherit;
            font-size: 0.88rem; font-weight: 700;
            box-shadow: 0 6px 22px rgba(16,185,129,0.45);
            transition: transform 0.15s, box-shadow 0.15s;
        }
        .contact-fab:hover { transform: translateY(-2px); box-shadow: 0 9px 28px rgba(16,185,129,0.6); }
        .contact-fab svg { width: 20px; height: 20px; }
        .modal-contact { max-width: 520px; }
        .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
        .form-group select, .form-group textarea {
            width: 100%; padding: 11px 13px; font-size: 0.9rem; font-family: inherit;
            color: #fff; background: rgba(255,255,255,0.06);
            border: 1px solid rgba(255,255,255,0.12); border-radius: 10px;
            outline: none; transition: border-color 0.18s, background 0.18s; color-scheme: dark;
        }
        .form-group textarea { resize: vertical; min-height: 84px; }
        .form-group select:focus, .form-group textarea:focus { border-color: rgba(16,185,129,0.5); background: rgba(16,185,129,0.06); }
        .form-group select option { background: #07201a; color: #fff; }
        .contact-status { display: none; font-size: 0.82rem; margin-top: 10px; color: var(--green-300); }
        .contact-status.show { display: block; }
        @media (max-width: 480px) {
            .contact-fab { right: 14px; bottom: 14px; padding: 11px 15px; font-size: 0.82rem; }
        }

        /* ── Science / Team section ── */
        .science-layout {
            display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
            align-items: start;
        }
        .science-headline {
            font-size: clamp(1.55rem, 3vw, 2.3rem);
            font-weight: 800; line-height: 1.2;
            color: var(--slate-50); margin: 14px 0 18px;
        }
        .science-desc {
            font-size: 1rem; color: var(--slate-300); line-height: 1.75; margin: 0 0 22px;
        }
        .team-award {
            display: inline-flex; align-items: center; gap: 8px;
            padding: 6px 14px; border-radius: 100px;
            border: 1px solid rgba(251,191,36,0.45); background: rgba(251,191,36,0.08);
            color: #fbbf24; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em;
        }
        .team-award svg { width: 15px; height: 15px; flex-shrink: 0; }
        .science-stats {
            display: grid; grid-template-columns: 1fr 1fr; gap: 4px; align-self: center;
        }
        .science-stat {
            padding: 22px 20px;
            border-left: 3px solid var(--green-500);
        }
        .science-stat-num {
            display: block; font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800;
            color: var(--green-400); line-height: 1; margin-bottom: 6px;
        }
        .science-stat-label {
            font-size: 0.84rem; color: var(--slate-400); line-height: 1.3;
        }
        .team-grid {
            display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
            margin-bottom: 8px;
        }
        .team-card {
            background: rgba(255,255,255,0.04);
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 14px; padding: 28px 22px; text-align: center;
            transition: border-color 0.2s, background 0.2s;
        }
        .team-card:hover { border-color: rgba(16,185,129,0.3); background: rgba(255,255,255,0.06); }
        .team-card-icon { width: 44px; height: 44px; margin: 0 auto 16px; color: var(--green-400); }
        .team-card-icon svg { width: 100%; height: 100%; }
        .team-card-title { font-size: 1rem; font-weight: 700; color: var(--slate-100); margin: 0 0 10px; }
        .team-card-desc { font-size: 0.86rem; color: var(--slate-400); margin: 0; line-height: 1.6; }
        @media (max-width: 860px) {
            .science-layout { grid-template-columns: 1fr; gap: 20px; }
        }
        @media (max-width: 720px) {
            .team-grid { grid-template-columns: 1fr; gap: 14px; }
            .team-card { padding: 22px 18px; text-align: left; display: flex; align-items: flex-start; gap: 14px; }
            .team-card-icon { margin: 0; flex-shrink: 0; width: 36px; height: 36px; }
        }
